/* -------------- GENERAL 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;
    }

input[type=radio] {
    display: none;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: auto;
    height: 100%;
    overflow: hidden;
}

body {
    display: flex;
    justify-content: center;
    padding: 30px 10px;
    transition: background .4s ease-in;
}

h1 {
    color: white;
    font-weight: 600;
}

.wrapHome {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 25px;
}

@media (max-width: 576px) {
    body {
        overflow-y: visible;
    }
}

#homeContent {
    padding-top: 50px;
    max-width: 100%;
    min-width: 85%;
    margin-left: auto;
    margin-right: auto;
    height: 72%;
}

#EventPlayer {
    width: 100%;
    bottom: 112px;
    height: 23%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    z-index: 150;
}

@media (min-width: 576px) {
    #homeContent {
        min-width: 50%;
    }

    #EventPlayer {
        width: 90%;
    }
}

@media (min-width: 768px) {
    #homeContent {
        min-width: 40%;
    }

    #EventPlayer {
        width: 80%;
    }
}

@media (min-width: 992px) {
    #homeContent {
        min-width: 30%;
    }

    #EventPlayer {
        width: 60%;
    }
}

@media (min-width: 1400px) {
    #homeContent {
        min-width: 20%;
    }

    #EventPlayer {
        width: 40%;
    }
}




/* -------------- CARROUSEL CSS -------------*/
.containerCarousel {
    width: 100%;
    max-width: 800px;
    max-height: 1000px;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.cards {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    float: left;
    -webkit-transform: translateZ(0);
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
}

.containerCarousel .card {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 300px;
    left: 0;
    right: 0;
    margin: auto;
    transition: transform 1.5s ease;
    cursor: pointer;
    border-radius: 0;
    justify-content: center;
    align-content: center;
    border: none;
    box-shadow: 10px 5px 15px 0px rgba(81, 81, 81, 0.47);
}

@media (max-width: 576px) {
    .containerCarousel .card {
        transition: transform 0.8s ease;
    }

    .containerCarousel {
        max-height: 700px;
    }
}

.cards a {
    cursor: pointer;
    display: inline-block;
    width: 100%;
}

.containerCarousel .card h1 {
    text-align: center;
    position: absolute;
    bottom: 0;
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#000000", GradientType=1);
    width: 100%;
    padding: 8px;
    border: 0;
    margin: 0;
}

#sport-1 {
    background-image: url(/Content/images/bmx.jpg);
    background-size: cover;
}

#sport-2 {
    background-image: url(/Content/images/cyclingroad.jpg);
    background-size: cover;
}

#sport-3 {
    background-image: url(/Content/images/cyclingtrack.jpg);
    background-size: cover;
}

#sport-4 {
    background-image: url(/Content/images/mountainbike.jpg);
    background-size: cover;
}

.containerCarousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#item-1:checked ~ .cards #sport-4 {
    transform: translatex(150%) scale(.7);
    opacity: 1;
    z-index: 0;
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

#item-4:checked ~ .cards #sport-1 {
    transform: translatex(-150%) scale(.7);
    opacity: 1;
    z-index: 0;
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

#item-1:checked ~ .cards #sport-3,
#item-2:checked ~ .cards #sport-4 {
    transform: translatex(120%) scale(.8);
    opacity: 1;
    z-index: 1;
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

#item-3:checked ~ .cards #sport-1,
#item-4:checked ~ .cards #sport-2 {
    transform: translatex(-120%) scale(.8);
    opacity: 1;
    z-index: 1;
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

#item-2:checked ~ .cards #sport-1,
#item-3:checked ~ .cards #sport-2,
#item-4:checked ~ .cards #sport-3 {
    transform: translatex(-80%) scale(.9);
    opacity: 1;
    z-index: 2;
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

#item-1:checked ~ .cards #sport-2,
#item-2:checked ~ .cards #sport-3,
#item-3:checked ~ .cards #sport-4 {
    transform: translatex(80%) scale(.9);
    opacity: 1;
    z-index: 3;
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

