/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 4.0.2
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

@font-face {
    font-family: 'Gothic';
    src: url('fonts/GOTHIC.eot');
    src: url('fonts/GOTHIC.eot') format('embedded-opentype'),
         url('fonts/GOTHIC.woff2') format('woff2'),
         url('fonts/GOTHIC.woff') format('woff'),
         url('fonts/GOTHIC.ttf') format('truetype'),
         url('fonts/GOTHIC.svg#GOTHIC') format('svg');
}
@font-face {
    font-family: 'GothicB';
    src: url('fonts/GOTHICB.eot');
    src: url('fonts/GOTHICB.eot') format('embedded-opentype'),
         url('fonts/GOTHICB.woff2') format('woff2'),
         url('fonts/GOTHICB.woff') format('woff'),
         url('fonts/GOTHICB.ttf') format('truetype'),
         url('fonts/GOTHICB.svg#GOTHICB') format('svg');
}

.responsive body{font-family:'Gothic';}

#top .title_container .container {padding-bottom:16px; padding-top:16px;}
#top #wrap_all .title_container h1.main-title, #top #wrap_all .title_container h1.main-title {border-bottom:none; font-family:"Gothic"; font-size:32px; font-weight:normal; padding-bottom:0; text-align:center;}
#top #wrap_all .title_container h1 a{position:relative;}
#top #wrap_all .title_container h1 a:before, #top #wrap_all .title_container h1 a:after{position:absolute; content:""; height:1px; width:45px; top:50.5%; background:#eee;}
#top #wrap_all .title_container h1 a:before{left:-55px;}
#top #wrap_all .title_container h1 a:after{right:-55px;}

#top #wrap_all .main_color h1, #top #wrap_all .alternate_color h1 {font-family:'GothicB'; letter-spacing:0px; border-bottom:3px solid #336; padding-bottom:10px;}
.av-special-heading-h1 .special-heading-border {height:50px;}
.special-heading-inner-border {border-top-width:3px; bottom:0; margin-left:0; position:absolute; top:auto;}

