/* -------------- EVENTS CSS -------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Heebo', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    *::-webkit-scrollbar {
        display: none;
    }

        *::-webkit-scrollbar:horizontal {
            display: none;
        }

input[type=radio] {
    display: none;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: auto;
    height: 100%;
    overflow: hidden;
}

body {
    justify-content: center;
    padding: 30px 10px;
    transition: background .4s ease-in-out;
    overflow-y: auto;
}

#choiceYear {
    top: 35px;
    right: 0;
    left: 0;
    padding-top: 30px;
    text-align: center;
    position: fixed;
    z-index: 100;
    background: white;
}

    #choiceYear .dropdown .btn {
        display: inline-block;
        text-align: center;
        background: none;
        color: #111;
        border: none;
        min-width: 10rem;
        padding-right: 0px;
    }

    #choiceYear .dropdown-menu.custom-scroll {
        max-height: 60vh;
        overflow-y: auto;
    }

    #choiceYear .dropdown .btn h1 {
        font-weight: 800;
        display: inline;
    }

    #choiceYear .dropdown .btn.dropdown-toggle::After {
        color: #111;
        font-size: 1.8em;
    }

    #choiceYear .dropdown .btn.dropdown-toggle:hover::After {
        color: #e10019;
        font-size: 1.8em;
    }

    #choiceYear .dropdown .btn.dropdown-toggle:focus {
        box-shadow: none;
    }

    #choiceYear:after {
        content: '';
        position: absolute;
        bottom: -15;
        right: 0;
        left: 0;
        width: 100%;
        height: 15px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    }

@media (min-width: 1400px) {
    #eventsContent {
        padding-top: 120px
    }

    ::-webkit-scrollbar-track {
        margin-top: 130px;
    }
}

@media (min-width: 992px) {
    #eventsContent {
        padding-top: 105px
    }

    ::-webkit-scrollbar-track {
        margin-top: 125px;
    }
}

@media (max-width: 992px) {
    #eventsContent {
        padding-top: 95px
    }

    ::-webkit-scrollbar-track {
        margin-top: 120px;
    }
}

.row {
    overflow: visible !important;
}

#eventsContent {
    width: calc(100% + 20px);
}

@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */
    #eventsContent {
        width: 100%;
    }
}

#eventsContent .container {
    width: 100%;
    height: 90%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
}

@media (max-width: 400px) {
    #eventsContent .container {
        padding-bottom: 70px;
    }
}

.row {
    width: 100%;
}

#eventsContent .col .cardEvent {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    color: #FFF;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

    #eventsContent .col .cardEvent:hover {
        cursor: pointer;
    }

    #eventsContent .col .cardEvent img.bg {
        -webkit-filter: grayscale(100%) brightness(50%);
        /* Safari 6.0 - 9.0 */
        filter: grayscale(100%) brightness(85%) blur(1px);
        max-width: 100%;
        transition: 0.2s;
    }

    #eventsContent .col .cardEvent.pastEvent img.bg {
        filter: grayscale(100%) blur(1px) saturate(0.5) brightness(100%);
        opacity: 0.75;
    }

    #eventsContent .col .cardEvent.currentEvent img.bg {
        filter: grayscale(0%) saturate(1.1) brightness(100%);
        opacity: 1;
        box-shadow: 0px 0px 10px 4px #e10019;
    }

    #eventsContent .col .cardEvent.currentEvent:hover img.bg {
        box-shadow: 0px 0px 12px 6px #e10019;
    }

    #eventsContent .col .cardEvent:hover img.bg {
        filter: grayscale(0%) saturate(1.0) brightness(100%);
        opacity: 1;
    }

    #eventsContent .col .cardEvent .card-body {
        z-index: 200;
        position: absolute;
        top: 0;
        justify-content: space-around;
        width: 100%;
        padding: 0;
        text-align: center;
        height: 100%;
    }

    #eventsContent .col .cardEvent a {
        color: white;
    }

    #eventsContent .col .cardEvent .card-body:before {
        content: '';
        display: inline-block;
        vertical-align: middle;
        height: 85%;
    }

    #eventsContent .col .cardEvent .card-body .eventLogo {
        margin: auto;
        width: 90%;
        max-height: 100%;
        display: inline-block;
    }

    #eventsContent .col .cardEvent .card-body h2.eventLogo {
        vertical-align: middle;
        font-weight: 600;
        font-size: 25.5vw;
    }

    #eventsContent .col .cardEvent .card-body .underLogo {
        position: absolute;
        width: 100%;
        bottom: 0;
        padding-bottom: 2%;
        padding-top: 10%;
        background: linear-gradient(to bottom, rgb(35 35 35 / 0%) 0%, rgb(35 35 35 / 80%) 100%);
    }

        #eventsContent .col .cardEvent .card-body .underLogo div {
            display: flex;
            width: 100%;
            flex-direction: row;
            justify-content: center;
        }

            #eventsContent .col .cardEvent .card-body .underLogo div * {
                float: left;
                font-size: 0.82em;
            }

        #eventsContent .col .cardEvent .card-body .underLogo img {
            height: 18px;
        }

        #eventsContent .col .cardEvent .card-body .underLogo p {
            margin: 0;
            margin-left: 5px;
        }

        #eventsContent .col .cardEvent .card-body .underLogo .countryInfo p {
            font-weight: 400;
        }

@media (min-width: 1400px) {
    #eventsContent .container {
        max-width: 1520px;
    }
}

.custom-scroll::-webkit-scrollbar {
    padding-top: 0px;
    background: white;
}

.custom-scroll::-webkit-scrollbar-track {
    margin-top: 0px;
    margin-bottom: 0px;
}

::-webkit-scrollbar {
    display: block;
    width: 20px;
    z-index: 400;
    padding-top: 120px;
}

.custom-scrollbar {
    overflow-y: auto;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    margin-bottom: 50px;
}

::-webkit-scrollbar-thumb {
    background-color: #dddddd;
    opacity: 0.5;
    border-radius: 20px;
    border: 6px solid transparent;
    background-clip: content-box;
    transition: 0.2s;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #cccccc;
        transition: 0.2s;
    }
