/* Add your own custom css to this file. You may wish to use css !important calls to override css from the template css files.
----------------------------------------------------------- */

/* Add your own custom css to this file. You may wish to use css !important calls to override css from the template css files.
----------------------------------------------------------- 
blockquote {
	background:transparent url(../images/typography/s5_left_quote.png) no-repeat top left;
	color: white; font-size: 1.2em;
}

blockquote p {
	background:transparent url(../images/typography/s5_right_quote.png) no-repeat bottom right;
	margin-top:0pt;
	padding:0pt 65px 10px 0pt;
}

.btn:focus, a:focus {background-color: ddd;}
  
}*/
/* add masonry styling */
	
/* body font size
----------------------------------------------------------- */
#s5_body_padding {
	font-size:1.0em;
}
	
/* S5 MASONRY
----------------------------------------------------------- */

#s5_masonry_form_outer_wrap {
	padding-top: 20px;}

.s5_masonwrapinner p.s5masonrymod a, a.readon.noback { 
		background:transparent url("../images/button_arrow_dark.png") no-repeat scroll right center !important;
		padding:0 40px 0 0 !important;
		line-height:32px;}

/*JoomlArt's support for Masonry module*/
.s5_masondisplay_container .item:nth-child(odd) .s5_masonwrapinner {
    background: #003a5a !important;
    color: #FFFFFF !important;}

.s5_masondisplay_container .item:nth-child(odd) .s5_masonry_articletitle {color:#FFFFFF !important;}

ul.s5_masonry_articles li.s5_masonry_active a, ul#s5_masonry_articles li a:hover, .s5_toprow_right, .s5_botrow_left {
    background: #003a5a;
}
ul.s5_masonry_articles li.s5_masonry_active a, ul#s5_masonry_articles li a:hover {
    text-decoration: none;
    color: #fff !important;
}

/* new rules
----------------------------------------------------------- */
.s5_masonwrapinner {
  border: 1px solid #e7e7e7;
  -webkit-box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.05);
}
#s5_masondisplay_container .item:nth-child(odd) .s5_masonwrapinner {
background:#003a5a !important;
color:#FFFFFF !important;
}

#s5_masondisplay_container .item:nth-child(odd) .s5_masonry_articletitle {color:#FFFFFF !important;
}
		
a.readon.noback {
		display:block;
		margin-top:-20px;}
		
.s5_masonwrapinner p.s5masonrymod {
		margin-top:-6px;}
 
.s5_masonwrapinner p.s5masonrymod:hover a {
		color:#000 !important;
		background:none !important;}
 
.s5_masonwrapinner p.s5masonrymod a:hover {
		background:transparent url("../images/button_arrow_dark.png") no-repeat scroll right center !important;}


#s5_mason_load_more {
	background-image:url("../images/loadmore.png") !important;
	background-position:right center !important;
	background-repeat:no-repeat !important;
	width:100%;}
	
	#s5_mason_load_more:hover {
	background-color:#000 !important;
	background-position:right center !important;
	background-repeat:no-repeat !important;}
	
	

ul.s5_masonry_articles li {
float:left !important;
margin-bottom: 0 !important;
margin-left: 6px !important;
margin-right: 0 !important;
margin-top: -11px;
color:#000000 !important;
right:auto !important;
}

ul.s5_masonry_articles li a {
color: #565555 !important;
font-weight: 700 !important;
padding:9px;
}

ul.s5_masonry_articles {
float:left !important;
right:auto !important;
left:auto !important;
padding:0px !important;
margin-top:-68px !important;
}

.s5_masonwrapinner {
margin:0px !important;
margin-left:15px !important;
margin-right:15px !important;
}

#s5_masondisplay_container {
margin-left:-15px !important;
margin-right:-15px !important;
margin-bottom:-30px !important;
}

#s5_masonry_form_outer_wrap .item {
margin:0px !important;
margin-bottom:30px !important;
}

