@charset "utf-8";
/*
BASE (MOBILE) SIZE
*/

/* typography */
body{
	color: #555;
	font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
	font-size: .9em;
	line-height: 1.3em;
	font-weight: normal;
	/* background-color: #fafafa; */
	background-color: #eeeeff;
}
h1, h2, h3, h4, h5, h6{
	font-weight:normal;
	font-family:'Droid Serif', Georgia, Arial, Times, serif;
	line-height:120%;
	margin:20px 0 0 0;
	padding:0;
} 


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

  
/* structure */   
.wrapper, #colophon{
	width: 92%; 
	margin: .75em auto;
	padding:0;
}
header{ 
	padding:10px 0 0 0;
}
#banner{ 
	text-align:center;
	width: 180px;
}
	
#hero{
	background: #eeeeff;
	border-top: 1px solid #e2e2e2;
	border-bottom: 1px solid #e2e2e2;
	padding: 4px 0 10px 0;
}
/*#hero h2 {
	margin: 0px;
	padding: 0px;
	font-weight: bold;
	color: #cc0000;
}*/

#hero #Intro {
	width: 100%;
}
#MainPhoto {
	float: right;
	margin-left: 10px;
	margin-top: 4px;
}
#MainPhoto img {
	width: 100px;
	height: auto;
}
#MainContent {
	width: 100%;
	margin: 0 0 10px 0;
	box-sizing: border-box;
	padding: 0px 20px;
}
#MainContent ul, #MainContent ol {
	list-style-position:inside;
}
#MainContent ul li, #MainContent ol li {
	padding-bottom: .8em;
}

#MainContent ul.blogList li {
	list-style-type: none;
	border-bottom: 1px solid #ccc;
	padding: .8em 0;
	color: #666;
	line-height: 1.4em;
}

aside {
	width: 100%;
	margin: 0 0 10px 0;
	box-sizing: border-box;
	padding: 0px 20px;
}

/*hgroup h1{
	font-size:2em;
	margin-top:0px;
	font-weight: bold;
	color: #045fad;
}
hgroup h2{
	font-size:1.6em;
	margin-top:0px;
	font-weight: bold;
	color: #cc0000;
}*/

.flexslider{
	display:none;
}

p{
	margin: 10px 0 10px 0;
}

#searchInstructions {
	display: none;
}
aside {
	width:100%;
	margin:0 0 10px 0;
}

#webServices, aside .aside_highlight {
	background-color:#eeeeff; 
	padding: 10px 10px;
	margin: 0;
	text-align: center;
	border-radius: 6px;
	width: 100%;
}
aside .aside_highlight {
	text-align: left;
	}

/* RESPONSIVE IMAGES IN CONTENT AREA. IF YOU WANT IMAGES TO BE RESPONSIVE EVERYWHERE, WRITE ANOTHER CSS RULE */
#content img { 
	max-width:100%; 
	height:auto;
}


/*MAIN MENU*/
#globalnav {
	text-align: right;
	margin-top: 0px;
	margin-bottom: 10px;
	padding: 0px;
}
#globalnav a {
	color: #045fad;
	text-decoration: none;
	background-color: #fff;
	display: inline-block;
	padding: 6px 6px;
	margin: 0px;
}

#topnav {
/*	float: right;
*/	margin: 0 0 1em 0;
}
.menu-toggle {
	display: block;
	padding: 6px;
	margin: 15px 0 6px 0;
	/* padding:10px;
	margin:20px 0 10px 0; */
	background-color: #7bbdf5;
	color: #fff;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 20px;
	width: 100%; /* added */
	border-radius: 6px;
}
.menu-toggle.toggled-on{
	background: #fff;
	color: #7bbdf5;
	border: solid 1px #7bbdf5;
	border-radius: 6px;
	width: 100%; /* added */
}
.sf-menu{
	display:none;
}	
.sf-menu.toggled-on{
	display:block;
}
.sf-menu{
	clear: both;
	margin-bottom: 30px; /* 60px */
}
.sf-menu li a {
	background: #eeeeff;
	display: block;
	margin: 1px 0;
	padding: 8px 1px 8px 10px; /* 10px; */
	text-decoration: none;
}
.sf-menu li a:hover{
	background:#7bbdf5;
	color:#fff;
}
.sf-menu li li a {
	background: #eeeeff;
	padding-left: 40px;
}
.sf-menu li li li a {
	background:#eeeeff;
	padding-left:80px;
}

/*SECONDARY MENU*/
#secondary-navigation {
	margin-bottom:20px;
	width: 100%; /* added */
}
#secondary-navigation ul {
	margin:0;
	padding:0;
	border-radius: 6px;
}
#secondary-navigation ul li a {
	background:#eeeeff;
	display:block;
	margin:5px 0;
	padding:10px;
	text-decoration:none;
	width: 100%; /* added */
	border-radius: 6px;
}
#secondary-navigation ul li a:hover {
	background:#7bbdf5;
	color:#fff;
	border-radius: 6px;
}

 #FBbutton ul {
	margin:0 0 0 25px;
	padding:0;
	border-radius: 6px;
	text-align: center;
	list-style: none;
}
#FBbutton ul li a {
	background: #2490ee; /*#7bbdf5*/
	color: #fff;
	display:block;
	margin:5px 0;
	padding:10px;
	text-decoration: none;
	width: 175px; /* added */
	border-radius: 6px;
}
#FBbutton ul li a:hover {
	background:#eeeeff;
	color: #2490ee; /*#7bbdf5*/
	border-radius: 6px;
}


