/*
Simple Responsive Template v 1.2

BASE (MOBILE) SIZE
	These are the mobile styles. It's what people see on their phones.
	Remember, keep it light: Speed is Important.
*/

/* typography */
body{
	color:#666;
	 font-family: 'Source Sans Pro', Arial, sans-serif;
	font-size:1em;
	line-height:1.4em; 
	font-weight:normal;
}
h1, h3, h4, h5, h6{
	font-weight:normal;
	 font-family: 'Source Sans Pro', Arial, sans-serif;
	line-height:1.5em;
	margin:.45em 0;
	padding:0;
} 

.grid_6 h2 {
	font-weight:normal;
	 font-family: 'Source Sans Pro', Arial, sans-serif;
	line-height:1.5em;
	margin:.45em 0;
	padding:0;
	color: #256078;
} 

.grid_5 h2 {
	font-weight:normal;
	 font-family: 'Source Sans Pro', Arial, sans-serif;
	line-height:1.5em;
	margin:.45em 0;
	padding:0;
	color: #256078;
} 


.grid_7 h2 {
	font-weight:normal;
	 font-family: 'Source Sans Pro', Arial, sans-serif;
	line-height:1.5em;
	margin:.45em 0;
	padding:0;
	color: #256078;
} 


aside h2 {
	font-weight:normal;
	 font-family: 'Source Sans Pro', Arial, sans-serif;
	line-height:1.5em;
	margin:.45em 0;
	padding:0;
	color: #256078;
} 

.cbp-qtrotator {
min-height: 540px;
position: relative;
}

.cbp-qtcontent {
width: 100%;
height: auto;
position: absolute;
min-height: 180px;
top: 0;
display: none;
color: #1d576e;
font-family: palentino, georgia, times;
font-style: italic;
}
.cbp-qtrotator .cbp-qtcontent.current {
display: block
}
.cbp-qtrotator blockquote {
margin: 0px 0 0 0;
padding: 0
}
.cbp-qtrotator blockquote p {
font-size: 2em;
color: #888;
font-weight: 300;
margin: 0.4em 0 1em
}



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

/* Box sizing. Awesome thing. Read about it here: http://www.w3schools.com/cssref/css3_pr_box-sizing.asp */
*{	box-sizing:border-box;
	-moz-box-sizing:border-box;}

h1.first-header {
	color: #6e9399;
	font-size: 25px;
	line-height:28px;
} 
  
/* structure */   
.wrapper{
	width: 92%; 
	margin: 0 auto;
}
header{ 
	padding:15px 0;
}
#banner{ 
	text-align:center;
}
	
#hero,
#page-header{
	background:#81cfd1;
	border-top:1px solid #e2e2e2;
	border-bottom:1px solid #e2e2e2;
	padding:20px 0;
}
#hero h1{ 
	line-height:1.2em;
	margin-top:0px;
	margin-bottom:10px;}

.flexslider{
display:none;
}

#content {  
	margin:20px 0;
}

aside { 
	margin:20px 0;
}

p{ margin:0 0 1.5em;}


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


/*MAIN MENU*/
.menu-toggle{
	display:block;
	padding:10px;
	margin:20px 0 0;
	background:#46a7af;
	color:#fff;
	cursor:pointer;
	text-transform:uppercase;
	font-size:20px;
}
.menu-toggle.toggled-on{
	background:#46a7af;
	max-width:350px;
}
.srt-menu{
	display:none;
}	
.srt-menu.toggled-on{
	display:block;
	position:relative;
	z-index:10;
}

.srt-menu{
	clear:both;
	margin-bottom:40px;
	
}

.srt-menu.toggled-on li a {
	background:#FFFFFF;
	display:block;
	margin:1px 0; 
	padding:10px;
	text-decoration:none;
	color: #666666;
	border-bottom:1px solid #81cfd1;
}

.srt-menu.toggled-on li li a {
	background:#FFFFFF;
	display:block;
	margin:1px 0; 
	padding-left:30px;
	text-decoration:none;
	color: #999999;
	border-bottom:1px solid #81cfd1;
}

.srt-menu.toggled-on li a:visited{
	background:#FFFFFF;
	color: #666666;
}

.srt-menu.toggled-on li a:hover{
	background:#46a7af;
	color: #FFFFFF;
}

.srt-menu li a {
	background:#FFFFFF;
	text-decoration:none;
	color: #46a7af;
}

.srt-menu li a:visited{
	background:#FFFFFF;
	color: #46a7af;
}

.srt-menu li a:hover{
	background:#46a7af;
	color:#fff;
}

.srt-menu li li a {
	background:#ffffff;
	padding-left:40px;
	color: #989797;
}
.srt-menu li li li a {
	background:#efefef;
	padding-left:80px;
}

/*SECONDARY MENU*/
#secondary-navigation{
	margin-bottom:60px;
}
#secondary-navigation ul{
	margin:0;
	padding:0;
}
#secondary-navigation ul li a{ 
	background:#E6E6E6;
	display:block;
	margin:5px 0; 
	padding:10px;
	text-decoration:none;

	}