.s5_masonry_navwrap {
overflow:visible !important;
}

.s5masonmod_form {
padding:0px !important;
}

.s5_masonry_articletitle {
margin-bottom:10px !important; font-size: 1.5em;
}

.s5_masonry_articletitle a {
color:#000000 !important;
font-weight:600 !important;
}


.s5_masoncat {
left: 32px !important;
top: 32px !important;
font-size: 1em !important;
font-weight: 800;
color:#FFFFFF !important;
}

.s5_masoncat {

	background: #206282 none repeat scroll 0 0;

 }

.s5_mason_abi_wrap {
padding-top:2% !important;
  padding-bottom:5% !important;
    padding-left:5% !important;
    padding-right:5% !important;


}


.s5_mason_loadbutton {
 margin: 90px 0 23px;}
	
	
#s5_loading_inner {
	-webkit-box-shadow:0 0px 17px 4px rgba(0, 0, 0, 0.2); 
	box-shadow: 0 0px 17px 4px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 0px 17px 4px rgba(0, 0, 0, 0.2); 	
    bottom: 23px;
    height: 32px;
    position: fixed;
    left: 50%;
	padding:5px;
    top: 50%;
	margin-left: -32px;
    margin-top: -32px;
    width: 32px;
    z-index: 3;
	background:#fff url(../images/loading-bar-black.gif) no-repeat scroll center center;}
			
.s5_masondate { margin-bottom: 0;}	
.s5_mason_it_wrap {font-size: 0.9em;}

ul#s5_masonry_articles li.s5_masonry_active a, ul#s5_masonry_articles li a:hover, .s5_toprow_right, .s5_botrow_left {
    background: #003a5a;
}
ul#s5_masonry_articles li.s5_masonry_active a, ul#s5_masonry_articles li a:hover {
    text-decoration: none;
    color: #fff !important;
}
	
/*END MASONRY */

.title {font-size: 0.95em; }
.green_text {color: #3caf03;}

.bfQuickMode .bfLabelLeft label {
  width: 100%;}

.gray_box {
	background:#e7e7e7;
	padding:16px 25px 20px 25px;
}

.gray_box a, #s5_component_wrap_inner .gray_box a {
	text-decoration:none;
}

h4 {margin-top: 15px;}

ul.ul_arrow li {
    margin-top: 10px;
}

	#s5_component_wrap ul.ul_arrow {
		margin-left:15px;}

/* background colour in accordion menu and side menu */
#s5_accordion_menu h3 {
  background:#464646 !important;}

#s5_accordion_menu #s5_am_parent_div_current, #s5_accordion_menu .s5_accordion_menu_element {
background:#e9ebec!important;}

/*ul.menu li.current a, #s5_accordion_menu #current a, #s5_accordion_menu a:hover, .highlight1_text, .s5_is_display a {
    color: #00aeef !important;
}*/

.s5_am_innermenu #current .s5_accordion_menu_left a.mainlevel {
background:#dbddde !important;
}
/* ----- */


