/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.sbox-header {
    position: relative;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
}

.sbox-header-inner {
    max-width: 1140px;
    min-height: 105px;
    margin: auto;
    padding: 0 15px;

    display: grid;
    grid-template-columns: 160px 1fr 190px;
    align-items: center;
}

.sbox-logo img {
    display: block;
    width: 135px !important;
    height: auto !important;
}

.sbox-desktop-nav {
    justify-self: center;
}

.sbox-menu {
    display: flex;
    gap: 38px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sbox-menu li,
.sbox-mobile-menu li {
    list-style: none;
}

.sbox-menu a,
.sbox-menu a:visited {
    display: block;
    padding: 42px 0;

    color: #0c2433 !important;

    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.sbox-menu a:hover,
.sbox-menu .current-menu-item > a,
.sbox-menu .current_page_item > a {
    color: #28bce2 !important;
}

.sbox-cta,
.sbox-cta:visited {
    justify-self: end;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 175px;
    min-height: 46px;
    padding: 0 25px;

    border: 1px solid #28bce2;
    border-radius: 30px;

    background: transparent;
    color: #28bce2 !important;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.sbox-cta:hover,
.sbox-cta:focus {
    background: #28bce2;
    color: #fff !important;
}

.sbox-mobile-nav {
    display: none;
}


/* TABLET + MOBILE */

@media (max-width: 1024px) {

    .sbox-header-inner {
        min-height: 82px;
        padding: 0 25px;

        grid-template-columns: 1fr auto auto;
        gap: 12px;
    }

    .sbox-logo {
        grid-column: 1;
        justify-self: start;
    }

    .sbox-logo img {
        width: 105px !important;
    }

    .sbox-desktop-nav {
        display: none;
    }

    .sbox-cta,
    .sbox-cta:visited {
        grid-column: 2;
        justify-self: end;

        min-width: auto;
        min-height: 40px;
        padding: 0 16px;

        font-size: 12px;
    }

    .sbox-mobile-nav {
        grid-column: 3;
        display: block;
        justify-self: end;
    }

    .sbox-mobile-nav summary {
        width: 44px;
        height: 44px;

        display: flex;
        flex-direction: column;
        justify-content: center;

        gap: 5px;
        padding: 8px;

        cursor: pointer;
        list-style: none;

        background: transparent !important;
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
    }

    .sbox-mobile-nav summary::-webkit-details-marker {
        display: none;
    }

    .sbox-mobile-nav summary span {
        width: 27px;
        height: 2px;

        background: #0c2433;
        transition: .2s;
    }

    .sbox-mobile-nav[open] summary span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .sbox-mobile-nav[open] summary span:nth-child(2) {
        opacity: 0;
    }

    .sbox-mobile-nav[open] summary span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .sbox-mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;
        margin: 0;
        padding: 10px 25px 18px;

        background: #fff;
        box-shadow: 0 14px 30px rgba(0,0,0,.08);

        list-style: none;
    }

    .sbox-mobile-menu a,
    .sbox-mobile-menu a:visited {
        display: block;
        padding: 16px 4px;

        border-bottom: 1px solid #eee;

        color: #0c2433 !important;

        font-size: 14px;
        font-weight: 600;

        text-decoration: none;
        text-transform: uppercase;
    }

    .sbox-mobile-menu li:last-child a {
        border-bottom: 0;
    }

    .sbox-mobile-menu a:hover,
    .sbox-mobile-menu .current-menu-item > a,
    .sbox-mobile-menu .current_page_item > a {
        color: #28bce2 !important;
    }
}


/* PHONE */

@media (max-width: 767px) {

    .sbox-header-inner {
        min-height: 72px;
        padding: 0 15px;
        gap: 8px;
    }

    .sbox-logo img {
        width: 95px !important;
    }

    .sbox-cta,
    .sbox-cta:visited {
        min-height: 38px;
        padding: 0 12px;

        font-size: 11px;
    }

    .sbox-mobile-nav summary {
        width: 40px;
        height: 40px;
        padding: 6px;
    }

    .sbox-mobile-nav summary span {
        width: 24px;
    }

    .sbox-mobile-menu {
        padding-left: 18px;
        padding-right: 18px;
    }
}


/* VERY SMALL PHONES */

@media (max-width: 380px) {

    .sbox-header-inner {
        padding: 0 10px;
        gap: 6px;
    }

    .sbox-logo img {
        width: 85px !important;
    }

    .sbox-cta,
    .sbox-cta:visited {
        min-height: 36px;
        padding: 0 9px;
        font-size: 10px;
    }
}

/* CONTACT FORM */


.sbox-contact-form,
.sbox-contact-form .wpcf7-form-control-wrap {
    width: 100%;
    box-sizing: border-box;
}

/* Layout */

.sbox-form-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px;
    margin-bottom: 18px;
}

.sbox-form-row > p {
    display: contents;
}

.sbox-form-full {
    margin-bottom: 18px;
}


/* Inputs */

.sbox-contact-form input[type="text"],
.sbox-contact-form input[type="email"],
.sbox-contact-form input[type="tel"],
.sbox-contact-form select {
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;

    margin: 0;
    padding: 0 18px;

    border: 2px solid #0c2433 !important;
    border-radius: 7px;

    background: #fff;
    color: #0c2433;

    font: inherit;
    font-size: 16px;

    outline: none;
    box-shadow: none;
    box-sizing: border-box;
}

.sbox-contact-form input::placeholder {
    color: #aaa;
    opacity: 1;
}


/* Select */

.sbox-contact-form select {
    padding: 0 50px 0 18px;

    appearance: none;
    -webkit-appearance: none;

    background-color: #fff;
    background-image:
        linear-gradient(45deg, transparent 50%, #0c2433 50%),
        linear-gradient(135deg, #0c2433 50%, transparent 50%);

    background-position:
        calc(100% - 22px) 23px,
        calc(100% - 16px) 23px;

    background-size: 6px 6px;
    background-repeat: no-repeat;

    cursor: pointer;
}

.sbox-contact-form input:focus,
.sbox-contact-form select:focus {
    border-color: #28bce2 !important;
}


/* Privacy */

.sbox-form-consent {
    margin: 2px 0 18px;

    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.sbox-form-consent .wpcf7-list-item {
    margin: 0;
}

.sbox-form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    cursor: pointer;
}

.sbox-form-consent input[type="checkbox"] {
    width: 17px !important;
    min-width: 17px;
    height: 17px !important;
    min-height: 17px !important;

    margin: 2px 0 0;
    padding: 0;

    accent-color: #28bce2;
}

.sbox-form-consent a,
.sbox-form-consent a:visited {
    color: #28bce2 !important;
    text-decoration: underline;
}


/* Submit */

.sbox-contact-form input[type="submit"] {
    width: 100%;
    height: 58px;

    margin: 0;
    padding: 0 18px;

    border: 0 !important;
    border-radius: 30px;

    background: #28bce2 !important;
    color: #fff !important;

    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;

    cursor: pointer;
    box-sizing: border-box;
}

.sbox-contact-form input[type="submit"]:hover {
    opacity: .9;
}


/* CF7 */

.sbox-contact-form .wpcf7-spinner {
    display: none;
}

.sbox-contact-form .wpcf7-not-valid-tip {
    margin-top: 6px;

    font-size: 13px;
}

.sbox-contact-form .wpcf7-response-output {
    margin: 20px 0 0;
}


/* Mobile */

@media (max-width: 767px) {

    .sbox-form-row {
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

}