#item-1:checked ~ .cards #sport-1,
#item-2:checked ~ .cards #sport-2,
#item-3:checked ~ .cards #sport-3,
#item-4:checked ~ .cards #sport-4 {
    transform: translatex(0) scale(1);
    opacity: 1;
    z-index: 5;
}


.player {
    background-color: #fff;
    border-radius: 8px;
    min-width: 100%;
    padding: 0px 5px;
    float: left;
}

.upper-part {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1px;
    height: 100%;
}

#eventsCarousel {
    padding: 0px;
    border-radius: 1px;
    padding-top: 2%;
    max-height: 100%;
    box-shadow: 0px 0px 10px 4px #e10019;
    transition: all 0.5s ease;
    overflow:hidden;
}

    #eventsCarousel::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(../../Content/images/bignavroad.jpg);
        filter: grayscale(100%) brightness(85%) blur(1px);
        background-repeat:no-repeat;
        background-size:cover;
    }
    #eventsCarousel.isHovered:hover::before {
        filter: grayscale(0%) saturate(1.0) brightness(92%);
        transition:0.2s ease;
    }


    #eventsCarousel.CRDevent::before {
        background-image: url(../../Content/images/bignavroad.jpg);
    }

    #eventsCarousel.CTRevent::before {
        background-image: url(../../Content/images/bignavtrack.jpg);
    }


    #eventsCarousel.MTBevent::before {
        background-image: url(../../Content/images/bignavmountainbike.jpg);
    }

    #eventsCarousel.BMXevent::before {
        background-image: url(../../Content/images/bignavbmx.jpg);
    }
    #eventsCarousel .event>img{
        width:90%;
        margin-top:1%;
    }

    .sport-info {
        width: calc(100% + 5px);
        display: block;
        min-height: 80px;
    }

    .sport-info .title {
        color: #e10019;
        font-size: 1.0em;
        line-height: 24px;
        margin-bottom:10px;
    }

.sub-line {
    width: 20%;
    float: left;
    transition: 0.2s ease-in;
    padding-left:10px;
    padding-right:5px;
}

.player .sub-line .row {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
}

.sub-line .row.secondRow {
    justify-content: space-between;
    margin-top: 15px;
}

.player .sub-line .row div {
    padding: 0;
}

.sub-line .sportEvent {
    color: #FFFFFF;
    font-size: 1.2em;
    margin-top: 5px;
}

.subtitle,
.time {
    font-size: 0.9em;
    line-height: 16px;
    color: #e6e6e6;
}

.info-area .carousel-inner .linkEvent:hover .event .subtitle,
.info-area .carousel-inner .linkEvent:hover .event .time {
    color: #FFFFFF !important;
    transition: 0.2s ease-in;
}

.secondRow .subtitle {
    text-align: left;
}

.time img {
    height: 12px;
    width: auto;
    margin-right: 3px;
}

.time {
    font-size: 13px;
    line-height: 16px;
    color: #e6e6e6;
    font-weight: 500;
    margin-left: auto;
    text-align: right;
    margin-right: 5px;
}

.info-area {
    width: 100%;
    top: 0;
    left: 0px;
    transition: transform .4s ease-in;
}



.slide label {
    width: 100%;
}

.slide {
    text-align: center;
    padding-top: 5px
}

    .slide input[type=radio] {
        display: inline-block;
    }

        .slide input[type=radio].btnRadio:hover::after {
            cursor: pointer;
        }

    .slide .carousel-inner {
        display: inline-block;
        float: left;
        width: 500%;
        margin-bottom: -5px;
    }

input[type='radio']:after {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    top: -2px;
    left: -1px;
    position: relative;
    background-color: #666666;
    content: '';
    display: inline-block;
    visibility: visible;
}

input[type='radio']:checked:after {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    top: -2px;
    left: -1px;
    position: relative;
    background-color: #e10019;
    content: '';
    display: inline-block;
    visibility: visible;
}

::-webkit-scrollbar {
    display: block;
    width: 20px;
    z-index: 400;
    padding-top: 120px;
}


::-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;
    }