footer{  
	clear:both;
	font-size: 90%;
	padding: 20px 0;
	text-align: center;
}
footer ul{
	margin:0;
	padding:0;
}

/*colors and backgrounds*/
body{
	background:#fff;
}
h1, h2, h3, h4, h5, h6{
	color: #990000;
}
.wrapper h3 {
	color: #045FAD;
	/*border-bottom: 1px dashed #C00;*/
	margin-top: 40px /*!important*/;
	margin-bottom: 0px;
}
.wrapper h3.first {
	margin-top: 0px;
}
footer{
	background:#eeeeff;
	color:#333;
}
footer h1, footer h2, footer h3, footer h4{
	color:#cc0000;
	margin-bottom:10px;
}
footer ul{
	margin:0 0 0 8%;
}

table.basic {
	border: 1px solid #900;
}
table.basic th {
	border: 1px solid #900;
	background-color: #900; 
	color: #FFF
}
table.basic td {
	border: 1px solid #900;
}


.rightfloat{
	float:right;
}
.leftfloat{
	float:left;
}
.center {
	text-align: center;
	}
.smaller {
	font-size: smaller;
}
.blueBold {
	font-weight: bold;
	color: #4D77C3;
}
.boldRed {
	font-weight: bold;
	color: #990000;
}
.StaffPhotoGrid {
	float: left;
	width:180px;
	height: 375px;
	padding: 6px;
}

.backtotop {
	text-align: right !important;
	font-size: smaller !important;
}

/* ==|== non-semantic helper classes ========================================
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

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



/*
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;
	width: 290px;
}

.menu-toggle{/*make menu float right, instead of sitting under the logo*/
	margin-top:40px; /*this depends on the height of the logo*/
	float:right;
}
#MainPhoto img {
	width: 150px;
	height: auto;
}
#MainContent {
	width: 100%; /* added */
/*	float:left;
	width:92%;
	margin:0 0 10px 0;
*/}
#hero #Intro {
	width: 100%;
}
aside {
	width: 100%; /* added */
/*	float:none;
	width:50%;
	margin:0 0 10px 0;
*/}

} 


@media only screen and (min-width: 698px) {

#MainPhoto img {
	width: 200px;
	height: auto;
}
#MainContent {
	float:left;
	width:75%;
	margin:0 0 10px 0;
}
#hero #Intro {
	width: 60%;
}
.flexslider{
	display: block;
	width: 260px;
	float: right;
}

aside {
	float:right;
	width:25%;
	margin:0 0 10px 0;
}

/*** MAIN MENU - ESSENTIAL STYLES ***/

.menu-toggle{display:none;}

#menu-top-navigation{display:block;}

#menu-main-navigation{display:block;}

.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			12em; /* left offset of submenus need to match (see below) */
	border-radius: 6px;
}
.sf-menu ul li {
	width:			100%;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float:			left;
	position:		relative;
	border-radius: 6px;
}
.sf-menu a {
	display:		block;
	position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			0;
	top:			30px; /* match top ul list item height */
	z-index:		99;
	-webkit-box-shadow:  2px 3px 2px 0px rgba(00, 00, 00, .3);
    box-shadow:  2px 3px 2px 0px rgba(00, 00, 00, .3);
	border-radius: 6px;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left:			12em; /* match ul width */
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/


#globalnav {
	text-align: right;
	margin-top: 0px;
	margin-bottom: 10px;
	padding: 0px;
}
#globalnav a {
	color: #045fad;
	text-decoration: none;
	background-color: #fff;
	display: inline-block;
	padding: 6px 10px 8px 10px;
	margin: 0px;
	border-radius: 6px;
}
#globalnav a:hover, #globalnav a:active {
	color: #FFF;
	background-color: #2490ee; /*#7bbdf5*/
	border-radius: 6px;
}

#globalnav a.reverse {
	color: #fff;
	background-color: #2490ee; /*#7bbdf5*/
}
#globalnav a.reverse:hover {
	color: #000000; /*#045fad*/
	background-color: #7bbdf5;
}
#globalnav a.reverse:active {
	color: #fff;
	background-color:  #045fad;
}

#topnav {
	float: right;
}
.sf-menu {
	float:right;
	margin: 1em 0 0 0;
}

.sf-menu a {
	text-decoration:none;
}
.sf-menu li a {
	background:#fff;
	margin:0; 
	padding: 6px 10px 10px 10px;
	height:15px;
	border-radius: 6px;
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#045fad;
}
.sf-menu li li a {
	border-top:		1px solid #fff;
	background:		#fff;
	padding-left:20px;
	border-radius: 6px;
}
.sf-menu li li li a{
	padding-left:20px;
	background:	#fff;
	border-radius: 6px;
}
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	background:  #2490ee; /*#7bbdf5*/
	outline:		0;
	color:#fff;
	border-radius: 6px;
}
.sf-menu li:hover > a{
	color:#fff;
	background:  #2490ee; /*#7bbdf5*/
	border-radius: 6px;
}
.no-js #home #hero2 .wrapper #MainContent h3 {
}


} 

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

.wrapper, #colophon{
	max-width: 1200px;
	margin: .5em auto;
	padding: 0.5em 0.75em;
}

#banner{ 
	float:left; 
	text-align:left;
	padding-right:2%;
	width:300px;
}

#hero{
	padding:10px 0 10px 0;
}

#hero2{
	padding:10px 0 10px 0;
}

#hero #Intro {
	width: 600%;
}

.flexslider{
	display: block;
	width: 260px;
	float: right;
}

#MainContent {
	float:left;
	width:75%;
	margin:0 0 10px 0;
}





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

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

}

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