ul.s5_am_innermenu a:hover, .S5_submenu_item:hover span, .S5_grouped_child_item .S5_submenu_item:hover span, .S5_submenu_item:hover a, .S5_grouped_child_item .S5_submenu_item:hover a {color:#fff !important;}

.phone_number2 {
/*font-size:1.3em;*/
font-weight:600;
padding-top:2px;
color:#FFFFFF;
}

.phone_number2 img {
margin-right:8px;
margin-top:-4px;
}

.module_round_box.highlight1 .s5_mod_h3, .module_round_box.highlight2 .s5_mod_h3 {
color:#fff;
}

.aboutus {font-family: Montserrat !important; font-weight: 400;}

.s5_mod_h3 {
font-size:1.65em;
}
.picture_text {
/*position:relative;
width:100%;
max-width:1300px;
margin-left:auto;
margin-right:auto;*/
color:#fff;
}

.picture_text_right {
float: right;
width: 30%;
text-align:right;
margin-bottom:-75px;
}

@media screen and (max-width: 1200px){
	
	.picture_text_left {
	padding:12px;
	}
}
/*.picture_text_left {
float:left;
width:70%;
padding-top:30px;
} */

.picture_text_left h3 {
/*margin-bottom:26px;
font-size:2.2em; */color: #fff;
}

.picture_text_left h4 {
color: #fff;
} */

/*tabs and sliders */

ul.jwts_tabbernav li.jwts_tabberactive a {
 background:#339900 !important;
 color:#fff
}
ul.jwts_tabbernav li.jwts_tabberactive a:hover {
 background:#339900 !important;
 color:#fff
}
ul.jwts_tabbernav li.jwts_tabberactive a:before {
 content:'';
 width:0;
 height:0;
 border-style:solid;
 border-width:6px;
 position:absolute;
 border-color:#339900 transparent transparent transparent !important;
 top:40px;
 left:calc(44%)
}

.jwts_tabberlive {
 width: 95%;
}

body  {
  color:#4d4e4f; font-weight: 400; }

/*staff chart */
table.staff tr:hover {
    background-color: #f1f1f1;
}
table.chart th {
    border: 1px solid #ffffff;
    padding: 5px;
}
table.staff td {
    border: 1px solid #ffffff;
    font-size: 85%;
    line-height: 1.2em;
    padding: 8px 8px;
    text-align: left;
}
table.staff td a {
    color: #0766c3 !important;
}
table.staff tr.gray td {
    background-color: #e4e7e8; color: #313131;
    line-height: 1.2em;
}
table.staff tr.gray2 td {
    background-color: #dcdfe0; color: #313131;
    line-height: 1.2em;
}
/*regular chart */

table.chart tr:hover {
    background-color: #f1f1f1;
}
table.chart th {
    border: 1px solid #ffffff;
    padding: 5px;
}
table.chart td {
    border: 1px solid #ffffff;
    font-size: 85%;
    line-height: 1.2em;
    padding: 8px 8px;
    text-align: center;
}
table.chart td a {
    color: #0766c3 !important;
}
table.chart tr.teal td {
    background-color: #1b536e;
    border-bottom: 2px solid #ffffff;
    color: white;
    font-weight: 400;
    line-height: 1.2em;
    padding-left: 10px;
    padding-right: 10px;
       vertical-align: center;
 /*   text-transform: uppercase; */
}
table.chart tr.green td {
    background-color: #0091D0;
    border-bottom: 2px solid #ffffff;
    color: white;
    font-weight: bold;
    line-height: 1.2em;
    padding-left: 10px;
    padding-right: 10px;
    text-transform: uppercase;
}
table.chart tr.gray td {
    background-color: #e4e7e8; color: #313131;
    line-height: 1.2em;
}

table.chart tr.yellow td {
    background-color: #a9dbf3; color: #313131;
    line-height: 1.2em;
}

table.chart tr.gray2 td {
    background-color: #dcdfe0; color: #313131;
    line-height: 1.2em;
}

.s5_mod_h3 {
  margin-bottom:10px; }
  
.module_round_box.split_title .s5_h3_last {
font-size:1.0em;font-weight:400;
}

.module_round_box.split_title .s5_h3_first {
display:block;
font-size:1.2em;
font-weight:600;
}

blockquote{
  font-size: 1.4em;
  width:80%;
  margin:25px auto;
  font-family:Open Sans;
  font-style:italic;
  color: #555555;
  padding:0 30px 0 45px;
 /* border-left:8px solid #78C0A8 ;*/
  line-height:1.6;
  position: relative;
  background:none;
}

blockquote::before{
  font-family:Arial;
  content: "\201C";
  color:#1b536e;
  font-size:4em;
  position: absolute;
  left: -5px;
  top:-25px;
}

blockquote::after{
  content: '';
}

blockquote span{
  display:block;
  color:#333333;
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}

.pages_highlight_box{padding:10px 35px 20px;35px;}
.pages_highlight_box h3{text-transform:none;font-size:1.5em;}

/*-------------*/

#s5_pos_custom_1 {
float:right;
margin-top:5px;
}
#s5_logo_wrap {
cursor:pointer;
float:left;
margin-top:5px;
margin-bottom:25px;
}

