/**
 * Theme Name: Ancestry Ireland
 * Theme URI: http://themehybrid.com/themes/skeleton
 * Description: A child of the Hybrid theme framework representing the visual hierarchy of Hybrid with designers in mind.
 * Author: David Graham
 * Author URI: http://www.strangebrewdesign.com
 * Version: 0.2
 * Template: hybrid
 *
 * Skeleton is released under the GNU General Public License, version 2 (GPL).
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 */

/**
* Import pre-made styles from Hybrid
************************************************/

/* Eric Meyer's reset.css */
	@import url('../hybrid/library/css/reset.css');

/* Google Font */
	@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i,700,700i');

/**
* Body
************************************************/

/* Contains everything */
body {
	font-family: "Open Sans", Arial, Tahoma, Verdana, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: #333;
	background-color: #F8F8F8;
	background-image: url(images/body-bg.gif);
	background-repeat: no-repeat;
	background-position: 50% 0%;
}

	/* Wrapper for everything inside of the body */
	#body-container {
		width: 960px;
		margin: 0px auto 40px auto;
		position: relative;
		background-color: #FFF;
		background-image: url(images/container-bg.jpg);
		-webkit-border-radius: 6px;
		-moz-border-radius: 6px;
		border-radius: 6px;
		-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
		-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
	}

/**
* Elements
************************************************/

/* Hyperlinks */
a:link, a {
	color: #07C;
}
a:visited {
	color: #07C;
}
a:hover {
	color: #07C;
}
a:active {
	color: #07C;
}

/* Headers */
h1,h2,h3,h4,h5,h6 {
	color: #000;
	margin: 0 0 20px 0;
	font-weight: bold;
}
h1 {
	font-size: 31px;
	line-height: 40px;
	font-weight: bold;
	letter-spacing: -1px;
	margin-bottom: 20px;
}
h1.entry-title, h1.search-title {
	position: relative;
	left: 160px;
	float: left;
	clear: left;
	margin: 0 0 20px 0;
	padding: 0 20px 15px 20px;
	border-bottom: 1px solid #DDD;
	width: 760px;
}
	.singular-family-records .entry-title, 
	.singular-page-10 .entry-title {
		border-bottom: 0;
		padding-bottom: 0;
	}
h1.search-title {
	position: relative;
	left: -20px;
}
h1 a {
	color: #000 !important;
}
h2, h2 a {
	font-size: 19px;
}
h3 {
	font-size: 17px;
}

/* Text elements */
strong {
	font-weight: 700;
}
small { font-size: 85%; }

/* Paragraphs */
p {
	margin: 0 0 20px 0;
}

/* Unordered lists */
ul {
	margin: 0 0 20px 40px;
	list-style-type: square;
}
	form ul {
		margin: 0;
		list-style-type: none;
	}

/* Ordered lists */
ol {
	margin: 0 0 20px 40px;
}

/* Blockquotes */
blockquote {
	font-style: italic;
	font-family: georgia;
	color: #666;
	font-size: 18px;
	margin: 0 0 19px 0;
	padding: 19px 0 0 0;
	border-top: 1px solid #D9D9D9;
	border-bottom: 1px solid #D9D9D9;
	line-height: 25px;
	color: #000;
}

/* Tables */
table {
	width: 100%;
	border-collapse: collapse;
}
	tr {
		line-height: 20px;
	}
	th {
		background-color: #F5F5F5;
		font-size: 14px;
		padding: 9px;
		vertical-align: middle;
	}
	td {
		line-height: 20px;
	}

/* Forms */
textarea {
	padding: 5px;
	margin: 0 0 10px 0;
	border: 1px solid #CCC;
}
input {
	font-size: 13px;
	padding: 5px;
	margin: 0 0 10px 0;
	border: 1px solid #CCC;
	font-family: "Open Sans", Arial, Tahoma, Verdana, Helvetica, sans-serif;
}
select {
	font-size: 13px;
	padding: 4px;
	margin: 0 0 10px 0;
	border: 1px solid #CCC;
	font-family: "Open Sans";
}

	a.button {
		padding: 7px 12px;
	}		
	
	input.button, a.button, #search-form button, input.s2member-pro-paypal-registration-submit {
		padding: 5px 10px;
		cursor: pointer;
		text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
		font-size: 13px;
		color: white;
		background-color: #8bbb3c !important;
		border: 1px solid #70AB18 !important;
		border-bottom: 1px solid #528406 !important;
		border-right: 1px solid #528406 !important;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white !important;
		-webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white !important;
		-moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 0px 0px 2px #FFF !important;
	}
label {
	display: block;
	margin: 0 0 10px 0;
}

/* Fieldsets */

fieldset {
	margin: 0 0 20px 0;
	padding: 19px;
	border: 1px solid #D9D9D9;
	font-size: 13px;
	border-radius: 5px;
}

fieldset ul {
	list-style-type: none;
}

legend {
	font-weight: bold;
	font-size: 17px;
	color: #07C;
	margin: 0;
	padding: 0 4px 0 4px;
	line-height: 20px;
}

/* Warnings/Alerts */
.warning, .alert, #s2member-pro-paypal-form-response, .no-data, .validation_error, #ws-plugin--s2member-profile-saved, .search-description {
	clear: left;
	padding: 19px 19px 19px 45px;
	margin: 0 0 20px 0;
	border: 1px solid #f9dd34;
	background-color: #fdf4c2;
	background-image: url(images/alert-icon.png);
	background-position: 16px 20px;
	background-repeat: no-repeat;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	text-shadow: 1px 1px 0 rgba(255,255,255,0.75);
	box-shadow: inset 1px 1px 0 rgba(255,255,255,0.75);
}

.search-description p:last-child, .alert p:last-child {
	margin: 0;
}

.alert-sale {
	font-family: Georgia, serif;
	font-size: 15px;
	margin: 0 0 20px;
	padding: 19px;
	border: 1px solid rgba(0,0,0,0.125);
	background: #f1ffd4;
	border-radius: 4px;
}

	.alert-sale h3 {
		margin: 0 0 10px !important;
		border: 0 !important;
		padding: 0 !important;
		font-weight: bold !important;
		font-size: 18px !important;
	}
	
	.alert-sale h3,
	.alert-sale p {
		margin: 0 0 10px;
	}

/* Alignment */
.left, .alignleft {
	float: left;
	margin: 0 20px 20px 0;
}
.right, .alignright {
	float: right;
	margin: 0 0 20px 20px;
}
.center, .aligncenter {
	margin: auto;
}
.clear {
	clear: both;
}

/**
* Images
************************************************/

/* Normal images */
img {
	display: block;
}

/* Thumbnails */
.thumbnail {
	float: left;
	margin: 0 20px 20px 0;
	width: 140px;
	height: 140px;
}

/* WP Captions [caption] */
.wp-caption {
	font-size: 12px;
	padding: 4px;
	background-color: #F5F5F5;
	border: 1px solid #DDD;
}
	.wp-caption img {
		margin: 5px auto;
	}
	.wp-caption p {
		text-align: center;
		padding: 0 5px 5px 5px;
		margin-bottom: 0;
	}

/* Gallery [gallery] */
.gallery {
	margin-bottom: 20px;
}
	
	.gallery-caption {
		margin-top: 10px;
		font-size: 13px;
		font-style: italic;
	}

/**
* Header
************************************************/

/* Contains entire header */
#header-container {
	height: 100px;
	background-image: url(images/headerbg.jpg);
	background-repeat: repeat-x;
	background-color: #1864A5;
	margin: 0px;
	padding: 0px;
	position: relative;
	clear: both;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset -1px -1px 0 rgba(0, 0, 0, 0.15);
}

	/* Contains site title and tagline */
	#header {
		position: absolute;
		height: 100px;
		width: 460px;
		background-image: url(images/uhf-logo.png);
		background-repeat: no-repeat;
		background-position: 26px 26px;
		text-shadow: 1px 1px 1px #0B4678;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		text-align: center;
	}

		/* Site title */
		#site-title {
			margin: 0;
			line-height: 0;
			text-indent: -9999em;
		}
			#site-title a {
				color: #FFF !important;
				font-size: 30px;
				line-height: 40px;
				letter-spacing: -1px;
			}

		/* Site description/tagline */
		#site-description {
			margin: 0;
			line-height: 0;
			text-indent: -9999em;
		}
		
		#header-right-content {
			position: absolute;
			top: 12px;
			right: 18px;
			font-size: 11px;
			text-align: right;
			color: #FFF;
		}
		
		#header-right-content a {
			color: #EEE;
			font-weight: bold;
		}
		
		#header-right-content a.donate, #header-right-content a.objectives {
			border: 1px solid #528406;
			padding: 4px 8px;
			float: right;
			position: relative;
			top: 5px;
			margin-left: 5px;
			box-shadow: inset 1px 1px 1px rgba(255,255,255,0.5), 1px 1px 0 rgba(0,0,0,0.5);
			border-radius: 5px;
			background-color: #8bbb3c;
			text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
		}
		
		#header-right-content a.objectives {
			background-color: #185885;
			border: 1px solid #185885;
		}
		
		.addthis_header {
			position: absolute;
			top: 40px;
			right: 15px;
			width: 140px;
		}
		
		#search-1 input.search-text {
			border: 0;
			margin-right: 2px;
			border-radius: 4px;
			font-size: 13px;
			width: 190px;
		}
		
		#search-1 input.search-submit {
			width: 75px;
		}
		
/* Header Menu */

#menu-header-menu {
	position: absolute;
	top: 15px;
	right: 15px;
	line-height: 15px;
	margin: 0;
	list-style-type: none;
	text-shadow: 1px 1px 1px #0B4678;
}

	#menu-header-menu li {
		display: inline;
	}

	#menu-header-menu a {
		font-size: 12px;
		font-weight: bold;
		color: #FFF;
	}

/* Header Content */

#header-content {
	position: absolute;
	top: 20px;
	right: 140px;
	font-size: 12px;
	color: #FFF;
	text-align: right;
	text-shadow: 1px 1px 1px #0B4678;
}

	#header-content p {
		margin: 0 0 20px 0;
	}

/**
* Primary Menu
************************************************/

