/*  Sim960 - 
primary styles 
BASE (MOBILE) SIZE
*/

/*RESET*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent;} 
body {line-height: 1;font-weight:normal;}ol, ul{list-style:none;} blockquote, q{quotes:none;} blockquote:before, blockquote:after, q:before, q:after{content:'';content:none;} :focus{outline:0;} ins{text-decoration:none;} del{text-decoration:line-through;} table{border-collapse:collapse; border-spacing:0;}
html {
    font-size: 100%; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

body{
	color:#666;
	font-family:Arial, Helvetica, sans-serif; 
	font-size:1.1em;
	line-height:1.4em; 
}

h1, h2, h3, h4, h5, h6{
	color:#333; 
	font-weight:normal;
	font-family:Arial, Helvetica, sans-serif; 
	line-height:1.2em;
	margin:.4em 0;
	padding:0;
} 
h1 {font-size: 2em;margin: 0.4em 0;}
h2 {
	font-size: 1.7em;
	margin: 0.5em 0;
}
h3 {font-size: 1.5em;margin: 1em 0;}
h4 {font-size: 1.3em;margin: 1.3em 0;}
h5 {font-size: 1.2em;margin: 1.5em 0;}
h6 {font-size: 1.1em;margin: 2em 0;}


/* links */
a,
a:visited,
a:active,
a:hover{color:#0099ff;}
a:hover{ text-decoration:none;}


/* Box sizing. */
*{	box-sizing:border-box;
	-moz-box-sizing:border-box;}

  
/* structure */   
.wrapper{
	width: 92%; 
	margin: 0 auto;
}
#header{
	width: 100%;
	padding: 0; margin:0;
}
#banner{ 
	text-align:center;
}
	
#main{
	padding:20px 0;
	background-color: #FDFDFD;
}
#hero{
	background:transparent;
	border-top:1px solid #e2e2e2;
	border-bottom:1px solid #e2e2e2;
	padding:0;
	width: 100%;
}
#hero h1{ 
	line-height:1.2em;
	margin-top:0px;
	margin-bottom:10px;}

.flexslider{
	display:none;
}

#content {margin:40px 0;}


p{ margin:0 0 1.5em;}


/* RESPONSIVE IMAGES */
img{ max-width:100%; height:auto;}


sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/*SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER */
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-bottom:20px;
}
.alpha {margin-left: 0;}
.omega {margin-right: 0;}

/* Prefix Extra Space >> 12 Columns
------------------------*/
.prefix_1 {padding-left:8.333%}
.prefix_2 {padding-left:16.667%;}
.prefix_3 {padding-left:25.0%;}
.prefix_4 {padding-left:33.333%;}
.prefix_5 {padding-left:41.667%;}
.prefix_6 {padding-left:50.0%;}
.prefix_7 {padding-left:58.333%;}
.prefix_8 {padding-left:66.667%;}
.prefix_9 {padding-left:75.0%;}
.prefix_10 {padding-left:83.333%;}
.prefix_11 {padding-left:91.667%;}

/* Suffix Extra Space >> 12 Columns
-----------------------------*/
.suffix_1 {padding-right:8.333%;}
.suffix_2 {padding-right:16.667%;}
.suffix_3 {padding-right:25.0%;}
.suffix_4 {padding-right:33.333%;}
.suffix_5 {padding-right:41.667%;}
.suffix_6 {padding-right:50.0%;}
.suffix_7 {padding-right:58.333%;}
.suffix_8 {padding-right:66.667%;}
.suffix_9 {padding-right:75.0%;}
.suffix_10 {padding-right:83.333%;}
.suffix_11 {padding-right:91.667%;}
/* Push Space >> 12 Columns
----------------------------------------------------------------------------------------------------*/
.push_1 {left:8.333%;}
.push_2 {left:16.667%;}
.push_3 {left:25.0%;}
.push_4 {left:33.333%;}
.push_5 {left:41.667%;}
.push_6 {left:50.0%;}
.push_7 {left:58.333%;}
.push_8 {left:66.667%;}
.push_9 {left:75.0%;}
.push_10 {left:83.333%;}
.push_11 {left:91.667%;}


