/*.TraderAllArchive>div>div>.ContestMenu{*/
/*    width: 100%;*/
/*}*/

.QueryAllContestResultsLoading{
    font-size: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

}

/*.QueryAllContestResultsLoading>img{*/
/*    */
/*}*/
.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;
    }
}

.TraderContestResults{
    display: grid;
    grid-template-columns: minmax(200px,250px)  minmax(500px,860px) auto;
    margin-right: 15px;
}

.TraderContestResultThisContest{
    background-color: white;
    width: 100%;
}

.TraderContestResultThisContestTable{
    width: 100%;
    padding: 13px 1px 15px 28px;
    border-spacing: 0;
}

.TraderContestResultThisContestTable>tbody{
    font-size: 13px;
}
.TraderContestResultThisContestTable>thead{
    background-color: #d8e4eb;
    font-size: 13px;
}
.TraderContestResultThisContestTable>thead>tr>th{
    padding-top: 10px;
}
.TraderContestResultThisContestTable>thead>tr>th:first-of-type,.TraderContestResultThisContestTable>tbody>tr>td:first-of-type{
    padding-left: 10px;
}
.TraderContestResultThisContestTable>thead>tr>th:last-of-type,.TraderContestResultThisContestTable>tbody>tr>td:last-of-type{
    padding-right: 10px;
}
.TraderContestResultThisContestTable>thead>tr>th:nth-of-type(3),.TraderContestResultThisContestTable>tbody>tr>td:nth-of-type(3){
    padding-left: 20px;
}
.TraderContestResultThisContestTable>tbody>tr>td{
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px #d8e4eb solid;
}

.TraderContestResultThisContestTable>tbody:before{
    content: "";
    display: block;
    height: 10px;
}

.TraderContestResultThisContestTable>thead>tr{
    text-align: left;
}

.TraderContestResultThisContestTable>thead>tr>th{
    padding-bottom: 10px;
    border-bottom: 1px solid #218ed2;
}

.TraderContestResultsDates{
    padding-left: 15px;
    padding-top: 15px;
    border-radius: 5px;
    border: 1px solid #d8e4eb;
}

.TraderContestResultsDatesTitle{
    font-weight: 700;
    font-size: 15px;
    padding-top: 1px;
    padding-left: 10px;
    padding-bottom: 10px;
    color: #c3c3c3;
}

.ContestResultsYear{
    padding-right: 10px;
}
.ContestResultsYearTitle{
    font-weight: 700;
    font-size: 14px;
    line-height: 25px;
    padding-left: 10px;
}

.TraderContestResultsDatesElementActive{
    font-weight: 400;
    font-size: 15px;
    color: white;
    border-radius: 5px;
    background-color: #09518e;
    padding: 4px 10px 4px 6px;
    margin-bottom: 5px;
    margin-top: 5px;
    width: auto;
    /*display: flex;*/
    align-items: center;
}

.TraderContestResultsDatesElementOut{
    display: flex;
}

.TraderContestResultsDatesElement{
    font-weight: 700;
    font-size: 14px;
    color: #116ea9;
    text-decoration: underline;
    padding: 4px 10px 4px 6px;
    margin-bottom: 5px;
    margin-top: 5px;
    cursor: pointer;
}
.TraderContestResultsElementTop{
    font-weight: 700;
}

.TraderContestResultsElementBottom{
    font-weight: 400;
    /*text-align: center;*/
    width: 100%;
}

@media only screen and (min-width: 800px) {
    .TraderContestResults>.StandartAllBlack500{
        display: none;
    }
}

