/*

BASE (MOBILE) SIZE

*/

/* typography */
body{
	background:#e7f4f7!important;
	color:#666;
	font-family:'Open Sans', Arial, Helvetica, sans-serif; 
	font-size:1em;
	line-height:1.7em!important; 
	font-weight:normal;
}

h1 { font-family:'Source Sans Pro', Arial, Helvetica, sans-serif;
font-weight:normal; 
	margin:.45em 0;
	padding:0;
	line-height: 40px; }

 h2, h3, h4, h5, h6{
	font-weight:normal;
	font-family:'Source Sans Pro', Arial, Helvetica, sans-serif; 
	line-height:1.5em;
	margin:.45em 0;
	padding:0;
} 


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

h1, h2 a,
a:visited,
a:active,
a:hover{color:#00adda;}
a:hover{ text-decoration:none;}

a,
a:visited,
a:active { color:#003668; text-decoration:none; }
a:hover{color:#016f87; text-decoration:none;}

.purple { color: #fff; background: #00adda; padding: 10px 20px; display: block; margin: 0 70px 0 45px; font-size: 2em; }

.purple a,
.purple a:visited,
.purple a:active{color:#fff;}
.purple a:hover{ color: #cccdaf;}
.purple 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;}

  
/* structure */   
.wrapper{
	width: 92%; 
	margin: 0 auto;
}
header{ 
	padding:15px 0; color: #395668;
}
#banner{ 
	text-align:center;
	margin: 0 auto;
}

#hero,
#page-header{
	background:#fff;
	padding:0 0 20px 0; margin-bottom: 20px;
}

#hero1,
#page-header{
	background: #fff;
	padding:10px 0 20px 0;
	color: #fff;
}


#hero2,
#page-header{
	background:#fff;
	padding:0;
}

#hero h1{ 
	line-height:1.5em;
	margin-top:10px;
	margin-bottom:10px;
	color: #ea922a; }

.flexslider{
	display:none;
}

#content {  
	margin:30px 0;
	padding: 20px;
	background: #fff;
}

aside { 
	margin:40px 0;
}

