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

/* FIX BUG */
.otgs-development-site-front-end {
    display: none !important;
}

/* LANGUAGE SELECTOR */
.wpml-ls-statics-shortcode_actions {
    width: 65px;
    padding: 10px 15px;
    border-radius: 6px;
    min-height: 41px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wpml-ls-statics-shortcode_actions .wpml-ls-current-language > a {
    padding: 0 20px 0 0;
    background: none;
    border: none;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 14px;
}
.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
    font-family: 'elmak' !important;
    content: "\e912";
    border: none;
    border-top: none;
    position: absolute;
    right: 0px;
    top: 2px;
}
.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
    width: 65px;
    margin: 6px 0 0 -15px;
    border: none;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
    background: #f0f0f0;
}
.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
    background: transparent;
    border-width: 0 0 1px 0;
    border-style: solid; 
    border-color: rgba(144, 144, 144, 0.15);
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 500;
    color: var(--e-global-color-text);
    padding: 10px 15px;
    line-height: 14px;
}
.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a:hover {
    background: rgba(0, 0, 0, 0.1);
}
.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu .wpml-ls-item:last-child a {
    border: none;
}
@media screen and (max-width: 1280px) {
    .wpml-ls-statics-shortcode_actions {
        width: 50px;
        padding: 10px 12px;
        border-radius: 6px;
        min-height: 30px;
    }
}

/* HEADER CUSTOMIZAZION */
#header-sticky,
#subheader-btn {
    transition: all .2 ease;
}
#header-sticky.elementor-sticky--active {
    padding: 10px 45px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
#sub-header-sticky.elementor-sticky--active {
    background: rgba(245, 245, 245, 0.75);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
#subheader-btn-sticky.elementor-sticky--active {
    padding: 0;
    background: #f0f0f075;
    box-shadow: 0 6px 4px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
@media screen and (max-width: 1280px) {
    #header-sticky.elementor-sticky--active {
        padding: 10px 20px;
    }
    #subheader-btn-sticky.elementor-sticky--active {
        padding: 0;
    }
}

/* MEGAMENU SHORTCODE */
.megamenu-prodotti-wrapper .info-cat-prodotti {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}
.megamenu-prodotti-wrapper .info-cat-prodotti h3 {
    color: var(--e-global-color-text);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 15px;
}
.megamenu-prodotti-wrapper .info-cat-prodotti .desc_cat {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 18px
}
.megamenu-prodotti-wrapper .info-cat-prodotti a,
.megamenu-prodotti-wrapper .link-cat-prodotti a {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 12px;
    font-weight: 600;
    display: inline-block;
    color: var(--e-global-color-accent);
    transform: translateX(0);
    text-transform: uppercase;
    transition: all .3s ease;
}
.megamenu-prodotti-wrapper .info-cat-prodotti a:hover,
.megamenu-prodotti-wrapper .link-cat-prodotti a:hover {
    transform: translateX(5px);
    color: var(--e-global-color-primary)
}
.megamenu-prodotti-wrapper .singolo-prodotto {
    background-color: var(--e-global-color-adb330f);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 1px 8px 0 rgba(13, 34, 71, 0.12), 0 28px 108px 0 rgba(13, 34, 71, 0.1), 0 -1px 1px 0 rgba(13, 34, 71, 0.12);
    transform: scale(1);
    transition: all .3s ease;
}
.megamenu-prodotti-wrapper .singolo-prodotto:hover {
    transform: scale(1.05);
}
.megamenu-prodotti-wrapper .singolo-prodotto a {
    display: block;
    width: 100%;
    text-align: center;
}
.megamenu-prodotti-wrapper .singolo-prodotto a img {
    max-height: 150px;
    padding: 15px 10px;
}
.megamenu-prodotti-wrapper .singolo-prodotto a .titolo-prodotto {
    color: var(--e-global-color-adb330f);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 24px;
    background-color: var(--e-global-color-secondary);
    padding: 10px;
    width: 100%;
    text-align: center;
}
.megamenu-prodotti-wrapper .titolo-cat-prodotti h5 {
    color: var(--e-global-color-text);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}
.megamenu-prodotti-wrapper a i {
    position: relative;
    display: inline-block;
    top: 1px;
}

/* PRELOAD */
.preload {
    width: 100%;
    visibility: visible;
    opacity: 1;
    display: inline;
    position: absolute;
    top: 50%;
    margin-top: -35px;
}

/* CARDS */
.elementor .card-box {
    overflow: hidden !important;
    border-radius: 1rem !important;
    box-shadow: 0 1px 8px 0 rgba(13, 34, 71, 0.12), 0 28px 108px 0 rgba(13, 34, 71, 0.1), 0 -1px 1px 0 rgba(13, 34, 71, 0.12);
}
.elementor .card-box.dx {
    border-radius: 0 1rem 1rem 0 !important;
}
.elementor .card-box.sx {
    border-radius: 1rem 0 0 1rem !important;
}
.elementor .card-box.no-shadow {
    box-shadow: none !important;
    border: 1px solid rgba(13, 34, 71, 0.12);
}
.elementor .card-box.no-overflow {
    overflow: visible !important;
}