.avia_textblock {line-height:1.3em;}
body .column-top-margin {margin-top:15px;}
.av-special-heading {margin-top:5px;}
.avia-button.avia-size-large {font-size:21px; padding:8px 50px;}
.avia-button.avia-size-x-large {font-size:25px; padding:16px 50px;}
.av-subheading.av_custom_color {opacity:1;}
.modern-quote h3.av-special-heading-tag{font-family: 'GothicB';}
#top .iconbox_left_content.av-icon-style-no-border .iconbox_icon, #top .iconbox_right_content.av-icon-style-no-border .iconbox_icon {font-size: 34px;}
.main_color *::-moz-placeholder {color: #999;}
.main_color *::-webkit-input-placeholder {color:#999; font-style:italic;}

#header_meta {min-height:50px;}
#header_meta .container {min-height:50px;}
.phone-info {padding:0; line-height:10px; font-size:13px; font-weight:normal;}
.phone-info ul{margin:0;}
.phone-info ul li{float:left; display:inline; margin:0 10px; line-height:50px;}
.phone-info .avia-icon-pos-left {margin-top:14px;}

#top .sub_menu{top:10px;}
#top .sub_menu > ul li {line-height:30px;}
.sub_menu > ul > li > a, .sub_menu > div > ul > li > a {border:2px solid #1e1e1e; border-radius:6px; font-weight:500; padding:7px 15px;}
.sub_menu > ul > li > a:hover, .sub_menu > div > ul > li > a:hover {opacity:0.8; text-decoration:none;}

#top #header .main_menu {bottom:0; height:auto;}
#top #header .av-main-nav > li{margin-right:1px;}
#top #header .av-main-nav > li > a {font-weight:500; height:44px !important; line-height:44px !important; padding:0 22px;}
#top #header .av-main-nav > li.current-menu-item > a, #top #header .av-main-nav > li.current_page_item > a, #top #header .av-main-nav > li.active-parent-item > a {background-color:#fff;}

.logo img {padding:12px 0;}

#top .social_bookmarks {margin:10px 0; padding:0; font-size:20px;}
#top .social_bookmarks li {border-right-width:0;}

.slideshow_caption{width:50%;}
#top .avia-slideshow-button {padding:8px 36px;  background:#fff;}
#top .avia-slideshow-button.avia-color-light {padding:7px 34px; border:1px solid #fff;}

#what-we-do .av_one_fifth {margin-left:1.5%; width:18.8%;}
#what-we-do .av_one_fifth.first {margin-left:0;}
#what-we-do .av-image-caption-overlay {height:40px; bottom:-39px;}
#what-we-do .av-image-caption-overlay-center {font-size:1em; padding:0;}
#what-we-do .av-overlay-hover-deactivate:hover .av-caption-image-overlay-bg {opacity:0.8 !important;}

.avia-testimonial {border-bottom-width:0; border-right-width:0;}
.avia-testimonial-image {height:114px; width:114px;}
.avia-testimonial-content {background:#e9e9e9; position:relative; border-radius:4px 4px 4px 0; font-size:15px; line-height:1.5em; padding:10px 15px 1px; overflow:visible; margin-left:134px;}
.avia-testimonial-content:after{position:absolute; bottom:-30px; content:""; height: 30px; left: 0; width: 15px; background:#fff;      
    background: -webkit-linear-gradient(-64deg, #fff 50%, #e9e9e9 50%); 
    background: -o-linear-gradient(-64deg, #fff 50%, #e9e9e9 50%);
    background: -moz-linear-gradient(-64deg, #fff 50%, #e9e9e9 50%); 
    background: linear-gradient(-64deg, #fff 50%, #e9e9e9 50%);}
.avia-testimonial-meta {margin-left:154px;}
.avia-testimonial-name {font-weight:normal;}

#top .content .flex_column .widget_nav_menu li,
#top .content .flex_column .widget_nav_menu li:first-child{border-bottom-width:0; border-top-width:0;}
#top .content .flex_column .widget_nav_menu li a {font-size:15px; padding:6px 8px; text-transform:uppercase; position:relative}
#top .content .flex_column .widget_nav_menu li a:hover,
#top .content .flex_column .widget_nav_menu .current-menu-item > a,
#top .content .flex_column .widget_nav_menu .current_page_item > a {background:#171736; color:#fff; font-weight:normal;}
#top .content .flex_column .widget_nav_menu li a:after{position:absolute; content:""; top:15px; width:10px; height:10px; border-width:0 1px 1px 0; border-color:#111; border-style:solid; transform:rotate(-45deg); right:15px;}

#top .content .flex_column .widget_nav_menu li a:hover:after,
#top .content .flex_column .widget_nav_menu li.current-menu-item a:after,
#top .content .flex_column .widget_nav_menu li.current_page_item a:after {border-color:#fff;}

#footer{font-size:15px;}
#footer .av_one_fifth {margin-left:3%; width:14%;}
#footer .av_one_fifth.first {margin-left:0; width:21%;}
#footer .av_one_fifth:last-child {width:24%;}

#footer .widget {margin:0;}
#footer .widgettitle {font-weight:500; letter-spacing:0; padding-bottom:7px; text-transform:uppercase; position:relative; float:left;}
#footer .widgettitle:before{position:absolute; bottom:0px; content:""; height:1px; right:-400%; width:400%; background:#aaa;}
#footer .widgettitle:after{position:absolute; bottom:0px; content:""; height:1px; left:0; width:100%; background:#fff;}
#footer .textwidget{float:left; width:100%;}
#footer ul.social li{float:left; margin-right:10px; clear:none;}


#top form {position:relative;}
.footer_color *::-moz-placeholder {color:#999; font-style:italic;}
.footer_color *::-webkit-input-placeholder {color:#999; font-style:italic;}
#top #footer input[type="text"], #top #footer input[type="email"]{color:#191919; padding:11px; height:42px;}
#footer input[type="submit"]{padding:11px; position:absolute; right:0; top:1px; background:#171736 url(images/send-button.png) no-repeat center; color:rgba(255, 255, 255, 0); height:42px;}

#socket {font-size:15px; font-style:italic;}

@media only screen and (min-width:990px) and (max-width:1040px) {
	
}

@media only screen and (max-width: 900px) {
	.container {padding:0 15px;}
	#top #header .av-main-nav > li > a {height:36px !important; line-height:36px !important; padding:0 14px;}
	.slideshow_caption {width:100%;}
	#what-we-do .av-image-caption-overlay-center {font-size:0.75em;}

	#top #wrap_all .main_color h1, #top #wrap_all .alternate_color h1 {font-size:24px;}
	.av-special-heading-h1 .special-heading-border {height:39px;}

	#cta .avia_textblock {font-size:20px !important;}
	.avia-button.avia-size-x-large {font-size:20px; padding:12px 30px;}

	#top .no_margin{padding:15px !important;}
}

@media only screen and (max-width: 767px) {
	.responsive #header .sub_menu, .responsive #header_meta .sub_menu > ul {float:right; margin:3px auto; width:auto;}
	.responsive #header .social_bookmarks {margin:5px; width:auto;}
	.responsive #header_meta .social_bookmarks li {border-width:0; margin-bottom:0; margin-left:0;}
	.responsive #top #header_meta .social_bookmarks li:last-child {border-right-width:0;}
	.responsive .phone-info span.avia-icon-pos-left {margin-top:14px; margin-right:10px;}

	.responsive #top #wrap_all .container {max-width:94%; width:94%;}

	#advanced_menu_toggle, #advanced_menu_hide {color:#fff;}

	.responsive #top #what-we-do .av_one_fifth {margin:0 0 55px;}
	
	#cta .avia-button-right, #cta .avia-button.avia-position-right {float:none;}

	#footer .widgettitle::before {right:-4000%; width:4000%;}
	body #footer .alignright{float: none; margin: 0 auto;}
	#footer .alignleft img, .alignright img {margin: 0 auto;}

	.responsive #top #wrap_all .av-flex-cells .no_margin {padding-left:4% !important; padding-right:4% !important;}
}

@media only screen and (max-width: 400px) {
	.responsive #top .slideshow_caption h2 {font-size: 17px !important;}
}