/*

Theme Name: Divi Child

Theme URI: https://diviextended.com/

Version: 1.0

Description: Child Theme of Divi

Author: Divi Extended

Template: Divi

*/

@import url("../Divi/style.css");


/*================================
 TYPOGRAPHY
=================================*/
body {
    font-family: proxima-nova, sans-serif;
    font-size: 20px;
    font-weight: 400;
}

h1, h2, h3, h4, h5 {
    font-family: orpheuspro, serif;
}

h2 {
    font-size: 46px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

h3 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
}


.flex-row {
    display:flex;
    flex-direction: row;
}

.flex-centered-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

p {
    padding: 0 0 1em 0 !important;
}

p.caption {
    font-size: 16px;
    font-style: italic;
    line-height: 1.5;
}

sup.copyright {
    font-size: .3em;
}

span.toggle-author {
    font-size: 16px;
}


.et_pb_row .et_pb_column .et_pb_module.et_pb_testimonial {
    background: rgba(255, 255, 255, .59);
    border: 1px solid #dadada;
    padding: 18px !important;
    margin-bottom: 14px;
    box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3) !important;
}


/*================================
 GRAVITY FORMS
=================================*/

.gform_wrapper input, .gform_wrapper textarea {
    background: #f4f4f4;
    border: 2px solid #f4f4f4;
    padding: 18px !important;
    font-size: 17px !important;
    transition: all .2s ease-in-out;
}

.gform_footer input[type=submit] {
    background: #e34606;
    color: #fff;
    width: 240px;
    border: 2px solid #fff;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px !important;
}

.gform_footer input[type=submit]:hover {
    background: #333;
    cursor: pointer;
}

.gform_wrapper input:not([type=submit]):focus,
.gform_wrapper textarea:focus {
    border: 2px solid #C45329;
}

.gform_wrapper.gravity-theme .gfield_label {
    color: #fff;
}

/*================================
 VERTICAL MENU
=================================*/

.dl-v-menu {
    margin: 0 20px;
}

/*================================
 HOME PAGE
=================================*/

body #page-container {
    padding-top: 0 !important;
}

/*================================
 INTERNAL PAGES GLOBAL
=================================*/

body:not(.home) #main-header {
    background: #005272;
}

@media (min-width: 981px) {
    
    body:not(.home) .logo_container {
        height: 100% !important;
        opacity: 1 !important;
    }
    
}

/*================================
 COLUMNS AND ROWS
=================================*/

/* place on row */
.cols-vertical-center {
    display: flex;
    align-items: center;
}

/*================================
 PATTERN BORDERS
=================================*/

.blue-triangle-left,
.tan-triangle-bottom {
    position: relative;
}

.blue-triangle-left::before {
    content: '';
    position: absolute;
    background: url(/wp-content/uploads/2023/06/blue-triangle-left.png);
    height: 100%;
    width: 26px;
    background-repeat: repeat-y;
    left: -26px;
    z-index: 1;
}

.tan-triangle-bottom::after {
    content: '';
    position: absolute;
    background: url(/wp-content/uploads/2023/06/tan-triangle-bottom.png);
    width: 100%;
    height: 26px;
    background-repeat: repeat-x;
    bottom: -26px;
    z-index: 1;
}
.blue-triangle-bottom::after {
    content: '';
    position: absolute;
    background: url(/wp-content/uploads/2023/06/blue-triangle-bottom.png);
    width: 100%;
    height: 26px;
    background-repeat: repeat-x;
    bottom: -26px;
    z-index: 1;
}

.green-triangle-top::before {
    content: '';
    position: absolute;
    background: url(/wp-content/uploads/2023/06/green-triangle-top.png);
    width: 100%;
    height: 26px;
    background-repeat: repeat-x;
    top: -26px;
    z-index: 1;
}
.tan-triangle-top::before {
    content: '';
    position: absolute;
    background: url(/wp-content/uploads/2023/06/tan-triangle-top.png);
    width: 100%;
    height: 26px;
    background-repeat: repeat-x;
    top: -26px;
    z-index: 1;
}