#secondary-navigation ul li a:hover,
#secondary-navigation ul li.active a{
	background:#46a7af;
	color:#fff;
}

/*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:20px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

/*FOOTER*/
footer{  
	clear:both;
	font-size:80%;
	padding:20px 0;
	color: #81cfd1;
}
footer ul{
	margin:0;
	padding:0;
}

/*colors and backgrounds*/
body{
	background:#fff;
}
h1, h2, h3, h4, h5, h6{
	color:#333; 
}

footer{ 
	background:#333;
	color:#81cfd1;
}

.grid_4 h1 { 
	color:#46a7af; 
	 font-family: 'Source Sans Pro', Arial, sans-serif;
	 font-size: 28px;
	 text-align:center;
}

.grid_4 p { 
	color:#565758; 
	 font-family: 'Source Sans Pro', Arial, sans-serif;
}

footer h1, footer h2, footer h3, footer h4{ 
	color:#CCC; 
	margin-bottom:10px;
}
footer ul{
	margin:0 0 0 8%;
}

a.buttonlink{ 
	background:#46a7af; 
	border-radius:7px; 
	color:#fff;
	display:block;
	float:left; 
	margin:10px 15px 10px 0; 
	padding:10px;
	text-decoration:none;
}
a.buttonlink:hover{
	background:#6e9399;
}
.greenelement{
	background:#5ec79e;
	color:#fff;
}
.violetelement{
	background:#887dc2;
	color:#fff;
}



/* Contain floats*/ 
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: " ";
  display: table;
}
.clearfix:after,
.container:after,
.row:after{
  clear: both;
}


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

header{ 
	padding:15px 0;
}

.flexslider{
display:block;
/*demo 1 slider theme*/	
margin: 0 0 60px; 
background: #fff; 
border: 4px solid #fff; 
-webkit-border-radius: 4px; 
-moz-border-radius: 4px; 
-o-border-radius: 4px; 
border-radius: 4px; 
box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

} 

/*
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:15px 0;
}
#content {  
	float:left;
	width:65%;
}
#content.wide-content{
	float:none;
	width:100%;
}

.flexslider{
display:block;
/*demo 1 slider theme*/	
margin: 0 0 60px; 
background: #fff; 
border: 4px solid #fff; 
-webkit-border-radius: 4px; 
-moz-border-radius: 4px; 
-o-border-radius: 4px; 
border-radius: 4px; 
box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
}


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

/*** MAIN MENU - ESSENTIAL STYLES ***/
.menu-toggle{display:none;}
#menu-main-navigation{display:block;}

.srt-menu, .srt-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
	border-bottom: 0px;
}
.srt-menu ul {
	position:		absolute;
	display:none;
	width:			12em; /* left offset of submenus need to match (see below) */
}
.srt-menu ul li {
	width:			100%;
}
.srt-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.srt-menu li {
	float:			left;
	position:		relative;
	margin-left:1px;
}
.srt-menu li li {
	margin-left:0px;
}
.srt-menu a {
	display:		block;
	position:		relative;
}
.srt-menu li:hover ul,
.srt-menu li.sfHover ul {
	display:block;
	left:			0;
	top:			35px; /* 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);
}
ul.srt-menu li:hover li ul,
ul.srt-menu li.sfHover li ul {
	top:			-999em;
}
ul.srt-menu li li:hover ul,
ul.srt-menu li li.sfHover ul {
	left:			12em; /* match ul width */
	top:			0;
}
ul.srt-menu li li:hover li ul,
ul.srt-menu li li.sfHover li ul {
	top:			-999em;
}
ul.srt-menu li li li:hover ul,
ul.srt-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** DEMO1 SKIN ***/
#topnav, .srt-menu {
	float:right;
	margin: .35em 0 0 0;
}
.srt-menu a {
	text-decoration:none;
}
.srt-menu li a {
	background:#fff;
	margin:0; 
	padding:4px 10px;
	height:35px;

}
.srt-menu a, .srt-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#81cfd1;	
}
.srt-menu li li a {
		border:	1px solid #46a7af;
		background: #81cfd1;
		color:	#FFFFFF;
		padding-left:20px;
		height:auto;
}
.srt-menu li li a:visited{color:#46a7af;}
.srt-menu li li li a,
.srt-menu li.active * li a{
	padding-left:20px;
	background:		#46a7af;
}

.srt-menu li:hover > a,
.srt-menu li.active a{ 
	color:#fff;
	background:#46a7af;
}
.srt-menu li li:hover > a{
	color:#fff;
	background:#46a7af;
}



/*GRID*/
/*
 & Columns : 12 

 */
 .row{
	 margin-left: -15px;
     margin-right: -15px;
}
 
.grid_1 { width: 8.33333333%; }
.grid_2 { width: 16.66666667%; }
.grid_3 { width: 25%; }
.grid_4 { width: 33.33333333%; }
.grid_5 { width: 41.66666667%; }
.grid_6 { width: 50%; }
.grid_7 { width: 58.33333333%; }
.grid_8 { width: 66.66666667%; }
.grid_9 { width: 75%; }
.grid_10 { width: 83.33333333%; }
.grid_11 { width: 91.66666667%; }
.grid_12 { width: 100%; }

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

.rightfloat{float:right;}
/* @notation inspired by tinyGrid, .row and percentage by Twitter Bootstrap
 */
 
#hero [class*="grid_"] { margin-bottom:-20px;}

}

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

