/* NB: Make sure the value for 'padding-bottom' on #content is equal to or greater than the height of #footer.*/
html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	background: url(../images/body-bg.gif) center repeat-y;
	font: normal 100% verdana;
	color: #1a1a1a;
}
a { text-decoration:none; outline:none; color:none;}
a img { border:none;}

img, fieldset {
	border: 0;
}

img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
html {
	-webkit-text-size-adjust: none;
}
#wrapper {
	min-height: 100%;
	position: relative;
	width: 100%;
	margin: 0 auto;
}
#header-bg {
	width: 100%;
	height:178px;
	background-image: url(../images/header.png), url(../images/header-bg.gif);
	background-position:center, left top;
	background-repeat: no-repeat, repeat-x;
	background-size:contain contain;
}
#main-header {
	width: 100%;
	height: 138px;
	margin: 0 auto;
}
#sub-header {
	width: 100%;
	height: 40px;
	margin: 0 auto;
}
h1.main-headline{
	margin: 0 auto;
	width: 100%;
	text-align: center;
	color: #FFF;
	font-size: 2.5em;
	line-height: 1.1428;
	padding: 0.8571em 0 0 0;
}
h2.sub-headline{
	margin: 0 auto;
	text-align: center;
	color: #fcffb8;
	font-size: 1.25em;
	padding-top: 5px;
	width: 100%;
}
#main_content {
	width: 970px;
	height: auto;
	min-height: 100%;
	margin: 0 auto;
	padding: 0;
	padding-bottom: 54px; /* Height of the footer element */
}
#footer-bg {
	width: 100%;
	height: 54px;
	position: absolute;
	bottom: 0;
	left: 0;
	background: url(../images/footer-bg.gif);
	background-repeat: repeat-x;
}
#footer {
	width: 727px;
	height: 54px;
	margin: 0 auto;
	background-image: url(../images/footer.png);
	background-repeat: no-repeat;
}
#footer h2.text-content{
	margin: 0;
	padding: 20px 0;
	text-align: center;
	color: #FFFFFF;
	font-size: 10px;
}
#clear{
	clear:both;
	margin:0;
	padding:0;
}
#leftcol{
	width: 65%;
	float: left;
	margin: 0;
	padding: 0;
}
#rightcol{
	width: 30%;
	float: right;
	margin-right: 5%;
	margin-top: 5%;
	margin-bottom: 5%;
	padding: 0;
}
/*--leftcolumn--*/
#leftcol-content{
	width: 90%;
	padding: 5% 30px 20px 35px;
	font-size: 100%;
}
/*--rightcolumnumn--*/
.optin-info{
	margin: 0 auto;
	padding: 0px;
	padding-top: 3%;
	margin-bottom: 10px;
	width: 80%;
	height: auto;
	color: #FFFFFF;
	font: bold 180% Verdana, Geneva, sans-serif;
	text-align: center;
	display: block;
}
.optin-spam{
	margin: 0 auto;
	padding:0px;
	margin-bottom: 0px;
	padding-bottom: 5px;
	width: 80%;
	color: #FFFFFF;
	font: normal 10px verdana;
	text-align: center;
	display: block;
}
#optin-body{
	margin: 0 auto;
	padding: 0px;
	width: 100%;
	height: auto;
	border: solid #ccc 10px;
  	/* Safari 3-4, iOS 1-3.2, Android 1.6- */
  	-webkit-border-radius: 10px; 
  	/* Firefox 1-3.6 */
  	-moz-border-radius: 10px; 
  	/* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
  	border-radius: 10px; 
	background: url(../images/optin_body.gif) repeat center;
	-webkit-background-clip: padding-box; 
  	-moz-background-clip: padding; 
  	background-clip: padding-box;
}
/*--form example stylesheet--*/
#optin-body form{
	margin:0;
	padding:0;
	text-align:center;
}
#optin-body input{/*--apply to all input text in form--*/
	margin: 10px 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