/* Menu list. */
#primary-menu ul {
	list-style-type: none;
	margin: 0;
}
	#primary-menu li {
		border-bottom: 1px solid #D9D9D9;
		padding: 0;
		text-transform: uppercase;
		box-shadow: inset 1px 1px 0 rgba(255,255,255,0.75);
	}
		#primary-menu li a {
			font-size: 11px;
			line-height: 28px;
			padding: 1px 0 0 12px;
			display: block;
			color: #111;
			text-shadow: 1px 1px 0 #FFF;
		}
	#primary-menu li.current-menu-item {
		background-image: url(images/menu-tab.png);
		background-position: 100% 9px;
		background-repeat: no-repeat;
		border-right: 0;
	}
	#primary-menu li#menu-item-16 a,
	#primary-menu li#menu-item-43 a,
	#primary-menu li#menu-item-139 a,
	#primary-menu li#menu-item-140 a {
		padding-left: 10px; 
	}
	#primary-menu li#menu-item-16 {
		border-left: 3px solid #3D7DB3;
	}
	#primary-menu li#menu-item-11130 {
		border-left: 3px solid #DB2C2C;
	}
	#primary-menu li#menu-item-139 {
		border-left: 3px solid #F1B235;
	}
	#primary-menu li#menu-item-140 {
		border-left: 3px solid #8BBB3C;
	}
	
	#primary-menu li#menu-item-16 ul.sub-menu, #primary-menu li#menu-item-43 ul.sub-menu, #primary-menu li#menu-item-139 ul.sub-menu, #primary-menu li#menu-item-140 ul.sub-menu {
		width: 157px !important;
	}
	#primary-menu ul.sub-menu {
		display: none;
		width: 160px !important;
	}
		#primary-menu ul.sub-menu li {
			padding: 0;
			border: 0;
			background-color: rgba(0,0,0,0.05);
			border-top: 1px solid #D9D9D9;
			border-left: 0;
			text-transform: none;
		}
		#primary-menu li.current-menu-item ul.sub-menu, #primary-menu li.current-menu-ancestor ul.sub-menu, #primary-menu li.current-page-ancestor ul.sub-menu {
			display: block !important;
			visibility: visible !important; 
		}

/**
* Containers below the header and navigation
************************************************/

/* Wrapper for the content and primary/secondary widget sections */
#container {
	width: 960px !important;
	min-height: 880px;
	position: relative;
}

	/**
	* Content
	************************************************/

	/* Contains site's main content */
	#content {
		float: left;
		margin: 0 20px 20px 20px;
		position: relative;
		left: 160px;
		width: 500px !important;
	}
	body.primary-inactive #content {
		width: 760px !important;
		margin-bottom: 20px;
	}
	body.home #content, body.home #primary {
		margin-top: 20px;
	}
	body.home .breadcrumb-trail {
		display: none;
	}
	body.search .breadcrumbs {
		left: -20px;
	}
		#content h2 {
			margin-top: 30px;
			padding-bottom: 9px;
			border-bottom: 1px solid #D9D9D9;
		}
		#content h3 {
			font-size: 18px;
			font-weight: normal;
			margin-top: 28px;
			padding-bottom: 11px;
			border-bottom: 1px solid #D9D9D9;
		}
			#content h3.header-toggle {
				background-image: url(images/header-toggle.png);
				background-repeat: no-repeat;
				background-position: 96% 7px;
			}
		span.edit {
			display: none;
		}

		/* Breadcrumb trail */
		.trail-before {
			display: none;
			margin-right: 5px;
		}
		.breadcrumb-trail {
			float: left;
			font-size: 13px;
			color: #AAA;
			line-height: 19px;
			margin: 20px 20px 24px 20px;
			padding: 0;
			width: 760px;
			position: relative;
			left: 160px;
		}
			body.archive .breadcrumb-trail {
				left: -20px;
				padding: 0;
			}
			body.archive #primary {
				margin-top: 20px;
			}
		.breadcrumb-trail a {
			line-height: 20px;
			padding: 0;
			margin-bottom: 20px;
		}
		.breadcrumb-trail span.trail-end {
			line-height: 20px;
			margin-bottom: 20px;
		}
		.breadcrumb-trail .sep {
			margin: 4px;
		}
		.breadcrumb-trail .sep:last-child {
			display: none;
		}
		.breadcrumb-trail .trail-end {
			display: none;
		}
			/* Archive and search page titles. */
			.category-title {
				padding-bottom: 14px;
				border-bottom: 1px solid #D9D9D9;
			}

		/* Author and date byline */
		.byline {
			margin: 0 0 20px 0;
			font-size: 13px;
			color: #999;
		}			
			.entry-content p:empty {
				display: none;
			}

		/* Entry metadata */
		.entry-meta {
			font-size: 13px;
			color: #999;
			margin-top: 20px;
			margin-bottom: 20px;
			clear: both;
		}

		/* Navigation links */
		.navigation-links .next, .navigation-links .previous {
			float: right;
			color: white;
			margin: 40px 0 0 0;
			padding: 5px 8px;
			background-color: #92BF2E !important;
			border: 1px solid #70AB18 !important;
			border-bottom: 1px solid #528406 !important;
			border-right: 1px solid #528406 !important;
			border-radius: 5px;
			-moz-border-radius: 5px;
			-webkit-border-radius: 5px;
			-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white !important;
			-moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 0px 2px #FFF !important;
			box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white !important;
			font-size: 14px;
		}
		.navigation-links .next {
			float: right;
		}
		.navigation-links .previous {
			float: left;
		}

		/**
		* Comments template
		************************************************/

		/* Wrapper for entire comments area */
		#comments-template {
			clear: both;
		}

			/* Comments section headers/titles */
			#comments-number {
				margin-top: 0px;
			}

				/* Main comments section */
				#comments {
					border-top: 1px solid #D9D9D9;
					padding-top: 19px;
				}
				
					#comments p {
						clear: left;
					}

					#comments ol {
						list-style-type: none;
						margin: 0;
					}

						/* Comment metadata */
						#comments .comment-meta {
							font-size: 11px;
							margin-bottom: 10px;
						}

						/* Comment text */
						#comments .comment-text {
							padding: 15px;
							font-size: 12px;
							margin: 0 0 20px 0;
							background-color: #F5F5F5;
							-webkit-border-radius: 4px;
							-moz-border-radius: 4px;
							border-radius: 4px;
						}
						#comments .comment-text p:last-child {
							margin: 0;
						}
						
					/* Comment form elements */
					#respond .form-author {
						float: left;
						margin: 0;
						width: 266px;
					}
						#respond input {
							float: left;
							clear: left;
							margin: 0 0 20px 0;
							width: 232px;
						}
						#respond label {
							float: left;
							clear: left;
							font-size: 13px;
							font-weight: bold;
							margin: 0 0 10px 0;
						}
					#respond .form-email {
						float: right;
						margin: 0;
					}
					#respond .form-url {
						display: none;
					}
					#respond textarea {
						float: left;
						clear: left;
						margin: 0 0 20px 0;
						padding: 5px;
						width: 488px;
					}
					p.form-submit {
						float: left;
						clear: left;
					}
					#respond #submit {
						width: 115px;
						color: white;
						margin: 0;
						padding: 9px;
						background-color: #92BF2E !important;
						border: 1px solid #70AB18 !important;
						border-bottom: 1px solid #528406 !important;
						border-right: 1px solid #528406 !important;
						border-radius: 5px;
						-moz-border-radius: 5px;
						-webkit-border-radius: 5px;
						-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white !important;
						-moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 0px 2px #FFF !important;
						box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white !important;
						font-size: 13px;
					}

	/**
	* Widget sections (Primary and Secondary)
	************************************************/
	
	/* Primary widget section */
	#primary {
		float: right;
		width: 240px;
		margin: 0 20px 0 20px;
		font-size: 13px;
	}
		#primary .widget {
			border: 1px solid #D9D9D9;
			margin-bottom: 20px;
			border-radius: 5px;
			-moz-border-radius: 5px;
			-webkit-border-radius: 5px;
			box-shadow: 0 0 10px rgba(0,0,0,0.1);
			-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.1);
			-moz-box-shadow: 0 0 10px rgba(0,0,0,0.1);
		}
		#primary #text-13, #primary #text-13 .widget-inside {
			padding:0;
			margin:0 0 16px 0;
			border:0;
			background-color: #FFF;
			box-shadow: none;
			-moz-box-shadow: none;
			-webkit-box-shadow: none;
		}
		#primary #optimzed_dd_widget-2 h3, 
		#primary #text-10 h3, 
		#primary #text-17 h3 {
			text-align: center;
			background-color: #8bbb3c;
			background-image: none;
			color: #FFF;
			font-weight: bold;
			text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
			border: 1px solid #70AB18;
			padding: 7px 9px;
			-webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 1px 1px 0px rgba(255,255,255,0.5) !important;
			-moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 1px 1px 0px rgba(255,255,255,0.5) !important;
			box-shadow: inset 1px 1px 0px rgba(255,255,255,0.5) !important;
		}
		#primary #text-10 ul, #primary #text-17 ul {
			margin: 0;
			list-style-type: none;
		}
		#primary #text-15 .widget-inside {
			padding-bottom: 3px;
		}
			#primary .widget p:last-child, #primary .widget ul:last-child {
				margin-bottom: 0;
			}
			#primary .widget-inside {
				margin: 2px;
				padding: 0 15px 15px 15px;
				background-color: #F7F7F7;
				position: relative;
			}
						#black-studio-tinymce-6 {
							margin: 0 0 20px 0 !important;
							border: 0 !important;
							box-shadow: none !important;
						}
						#black-studio-tinymce-6 .widget-inside {
							background-color: #FFF !important;
							margin: 0;
							padding: 0;
						}
						#hybrid-search-3 .widget-inside {
							padding: 7px;
						}
			#primary .widget-title {
				background-color: #E5E5E5;
				background-image: url(images/widget-header-bg.jpg);
				padding: 8px 10px;
				margin-bottom: 21px;
				font-size: 14px;
				font-weight: normal;
				position: relative;
				top: 0;
				left: -15px;
				width: 214px;
				border-top-left-radius: 5px;
				-moz-top-left-border-radius: 5px;
				-webkit-top-left-border-radius: 5px;
				border-top-right-radius: 5px;
				-moz-top-right-border-radius: 5px;
				-webkit-top-right-border-radius: 5px;
			}
			#primary .widget ul {
				margin: 0 0 20px 20px;
			}
			#primary .widget ul.nav-menu, #primary .widget ul.xoxo  {
				margin: 0 0 0 15px;
			}

	/* Secondary widget section */
	#secondary {
		position: absolute;
		top: 0;
		left: 0;
		width: 160px;
	}
		#secondary .widget {
			clear: left;
			font-size: 11px;
			margin-bottom: 15px;
			position: relative;
		}
		#secondary #welcome-box {
			line-height: 15px;
			margin: 14px;
			background-color: #EEE;
			border: 1px solid #D9D9D9;
			padding: 9px;
			box-shadow: 1px 1px 0 rgba(255,255,255,0.75), inset 1px 1px 0 rgba(255,255,255,0.75);
		}
		#secondary #welcome-box .user-welcome {
			font-size: 12px;
		}
		#secondary #welcome-box p {
			margin: 0 0 20px 0;
		}
		#secondary #welcome-box .logout {
			float: right;
			position: relative;
			top: -15px;
	}
			#secondary .widget-title {
				font-weight: normal;
				font-size: 12px;
				padding: 5px 10px;
				margin: 0;
				background-color: #D9D9D9;
			}
			#secondary .widget p {
				margin: 0 0 15px 0;
			}
			#secondary .widget p:last-child {
				margin: 0;
			}
			#secondary .widget ul.menu-main-menu {
				list-style-type: none;		
				margin: 0;
			}
				#secondary .widget ul.menu-main-menu li {
					border-right: 1px solid #D9D9D9;
					border-bottom: 1px solid #D9D9D9;
					border-left: 3px solid #D9D9D9;
					padding: 0;
					box-shadow: inset 1px 1px 0 rgba(255,255,255,0.75);
				}
				#secondary .widget ul.menu-main-menu li a {
					font-size: 11px;
					line-height: 28px;
					padding: 1px 0 0 12px;
					display: block;
					color: #111;
					text-transform: uppercase;
					text-shadow: 1px 1px 0 #FFF;
				}
				#secondary .widget ul.menu-main-menu li.current-menu-item {
					background-image: url(images/menu-tab.png);
					background-position: 100% 9px;
					background-repeat: no-repeat;
					border-right: 0;
				}
				#secondary .widget ul.menu-main-menu li.current-menu-parent ul {
					display: block;
				}
				#secondary .widget ul.sub-menu {
					display: none;
					background-color: #D9D9D9;
					box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
				}
				#secondary .widget li.current-menu-item ul.sub-menu {
					display: block !important;
				}
				#secondary .widget ul ul li {
					padding: 0;
					border: 0;
					background-color: #D9D9D9;
					border-top: 1px solid #D9D9D9;
					box-shadow: none;
				}
				#secondary .widget ul ul li.current-menu-item {
					position: relative;
					right: -1px;
				}
				#secondary .widget_wp_sidebarlogin h3.widget-title {
					background-color: #d9d9d9 !important;
					font-size: 11px;
					line-height: 28px;
					padding: 1px 0 0 12px;
					display: block;
					color: #333;
					text-transform: uppercase;
					text-shadow: 1px 1px 0 #FFF;
					border-right: 1px solid #D9D9D9;
					border-bottom: 1px solid #D9D9D9;
					box-shadow: inset 1px 1px 0 rgba(255,255,255,0.75);
				}
				#secondary .widget_wp_sidebarlogin .tooltip {
					position: absolute;
					top: 39px;
					right: 48px;
				}
				#secondary .widget ul ul li a {
					text-transform: none;
					text-shadow: 1px 1px 0 #EEE;
				}
				#secondary #loginform {
					padding: 12px;
					margin: 0;
					width: 135px;
				}
					#secondary #loginform label, #secondary #loginform input {
						font-size: 11px;
						line-height: 15px;
						width: 125px;
					}
					#secondary #loginform input {
						padding: 4px;
						margin: 0;
						width: 134px;
					}
					#secondary #loginform #rememberme {
						width: 15px;
						padding: 0;
						border: 0;
					}
					#secondary #loginform input.button-primary {
						width: 55px !important;
						margin: 5px 0 0 0;
						cursor: pointer;
					}
					.widget_wp_sidebarlogin .sidebar_login_error {
						font-size: 12px !important;
					}
					#secondary #loginform p.login-submit {
						margin: 0;
					}
						
			
			/* Attractive Text Widget */
			#primary .widget_attract .widget-title {
				background-image: none;
				background-color: #f1b235;
				padding: 7px 9px;
				border: 1px solid rgba(0,0,0,0.15);
				font-size: 15px;
				font-weight: bold;
				color: #FFF;
				text-shadow: -1px -1px 0 rgba(0,0,0,0.25);
				box-shadow: inset 1px 1px rgba(255, 255, 255, 0.25);
			}
			
			#primary .widget_attract .widget-title.blue {
				background-color: #3d7db3;
			}
			
			#primary .widget_attract .widget-title.red {
				background-color: #db2c2c;
			}
			
			#primary .widget_attract .widget-title.green {
				background-color: #8bbb3c;
			}
			
			#primary .widget_attract .widget-title.orange {
				background-color: #ff7116;
			}
			
			#primary .widget_attract .widget-title.purple {
				background-color: #4a4056;
			}
			
			#primary .widget_attract img {
				margin: -21px 0 15px -15px;
			}

