/*
CSS for Find a Grandparent page
Original by Ariell Friedman (Limestudio)
Additions as per changelog

Changelog:
02-06-2012 - GK: Added styles for frames used on "How it Works" page (normal corner tl and br, rounded corner tr and bl).

*/

body,td,th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #333333;
}
p, li {
	line-height:18px;
}
a:link, a:visited, a:active {
	color: #4B9ADF;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #000000;
}
h1,h2,h3,h4,h5,h6 {
/*	font-family: "Courier New", Courier, monospace; */
	font-family: Georgia, Palatino, "Times New Roman", Times, serif;
	font-weight: bold;
	/*margin: 0;
	padding: 0;
	text-transform:lowercase;*/
}
h1 {
	font-size: 20px;
	color: #4B9ADF;
}
h2 {
	font-size: 13px;
	color: #000099;
	border-bottom:2px solid #999999;
	padding-bottom:10px;
	margin-bottom:0px;
	padding-bottom: 2px;
}
h3 {
	font-size: 13px;
	color: #000000;
}
h4 {
	font-size: 11px;
	color: #000000;
}

.justify {text-align:justify;}
.green, .green a:link {color: #339900;}
.grey, .grey a:link {color: #CCCCCC;}
.red, .red a:link {color: #FF0000;}
.orange, .orange a:link {color: #F36D0F;}
.pink, .pink a:link {color: #ff00e1;}
.strikthrough {text-decoration: line-through;}
.small {font-size:10px;}
.centered { text-align:center; }

#footer, #footer a:link, #footer a:visited, #footer a:active {font-family: Verdana, Arial, Helvetica, sans-serif; color: #666666; font-weight: normal; text-decoration: none; font-size:10px;}
#footer a:hover {color: #333333; font-weight: normal; text-decoration: underline;}

.standardform {
	padding:0;
	margin:0;
}
.standardform select, .standardform input, .standardform textarea{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #333333;
	background-color: #F9F9F9;
	border: solid #cccccc 1px;
	padding:2px;
}
.standardform input#submit {
	font: bold 11px/25px Verdana, Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	background-color: none;
	text-decoration: none;
	width:80px;
	height:25px;
	text-align:center;
	padding: 0;
	margin: 0;
	border: 0;
	background-image:url(../images/btn_bg.png)
}
.standardform input#submit:hover, .standardform input#submit_secure:hover, .standardform input#submit_sidepanel, .standardform input#submit_newsletter, input#submit_sidepanel_join, input#submit_sidepanel_login, input#submit_sidepanel_search {
	color: #000000;
	cursor: pointer;	
}

.standardform input#submit_sidepanel, input#submit_sidepanel_join, input#submit_sidepanel_login, input#submit_sidepanel_search {
	font: bold 11px/25px Verdana, Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	background-color: none;
	text-decoration: none;
	width:80px;
	height:25px;
	text-align:center;
	padding: 0;
	margin: 0;
	border: 0;
	background-image:url(../images/btn_bg_sidepanel.gif)
}

.standardform input#submit_newsletter{
	font: bold 11px/25px Verdana, Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	background-color: none;
	text-decoration: none;
	width:100px;
	height:25px;
	text-align:center;
	padding: 0;
	margin: 0;
	border: 0;
	background-image:url(../images/btn_bg_newsletter.gif)
}

.standardform input#submit_secure {
	font: bold 11px/25px Verdana, Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	background-color: none;
	text-decoration: none;
	width:80px;
	height:25px;
	text-align:center;
	padding: 0;
	margin: 0;
	border: 0;
	background-image:url(../images/btn_bg_secure.png)
}

.button {
	font-family: "Times New Roman", Times, serif;
	font-size: 10px;
	font-weight: normal;
	text-transform: uppercase;
	color: #999999;
	text-decoration: none;
	line-height: 20px;
	margin: 0;
	padding: 0;
}
.button a:link, .button a:visited, .button a:active{
	color: #FFFFFF;
	background-color: #336699;
	text-decoration: none;
	padding: 4px;
	margin: 0;
}
.button a:hover {
	color: #000000;
	background-color: #6699CC;
	text-decoration: none;
	padding: 4px;
	margin: 0;
}

