/*
Theme Name: Integrity Custom Builders 
Description: Child Theme designed and developed by <a href="http://www.estlanddesign.com">Estland</a> in Harrisonburg, VA.
Version: 1.0
Author: Estland Design
Author URI: http://www.estlanddesign.com
Template: enfold
*/

/******************************
Table of Contents =TOC
/******************************

Color Guide
Fonts
Header
Home, Layerslider
Home, Below Slider Services
Home, Light Construction Promo
Home, Contact Form
Home, Gallery
Home, About
Home, Latest News
Footer
Secondary Pages
Sidebars
Forms
Global Styles
Mobile Styles

*/

/******************************
=Color Guide

#ffb600 - Yellow
#779a0b - Green
#919191 - Grey

******************************/

/******************************
=Fonts
******************************/

@font-face {
    font-family: 'geared_slabbold';
    src: url('/wp-content/themes/brillman-enfold-child/fonts/gearedslab-bold-webfont.woff2') format('woff2'),
         url('/wp-content/themes/brillman-enfold-child/fonts/gearedslab-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.geared {font-family: 'geared_slabbold' !important;}


/******************************
=Header
******************************/
/*Main Header*/
.header_color .header_bg {
    background: url(/wp-content/themes/icb-enfold-child/images/header-bg2.jpg) bottom center no-repeat;
    background-size: cover;
    height: 130px;
}

#header_main_alternate {background-color: rgba(25, 61, 109, 0.70);}

.av_secondary_right .sub_menu {
    display: block;
    position: absolute;
    right: 25px;
    top: 35px;
}

#top .sub_menu>ul>li {
    display: block;
    position: relative;
    float: none;
    border: 0;
    padding: 0 !important; 
}

#top #wrap_all .social_bookmarks {
    display: block;
    position: absolute;
    right: 25px;
    top: 134px;
}

#header_meta, #header_meta .container {min-height: 0px; height: 0px;}

#menu-item-180 a {
    display: block;
    position: relative;
    background-color: #ca7006;
    padding: 15px 20px;
    margin-bottom: 10px;
    font-size: 16px;
    border-radius: 2px;
   	font-weight: lighter;
}


.sub_menu>ul>li:hover>a {text-decoration: none;}

#menu-item-180 a:hover {background-color: #da7e11;cursor: pointer;}

#menu-item-179 a{
	display: block;
    position: relative;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: center;
}

/*Main Menu*/
.av-main-nav > li > a {font-size: 18px;line-height: 20px;}

.header_color .main_menu ul:first-child > li > a {text-transform: uppercase;}

#top .av-main-nav ul a {border:0;}

.header_color .main_menu ul:first-child > li.current-menu-item > a, 
.header_color .main_menu ul:first-child > li.current_page_item > a {
    color: #112b4e;
    background-color: #fff;
}

.header_color .av-subnav-menu a:hover, 
.header_color .main_menu ul:first-child > li:hover a,  
.header_color .main_menu ul:first-child > li.active-parent-item > a,
.parent:hover a {
	background-color: #607fab;
	color: #fff;
}


.header_color .main_menu ul ul,
.header_color .main_menu .menu ul li a {background-color: rgba(96, 127, 171, 0.70);}

.header_color .main_menu .menu ul li a:hover, .header_color .av-subnav-menu ul a:hover {background-color: rgba(17, 43, 78, 0.8);}

/*Social Icons*/
#top #wrap_all .social_bookmarks li {
    background: transparent;
    border: 0;
    margin-left: 5px;
    width: 40px;
}

#top #wrap_all .social_bookmarks li a {
    width: 40px;
    line-height: 40px;
    min-height: 40px;
    font-size: 20px;
    height: 100%;
    background-color: #112b4e;
    border-radius: 50%;
}

#top #wrap_all .social_bookmarks li a:hover {background-color: #607fab;}
#top #wrap_all .social_bookmarks li a:focus {text-decoration: none;}

#below-slider-services {    
	background: url(/wp-content/themes/icb-enfold-child/images/services-bg.jpg) top center no-repeat;
    background-size: cover;
   	border-top: 8px solid #fff !important;
}

/*Header Scrolled*/
.header-scrolled .logo a {
    background: url(/wp-content/themes/icb-enfold-child/images/logo-small.png) no-repeat top center;
    width: 460px;
    background-size: 100%;
}

.header-scrolled .logo a img {
    visibility: hidden;
}

.html_header_top.html_logo_center .header-scrolled .logo {
    position: relative;
    display: block;
    float: none;
}