/**
* Footer
************************************************/

/* Wrapper for the entire footer */
#footer-container {
	clear: both;
}

	ul#menu-footer-menu {
		list-style-type: none;
		margin: 0;
		background-color: #1864A5;
		text-align: center;
	}
	ul#menu-footer-menu li {
		display: inline;
		padding: 0 10px;
		line-height: 39px;
	}
	ul#menu-footer-menu a {
		color: #EEE;
		font-size: 13px;
	}

	/* Subsidiary widget section */
	#subsidiary {
		border-bottom-left-radius: 5px;
		-moz-border-bottom-left-radius: 5px;
		-webkit-border-bottom-left-radius: 5px;
		border-bottom-right-radius: 5px;
		-moz-border-bottom-right-radius: 5px;
		-webkit-border-bottom-right-radius: 5px;
		background-color: #1864A5;
		background-image: url(images/footerbg.jpg);
		box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
		height: 180px;
		padding: 20px;
	}
		#subsidiary .widget {
			float: left;
			width: 205px;
			margin-right: 40px;
		}
			#subsidiary .widget p {
				margin-bottom: 10px;
			}
			#subsidiary .widget-inside {
				color: #CCC;
				font-size: 12px;
				text-shadow: 1px 1px 1px #0B4678;
			}
				#subsidiary .widget-title {
					margin-top: 0;
					margin-bottom: 15px;
					font-size: 14px;
					color: #EEE;
				}
				#subsidiary .widget-search input.search-text {
					margin: 0 0 10px 0;
					padding: 9px;
					width: 142px;
					font-size: 13px;
					border: 1px solid rgba(0,0,0,0.25);
					background-color: rgba(0,0,0,0.15);
					box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1), 0 1px 0 rgba(255,255,255,0.1);
					color: #FFF;
					border-radius: 5px;
					-moz-border-radius: 5px;
					-webkit-border-radius: 5px;
				}
				
				#subsidiary .widget-search input.search-submit {
					float: right;
					width: 40px;
					height: 38px;
					background-image: url(images/search-button-icon.png);
					background-position: 50%;
					background-repeat: no-repeat;
					margin: 0;
					text-indent: -9999em;
					background-color: #92BF2E !important;
					border: 1px solid #70AB18 !important;
					border-bottom: 1px solid #528406 !important;
					border-right: 1px solid #528406 !important;
					border-radius: 5px;
					-moz-border-radius: 5px;
					-webkit-border-radius: 5px;
					-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white !important;
					-moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 0px 2px #FFF !important;
					box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white !important;
				}
				
				#subsidiary a {
					color: #FFF;
				}
				
				#subsidiary .nav-menu {
					width: 140px;
					margin-right: 40px;
				}
				
				#subsidiary div.nav-menu ul {
					margin: 0;
					list-style-type: none;
				}
				#rcpt-2 {
					width: 245px !important;
					margin-right: 0 !important;
				}
				#rcpt-2 ul {
					list-style-type: none;
					margin: 0;
				}
	/* Footer section */
	#footer {
	margin: 0;
	position: relative;
	float: left;
	background-color: #074A84;
	}
		
/* Login page */

fieldset#loginform, fieldset#loginlinks {
	font-size: 12px;
}
fieldset#loginform ul {
	float: left;
	margin: 0 0 10px 0;
}
fieldset#loginform input.button {
	font-size: 11px;
	padding: 7px;
	font-weight: bold;
	position: relative;
	top: 30px;
	left: 10px;
}
fieldset#loginform p.forgotpassword {
	float: left;
	clear: left;
	margin: 0;
}
fieldset#loginform li.password {
	float: left;
}
fieldset#loginform li.membershipno {
	float: left;
	margin-right: 10px;
}
fieldset#loginform li.loginbutton {
	float: left;
}
fieldset#loginform label {
	font-weight: bold;
	font-size: 11px;
}


/* Contact Form */

ol.iwacontactform {
	list-style-type: none;
}

ol.iwacontactform li {
	float: left;
}

ol.iwacontactform label {
	float: left;
	clear: left;
	margin: 0 0 10px 0 !important;
}

ol.iwacontactform input {
	width: 242px !important;
}

ol.iwacontactform input#name {
	margin-right: 30px !important;
}

ol.iwacontactform input, ol.iwacontactform textarea, ol.iwacontactform button {
	float: left;
	clear: left;
	margin: 0 0 20px 0 !important;
}

ol.iwacontactform textarea {
	width: 500px;
}

ol.iwacontactform button {
	width: 106px;
	color: white;
	margin: 0 0 19px 0 !important;
	padding: 10px;
	font-size: 13px;
	background-color: #92BF2E !important;
	border: 1px solid #70AB18 !important;
	border-bottom: 1px solid #528406 !important;
	border-right: 1px solid #528406 !important;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white !important;
	-moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 0px 2px #FFF !important;
	box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white !important;
}


/* Search Widget */
#primary .widget-search .widget-title {
	display: none;
}

#primary .widget-search form {
	margin: 0;
}

#primary input.search-text {
	width: 145px !important;
	float: left;
	padding: 9px 10px 8px 10px;
	margin-bottom: 0;
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.05), 1px 1px 0 rgba(255, 255, 255, 0.75);
}

#primary input.search-submit {
	clear: none;
	width: 36px !important;
	height: 36px;
	margin: 0;
	background-image: url(images/search-button-icon.png);
	background-position: 50%;
	background-repeat: no-repeat;
	text-indent: -9999em;
	box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.5);
	-moz-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.5);
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	
}