#s5_bottom_row3_wrap {
margin-top:30px;
padding-top:45px;
padding-bottom:45px;
color:#FFFFFF;
}

.tab_left {
float:left;
width:48%;
}

.tab_right {
float:right;
width:48%;
}

.tab_left_38 {
float:left;
width:38%;
}

.tab_right_58 {
float:right;
width:58%;
}

/* add background image to footer */
#s5_footer_area1 {
 background: #003a5a; padding-top:55px;
padding-bottom:55px;
}

#s5_footer_area1 a {color: #fff;}


/* testimonial modifications */
.customer_quotes {
margin-top:50px; padding-bottom:5px;

}

/*three services modifications */

.icon_text img {
margin-bottom:15px;background:#c4c4c4;
/*	border:1px solid #ffffff; */
	padding:3px;
	margin-right:10px;
}

.boxed_white{
	background:#ffffff;
	border:1px solid #ffffff;
	padding:2px;
	margin-right:10px;
	margin-bottom:10px;}

.icon_text h4 {
margin-bottom:10px;
}

/* module class DARK modifications */

.module_round_box.dark {
  background:#003a5a; }

.customer_quote_name strong {
font-weight:700;
  color:#0792b2; }

/* strip above logo */
#s5_top_sub_bar_inner {
background:none;
padding-top:5px;
padding-bottom:10px;
}

/* Hours and Address mods */

.top_info {
font-size:1.1em;line-height: 1.55em;margin-top:20px;
}

.top_info_set_inner {
padding-left:65px;
}


#s5_top_row1_wrap, #s5_top_row3_wrap, #s5_bottom_row1_wrap, #s5_bottom_row2_wrap, #s5_bottom_row3_wrap, #s5_above_columns_wrap1, #s5_below_columns_wrap1, #s5_center_area1 {
padding-top:25px;
padding-bottom:1px;
}

#s5_top_row2_wrap {
padding-top:5px;
padding-bottom:5px;}

#s5_top_row1_wrap {
padding-top: 45px; padding-bottom:0px;}

#s5_component_wrap {
padding:20px 60px 80px 50px; 
}

.left_title h3 {
/*float:left;
width:26%;
padding-right:6%;
margin-right:6%;*/
/*border-right:solid 2px #E0E0E0; */
font-size:1.5em;color:#3caf03;font-weight:800;
/*text-align:right; */
}

.left_title {
 font-size: 1.2em;
}

#s5_component_wrap_inner h2 a, #s5_component_wrap_inner h1 a {
text-decoration:none; font-size:.9em;
color:#004a8b; line-height: 90% !important;
}

#s5_component_wrap_inner h2 {
  line-height: 110% !important;}

.item, .items-leading {
margin-bottom: 50px !important; margin-left: 15px; margin-right: 15px;
}

h1, h2, h3, h4, h5 {
line-height:130%;
font-weight:600;
color:#004a8b;
}
h4.s5_masonry_articletitle .item:nth-child(odd) {color:#FFFFFF !important;
}

/* Service Boxes */

.service_item_text {
padding:25px;
padding-top:25px;
}

.service_item_text h3 {
padding-bottom:18px;
  font-size: 1.23em;
 }

.service_item_text .readon {
margin-top:18px;
margin-left:-25px;
margin-right:-25px;
margin-bottom:-80px;
}

/* home page - FAQ intro */
.centered_title {
max-width:1000px;
}
.faqs_wrap .centered_title {
margin-bottom:45px;
}
/* k2 mods */

