
.HTML404{
    max-width: 1000px;
    margin: auto;
}

.html404{
    display: grid;
    /*grid-template-columns: 284px auto 284px;*/
    grid-template-columns: 284px auto;
    margin: 20px 38px 24px;
}

.html404TopIMGOut{
    padding-left: 15px;
    padding-right: 15px;
}
.html404TopIMG{
    max-width: 1020px;
    margin: auto;
}

.html404TopIMG{
    width: 100%;
}

.html404TopText{
    font-weight: 400;
    font-size: 18px;
    /*line-height: 27px;*/
    /*padding-top: 27px;*/
    color: #2d2d2d;
}

.html404TopTextInput{
    display: flex;
    flex-wrap: wrap;
}


.html404TopText01{
    padding-bottom: 30px;
}

.html404TopText02{
    padding-bottom: 16px;
}

.html404Element{
    padding-bottom: 25px;
    border-bottom: #eff2f4 1px solid;

}
.html404TopTextInput>.FindForm{
    width: auto;
    margin-bottom: 20px;
    padding-left: 22px;
    border: solid #d7d8dc 1px;
    outline: none;
    height: 26px;
    margin-right: 26px;
}





.html404MapIn>.FooterAllPart{
    padding-right: 20px;
    padding-bottom: 24px;
}

.html404MapIn>div>.MainMenuElementTitle{
    font-size: 24px;
}
.html404MapIn>div>div>.FooterAllPartItem{
    font-size: 24px;
    padding-top: 10px;
}