/* Optimized Drop-Down Menus */
#primary .optimzed_dd h3 {
	text-align: center;
	background-color: #8bbb3c;
	background-image: none;
	color: #FFF;
	font-weight: bold;
	text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
	border: 1px solid #70AB18;
	padding: 7px 9px;
	-webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 1px 1px 0px rgba(255,255,255,0.5);
	-moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 1px 1px 0px rgba(255,255,255,0.5);
	box-shadow: inset 1px 1px 0px rgba(255,255,255,0.5);
}
#primary .optimzed_dd select {
	float: left;
	margin: 0;
	width: 82%;
	box-sizing: border-box;
}
#primary .optimzed_dd button {
	width: 18%;
	margin: 0;
	height: 30px;
	text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
	font-size: 13px;
	cursor: pointer;
	color: white;
	background-color: #8bbb3c;
	border: 1px solid #70AB18;
	box-sizing: border-box;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white;
}

/* 4 content boxes */

.content-box {
	width: 238px;
	margin: 0 0 20px 0;
	font-size: 13px;
	border-radius: 4px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 0 10px rgba(0,0,0,0.1);
	border: 1px solid #D9D9D9;
	text-shadow: 1px 1px 0 #FFF;
}

#content .content-box h3 {
	margin: 0;
	padding: 7px 12px;
	border: 1px solid rgba(0,0,0,0.15);
	background-color: #F5F5F5;
	font-size: 15px;
	font-weight: bold;
	color: #FFF;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.25);
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	box-shadow: inset 1px 1px rgba(255, 255, 255, 0.25);
}

#content #top-left-content-box h3 {
	background-color: #f1b235;
}

#content #top-right-content-box h3 {
	background-color: #3d7db3;
	background-image: url(images/footerbg.jpg);
}

#content #bottom-left-content-box h3 {
	background-color: #8bbb3c;
}

#content #bottom-right-content-box h3 {
	background-color: #db2c2c;
}

.content-box img {
	display: block;
	margin: 0 0 -5px 0;
}

.contentbox-inside {
	float: left;
	background-color: #F5F5F5;
	margin: 2px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.contentbox-inside a {
	color: #FFF;
}

.content-box p:last-child {
	margin-bottom: 15px;
	padding: 0 15px 0 15px;
}

.content-box ul {
	padding: 15px 18px 17px 30px;
	background-color: #EEE;
	margin: 0;
}

#top-left-content-box, #bottom-left-content-box {
	float: left;
	clear: left;
}

#top-right-content-box, #bottom-right-content-box {
	float: right;
	clear: right;
}

#top-right-content-box {
	position: relative;
	right: 260px;
}

#top-left-content-box {
	position: relative;
	left: 260px;
}


/* AddThis */

.addthis_before_content {
	display: block;
	line-height: 20px;
}
.addthis_before_content a {
	float: left;
	height: 20px;
	width: 79px;
	margin: 0 5px 5px 0 !important;
	padding: 0 !important;
}
a.addthis_counter {
	width: 50px;
	margin: 0 !important
}
a.addthis_button_facebook_like {
	width: 72px;
}
a.addthis_button_tweet, a.addthis_button_tweet iframe {
	width: 79px !important;
}
a.addthis_button_email {
	width: 54px;
	position:relative;
	top: 2px;
}

/* Membership Page */
#joinguild ul li input {
	margin: 0 4px 0 0;
}

table#benefits {
	font-size: 12px;
	margin: 0 0 20px 0;
}

table#benefits td {
	border: 1px solid #D9D9D9;
	padding: 10px;
	line-height: 18px;
	vertical-align: middle;
}

table#benefits td img {
	height: 20px;
	margin: auto;
	display: block;
}


/* Archives widget */

.widget ul.archives {
	list-style-type: none;
	margin: 0 0 20px 0;
}

.widget ul.archives li {
		background: url(images/article.png) no-repeat 0px 1px;
		padding: 0 0 0 20px;
	}
	

/* Our partners footer panel */

#our-partners {
	position: relative;
	width: 955px;
	margin: auto;
}

.ourpartners {
	display: block;
	text-align: center;
	clear: both;
	font-size: 13px;
	line-height: 40px;
	margin: 0 0 40px 0;
}

#our-partners .logos {
	height: 80px;
	display: table;
	table-layout: fixed;
	width: 100%;
}

#our-partners span {
	display: table-cell;
	text-align: center;
}

#our-partners img {
	display: inline;
}


/********
* Event Post Type
*********************/

.event-details {
	padding: 0 20px;
	float: right;
	font-size: 13px;
	margin: 0 0 20px 20px;
	text-align: right;
	}

.event-details h3 {
	margin: 0 0 20px 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.event-details p {
	margin: 0;
}


/************************
* Homepage/Searchable Databases
*********************************/

#twitter-timeline iframe {
	display: block;
	height: 300px;
	margin: 0 0 20px;
}

/* Homepage Search */
#home-search {
	position: relative;
	background-color: #F8F8F8;
	background-repeat: no-repeat;
	background-position: 100% 0;
	background-image: url(images/home-search-bg.jpg);
	padding: 50px 42px 80px;
	box-shadow: inset 1px 1px -2px #FFF;
}
#home-search #search {
	float: left;
	width: 466px;
}
#home-search #advert {
	position: absolute;
	top: 40px;
	right: 40px;
	padding: 29px 29px 19px;
	border: 1px solid #639E20;
	background: #8BBB3C;
	width: 300px;
	color: #FFF;
	border-radius: 4px;
	box-shadow: inset 1px 1px 1px rgba(255,255,255,0.5), 1px 1px 0 rgba(0,0,0,0.5);
	text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
	background-image: -ms-linear-gradient(top left, #8BBB3C 0%, #639E20 100%);
	background-image: -moz-linear-gradient(top left, #8BBB3C 0%, #639E20 100%);
	background-image: -o-linear-gradient(top left, #8BBB3C 0%, #639E20 100%);
	background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #8BBB3C), color-stop(1, #639E20));
	background-image: -webkit-linear-gradient(top left, #8BBB3C 0%, #639E20 100%);
	background-image: linear-gradient(to bottom right, #8BBB3C 0%, #639E20 100%);
}
#home-search h3,
#home-search p {
	margin: 0 0 10px;
}
#home-search #advert h3 {
	margin: 0 0 5px;
	font-size: 20px;
	color: #FFF;
}
#home-search .sub-title {
	margin: 0 0 15px;
	font-size: 13px;
}
#home-search .ad-content {
	margin: 20px 0;
	font-size: 15px;
}
#home-search .ad-footer {
	font-size: 13px;
}
	#home-search #advert h3 span {
		display: block;
		font-size: 75%;
		font-weight: normal;
	}
#home-search #advert small {
	color: #8bbb3c;
	font-size: 90%;
	font-weight: bold;
}
#home-search form {
	margin: -5px 0 20px;
}
#home-search h1 {
	line-height: 40px;
	font-size: 33px;
	letter-spacing: -2px;
}
#home-search form label {
	position: absolute;
	left: -9999em;
	font-size: 13px;
	margin-bottom: 5px;
}
#home-search form input {
	width: 192px;
	font-size: 14px;
	margin: 0;
	padding: 7px;
	box-shadow: inset 1px 1px 1px #EEE, 1px 1px 0 #FFF;
	border-radius: 5px;
}
#home-search #search form .button {
	font-size: 14px;
	line-height: 18px;
	text-indent: -9999em;
	width: 38px;
	background-image: url(images/search-button-icon.png);
	background-repeat: no-repeat;
	background-position: 50%;
}
#home-search #search .firstname,
#home-search #search .surname {
	float: left;
	margin-right: 6px;
}
#home-search #search p {
	position: relative;
	margin: 0;
	padding-right: 80px;
}
#home-search #search .browse {
	position: absolute;
	top: 4px;
	right: 0;
	background-color: #999 !important;
	border-color: #888 !important;
}
#home-search #search .browse:hover {
	background-color: #AAA !important;
}

#homepage-advert {
	display: block;
	width: 400px;
	position: absolute;
	top: 20px;
	right: 20px;
}

	#homepage-advert img {
		max-width: 400px;
		height: auto;
	}
	
	#homepage-advert .alert,
	#homepage-advert .alert-sale {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		width: 100%;
		padding: 24px 22px;
		margin-bottom: 15px;
	}

	#homepage-advert p:last-child,
	#homepage-advert div p:last-child {
		margin: 0;
	}

#new-advert {
	position: absolute;
	right: 35px;
	top: 35px;
	background: #FFF;
	padding: 3px;
	width: 37.5%;
	border-radius: 4px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	border: 1px solid #D9D9D9;
}

	#new-advert div {
		background: #EEE;
		padding-bottom: 20px;
	}
	
	#new-advert h3 {
		padding: 15px;
		background: #8bbb3c;
		color: #FFF;
		text-shadow: -1px -1px 0 rgba(0,0,0,0.25);
		border-top-left-radius: 4px;
		border-top-right-radius: 4px;
	}
	
	#new-advert p {
		font-size: 14px;
		padding: 10px 20px 0;
		text-shadow: 1px 1px 0 #FFF;
	}

/* Single Template */

#database-meta {
	display: block;
	margin: 0 0 20px 0;
	font-size: 13px;
}
div.description {
	float: left;
}

#database-meta p {
	margin: 0;
}

p.date-added, p.source {
	float: left;
	width: 220px;
	margin-right: 20px;
}

/* Archive Template */

#search-form {
	border: 1px solid #D9D9D9;
	margin-bottom: 20px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#search-form .widget-inside {
	margin: 2px;
	background-color: #F5F5F5;
	position: relative;
}

#search-form .widget-inside .alert {
	margin-top: 20px;
	margin-bottom: 0;
}

#toggleadv {
	float: right;
	position: relative;
	top: 15px;
	right: 45px;
	background-color: #EEE;
	padding: 0 5px 0 5px;
	border: 1px solid #BBB;
	font-size: 11px;
	box-shadow: inset 1px 1px 0 rgba(255,255,255,0.75),1px 1px 0 rgba(255,255,255,0.5);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	color: #333;
}

h2.search-results span {
	float: right;
	margin-right: 20px;
}

#search-form p {
	margin-bottom: 10px;
}

#search-form input {
	width: 212px;
	margin: 0;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#search-form select {
	margin: 0;
}

#search-form input, #search-form select {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#search-form input#year {
	width: 62px;
}

#search-form input.button {
	font-weight: bold;
	width: auto;
	padding-right: 29px;
	background-image: url(images/search-button-icon-small.png);
	background-repeat: no-repeat;
	background-position: 62px 8px;
}

#search-form ul {
	margin: 0;
	list-style-type: none;
}

