@font-face {
    font-family: Helvetica Neue;
    font-weight: 400;
    font-style: normal;
    src: url(https://showcdn.vivaticket.com/soccer/acm/fonts/HelveticaNeueBold.eot) format('embedded-opentype'),
    url(https://showcdn.vivaticket.com/soccer/acm/fonts/HelveticaNeueBold.ttf) format('ttf'),
    url(https://showcdn.vivaticket.com/soccer/acm/fonts/HelveticaNeueBold.woff2) format('woff2');
}

:root {
    --acm-header-font: "Helvetica Neue";
    --navigation-header-height: 70px;
    --top-header-height: 50px;
    --mobile-header-padding: 20px;
    --acm-header-height: 75px;
}

header.acm-header {
    background-color: #ffffff;
    z-index: 5;

    &.with-info {
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    }

    .header-inner-container {
        max-width: 1280px;
        margin: auto;
        position: relative;
    }

    .logo-header-section {
        height: 40px;
        padding: 15px 0 10px 0;
        justify-content: end;

        img {
            width: 10%;
            max-height: 90px;
        }
    }

    .logo-background {
        width: 367px;
        height: 160px;
        transition: all 300ms;
        position: absolute;
        left: -60px;
        background-repeat: no-repeat;
        background-position-y: -120px;
        background-position-x: 0;
        background-size: 367px;
        background-image: url(https://showcdn.vivaticket.com/soccer/acm/logos/logo_bg.png);
        top: -65px;
    }

    .logo-container {
        display: block;

        img {
            -webkit-transition: all 300ms;
            transition: all 300ms;
            height: 127px;
            position: absolute;
            top: 0;
            left: 84px;
            z-index: 1;
        }
    }

    .logged-user {
        position: absolute;
        font-family: var(--acm-header-font), sans-serif !important;
        font-weight: bold;
        justify-content: end;
    }

    .lang-switcher {
        z-index: 5;
    }

    .lang-switcher-list {
        padding: 0;
    }

    li::marker {
        content: "";
    }

    .navigation-header-container {
        height: var(--navigation-header-height);
        display: flex;
        justify-content: space-between;
        padding: 0 var(--mobile-header-padding);
        background-color: white;
        color: black;
        z-index: 100;

        .navigation-header-section {
            justify-content: flex-end;
            display: flex;
            align-items: center;
            position: relative;
            left: 10px;
        }
    }

    .navigation-header-mobile-menu-section {
        display: flex;
        align-items: center;

        h1 {
            display: flex;
            flex-direction: row;
            align-items: center;
        }

        #hamburger-button {
            position: relative;
            height: 25px;
            width: 34px;
            cursor: pointer;
            top: 2px;
            margin-right: 20px;
        }

        .hamburger-btn-line {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            left: 0;
            transition: .25s ease-in-out;
            background-color: black;
        }

        img.mobile-logo-icon {
            height: 35px;
            margin-left: 0;
        }

        .hamburger-btn-line:nth-child(1) {
            top: 0;
        }

        .hamburger-btn-line:nth-child(1), .hamburger-btn-line:nth-child(4) {
            width: 70%;
            left: 15%;
        }

        .hamburger-btn-line:nth-child(2), .hamburger-btn-line:nth-child(3) {
            top: 8px;
        }

        .hamburger-btn-line:nth-child(2) {
            transform: rotate(0deg);
        }

        .hamburger-btn-line:nth-child(3) {
            transform: rotate(0deg);
        }

        .hamburger-btn-line:nth-child(4) {
            top: 16px;
        }
    }

    .lang-switcher {
        cursor: pointer;
        font-family: var(--acm-header-font), sans-serif;
        position: relative;
        text-transform: uppercase;
        width: 95px;
        margin-left: 10px;

        .lang-item {
            height: 30px;

            &.selected-lang {
                visibility: visible;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .lang-item-arrow {
                margin-left: .25rem;
                margin-top: -.5rem;
                display: flex;
                align-items: center;
            }

            &:has(+ .lang-switcher-list.visible) {
                .lang-item-arrow {
                    transform: rotate(-180deg);
                }
            }

            .lang-item-icon {
                height: 12px;
                margin: 0 5px 0 5px;
            }

            .lang-item-label {
                display: none;
                font-family: var(--acm-header-font), sans-serif;
                font-size: 14px;
            }
        }
    }

    .header-info-container {
        width: 100%;
    }

    .header-infos-container {
        border-top: 1px solid black;
        background-color: #fff;
        /* background: url(../images/pattern-header.png), repeat-x #000; */
        font-family: var(--acm-header-font), sans-serif;
        /* max-width: 1280px; */
        margin: auto;
        position: relative;

        #formatteddata {
            font-size: 10px;
        }

        #descEvento {
            font-size: 15px;
            text-align: center;
        }
    }

    .lang-switcher-list {
        position: absolute;
        top: 25px;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        right: 20px;
        visibility: hidden;

        .lang-item {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 15px;
            padding: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.4);

            &:hover {
                background: #d50000;
                margin: 0;
                padding: 0 15px;
                border-bottom-color: transparent;
            }

            &:last-child {
                border-bottom: none;
            }
        }
    }
}

body {
    background-color: white;
}

@media only screen and (max-width: 767px) {
    header.acm-header.with-info {
        .header-info-container {
            height: 70px;
        }
    }
}

@media only screen and (max-width: 991px) {
    header.acm-header {
        .navigation-header-container {
            justify-content: space-between;
            height: 40px;
        }

        .logo-header-section {
            padding: 5px 0;
        }

        .logged-user {
            justify-content: center;
        }

        .info-partita {
            padding-left: 20px !important;
        }
    }
}

@media only screen and (max-width: 1279px) {
    header.acm-header .logo-container {
        display: none;
    }
}

@media only screen and (min-width: 800px) {
    header.acm-header {
        .header-infos-container {
            #descEvento {
                font-size: 22px;
            }

            .container {
                max-width: 1280px;
                padding: 0;
            }
        }

        .datetime-toconfirm {
            align-items: flex-start;
        }

        .info-partita {
            padding: 5px;
        }
    }
}


@media only screen and (min-width: 992px) {
    :root {
        --acm-header-height: 100px;
    }

    header.acm-header {
        .logo-header-section {
            height: 70px;
        }

        .navigation-header-mobile-menu-section {
            img.mobile-logo-icon {
                margin-left: 25px;
            }
        }
    }
}

@media only screen and (min-width: 1280px) {
    :root {
        --navigation-header-height: 90px;
        --top-header-height: 70px;
        --acm-header-height: 145px;
    }

    header.acm-header {
        .navigation-header-mobile-menu-section {
            display: none;
        }

        .navigation-header-container {
            padding: 0 0 0 200px;
            height: 105px;
        }

        .header-infos-container {
            .container {
                padding: 20px 0 0 70px;

                .step-container {
                    margin-bottom: 0;
                }
            }
        }

        .logo-header-section {
            height: 105px;
        }

        .lang-switcher {
            .lang-item {
                .lang-item-label {
                    display: inline-block;
                }
            }

            .lang-switcher-list {
                width: 90px;
            }
        }
    }
}

