/*

MOBILE SIZE
	These are the mobile styles.
*/

/* typography */
body{
	background:#fff;
	color:#596369;
	font-family:Raleway, sans-serif; 
	font-size:1em;
	line-height:1.5em; 
	font-weight:normal;
}

h1 { font-family: Raleway, sans-serif; font-weight:normal; line-height:1.4em;
	margin:.45em 0;
	padding:0; }

 h2, h3, h4, h5, h6{
	font-weight:normal;
	font-family:Raleway, sans-serif;
	line-height:1.5em;
	margin:.45em 0;
	padding:0;
} 


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

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

a,
a:visited,
a:active { color:#988d62; text-decoration: none; font-weight: 500; }
a:hover{color:#706846; text-decoration:none; font-weight: 500;}


/* Box sizing */
*{	box-sizing:border-box;
	-moz-box-sizing:border-box;}

  
/* structure */   
.wrapper{
	width: 92%; 
	margin: 0 auto;
}
header{ 
	padding:15px 0; color: #000;
}

#hero{
	background: #7c9aa5;
	z-index: 9;
	width: 100%; 
}

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


#hero2 {
	background:#469e88;
	padding:0;
}

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

#hero p { padding: 5px 0 0 0; margin: 0; }

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

.dots { border-top: solid 1px #ccc; padding-bottom: 10px; }
#topnav, .srt-menu {
	margin: 1.5em 0 0 0;
	/*width: 92%;*/
}
.offers h4 { font-size: 1.6em; text-align: center; color: #f2f1e8; }
.offers { text-align: center; font-size: 1.3em; background: #7c9aa5; padding: 5px; color: #fff; margin-bottom: 15px; }
.dotsgold {  border-bottom: dotted 1px #c89c16; }

/*MAIN MENU*/
.navigation {
		margin: 0 auto;
		/*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: #596369;
			/*width: 94%;*/
			font-weight: normal;
			text-decoration: none;
		}
		.navigation ul li a:hover
		.navigation ul li a.nav-selected {
			color: #293135;
		}
		
/* 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: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;
}
div#ccm-highlighter {z-index:100!important;}
.quotes { position:relative; max-width:95%; list-style-type:none; text-align:center; margin:0 auto; padding:0 }
.quotes li { position:absolute; left:0; right:0; background:#e9eef1; text-align:center; padding:1em; border-radius:0.25em; opacity:0 }
.quotes li:last-child { position:relative }
.quotes li:after { /* quote triangle */
	position:absolute; content:""; display:block; width:0; height:0; top:1.75em; left:-0.75em;
	border-top:0.75em solid transparent;
	border-bottom:0.75em solid transparent;
	border-right:0.75em solid #e9eef1   
	}
.quotes span { display:block; text-align:right; margin-right:5%; font-size:75%; font-style:italic; color:#999 }

/* animation timing  =  animation:quote [total duration in secs] [increment by duration of each animation] infinite; */
.quotes li:nth-child(1) { -webkit-animation:quote 50s 0s  infinite; animation:quote 50s 0s  infinite }
.quotes li:nth-child(2) { -webkit-animation:quote 50s 10s  infinite; animation:quote 50s 10s  infinite }
.quotes li:nth-child(3) { -webkit-animation:quote 50s 20s infinite; animation:quote 50s 20s infinite }
.quotes li:nth-child(4) { -webkit-animation:quote 50s 30s infinite; animation:quote 50s 30s infinite }
.quotes li:nth-child(5) { -webkit-animation:quote 50s 40s infinite; animation:quote 50s 40s infinite }
 
@-webkit-keyframes quote { /* whole numbers only - round steps to nearest % */
	0%   { opacity:0 }
	5%   { opacity:1 } /* (step 2 % = 100% / total quotes x .25) */
	15%  { opacity:1 } /* (step 3 % = 100% / total quotes x .75) */
	20%  { opacity:0 } /* (step 4 % = 100% / total quotes) */
	}
@keyframes quote { /* whole numbers only - round steps to nearest % */
	0%   { opacity:0 }
	5%   { opacity:1 } /* (step 2 % = 100% / total quotes x .25) */
	15%  { opacity:1 } /* (step 3 % = 100% / total quotes x .75) */
	20%  { opacity:0 } /* (step 4 % = 100% / total quotes) */
	}


.formblock { width:100%;
    padding:30px;
    margin:40px auto;
    background: #f8f8f8;
    border-radius: 10px;
    -webkit-border-radius:10px;
    -moz-border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13); }
input[type="text"],
input[type="email"],
textarea,
select {
    display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    -moz-border-radius:6px;
   	margin-bottom: 20px;
}

.section{
    font: normal 20px 'Bitter', serif;
    color: #2A88AD;
    margin-bottom: 5px;
}
.section span {
    background: #2A88AD;
    padding: 5px 10px 5px 10px;
    position: absolute;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    font-size: 14px;
    margin-left: -45px;
    color: #fff;
    margin-top: -3px;
}
input[type="button"], 
input[type="submit"]{
    background: #2A88AD;
    padding: 8px 20px 8px 20px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    color: #fff;
    font: normal 30px 'Bitter', serif;
    border: 1px solid #257C9E;
    font-size: 15px;
}
input[type="button"]:hover, 
input[type="submit"]:hover{
    background: #2A6881;
   }
.text-muted { font-size: .8em; color: #9f2121; }
.required { color: #d71919; }

a.buttonlink{ 
	background:#c2d0d0; 
	border-radius:7px; 
	color:#fff;
	margin:10px 15px 10px 0; 
	padding:10px;
	text-decoration:none; text-align: center;
	white-space: nowrap;
}
a.buttonlink:hover{
	background:#c6dada;
}

a.buttonlinkbook{ 
	background:#22272c; 
	border-radius:7px; 
	color:#a99771;
	margin:10px 15px 10px 0; 
	padding:10px;
	text-decoration:none; text-align: center;
}
a.buttonlinkbook:hover{
	background:#233545;
}
table { width: 100%; }

table td { border: 1px solid #ccc; padding: 10px; }

tbody tr:nth-child(even) { background: #e8f1f2; }

/*FOOTER*/
footer{  
	clear:both;
	padding:20px 0;
	background: url(../images/footer.jpg) no-repeat #7c9aa5 top;
	background-size: cover;
	min-height: 450px;
	
}
footer ul{
	margin:0;
	padding:0;
}

footer p { line-height: 1.5em; color: #fff; }

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

.tel { font-size: 1.5em; color: #b6cbea; }
.testimonials { background:#e9eef1; padding: 20px;}

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

/*colors and backgrounds*/


h1 {
	color:#485868;
}
h2, h3 { color: #43a2bd; }
h4, h5, h6 { color: #c59608; }


#logo { margin: 20px 0 0 0; }
.contact h3 { color: #705202; }

footer{ 
	padding-top: 50px;
}

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

/* 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: #bcc3b9; font-size:1em; font-weight: 500; padding: 5px 10px; margin: 15px 0; }
a.link2:visited { color: #fff; background: #bcc3b9; text-decoration: none; font-size:1em;  font-weight: 500; padding: 5px 10px; margin: 15px 0; }
a.link2:hover { color: #fff; background: #a7afa3;  text-decoration: none; font-size:1em;  font-weight: 500; padding: 5px 10px; margin: 15px 0; }

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

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

.whitelink a { color: #fff!important; text-decoration: none!important; }

.border { background: #fff; padding: 10px; }
.picright { float: right; padding: 0 0 0 20px; }

.clear { clear: both; }
.slider img { width: 100%!important; }
/*Responsive Nav*/
* { box-sizing: border-box;
}

.navWrapper { height: 100%; width: 100%;  }
.navWrapper ul li { margin: 0; padding: 0; list-style: none; display: inline; }
.navWrapper a { font-weight: 500; margin: 0; padding: 5px 10px; letter-spacing: 1; text-decoration: none; color: #e9eef2; font-size: 1em; }

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

.navMenu { margin: 40px 0 0 0; text-align: center; }

/* submenu */

.subMenu a {
font-weight: 500;
font-size: 14px;
padding: 4px 22px;
}

/* mobile icon */

.mobileTrigger {
display: none;
text-align: right;
}


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

.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 14px;
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: 5px 30px;
overflow: hidden;
}

.fa-bars {
font-size: 30px!important;
padding-top: 6px;
color: #fff;
}

.nav-expanded {
display: block;
}
}
/*End Responsive Side Nav*/
/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px) {

.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: 92%; 
	margin: 0 auto;
}

header{
	padding:0;
}
#content {  
	float:left;
	width:100%;
}
#content.wide-content{
	float:none;
	width:100%;
	margin: 30px auto 0;
}


/*MAIN MENU*/
.navigation {
	padding-top: 0;
	padding-bottom: 0;
}
.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: #596369;
	font-weight: normal;
	text-decoration: none;
}
.navigation ul li a:hover,
.navigation ul li a.nav-selected {
	color: #293135;
}

/*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;}
.quotes { position:relative; max-width:70%; list-style-type:none; text-align:center; margin:0 auto; padding:0 }
.paddingtop { padding-top: 35px; }
}

/*
DESKTOP
This is the average viewing window. Desktops, Laptops etc
*/
@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: 0;
	padding-bottom: 0;
	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 15px;
	width: 100%;
	display: inline;
	float: none;
	color: #596369;
	font-weight: normal;
	text-decoration: none;
}
.navigation ul li a:hover,
.navigation ul li a.nav-selected {
	color: #293135;
}
.center { margin: 0; }
} 

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

} 

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