/*
Theme Name: Borvel Child
Theme URI: https://northtwinbuilders.com
Description: Child theme for Borvel theme
Author: North Twin Builders
Author URI: https://northtwinbuilders.com
Template: borvel
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: borvel-child
*/

/* Override KingComposer FontAwesome font settings to preserve custom changes */
@font-face {
    font-family: 'FontAwesome';
    src: url("../../../plugins/kingcomposer/assets/css/fonts/fa-solid-900.eot");
    src: url("../../../plugins/kingcomposer/assets/css/fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"),
        url("../../../plugins/kingcomposer/assets/css/fonts/fa-solid-900.woff2") format("woff2"),
        url("../../../plugins/kingcomposer/assets/css/fonts/fa-solid-900.woff") format("woff"),
        url("../../../plugins/kingcomposer/assets/css/fonts/fa-solid-900.ttf") format("truetype"),
        url("../../../plugins/kingcomposer/assets/css/fonts/fa-solid-900.svg#fontawesome") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Override Borvel Flaticon font settings to preserve font-display: swap for performance */
@font-face {
    font-family: "Flaticon";
    src: url("../borvel/fonts/flaticon.eot");
    src: url("../borvel/fonts/flaticon.eot?#iefix") format("embedded-opentype"),
        url("../borvel/fonts/flaticon.woff") format("woff"),
        url("../borvel/fonts/flaticon.ttf") format("truetype"),
        url("../borvel/fonts/flaticon.svg#Flaticon") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    @font-face {
        font-family: "Flaticon";
        src: url("../borvel/fonts/flaticon.svg#Flaticon") format("svg");
        font-display: swap;
    }
}

/* Add your custom styles below this line */

/* Footer style override */

.main-footer .auto-container .upper-box ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;

    /* @media (min-width: 768px) {} */
}

.main-footer .auto-container .upper-box ul:before,
.main-footer .auto-container .upper-box ul:after {
    display: none;
}

.main-footer .auto-container .upper-box ul li {
    text-align: center;
    margin-bottom: 0;
    width: fit-content;
    overflow-wrap: break-word;
    max-width: 180px;

    @media (min-width: 768px) {
        flex: 1;
        max-width: unset;
    }
}

.kc_row .kc_single_image img {
    width: 100%;
}

.kc_row .kc-video-inner iframe {
    max-width: 100%;
    width: 100%;
}

#goog_conv_iframe {
    height: 0px;
    width: 0px;
    border: none;
    position: absolute;
}

a.contact-us-phone-number {
    color: white;
}

.widgets-section .footer-widget.widget_bunch_about_us {
    text-align: center;

    @media (min-width: 1023px) {
        text-align: left;
    }
}

.widgets-section>.row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;

    @media (min-width: 1023px) {
        gap: 20px;
        justify-content: space-between;
    }

}

.widgets-section>.row:before,
.widgets-section>.row:after {
    display: none;
}

.widgets-section>.row div:has(.footer-widget) {
    float: none;
    box-sizing: border-box;
    width: 100%;
    text-align: center;

    @media(min-width: 479px) {
        width: 50%;
    }

    @media(min-width: 1023px) {
        /* min-width: 33.333%; */
        width: fit-content;
        text-align: left;
    }
}

.widgets-section>.row .footer-widget h2:after {

    @media (min-width: 300px) and (max-width: 1023px) {
        left: 50%;
        transform: translateX(-50%);
    }
}

.widgets-section>.row .footer-widget li a {
    padding: 5px 10px;
}

.widgets-section>.row div:has(.footer-widget):not(:nth-of-type(1)) .footer-widget {

    @media (min-width: 300px) and (max-width: 1023px) {
        padding-top: 0px;
    }
}

.widgets-section>.row div:has(.footer-widget):nth-of-type(1) {
    width: 100%;

    @media(min-width: 1023px) {
        width: unset;
        max-width: 50%;
        flex: 1;
        /* width: fit-content; */
    }
}