/*! Made with Bones: http://themble.com/bones :) */
/*********************
GENERAL STYLES
*********************/
body{font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:112.5%;line-height:1.5;color:#000;background: #fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing: grayscale;}
body.home, body.home #container{overflow-x: hidden;}
.wrap{width:96%;margin:0 auto;padding:0 5%}
.wrap-narrow{max-width:1000px;width:96%;margin:0 auto}
.hidden{display:none}
strong{font-weight:800}
/*********************
LINK STYLES
*********************/
/* a[href^=tel] { color: inherit; text-decoration: none; }stop iOS coloring phone numbers */
a,a:visited{color:#84994e;font-weight:700;transition: all .25s ease-in-out;-moz-transition: all .25s ease-in-out;-webkit-transition: all .25s ease-in-out;text-decoration:none;}
a:hover,a:focus,a:visited:hover,a:visited:focus{color:#7191ca}
a:link,a:visited:link{-webkit-tap-highlight-color:rgba(0,0,0,0.3)}
/*Remove focus boxes firefox*/
a:focus, a:hover, a:active { outline:none } 
/***** Simple Positive Fade *****/
.fader {opacity: 0.8;transition: opacity .25s ease-in-out;-moz-transition: opacity .25s ease-in-out;-webkit-transition: opacity .25s ease-in-out;}
.fader:hover {opacity: 1;}

/******************************************************************
H1, H2, H3, H4, H5 STYLES
******************************************************************/
h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5{text-rendering:optimizelegibility;font-weight:500}
h1 a,.h1 a,h2 a,.h2 a,h3 a,.h3 a,h4 a,.h4 a,h5 a,.h5 a{text-decoration:none}
h1,.h1{font-size:48px;line-height:1.333em;color:#7191ca;padding:.5em 0}
h1.main_title{color:#fff;}
.article-header{height:100%;display:table}
.article-header h1{text-align:center;text-transform:uppercase;height:100%;display:table-cell;vertical-align:middle;padding-top:.5em}
h2,.h2{font-size:1.75em;line-height:1.4em;margin-bottom:.375em;font-weight:700;color:#7191ca;}
h2.subtitle{margin:.5em 0 1em 0;}
.entry-title{text-transform:uppercase;margin-top:2.75em 0;}
.archive-title{text-transform:uppercase;}
h3,.h3{font-size:1.5em;font-weight:700;color:#7191ca}
h3.search-title{margin-bottom:0;}
h4,.h4{font-size:1.25em;font-weight:700}
.heading_alt{display:inline-block;padding:0 2em;margin:0 auto}
.heading_alt:after{content:'';display:block;height:1px;border-bottom:1px solid #fff7;padding-bottom:.25em;margin:0 auto;margin:0 0 .5em -15%;width:130%}


/*********************
FLEX
*********************/
.flex-container{display: flex;flex-direction: row;flex-wrap: wrap;display: -ms-flexbox;-ms-flex-direction: row;-ms-flex-wrap: wrap;/*height: 100%;*/}
.flow {justify-content:space-evenly;}
.flex-column{flex-direction: column;}
.reverse{flex-direction: row-reverse;}
.flex-item{flex:1 0 auto}
.center{align-items: center;justify-content: center;-ms-justify-content:center;-ms-flex-pack:center;-ms-flex-line-pack:stretch;-ms-flex-align: center;}

/* two coolumn layout - adjust or augment as neccessary */
.lesser{order:2;flex: 0 0 100%;}
.greater{order:1;flex: 0 0 100%}
.full,.halves,.thirds,.quarters,.fifths,#sidebar3 .widget{flex: 0 0 100%}
.first{order:1;}
.second{order:2;}


/*********************
SHARED TRANSITIONS
*********************/
.header,#inner-header,.header.tuck #inner-header,.inner-header-wrap,#logo img,span.phone,.cta_btn,.navigation,.navWrap{
	/*transition: .75s cubic-bezier(0.165, 0.84, 0.44, 1);-moz-transition: .75s cubic-bezier(0.165, 0.84, 0.44, 1);-webkit-transition: .75s cubic-bezier(0.165, 0.84, 0.44, 1);*/
	transition: all .75s ease-in-out;-moz-transition: all .75s ease-in-out;-webkit-transition: all .75s ease-in-out;
}
.bgimg,.navWrap{transition: all .25s ease-in-out;-moz-transition: all .25s ease-in-out;-webkit-transition: all .25s ease-in-out;}
/*********************
HEADER STYLES
*********************/

.header{background:#fff;width:100%;position:fixed;top:0;left:0;z-index:999}
.inner-header-wrap{background:#fff;}
#logo{display:block;width:100%;text-align:center}
#logo img{transform: scale(.65);margin:0;}
#inner-header{max-height:159px}
span.phone::before{font-size:25px;}
span.phone{display:block;padding:0 0 10px;margin-top:-5px;text-align:center;width:100%;}
span.phone, span.phone a{color:#173156;}
span.phone a{font-family:'Open Sans', sans-serif;font-weight:700;font-size:16px;font-weight:700;vertical-align: top;line-height: 27px;padding-left:5px;}
.cta_btn{display:none;margin:0 auto}
.cta_btn i{font-size:170%;padding-right:10px;}
.cta_btn span{display:inline-block;font-size:125%;}


/*********************
NAVIGATION STYLES
*********************/
.navWrap{padding:0;}
.navbar-fixed {top: 0;z-index: -1;position: fixed;opacity:.95;padding:0;}

/* styles common to .nav - all screen sizes */
.nav{border-bottom:0;margin:0;list-style:none;}
.nav li a{display:block;color:#fff;text-decoration:none;padding:.75em 1em;text-transform:uppercase;font-weight:700;font-size:18px;color:#173156;}
.header.tuck .nav li a{padding:.25em 1em;}
.nav li ul.sub-menu li a,.nav li ul.children li a{padding-left:30px}
.navigation{background:#fff;display:none;}

/* Mobile Menu Styles */
#menu-the-main-menu{display:none;}
.menuToggle{display:block;position:absolute;top:10px;right:.25em;z-index:100;transform:scale(0.75);}
.hamburger-inner,.hamburger-inner:after,.hamburger-inner:before{background:#43597A !important;}

#menuToggle{position: fixed;}
.hamburger-label{position:absolute;left:14px;top:-10px;margin-top:2px;color:#B40417;font-weight:700;font-size:15px;}
#slide_menu{top:0 !important;}
.mm-menu{background: rgba(67, 89, 122, 0.65) !important;}
.mm-navbar{background: rgba(67, 89, 122, 0.95) !important;}
.mm-navbar:first-of-type{padding-top:10px !important;}
.mm-menu a{color:#fff !important;font-weight:600;}
.mm-menu .mm-listview .mm-btn_next::after, .mm-menu .mm-btn::after, .mm-menu .mm-btn::before {border-color: #fff !important;}
.mm-listitem_selected::after {display:none !important;}
.mm-menu_border-offset .mm-listitem::after, .mm-panel_border-offset .mm-listitem::after {right: 0 !important;}
.mm-listitem::after {left:0 !important;}
.phone::before, .email::before{font-size:25px;}
.closer::before{font-size:50px;padding:2px;border:1px solid #fff; -moz-border-radius: 30px;border-radius: 30px;}
/* end .nav */


/*********************
POSTS & CONTENT STYLES
*********************/
/* Add page-entry for styling without structured data */
#content{margin-top:130px}
.quiz{padding:3em 0 2em}
.hentry, .page-entry {background-color:#fff;margin-bottom:1.5em;}
.hentry, .page-entry  header{padding:1.5em 1.5em 0}
.hentry, .page-entry  footer{padding:1.5em;}
body.search .hentry{padding:0 1.5em;}
.hentry, .page-entry  footer p{margin:0}
.single-title,.page-title,.entry-title{}
.byline{color:#9fa6b4;font-style:italic;margin:0}
.entry-content{padding:1.5em 1.5em 0}
.entry-content p{margin:0 0 1.5em}
.entry-content table{width:100%;margin-bottom:1.5em}
.entry-content table caption{margin:0 0 7px;font-size:.75em;color:#9fa6b4;text-transform:uppercase;letter-spacing:1px}
.entry-content tr{}
.entry-content tr:nth-child(even){background-color:#f8f9fa}
.entry-content td{padding:7px;border-right:1px solid #eaedf2}
.entry-content td:last-child{border-right:0}
.entry-content th{background-color:#f8f9fa;}
.entry-content th:last-child{border-right:0}
.entry-content blockquote{margin:0 0 1.5em .75em;padding:0 0 0 .75em;font-style:italic;color:#9fa6b4}
.entry-content dd{margin-left:0;font-size:.9em;color:#787878;margin-bottom:1.5em}
.entry-content img{margin:0 0 1.5em;max-width:100%;height:auto}
.entry-content .size-auto,.entry-content .size-full,.entry-content .size-large,.entry-content .size-medium,.entry-content .size-thumbnail{max-width:100%;height:auto}
.entry-content pre{background:#323944;color:#f8f9fa;font-size:.9em;padding:1.5em;margin:0 0 1.5em;}
.wp-caption{max-width:100%;background:#eee;padding:5px}
.wp-caption img{max-width:100%;margin-bottom:0;width:100%}
.wp-caption p.wp-caption-text{font-size:.85em;margin:4px 0 7px;text-align:center}
.tags{margin:0}
.alignleft, img.alignleft, .alignright, img.alignright {display: block;float: none;margin: 0 auto 1em;}
.aligncenter, img.aligncenter {display: block;margin: 0 auto;}
.alignnone, img.alignnone {/* not sure about this one */}
.page-entry ul, .page-entry ol{padding:1em 0 1em 1em}

/* =Button
-------------------------------------------------------------- */
.btn, .btn:visited, a.btn, .wpcf7-submit, .wp-block-search__button{
	padding:						12px 25px;
	-webkit-border-radius:	25px;
	-moz-border-radius:		25px;
	border-radius:				25px;
	text-decoration:			none;
	font-size:					14px;
	font-weight:				700;
	text-transform:			uppercase;
	cursor: 						pointer;
   margin-bottom: 			20px;
   line-height: 				21px;
   display: 					inline-block;
   border:						0;
   background:					#7191ca;
   color:						#FFF
}
.btn a, .btn a:visited{color:#fff;}

.btn:hover, .btn:focus, 
.btn:visited:hover, 
.btn:visited:focus, .wpcf7-submit:hover
{
   background:				#84994e;
   color:					#FFF !important;
}

.btn.alt, .wp-block-search__button{background:#84994e;}
.btn.alt:hover, .wp-block-search__button:hover{background:#7191ca;}

/* __________________________ TABS OVERRIDES - uncomment if using tabs-2-accordions*/
.tabs{margin-bottom:20px;}
.tabnav{margin:0;padding:0;width:100%;display:none;}
.tabs .content{display:none;background:#fff;padding:.5em;overflow:hidden;opacity:1;transition: opacity .5s ease-in-out;-moz-transition: opacity .5s ease-in-out;-webkit-transition:opacity .5s ease-in-out;}



/* __________________________ TESTIMONIAL Styles */
#quotes_wrap{position:relative;background-repeat:none;background-size:cover;background-position:top center;min-height:285px;overflow:hidden;}
#quotes_wrap .block_title{padding-bottom:0;}
.overlay_t{position:relative;top:0;left:0;background: rgba(22, 48, 85, 0.5);width:100%;height:100%;/*display:table;*/padding:2em 0 2.5em;}
.slider_quotes{width:80%;margin:0 auto;}
.quote{padding:1em 1em;color:#fff;text-align:center;}
.quote_text{font-style:italic;font-size:18px;}
.quote_author{display:block;margin-top:1.5em;}

/* __________________________ FEED Styles */
.blogfeed{position:relative;/*z-index:-1;*/}
.blog_post{margin-bottom:2em;padding:0 .5em;}
.blogfeed .block_title{color:#5aaae1;}
.post_meta_wrap{background:#f1f2f2;height:100%;}
.post_thumb{background:#fff;font-size:0px;line-height:0px}
.post_thumb img{max-width:100%;height:auto;}
.post_thumb.def img{border:1px solid #666}
.blog_post .post_title{display:block;margin-bottom:.75em;}
.blog_post .post_excerpt{padding:2em;}

#banner{position: relative;display:flex;align-items:center;background-position: top center;background-repeat: no-repeat;background-attachment: scroll;background-size: cover;z-index:-1;}
.overlay_p{position:absolute;top:0;left:0;background: rgba(91, 170, 224, 0.6);width:100%;height:100%;z-index:5}
#banner header{position:relative;z-index:10;}




/******************************************************************
PAGE NAVI STYLES
******************************************************************/
.pagination,.wp-prev-next{margin:1.5em 0}
.pagination{text-align:center}
.pagination ul{display:inline-block;background-color:#fff;white-space:nowrap;padding:0;clear:both;border-radius:3px}
.pagination li{padding:0;margin:0;float:left;display:inline;overflow:hidden;border-right:1px solid #eaedf2}
.pagination a,.pagination span{margin:0;text-decoration:none;padding:0;line-height:1em;font-size:1em;font-weight:400;padding:.75em;min-width:1em;display:block;color:#2980b9}
.pagination a:hover,.pagination a:focus,.pagination span:hover,.pagination span:focus{background-color:#2980b9;color:#fff}
.pagination .current{cursor:default;color:#5c6b80}
.pagination .current:hover,.pagination .current:focus{background-color:#fff;color:#5c6b80}
/* fallback previous & next links */
.wp-prev-next .prev-link {float: left; }
.wp-prev-next .next-link {float: right; }

/******************************************************************
COMMENT STYLES
******************************************************************/
#comments-title{padding:.75em;margin:0;border-top:1px solid #f8f9fa}
.commentlist{margin:0;list-style-type:none}
.comment{position:relative;clear:both;overflow:hidden;padding:1.5em;border-bottom:1px solid #f8f9fa}
.comment .comment-author{padding:7px;border:0}
.comment .vcard{margin-left:50px}
.comment .vcard cite.fn{font-weight:700;font-style:normal}
.comment .vcard time{display:block;font-size:.9em;font-style:italic}
.comment .vcard time a{color:#9fa6b4;text-decoration:none}
.comment .vcard time a:hover{text-decoration:underline}
.comment .vcard .avatar{position:absolute;left:16px;border-radius:50%}
.comment:last-child{margin-bottom:0}
.comment .children{margin:0}
.comment[class*=depth-]{margin-top:1.1em}
.comment.depth-1{margin-left:0;margin-top:0}
.comment:not(.depth-1){margin-top:0;margin-left:7px;padding:7px}
.comment.odd{background-color:#fff}
.comment.even{background:#f8f9fa}
.comment_content p{margin:.7335em 0 1.5em;font-size:1em;line-height:1.5em}
.comment-reply-link{font-size:.9em;float:right}
.comment-edit-link{font-style:italic;margin:0 7px;text-decoration:none;font-size:.9em}
.comment-respond{padding:1.5em;border-top:1px solid #f8f9fa}
#reply-title{margin:0}
.logged-in-as{color:#9fa6b4;font-style:italic;margin:0}
.logged-in-as a{color:#5c6b80}
.comment-form-comment{margin:1.5em 0 .75em}
.form-allowed-tags{padding:1.5em;background-color:#f8f9fa;font-size:.9em}
#submit{float:right;font-size:1em}
#comment-form-title{margin:0 0 1.1em}
#allowed_tags{margin:1.5em 10px .7335em 0}
.nocomments{margin:0 20px 1.1em}

/*********************
SIDEBARS & ASIDES
*********************/
.widget ul{list-style:none}
.no-widgets {background-color: white;padding: 1.5em;text-align: center;border: 1px solid #cccccc;border-radius: 2px; margin-bottom: 1.5em;color:#333 }
.pageNav{list-style:none;padding-left:0;}
.pageNav a{text-transform:uppercase;font-size:18px;color:#000f4d;}
.pageNav li{margin-bottom:10px;}
.pageNav li.current_page_item a, .pageNav a:hover{color:#01ABEB;}
.sidebar .widgettitle{font-size:18px;font-weight:700;text-transform:uppercase;}
#sidebar3{padding-right:10%;}
#sidebar3 .widgettitle{color:#5aaae1;}

/*################## PHOTOSPACE GALLERIES (move thumbs under) ##################*/

/* ADD ADITIONAL JS (scripts.additions.js) TO CALCULATE HEIGHTS!!!! */
.photospace_res {margin: 0.5em auto 1em;/*padding: 0 0 25% !important;*/}
.photospace_res .thumbs_wrap2 {bottom: 0;left: 0;position: absolute;width: 100%;}
.photospace_res .psr_paging {display:none}
.photospace_res .caption {text-align:center}

/* equalize reset for smaller screens? Requires support in scripts.js to add/remove class */
.forceAuto{height:auto!important;}

/*********************
FOOTER STYLES
*********************/
.footer {clear: both; background-color: #43597a; color: #f8f9fa; font-size:90%;}
#inner-footer{padding:2em;}
.footer a{color:#fff;font-weight:400}
.footer a:hover{color:#5aaae0;}
#sticky{background:#00b49d;margin-top:2em;}
#stickyTrigger{height:0px;width:0px;}
#sticky.stickyClone{display:none;}
.module a{display:block;padding:1em;text-align:center;color:#fff;position:relative;}
.module a i{font-size:200%;margin-right:.25em;vertical-align:middle;}
.module a span{font-size:87.5%;font-weight:700;}
.module a:hover{background:#0C9A84;color:#fff;}


#searchform{position:relative;height:70px;width:80%;margin:2.5em 0 0;transition: .75s ease-in-out;-moz-transition: .75s ease-in-out;-webkit-transition: .75s ease-in-out;}
#s, #searchsubmit{position:absolute;}
#s{top:0;left:0;width:100%;width:100%;max-width:none;padding-left:15px;padding-right: 130px;height:44px;line-height:44px;border-radius:20px;border:1px solid #efefef;}
#searchsubmit{width:100px;top:0;right:0;height:43px;}


/***** SOCMED *****/
ul#socmed{margin:0;padding:15px 0 0 ;list-style:none}
ul#socmed li {padding: 0 15px 0 0;margin-bottom:20px;float:left;}
ul#socmed li a span {display:block;text-indent:-999em;}
ul#socmed li a:before{width:35px;height:35px;border-radius:22px;font-size:22px;display:inline-block;text-align: center;line-height: 35px;padding:.15em;transition: .3s ease-in-out;-moz-transition: .3s ease-in-out;-webkit-transition: .3s ease-in-out;}
ul#socmed li a:before{background:#fff;color:#84994e;}
ul#socmed li a:hover:before{background:#84994e;color:#fff;transform: scale(1.2);}


.btn-edit-post-link{position:fixed;bottom:1em;left:-120px;padding:10px 60px 8px 30px !important;font-weight:400;margin:0;z-index:10;background:#ff9900 !important}
.btn-edit-post-link:hover{position:fixed;bottom:1em;left:-20px;padding:10px 60px 8px 30px !important;color:#fff !important;}
.btn-edit-post-link .dashicons{position:absolute;top:10px;right:10px;}