/*================================
 PRIMARY NAV
=================================*/

#top-menu li.primary-contact-btn a {
    font-size: 16px;
    font-weight: 600;
}

#top-menu a {
    color: rgba(0,0,0,0.6);
    text-decoration: none;
    display: block;
    position: relative;
    -webkit-transition: opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
    font-size: 18px;
    font-weight: 600;
}

li.primary-contact-btn {
    float: left;
    width: 100%;
    clear: both;
    text-align: right;
    padding-bottom: 20px;
}

#top-menu li.primary-contact-btn {
    padding-right: 0;
}

li.primary-contact-btn a {
    background: #C45329;
    padding: 12px 40px !important;
    max-width: 200px;
    float: right;
    border: 1px solid #fff;
    border-radius: 50px;
}

#top-menu {
    text-align: right;
}

.et_header_style_left #et-top-navigation {
    padding-top: 18px;
}

#main-header.et-fixed-header {
    background: rgba(0,82,114,.9);
}

#et-top-navigation ul#mobile_menu {
    background: rgba(0,0,0,0.8);
}

.et_mobile_menu li a {
    font-size: 18px;
}

/*================================
FOOTER
=================================*/

#main-footer {
    font-size: 16px;
    line-height: 1.5;
    position: relative;
}

div#media_image-2 {
    margin-bottom: 20px;
}

#main-footer .container {
    background-image: url(/wp-content/uploads/2023/07/beone-logomark-white.png);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: auto 100%;
}

#main-footer #footer-bottom .container {
    background-image: none;
}

#footer-widgets {
    padding: 6% 0 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
}

div#custom_html-2 {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.legal {
    text-align: right;
    font-size: 14px;
    max-width: 400px;
}

/*================================
TESTMONIALS SLIDER
=================================*/

.dnxte-rating-revstar.dnext-star-rating {
    display: none;
}

/*================================
DIVI GALLERY
=================================*/

/** Hide Captions **/
.mfp-title {
    display: none;
}

/* GALLERY COLUMN ADJUSTMENTS
=================================*
/** Desktop **/
@media (min-width: 981px){
    
    .col-width .et_pb_gallery_item {
    width: 30% !important; /*six columns*/
    clear: none !important;
    }
    
    .entry-content .et_pb_gallery_grid.gallery-3c .et_pb_gallery_item {
        width: 31.33%;
    }
    
}
 
/** Tablet **/
@media (max-width: 980px){
.col-width .et_pb_gallery_item {
width: 29% !important; /*four columns*/
clear: none !important;
}
}
 
/** Small Tablet and Large Phone **/
@media (max-width: 767px){
.col-width .et_pb_gallery_item {
width: 47% !important; /*three columns*/
clear: none !important;
}
}
 
/** Phone **/
@media (max-width: 479px){
.col-width .et_pb_gallery_item {
width: 50% !important; /*two columns*/
clear: none !important;
}
}


/*================================
MEDIA QUERIES
=================================*/

@media only screen and (max-width: 1023px) {
    
    .flex-row {
        display: flex;
        flex-direction: column;
        gap: 2em;
        align-items: center;
    }
    
    .flex-row.col-rev {
        flex-direction: column-reverse;
    }
    
    .flex-row:not(.col-rev) {
        margin-top: 4em;
    }
    
}

@media only screen and (max-width: 980px) {
    
    .home.et_header_style_left .logo_container {
        display: none;
    }
    
    .mobile_menu_bar:before {
        font-size: 38px;
    }
    
    .home .mobile_menu_bar:before {
        color: #005272;
    }
    
    div#home-header-section {
        align-items: center;
        padding-top: 0 !important;
    }
    
    #footer-widgets {
        padding: 60px 0 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    #footer-widgets .footer-widget:nth-last-child(-n+2) {
        margin-bottom: 60px !important;
    }
    
    div#custom_html-2 {
        display: flex;
        justify-content: flex-start;
    }
    
    .legal {
        text-align: left;
    }
    
    
}

@media only screen and (max-width: 768px) {
    
    
    
}

