/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */
.logo {
	margin-top: 11px;
}

#header_meta {
	background-color: #d0e1ea;
}

.header_color .av-subnav-menu a:hover, 
.header_color .main_menu ul:first-child > li a:hover, 
.header_color .main_menu ul:first-child > li.current-menu-item > a, 
.header_color .main_menu ul:first-child > li.current_page_item > a, 
.header_color .main_menu ul:first-child > li.active-parent-item > a {
	color: #5b8ba3;
}

.header_color .social_bookmarks a {
	color: #2d3d4c;
}

.template-page .entry-content-wrapper h1 {
	text-transform: capitalize;
}

.main_color.iconbox_top .iconbox_content {
	background: #efecec;border: 1px solid #d6d6d6;
}

.avia-caption-content {
	background: rgba(0,0,0,.75);
	padding: 5px 15px;
}

.alternate_color .breadcrumb, 
.alternate_color .breadcrumb a, 
#top .alternate_color.title_container .main-title, 
#top .alternate_color.title_container .main-title a {
	color: #2d3d4c;
}

.stretch_full.container_wrap.alternate_color.light_bg_color.title_container {
	background-color: #b5c9d1;
}

#footer img.inverted-logo {
	width: 89px;
	height: 89px;
	display: block;
	margin: 0 auto;
}

.pull-right{
	float: right;
}

.pull-left {
	float: left;
}

@media (max-width: 1120px) {
	#footer .pull-right,
	#footer .pull-left {float: none;}
}

.connect li {
    display: inline-block;
    margin-right: 10px;
    border-radius: 100px;
    font-size: 18px;
    width: 36px;
	height: 38px;
	vertical-align: bottom;
	text-align: center;
}

.connect li:hover {
    opacity: .8;
}

.connect li a {
  display: inline-block;
  vertical-align: -3px;
}

.connect li a:hover {
    color: white;
    text-decoration: none;
}

.connect li.facebook {
	background: #0c69a7; 
}

.connect li.twitter {
	background: #10acc2;
}

.connect li.linkedin {
	background: #226dd0;
}

.connect li.contact-us {
	background: #3a9357;
}

h3.av-special-heading-tag {
	text-transform: uppercase;
}

a.avia-testimonial-link {
	color: #c3512f;
}

a.bio-read-more {
	color:#c3512f; 
	display: block; 
	margin-top: 10px;
}

a.bio-read-more:after {
	content: "\2192";
	margin-left: 7px;
}

h3.tab-title {
	margin: 30px 0;
}

h3.contact-us span, 
h3.tab-title span {
	background: white; 
	padding-right: 7px;
}

h3.contact-us:after,
h3.tab-title:after {
    content: "";
    display: block;
    border: 1px solid #f2f2f2;
    margin-top: -9px;
}

.js .tab, .js_active .tab {
	font-size: 13px;
}

form.avia_ajax_form.avia-builder-el-3.el_after_av_textblock.avia-builder-el-last {
	margin-top: 20px;
}

h3.contact-us {
	color: #919191;
	margin-top: 40px;
}

.contact-details div {
	margin-bottom: 20px;
}

.contact-details h4 {
	color: #5b8ba3; 
	font-size: 13px;
}

.contact-details p {
	margin-top: 5px;
}

.main_color .sidebar .connect li a {
	color: white;
}

#top .avia-logo-element-container img {
	box-shadow: 0 0 0 rgba(0,0,0,.5);
}

#top .main_color .tabcontainer .tab:hover {
	color: #5b8ba3;
}

.noborder_tabs.sidebar_tab_left .tab_content, 
.noborder_tabs.sidebar_tab_right .tab_content {
	box-shadow: 0 0 0 0 rgba(0,0,0,0); 
	border-left: 1px solid #e1e1e1;
}

div .main_color .tabcontainer.noborder_tabs .active_tab {
	background-color: transparent;
}

.team-member-name,
.team-member-job-title,
.team-member-description {
	max-width: 300px;
	margin: 0 auto;
}

ul.list-tabs {
	display: none;
}

ul.list-tabs li {
	list-style-type: none;
	text-align: right;
	padding: 12px 0 12px 16px;
}

.list-tabs-mobile a, 
ul.list-tabs li a {
	color: #919191;
}

ul.list-tabs li.active,
ul.list-tabs li.active a {
	color: #666666;
	font-weight: bold;
}

ul.list-tabs li a:hover {
	color: #5b8ba3;
	text-decoration: none;
}

.list-tabs-mobile {
	border-top: 1px solid #e1e1e1;
	color: #919191;
	padding: 12px 6px;
}

.list-tabs-mobile:first-of-type {
	border-top: 0;
}

.list-tabs-mobile.active {
	background: #2D3D4D;
	color: white;
}

.list-tabs-mobile a:hover {
	color: #5b8ba3;
	text-decoration: none;
}

.list-tabs-mobile.active a {
	color: white;
	font-weight: bold;
}

.faux-tab-container {
	border: 1px solid #e1e1e1;
}

.faux-tab {
	padding: 30px;
}

/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */
  	.js_active .tab {
		border-width: 0;
	}
  	.page-id-294 .tab,
  	.page-id-13 .tab {
		text-align: right;
		padding-right: 30px;
	}

	.page-id-13 .tab {
		font-size: 18px;
	}

	.connect li a {
	  vertical-align: -8px;
	}

	.list-tabs-mobile {
		display: none;
	}

	ul.list-tabs {
		display: block;
	}

	.faux-tab-container {
		margin-left: -6%;
		padding-left: 30px;
		border-right: 0;
		border-top: 0;
		border-bottom: 0;
	}

	.faux-tab {
		padding: 0;
	}
}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */
  .noborder_tabs .tab:first-child {
  	border-top: 1px solid #e1e1e1;
  }

  .avia_transform .av_slideshow_full .avia-caption-content {
  	display: none;
  }

}

@media only screen and (max-width: 989px) {
	.main_menu, #header_main_alternate{display:none;}
	.container #advanced_menu_toggle, #advanced_menu_hide{display:block;}
	#mobile-advanced{display:block;}
}