/* TYPOGRAPHY */
.text-gradient {
    color: transparent;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -moz-background-clip: text !important;
    background: #013D5B;
    background: linear-gradient(45deg,rgb(1, 61, 91) 0%,#4DA6B8 100%);
    background-clip: border-box;
}

/* SVG */
.svg-bg-animation {
    position: absolute !important;
    left: 0;
    top: 0;
    opacity: .3;
}

/* LIGHTBOX */
.dialog-type-lightbox {
    z-index: 99999 !important;
}
.dialog-type-lightbox svg {
    fill: #013D5B !important;
}
.dialog-type-lightbox svg:hover {
    fill: #4DA6B8 !important;
}
.dialog-type-lightbox .elementor-slideshow__footer {
    color: var(--e-global-color-text) !important;
}

/* PAGINE ARCHIVI */
.tag-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.tag-wrapper .single-tag {
    background-color: var(--e-global-color-primary);
    padding: 3px 20px;
    border-radius: 30px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: var(--e-global-color-adb330f);
    text-transform: uppercase;
}

/* FORM CUSTOM STYLE */
.frm_style_stile-di-formidable.with_frm_style .form-field {
    position: relative;
    margin-bottom: 10px;
}
.frm_input_group.frm_with_box .frm_inline_box {
    margin: 0 !important;
    padding: 0 14px;
}
.frm_input_group.frm_with_box i {
    font-size: 24px;
    color: #5E6366;
}
.with_frm_style .frm_top_container:not(.vertical_radio) .frm_primary_label,
.with_frm_style .frm_hidden_container .frm_primary_label,
.with_frm_style .frm_pos_top {
    position: absolute;
    z-index: 1;
    left: 52px;
    top: 8px;
}
.with_frm_style input[type=text],
.with_frm_style input[type=password],
.with_frm_style input[type=email],
.with_frm_style input[type=number],
.with_frm_style input[type=url],
.with_frm_style input[type=tel],
.with_frm_style input[type=phone],
.with_frm_style input[type=search],
.with_frm_style select,
.with_frm_style textarea,
.frm_form_fields_style,
.with_frm_style .frm_scroll_box .frm_opt_container,
.frm_form_fields_active_style,
.frm_form_fields_error_style,
.with_frm_style .frm-card-element.StripeElement,
.with_frm_style .frm_slimselect.ss-main {
    padding: 26px 20px 8px 0;
    transition: all .2s ease;
}
.with_frm_style input[type=text]:focus,
.with_frm_style input[type=password]:focus,
.with_frm_style input[type=email]:focus,
.with_frm_style input[type=number]:focus,
.with_frm_style input[type=url]:focus,
.with_frm_style input[type=tel]:focus,
.with_frm_style input[type=phone]:focus,
.with_frm_style input[type=search]:focus,
.with_frm_style select:focus,
.with_frm_style textarea:focus,
.frm_form_fields_style:focus,
.with_frm_style .frm_scroll_box .frm_opt_container:focus,
.frm_form_fields_active_style:focus,
.frm_form_fields_error_style,
.with_frm_style .frm-card-element.StripeElement:focus,
.with_frm_style .frm_slimselect.ss-main:focus {
    padding-left: 5px;
}
.with_frm_style .frm_input_group.frm_with_pre>textarea {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.with_frm_style .frm_top_container.vertical_radio .frm_primary_label,
.with_frm_style .frm_top_container.vertical_radio .frm_opt_container label {
    color: white;
}
.frm_error[role=alert] {
    color: red !important;
    font-size: 12px !important;
}

/* PAGINATION */
.elementor-pagination {
    margin-top: 30px;
}
.elementor-pagination a,
.elementor-pagination span {
    border: 1px solid var(--e-global-color-secondary);
    border-radius: 30px;
    width: 24px;
    height: 24px;
    display: inline-block;
    font-size: 14px !important; 
    font-family: 'Inter' !important;
    font-weight: 600 !important;
    background-color: transparent;
    color: var(--e-global-color-secondary) !important;
    transition: all .25s ease;
}
.elementor-pagination a:hover {
    background-color: var(--e-global-color-secondary);
    color: white !important;
}
.elementor-pagination span {
    background-color: var(--e-global-color-primary);
    color: white !important;
    transform: scale(1.2);
    border: 1px solid var(--e-global-color-primary) !important;
}

/* RESPONSIVE */
@media screen and (min-width: 1279px) {
    .hide-desktop {
        display: none !important;
    }
}
@media screen and (max-width: 1280px) {
    .hide-mobile {
        display: none !important;
    }
    #header-sticky.elementor-sticky--active {
        padding: 10px 25px;
    }
    #subheader-btn-sticky.elementor-sticky--active {
        padding: 0;
    }
    .svg-bg-animation {
        position: absolute !important;
        left: 50%;
        top: 50%;
        opacity: .15;
        transform: rotate(90deg) scale(2) translateY(75%);
    }
    .elementor .card-box.sx {
        border-radius: 1rem 1rem 0 0 !important;
    }
}