/*
Theme Name: Divi Agency
Theme URI: http://diviextended.com/
Version: 1.0
Description: Divi Child Theme For Agency and Small Business Website
Author: Divi Extended 
Template: Divi
*/
@import url("../Divi/style.css");

/* Typography */

.el-page-subheading .et_pb_blurb_content {
    text-align: left;
}

.text-center {
    text-align: center;   
}

.mobile-divider-left {
    margin: auto;   
}

/* Header */

#top-menu li {
    padding: 0px 20px;
}

#top-menu li li {
    padding: 0;
    width: 100%;
}

#top-menu li li:not(:last-child) {
    border-bottom: 1px solid #1080d0;
}

#top-menu li li a {
    padding: 12px;
    font-size: 14px;
    width: 100%;
}

#main-header .et_mobile_menu {
    background-color: #000 !important;
}

.nav li ul {
    padding: 0px !important;    
}

/* Button */

.et_button_no_icon .et_pb_button,
.et_button_no_icon .et_pb_button:hover {
    padding: 6px 35px !important;
    font-weight: 600 !important;
}

/* Home Page*/

.our-services .et_pb_blurb {
    padding: 40px 25px;
    transition: background 800ms ease;
}

.our-services .et_pb_blurb:hover {
    background: #fff;
}

.portfolio-section .et_pb_portfolio_filters ul {
    display: flex;
    justify-content: center;
}

.portfolio-section .et_pb_portfolio_item {
    width: 32% !important;
    margin: 1% !important;
}

.portfolio-section .et_pb_portfolio_item:nth-child(3n+1) {
    margin-left: 0px !important;
    margin-right: 1% !important;
}

.portfolio-section .et_pb_portfolio_item:nth-child(3n+2) {
    clear: none
}

.portfolio-section .et_pb_portfolio_item:nth-child(3n) {
    margin-right: 0 !important;
}

.home-map .et_pb_map {
    height: 100%;
}

.about-divider {
    max-width: 10%;
    border-bottom: 2px solid #ccc;
    margin: auto;   
}

.home-testimonials {
    margin-top: 75px;   
}

.home-testimonials .et_pb_testimonial_portrait {
    margin: -75px auto 40px;
    float: none;
}

.home-testimonials:before {
    display: none;   
}

.home-testimonials .et_pb_testimonial_description {
    width: 100%;
    margin-left: 0px !important;
}

.home-testimonials .et_pb_testimonial_description_inner:before {
    display: block;
    font-family: ETmodules;
    content: '\7b';
    font-size: 80px;
    font-weight: bold;
    transform: scale(-1);
    position: absolute;
    top: -45px;
    left: -70px;
    opacity: 0.15;
}

.home-testimonials .et_pb_testimonial_portrait + .et_pb_testimonial_description .et_pb_testimonial_description_inner:before {
    top: -48px;
    left: -30px;
}

.home-testimonials .et_pb_testimonial_description {
    padding: 0 50px;
}

.home-testimonials .et_pb_testimonial_portrait + .et_pb_testimonial_description {
    padding: 0 30px;
}

.el-process-content {
    display: none;
}

/* Pricing Page */

.el-pricing-tables .et_pb_column {
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.04);
    transition: all .2s ease-in-out; 
}

.el-pricing-tables .el-pricing-table1:hover,
.el-pricing-tables .el-pricing-table3:hover,
.el-pricing-tables .el-pricing-table2 {
    transform: scale(1.1); 
}

/* Footer */

#footer-info a {
    font-weight: 500;
}

#footer-info a:hover {
    color: #1080d0;
}

.footer-address:before,
.footer-phone:before,
.footer-email:before {
    font-family: ETmodules;
    padding-right: 5px;
}

.footer-address:before {
    content: '\e01d';
}

.footer-phone:before {
    content: '\e090';
}

.footer-email:before {
    content: '\e010';
}

.footer-widget #gallery-1 img {
    border: none;
}

.footer-widget #gallery-1 dl {
    margin: 0;
}

.footer-widget #gallery-1 .gallery-item {
    margin-top: 2px;
    padding-right: 8px;
}

.footer-widget .tagcloud a {
    color: #1080d0 !important;
    font-size: 14px !important;
    font-weight: 600;
    background: #fff;
}

/* Media Queries */

@media screen and (max-width: 980px) {
    
    .center-text .et_pb_text_inner,
    .center-text .et_pb_button_module_wrapper {
        text-align: center;
    }
    
    .divider-center .et_pb_divider {
       margin-left: auto!important;
       margin-right: auto!important;
    }
    
    .contact-submit .et_contact_bottom_container {
        float: none;
        margin-top: -1.5%;
        text-align: center;
    }
    
    .reverse-row {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
    
    .home-blog .et_pb_post {
        display: flex;
        flex-wrap: wrap;
    }
    
    .home-blog .et_pb_post .post-meta {
        order: 0;
    }
    
    .home-blog .et_pb_post .entry-title {
        order: 1;
        width: 100%;
    }
    
    .home-blog .et_pb_post .post-content {
        order: 2;
    }
    
    .el-process .et_pb_column:nth-child(1),
    .el-process .et_pb_column:nth-child(2) {
        margin-bottom: 110px !important;
    }
    
    .el-process .et_pb_column:before {
        left: 45%;
    }
    
 }
 
 @media screen and (max-width: 767px) {
     
     #nav_menu-2 {
        display: none;   
     }
     
     .mobile-text-center,
     .mobile-text-center .et_pb_blurb_content,
     .mobile-text-center h2.et_pb_module_header {
        text-align: center !important;   
     }
     
     .mobile-text-left,
     .mobile-text-left h2 {
        text-align: left !important;   
     }     
     
    .mobile-divider-left {
        margin-left: 0;;   
    }
     
 }

