
body{
	background-color:#fff;
	color:#484848;
	font-family: 'Open Sans', Arial, Helvetica,  sans-serif;
	/*font-size:1em;
	line-height:1.4em; */
	font-size:14px;
	line-height:22px;
	font-weight:normal;
}
h1, h2, h3, h4, h5, h6{
	font-weight:400;
	font-family: "Times New Roman", Georgia, Serif;
	line-height:1.2em;
	margin:.45em 0;
	padding:0;
	color:#005dab;
} 


/* links */
a,
a:visited,
a:active,
a:hover{color:#005dab; text-decoration:none;}
a:hover{text-decoration:underline;}


/* Box sizing. Awesome thing. Read about it here: http://www.w3schools.com/cssref/css3_pr_box-sizing.asp */
*{box-sizing:border-box;}
  
/* structure */   
.wrapper{
	width: 92%; 
	margin: 0 auto;
}
.wrappertwo{
	width: 92%; 
	margin: 0 auto;
}
header{ 
	padding:15px 0;
}
#banner{ 
	text-align:center;
width: 233px;
height: 137px;
position: absolute;
top: 30px; 
}	
#hero,
#page-header{
	background-color:#f3f3f3;
	border-top:1px solid #e2e2e2;
	border-bottom:1px solid #e2e2e2;
	padding:20px 0;
	font-size:1.1em;
}
#page-header h1{
	margin:0;
}
#heroslider{
	display:none;
}
.flexslider {
	/* display:none; */
}
#content,
aside,
.vertical-padding{  
	padding:40px 0;
}
p{ margin:0 0 1.5em;}

.onehundred {
	padding: 0px;
	width: 100%;
	margin: 0;
}


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




/*SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER SO FAR*/
.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:40px;
}

#blog .grid_6 {
	margin-bottom:0px;
}

#subfooter .grid_2, #subfooter .grid_3 {
	margin-bottom:0px;
}


/*FOOTER*/
footer{  
	background-color:#000;
	color:#fff;
	font-size:100%;
	padding:20px 0;
}

footer a,
footer a:visited,
footer a:active,
footer a:hover{color:#fff; text-decoration:none;}
footer a:hover{text-decoration:underline;}

footer ul{
	margin:0 0 0 8%;
	padding:0;
}


/*Some more colored elements*/
a.buttonlink{ 
	background-color:#5ec79e; 
	border-radius:7px; 
	color:#fff;
	display:block;
	float:left; 
	margin:10px 15px 10px 0; 
	padding:10px;
	text-decoration:none;
}
a.buttonlink:hover{
	background-color:#887dc2;
}
.blueelement{
	background-color:#005dab;
	color:#fff;
}
.blueelement h1, .blueelement h2, .blueelement h3, .blueelement h4, .blueelement h5, .blueelement h6 {color:#fff !important;}

.ltgreyelement{
	background-color:#e7e7e7;
	color:#484848;
}
.ltgreyelement h1, .ltgreyelement h2, .ltgreyelement h3, .ltgreyelement h4, .ltgreyelement h5, .ltgreyelement h6 {color:#005dab !important;}

.dkgreyelement{
	background-color:#3d3d3d;
	color:#fff;
}
.dkgreyelement h1, .dkgreyelement h2, .dkgreyelement h3, .dkgreyelement h4, .dkgreyelement h5, .dkgreyelement h6 {color:#fff !important;}
.blackelement{
	background-color:#000;
	color:#fff;
}
.dkgreyelement a,
.dkgreyelement a:visited,
.dkgreyelement a:active,
.dkgreyelement a:hover{color:#fff; text-decoration:none;}
.dkgreyelement a:hover{text-decoration:underline;}

.blackelement h2 a,
.blackelement h2 a:visited,
.blackelement h2 a:active,
.blackelement h2 a:hover{color:#fff; text-decoration:none;}
.blackelement h2 a:hover{text-decoration:underline;}
.blackelement h1, .blackelement h2, .blackelement h3, .blackelement h4, .blackelement h5, .blackelement h6 {color:#fff !important;}
.blogelement{
	background-color:#000;
	color:#fff;
}
.blogelement h1, .blogelement h2, .blogelement h3, .blogelement  h4, .blogelement h5, .blogelement h6, .blogelement p {color:#fff !important; font-family: 'Open Sans', Arial, Helvetica,  sans-serif; text-shadow: 1px 1px 3px #000;}
.blogelement h1 a,
.blogelement h1 a:visited,
.blogelement h1 a:active,
.blogelement h1 a:hover{color:#fff; text-decoration:none;}
.blogelement h1 a:hover{text-decoration:underline;}

.violetelement{
	background-color:#887dc2;
	color:#fff;
}


/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

.border-right-white {border-right: 0px solid #fff}
.border-right-black {border-right: 0px solid #666}

.topmenudisplay {display: none;}
.bottommenudisplay {display: block;}



/****************************************
*****************************************
MEDIAQUERIES
*****************************************
****************************************/




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


} 





/*
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) {

.topmenudisplay {display: inline-block;}
.bottommenudisplay {display: none;}

.wrapper{
	max-width: 1200px;
	margin: 0 auto;
}
.wrappertwo{
	max-width: 900px;
	margin: 0 auto;
}
header{
	padding:0;
}
#banner{ 
	float:left; 
	text-align:left;
	margin-bottom:0px;
	margin-top:5px;
	top: 12px; 
}
#hero{
	padding:0;
}
#hero .grid_4 { width: 100%; }
#hero .grid_8 { width: 80%; margin:40px 10% 0;}

#content {  
	float:left;
	width:65%;
}
#content.wide-content{
	float:none;
	width:100%;
}
#heroslider{
	display:block;
}

.flexslider{
	display:block;
/*demo 1 slider theme*/	
margin: 0; 
}
.flex-control-nav {bottom: -7px;}


aside { 
	float:right;
	width:30%;
}

/*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;
	margin-bottom:0px;
}

.alpha{margin-left:0px;}
.omega{margin-right:0px;}
.rightfloat{float:right;}
/* @
 * tinyfluidgrid.com
 & girlfriendnyc.com
 */

 .border-right-white {border-right: 1px solid #fff}
 .border-right-black {border-right: 1px solid #666}

}






/*
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: 1024px) {
#hero .grid_4 { width: 30%; }
#hero h1{ font-size:1.4em;}
#hero .grid_8 { width: 63.333333333333%; margin:0 1.6666666666667%; }
} 




/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {
#hero h1{ font-size:2em;}
} 







/*
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; } /* Black prints faster: h5bp.com/s */
  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; } /* h5bp.com/t */
  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; }
}