.header_color.header-scrolled .header_bg {
    height: 64px;
}

#top .header-scrolled .sub_menu>ul>li {
    float: left;
    display: block;
    position: absolute;
}

.header-scrolled .av_secondary_right .sub_menu {top: 11px;}

#top #wrap_all .header-scrolled .social_bookmarks {top:69px;}

.header-scrolled #menu-item-180 {right: 0;}

.header-scrolled #menu-item-180 a {width: 177px;}

.header-scrolled #menu-item-179 {    
    right: 180px;
    top: 8px;
}

.header-scrolled #menu-item-179 a {width: 150px;}

.header-scrolled #header_main_alternate {background-color: rgba(25, 61, 109, 1);}

/******************************
=Home, Layerslider
******************************/
.main_color #layerslider_3 a {color: #f7a422;}

.main_color #layerslider_3 a:hover {color: #f7a422;text-decoration: none;}

#top .avia-layerslider .ls-bottom-slidebuttons a.ls-nav-active,
#top .avia-layerslider .ls-bottom-slidebuttons a:hover {background-color: #ca7006;border-color: #ca7006 !important;}

#top .avia-layerslider .ls-nav-prev:before, #top .avia-layerslider .ls-nav-next:before {background-color: #ca7006;}

#top .avia-layerslider .ls-bottom-slidebuttons a {background-color: #fff;border-color: #fff;}

#top .avia-layerslider .ls-nav-prev:hover, #top .avia-layerslider .ls-nav-next:hover {opacity: 0.5;}

/******************************
=Home, Below Slider Services
******************************/
#below-slider-services h2,
#below-slider-services p {color: #3b3b3b;}

#top #main #below-slider-services.avia-section .template-page {padding:25px 0;}

body .container_wrap .avia-builder-el-last.blueline {margin-bottom: 15px;}

.responsive #below-slider-services .container {
    max-width: none;
    width: 100%;
    padding: 0;
}

.main_color div.bls-container {
    border-radius: 0px;
    max-width: 1310px;
    width: 100%;
    display: block;
    position: relative;
    padding: 0px 50px;
    margin: 0 auto;
    float: none;
}

div#below-slider-services .av_one_fourth {
    margin-left: 2%;
    width: 23.5%;
    margin-top: 10px;
}

body div#below-slider-services .av_one_fourth.first, 
body div#below-slider-services .no_margin {
    margin-left: 0;
}

.avia_transform #below-slider-services a .image-overlay {display: none !important;}

.s1 .ss-img {background-color: #5f7f00;}
.s2 .ss-img {background-color: #ad1f24;}
.s3 .ss-img {background-color: #ef9f02;}
.s4 .ss-img {background-color: #de7339;}

.ss-capt p {
    margin: 0;
    background-color: #fff;
    color: #15a6e5;
    text-align: center;
    font-size: 20px;
    padding: 25px 0;
    font-weight: bolder;
}

/*Overlay*/
.service-squares .overlay {
	opacity: 0;
    filter: alpha(opacity=0);
    background-size: cover !important;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    -webkit-transition: opacity 0.4s ease-in-out;
    -moz-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
    -ms-transition: opacity 0.4s ease-in-out;
}

.service-squares:hover .overlay {opacity: 1;}

.service-squares.s1:hover .overlay {background: url(/wp-content/themes/icb-enfold-child/images/hr-over.jpg) top center no-repeat;}
.service-squares.s2:hover .overlay {background: url(/wp-content/themes/icb-enfold-child/images/kr-over.jpg) top center no-repeat;}
.service-squares.s3:hover .overlay {background: url(/wp-content/themes/icb-enfold-child/images/br-over.jpg) top center no-repeat;}
.service-squares.s4:hover .overlay {background: url(/wp-content/themes/icb-enfold-child/images/ha-over.jpg) top center no-repeat;}

.ov-capt {
    padding: 25% 5% 0 5%;
}

#below-slider-services .ov-capt p {
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 18px;
    line-height: 22px;
}

#below-slider-services .ov-capt p:first-child {
    font-size: 30px;
    padding-bottom: 15px;
}

.ov-btn {text-align: center;}

.ov-btn a {
    display: block;
    position: relative;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    width: 40%;
    background-color: #15a6e5;
    margin: 20px auto 0 auto;
}

.ov-btn a:hover {background-color: #26b8f7;color: #fff;text-decoration: none;}

/******************************
=Home, Light Construction Promo
******************************/
#lc-promo p {
    color: #515151;
    font-size: 28px;
    margin: 0;
    padding: 15px;
    text-align: right;
    line-height: 1.1;
}

#lc-promo a {border-radius: 2px;}



/******************************
=Home, Contact Form
******************************/
#home-form {
    background: url(/wp-content/themes/icb-enfold-child/images/home-form-bg.jpg) bottom center no-repeat;
    background-size: cover;
}

#home-form.main_color .head p {
    color: #fff;
    text-align: center;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bolder;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

#top #home-form .gform_wrapper ul li.gfield {
    margin-bottom: 10px;
    width: 50% !important;
    float: left;
}

