/* 
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 */

b,
strong {
    font-weight: 800 !important;
}

.custom-button {
    font-family: "Karla", Sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-style: normal;
    text-decoration: none;
    letter-spacing: 1.5px;
    word-spacing: 1px;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.3);
    color: var(--e-global-color-accent);
    background-color: var(--e-global-color-primary);
    border-style: solid;
    border-width: 3px 3px 3px 3px;
    border-color: var(--e-global-color-accent);
    border-radius: 50px 50px 50px 50px;
    padding: 3px 30px 3px 30px;
}

.custom-button-white {
    color: #fff;
    background-color: transparent;
    border-color: #fff;
}

.custom-position {
    position: absolute;
    width: 300px;
    max-width: 100%;
}

.custom-position-1 {
    right: 25px;
    top: -50px;
}

.custom-position-2 {
    left: 30px;
    top: -50px;
}

.custom-arrow {
    position: relative;
    top: 2px;
}

.materiale-select select {
    width: unset;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    text-transform: uppercase;
    outline: none;
}

footer a:hover {
    color: #fff;
}

.info-privacy,
.info-privacy a {
    font-size: 15px !important;
}

.elementor-location-footer a:hover {
    text-decoration: underline;
}

.elementor-nav-menu--dropdown a {
    margin-left: -8px !important;
}

.custom-menu-mobile-wpml {
    position: relative;
    top: 9px;
}

.rs-custom-btn {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
    color: #fff !important;
    background-color: transparent !important;
    font-family: "Karla", Sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-style: normal !important;
    text-decoration: none !important;
    letter-spacing: 1.5px !important;
    word-spacing: 1px !important;
    border-style: solid !important;
    border-width: 3px 3px 3px 3px !important;
    border-color: #fff !important;
    border-radius: 50px 50px 50px 50px !important;
    padding: 3px 30px 3px 30px !important;
    font-size: 15px !important;
}

form#form_contatti .elementor-field-type-submit {
    width: 150px;
}

form#form_contatti .elementor-field-type-acceptance label {
    font-size: 13px;
    font-weight: 300;
}

form#form_contatti .elementor-acceptance-field {
    width: 17px;
    height: 17px;
    border: 2px solid #7B43BD;
    border-radius: 0;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
}

form#form_contatti .elementor-acceptance-field:checked {
    background-color: #7B43BD;
}

form#form_contatti .elementor-field-option label {
    vertical-align: middle;
    margin-left: 8px;
}

form#form_contatti .elementor-acceptance-field:checked {
    background-color: #7B43BD;
    position: relative;
}

form#form_contatti .elementor-acceptance-field:checked::after {
    content: '✓';
    color: white;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

form#form_contatti .elementor-field-textual.elementor-size-xs {
    padding: 8px 20px;
}

/* Menu Resized */
.logo-default, .logo-resized {
    transition: opacity 1s ease, transform 1s ease; /* Aumentata la durata a 1s */
    width: 100%;
    display: inline-block;
    transform-origin: center; /* Imposta l'origine della trasformazione al centro */
}

.logo-resized {
    opacity: 0;
    transform: scaleX(0); /* Riduce la larghezza a 0 */
    position: absolute;
    top: 8px;
}

.menu-resized .logo-resized {
    opacity: 1;
    transform: scaleX(1); /* Ripristina la larghezza originale */
}

.menu-resized .logo-default {
    opacity: 0;
    transform: scaleX(0); /* Riduce la larghezza a 0 */
}

.menu-resized {
    height: 70px;
    background: rgba(255, 255, 255, 0.95) !important;
}

.logo-resized img {
    top: 40px;
    position: relative;
}

/**/

.elementor-widget-video .elementor-wrapper iframe, 
.elementor-widget-video .elementor-wrapper video {
    background-color: transparent !important;
}

footer a {
    font-size: 16px !important;
}

.elementor-field-option label {
    font-family: "Karla", Sans-serif !important;
}

.elementor-field-option a {
    font-size: 13px;
    font-weight: 300;
    color: rgb(51, 51, 51);
    font-family: "Karla", Sans-serif !important;
}

.elementor-field-option a:hover,
.elementor-field-option a:active,
.elementor-field-option a:visited {
    font-size: 13px;
    font-weight: 300;
    color: rgb(51, 51, 51);
    text-decoration: underline;
    font-family: "Karla", Sans-serif !important;
}


/*++++++++++ Media query ++++++++++*/

@media (min-width: 1999.98px) {
    .rs-home-responsive {
        display: none;
    }
}

@media (max-width: 1999.98px) {
    .rs-home-full {
        display: none;
    }
}

@media (max-width: 1199.98px) {
    .rs-custom-container {
        margin: 0 10%;
    }

    .rs-custom-btn {
        letter-spacing: 0 !important;
        word-spacing: 0 !important;
        border-style: solid !important;
    }
}

@media (max-width: 991.98px) {}

@media (max-width: 767.98px) {
    .custom-position {
        width: 180px;
    }

    .custom-position-1 {
        right: 50px;
        top: -65px;
    }

    .custom-position-2 {
        left: unset;
        top: -50px;
        position: absolute;
        right: 0;
    }

    .rs-custom-btn {
        gap: 5px !important;
        font-size: 12px !important;
        padding: 3px 15px 3px 15px !important;
    }

    .rs-custom-btn img {
        width: 18px;
    }
}

@media (max-width: 575.98px) {
    .custom-position {
        width: 130px;
    }

    .custom-position-1 {
        right: 20px;
        top: -70px;
    }

    .custom-position-2 {
        left: 20px;
        top: -70px;
    }
}