#search-form ul li {
	float: left;
	margin: 0 0 10px 15px;
}

#search-form ul li.year-734, #search-form ul li.year-736 {
	float: left;
	clear: left;
}

#search-form ul li.alignleft, #search-form ul li.alignright {
	width: 50%;
}

#search-form h3 {
	margin-top: 0;
	padding: 15px;
	border: 0;
	background-color: #E5E5E5;
	font-size: 16px;
}

#search-form label {
	display: block;
	width: 100%;
	margin: 0 0 5px 0;
	font-size: 13px;
}

#search-form #search-button {
	text-align: right;
	margin-top: 20px;
	margin-bottom: 20px;
}

#search-form button {
	margin: 10px 0 0 0;
}

#search-form #database-select {
	position: absolute;
	top: 10px;
	right: 10px;
}

#search-form #advanced, #search-form .year-743  {
	position: absolute;
	left: 240px;
	top: 70px;
}
	#search-form .condition {
		margin-bottom: 30px;
	}
	#search-form .condition-743 {
		margin-bottom: 0;
	}
	#search-form .condition-6626 {
		position: relative;
		left: 239px;
		margin-bottom: 0;
	}
	#post-734 #search-form #simple,
	#post-736 #search-form #simple,
	#post-743 #search-form #simple {
		width: 50%;
	}
.navigation_container {
	background-color: #F5F5F5;
	padding: 4px;
	border: 1px solid #BBB;
	height: 30px;
	margin-bottom: 20px;
	box-shadow: inset 1px 1px 0 rgba(255,255,255,0.75);
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background-image: url(images/widget-header-bg.jpg);
}
.info_text {
	float: left;
	line-height: 30px;
	margin-left: 8px;
	font-size: 13px;
}
.search_again {
	float: left;
	line-height: 30px;
	margin-left: 8px;
	font-size: 13px;
}
.show-new {
	float: left;
	position: relative;
	left: 15px;
	top: 6px;
}
	.show-new input, .show-new label {
		display: inline;
		margin: 0;
	}
	
	.show-new input {
		position: relative;
		top: 2px;
	}
	
	.show-new label {
		font-size: 11px;
		margin-left: 3px;
	}
.no_more {
	display: none;
}
.page_navigation {
	display: block;
	position: absolute;
	top: 5px;
	right: 5px;
	float: right;
}
.page_navigation a {
	margin-left: 4px;
	float: left;
	background-color: #F5F5F5;
	padding: 4px 8px 4px 8px;
	border: 1px solid #BBB;
	font-size: 11px;
	box-shadow: inset 1px 1px 0 rgba(255,255,255,0.75),1px 1px 0 rgba(255,255,255,0.5);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	color: #333;
}
.page_navigation .ellipse {
	display: none !important;
}
.page_navigation .active_page {
	border: 1px solid #AAA;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.2),1px 1px 0 rgba(255,255,255,0.5);
}

table#pay-per-view-fields tr.empty {
	display: none;
}

table#pay-per-view-fields th, table#pay-per-view-fields td {
	text-align: left;
	font-size: 13px;
}

table#pay-per-view-fields th {
	width: 30%;
}

table.db-search-results {
	margin: 0 0 20px 0;
	width: 100%;
}

table.db-search-results td, table.db-search-results th {
	text-align: center;
	padding: 10px;
	border: 1px solid #D9D9D9;
	font-size: 12px;
	line-height: 20px;
	vertical-align: middle;
	background: #FFF;
	box-shadow: inset 1px 1px 0 white;
}
table.db-search-results td.view-record {
	text-align: center;
}
table.db-search-results th {
	text-align: center;
	background-color: #F5F5F5;
	font-size: 13px;
	font-weight: normal;
	padding: 9px;
	vertical-align: middle;
}
table.db-search-results td.view-record a {
	background-color: #F5F5F5;
	padding: 5px 8px 5px 8px;
	border: 1px solid #BBB;
	font-size: 11px;
	box-shadow: inset 1px 1px 0 rgba(255,255,255,0.75),1px 1px 0 rgba(255,255,255,0.5);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	color: #333;
}
table.db-search-results tr.purchased {
	background-color: #F8F8F8;
	color: #999;
}

#result {
	display: none;
	margin: 0 20px 20px 20px;
	padding: 0;
	background-color: #FFF;
	position: relative;
	left: 160px;
	width: 760px;
	clear: both;
}

#result h3 {
	font-size: 18px;
	font-weight: normal;
	float: left;
}

.county-total {
	background-color: #F5F5F5;
	padding: 25px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}


/*************************
* FAMILY RECORDS PLUGIN STYLE
***********************************/


/* ARCHIVE PAGE */

#generic-search-list {
	clear: both;
	width: 760px;
	padding-left: 20px;
	padding-right: 20px;
	position: relative;
	left: -20px;
}

#generic-search-toolbar {
	position: relative;
	top: 1px;
	background-color: #F5F5F5;
	margin: 0 0 20px 0;
	padding: 4px;
	border: 1px solid #BBB;
	height: 30px;
	box-shadow: inset 1px 1px 0 rgba(255,255,255,0.75);
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background-image: url(images/widget-header-bg.jpg);
}

#generic-search-terms {
	position: absolute;
	top: 9px;
	left: 10px;
	font-size: 13px;
}

#generic-search-box {
	position: relative;
	float: right;
}

#generic-search-box input {
	margin-bottom: 0;
	width: 135px;
	font-size: 13px;
	color: #999;
	box-shadow: 1px 1px 0 rgba(255,255,255,0.5);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#generic-search-box input.button {
	color: #FFF;
	width: 34px;
	text-indent: -9999em;
	background-image: url(images/search-button-icon.png);
	background-repeat: no-repeat;
	background-position: 50%;
}

#filter-button {
	float: left;
	background-color: #F5F5F5;
	background-image: url(images/down-arrow.png);
	background-repeat: no-repeat;
	background-position: 48px 12px;
	padding: 4px 23px 4px 10px;
	border: 1px solid #BBB;
	font-size: 11px;
	box-shadow: inset 1px 1px 0 rgba(255,255,255,0.75),1px 1px 0 rgba(255,255,255,0.5);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	color: #333;
}

#filters {
	display: none;
	margin: 10px;
	list-style-type: none;
	font-size: 12px !important;
}
#filters li {
	float: left;
}
#filters li input {
	float: left;
	margin-right: 8px;
}
#filters li label {
	float: left;
	margin-right: 15px;
}

table.family-records {
	width: 100%;
	margin: 0 0 20px 0;
	font-size: 12px;
}

table#generic-database-list th {
	font-size: 13px;
	text-align: left;
}
	table#generic-database-list th.database-category {
		font-size: 15px;
		font-weight: bold;
	}
table.family-records span.icon {
	float: right;
	font-size: 11px;
	line-height: 20px;
	margin-right: 2px;
}
table.family-records span.icon img {
	vertical-align: middle;
	margin-top: 2px;
	margin-left: 10px;
}

table.family-records th {
	border: 1px solid #DDD;
	padding: 9px 10px 9px 10px;
	vertical-align: middle;
	box-shadow: inset 1px 1px 0 white;
	font-weight: normal;
}

table.family-records td {
	border: 1px solid #DDD;
	padding: 10px 12px 9px 12px;
	vertical-align: middle;
	box-shadow: inset 1px 1px 0 #FFF;
}

table.family-records td br {
	display: none;
}

a.view-button {
	padding: 3px 5px;
	font-size: 11px;
	font-weight: bold;
	line-height: 1;
	color: white;
	background-color: #92BF2E !important;
	border: 1px solid #70AB18 !important;
	border-bottom: 1px solid #528406 !important;
	border-right: 1px solid #528406 !important;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white !important;
	-moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 0px 0px 2px #FFF !important;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white !important;
}

/* Latest Databases Widget */

#primary div.widget_rcpt .widget-inside {
	padding: 0;
}

#primary div.widget_rcpt .widget-title {
	margin: 0;
	left: 0;
}

#primary ul.rcpt_items_list {
	margin: 0;
	list-style-type: none;
}

#primary ul.rcpt_items_list li {
	margin: 0;
	font-size: 13px;
	padding: 10px;
	border-top: 1px solid #D9D9D9;
	box-shadow: inset 0 1px 0 rgba(255,255,255,1);
}

#primary ul.rcpt_items_list li:first-child {
	border: 0;
	font-size: 14px;
	font-style: italic;
}

#primary span.rcpt_item_date {
	font-size: 11px;
}


/* Member Profile */

form#ws-plugin--s2member-profile table td {
	padding: 0 !important;
}

form#ws-plugin--s2member-profile table br {
	display: none;
}

form#ws-plugin--s2member-profile label {
	margin: 0;
}

form#ws-plugin--s2member-profile label strong {
	margin: 0 5px 10px 0;
	font-size: 13px;
	font-weight: normal;
	line-height: 20px;
	display: block;
	float: left;
}

form#ws-plugin--s2member-profile label small {
	line-height: 16px;
}

form#ws-plugin--s2member-profile select {
	padding: 5px;
	border: 1px solid #D9D9D9;
}

/* Members Interests */

table#members-interests th {
	font-size: 14px;
	padding: 10px 9px 9px 9px;
}

table#members-interests td {
	padding: 0;
}

table#members-interests input {
	margin: 0;
	border: 0;
	padding: 12px 11px 11px 11px;
	width: 80%;
}

/* Login Widget */

.widget_wp_sidebarlogin label {
	display: block;
	width: 100%;
	margin: 0 0 5px 0;
	font-size: 13px;
}

#secondary .widget_wp_sidebarlogin p {
	margin: 0 0 8px 0;
}

.widget_wp_sidebarlogin input {
	margin: 0;
	width: 150px;
}

.login-remember label {
	font-size: 11px;
}

.widget_wp_sidebarlogin input#rememberme {
	width: 15px;
	padding: 0;
	position: relative;
	top: 2px;
	left: -1px;
}

.widget_wp_sidebarlogin input.button-primary {
	margin: 10px 0 20px 0;
	width: 60px !important;
	font-size: 13px;
	color: white;
	background-color: #92BF2E !important;
	border: 1px solid #70AB18 !important;
	border-bottom: 1px solid #528406 !important;
	border-right: 1px solid #528406 !important;
	text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 0px 0px 2px white !important;
	-moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 0px 0px 2px #FFF !important;
	box-shadow: inset 0px 0px 2px white !important;
}
.sidebar_login_links {
	padding-left: 15px !important;
	line-height: 18px;
}