#optin-body label{/*--apply to all label in form--*/
	margin:0;
	padding:0;
	text-align:left;
}
.name_text{
	color:#818181;
	padding:5px 23px 5px 5px;
	width:190px;
	border:3px solid #ccc;
	background:#F5F5F5 url(../images/name_bg.gif) no-repeat right;
}
.name_text:focus{
	border:3px solid #157cc1;
}
.email_text{
	color:#818181;
	padding:5px 23px 5px 5px;
	width:190px;
	border:3px solid #ccc;
	background:#F5F5F5 url(../images/email_bg.gif) no-repeat right;
}
.email_text:focus{
	border:3px solid #157cc1;
}
.optin-button {
	-moz-box-shadow: inset 0px 1px 0px 0px #97c4fe;
	-webkit-box-shadow: inset 0px 1px 0px 0px #97c4fe;
	box-shadow: inset 0px 1px 0px 0px #97c4fe;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #3d94f6), color-stop(1, #1e62d0));
	background: -moz-linear-gradient(top, #3d94f6 5%, #1e62d0 100%);
	background: -webkit-linear-gradient(top, #3d94f6 5%, #1e62d0 100%);
	background: -o-linear-gradient(top, #3d94f6 5%, #1e62d0 100%);
	background: -ms-linear-gradient(top, #3d94f6 5%, #1e62d0 100%);
	background: linear-gradient(to bottom, #3d94f6 5%, #1e62d0 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3d94f6', endColorstr='#1e62d0',GradientType=0);
	background-color: #3d94f6;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border: 1px solid #337fed;
	display: inline-block;
	color: #ffffff;
	font-family: verdana;
	font-size: 0.75em;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	max-width: 95%;
	min-height: 35px;
	height: 40px;
	word-wrap: break-word;
	text-shadow: 0px 1px 0px #1570cd;        
 }
.optin-button:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #1e62d0), color-stop(1, #3d94f6));
    background:-moz-linear-gradient(top, #1e62d0 5%, #3d94f6 100%);
    background:-webkit-linear-gradient(top, #1e62d0 5%, #3d94f6 100%);
    background:-o-linear-gradient(top, #1e62d0 5%, #3d94f6 100%);
    background:-ms-linear-gradient(top, #1e62d0 5%, #3d94f6 100%);
    background:linear-gradient(to bottom, #1e62d0 5%, #3d94f6 100%);
     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e62d0', endColorstr='#3d94f6',GradientType=0);
     background-color:#1e62d0;
}
.optin-button:active {
        position:relative;
        top:1px;
}

/* === media queries === */
@media screen and (max-width: 980px){
/* embedded videos */
.video embed,
.video object,
.video iframe {
	width: 100%;
	height: auto;
	min-height: 300px;
}
#main_content {
	width: 90%;
}
#leftcol{
	width: 60%;
}
#leftcol-content{
	padding: 40px 10px 10px 35px;
	font-size: 0.750em;
}
#footer {
	width: 100%;
	background-size: contain;
}
#header-bg {
	height:90%;
	background-size:100% 100%;
}
#footer-bg {
	width: 100%;
	height: 54px;
}
.name_text{
	width:70%;
}
.email_text{
	width:70%;
}
html,
body {
	background-size: 90%;
}
#footer h2.text-content{
	margin: 0 auto;
	display: block;
	width: auto;
	padding: 3% 0 0 0;
	font-size: 60%;
}
h1.main-headline{
	width: 75%;
	font-size: 2em;
	padding: 1.500em 0 0 0;
}
h2.sub-headline{
	font-size: 1em;
	width: 80%;
	padding-top:0.375em;
}
.optin-info{
font-size: 120%;
}
.optin-button {
	width:90%        
}
}
/* -------------------------------------------------------------- 


/* === media queries === */
@media screen and (max-width: 650px){
/* embedded videos */
.video embed,
.video object,
.video iframe {
min-height: 250px;
}
#header-bg {
	background-size:100% 100%;
}
#leftcol{
	width: 80%;
	float: none;
}
#rightcol{
	width: 50%;
	float: none;
	margin-right: 0;
	margin: 5% auto;
	margin-bottom: 54px;
}
#leftcol-content{
	width: 100%;
	padding: 5% 0 5% 10%;
	font-size:0.875em;
}
.optin-info{
font-size: 120%;
}
h1.main-headline{
	width: 75%;
	font-size: 2em;
}
h2.sub-headline{
	font-size: 	1.000em;
	width: 90%;
	padding-top:0.500em;
}
}
/* -------------------------------------------------------------- 

/* === media queries === */
@media screen and (max-width: 480px){
#header-bg {
	background-size:100% 100%;
}
#leftcol{
	width: 80%;
	float: none;
}
#rightcol{
	width: 80%;
	float: none;
	margin: 5% auto;
	margin-bottom: 54px;
	margin-left: 7%;
}
.optin-info{
	font-size: 110%;
}
#leftcol-content{
	width: 100%;
	padding: 5% 0 5% 10%;
	font-size:0.875em;
}
h1.main-headline{
	width: 100%;
	font-size: 1.500em;
	padding: 2.5em 0 0 0;
}
h2.sub-headline{
	font-size: 0.813em;
	width: 80%;
	padding-top:2px;
}
.optin-button{
	font-size: 0.625em;
}
}
/* -------------------------------------------------------------- 
/* === media queries === */
@media screen and (max-width: 240px){
#header-bg {
	background-size:100% 100%;
}
h2.sub-headline{
	font-size: 0.750em;
	width: 85%;
	padding-top:2px;
}
.optin-button{
	font-size: 0.625em;
}
}
/* -------------------------------------------------------------- 
