/*  media queries
*/


/*  fonts */
@media only screen and (min-width: 320px) and (max-width: 767px){
	body{font-size: 1em;	line-height:130%;}

.logotext {
	font-size: 1.6em;
	font-weight: bold;
}
.slogan {
	color: #333;
	font-size: 1.2em;
	line-height: 1.1em;
	margin-bottom: 10px;
	margin-right: auto;
	margin-left: auto;
}
	

}

/*  structure */

@media only screen and (min-width: 320px) and (max-width: 968){
	.container {width:100%; margin: 0 auto;}
.bumper{padding: 2px;}
.cush{padding: 6px;} 

}


/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px) {
#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;
}

	.container {width:99%; margin: 0 auto;}
}

@media only screen and (max-width: 920px) {
.pgtitle{	font-size: 1.5em;
	padding-top: 10px;}
#siteframe {width:99%; margin: 0 auto;}
#logo_banner{
	width: auto; padding: 3px;
}
#main{
	padding:1px 0;
}

}
/*
TABLET & SMALLER LAPTOPS
preferred media query for those is 768px.
*/
@media only screen and (min-width: 920px) {
	body{font-size: 1em;	line-height:125%;}

.wrapper{
	max-width: 96%; 
	margin: .75em auto;
}

#banner{ 
	float:left; 
	text-align:left;
	margin-bottom:0px;
}
#header{
	padding:0;
}
#content {  
	float:left;
	width:85%;
}
#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;
}

/*  
 */

}




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

.wrapper{
	max-width: 90%; 
	margin: .75em auto;
}


} 



/*
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 WATCH 
*/

@media only screen and (min-width: 215px)
and (max-width: 479px) {
	body{font-size: 1.1em;	line-height:130%;}
	.container {width:99%; margin: 0 auto;}
	
	/*social*/
	#oursocial{
		text-align:center;	
	}
	/*social*/
.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;
}
.rslides img {
  display: block;
  height: 200px;
  float: left;
  width: 100%;
  border: 0;
  }

}
@media only screen and (min-width: 768px) and (max-width: 959px) {
	body{font-size: 1.1em;	line-height:140%;}
	.container {width:99%; margin: 0 auto;}
#content {  
	float:left;
	width:80%;
}
#content.wide-content{
	float:none;
	width:100%;
}

}

@media only screen and (min-width: 960px)  {
  body { font-size: 1em; 	line-height: 140%;}

}



/*
/*
DESKTOP

*/
@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; }
}