.html404MapIn{
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media only screen and (max-width: 1415px) {
    .html404MapIn{
        grid-template-columns: auto auto auto auto;
    }
    .FooterAllPart:nth-last-of-type(1){
        grid-column: 3;
    }
}
@media only screen and (max-width: 1015px) {
    .html404MapIn{
        grid-template-columns: auto auto auto;
    }
    .FooterAllPart:nth-last-of-type(1){
        grid-column: inherit;
    }
}

@media only screen and (max-width: 875px) {
    .html404MapIn {
        grid-template-columns: auto auto;
    }
}

@media only screen and (max-width: 576px) {
    .html404MapIn {
        grid-template-columns: auto;
    }
}

.html404Map>.StandartTitle{
    padding-top: 31px;
    padding-bottom: 20px;
}

.html404Map>.StandartText{
    padding-bottom: 20px;
}


.html404TopTextInput>.ButtonRed{
    height: 26px;
    line-height: 24px;
    margin-top: -5px;
    font-size: 17px;
    font-weight: 400;
}


.html404TopText>.FindForm:focus{
    opacity: 1;
    color: black;
}

.html404FlexButtons{
    display: flex;
}

.html404>.StandartH2{
    padding-top: 36px;
}

.html404MainGridElementImg{
    height: 100px;
}

.html404MainGrid{
    display: grid;
    grid-gap: 30px;
    margin-top: 53px;
    padding-bottom: 30px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
}

.html404MainGridElement05{
    grid-column: 1/span 2;
}

.html404MainGridElement06{
    grid-column: 3/span 4;
}

.html404MainGridOut{
    border-bottom: #eff2f4 1px solid;
}

.html404BottomGrid{
    padding-top: 32px;
    padding-bottom: 35px;
    display: grid;
    grid-template-columns: 28px auto;
    grid-row-gap: 8px;
}

.html404BottomGridImg{
    margin-right: 9px;
}

.html404BottomGridText{
    font-weight: 400;
    font-size: 17px;
    line-height: 23px;
    padding-left: 9px;
    color: #353b50;
}

.html404BottomFeedback{
    margin-top: 39px;
    margin-bottom: 30px;
    border: 2px solid #eff2f4;
    display: grid;
    grid-template-columns: 127px auto;
}

.html404BottomFeedback>img,.html404BottomFeedback>div{
    margin: 35px 44px 35px 0;
    position: relative;
    right: 2px;
}

.html404BottomFeedback>.CompanyContactsTop{
    margin-top: 0;

}

.html404BottomFeedbackText{
    font-weight: 400;
    font-size: 19px;
    line-height: 27px;
    padding-left: 9px;
    color: #353b50;
}

@media only screen and (max-width: 900px) {
    .html404MainGrid{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .html404MainGridElement05{
        grid-column: auto;
    }

    .html404MainGridElement06{
        grid-column: auto;
    }
}

@media only screen and (max-width: 600px) {
    .html404MainGrid{
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 400px) {
    .html404MainGrid{
        grid-template-columns: auto;
    }
}

@media only screen and (max-width: 700px) {
    .html404BottomFeedback{
        grid-template-columns: auto;
        text-align: center;
        justify-content: center;
        border: none;
    }
    .html404BottomFeedback>img{
        margin: auto;
    }
}



.html404TopTitle{
    font-size: 70px;
    font-weight: 500;
    /*margin-top: 40px;*/
    margin-bottom: 15px;
}

.html404TopTitle02{
    font-size: 48px;
    font-weight: 300;
    margin-top: 40px;
    margin-bottom: 15px;
}

.html404TopText>a{
    margin-left: 5px;
    margin-right: 5px;
    color: black;
}
.html404TopText>b{
    margin-left: 5px;
    margin-right: 5px;
    color: black;
}

.html404TopButtons{
    display: flex;
    flex-wrap: wrap;
}
.html404TopButtons>a{
    text-decoration: none;
    color: inherit;
    margin-top: 18px;
}

@media only screen and (max-width: 1200px) {
    .html404TopIMG>img{
        object-fit: cover;
        width: 100%;
    }
    .html404TopTitle02{
        line-height: 50px;
    }
}
@media only screen and (max-width: 1100px) {
    .html404 {
        grid-template-columns: 172px auto;
        margin-left: 0;
    }
    .html404TopIMG>img{
        width: auto;
    }
    .html404>.html404TopIMG{
        display: none;
    }
    .html404TopIMG{
        width: auto;
    }
    .html404TopIMGOut{
        padding: 0;
    }
    .html404TopIMG{
        position: absolute;
        right: 40px;
    }
    .html404{
        display: block;
    }
}

@media only screen and (max-width: 600px) {
    .html404 {
        display: block;
    }
    .html404>.html404TopIMGOut{
        display: none;
    }
    .html404TopText{
        padding-left: 15px;
    }
}

.html404TopTitleOutOut>img{
    display: none;
}

@media only screen and (max-width: 600px) {
    .html404{
        margin-right: 5px;
    }
    .html404TopTitleOutOut{
        display: flex;
    }
    .html404TopTitleOutOut>img{
        display: block;
        margin-right: 40px;
    }
    .html404TopButtons{
        justify-content: center;
    }
    .html404TopTitle{
        font-size: 48px;
    }
    .html404TopTitle02{
        font-size: 18px;
        line-height: 20px;
    }
}


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

.IfYouHaveQuestionsText{
    padding-left: 10px;
    font-size: 16px;
    line-height: 15px;
    color: black;
}


.IfYouHaveQuestionsTextLink{

    cursor: pointer;
    font-weight: 800;
}

.IfYouHaveQuestionsTextLinkText{
    color: #218ed2;
    text-decoration: underline;
}

.IfYouHaveQuestionsActive{
    position: fixed;
    z-index: 1000;
    /*top: 220px;*/
    top: calc(50% - 280px );

    right: calc(50% - 571px );
    width: 412px;
    border: 1px solid #8d8d8d;
    background-color: #f6f6f6;
}

@media only screen and (max-width: 1025px) {
    .IfYouHaveQuestionsText{
        padding-right: 15px;
    }
}
@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: 43px 37px 37px 37px;
}

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

.IfYouHaveQuestionsTopTitle{
    font-size: 24px;
    font-weight: 500;
    color: #075a89;
    padding-bottom: 20px;
    border-bottom: 3px solid #d8d8d8;
    text-align: center;
}

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

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

.PersonalPageInputError>label>.IfYouHaveQuestionsActiveInputText,.PersonalPageInputError>label>.PersonalPageInputText>.IfYouHaveQuestionsActiveTextareaText{
    color: #c93838;
}
.PersonalPageInputError>label>.PersonalPageInputErrorText::before,.PersonalPageInputError>label>.PersonalPageInputErrorText::before{
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #fb7b7b;
    border-radius: 8px;
    content: "";
    left: -25px;
    top: -4px;
}
.PersonalPageInputError>label>.IfYouHaveQuestionsActiveInput,.PersonalPageInputError>label>.IfYouHaveQuestionsTextarea{
    border: 1px solid red;
}
.PersonalPageInputError>label>.PersonalPageInputErrorText,.PersonalPageInputError>label>.PersonalPageInputText>.PersonalPageInputErrorText{
    display: flex;
    margin-left: 28px;
    margin-top: 5px;
    position: relative;
}

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

.IfYouHaveQuestionsActiveInput{
    width: calc(100% - 15px);
    height: 24px;
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 30px;
    padding-left: 15px;
    padding-bottom: 15px;
    border-radius: 3px;
}

.IfYouHaveQuestionsTextarea{
    height: 165px;
    width: calc(100% - 15px);
    font-size: 20px;
    font-weight: 500;
    padding-top: 30px;
    padding-left: 15px;
    padding-bottom: 15px;
    border-radius: 3px;
}

.TraderFeedbackSuccess{
    display: flex;
    margin-top: 21px;
    align-items: center;
}
.TraderFeedbackSuccessTitle{
    color: #3b3b3b;
    font-size: 24px;
    font-weight: 500;
    margin-left: 15px;
}

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

.IfYouHaveQuestionsActiveIn>.StandartNotVisible{
    display: none;
}

.IfYouHaveQuestionsTopExit{
    cursor: pointer;
    height: 16px;
    font-size: initial;
    position: relative;
    color: #515456;
    text-decoration: underline;
}

.IfYouHaveQuestionsTopExit>img{
    margin-left: 10px;
    position: relative;
    top: 2px;
}

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

@media only screen and (max-width: 400px) {
    .IfYouHaveQuestionsActive{
        width: 100%;
    }
}
.IfYouHaveQuestionsButtonOut{
    border: none;
}

.IfYouHaveQuestionsBottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 34px;

}

.IfYouHaveQuestionsBottom>button{
    padding: 0;
}

.IfYouHaveQuestionsActiveInputText{
    color: #a0a4b7;
    font-size: 16px;
    position: relative;
    font-weight: 800;
    top: 38px;
    left: 15px;
}

.IfYouHaveQuestionsActiveTextareaText{
    color: #a0a4b7;
    font-size: 16px;
    position: absolute;
    font-weight: 800;
    top: 18px;
    left: 15px;
}