@media screen and (min-width: 981px) {
    
    #main-content .container:before {
        width: 0px;
    }
    
    .home-blog .et_pb_post .entry-title {
        padding-top: 30px;   
    }
    
    .home-blog .et_pb_post .entry-title a {
        position: relative;
    }
    
    .home-blog .et_pb_post .entry-title a:after {
        position: absolute;
        content: '';
        top: calc(50% - 1px);
        width: 60px;
        border-bottom: 2px solid #333333;
    }
    
    .home-blog .et_pb_post:nth-child(odd) .entry-title a:after {
        left: -85px;
    }
    
    .home-blog .et_pb_post:nth-child(even) .entry-title a:after {
        right: -85px;
    }
    
    .home-blog .et_pb_post .post-content {
        width: 65%;
        float: left;
    }
    
    .home-blog .et_pb_post .post-meta {
        position: absolute;
        top: 0;
    }
    
    .home-blog .et_pb_post:nth-child(odd) .post-meta {
        left: 35.1%;
    }
    
    .home-blog .et_pb_post:nth-child(even) .post-meta {
        right: 35%;
    }
    
    .home-blog .et_pb_post:nth-child(even) {
        text-align: right;
    }
    
    .home-blog .et_pb_post a img {
        max-width: 30%;
    }
    
    .home-blog .et_pb_post:nth-child(odd) a img {
        float: left;
        margin-right: 5%;
    }
    
    .home-blog .et_pb_post:nth-child(even) a img {
        float: right;
        margin-left: 5%;
    }
    
    .el-process .et_pb_column {
        padding: 0 20px 50px;
        opacity: 0.3;
        cursor: pointer;
        transition: all 300ms ease-in;
    }
    
    .el-process .et_pb_column:first-child {
        opacity: 1;
    }
    
    .el-process .et_pb_column:first-child:after {
        opacity: 0.15;
    }
    
    .el-process .et_pb_column:nth-child(1) .et_pb_module:after {
        content: '1';
    }
    
    .el-process .et_pb_column:nth-child(2) .et_pb_module:after {
        content: '2';
    }
    
    .el-process .et_pb_column:nth-child(3) .et_pb_module:after {
        content: '3';
    }
    
    .el-process .et_pb_column:nth-child(4) .et_pb_module:after {
        content: '4';
    }
    
    .el-process .et_pb_module:after {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: calc(50% - 15px);
        bottom: 0;
        border: 1px solid #bbb;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        transition: all 300ms ease-in;
        content: '';
    }
    
    .el-process .et_pb_column:before,
    .el-process .et_pb_column:after {
        content: '';
        position: absolute;
        bottom: 15px;
        left: 0;
        width: calc(50% - 15px);
        border: 1px dashed #bbb;
        opacity: 0.5;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        transition: all 300ms ease-in;
    }
    
    .el-process .et_pb_column:after {
        left: calc(50% + 15px);
    }
    
    .el-process .et_pb_column:last-child {
        overflow: hidden;
    }
    
    .el-process .et_pb_column:first-child:before {
        width: 0;
    }
    
    .el-process .et_pb_column:last-child:after {
        width: 0;
    }
    
    .el-process-1-content {
        display: block;
    }
    
    .el-process .et_pb_column.active,
    .el-process .et_pb_column.active:before {
        opacity: 1;
    }
    
    .el-process .et_pb_column.active:after {
        opacity: 0.15;
    }
    
    .el-process .et_pb_column.active-prev,
    .el-process .et_pb_column.active-prev:before,
    .el-process .et_pb_column.active-prev:after {
        opacity: 1;
    }
    
    .el-process .et_pb_column.active:before,
    .el-process .et_pb_column.active-prev:before,
    .el-process .et_pb_column.active-prev:after {
        border: 1px solid #bbb;
    }

}

@media screen and (min-width: 768px) {
    
    .el-innerpage-header {
        z-index: 0;
        margin-bottom: -20vh;
    }
    
    .el-innerpage-header ~ .et_pb_section {
        width: 80%;
        margin: auto;
        box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.04);
    }
    
    .el-innerpage-header ~ .et_pb_section .et_pb_row {
        width: 90%;
    }
    
}

@media screen and (max-width: 479px) {
    
    .et_pb_blog_grid h2, .et_pb_post h2 {
        padding-bottom: 5px;
    }
    
    .el-process .et_pb_column:not(:last-child) {
        margin-bottom: 110px !important;
    }
    
}



