/*

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{
	background:#e1f1f3;
	color:#304b52;
	font-family: Quicksand, Arial, Helvetica, sans-serif; 
	font-size:1.1em;
	line-height:1.6em; 
	font-weight:normal;
}


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

a,
a:visited,
a:active { color:#43b3bd; text-decoration:none; }
a:hover{color:#36838a; text-decoration:none;}



.purple { color: #fff; background: #638a3b; 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;}

a.link2:link { font: 1.3em Quicksand, arial, verdana, sans-serif; color: #fff; text-decoration: none; font-weight: 400; padding: 8px; background: transparent; }
a.link2:visited { font: 1.3em Quicksand, arial, verdana, sans-serif; color: #fff; text-decoration: none; font-weight: 400; padding: 8px; background: transparent; }
a.link2:hover { font: 1.3em Quicksand, arial, verdana, sans-serif; color: #fff;  text-decoration: none; font-weight: 400; padding: 8px; background: #43b3bd; }

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

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

.flexslider{
	display:none;
}

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

aside { 
	margin:40px 0;
}

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

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

.navbg { text-align:center; background: #93d2d9; padding: 15px 0; }


/*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: 1.5em; line-height: 1.5em; }

#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%;
}
.callaction1 { width: 100%; height: 80px; margin: 20px 0; background: #780300; color: #fff; text-align: center; font-size: 1.2em; padding-top: 10px; -moz-border-radius: 15px;
border-radius: 15px; -moz-box-shadow: 0 0 8px #000;
-webkit-box-shadow: 0 0 8px #000;
box-shadow: inner 0 0 8px #000; }

.callaction2 { width: 100%; height: 130px; margin: 20px 0; background: #869f55; color: #fff; text-align: center; font-size: 1.2em; -moz-border-radius: 15px;
border-radius: 15px; -moz-box-shadow: 0 0 8px #000;
-webkit-box-shadow: 0 0 8px #000;
box-shadow: inner 0 0 8px #000; }


/*Responsive Side Nav*/
* {

box-sizing: border-box;
}