#top #home-form .gform_wrapper ul li.gfield:last-child {
    width: 48% !important;
    margin:0;
    margin-left: 2% !important;
}

#top #home-form.main_color input[type='text'] {
    background-color: #112b4e;
    color: #fff;
    border: 0;
    border-bottom: 2px solid #415166;   
}

#top #home-form.main_color textarea {
    background-color: #193559;
    border:0;
    color: #fff;
    padding: 15px;
}

#top #home-form.main_color input[type='text']:focus {border-color: #ca7006;}

#top #home-form.main_color input[type='text']::-webkit-input-placeholder,
#top #home-form.main_color textarea::-webkit-input-placeholder {color: #596b83;}

#top #home-form.main_color input[type='text']:-moz-placeholder,
#top #home-form.main_color textarea:-moz-placeholder {color: #596b83;}

#top #home-form.main_color input[type='text']::-moz-placeholder,
#top #home-form.main_color textarea::-moz-placeholder {color: #596b83;}

#top #home-form.main_color input[type='text']:-ms-input-placeholder,
#top #home-form.main_color textarea:-ms-input-placeholder {color: #596b83;}

#home-form.main_color input[type='submit'] {background-color: #ca7006;border-radius: 2px;}
#home-form.main_color input[type='submit']:hover {background-color: #da7e11;}

#home-form .gform_wrapper .gform_footer {
    width: 100px;
    float: left;
}

#home-form .form-desc {
    width: 80%;
    float: left;
}

.fd-left {
    width: auto;
    float: left;
    color: #8e8e8e;
    margin-right: 15px;
    margin-top: 11px;
}

.fd-right {
    width: auto;
    float: left;
    color: #fff;
    font-size: 20px;
    min-width: 300px;
}

.avia_transform #home-form .av_font_icon{
    background-color: #fff;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

span.orcall {
    display: block;
    padding-top: 10px;
    width: 100%;
}

/******************************
=Home, Gallery
******************************/
#home-gallery .head p,
#home-latest-news .head p {
    color: #112b4e;
    text-align: center;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bolder;
    line-height: 1.1;
    margin: 0 0 40px 0;
}

/******************************
=Home, About
******************************/
#home-about {
    background: url(/wp-content/themes/icb-enfold-child/images/services-bg.jpg) top center no-repeat;
    background-size: cover;
}

.responsive #home-about .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

#top #main #home-about.avia-section .template-page { padding: 20px 0; }

#layer_slider_2 {border-top: 0;}

#layer_slider_2.main_color strong {color: inherit;}

.ls-about-btn a {
    color: #f1f1f1;
    border: 2px solid #f1f1f1;
    padding: 10px 20px;
    border-radius: 2px;
}

.ls-about-btn a:hover {
    background-color: #f1f1f1 !important;
    color: #ca7006 !important;
    text-decoration: none;
}

/******************************
=Home, Latest News
******************************/
.blog-r .big-preview.single-big {display: none;}

#top .flex_column.blog-r .template-blog article:first-child .post-title {padding-top: 0;}
#top .flex_column.blog-r .template-blog article .post-title {padding-bottom: 0;}

#top #home-latest-news.fullsize .blog-r .template-blog .post_delimiter {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #959595;
    width: 100px;
    left: 0;
    position: relative;
    max-width: 100px;
    float: left;
} 