.quote ul li { font-family: 'Bad Script', cursive; list-style: none; font-size: 1.5em; line-height: 1.5em; color: #ea922a; }

/*p{ margin:0 0 1.5em;}*/

.dots { border-bottom: dotted 1px #ccc; margin: 10px 0 0 0; }
.homequote { background: #fff url(../images/swirls.png) no-repeat top right ; padding: 60px 20px 10px 20px; }

/*MAIN MENU*/
.navigation {
			padding-top: 20px;
			padding-bottom: 20px;
		margin: 0 auto;
		text-transform: uppercase;
		/*float: right;*/
		}
		.navigation ul {
			float: none;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
			border-radius: 5px; 
		}
		.navigation ul li {
			display: block;
		}
		.navigation ul li a {
			padding: 1.5%;
			display: block;
			float: none;
			color: #00adda;
			/*width: 94%;*/
			font-weight: normal;
		}
		.navigation ul li a:hover {
			color: #003668;
		}
.nav { display: -webkit-box;
    display: -ms-flexbox;
    display: block!important;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none; }

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


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

.srt-menu{
	clear:both;
	margin-bottom:60px;
	
}
.srt-menu li a {
	background:#dadada;
	display:block;
	margin:1px 0; 
	padding:10px;
	text-decoration:none;
}
.srt-menu li a:hover{
	background:#0099ff;
	color:#fff;
}
.srt-menu li li a {
	background:#e8e8e8;
	padding-left:40px;
}
.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.current a{
	background:#0099ff;
	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:10px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}
.grid_12a {
	margin-bottom:10px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 0;
    padding-right: 0;
}

/*FOOTER*/
footer{  
	clear:both;
	padding:20px 0;
	min-height: 300px;
}
footer ul{
	margin:0;
	padding:0;
}

footer p { font-size: 16px; }

#contact { float:right;
	margin: .35em 0 0 0;
	 }

.contact { font-size: 1.2em; line-height: 35px; text-align: center; }
.contact h1 { margin-bottom: 0!important; padding-bottom: 0!important; }

.back-to-top {
background: none;
margin: 0;
position: fixed;
bottom: 0;
right: 0;
width: 70px;
height: 70px;
z-index: 100;
display: none;
text-decoration: none;
/*color: #69c8df;*/
background-color: none;
}

.back-to-top i {
  font-size: 60px;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fader img { width: 100% !important; }

/*colors and backgrounds*/


h1, h2 {
	color:#003668;
}
h3, h4, h5, h6 { color: #895881; }


#logo h1 { font-size: 3em; margin: 10px 0; }
.contact h3 { color: #83547b; }

.bordered { border: solid 1px #b6afd5; padding: 0 15px; text-align: center; }

footer{ 
	background:#00aedb;
	color:#fff;
}
footer h1, footer h2, footer h3, footer h4{ 
	color:#d9e9f7; 
	margin-bottom:10px;
}
footer ul{
	margin:0 0 0 8%;
}

#topfooter{ 
	background:#00aedb;
	color:#fff;
}

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

a.buttonlink{ 
	background:#895881; 
	border-radius:10px; 
	color:#fff;
	display:block;
	margin:10px 15px 10px 0; 
	padding:10px;
	text-decoration:none; text-align: center;
}
a.buttonlink:hover{
	background:#703669;
}
.greenelement{
	background:#5ec79e;
	color:#fff;
}
.violetelement{
	background:#887dc2;
	color:#fff;
}
.calltoaction { background: #fff url(../images/bgcall.png) repeat-x; border-radius: 10px 10px 0px 0px; border: solid 1px #ebd5dd; 
-moz-border-radius: 10px 10px 0px 0px; 
-webkit-border-radius: 10px 10px 0px 0px; color: #12a19a; font-size: 120%; text-align: center; padding: 0 15px 10px 15px; margin: 20px 0; }
.calltoaction img { border: solid 10px #fff; border-radius:7px;  }

#negative { margin-top: -380px; position: relative; z-index: 1000; }
#positive { margin-top: 280px; }
#contactbg { background:#fff; 
	border-radius:7px; 
	display:block;
	margin:10px; 
	padding:10px; 
	text-align: center; }
	
	/* Make Facebook Widget responsive */
#fb-root {
    display: none;
}
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}
#socialbg { background: #5aaaa5; padding: 20px; }

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

a.link2:link { color: #fff; text-decoration: none; background: transparent; font-size:1em; font-weight: 500; }
a.link2:visited { color: #fff; background: transparent; text-decoration: none; font-size:1em;  font-weight: 500; }
a.link2:hover { color: #fff; background: transparent;  text-decoration: underline; font-size:1em;  font-weight: 500; }

a.link3:link { color: #c59608; text-decoration: none; background: transparent; font-size:1em; font-weight: 500; }
a.link3:visited { color: #c59608; background: transparent; text-decoration: none; font-size:1em;  font-weight: 500; }
a.link3:hover { color: #dab34a; background: transparent;  text-decoration: none; font-size:1em;  font-weight: 500; }

a.link4:link { color: #434048; text-decoration: none; background: url(../images/linkbg.png) no-repeat top right; font-size:1em; font-weight: 500; padding: 10px; width: 100%; display: block; }
a.link4:visited { color: #434048; background: url(../images/linkbg.png) no-repeat top right; font-size:1em; font-weight: 500; padding: 10px; width: 100%; display: block; }
a.link4:hover { color: #434048; background: url(../images/linkbgon.png) no-repeat top right; font-size:1em; font-weight: 500; padding: 10px; width: 100%; display: block; }

.paddingtop { padding-top: 30px; }
.nodisplay { display: none; }

.whitelink a { color: #fff!important; text-decoration: none!important; }
/* Make Facebook Widget responsive */
#fb-root {
    display: none;
}
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100%!important;
}
.border { background: #fff; padding: 10px; }
.picright { float: right; padding: 0 0 0 20px; }


.clear { 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:-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;
}
.nodisplay { display: none; }

} 

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

.wrapper{
	max-width: 1200px; 
	margin: .75em auto 0 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%;
}

.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*/
.navigation {
	padding-top: 10px;
	padding-bottom: 10px;
}
.navigation ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.navigation ul li {
	display: inline;
	padding: 0;
	margin: 0;
}
.navigation ul li a {
	padding: 10px;
	width: 100%;
	display: inline;
	float: none;
	color: #00adda;
	font-weight: normal;
	text-decoration: none;
}
.navigation ul li a:hover,
.navigation ul li a.nav-selected {
	color: #003668;
}

/*** DEMO1 SKIN ***/
#topnav, .srt-menu {
	margin: .35em 0 1em 0;
	/*width: 92%;*/
}
.srt-menu a {
	text-decoration:none;
}
.srt-menu li a {
	background:#fff;
	margin:0; 
	padding:10px 20px;
	height:45px;
}
.srt-menu a, .srt-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#0099ff;	
}
.srt-menu li li a {
		border-top:		1px solid rgba(255,255,255,.2);
		background:		#333; /*fallback for old IE*/
		background:rgba(0,0,0,.6);
		color:	#fff;
		padding-left:20px;
		height:auto;
}
.srt-menu li li a:visited{color:#fff;}
.srt-menu li li li a,
.srt-menu li.current * li a{
	padding-left:20px;
	background:rgba(0,0,0,.6);
}

.srt-menu li:hover > a,
.srt-menu li.current a{ 
	color:#fff;
	background:#0099ff;
}
.srt-menu li li:hover > a{
	color:#fff;
	background:#0099ff;
}



/*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;
}
.grid_12a {
	margin-bottom:10px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

.rightfloat{float:right;}
/* @notation inspired by tinyGrid, .row and percentage by Twitter Bootstrap
 */
 
#hero [class*="grid_"] { margin-bottom:-20px;}
.nodisplay { 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) {
.nodisplay { display: block; }
.grid_12a {
	margin-bottom:10px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}
/*MAIN MENU*/
.navigation {
	padding-top: 10px;
	padding-bottom: 10px;
	display: block;
	margin: 0 auto;
}
.navigation ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.navigation ul li {
	display: inline;
	padding: 0;
	margin: 0;
}
.navigation ul li a {
	padding: 10px 20px;
	width: 100%;
	display: inline;
	float: none;
	color: #00adda;
	font-weight: normal;
	text-decoration: none;
}
.navigation ul li a:hover,
.navigation ul li a.nav-selected {
	color: #003668;
}
} 

/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {
.nodisplay { display: block; }
.grid_12a {
	margin-bottom:10px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}
/*Main Menu*/
.navigation {
	padding-top: 10px;
	padding-bottom: 10px;
}
.navigation ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.navigation ul li {
	display: inline;
	padding: 0;
	margin: 0;
}
.navigation ul li a {
	padding: 10px 20px;
	width: 100%;
	display: inline;
	float: none;
	color: #00adda;
	font-weight: normal;
	text-decoration: none;
}
.navigation ul li a:hover,
.navigation ul li a.nav-selected {
	color: #003668;
}

} 

/*
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) {
.nodisplay { display: none; }
#hero,
#page-header{
	background:#fff;
	padding:20px 0 0 0;
}
.grid_8 {
	margin-bottom:0;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 0;
    padding-right: 0;
}
} 

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

  .nodisplay { display: none; }
  #hero,
#page-header{
	background:#fff;
	padding:20px 0 0 0;
}
.grid_8 {
	margin-bottom:0;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 0;
    padding-right: 0;
}
}

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