#photo {
	width:500px;
	height:120px;
	padding:0; 
	margin-bottom:10px; 
	margin-right:5px; 
	margin-left:5px; 
	background-color: #F7F7F7;
	float:inherit;
}
.Grandpa {
	border:1px solid #3399FF;
}
.Grandma {
	border:1px solid #FF99FF;
}
.Family {
	border:1px solid #99CC00;
}

h2.media{
	margin-top:25px;
}
h3.media{
	margin:6px 0px;
}

a:link #photo, a:visited #photo , a:active #photo {
	color: #666666;
	text-decoration:none;
}
a:hover #photo {
	text-decoration:none; 
	color: #000000; 
	border-color:#757c4d;
	background-color: #EEEEEE;
}
#photo:hover img {
	filter:alpha(opacity=80);
	-moz-opacity:.80;
	opacity:.80;
}
#photo img {
	float:left;
	text-align:left;
}
#photo_title {
	padding-top:4px;
	padding-left:4px;
	font-weight:bold;
	font-size:13px;
	float:left;
	width:370px;
	text-decoration:none;
	text-align:left;
}
#photo_text {
	padding-left:4px;
	font-weight:normal;
	font-size:12px;
	float:left;
	width:374px;
	text-decoration:none;
	text-align:left;
}
.h2signup {
	font-size:1.250em;
	text-align:center;
	vertical-align:baseline;
	height:40px;
}
.pad10pxbot {
	padding-bottom:10px;
}

div.pdfdownloads ul {
	list-style-type: none;
}

div.pdfdownloads ul li {
	margin-left: -25px;
	padding: 5px 0px;
}

div.pdfdownloads ul li a[href$='.pdf'] {
	background-image: url(/images/pdfdownload.jpg);
	background-position:left;
	background-size: 30px 30px;
	background-color: transparent;
	background-repeat: no-repeat;
	padding: 20px 35px;
}


/* Frame with normal corner in top-left and bottom-right, and rounded corner in top-right and bottom-left.*/
.boxout3 {
	border: solid 2px #488bd4;
    background: #eee;
	padding: 10px;
	position:relative;
	z-index:10;
	margin:auto;
	-webkit-border-top-right-radius: 20px;
	-webkit-border-bottom-left-radius: 20px;
	-moz-border-radius-topright: 20px;
	-moz-border-radius-bottomleft: 20px;
	border-top-right-radius: 20px;
	border-bottom-left-radius: 20px;
}

.boxout3:before 
{
    content:"";
    display:block;
    position:absolute;
    z-index:-1;
    top:1px;
    left:1px;
    right:1px;
    bottom:1px;
    border:2px solid #fff;
	
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
	-moz-border-radius-topright: 17px;
	-moz-border-radius-bottomleft: 17px;
	border-top-right-radius: 17px;
	border-bottom-left-radius: 17px;
}

.boxout {
    border:solid 1px #ddd;
    background: #eee;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    padding: 5px 4px 10px;
	margin: 15px 5px;
}

.boxout2 {
    border:solid 1px #ddd;
    background: #fff;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    padding: 5px;
    margin-top: 15px;
	margin-bottom: 15px;
}

.boxout p, .boxout h2, .boxout h3, #formnewsletter, .boxout2 p, .boxout2 h3 {
	text-align:center;
}

/* Error styling for jQuery validate*/
.error {
    color: red;
}

#postcodebox_postcodeset, #postcodebox_postcodenotset {
	display:none;
}

/* Styling of divs used in sidebar with bxSlider */
.sidebarbxslider {
	height: 70px;
}

.sidebarbxslider3lines {
	height: 50px;
}