.main_color .blog-l *, .main_color .blog-r * {color: #3b3b3b;}

.main_color .minor-meta a {color: #ca7006;}

#top #home-latest-news .flex_column .template-blog article .post-title {color: #4078c8;}

#top .fullsize .flex_column.blog-r .template-blog .post-meta-infos {display: none;}

.main_color .image-overlay .image-overlay-inside:before {background-color: #ca7006;}

/******************************
=Footer
******************************/
.footer-icons {
    display: block;
    overflow: hidden;
    margin-bottom: 20px;
}

#top .footer-icons .av_font_icon a {    
    width: 40px;
    line-height: 40px !important;
    min-height: 40px;
    font-size: 20px;
    height: 100%;
    background-color: #112b4e;
    border-radius: 50%;
}

#top .footer-icons .av_font_icon a:hover {background-color: #607fab;}

.footer-contact-icons > div {display: block;position: relative;margin-bottom: 15px;}

.footer-contact-icons .footer-icon-text {
    font-size: 13px;
    display: block;
    margin-left: 30px;
}

#socket .copyright {
    float: none;
    text-align: center;
    display: block;
    font-size: 12px;
}

.footer-icon-text a,
.footer-icon-text a:hover {color: #fff;}

.footer-address > span {margin-top: 8px;}
.footer-phone > span {margin-top: 13px;}
.footer-hours > span {margin-top: 11px;}

.footer_color .avia-slider-testimonials .avia-testimonial-content {
    background-color: transparent;
    padding: 0 0 10px 0;
}
.footer_color .avia-testimonial-arrow-wrap .avia-arrow {display: none}

.footer_color .avia-slider-testimonials .avia-testimonial-meta {margin:0;}

#top .footer_color .avia-slider-testimonials.avia-testimonial-wrapper {margin: 0;}

.footer_color strong.avia-testimonial-name {color: #112b4e;}

.footer_color a.footer-testimonials-btn {
    display: block;
    position: relative;
    padding: 10px 20px;
    border: 1px solid #f1f1f1;
    color: #fff;
    border-radius: 2px;
    float: left;
    margin-top: 30px;
}

.footer_color a.footer-testimonials-btn:hover {
    background-color: #fff;
    color: #112b4e;
    text-decoration: none;
}

#top #footer .social_bookmarks {
	position: relative;
	right: inherit;
	top: inherit;
	height: 40px;
}
#top #footer .social_bookmarks li {
	display: inline-block;
	float: none;
}
#top #footer .social_bookmarks li a:hover {
	color: #fff !important;
}

/******************************
=Secondary Pages
******************************/
.alternate_color {background: url('/wp-content/themes/icb-enfold-child/images/title-bg2.jpg') top center no-repeat;background-size: cover; border: 0;}

.main_color .av_promobox {
    background-color: #bfccdd;
    border-color: #a6b7ce;
    color: #163763;
}

#top .main_color .avia-color-theme-color {
    color: #ffffff;
    border-color: #ca7006;
    background-color: #ca7006;
}

.main_color .avia-icon-list .iconlist_icon {
    background-color: #ca7006;
}

#top.page-id-24 #home-form {display: none;}

strong {color: inherit !important;}

div .wp-caption {margin-right: 50px;}