.navWrapper { float: left; height: 100%; width: 100%; background: #b4b8c4; border-top: 1px solid #fff; }
.navWrapper ul { margin: 0; padding: 0; list-style: none; }
.navWrapper li { margin: 0; padding: 0; border-bottom: solid 1px #fff; }
.navWrapper a { font-weight: 500; margin: 0; padding: 5px 22px; display: block; letter-spacing: 1; text-decoration: none; color: #fff; font-size: 15px; }

.navWrapper a:hover { color: #152649; }

.navMenu { margin: 0; text-align: right; }

/* submenu */

.subMenu a {

font-weight: 500;

font-size: 14px;

padding: 4px 22px;

}

/* mobile icon */

.mobileTrigger {

display: none;

text-align: right;

.header1 { color: #fff; position: absolute; top: 0; left: 10%; z-index: 150; font-size: 1em; text-align: center; line-height: .8em; }

}

 

 

@media screen and (max-width: 820px) {

.desktop-logo {

display: none;

}

.mobile-logo {

width: 45px;

float: left;

margin-bottom: 20px;

}

.navWrapper {
height: auto; width: 100%; overflow: hidden;
}

.navMenu {

display: none;

clear: both;

}

.navWrapper a {

display: block;

padding: 12px 25px;

border: none;

border-top: 1px solid #ebebeb;

text-align: left;

}

/* submenu */

.subMenu a {

padding-left: 50px;

background-color:#666;

}

/* mobile icon */

.mobileTrigger {

display: block;

color: #fff;

padding: 15px 30px;

overflow: hidden;

}

.fa-bars {

font-size: 26px;

padding-top: 6px;

}

.nav-expanded {

display: block;

}
}
/*End Responsive Side Nav*/
#picbar { clear: both;  margin-top: -20px; position: relative; z-index: 100; text-align: center; }


/*.shadow { box-shadow: 0px 1px 5px 0px #4A4A4A; -moz-box-shadow: 0px 1px 5px 0px #4A4A4A; -webkit-box-shadow: 0px 1px 5px 0px #4A4A4A; height: auto;  border: solid 10px #fff; padding-bottom: -20px!important;
}*/
/*colors and backgrounds*/

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0; 
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
   
  }
  
  #slideshow { -moz-box-shadow: 0 0 8px #dbdbdb;
-webkit-box-shadow: 0 0 8px #dbdbdb;
box-shadow: inner 0 0 8px #dbdbdb; }

.header1 { color: #fff; position: absolute; top: 0; left: 12%; z-index: 150; font-size:1.2em; text-align: center; line-height: .8em; }

h1 { font-family: Quicksand, arial, verdana, sans-serif; font-size: 2.5em; font-weight: 400; margin-bottom: 0; line-height: 1.1em; }
h2 { font-size: 1.8em; font-family: Quicksand, arial, verdana, sans-serif;  font-weight: 400; line-height: 28px; }
h3 { font: 1.3em arial, verdana, sans serif; font-weight: 700; line-height: 28px; }
.header1 h1 { font-size: 1.5em; }
.header1 h2 { margin: 8px 0 0 0;  font-size: 1em; }

span#nav1 a { color:#800000; background: #b4b8c4; }
span#nav1 a:visited { color:#800000; background: #b4b8c4; }
span#nav1 a:hover { color:#d00000; background: #b4b8c4; }

span#nav2 a { color:#617339; background: #b4b8c4; }
span#nav2 a:visited { color:#617339; background:url(../images/navbar.png) repeat-x  #b4b8c4; }
span#nav2 a:hover { color:#7f944c; background:#b4b8c4; }

span#nav3 a { color:#9c6e00; background: #b4b8c4; }
span#nav3 a:visited { color:#9c6e00; background:url(../images/navbar.png) repeat-x  #b4b8c4; }
span#nav3 a:hover { color:#c48b02; background:#b4b8c4; }

#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: #5b89b5; color: #fff; font-weight: 700; text-align: center;
	}
footer h1, footer h2, footer h3, footer h4{ 
	color:#895881; 
	margin-bottom:10px;
}
footer ul{
	margin:0 0 0 8%;
}

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; }
	
	.gallery {
    margin: 0 !important;
    padding: 5px !important;
    border: 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;
}
#socialbg { background: #5aaaa5; padding: 20px; }

.gold { color: #D4A017; font-weight: 700; }

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

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; }
.header1 h1 { font-size: 2.5em; }
.header1 h2 { margin: 8px 0 0 0;  font-size: 1.8em; }

} 

/*
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%;
	padding: 20px 70px;
}

.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%;
}

.header1 h1 { font-size: 2.5em; }
.header1 h2 { margin: 8px 0 0 0;  font-size: 1.8em; }




/*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*/
.header1 h1 { font-size: 2.5em; }
.header1 h2 { margin: 8px 0 0 0;  font-size: 1.8em; }

.header1 { color: #fff; position: absolute; top: 0; left: 16%; z-index: 150; font-size: 1.5em; text-align: center; line-height: .8em; }

} 

/*
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;
}
.header1 h1 { font-size: 2.5em; }
.header1 h2 { margin: 8px 0 0 0;  font-size: 1.8em; }

.header1 { color: #fff; position: absolute; top: 0; left: 30.5%; z-index: 150; font-size: 1.5em; text-align: center; line-height: .8em; }

} 

/*
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;
}
.header1 { color: #fff; position: absolute; top: 0; left: 10%; z-index: 150; font-size: 1em; text-align: center; line-height: .8em; }
} 

/*
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;
}
.header1 { color: #fff; position: absolute; top: 0; left: 10%; z-index: 150; font-size: 1em; text-align: center; line-height: .8em; }
}

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