div.itemTwitterButton {float:left;margin:6px 24px 0 0;}
div.itemToolbar {padding:8px;margin:1px 0 0 0;background:#fafafa;border-radius:4px;}
div.itemHeader h2.itemTitle {padding:10px 0 4px 0;margin:0;line-height:130%;
font-weight:800;
color:#000000; margin-bottom: 10px !important;}
div.itemBody {padding:1px 0;margin:0;}

#s5_component_wrap_inner h2, #s5_component_wrap_inner h1 {
font-size:1.9em;
margin-bottom:30px; color: #004a8b;
}

#s5_component_wrap_inner h3 {margin-top: 25px; margin-bottom: 15px;}

img,table {
 max-width:90%
}

/* background colour in menu and side menu */
#s5_accordion_menu h3 {
  background:#464646 !important;}

#s5_menu_wrap2 {
float:left;
display:block;
width:100%;
background:#464646;
}

/* sitemap links */
li.even, div.latestItemsUser, div.itemListCategory, div.itemComments ul.itemCommentsList li.even {
background:#FAFAFA;
border:solid 1px #f1f1f1;
padding:0px;
margin-bottom:0px;
font-size:0.99em;
}

/*share-it mods */

div.js_sv_social:first-child {
    padding-left: 0;padding-top: 3px;
}

div.js_sv_social {
  margin-top: 15px;}


div.js_sv {
    overflow: visible; margin-top: 10px;
}

.pages_highlight_box1 {
padding: 20px 30px; 
background:#ccc; 
display:block;
}
.pages_highlight_box2 {
padding: 20px 30px; 
background:#fff; 
display:block;
}
.module_round_box.gray {
background:#e4e4e4;
padding:30px;
}

.module_round_box.gray2 {
background:#fff;
padding:30px; margin-top: -30px;
}

.module_round_box_outer {
margin-bottom:30px;
margin-left:30px;
}

/*about us */
.about_us_left {
width:24%;
color:#FFFFFF; background:#206282;
display:table-cell;
vertical-align:top;
padding-top:10px;
padding-bottom:10px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding-right:2%; padding-left:2%;

}

.about_us_right {
width:75%;
background:#F6F6F6;
display:table-cell;
vertical-align:top;
padding-top:25px;
padding-bottom:25px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding-left:2.5%;
}

.about_us_wrap {
display:table;
}

.about_us_left h3 {
color:#FFFFFF;
margin-bottom:35px;
font-size:1.9em;
}

/*about us flipped */
.about_us_wide_right {
width:24%;
color:#FFFFFF; background:#206282;
display:table-cell;
vertical-align:top;
padding-top:10px;
padding-bottom:10px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding-right:2%; padding-left:2%;

}

.about_us_wide_left {
width:75%;
background:#F6F6F6;
display:table-cell;
vertical-align:top;
padding-top:25px;
padding-bottom:25px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding-left:2.5%;
}

.about_us_wrap {
display:table;
}

.about_us_wide_right h3 {
color:#FFFFFF;
margin-bottom:35px;
font-size:1.9em;
}




/* our team - make four columns */
.our_team_left {
width:22%;
color:#FFFFFF;
display:table-cell;
vertical-align:top;
padding-top:40px;
padding-bottom:40px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding-right:5%;
}

.our_team_right {
width:78%;
background:#F6F6F6;
display:table-cell;
vertical-align:top;
padding-top:55px;
padding-bottom:55px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding-left:2.5%;
}

.our_team_wrap {
display:table;
}

.our_team_left h3 {
color:#FFFFFF;
margin-bottom:35px;
font-size:1.9em;
}

.our_team_employee {
float:left;
width:20.33%;
position:relative;
overflow:hidden;
margin-left:4%;
}

