/* 
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.50
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
*/
.elementor-form-fields-wrapper.elementor-labels- input, .elementor-form-fields-wrapper.elementor-labels- textarea {
    padding-left: 0 !important;
}
.hover_box .text_box {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.elementor-location-footer a:hover, .elementor-location-footer a:hover span {
    text-decoration: underline;
}
.hover_box .elementor-widget-image {
    display: block;
    opacity: 1;
    /* Am ajustat tranziția pentru a ascunde elementul după ce opacity ajunge la 0 */
    transition: opacity 0.4s ease-in-out, visibility 0s linear 0.4s;
    visibility: visible;
}

.hover_box .elementor-icon {
    transform: rotate(0deg);
    transition: transform 0.4s ease-in-out;
}

.hover_box.active .text_box {
    display: flex;
    opacity: 1;
}

.hover_box.active .elementor-widget-image {
    display: none;
    transition: opacity 0.4s ease-in-out, visibility 0s linear 0s;
}

.hover_box.active .elementor-icon {
    transform: rotate(90deg);
}

.hover_box {
    cursor: pointer;
}

.hover_box .elementor-widget-heading,
.hover_box .elementor-widget-icon {
    display: block; /* Sau flex, depinde de structura ta */
}

.hover_box.active {
    background-color: var( --e-global-color-primary ) !important;
}

.hover_box.active h3{
    color: #fff !important;
}
.hover_box.active .elementor-icon svg{
    fill: #fff !important;
}

.custom_radio .elementor-field-option input[type="radio"] {
    display: none !important; /* ascundem bulina standard */
}

/* Hover */
.custom_radio .elementor-field-option label:hover {
    background-color: #133A91;
    color: white !important;
}

/* Selectat */
.custom_radio .elementor-field-option input[type="radio"]:checked + label {
    background-color: #133A91;
    color: white;
    border-color: #133A91;
}


.custom_radio .elementor-field-option label {
    border: 1.5px solid #133A91;
    border-radius: 16px;
    cursor: pointer;
    background-color: white;
    width: 131px;
    display: flex !important;
    padding: 15px;
    align-items: center;
    height: 100%
}
@media (min-width: 785px){
    .custom_radio button.elementor-button.elementor-size-lg {
        margin-top: 40px;
    }
}

@media (max-width: 785px){
    .e-n-menu-wrapper {
        background-color: var( --e-global-color-874c1c0 ) !important;
    }
    ul.e-n-menu-heading {
        padding: 30px 0 !important;
    }

    .info_box .elementor-grid-mobile-1 {
        min-width: 100% !important;
        margin: 0 !important;
    }
    /* Container scrollabil */
    .info_box .elementor-loop-container.elementor-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }

    /* Itemii din grid */
    .info_box .elementor-loop-container.elementor-grid > * {
        flex: 0 0 auto;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        margin-right: 10px; /* spațiere între elemente */
        width: 80%; /* sau cât ai nevoie */
    }


    .info_box .e-con-inner, .info_box .e-con-inner .e-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        display: flex;
        white-space: nowrap;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-snap-align: start;
        padding-bottom: 20px !important;
    }

    .info_box .e-con-inner > *, .info_box .e-con-inner .e-grid > *  {
        display: inline-block;
        /* Sau inline-flex; */
        white-space: normal;
        scroll-snap-align: center;
        scroll-snap-stop: always; 
    }

    .info_box .e-con-inner > .elementor-element:not(.e-grid), 
    .info_box .e-con-inner > .e-grid.elementor-element .hover_box {
        flex: 0 0 auto;
        width: 80%;
        margin-right: 10px;
    }
    span.elementor-heading-title.elementor-size-default a:hover {
        text-decoration: underline;
    }
    .custom_radio .elementor-field-subgroup {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .custom_radio .elementor-field-option label {
        padding: 20px;
        height: 90px;
    }
    .custom_radio .elementor-field-subgroup {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* sau flex-start dacă le vrei aliniate la stânga */
        gap: 16px;
      }
    
      .custom_radio .elementor-field-option {
        width: calc(50% - 10px); /* două pe rând, cu spațiu între ele */
      }
    
      .custom_radio  .elementor-field-option label {
        width: 100%; /* se adaptează la container */
      }
}