@media only screen and (max-width: 800px) {
    .TraderContestResults{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .ContestResultsYearTitle{
        display: none;
    }
    .TraderContestResultsDatesElementOut{
        display: block;
        justify-content: center;
    }
    .TraderContestResultsDatesElement{
        display: none;
    }
    .TraderContestResultsDatesElementActive{
        display: flex;
        color: black;
        border: solid 1px #2b79bb;
        background-color: white;
        /*border: solid 1px #c4c4c4;*/
        /*background-image: linear-gradient(to top, #fafafa, #ededed, #f2f2f2, #f7f7f7, #ffffff);*/
    }
    .TraderContestResultsElementTop{
        margin-right: 20px;
        justify-self: flex-start;
        text-align: center;
        min-width: 100px;
    }
    .ResultsPhoneVisible>.ContestResultsYear>.TraderContestResultsDatesElementOut>div>.TraderContestResultsElementBottom{
        /*padding-right: 30px;*/
        margin-right: 5px;
    }
    .ResultsPhoneVisible>.ContestResultsYear>.TraderContestResultsDatesElementOut>.TraderContestResultsDatesElementActive>.TraderContestResultsElementBottom{
        background-image: url(/assets/forexstartarrow2.2df843e3ceb6c1e9c82f.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position-x: right;
        /*background-position-y: px;*/
    }
    .ResultsPhoneVisible{
        position: absolute;
        z-index: 1000;
        background-color: white;
        padding: 50px;
        margin: auto;
        border: 1px solid black;
        border-radius: 15px;
    }
    .ResultsPhoneVisible>.ContestResultsYear>.TraderContestResultsDatesElementOut>.TraderContestResultsDatesElement{
        display: flex;
        justify-content: space-between;
    }
    .ResultsPhoneVisible>.ContestResultsYear>.TraderContestResultsDatesElementOut>.TraderContestResultsDatesElementActive{
        display: flex;
        background-image: none;
        color: black;
    }
}
@media only screen and (max-width: 700px) {
    .NoInPhone700{
        display: none;
    }
    .TraderContestResultThisContestTable{
        padding: 10px;
    }
}
@media only screen and (min-width: 700px) {
    .TraderContestResultThisContestTableInPhone700 {
        display: none;
    }



    .TraderContestResultsPhone {
        display: block;
    }


}

.TraderContestResultThisContestTable>tbody>tr>td{
    vertical-align: middle;
}

@media only screen and (min-width: 500px) {
    .TraderContestResults > .TraderContestResultsPhone{
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .TraderContestResults{
        display: block;
    }
    /*.TraderContestResultsDatesElementActive{*/
    /*    font-weight: 700;*/
    /*    font-size: 14px;*/
    /*    height: 35px;*/
    /*    border-radius: 12px;*/
    /*    background-image: linear-gradient(to top, #0a79bf, #0fa2fe);*/
    /*    color: white;*/
    /*    line-height: 32px;*/
    /*    cursor: pointer;*/
    /*}*/
    .TraderContestResultThisContestTableInPhone700{
        font-weight: 500;
        font-size: 12px;
        color: black;
    }
    .TraderContestResultThisContestTableInPhone700Out {
        display: flex;
        flex-direction: column;
    }
    .TraderContestResultThisContestTable>tbody>tr:nth-of-type(2n){
        background-color: #5e8bc3;
    }
    .TraderContestResultThisContestTable>tbody>tr>td{
        padding: 13px;
    }
    .TraderContestResultsDatesElementOut{
        display: block;
        text-align: center;
    }
    .TraderContestResultsDatesElement,.ContestResultsYearTitle{
        display: none;
    }
    .ResultsPhoneVisible {
        padding: 20px;
    }

}

@media only screen and (max-width: 380px) {
    .ResultsPhoneVisible {
        padding: 5px;
    }
}


.TraderContestResultsPhone{
    position: fixed;
    top: 40px;
    width: 100%;
    background-color: white;
}

.TraderContestResultsPhone>.TraderContestResultsPhoneDates>.ContestResultsYear>.TraderContestResultsDatesElementOut>.TraderContestResultsDatesElement{
    display: block;
}

.TraderContestResultsPhone>.TraderContestResultsPhoneDates>.ContestResultsYear>.ContestResultsYearTitle{
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 30px;
    color: black;
}

.TraderContestResultsPhoneDates{
    padding: 22px 26px 26px 22px;
}

.TraderContestResultsPhoneDatesTitle{
    background-color: #155eb9;
    padding-bottom: 10px;
    text-align: center;
    position: relative;
    height: 28px;
    line-height: 34px;
    font-weight: 700;
    font-size: 24px;
    color: black;
}

.TraderContestResultsPhoneDatesTitle>img{
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
}

.TraderContestResultsElementBottomIMG{
    display: none;
    position: relative;
    top: 3px;
    left: -4px;
    margin-left: 10px;
}
.TraderContestResults>.ResultsPhoneNoVisible>.ContestResultsYear>.TraderContestResultsDatesElementOut>.TraderContestResultsDatesElementActive{
    cursor: pointer;
}
.TraderContestResults>.ResultsPhoneNoVisible>.ContestResultsYear>.TraderContestResultsDatesElementOut>.TraderContestResultsDatesElementActive>.TraderContestResultsElementBottomIMG{
    display: block;
}
