.ContestIndex{
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.ContestNewbieCurrentGrid{
    display: grid;
    grid-template-columns: auto 180px;
    grid-column-gap: 5px;
}

.ContestIndexTitle{
    font-size: 24px;
    padding-top: 28px;
    color: #075a89;
    padding-left: 20px;
    margin-bottom: 50px;
}

.ContestIndexGrid{
    display: grid;
    margin-bottom: 60px;
    grid-template-columns: auto 180px;
    grid-column-gap: 50px;
}

.ContestIndexGridMain{
    display: grid;
    grid-template-columns: auto auto;
    grid-row-gap: 40px;
    justify-content: center;
}

.ContestIndexGridMain>a>div{
    margin-right: 20px;
    margin-left: 20px;
}

.ContestIndexGridMainElement{
    width: 324px;
    height: 181px;
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.ContestIndexGridMainElement:hover{
    box-shadow: inset 0 0 27px -3px rgba(255,255,255,0.8);
}


.ContestIndexGridMainElement01{
    background-image: url(/assets/champions.8422ff2b294bb44df59b.jpg);
}
.ContestIndexGridMainElement02{
    background-image: url(/assets/kings.a906719cedf4cabe0a15.jpg);
}
.ContestIndexGridMainElement03{
    background-image: url(/assets/prize.ab51e49a064dacce67f3.jpg);
}

.ContestIndexGridMain>a{
    text-decoration: none;
}
.ContestIndexGridMainElementIn{
    padding: 40px;
    display: flex;
    align-items: center;
}

.ContestIndexGridMainElementText{
    margin-left: 30px;
}
@media only screen and (max-width: 1060px) {
    .ContestIndexGrid>.ContestMenu{
        display: none;
    }
    .ContestIndexGrid{
        display: block;
    }
}

@media only screen and (max-width: 800px) {
    .ContestIndexGridMain{
        display: flex;
        flex-wrap: wrap;

    }
}

/*@media only screen and (max-width: 370px) {*/
/*    .ContestIndexGridMainElement{*/
/*        width: 100%;*/
/*        padding: 0;*/
/*    }*/
/*    .ContestIndexGridMainElementIn{*/
/*        padding: 0;*/
/*    }*/
/*}*/



.ContestMenu{
    width: 180px;
}

.ContestMenuElement:hover{
    color: #f5a10f;
}

.ContestMenuElementText{
    text-align: center;
    font-size: 18px;
}


.ContestMenu>a{
    text-decoration: none;
}

.ContestMenuElement{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 52px;
}
@media only screen and (min-width: 600px) {
    .ContestMenuElementText {
        margin-top: 10px;
    }
}

.ContestMenuElementIMGYellow{
    display: none;
}

.ContestMenuElement:hover>img{
    display: none;
}
.ContestMenuElement:hover>.ContestMenuElementIMGYellow{
    display: block;
}

.ArrowUpHover{
    display: none;
}



@media only screen and (max-width: 600px) {
    .ContestMenu{
        grid-row: 1;
        width: 100%;
    }
    .ContestMenuElement{
        display: flex;
        flex-direction: unset;
        justify-content: flex-start;
        align-items: center;
    }
    .ContestMenuElement>img{
        margin-left: 40px;
        margin-right: 40px;
    }
    .ContestMenuOpen{
        max-width: 310px;
        margin: auto;
        padding: 10px 30px 30px 30px;
        border: 1px solid #075a89;
        border-radius: 20px;
        margin-bottom: 40px;
    }
    .ContestMenuOpen>a:first-of-type>div>img{
        width: 51px;
    }
    .ContestMenuOpen>a:nth-of-type(2)>div>img{
        width: 28px;
        padding: 10px 11px 16px;
    }
    .ContestMenuOpen>a:nth-of-type(3)>div>img{
        width: 44px;
        padding-right: 3px;
        padding-left: 3px;
    }

    .ContestMenuElementText{
        text-align: left;
    }
    .NoActiveElements{
        display: none;
    }
    .ContestMenuElement{
        margin-top: 5px;
        margin-bottom: 10px;
    }
    .ActiveElements>.ContestMenuElement{
        border: 1px solid #075a89;
        border-radius: 32px;
        margin-right: 40px;
        margin-left: 40px;
        padding-top: 17px;
        padding-bottom: 17px;
    }
    .ActiveElements>div{
        color: #f5a10f;
    }
    .ActiveElements>div>img{
        display: none;
    }
    .ActiveElements>div>.ArrowUpHover{
        display: block;
        transform: rotate(180deg);
    }
    .ActiveElements>div>.ContestMenuElementIMGYellow{
        display: block;
    }
    .ActiveElements>.ContestMenuElement{
        justify-content: space-around;
    }

    .ContestMenuOpen>.NoActiveElements{
        display: block;
    }
    .ContestMenuOpen>.ActiveElements>.ContestMenuElement{
        border: none;
        margin: auto;
    }
    .ContestMenuOpen>.ActiveElements>.ContestMenuElement,.ContestMenuOpen>.ActiveElements>.ContestMenuElement{
        justify-content: flex-start;

    }

    .ContestMenuOpen>.ActiveElements>.ContestMenuElement>.ArrowUpHover{
        display: none;
    }
    .ContestRegistrationForm>.ContestRegistrationFormIn{
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media only screen and (max-width: 370px) {
    .ContestMenuElement>img{
        margin-left: 5px;
        margin-right: 5px;
    }
    .ContestRegistrationFormGrid>.ButtonOut>.Button3D{
        font-size: 12px;
    }
}
@media only screen and (max-width: 450px) {
    .ActiveElements>.ContestMenuElement{
        margin-left: 5px;
        margin-right: 5px;
    }
}