.our_team_employee_text {
position:absolute;
bottom:10px;
left:20px;
right:20px;
/*background:#FFFFFF; */
background:rgba(255,255,255,0.85);
padding:18px;
padding-bottom:8px;
padding-top:10px;
text-align:center;
}

.our_team_employee_name {
display:block;
font-weight:400;
font-size:1.15em;
  line-height:1.2em;
color:#000000;
}

.our_team_employee_title {
display:block;
  line-height:1.25em;
font-size:0.75em; padding-top: 4px;
}
.about_bottom_item1b h3{margin-top:10px !important;margin-bottom:15px;font-weight:700}



/* Jonah's updates */

#s5_breadcrumb_wrap {
    background: #fafafa;
	width: 100%;}
	
#s5_breadcrumb_wrap_inner {
	padding-top:10px;
	padding-bottom:10px;
	padding-left:50px;
	padding-right:50px;}

/* Jonah's updates enabled again */

.iacf_text{
background:rgba(21,24,29,0.54);
padding:45px;
margin-left:42px; width: 45%}	
	
.iacf_right {
  margin-left: 45%;}

.iacf_left {
  margin-right: 45%;}


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

  .iacf_right {
  margin-left: 0 !important; width: 100% !important;}

.iacf_left {
  margin-right: 0 !important; width: 100% !important;}
  
  
    .iacf_text {box-sizing:border-box;margin-left:0px !important;}
  
  
}

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

	.s5_float_left2 {
		display:block;}
		
	ul.s5_masonry_articles li, ul.s5_masonry_articles{
        float: none !important;}
		
	ul.s5_masonry_articles {
		padding-bottom: 22px !important;
		margin-top: 62px !important;}
		
	ul.s5_masonry_articles li a {
		text-align:center !important;}
	
}
.moduletable .breadcrumb, .module_round_box_outer .breadcrumb {
font-size:0.85em;
}

.fancybox-thumbs__list a:before {
 border:6px solid #206282;
 bottom:0;
 content:"";
 left:0;
 opacity:0;
 position:absolute;
 right:0;
 top:0;
 transition:all .2s cubic-bezier(.25,.46,.45,.94);
 z-index:99991
}

.s5_tab_show_slide_button_active .s5_tab_show_button_img img, .s5_tab_show_button_img_present:hover .s5_tab_show_button_img img {

-webkit-opacity: 0.8;

-moz-opacity: 0.8;

-khtml-opacity: 0.8;

opacity: 0.8;

}
/* main menu colour overrides */

#s5_nav li {
border-right:solid 1px #<?php echo change_Color($s5_highlightcolor1,'+75'); ?> !important;
background:#<?php echo change_Color($s5_highlightcolor1,'+40'); ?> !important;
}

#s5_nav li.mainMenuParentBtnFocused, #s5_nav li.mainMenuParentBtn:hover, #s5_nav li.active, #subMenusContainer div ul  {
background:#<?php echo change_Color($s5_highlightcolor1,'+60'); ?> !important;
}
.social_icon.ion-social-instagram {
background:#458eff;
}

.social_icon.ion-social-instagram:hover {
background:#034B76;
}

.companyname {font-size: 1.15em; color:#206282; font-weight: bold;}

/* background behind text on slideshow */

.iacf_text{
background:rgba(21,24,29,0.54);
padding:45px;
margin-left:42px; width: 45%}	
	
.iacf_right {
  margin-left: 45%; padding-left: 4% !important;}

.iacf_left {
  margin-right: 45%;}


/*
.iacf_text{
background:rgba(21,24,29,0.54);
padding:45px;
margin-left:42px;}	
	
.iacf_right {
  margin-left: 45%;}

.iacf_left {
  margin-right: 45%;}


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

  .iacf_right {
  margin-left: 0 !important;}

.iacf_left {
  margin-right: 0 !important;}
  
  
    .iacf_text {box-sizing:border-box;margin-left:0px !important;}
  
  
}
*/

