.ContestVideoOutOut{
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.ContestVideoMain{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    justify-content: center;
}

.ContestVideoOutOut>.ContestMenu{
    margin-top: 0;
}

.ContestVideo>div>.TopTitle{
    padding-left: 0;
}

.ContestVideoTop{
    margin-bottom: 30px;
}

.ContestVideoMainElement{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ContestVideoMainElement{
    margin-top: 8px;
}

@media only screen and (max-width: 1000px) {
    .ContestVideoOutOut{
        display: grid;
    }

}
@media only screen and (max-width: 720px) {
    .ContestVideoMain{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .ContestVideoTop,.ContestVideoTop>div{
        width: 100%;
    }

    .ContestVideoTop iframe{
        width: 100%;
        padding-bottom: 1%;
    }
}
@media only screen and (max-width: 520px) {
    .ContestVideoMain{
        grid-template-columns: 1fr 1fr;
    }
}
@media only screen and (max-width: 420px) {
    .ContestVideoMain{
        grid-template-columns: 1fr;
    }
}
.video-react{
    padding-top: 0;
}
/*.ContestVideoChina>.video-react{*/
/*    padding-top: 0;*/
/*    max-height: 500px;*/
/*}*/
.ContestVideoChina{
    width: 80%;
}
.ContestGridWithMenu{
    display: flex;
    justify-content: space-between;

}

.ContestIndexMain>.ContestMenu{
    margin-top: 0;
}
.ContestMenu{
    width: 204px;
    border-radius: 3px;
    margin-top: 78px;
}

.ContestMenuIn{
    width: 186px;
    padding: 9px;
    border: #e6f0f6 solid 1px;
    border-radius: 4px;
}


.ContestMenuElement>a:visited{
    color: inherit;
}

.ContestMenuElement>a{
    width: 100%;
    height: 127px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.ContestMenuLinkActive>a{
    background-color: #e6f0f6;
    text-decoration: none;
    color: black;
}

.ContestMenuElementIMGActive{
    display: none;
}
.ContestMenuLinkActive>a>.ContestMenuElementIMGActive{
    display: block;
}
.ContestMenuLinkActive>a>.ContestMenuElementIMG{
    display: none;
}

.ContestMenuElementText{
    color: #02518e;
    text-decoration: underline;
}

.ContestMenuLinkActive>a>.ContestMenuElementText{
    text-decoration: none;
    color: black;
}


@media only screen and (max-width: 1200px) {
    .ContestIndexMain>.ContestMenu{
        display: none;
    }
}
@media only screen and (max-width: 1000px) {

    .ContestGridWithMenu{
        display: grid;
    }
    .ContestMenu{
        /*display: none;*/
        grid-row: 1;
        /*display: flex;*/
        width: auto;
        margin-top: 10px;
    }
    .ContestMenuIn{
        width: auto;
        display: flex;
        flex-wrap: wrap;
    }
    .ContestMenuElement{
        width: auto;
        min-width: 159px;
        border: 1px solid #02518e;
        margin-bottom: 10px;
    }
    .ContestMenuIn{
        border: none;
        width: 100%;
        justify-content: center;
    }
}
@media only screen and (max-width: 1000px) {

    .ContestMenuIn{
        justify-content: space-around;
    }
}

.PhoneUpDown{
    display: none;
}
@media only screen and (max-width: 1000px) {
    .ContestMenuElement{
        margin-left: 20px;
        margin-right: 20px;
    }
}
@media only screen and (max-width: 1040px) {
    .ContestMenu{
        margin-left: 25px;
        margin-right: 25px;
    }
}

.ContestMenuClose{
    display: none;
}

@media only screen and (max-width: 600px) {
    .ContestMenuElement{
        display: none;
    }
    .ContestMenuLinkActive{
        display: block;
        width: 80%;
    }
    .ContestMenuLinkActive>a>img{
        width: 29px;
    }
    .ContestMenuLinkActive>a{
        flex-direction: initial;
        height: 78px;
    }
    .ContestMenuElementText{
        font-size: 23px;
    }
    .ContestMenuIn{
        justify-content: flex-start;
        align-items: center;
        flex-wrap: nowrap;
    }
    .PhoneUpDown{
        display: block;
        margin-left: 3px;
        cursor: pointer;
    }
    .MenuPhoneOpen>.ContestMenuIn{

    }
    .MenuPhoneOpen>.ContestMenuIn>.ContestMenuElement{
        display: block;
        width: 80%;
    }
    .MenuPhoneOpen>.ContestMenuIn>.ContestMenuElement>a{
        display: grid;
        grid-template-columns: 70px auto;
        justify-content: flex-start;
        height: 78px;
        text-decoration: none;
    }
    .MenuPhoneOpen>.ContestMenuIn>.ContestMenuElement>a>img{
        height: 42px;
        justify-self: center;
    }
    .MenuPhoneOpen>.ContestMenuIn>.ContestMenuElement>a>div{
        text-decoration: none;
    }
    .MenuPhoneOpen>.ContestMenuIn{
        flex-direction: column;
    }
    .MenuPhoneOpen>.ContestMenuIn>.ContestMenuElement{
        margin-bottom: 0;
        border: none;
    }
    .MenuPhoneOpen{
        border-right: 1px solid #02518e;
        border-left: 1px solid #02518e;
        border-bottom: 4px solid #02518e;
        border-top: 4px solid #02518e;
        display: flex;
    }
    .MenuPhoneOpen>.ContestMenuIn>div>.PhoneUpDown{
        display: none;
    }
    .MenuPhoneOpen>div>.ContestMenuClose{
        display: block;
        margin-top: 20px;
        margin-right: 20px;
        cursor: pointer;
    }
    .MenuPhoneOpen>.ContestMenuIn>.ContestMenuLinkActive>a{
        background-color: unset;
    }
}


@media only screen and (max-width: 500px) {
    .ContestMenu{
        margin-right: 0;
        margin-left: 0;
    }
    .ContestMenuElementText{
        font-size: 18px;
    }
    .ContestMenuElement{
        margin-left: 0;
    }
    .ContestMenuIn{
        margin: auto;
    }
}
@media only screen and (max-width: 350px) {

}
.IfYouHaveQuestions{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.IfYouHaveQuestionsText{
    padding-left: 10px;
}

.IfYouHaveQuestionsTextLink{
    color: #218ed2;
    text-decoration: underline;
    cursor: pointer;
}

.IfYouHaveQuestionsActive{
    position: fixed;
    z-index: 1000;
    top: 220px;
    right: calc(50% - 571px );
    background-color: white;
    width: 336px;
    border: 1px solid #8d8d8d;

}

@media only screen and (max-width: 1200px) {
    .IfYouHaveQuestionsActive{
        right: calc(50% - 546px );
    }
}
@media only screen and (max-width: 1157px) {
    .IfYouHaveQuestionsActive{
        right: 25px;
    }
}

.IfYouHaveQuestionsAllBlack{
    position: fixed;
    z-index: 900;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.6);
}

.IfYouHaveQuestionsActiveIn{
    padding: 14px 18px 20px 18px;
}

.IfYouHaveQuestionsTop{
    display: flex;
    justify-content: space-between;
}

.IfYouHaveQuestionsTopTitle{
    font-size: 15px;
    font-weight: 700;
    color: black;
}

.TextPlaceHolder{
    font-size: 13px;
    font-weight: 700;
    color: black;
}

.PersonalPageInputText{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.PersonalPageInputText:nth-of-type(2){
    margin-top: 15px;
}

.PersonalPageInputError>label>.PersonalPageInputText>.PersonalPageInputErrorText{
    display: flex;
}

.PersonalPageInputErrorText{
    align-items: center;
    color: #c53838;
    font-size: 11px;
    display: none;
}

.IfYouHaveQuestionsActiveInput{
    width: 100%;
    height: 24px;
    font-size: 13px;
    margin-top: 10px;
}

.IfYouHaveQuestionsTextarea{
    width: 100%;
    height: 165px;
}

.TraderFeedbackSuccess{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.TraderFeedbackSuccess>img{
    margin-top: 60px;
    margin-bottom: 32px;
}

.IfYouHaveQuestionsActiveIn>.StandartNotVisible{
    display: none;
}

.IfYouHaveQuestionsTopExit{
    cursor: pointer;
}

@media only screen and (max-width: 336px) {
    .IfYouHaveQuestionsActive{
        width: 100%;
    }
}
@media only screen and (max-width: 400px) {
    .IfYouHaveQuestionsActive{
        right: calc(50% - 170px);
    }
}
@media only screen and (max-width: 350px) {
    .IfYouHaveQuestionsActive{
        right: 0;
        /*width: calc(100% - 20px);*/
    }
    .IfYouHaveQuestionsActiveIn{
        width: auto;
    }
}

.IfYouHaveQuestionsTextPhone{
    display: none;
    margin-left: 10px;
}
@media only screen and (max-width: 700px) {
    .IfYouHaveQuestionsText{
        display: none;
    }
    .IfYouHaveQuestionsTextPhone{
        display: block;
    }
}