/* jQuery UI css */

#dialog {
	display: none;
}

.ui-widget {
	font-family: helvetica, arial, sans-serif !important;
	font-size: 13px !important;
}

.ui-dialog-content {
	padding: 10px !important;
}

.ui-dialog-buttonpane {
	padding: 0 !important;
}


/* S2Member forms */

#s2member-pro-paypal-checkout-options {
	margin-bottom: 30px;
}

#s2member-pro-paypal-checkout-form-coupon-response-div {
	color: #8BBB3C;
	margin-bottom: 20px;
}

#s2member-pro-paypal-checkout-coupon-apply {
	margin-top: 25px;
	margin-left: 4px;
	margin-bottom: 30px;
	width: 108px;
}

#s2member-pro-paypal-checkout-form-coupon-label {
	float: left;
}

.s2member-pro-paypal-coupon-apply {
	background-color: #8BBB3C;
	border: 1px solid #8BBB3C;
	color: #FFF;
}

.s2member-pro-paypal-form-section {
	margin-top: 40px;
	width: 100%;
}

.s2member-pro-paypal-form-section {
	float: left;
	margin: 0;
	padding: 0 40px 0 0;
}

.s2member-pro-paypal-form-section br, .s2member-pro-paypal-form-description-section, .s2member-pro-paypal-form-coupon-section {
	display: none;
}

.s2member-pro-paypal-checkout-form-description-section {
	width: 100%;
	margin: 0 0 20px 0;
}

.s2member-pro-paypal-form-registration-section, .s2member-pro-paypal-form-custom-fields-section {
	width: 330px;
	margin-bottom: 20px;
}

.s2member-pro-paypal-form-section-title {
	font-size: 15px;
	text-transform: uppercase;
	margin: 10px 0 20px 0;
	border-bottom: 1px solid #D9D9D9;
	padding-bottom: 9px;
}

form#ws-plugin--s2member-profile input[type="text"], form#ws-plugin--s2member-profile input[type="email"], form#ws-plugin--s2member-profile input[type="password"], form#ws-plugin--s2member-profile input[type="submit"], form#ws-plugin--s2member-profile textarea, form#ws-plugin--s2member-profile select {
	display: block;
	width: 98%;
	margin: 0 0 19px 0;
}

.s2member-pro-paypal-form-section label, .s2member-pro-paypal-form-section span {
	display: block;
	font-size: 13px;
	margin: 0;
}

.s2member-pro-paypal-form-section span {
	margin-bottom: 5px;
}

.s2member-pro-paypal-form-section input, .s2member-pro-paypal-form-section select {
	font-size: 13px;
	margin: 0 0 15px 0;
	width: 318px;
}

.s2member-pro-paypal-form-section select {
	width: 330px;
}

.s2member-pro-paypal-custom-reg-field-join-newsletter {
	float: left;
	width: 15px !important;
	border: 0;
	padding: 0;
	margin: 0 5px 0 0 !important;
}

#s2member-pro-paypal-checkout-form-submission-section input {
	padding: 0;
	border: 0;
	width: auto;
}

.s2member-pro-paypal-registration-form-password-strength {
	padding: 7px 5px;
	background-color: #EEE;
}

.ws-plugin--s2member-password-strength-short, .ws-plugin--s2member-password-strength-bad, .ws-plugin--s2member-password-strength-mismatch {
	color: red;
}

.ws-plugin--s2member-password-strength-good {
	color: orange;
}

.ws-plugin--s2member-password-strength-strong {
	color: green;
}

#ws-plugin--s2member-profile input#ws-plugin--s2member-profile-join-newsletter {
	margin-right: 10px;
	margin-bottom: 20px;
}
#ws-plugin--s2member-profile input#ws-plugin--s2member-profile-password1 {
	margin-bottom: 5px;
}
#ws-plugin--s2member-profile #ws-plugin--s2member-profile-password-strength {
	margin-bottom: 20px;
}

.g-recaptcha {
	margin: 0 0 20px;
}

/* Related */

.ui-widget-content {
	font-family: "Open Sans" !important;
	font-size: 14px !important;
}


/* Gravity Forms */
.gf_progressbar {
	width: 99.75%;
	height: 20px;
	overflow: hidden;
	line-height: 20px !important;
	border: 1px solid #ACACAC;
	border-right: 1px solid #959595;
	border-bottom: 1px solid #959595;
	background-image: url(https://www.ancestryireland.com/wp-content/plugins/gravityforms/images/percentbar_bg.png);
	background-repeat: repeat-x;
	background-position: bottom;
	background-color: #FFF;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	margin-bottom: 38px;
}
.gf_progressbar_percentage {
	height: 20px;
	text-align: right;
	font-size: 13px !important;
	text-shadow: 0 1px 1px rgba(0,0,0,0.50);
}
.gf_progressbar_percentage {
	background-image: url(https://www.ancestryireland.com/wp-content/plugins/gravityforms/images/percentbar_green.png);
	background-repeat: repeat-x;
	background-color: #94DC21;
	color: #FFF;
}
.gf_progressbar_percentage span {
	margin: 0 5px;
	float: right;
}
.gform_wrapper ul li.gfield {
	margin-bottom: 20px;
}
	.widget .gform_wrapper ul li.gfield {
		margin-bottom: 10px;
	}
	#primary .widget .gform_fields {
		margin: 0;
	}
.gform_fields input, .gform_fields textarea, .gform_fields select {
	box-sizing: border-box;
	margin: 0;
}
.ginput_right {
	clear: right;
	float: right;
	width: 48.5%;
	margin: 0 0 20px 0;
}
	.ginput_right input,
	.ginput_right select,
	.ginput_left input, 
	.ginput_left select {
		width: 100% !important;
	}
.ginput_left {
	clear: left;
	float: left;
	width: 48.5%;
	margin: 0 0 20px 0;
}
.gfield .medium {
	width: 48.5%;
}
.gfield .large {
	width: 100%;
}
.ginput_left input, .ginput_right input {
	width: 100%;
}
.ginput_right input {
	float: right;
}
.widget .gfield input,
.widget .gfield select {
	width: 100% !important;
}
.gfield_description {
	font-size: 13px;
	margin: 0 0 20px 0;
}
.gfield_list {
	width: 100%;
}
.gform_validation_container {
	display: none;
}
.gform_hidden {
	display: none;
}
.gform_wrapper .ginput_complex label, .gform_wrapper .gfield_time_hour label, .gform_wrapper .gfield_time_minute label, .gform_wrapper .gfield_date_month label, .gform_wrapper .gfield_date_day label, .gform_wrapper .gfield_date_year label, .gform_wrapper .instruction {
	display: block;
	margin: 0;
	font-size: 11px;
}
.gform_ajax_spinner {
	position: relative;
	left: 4px;
	top: 2px;
}
	.widget .gform_ajax_spinner {
		position: absolute;
		top: 10px;
		left: 210px;
	}
.gfield_error input, .gfield_error textarea {
	border: 1px solid orange;
}
.validation_message {
	color: orangered;
	font-size: 11px;
	position: relative;
	top: 5px;
}
table.gfield_list td, table.gfield_list th {
	text-align: left;
	padding: 10px;
	border: 1px solid #D9D9D9;
	font-size: 13px;
	line-height: 20px;
	vertical-align: middle;
	box-shadow: inset 1px 1px 0 white;
}

table.gfield_list th {
	background-color: #F5F5F5;
	font-size: 13px;
	font-weight: normal;
	padding: 9px;
	vertical-align: middle;
}
table.gfield_list input {
	margin: 0;
	border: 0;
	padding: 0;
	width: 90%;
}
.gform_wrapper .gfield_checkbox li input[type="checkbox"], .gform_wrapper .gfield_radio li input[type="radio"], .gform_wrapper .gfield_checkbox li input {
	float: left;
	margin-top: 3px;
	margin-right: 5px;
	width: auto !important;
}
.gfield_radio li, .gfield_radio li label {
	display: inline-block;
	margin-right: 10px;
}
.gfield_label {
	font-size: 15px;
	color: #000;
}
	#buy-credits .gfield_label {	
		display: none;
		font-size: 12px;
		margin: 0 0 5px 0;
	}
.ginput_container li label {
	margin-bottom: 20px;
	font-size: 13px;
}
.ginput_total {
	font-size: 17px;
	color: green;
}
.gform_footer {
	clear: both;
}
.gform_fields .datepicker {
	float: left;
	width: 90% !important;
}
.gform_fields .ui-datepicker-trigger {
	float: left;
	margin: 8px 0 0 8px;
}

/* enhanced UI/select styles added in v.1.6 -----------------------------------------------------------------*/

