/*
	Main CSS THEME
*/

@import "./general/variables.css";
@import "./general/font-color.css";
@import "./general/font-general.css";
@import "./general/font-sizes.css";

@import "./general/buttons.css";
@import "./general/cf7.css";

@import "./general/containers.css";

@import "./general/spacing.css";
@import "./general/general.css";
@import "./general/grid.css";

@import './Headers/header-components/MainBar/mainbar_01.css';
@import "./Headers/header-components/MegaMenu/mega-menu.css";

@import "./general/effects.css";

@import "./components/popup.css";

@import "./Headers/MobileMenu/mob-menu_handle.css";



/* ----------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
------------------------------------------ Scrollbar --------------------------------------------
-------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------*/ 
    @media (prefers-reduced-motion: reduce) {
      [class*="with-effect"],
      [class*="with-effect"].active-effect {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
      }
    }
	#iubenda-cs-banner input[type="checkbox"]:checked:after,
	#iubenda-iframe-content input[type="checkbox"]:checked:after {
		display: none;
	}
    body {
        overflow-y: overlay;
    }
    ::-webkit-scrollbar-track {
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: transparent;
    }
    ::-webkit-scrollbar {
        width: 11px;
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: transparent;
    }
    ::-webkit-scrollbar-thumb {
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
        background-color: rgba(0, 0, 0, 0.3);
    }
    .wpml-ls-sub-menu:not(:has(li)) {
        display: none;
    }
    body *:focus {
        outline: unset;
    }
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible,
    [role="button"]:focus-visible {
        outline: var(--focus);
    }
    a:not(.btn):focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible,
    [role="button"]:focus-visible {
        border-radius: var(--focus-radius);
    }
    .swiper-pagination-bullet:focus-visible {
        border-radius: 6px;
    }
    .hidden-screen-reader-text,
    .otgs-development-site-front-end,
    .swiper-notification {
        display: none !important;
    }

    .sr-only,
    #pagination h2.screen-reader-text {
      position: absolute !important;
      width: 1px;
      height: 1px;
      margin: -1px;
      padding: 0;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap; 
      border: 0;
    }

    .no-select {
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      pointer-events: none;
    }

    /* Divider Color
    -----------------------------------------*/
        .divider {
            background-color: var(--color-main);
        }


    /* Fix parole lunghe lingua tedesca
    -----------------------------------------*/
        html[lang|="de"] {
          hyphens: none; /* disattiva la sillabazione automatica */
        }
        html[lang|="de"] * {
          word-break: normal; /* non taglia le parole */
          overflow-wrap: break-word; /* Spezza la parola solo farebbe overflow */

        }

        html[lang|="de"] h1, 
        html[lang|="de"] h2, 
        html[lang|="de"] h3 {
          text-wrap: balance; /* supporto moderno, migliora l’andata a capo */
        }

        /* In caso di flex/grid, consente al testo di restringersi */
        /*[lang|="de"] * {
          min-width: 0;
        } */

/* ----------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
----------------------------------- Theme Background Colors -------------------------------------
-------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------*/
    .theme-b-blue {
        background-color: var(--color-blue);
    }
    .theme-b-blue-80 {
        background-color: var(--color-blue-80);
    }
    .theme-b-blue-10 {
        background-color: var(--color-blue-10);
    }

    .theme-b-gold {
        background-color: var(--color-gold);
    }
    .theme-b-gold-50 {
        background-color: var(--color-gold-50);
    }
    .theme-b-gold-light {
        background-color: var(--color-gold-light);
    }

    .theme-grad {
        background: rgb(52, 52, 52);
        background: linear-gradient(180deg, rgb(255 87 87) 00%, rgba(179, 20, 38, 1) 100%);
    }
    

/* ----------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
----------------------------------- BG images and logos ------------------------------------------
-------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------*/
    .with-bg-logo {
        position: relative;
    }
    .with-bg-logo > *:not(.bg-logo) {
        position: relative;
        z-index: 1;
    }
    .with-bg-logo > .bg-logo {
        position: absolute;
        bottom: 0;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        pointer-events: none;
        z-index: -1;
    }
    .with-bg-logo.with-bg-logo-centered > .bg-logo {
        bottom: unset;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }


    .with-bg-img {
        position: relative;
    }
    .with-bg-img > *:not(.bg-img) {
        position: relative;
        z-index: 2;
    }
    .with-bg-img > .bg-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }



