/*======================================
Theme Name: Divi Construction Child Theme
Theme URI: https://divifoxx.com/
Description: Divi child theme for construction realted businesses
Version: 1.0
Author: Mayank Singh Yadav
Author URI: https://divifoxx.com/
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

/*=====================================
 * Menu Dropdown
 * ===================================*/
.et_pb_menu_0_tb_header.et_pb_menu .nav li ul{
	box-shadow: 0px 2px 18px 0px rgb(0,0,0,10%);
    border-radius: 5px;
	border-color: #ffffff!important;
}

.et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu li:hover a{
	color:#F1B017!important;
}

.et_mobile_menu li a:hover, .nav ul li a:hover{
	 opacity: 1!important;
	 background-color:#ffffff!important;
}


/*=====================================
 * PORTFOLIO CSS
 * ===================================*/

/* GENERAL CSS */
/* filter and pagination */
.df_portfolio .et_pb_portfolio_filters {
    text-align: center;
}

.df_portfolio .et_pb_portfolio_filters>ul {
    display: inline-block;
    box-shadow: 0 0 55px 2px rgba(0, 0, 0, 0.01);
}

.df_portfolio.et_pb_filterable_portfolio .et_pb_portfolio_filters li:first-child a,
.df_portfolio.et_pb_filterable_portfolio .et_pb_portfolio_filters li:last-child a {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.df_portfolio.et_pb_filterable_portfolio .et_pb_portfolio_filters li a,
.df_portfolio .et_pb_portofolio_pagination ul li a {
    border: 2px solid #f9f9f9;
    margin: -2px -2px 0 0;
    background-color: #fff;
    -webkit-transition: all 0.65s ease;
    -o-transition: all 0.65s ease;
    transition: all 0.65s ease;
}

.df_portfolio .et_pb_portofolio_pagination {
    text-align: center;
    border-top: none;
    margin-top: 40px;
}

.df_portfolio .et_pb_portofolio_pagination ul {
    display: inline-block;
    box-shadow: 0 0 55px 2px rgba(0, 0, 0, 0.01);
}

.df_portfolio .et_pb_portofolio_pagination ul li {
    padding: 0;
}

.df_portfolio .et_pb_portofolio_pagination ul li a {
    padding: 10px 12px;
}

/* Portfolio Item */
/* Bring the Hovered item above the Adjacent Items
 Transitioning The z-index */
.df_portfolio .et_pb_portfolio_item {
    z-index: 1;
    -webkit-transition: z-index 0.65s ease;
    -o-transition: z-index 0.65s ease;
    transition: z-index 0.65s ease;
}

.df_portfolio .et_pb_portfolio_item:hover {
    z-index: 999;
}

.df_portfolio .et_pb_portfolio_item h2 {
    margin-top: 0 !important;
}

.df_portfolio h2.et_pb_module_header,
.df_portfolio p.post-meta {
    position: absolute;
    opacity: 0;
    left: 50%;
    -webkit-transform: translatex(-50%);
    -ms-transform: translatex(-50%);
    transform: translatex(-50%);
    width: auto;
    height: auto;
    text-align: center;
    padding: 0;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -webkit-transition-delay: 0.05s;
    -o-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

.df_portfolio h2.et_pb_module_header {
    top: 80px;
}

.df_portfolio p.post-meta {
    bottom: 80px;
}

.df_portfolio .et_pb_portfolio_item:hover h2.et_pb_module_header,
.df_portfolio .et_pb_portfolio_item:hover p.post-meta {
    opacity: 1;
    -webkit-transition-delay: 0.55s;
    -o-transition-delay: 0.55s;
    transition-delay: 0.55s;
}

.df_portfolio .et_pb_portfolio_item:hover h2.et_pb_module_header {
    top: 40px;
}

.df_portfolio .et_pb_portfolio_item:hover p.post-meta {
    bottom: 40px;
}

/* Show Overlay Icon When Hovering The Portfolio Item */
.df_portfolio .et_pb_portfolio_item:hover .et_portfolio_image .et_overlay {
    z-index: 3;
    opacity: 1;
}

.df_portfolio .et_pb_portfolio_item:hover .et_portfolio_image .et_overlay:before {
    top: 50%;
}

@media (min-width: 981px) {
    .df_portfolio.et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item {
        width: 24.625% !important;
        margin: 0 .25% .25% 0 !important;
    }
}

@media (max-width: 980px) {
    .df_portfolio.et_pb_filterable_portfolio.et_pb_filterable_portfolio_grid .et_pb_portfolio_item.et_pb_grid_item {
        width: 33.166% !important;
        margin: 0 .25% .25% 0 !important;
    }

    .df_portfolio.et_pb_filterable_portfolio_grid .et_pb_portfolio_item.et_pb_grid_item:nth-child(n).last_in_row {
        margin-right: 0 !important;
    }
}

@media (max-width: 767px) {
    .df_portfolio.et_pb_filterable_portfolio.et_pb_filterable_portfolio_grid .et_pb_portfolio_item.et_pb_grid_item {
        width: 49.75% !important;
        margin: 0 .25% .25% 0 !important;
    }

}

@media (max-width: 479px) {
    .df_portfolio.et_pb_filterable_portfolio.et_pb_filterable_portfolio_grid .et_pb_portfolio_item.et_pb_grid_item {
        width: 100% !important;
        margin: 0 0 1% 0 !important;
    }
}

.df_portfolio.effect-book .et_pb_portfolio_filters li a.active,
.df_portfolio.effect-book .et_pb_portfolio_filters li a:hover,
.df_portfolio.effect-book .et_pb_portofolio_pagination ul li a.active,
.df_portfolio.effect-book .et_pb_portofolio_pagination ul li a:hover {
    background-color: #f1b017;
    color: #000 !important;
}

.effect-book .et_portfolio_image {
    -webkit-perspective: 35em;
    perspective: 35em;
}

.effect-book .et_portfolio_image:before,
.effect-book .et_portfolio_image:after {
    content: '';
    position: absolute;
    opacity: 0;
    top: 0;
    height: 100%;
    width: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.65s ease;
    -o-transition: all 0.65s ease;
    transition: all 0.65s ease;
    -webkit-transition-delay: 0.45s;
    -o-transition-delay: 0.45s;
    transition-delay: 0.45s;
}

.effect-book .et_pb_portfolio_item:hover .et_portfolio_image:before,
.effect-book .et_pb_portfolio_item:hover .et_portfolio_image:after {
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}

.effect-book .et_portfolio_image:before {
    background-image: -webkit-linear-gradient(left, transparent 65%, rgba(0, 0, 0, 0.1) 97%, rgba(0, 0, 0, 0.11) 100%);
    background-image: -webkit-gradient(linear, left top, right top, color-stop(65%, transparent), color-stop(97%, rgba(0, 0, 0, 0.11)), to(rgba(0, 0, 0, 0.11)));
    background-image: -webkit-linear-gradient(left, transparent 65%, rgba(0, 0, 0, 0.1) 97%, rgba(0, 0, 0, 0.11) 100%);
    background-image: -o-linear-gradient(left, transparent 65%, rgba(0, 0, 0, 0.1) 97%, rgba(0, 0, 0, 0.11) 100%);
    background-image: linear-gradient(to right, transparent 65%, rgba(0, 0, 0, 0.1) 97%, rgba(0, 0, 0, 0.11) 100%);
    left: 0;
    -webkit-transform: rotateY(90deg);
    -ms-transform: rotateY(90deg);
    transform: rotateY(90deg);
    -webkit-transform-origin: 100% 50%;
    -ms-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
}

.effect-book .et_portfolio_image:after {
    background-image: -webkit-linear-gradient(right, transparent 65%, rgba(0, 0, 0, 0.14) 98%, rgba(0, 0, 0, 0.1) 100%);
    background-image: -webkit-gradient(linear, right top, left top, color-stop(65%, transparent), color-stop(98%, rgba(0, 0, 0, 0.1)), to(rgba(0, 0, 0, 0.1)));
    background-image: -webkit-linear-gradient(right, transparent 65%, rgba(0, 0, 0, 0.14) 98%, rgba(0, 0, 0, 0.1) 100%);
    background-image: -o-linear-gradient(right, transparent 65%, rgba(0, 0, 0, 0.14) 98%, rgba(0, 0, 0, 0.1) 100%);
    background-image: linear-gradient(to left, transparent 65%, rgba(0, 0, 0, 0.14) 98%, rgba(0, 0, 0, 0.1) 100%);
    right: 0;
    -webkit-transform: rotateY(-90deg);
    -ms-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
    -webkit-transform-origin: 0% 50%;
    -ms-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
}

.effect-book .et_pb_portfolio_item:hover .et_portfolio_image:before,
.effect-book .et_pb_portfolio_item:hover .et_portfolio_image:after {
    /* =====Set Overlay Colour====== */
    background-color: rgba(27, 39, 58, 0.7);
    opacity: 1;
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.et_overlay {
    display: none;
}



/*==============================
 * ACCORDIAN ICON CSS
 * =============================*/
/*Add Icon To The Opened Accordion*/
.pa-add-accordion-icon .et_pb_accordion_item.et_pb_toggle_open .et_pb_toggle_title:before {
    display: block;
    content: "e04f";
}

.et_pb_toggle_title:before {
    content: "33";
    padding-right: 20px;
    font-size: 30px;
    transition: all .3s ease-in-out;
    color: #000;
}

.et_pb_toggle_open .et_pb_toggle_title:before {
    content: "33";
    padding-right: 20px;
    transform: rotate(180deg);
    color: #ffffff;
    width: 50px;
}
@media (min-width: 767px) {

    /*set the width of the input fields minus the width of the button*/
    .et_pb_newsletter_fields .et_pb_newsletter_field {
        flex-basis: calc(100% - 225px) !important;
    }

    /*Set the Width Of the Button*/
    .et_pb_newsletter_fields .et_pb_newsletter_button_wrap {
        flex-basis: 210px !important;
    }
}

h5.et_pb_toggle_title {
    background-color: #fbfbfb;
    padding: 20px !important;
}

.et_pb_toggle_open h5.et_pb_toggle_title {
    background-color: #1B273A;
    padding: 20px !important;
}

.et_pb_toggle_content {
    padding: 20px;
}

.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before{
	margin-right: 20px!important;
	color:#fff;
}

/*==========================================
*Place Two Button In Same Row 
============================================*/
.pa-inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}



/*================================
 * BLOG SECTION CSS
 * ==============================*/
/*Add Icon to blog Author*/

.pa-blog-meta-icons .post-meta .author a:before {
    content: "\e08a";
    font-family: 'ETmodules';
    color: #f1b017;
    font-weight: bold;
    margin-right: 4px;
}

/*Add Icon to Blog category */

.pa-blog-meta-icons .post-meta>a:before {
    content: "\e078";
    font-family: 'ETmodules';
    color: #f1b017;
    font-weight: bold;
    margin-right: 4px;
}

/*Add Icon to Blog Published Date*/

.pa-blog-meta-icons .post-meta .published:before {
    content: "\e023";
    font-family: 'ETmodules';
    color: #ffffff;
    font-weight: bold;
    margin-right: 4px;
}

/*Adjust the Image Spacing*/

.et_pb_post .entry-featured-image-url {
    margin: 0;
}
/*Keep The Zoom Image Inside The Frame*/

.et_pb_blog_grid .et_pb_image_container {
    overflow: hidden;
}


/*Add a Smooth Transation Effect On Zoom*/

.et_pb_blog_grid .et_pb_image_container img {
    transition: all 0.95s ease;
    -moz-transition: all 0.95s ease;
    -webkit-transition: all 0.95s ease;
}


/*Make the Faetured Image Zoom On Hover*/

.et_pb_blog_grid .et_pb_post:hover img {
    transform: scale(1.15) rotate(1deg);
    -moz-transform: scale(1.15) rotate(1deg);
    -webkit-transform: scale(1.15) rotate(1deg);
}

/*Style the Divi blog Pagination Buttons*/

.pagination .alignleft a,
.pagination .alignright a {
    color: #ffffff;
    background: #f1b017;
    border: 2px solid #f1b017;
    padding: .7em 1.3em;

    text-transform: capitalize;
    transition: all 0.3s ease-in-out;
}

/*Style the Divi Blog Pagination Buttons on hover*/

.pagination .alignleft a:hover,
.pagination .alignright a:hover {
    background: transparent;
    color: #f1b017;
    border: 2px solid #f1b017;
    transition: all 0.3s ease-in-out;
}

/*Move the Divi Blog Post Meta Tublished Date Up Over The Image*/
/*Position the Blog Posts to Prepare For Moving the Meta*/

.pa-blog-meta-icons article {
    position: relative;
}

.pa-blog-meta-icons .et_pb_blog_grid .et_pb_post .post-meta span.published {
    position: absolute;
    top: 0;
    left: 0;
    margin-bottom: 0;
    color: #ffffff !important;
    background: #1b273a !important;
    padding: 6px 12px;
    margin: 15px;
    border: 2px solid #fff;
    border-radius: 50px;
}

/*Style the Divi Blog Link Text as a Button*/

.et_pb_post a.more-link {
    color: #ffffff;
    background: #f1b017;
    border: 2px solid #f1b017;
    padding: .7em 1.3em;
    margin-top: 20px;
    text-transform: capitalize;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}
/*Style the Divi blog Link Text As a Button on Hover*/

.et_pb_post a.more-link:hover {
    background: transparent;
    color: #f1b017;
    border: 2px solid #f1b017;
    transition: all 0.3s ease-in-out;
}




/*=================================
 * CONTACT FROM BUTTON FULL WIDTH
 * ==================================*/
/*Make The Divi Contact Form Submit Button Fullwidth*/

.pa-contact-form-submit-fullwidth .et_contact_bottom_container {
    width: 100%;
    flex-direction: column;
    gap: 1em;
    padding-left: 3%;
    margin-top: 0px;
}

.pa-contact-form-submit-fullwidth .et_contact_bottom_container button {
    width: 100%;
    margin: 0;
}





/*============================
 * OUR TEAM CSS 
 * =============================*/
.et_pb_team_member.df_person_module_effect_1 {
    position: relative;
    max-width: 320px;
    overflow: hidden;
}

.df_person_module_effect_1 .et_pb_team_member_image {
    margin: 0;
}

@media (max-width: 980px) and (min-width: 768px) {
    .df_person_module_effect_1 .et_pb_team_member_image {
        width: 320px;
    }
}

.df_person_module_effect_1 * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.df_person_module_effect_1:before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    content: '';
    background-color: #ffffff;
    /* change member description background color here */
    opacity: 0;
    z-index: 1;
    -webkit-transform: scale(0.1);
    -ms-transform: scale(0.1);
    transform: scale(0.1);
    -webkit-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.df_person_module_effect_1 .et_pb_team_member_description {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    padding: 24px;
    z-index: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.df_person_module_effect_1 .et_pb_member_position {
    background-color: #f3f3f3;
    /* change member position background color here */
    padding: 3px 7px;
    margin-bottom: 5px;
}

.df_person_module_effect_1 .et_pb_team_member_description * {
    max-width: 300px;
}

.df_person_module_effect_1 .et_pb_member_social_links li:last-of-type {
    margin-right: 0px;
}

.df_person_module_effect_1:hover:before {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.df_person_module_effect_1:hover .et_pb_team_member_description {
    opacity: 1;
    -webkit-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    transition-delay: 0.2s;
}






/*==============================================
 * TESTIMONIAL CSS 
 * =======================================*/
/* apply text gradient to section heading */
.df_testimonial_h2_f h2 {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* set the author name color and font size */
.df_testimonial_f .et_pb_testimonial_author {
    font-size: 18px;
}
/* set slider row overflow to hidden */
.df_testimonial_slider_row_f {
    overflow: hidden;
}

/* set the center column width */
.df_slider_center_col_f {
    width: calc(100% - 140px) !important;
}

/* set the left and right columns width */
.df_left_button_column_f,
.df_right_button_column_f {
    width: 70px !important;
}

/* position left and right slider buttons */
.df_left_button_column_f,
.df_right_button_column_f {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.df_left_button_column_f {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    z-index: 10;
}

.df_right_button_column_f {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

/* non-visible testimonials */
.df_testimonial_f {
    position: absolute;
    top: 0;
    z-index: 0;
    opacity: 0;
}

/* active(current) testimonial */
.df_testimonial_f.df_current_f {
    position: relative;
    z-index: 1;
    opacity: 1;
}

/* quote icon */
.df_testimonial_f:before {
    z-index: 0;
    top: 20px;
    left: 160px;
    font-size: 140px;
    content: "\7b";
}

/* remove slider button(blurb) padding-left */
.et_pb_blurb_position_left.df_slider_button_f .et_pb_blurb_container {
    padding-left: 0;
}

/* adjust row and column widths on mobile */
@media all and (max-width: 980px) {
    .df_testimonial_slider_row_f {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 95% !important;
    }

    .df_slider_center_col_f {
        width: calc(100% - 70px) !important;
    }

    .df_left_button_column_f,
    .df_right_button_column_f {
        width: 35px !important;
    }
}

/* adjust quote icon positioning on phone */
@media all and (max-width: 767px) {
    .df_testimonial_f:before {
        top: 140px;
        left: 10px;
    }
}

/* Slide Animations */
/* apply IN-animation to next testimonial */
.df_next_in_f {
    opacity: 1;
    -webkit-animation: fadeInRight 1.5s 1 cubic-bezier(0.77, 0, 0.175, 1);
    animation: fadeInRight 1.5s 1 cubic-bezier(0.77, 0, 0.175, 1);
}

/* apply OUT-animation to next testimonial */
.df_next_out_f {
    opacity: 0;
    -webkit-animation: fadeOutRight 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
    animation: fadeOutRight 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
}

/* apply IN-animation to previous testimonial */
.df_prev_in_f {
    opacity: 1;
    -webkit-animation: fadeInLeft 1.5s 1 cubic-bezier(0.77, 0, 0.175, 1);
    animation: fadeInLeft 1.5s 1 cubic-bezier(0.77, 0, 0.175, 1);
}

/* apply OUT-animation to previous testimonial */
.df_prev_out_f {
    opacity: 0;
    -webkit-animation: fadeOutLeft 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
    animation: fadeOutLeft 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
}

.et-fb .df_testimonial_f {
    z-index: 1;
    opacity: 1;
}

.et-fb .df_left_button_column_f {
    z-index: 30 !important;
}




/*================================================
 * SIDE BAR CSS
 * ===============================================*/

.et_pb_widget ul li {
    background-color: #FDF2D8;
    padding: 10px;
    border-radius: 10px;

}

.et_pb_sidebar_0.et_pb_widget_area h2:first-of-type {
    background-color: #F1B017;
    padding: 10px;
    box-shadow: 0px 8px 18px -6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 10px;
}


.et_pb_widget .wp-block-search__button {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    position: absolute;
    right: 0;
    top: 0;
    color: #FFFFFF !important;
    border-width: 0px !important;
    font-size: 16px;
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    background-color: #F1B017;
}

.widget_search input#s,
.widget_search input#searchsubmit,
.et_pb_widget .wp-block-search__input,
.et_pb_widget .wp-block-search__button {
    padding: 0.7em;
    height: 40px !important;
    margin: 0;
    font-size: 14px;
    line-height: normal !important;
    border: 2px solid #F1B017;
    color: #666;
} 