.gform_wrapper select.chzn-select {
	visibility: hidden;
	height: 28px !important;
	min-height: 28px !important
}
.gform_wrapper .chzn-container {
	font-size: 13px;
	position: relative;
	margin-bottom: 4px;
	display: inline-block;
	zoom: 1;
	*display: inline
}
.gform_wrapper .chzn-container .chzn-drop {
	background-color: #FFF;
	border: 1px solid #AAA;
	border-top: 0;
	position: absolute;
	top: 29px;
	left: 0;
	-webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15);
	-moz-box-shadow: 0 4px 5px rgba(0,0,0,.15);
	-o-box-shadow: 0 4px 5px rgba(0,0,0,.15);
	box-shadow: 0 4px 5px rgba(0,0,0,.15);
	z-index: 999
}
.gform_wrapper .chzn-container-single .chzn-single {
	background-color: #FFF;
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #EEE), color-stop(0.5, white));
	background-image: -webkit-linear-gradient(center bottom, #EEE 0%, white 50%);
	background-image: -moz-linear-gradient(center bottom, #EEE 0%, white 50%);
	background-image: -o-linear-gradient(top, #EEE 0%,#FFF 50%);
	background-image: -ms-linear-gradient(top, #EEE 0%,#FFF 50%); filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#EEE', endColorstr='#FFF',GradientType=0 );
	background-image: linear-gradient(top, #EEE 0%,#FFF 50%);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 1px solid #AAA;
	display: block; overflow: hidden;
	white-space: nowrap;
	position: relative;
	height: 26px;
	line-height: 26px;
	padding: 0 0 0 8px;
	color: #444;
	text-decoration: none
}
.gform_wrapper .chzn-container-single .chzn-single span {
	margin-right: 26px;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	-o-text-overflow: ellipsis;
	-ms-text-overflow: ellipsis;
	text-overflow: ellipsis
}
.gform_wrapper .chzn-container-single .chzn-single div {
	-webkit-border-radius: 0 4px 4px 0;
	-moz-border-radius: 0 4px 4px 0;
	border-radius: 0 4px 4px 0;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	background-color: #D9D9D9;
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #D9D9D9), color-stop(0.6, #EEE));
	background-image: -webkit-linear-gradient(center bottom, #D9D9D9 0%, #EEE 60%);
	background-image: -moz-linear-gradient(center bottom, #D9D9D9 0%, #EEE 60%);
	background-image: -o-linear-gradient(bottom, #D9D9D9 0%, #EEE 60%);
	background-image: -ms-linear-gradient(top, #D9D9D9 0%,#EEE 60%);
	filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#D9D9D9', endColorstr='#EEE',GradientType=0 );
	background-image: linear-gradient(top, #D9D9D9 0%,#EEE 60%);
	border-left: 1px solid #AAA;
	position: absolute;
	right: 0;
	top: 0;
	display: block;
	height: 100%;
	width: 18px
}
.gform_wrapper .chzn-container-single .chzn-single div b {
	background-image: url(images/chosen-sprite.png);
	background-position:  0 1px;
	background-repeat: no-repeat;
	display: block;
	width: 100%;
	height: 100%
}
.gform_wrapper .chzn-container-single .chzn-search {
	padding: 3px 4px;
	margin: 0;
	white-space: nowrap
}
.gform_wrapper .chzn-container-single .chzn-search input {
	background: #FFF url(images/chosen-sprite.png) 100% -20px no-repeat;
	background: url(images/chosen-sprite.png) 100% -20px no-repeat, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #EEE));
	background: url(images/chosen-sprite.png) 100% -20px no-repeat, -webkit-linear-gradient(center bottom, white 85%, #EEE 99%);
	background: url(images/chosen-sprite.png) 100% -20px no-repeat, -moz-linear-gradient(center bottom, white 85%, #EEE 99%);
	background: url(images/chosen-sprite.png) 100% -20px no-repeat, -o-linear-gradient(bottom, white 85%, #EEE 99%);
	background: url(images/chosen-sprite.png) 100% -20px no-repeat, -ms-linear-gradient(top, #FFF 85%,#EEE 99%);
	background: url(images/chosen-sprite.png) 100% -20px no-repeat, -ms-linear-gradient(top, #FFF 85%,#EEE 99%);
	background: url(images/chosen-sprite.png) 100% -20px no-repeat, linear-gradient(top, #FFF 85%,#EEE 99%);
	margin: 1px 0;
	padding: 4px 20px 4px 5px;
	outline: 0;
	border: 1px solid #AAA;
	font-family: sans-serif;
	font-size: 1em
}
.gform_wrapper .chzn-container-single .chzn-drop {
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box
}
.gform_wrapper .chzn-container-multi .chzn-choices {
	background-color: #FFF;
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #EEE));
	background-image: -webkit-linear-gradient(center bottom, white 85%, #EEE 99%);
	background-image: -moz-linear-gradient(center bottom, white 85%, #EEE 99%);
	background-image: -o-linear-gradient(bottom, white 85%, #EEE 99%);
	background-image: -ms-linear-gradient(top, #FFF 85%,#EEE 99%);
	filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#FFF', endColorstr='#EEE',GradientType=0 );
	background-image: linear-gradient(top, #FFF 85%,#EEE 99%);
	border: 1px solid #AAA;
	margin: 0;
	padding: 0;
	cursor: text;
	overflow: hidden;
	height: auto !important;
	height: 1%; position: relative
}
.gform_wrapper .chzn-container-multi .chzn-choices li {
	float: left;
	list-style: none
}
.gform_wrapper .chzn-container-multi .chzn-choices .search-field {
	white-space: nowrap;
	margin: 0;
	padding: 0
}
.gform_wrapper .chzn-container-multi .chzn-choices .search-field input {
	color: #666;
	background: transparent !important;
	border: 0 !important;
	padding: 5px;
	margin: 1px 0;
	outline: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none
}
.gform_wrapper .chzn-container-multi .chzn-choices .search-field .default {
	color: #999
}
.gform_wrapper .chzn-container-multi .chzn-choices .search-choice {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	background-color: #E4E4E4;
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #E4E4E4), color-stop(0.7, #EEE));
	background-image: -webkit-linear-gradient(center bottom, #E4E4E4 0%, #EEE 70%);
	background-image: -moz-linear-gradient(center bottom, #E4E4E4 0%, #EEE 70%);
	background-image: -o-linear-gradient(bottom, #E4E4E4 0%, #EEE 70%);
	background-image: -ms-linear-gradient(top, #E4E4E4 0%,#EEE 70%);
	filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#E4E4E4', endColorstr='#EEE',GradientType=0 );
	background-image: linear-gradient(top, #E4E4E4 0%,#EEE 70%);
	color: #333;
	border: 1px solid #B4B4B4;
	line-height: 13px;
	padding: 3px 19px 3px 6px;
	margin: 3px 0 3px 5px;
	position: relative
}
.gform_wrapper .chzn-container-multi .chzn-choices .search-choice span {
	cursor: default
}
.gform_wrapper .chzn-container-multi .chzn-choices .search-choice-focus {
	background-color: #D4D4D4
}
.gform_wrapper .chzn-container-multi .chzn-choices .search-choice .search-choice-close {
	display: block;
	position: absolute;
	right: 5px;
	top: 6px;
	width: 8px;
	height: 9px;
	font-size: 1px;
	background-image: url(images/chosen-sprite.png);
	background-position: right top;
	background-repeat: no-repeat
}
.gform_wrapper .chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover {
	background-position: right -9px
}
.gform_wrapper .chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close {
	background-position: right -9px
}
.gform_wrapper .chzn-container .chzn-results {
	margin: 0 4px 4px 0;
	max-height: 190px;
	padding: 0 0 0 4px;
	position: relative;
	overflow-x: hidden;
	overflow-y: auto
}
.gform_wrapper .chzn-container-multi .chzn-results {
	margin: -1px 0 0;
	padding: 0
}
.gform_wrapper .chzn-container .chzn-results li {
	line-height: 80%;
	padding: 7px 7px 8px;
	margin: 0;
	list-style: none
}
.gform_wrapper .chzn-container .chzn-results .active-result {
	cursor: pointer
}
.gform_wrapper .chzn-container .chzn-results .highlighted {
	background-color: #F0F0F0;
}
.gform_wrapper .chzn-container .chzn-results li em {
	background-color: #FEFFDE;
	font-style: normal
}
.gform_wrapper .chzn-container .chzn-results .highlighted em {
	background: transparent
}
.gform_wrapper .chzn-container .chzn-results .no-results {
	background-color: #F4F4F4
}
.gform_wrapper .chzn-container .chzn-results .group-result {
	cursor: default;
	color: #999;
	font-weight: bold
}
.gform_wrapper .chzn-container .chzn-results .group-option {
	padding-left: 20px
}
.gform_wrapper .chzn-container-multi .chzn-drop .result-selected {
	display: none
}
.gform_wrapper .chzn-container-active .chzn-single {
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 5px rgba(0,0,0,.3);
	box-shadow: 0 0 5px rgba(0,0,0,0.3)
}
.gform_wrapper .chzn-container-active .chzn-single-with-drop {
	border: 1px solid #AAA;
	-webkit-box-shadow: 0 1px 0 #FFF inset;
	-moz-box-shadow: 0 1px 0 #FFF inset;
	box-shadow: 0 1px 0 #FFF inset;
	background-color: #EEE;
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, white), color-stop(0.5, #EEE));
	background-image: -webkit-linear-gradient(center bottom, white 0%, #EEE 50%);
	background-image: -moz-linear-gradient(center bottom, white 0%, #EEE 50%);
	background-image: -o-linear-gradient(bottom, white 0%, #EEE 50%);
	background-image: -ms-linear-gradient(top, #FFF 0%,#EEE 50%);
	filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#FFF', endColorstr='#EEE',GradientType=0 );
	background-image: linear-gradient(top, #FFF 0%,#EEE 50%);
	-webkit-border-bottom-left-radius : 0;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius-bottomleft : 0;
	-moz-border-radius-bottomright: 0;
	border-bottom-left-radius : 0;
	border-bottom-right-radius: 0
}
.gform_wrapper .chzn-container-active .chzn-single-with-drop div {
	background: transparent;
	border-left: none
}
.gform_wrapper .chzn-container-active .chzn-single-with-drop div b {
	background-position: -18px 1px
}
.gform_wrapper .chzn-container-active .chzn-choices {
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
	-moz-box-shadow: 0 0 5px rgba(0,0,0,.3);
	-o-box-shadow: 0 0 5px rgba(0,0,0,.3);
	box-shadow: 0 0 5px rgba(0,0,0,.3)
}
.gform_wrapper .chzn-container-active .chzn-choices .search-field input {
	color: #111 !important
}
.gform_wrapper .chzn-rtl {
	direction: rtl;
	text-align: right
}
.gform_wrapper .chzn-rtl .chzn-single {
	padding-left: 0;
	padding-right: 8px
}
.gform_wrapper .chzn-rtl .chzn-single span {
	margin-left: 26px;
	margin-right: 0
}
.gform_wrapper .chzn-rtl .chzn-single div {
	left: 0;
	right: auto;
	border-left: none;
	border-right: 1px solid #AAA;
	-webkit-border-radius: 4px 0 0 4px;
	-moz-border-radius: 4px 0 0 4px;
	border-radius: 4px 0 0 4px
}
.gform_wrapper .chzn-rtl .chzn-choices li {
	float: right
}
.gform_wrapper .chzn-rtl .chzn-choices .search-choice {
	padding: 3px 6px 3px 19px;
	margin: 3px 5px 3px 0
}
.gform_wrapper .chzn-rtl .chzn-choices .search-choice .search-choice-close {
	left: 5px;
	right: auto;
	background-position: right top
}
.gform_wrapper .chzn-rtl.chzn-container-single .chzn-results {
	margin-left: 4px;
	margin-right: 0;
	padding-left: 0;
	padding-right: 4px
}
.gform_wrapper .chzn-rtl .chzn-results .group-option {
	padding-left: 0;
	padding-right: 20px
}
.gform_wrapper .chzn-rtl.chzn-container-active .chzn-single-with-drop div {
	border-right: none
}
.gform_wrapper .chzn-rtl .chzn-search input {
	background: url(images/chosen-sprite.png) -38px -20px no-repeat, #FFF;
	background: url(images/chosen-sprite.png) -38px -20px no-repeat, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #EEE));
	background: url(images/chosen-sprite.png) -38px -20px no-repeat, -webkit-linear-gradient(center bottom, white 85%, #EEE 99%);
	background: url(images/chosen-sprite.png) -38px -20px no-repeat, -moz-linear-gradient(center bottom, white 85%, #EEE 99%);
	background: url(images/chosen-sprite.png) -38px -20px no-repeat, -o-linear-gradient(bottom, white 85%, #EEE 99%);
	background: url(images/chosen-sprite.png) -38px -20px no-repeat, -ms-linear-gradient(top, #FFF 85%,#EEE 99%);
	background: url(images/chosen-sprite.png) -38px -20px no-repeat, -ms-linear-gradient(top, #FFF 85%,#EEE 99%);
	background: url(images/chosen-sprite.png) -38px -20px no-repeat, linear-gradient(top, #FFF 85%,#EEE 99%);
	padding: 4px 5px 4px 20px
}

.s2member-pro-paypal-checkout-form-billing-method-section {
	display: none;
}

/********** Testimonials **********/

.testimonials-slider .slides > li {
	display: none; 
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
} /* Hide the slides before the JS is loaded. Avoids image jumping */

.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

.testimonials-slider {
		margin: 0 0 20px;
		border: 1px solid #D0D0D0;
		padding: 24px;
		background: #F5F5F5;
		line-height: 25px;
		border-radius: 4px;
}

.widget .testimonials-slider,
.widget .testimonials-slider ul {
	margin: 0 !important;
	border: 0;
	padding: 0;
}

.no-js .slides > li:first-child {display: block;}

.testimonials-slider ul,
.testimonials-list ul { 
	list-style-type: none;
	margin: 0 0 20px;
	padding: 0;
}

	.testimonials-slider li,
	.testimonials-list li {
		margin: 0 0 20px;
	}

	.testimonials-list li {		
		border: 1px solid #D0D0D0;
		padding: 24px;
		background: #F5F5F5;
		line-height: 25px;
		border-radius: 4px;
	}
	
	.testimonials-slider p,
	.testimonials-list p {
		font-family: Georgia, serif;
		font-size: 16px;
	}
	
	.testimonial-name {
		font-size: 15px;
		font-weight: bold; 
		color: #000;
	}

/********** Scanner Appeal *********/
.content form#scanner-appeal p, .content  form#scanner-appeal select {
	float: left;
}
ul#donor-wall {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul#donor-wall li {
	float: left;
	width: 134px;
	height: 84px;
	background-image: url("https://www.ancestryireland.com/images/scroll-small.png");
	margin: 5px;
}
ul#donor-wall li a, ul#donor-wall li span {
	display: block;
	margin: 13px 25px;
	font-size: 12px;
	line-height: 15px;
}

/*********** Timeline ***********/

.timelineirish {
	background-color: #E8F8E0;
	text-align: center;
	vertical-align: middle;
}
.timeline1 {
	background-color: #E0E8F8;
}
.timeline2 {
	background-color: #999999;
	line-height: 1px;
	font-size: 1px;
}
.timelinegraves {
	background-color: #F2E8F5;
}
.timelinetext1 {
	line-height: 1px;
	font-size: 1px;
	width: 115px;
	text-align: center;
	vertical-align: middle;
}
.timelinetext1 span.timelinetext1 {
	display: block;
	line-height: 20px;
	font-size: 12px;
	padding: 10px;
}
.timelinetext1 img, .timelinegraves img , .timeline1 img, .timelineirish img{
	display: block;
	margin: 15px auto;
}

/* Miscellaneous */

.chzn-search {
	display: none !important;
}
#text-9 .widget-title {
	background: #185885;
	font-weight: bold;
	color: #FFF;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.25);
}

#text-24 .widget-title {
	background: #07C;
	color: #FFF;
	font-weight: bold;
	text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
}

#black-studio-tinymce-2 .widget-title {
	background: #fc5b3f;
	background-image: linear-gradient(to bottom, #FC7157 0%, #FC5B3F 100%);
	color: #FFF;
	font-weight: bold;
	text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
}


/********** RESEARCH PROJECTS TEMPLATE **********/
body.archive-research-projects h1.archive-title {
	position: relative;
	left: -20px;
	float: left;
	clear: left;
	margin: 0 0 20px 0;
	padding: 0 20px 14px 20px;
	border-bottom: 1px solid #DDD;
	width: 760px;
}
body.archive-research-projects h3 {
	margin: 20px 0 40px 0 !important;
	border: 0 !important;
	padding: 0 !important;
	font-size: 17px !important;
	letter-spacing: -1px;
	font-weight: bold !important;
}
body.archive-research-projects .thumbnail {
	width: 80px;
	height: 80px;
	float: right;
	margin: 0 0 20px 20px;
}
body.archive-research-projects .hentry {
	margin-bottom: 40px;
}
#historical-projects, #genealogical-projects {
	float: left;
	width: 355px;
	font-size: 13px;
	padding: 0 10px;
}
#genealogical-projects {
	margin-right: 10px;
}

/************* CREDITS TABLE **************/

#content form#gform_4 .gform_footer {
	margin-bottom: 20px;
}
.widget form#gform_4 input {
	margin: 0 0 15px 0;
}
#text-16 h3 {
	display: none;
}
#text-16 .widget-inside {
	padding-bottom: 0;
}
table.credit-breakdown { font-size: 12px; text-align: center; border-collapse: collapse; text-shadow: #FFF 1px 1px 1px; width: 234px; position: relative; left: -15px; }
table.credit-breakdown td, table.credit-breakdown th { border: 1px solid #DDD; padding: 10px; border: 0; }
table.credit-breakdown th { font-size: 13px; font-weight: normal; padding: 10px; }
table.credit-breakdown th.standard { font-weight: bold; background-color: #EEE; border-right: 1px solid #DDD; color: #666; }
table.credit-breakdown td.standard { background-color: #EEE; border-right: 1px solid #DDD; color: #666; }
table.credit-breakdown td.guild { background-color: #EEE; color: #70AB18; }
table.credit-breakdown th.guild { font-weight: bold; background-color: #EEE; color: #70AB18; }
table.credit-breakdown a {
	font-size: 13px;
}

#s2member-pro-paypal-checkout-form-billing-method-section {
	display: none !important;
}

/************ PRINT STYLE *************/

#brick-wall {
	float: none;
	margin-bottom: 20px;
}
	.brick {
		display: block;
		width: 24.4%;
		float: left;
		margin: 2px;
	}
	.brick a {
		height: 44px;
		display: table-cell; 
		vertical-align: middle; 
		text-align: center; 
		width: 20%;
	}
	.single-brick, 
	.brick a {
		padding: 10px;
		border: 4px solid rgba(0,0,0,0.1);
		border-bottom-color: rgba(0,0,0,0.25);
		border-style: groove; 
		background: #bd5d51;
		font-size: 13px;
		font-weight: bold;
		color: #FFF;
		text-shadow: 1px 1px 0 rgba(0,0,0,0.5);  
		box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3), inset 0px 0px 2px rgba(255,255,255,0.75);
	}
	
	.single-brick {
		float: none;
		display: inline-block;
		width: 42px;
		margin-right: 4px;
		margin-bottom: 20px;
	}
	
	.bricks .entry-content {
		font-size: 16px;
		line-height: 30px;
		font-family: Georgia, serif;
		color: #07C;
		background: #F5F5F5;
		padding: 60px 60px 40px;
		text-align: center;
		margin: 10px 10px 30px 10px;
		border: 3px dashed #CCC;
		outline: 10px solid #F5F5F5;
	}
	
	.brick-name {
		margin: 10px 0 20px;
		display: block;
		font-size: 36px;
		font-style: italic;
		line-height: 40px;
		color: #054b7d;
	}
	
	.no-of-bricks {
		font-size: 22px;
		color: #054b7d;
	}
	

.donation-meter {
	float: none;
	margin: 40px 40px 20px;
	width: 220px;
	position: relative;
	left: 40px;
}
  .glass {
    background: #e5e5e5;
    border-radius: 100px 100px 0 0;
    display: block;
    height: 300px;
    margin: 20px 95px 10px;
    padding: 5px;
    position: relative;
    width: 20px;
  }
  .amount-pledged {
    background: #1864A5;
    display: block;
    width: 20px;
    position: absolute;
    bottom: 5px;
  }
  .amount-raised {
    background: #8bbb3c;
    border-radius: 100px;
    display: block;
    width: 20px;
    position: absolute;
    bottom: 5px;
  }
  .donation-meter strong { display: block; text-align: center; }
  .goal {
    font-size: 22px;
  }
  .total {
	width: 110px;
	text-align: center;
	font-weight: bold;
    font-size: 14px;
    position: absolute;
    right: 50px;
  }
	.total small { font-weight: normal; }
  .total-bricks {
	right: -130px;
	top: 110px;
  }
	.total-bricks strong {
		color: #8bbb3c;
	}
	
.bulb {
  background: #e5e5e5;
  border-radius: 100px;
  display: block;
  height: 50px;
  margin: 0 80px 10px;
  padding: 5px;
  position: relative;
    top: -20px;
    right: 0px;
  width: 50px;}
  
  .red-circle {
    background: #1864A5;
    border-radius: 100px;
    display: block;
    height: 50px;
    width: 50px;
  }
  .filler {
    background: #1864A5;
    border-radius: 100px 100px 0 0;
    display: block;
    height: 30px;
    width: 20px;
    position: relative;
      top: -65px;
      right: -15px;
    z-index: 30;
  }
  .explanation {
	font-size: 13px;
	display: block;
	width: 280px;
	position: relative;
	top: -400px;
	left: 240px;
	}

/************ PRINT STYLE *************/
@media print {
	body.singular-family-records #header-container, body.singular-family-records #primary, body.singular-family-records #secondary, body.singular-family-records #footer-container, body.singular-family-records #header-right-content, body.singular-family-records #our-partners, body.singular-family-records #content {
		display: none;
		background-color: #FFF;
	}
	body.singular-family-records, body.singular-family-records #body-container {
		background-image: none;
		color: #000;
	}
	body.singular-family-records #result, body.singular-family-records h1.family-records-title, body.singular-family-records .breadcrumb-trail {
		left: 0;
		width: 960px;
		padding: 0;
	}
	body.singular-family-records .breadcrumb-trail {
		margin: 0;
	}
	body.singular-family-records table td {
		padding: 5px;
	}
	body.singular-family-records #body-container {
		border: 0;
	}
}