/* ----------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
----------------------------------- Default Header Rules ----------------------------------------
-------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------*/
    header {
        position: relative;
        z-index: 10 !important;
    }
    #header-content {
        z-index: 1;
    }

    /* Breadcumbs
    ----------------------------------------------------------------*/
        #breadcrumbs {
            position: relative;
            z-index: 2;
            padding-bottom: 2.08vw;
        }
        .breadcrumbs .breadcrumbs-divider {
            margin: 0 0.26vw;/*5*/
        }
        .breadcrumbs>*:first-child {
            margin-left: 0
        }
        .breadcrumbs>*:last-child {
            margin-right: 0
        }
        .breadcrumbs a {
            font-family: var(--sbd-font);
        }
        #breadcrumbs .current-item {
            font-family: var(--rg-font);
        }
        #breadcrumbs a:hover span {
            color: #fff !important;
            text-decoration: underline !important;
            text-underline-offset: 2px;
        }


/* ----------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
------------------------------------- Swiper Slider General -------------------------------------
-------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------*/
    .swiper-container {
        position: relative;
        overflow: hidden;
    }


/* Pagination
--------------------------------------------------------------------------------------------------------------*/
    #pagination {
        width: 100%;
    }
    .prev.page-numbers, 
    .next.page-numbers {
        position: absolute;
        top: 50%;
        -webkit-transform: translatey(-50%;);
        transform: translatey(-50%);
        padding: 0;
        display: flex;
        align-items: center;
    }
    .prev.page-numbers {
        left: 0;
    }
    .next.page-numbers {
        right: 0;
    }
    .nav-links {
        position: relative;
        height: 2.083vw; /*40*/
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav-links > * {
        padding: 0 1.04vw; /*20*/
        border-right: 1px solid var(--color-main);
        line-height: 1;
    }
    .nav-links > *:last-child {
        border-right: unset;
    }    
    .page-numbers {
        margin-bottom: 0;
        font-size: 1.04vw; /*20*/
        text-align: center;
        line-height: 1;
        color: var(--color-main-text);
        font-family: var(--md-font);
        -webkit-transition: all 0.1s ease-in-out;
        transition: all 0.1s ease-in-out;
    }
    a.page-numbers:not(.next, .prev):hover {
        font-family: var(--sbd-font);
    }
    .page-numbers.current {
        font-family: var(--sbd-font);
    }

/* Video Elements
------------------------------------------------------------------------------*/
    .media-container.with-video {
        position: relative;
    }
    .media-container.with-video .video-container iframe {
        width: 100%;
        height: 100%;
    }
    .media-container.with-video .video-container {
        height: 100%;
        position: relative;
        z-index: 1;
    }
    .media-container.with-video .video-placeholder {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        cursor: pointer;
    }
    .media-container.with-video .video-placeholder  button {
        content: '';
        display: block;
        height: 3.646vw;
        width: 3.646vw;
        min-height: 70px;
        min-width: 70px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-image: url('data:image/svg+xml,<svg id="Layer_1" style="enable-background:new 0 0 512 512;" version="1.1" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="96 64 320 384"><path d="M405.2,232.9L126.8,67.2c-3.4-2-6.9-3.2-10.9-3.2c-10.9,0-19.8,9-19.8,20H96v344h0.1c0,11,8.9,20,19.8,20 c4.1,0,7.5-1.4,11.2-3.4l278.1-165.5c6.6-5.5,10.8-13.8,10.8-23.1C416,246.7,411.8,238.5,405.2,232.9z"></path></svg>');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.7;
        z-index: 3;
        pointer-events: none;
        filter: invert(1);
        background-color: unset;
        border: unset;
    }



/* ----------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
------------------------------------- Svg Arrow Inside a Box ------------------------------------
-------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------*/
    .arrow-btn svg {
        width: 2.083vw;
        height: 2.083vw;
        display: block;
    }
    .arrow-btn.abs-p {
        right: 1.042vw;
        bottom: 1.042vw;
        -webkit-transition: all .175s cubic-bezier(0.47, -2.05, 0.53, 2.4);
        transition: all .175s cubic-bezier(0.47, -2.05, 0.53, 2.4);
    }
    .arrow-btn svg {
        fill: var(--color-main);
    }
    .arrow-btn.white svg {
        fill: var(--color-white);
    }
    .col-container-inner:hover .arrow-btn {
        right: 0.833vw;
    }

/* ----------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
--------------------------------- Standard CSS effects ------------------------------------------
-------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------*/

    /* Box Shadow Effect */
    .box-sh_01 {
        box-shadow: 0 2px 15px 0 rgb(0 0 0 / 15%);
    }


/* TO CHECK****** Hover
------------------------------------------------------------------------------------------------------------------------------------*/
    body #content a:not([data-customclass='btn'],
    .wp-block-button__link, .btn):hover{
        /*color: var(--color-yellow) !important;*/
    }

    .menu-icon a:hover {
        color: var(--color-white);
    }