﻿body{
	margin:0px;
	overflow-x:hidden; 
}

#wrapper {
	margin-right: auto;
	margin-left: auto;
	width: 100%;
	max-width:1000px;
	height: auto;
	
}

#masthead {
	padding: 10px;
	margin-right: auto;
	margin-left: auto;
	width: 350px;
	margin-top: 0px;
}

#topnav {
	height:35px;
	margin-right: auto;
	margin-left: auto;
	
}
#leftnav {
	background-color: #427DCE;
	border: thin solid #FFCC00;
	float: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
	font-weight: bold;
	color: #FFFFFF;
	padding: 0px;
	width: 160px;
	position: inherit;
	width: 160px; 
	height:auto;
	
}
#content {
	border: thin solid #FFCC00;
	background-color: #FFFFFF;
	margin-right: auto;
	margin-left: auto;
	width: 640px;
	
}

.intrinsic-container {
  position: relative;
   height: 0;
  overflow: hidden;  
  /* to get padding-bottom divide the numbers of aspect ratio */
  padding-bottom: 75%;
  margin-left: auto;
  margin-right: auto;
   width: 100%;
    border:thin yellow solid;


}

.intrinsic-container iframe {
  position: absolute;
  top:0;
  left:0;
  border:thin yellow solid;
  margin:0px;
   width: 100%; 
   height:100%;
 }


#rightnav {
	width: 300px;
	float: right;
	padding: 0px;
	position:absolute; 
	right:5px;
	
	}

.alignleft {
	border-width: 0px;
	padding: 2px;
	margin: 1px;
	float: left;
}

.alignright {
	position: absolute;
	width: 250px; 
	height: 118px;
	top:0;
	right:0;
}

.aligncenter {
	width: 728px;
	margin-right: auto;
	margin-left: auto;
}


/*  start media query 2 for small device landscape */
@media (max-width:1024px) and (orientation:landscape) {


#wrapper{
width:100%;
margin: 0px;

}


.alignright{
	position:static;
	float:left;
}


#rightnav {
	width: 120px;
	float: right;
	padding: 0px;
	position: inherit;
	

}


}
/*  end media query 2 for small device landscape */

/*  start media query 3 for less than 980 px width (remove #leftnav)  */
@media (max-width:980px) {
#leftnav {
	display: none;
}
}
/*  end media query 3 for less than 980 px width (remove #leftnav)  */

/*  start media query 4 for less than 900 px width (remove #rightnav)  */
@media (max-width:900px) {
#rightnav {
	display: none;
}
}
/*  end media query 4 for less than 900 px width (remove #rightnav)  */


h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	font-weight: bold;
	color: #FFCC00;
	padding: 2px;
	width: 90%;
	font-style: italic;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;

}

h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: underline;
	color: #FFFFFF;
	margin-bottom: 20px;
	width: 160px;
	display:block;
	clear:both;
}

h4 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
	color: #427DCE;
	font-weight: bold;
	margin-right: auto;
	margin-left: auto;
	margin-bottom:10px;
	width: 445px;
	text-align: center;
	text-decoration: underline;
}

h3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	font-weight: bold;
	color: #427DCE;
	text-decoration: underline;
	margin-left:5px;
	margin-right:5px;
	margin-top:20px;
	margin-bottom:10px;
}
/* h5 is for "Sponsored" message above ads */
h5{
text-align:center;
	color:white;
	font-family:Arial, Helvetica, sans-serif;
	font-size:small;
	background-color: #427DCE;	
	margin-left:auto;
	margin-right:auto;
	margin-top:0px;
	margin-bottom:0px;
	max-width:640px;
	
}

p {
	border-bottom: thin solid #CCFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	font-weight: normal;
	padding: 5px;
	height: auto;
	min-height:101px;
	border-left-color: #CCFFFF;
	border-left-width: thin;
	border-right-color: #CCFFFF;
	border-right-width: thin;
	border-top-color: #CCFFFF;
	border-top-width: thin;
	margin-bottom:20px;
}


.hyperlinkblue {
	color: #427DCE;
	text-decoration: underline;
	font-weight:bold;
}


.listheading {
	color: #427DCE;
	font-size: small;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	font-style: normal;
	font-variant: normal;
	text-decoration: underline;
}

	

a {
	color: #FFFFFF;
	text-decoration:none;
		
}


.button{
	background: #7BA5E7; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#7BA5E7, #BDD6FF); /* For Safari 5.1 to 6.0 gradient*/
    background: -o-linear-gradient(#7BA5E7,#BDD6FF); /* For Opera 11.1 to 12.0 gradient*/
    background: -moz-linear-gradient(#7BA5E7, #BDD6FF); /* For Firefox 3.6 to 15 gradient*/
    background: linear-gradient(#7BA5E7, #BDD6FF); /* Standard syntax gradient*/
	height: 33px;
	width: 100px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	line-height: normal;
	text-align: center;
	color: #FFFFFF;
	border-left:1px #5A84C6 outset;
	border-right:1px #5A84C6 solid;
	border-top:1px #D6E7FF solid;
	border-top-left-radius: 8px; 
	border-top-right-radius: 8px; 

}

.button:hover{
    background: #5A84C6; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#5A84C6, #BDD6FF); /* For Safari 5.1 to 6.0 gradient*/
    background: -o-linear-gradient(#5A84C6,#BDD6FF); /* For Opera 11.1 to 12.0 gradient*/
    background: -moz-linear-gradient(#5A84C6, #BDD6FF); /* For Firefox 3.6 to 15 gradient*/
    background: linear-gradient(#5A84C6, #BDD6FF); /* Standard syntax gradient*/
}

.button:active{
    background: #5A84C6;
}


.buttontext {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1em;
	font-family:  "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
	font-weight:bold;
}


ul {
    display: block;
    list-style-type: none;
    width:510px;
    margin: auto;
    padding: 0;

}

li {
    float: left;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.appstoreimage {
	border-width: 0px;
	margin: 10px 252px 18px 252px;
	position: relative;
}


/*  start media query 1 to make single column if narrow (note: this removes the rightnav and leftnav divs and facebook like etc. */
@media all and (orientation:portrait) {


#wrapper {
width:100%;
}


p {
	font-size: xx-large;	
	display:inline-block;
	margin-left:10px;
	margin-right:10px;
	margin-bottom:20px;
}

h4{
font-size: xx-large;		
	
}

h3{
font-size: xx-large;		
}

.buttontext{
font-size:20px;	
}

.button{
	width:100px;
	
}
/* h1 is the left nav heading... make text bigger */
#leftnav h1 {
	font-size: x-large;
}
	
#leftnav img{
	display:none;
}	

#leftnav h2{
	font-size:x-large;
	height:auto;
	display:block;
	padding:5px 1px 5px 1px;
}	

#socialmedia{
	position:absolute;
	bottom: 0;
   left: 0;
}


}/* end media query 1 */

.column{
	
}