.flexslider{
display:block;
/*demo 1 slider theme*/	
margin: 0 0 60px; 
background: #fff; 
border: 4px solid #fff; 
-webkit-border-radius: 4px; 
-moz-border-radius: 4px; 
-o-border-radius: 4px; 
border-radius: 4px; 
box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

} 

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

} 

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

.flexslider{
display:block;
/*demo 1 slider theme*/	
margin: 0 0 60px; 
background: #fff; 
border: 4px solid #fff; 
-webkit-border-radius: 4px; 
-moz-border-radius: 4px; 
-o-border-radius: 4px; 
border-radius: 4px; 
box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);

}

/*
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) {
	   
.flexslider{
display:block;
/*demo 1 slider theme*/	
margin: 0 0 60px; 
background: #fff; 
border: 4px solid #fff; 
-webkit-border-radius: 4px; 
-moz-border-radius: 4px; 
-o-border-radius: 4px; 
border-radius: 4px; 
box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

} 

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

.flexslider{
display:block;
/*demo 1 slider theme*/	
margin: 0 0 60px; 
background: #fff; 
border: 4px solid #fff; 
-webkit-border-radius: 4px; 
-moz-border-radius: 4px; 
-o-border-radius: 4px; 
border-radius: 4px; 
box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
}

.contact h4, .contact p {
		margin-left: 15px;}

.contact h4 {
		font-size:16px; 
		font-family: "OpenSansSemiBold",sans-serif; }
		
.contact p {
		color:#7F8289; 
		margin-top: 10px;}
		
.contact form label {float:left; padding-bottom: 5px;}
		
.contact form label span {color:#D1D1D1;}

.contact form input,
.contact form textarea{
		font-family: "OpenSansLight";
		font-size:13px;
		-moz-transition:all .3s ease-in-out;
		-ms-transition:all .3s ease-in-out;
		-o-transition:all .3s ease-in-out;
		-webkit-transition:all .3s ease-in-out;
		border: 1px solid #C2C6CB;
		border-radius: 2px 2px 2px 2px;
		box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05) inset;
		color: #55606E;
		resize: vertical;
		font-size:12px;
		margin-bottom: 15px;
		letter-spacing:1px;
		padding: 9px 10px 8px;
		transition:all .3s ease-in-out;
		width:100%;}

/* SET A HEIGHT TO THE INPUT*/

.contact form input{
		height:40px;
		resize: none;}

/* SET A HEIGHT TO THE TEXTAREA*/

.contact form textarea{
		min-height:120px;
		padding-top: 8px;}
	
/* BUTTON SENDER */

.contact form .submit{
		color:#FFF;
		height:40px;
		width: 150px;
		border-radius: 2px;
		letter-spacing:1px;
	    float: left;
	    display: block;
		border: none;
	    cursor: pointer;
	    font-size: 13px;
	    color:#FFF;
	    background-color: #46a7af;
	    -webkit-transition: all 0.2s ease-in-out;
	    -moz-transition: all 0.2s ease-in-out;
	    -ms-transition: all 0.2s ease-in-out;
	    -o-transition: all 0.2s ease-in-out;
	    transition: all 0.2s ease-in-out;}

/* BUTTON SENDER HOVER */

.contact form .submit:hover{
		background:#838383 ;
		cursor:pointer;}

/* INPUT AND TEXTAREA WHEN NOTHING  */

.contact form input:required,
.contact form textarea:required{
		background:#FFF url(../img/invalid.png);
		background-position:98% 6px;
		background-repeat:no-repeat;
		box-shadow:inherit;}

/* INPUT AND TEXTAREA WHEN VALID : GOOD */

.contact form input:required:valid,
.contact form textarea:required:valid{
		background:#FFF url(../img/valid.png);
		background-position:98% 6px;
		border:1px solid #BBB;
		background-repeat:no-repeat;
		color:#777;}

/* INPUT AND TEXTAREA WHEN INVALID : NOT GOOD GOES RED */

.contact form input:focus:invalid,
.contact form textarea:focus:invalid{
		background:#FFF url(../img/invalid-red.png) no-repeat 98% 6px;
		border-color:#ec7e7e;
		box-shadow:0 0 2px rgba(236,126,126,0.7);}
		

.contact .info {margin-top:25px;}

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