/******************************
=Sidebars
******************************/
.sidebar-buttons {background-color: #607fab;}

.main_color .sidebar .sidebar-buttons a {
    display: block;
    position: relative;
    padding: 15px 0 15px 15px;
    color: #fff;
    font-size: 20px;
    border-left: 5px solid;
}

.main_color .sidebar .sidebar-buttons a:first-child {border-color:#5f7f00;}
.main_color .sidebar .sidebar-buttons a:nth-child(2) {border-color:#ad1f24;}
.main_color .sidebar .sidebar-buttons a:nth-child(3) {border-color:#ef9f02;}
.main_color .sidebar .sidebar-buttons a:last-child {border-color:#de7339;}

.main_color .sidebar .sidebar-buttons a:hover {color: #fff;text-decoration: none;}

.main_color .sidebar .sidebar-buttons a:first-child:hover {background-color:#5f7f00;}
.main_color .sidebar .sidebar-buttons a:nth-child(2):hover {background-color:#ad1f24;}
.main_color .sidebar .sidebar-buttons a:nth-child(3):hover {background-color:#ef9f02;}
.main_color .sidebar .sidebar-buttons a:last-child:hover {background-color:#de7339;}

.sidebar .widget {padding-bottom: 15px;}

.sidebar-callout {
    text-align: center;
    font-size: 22px;
    line-height: 1.2;
    color: #607fab;
}

.sidebar-callout span {
    color: #ca7006;
}

.main_color #newsbox-2 h3 {
    text-align: center;
    color: #163863;
    font-size: 22px;
}

/******************************
=Forms
******************************/
/*Sidebar Form*/

#gform_wrapper_3 {background-color: #163863;margin: 0;}

#top #gform_wrapper_3.gform_wrapper ul li.gfield {padding-right: 0;}

#top #gform_wrapper_3 form {width: 80%; margin-bottom: 0;}

#gform_widget-2 h3 {
    margin: 0;
    text-align: center;
    font-size: 22px;
    padding: 25px 20px 5px;
    line-height: 28px;
    background-color: #163863;
    color: #fff;
}

#gform_wrapper_3.gform_wrapper .gform_footer {
    text-align: center;
    margin: 0;
    padding: 5px 0 25px 0;
}

.gform_wrapper .gform_footer input.button, 
.gform_wrapper .gform_footer input[type=submit], 
.gform_wrapper .gform_page_footer input.button, 
.gform_wrapper .gform_page_footer input[type=submit] {
    background-color: #ca7006;
    border-color: #ca7006;
    border-radius: 2px;
    font-size: 16px;
}


/******************************
=Global Styles
******************************/
.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
    text-transform: none;
    letter-spacing: 1px;
}

#top .fullsize .template-blog .big-preview img {border-radius: 0;}

/******************************
=Mobile Styles
******************************/
#mobile-advanced, 
#mobile-advanced a, 
#mobile-advanced .mega_menu_title {background-color: #607fab; color:#ffffff;}

#mobile-advanced li > a:before, 
.html_header_mobile_behavior #mobile-advanced span > a:before, 
#mobile-advanced .mega_menu_title:before {color: #ffffff;}

html body #advanced_menu_hide[data-av_iconfont='entypo-fontello']:before,
 #advanced_menu_hide {
    background-color: #ca7006;
    color: #ffffff;
    border-color: #ffffff;
}

#mobile-advanced {
    overflow: hidden !important;
}

/*Larger than 1920*/
@media only screen and (min-width: 1919px) { 

}

/*tablet and larger*/
@media only screen and (min-width: 768px) {
        .html_header_top.html_header_sticky #top #wrap_all #main {
        padding-top: 179px !important;
    }

    .html_header_top.html_header_sticky #top.home #wrap_all #main {
        padding-top: 129px !important;
    }
}

/*tablet only */
@media only screen and (min-width: 768px) and (max-width: 989px) {
	#menu-item-180 a { margin-bottom: 5px;}
	.av_secondary_right .sub_menu {top: 47px;}
	#top #wrap_all .social_bookmarks {top: 5px;}
    #advanced_menu_toggle {
        top: 65px;
        left: 10px;
    }
}

/*tablet and smartphone*/
@media only screen and (max-width: 989px) {
    #lc-promo p {text-align: center;}
    .lc-promo-btn {text-align: center;}
}

/*smartphone*/
@media only screen and (max-width: 767px) {
    .responsive #header_meta .sub_menu>ul>li {display: block;}
    .responsive #header_meta .sub_menu>ul>li#menu-item-180 {display: none;}
    .responsive #top #wrap_all #header_meta .container {width: 100%; max-width: none;}
    .av_secondary_right .sub_menu {padding-left: 0px;}
    #menu-item-179 a {padding: 15px 0; background-color: #ca7006;}
    #header_meta, #header_meta .container {
        min-height: 40px;
        height: 40px;
    }
    #advanced_menu_toggle {
        top: 40px;
        right: 10px;
    }
    #top #wrap_all .social_bookmarks {display: none;}
    .html_header_top.html_header_sticky #top.home #wrap_all #main {padding-top: 0px !important;}
    .header_color .header_bg, .header_color.header-scrolled .header_bg{height: 119px;}
    #top #home-form .gform_wrapper ul li.gfield {width: 100% !important;}
    #top #home-form .gform_wrapper ul li.gfield:last-child {
        width: 100% !important;
        margin: 0;
        margin-left: 0 !important;
    }
    #top.home #layer_slider_1 .ls-bottom-nav-wrapper {display: none;}
    .responsive #top #header .main_menu .social_bookmarks {
        display: inline-block;
        top: calc(50% - 5px);
    }
    .header_color .main_menu ul:first-child > li.current-menu-item > a, 
    .header_color .main_menu ul:first-child > li.current_page_item > a {color: #11304e !important;}
    .html_av-overlay-side #top #wrap_all div .av-burger-overlay-scroll #av-burger-menu-ul a:hover {
        background-color: #fff;
        color: #11304e;
    }
    #header span.logo a,
    #header span.logo a img {max-height: 80px !important;}
}
@media only screen and (max-width: 550px) {
    .responsive #top #wrap_all #header .social_bookmarks, .responsive #top #wrap_all #main .av-logo-container .social_bookmarks {
        display: none;
    }
    .responsive #top .av-logo-container .avia-menu {
        margin-right: 0;
        padding-right: 0;
        border: 0;
    }
}
/*iPhone 6*/
@media only screen and (max-width: 376px) {

}