/* Pull Space >> 12 Columns
----------------------------------------------------------------------------------------------------*/
.pull_1 {left:-8.333%;}
.pull_2 {left:-16.667%;}
.pull_3 {left:-25.0%;}
.pull_4 {left:-33.333%;}
.pull_5 {left:-41.667%;}
.pull_6 {left:-50.0%;}
.pull_7 {left:-58.333%;}
.pull_8 {left:-66.667%;}
.pull_9 {left:-75.0%;}
.pull_10 {left:-83.333%;}
.pull_11 {left:-91.667%;}

/*FOOTER*/
#footer{clear:both;
	font-size:90%;
	padding:20px 0;
	background:#333;
	color:#ccc;
}
#footer ul{margin:0 0 0 8%;padding:0;}

footer h1, footer h2, footer h3, footer h4{
	color:#E1E1E1;
	margin-bottom:10px;
}

a.buttonlink{
	border-radius:7px;
	color:#fff;
	display:block;
	margin:10px;
	padding:10px;
	text-decoration:none;
	background-color: #000;
}
a.buttonlink:hover{
	color: #000;
	background-color: #FF9900;
}
.greenelement{
	color:#fff;
	background-color: #2B8484;
}
.bluelement{
	color:#fff;
	background-color: #06F;
}



/* Contain floats */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
.lft {float: left;}
.m5 {margin: 5px;}
.m10 {margin: 10px;}
.m10l {margin-left: 10px;}
.m10r {margin-right: 10px;}
.m15 {margin: 15px;}
.mlft20 {margin-left: 20px;}
.p10r {padding-right: 10px;}

.pgtitle {
	font-size: 220%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
	margin-bottom: 20px;
	line-height: 1.8em;
	color: #333;
}
.pslink a	{text-decoration:none;
	font-size: .9em; padding: 3px;
	color: #D6D6D6;}
.pslink a:hover, a:focus {text-decoration:none;color: #CCF4F0;}
.rt {float: right;}







/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px) {
#siteframe {
	width: 90%;
	background-color: transparent;
}
#banner{
	float:left;
	text-align:left;
	margin-bottom:-20px;/*this depends on the height of the logo*/
}
.menu-toggle{/*make menu float right, instead of sitting under the logo*/
	margin-top:10px; /*this depends on the height of the logo*/
	float:right;
}

} 

/*
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:)
*/
@media only screen and (min-width: 920px) {

.wrapper{
	max-width: 1200px; 
	margin: .75em auto;
}

#banner{ 
	float:left; 
	text-align:left;
	margin-bottom:0px;
}
#header{
	padding:0;
}
#content {  
	float:left;
	width:65%;
}
#content.wide-content{
	float:none;
	width:100%;
}


/*GRID*/
/* & Columns : 12 
 */
.grid_1 { width: 5%; }
.grid_2 { width: 13.333333333333%; }
.grid_3 { width: 21.666666666667%; }
.grid_4 { width: 30%; }
.grid_5 { width: 38.333333333333%; }
.grid_6 { width: 46.666666666667%; }
.grid_7 { width: 55%; }
.grid_8 { width: 63.333333333333%; }
.grid_9 { width: 71.666666666667%; }
.grid_10 { width: 80%; }
.grid_11 { width: 88.333333333333%; }
.grid_12 { width: 96.666666666667%; }

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-left: 1.6666666666667%;
	margin-right: 1.6666666666667%;
	float: left;
	display: block;
}

/*  
 */

}

/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 1030px) {

} 



/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {

} 



/*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution.
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {


} 

/*
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) { 

  
}

/*
PRINT STYLESHEET
*/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /*  */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
