* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}


.zaslonka {
    width: 100%;
    height: 100vh;
    background-color: #7d7d7d;
    position: fixed;
    z-index: 9999;
    opacity: 0.6;
    left: 0;
    top: 0;
    display: none;
}

.cont {
    width: 100%;
    height: 100vh;
    position: absolute;
    display: none;
}

.reset-conteiner {
    position: absolute;
    width: 405px;
    height: 225px;
    background: #ebebeb;
    z-index: 10000;
    margin: 0 auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
}

.reset-conteiner h3 {
    color: #d12427;
    font-family: modernH;
    font-size: 22px;
    padding-top: 30px;
    padding-left: 30px;
}

.reset-conteiner p {
    color: #000;
    font-family: arial;
    font-size: 16px;
    padding-top: 20px;
    padding-left: 30px;
}

.reset-conteiner h4 {
    color: #000;
    font-family: arial;
    font-size: 16px;
    padding-top: 20px;
    padding-left: 30px;
    font-style: bold;
}

#close {
    position: absolute;
    margin-left: 379px;
    margin-top: 0px;
    font-size: 30px;
    font-weight: 600;
    color: #acacac;
    transform: rotate(45deg);
}

#close:hover {
    color: #707070;
    cursor: pointer;
}

#e-mail {
    margin-left: 30px;
    margin-top: 5px;
    width: 245px;
    height: 40px;
    border-radius: 5px;
    border: 2px solid #c2c2c2;
    padding-left: 20px;
}

#e-mail:hover {
    border: 2px solid #707070;
}

#button-e-mail {
    -webkit-box-shadow: inset 0px 1px 0px 0px #cf866c;
    box-shadow: inset 0px 1px 0px 0px #cf866c;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #d0451b), color-stop(1, #bc3315));
    background: -moz-linear-gradient(top, #d0451b 5%, #bc3315 100%);
    background: -webkit-linear-gradient(top, #d0451b 5%, #bc3315 100%);
    background: -o-linear-gradient(top, #d0451b 5%, #bc3315 100%);
    background: -ms-linear-gradient(top, #d0451b 5%, #bc3315 100%);
    background: linear-gradient(to bottom, #d0451b 5%, #bc3315 100%);
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.3);

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d0451b', endColorstr='#bc3315', GradientType=0);
    background-color: #d0451b;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #942911;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: modernH;
    font-size: 22px;
    padding: 7px 20px;
    margin-left: 9px;
    margin-top: 10px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #854629;
    margin-bottom: 30px;
}

#button-e-mail:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #bc3315), color-stop(1, #d0451b));
    background: -moz-linear-gradient(top, #bc3315 5%, #d0451b 100%);
    background: -webkit-linear-gradient(top, #bc3315 5%, #d0451b 100%);
    background: -o-linear-gradient(top, #bc3315 5%, #d0451b 100%);
    background: -ms-linear-gradient(top, #bc3315 5%, #d0451b 100%);
    background: linear-gradient(to bottom, #bc3315 5%, #d0451b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bc3315', endColorstr='#d0451b', GradientType=0);
    background-color: #bc3315;
}


header {
    display: flex;
    width: 100%;
    height: 92px;
    justify-content: space-around;
}

.logo {
    width: 164px;
    height: 92px;
    padding-top: 20px;
}

/*
.user {
    height: 56px;
    width: 100%;
    background-color: #e2e2e2;
}

#user {
    height: 56px;
    margin: 50px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#user-left {
    height: 56px;
    display: flex;
    margin-right: 10px;
}

#user-right {
    height: 56px;
    display: flex;
}
*/

.user {
    height: 56px;
    width: 100%;
    background-color: #e2e2e2;

}

#user {
    height: 56px;
    margin: 50px auto;
    display: grid;
    justify-content: center;
    grid-template-areas: "user-left user-right";
    grid-column: 1fr 1fr;
}

#user-left {
    grid-area: user-left;
    height: 56px;
    display: flex;
    margin-right: 10px;
}

#user-right {
    grid-area: user-right;
    height: 56px;
    display: flex;
}



.avatar {
    width: 19px;
    margin-left: -10px;
    cursor: pointer;
}

.balance {
    width: 38px;
    cursor: pointer;
}

#user p {
    line-height: 56px;
    font-family: arial;
    margin-left: 10px;
    font-size: 18px;
    cursor: pointer;
}

.body {
    width: 100%;
    height: 480px;
}

.body-conteiner {
    width: 660px;
    height: 480px;
    margin: 0 auto;
    /*    background-color: aqua;*/
}

#body {
    width: 367px;
    /*height: 240px;*/
    margin: 0 auto;
    padding-bottom: 10px;
    /*    background-color: bisque;*/

}

.body h1 {
    font-family: modernH;
    font-size: 27px;
    color: #e30613;
    text-align: center;
    padding-top: 30px;
}

.body p {
    font-family: arial;
    font-size: 14px;
    padding: 0 5px;
    padding-top: 30px;
    text-align: justify;
}

.kabinet {
    color: #acacac;
}

.vhod {
    font-size: 14px;
    color: #009640;
    padding-top: 30px;
    z-index: 55;
}

/*
.bg {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.bg-left{
    width: 320px;
    height: 270px;
    background-image: url(img/bg-left.jpg);
    background-size: 100%;
    max-height: 250px;
}

.forms {
    height: 240px;
    width: 178px;
    position: relative;
}
*/

.bg {
    display: grid;
    grid-template-areas: "bg-left form bg-right";
    grid-template-columns: 320px 178px 151px;
    align-items: flex-end;
    grid-gap: 10px;
}

.bg-left{
    grid-area: bg-left;
    height: 270px;
    background-image: url('/img/bg-left.jpg');
    background-size: 100%;
    max-height: 250px;
}

.forms {
    grid-area: form;
    height: 240px;
    position: relative;
}

.bg-right {
    grid-area: bg-right;
    height: 232px;
}



input[type="text"], input[type="password"] {
    width: 145px;
    height: 40px;
    border-radius: 5px;
    border: 2px solid #c2c2c2;
    /*    border: 2px solid #e30613;*/
    padding-left: 20px;
    margin-top: 20px;
    margin-left: 9px;
    font-family: arial;
    font-style: bold;
    font-size: 16px;
}

input[type="text"]:hover {
    border: 2px solid #707070;
}

input[type="password"]:hover {
    border: 2px solid #707070;
}


input[type="text"]:focus {
    border: 2px solid #959595;
}

input:invalid:focus {
    border: 2px solid #e30613;
    outline: none;
}

#eye {
    position: absolute;
    top: 100px;
    left: 140px;
    z-index: 12;
    width: 20px;
    display: block;
    cursor: pointer;
}

#close-eye {
    position: absolute;
    top: 105px;
    left: 140px;
    z-index: 12;
    width: 20px;
    display: none;
    cursor: pointer;
}


/*
input[type="password"]{
    background-image: url(img/eye.svg);
    background-repeat: no-repeat;
    background-position: 130px;
    background-size: 15%;
}
*/


#enter {
    -webkit-box-shadow: inset 0px 1px 0px 0px #cf866c;
    box-shadow: inset 0px 1px 0px 0px #cf866c;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #d0451b), color-stop(1, #bc3315));
    background: -moz-linear-gradient(top, #d0451b 5%, #bc3315 100%);
    background: -webkit-linear-gradient(top, #d0451b 5%, #bc3315 100%);
    background: -o-linear-gradient(top, #d0451b 5%, #bc3315 100%);
    background: -ms-linear-gradient(top, #d0451b 5%, #bc3315 100%);
    background: linear-gradient(to bottom, #d0451b 5%, #bc3315 100%);
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.3);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d0451b', endColorstr='#bc3315', GradientType=0);
    background-color: #d0451b;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #942911;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: modernH;
    font-size: 22px;
    padding: 6px 50px;
    margin-left: 9px;
    margin-top: 20px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #854629;
    margin-bottom: 30px;
}


#enter:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #bc3315), color-stop(1, #d0451b));
    background: -moz-linear-gradient(top, #bc3315 5%, #d0451b 100%);
    background: -webkit-linear-gradient(top, #bc3315 5%, #d0451b 100%);
    background: -o-linear-gradient(top, #bc3315 5%, #d0451b 100%);
    background: -ms-linear-gradient(top, #bc3315 5%, #d0451b 100%);
    background: linear-gradient(to bottom, #bc3315 5%, #d0451b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bc3315', endColorstr='#d0451b', GradientType=0);
    background-color: #bc3315;
}

input[type="submit"]:active {
    position: relative;
    top: 1px;
}


input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 2px solid #acacac;
    display: none;
    margin-top: 30px;
}

label {
    padding-left: 9px;
    font-family: arial;
    font-size: 16px;
    color: #acacac;
}

label:hover {
    color: #707070;
}


label::before {
    content: '';
    width: 14px;
    height: 14px;
    display: inline-block;
    background: #fff;
    vertical-align: middle;
    margin-right: 10px;
    border: 2px solid #acacac;
    position: relative;

}

input[type="checkbox"]:hover + label::before {
    color: #707070;
    border: 2px solid #707070;
}

input[type="checkbox"]:checked + label::before {
    background-image: url('/img/checkbox.png');
    background-size: 100%
}

input[type="checkbox"]:checked + label {
    color: #48aa43;

}


.repass {
    width: 700px;
    height: 180px;
    margin: 0 auto;
}

.repass h3 {
    font-family: modernH;
    font-size: 21px;
    color: #e30613;
    text-align: center;
    padding-top: 30px;
}

#repass {
    text-decoration: underline;
    color: #e30613;
}

#repass:hover {
    cursor: pointer;
    text-decoration: none;
}

.repass p {
    font-family: arial;
    padding: 0 166px;
    font-size: 14px;
    padding-top: 27px;
    color: #7d7d7d;
}

.repass h2 {
    font-family: modernH;
    font-size: 25px;
    color: #707070;
    text-align: center;
    padding-top: 40px;
}


.opport {
    width: 700px;
    height: 210px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    /*    background-color: aqua;*/

}

.blok {
    width: 120px;
    height: 210px;
    /*    background-color: royalblue;*/
}

.blok2 {
    width: 120px;
    height: 90px;
    /*    background-color: red;*/
}

.blok p {
    text-align: center;
}


.blok div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.blok p {
    font-size: 18px;
    font-family: arial;
    color: #2c2b2a;
    padding-top: 25px;
}

.blok-1 {
    width: 52px;
}

.blok-2 {
    width: 56px;
}

.blok-3 {
    width: 56px;
}

.blok-4 {
    width: 39px;
}

.blok-5 {
    /*width: 85px;*/
    width: 56px;
    top: 10px;
    position: relative;
}

#up {
    height: 70px;
    width: 367px;
    margin: 0 auto;
}

.up {
    text-align: center;
    font-family: modernH;
    font-size: 21px;
    color: #e30613;
    text-decoration: underline;
    cursor: pointer;
}

.up:hover {
    cursor: pointer;
    text-decoration: none;
}


footer {
    height: 160px;
    background-color: #e2e2e2;
}

footer p {
    text-align: center;
    padding-top: 25px;
    font-family: arial;
    font-size: 14px;
}


@font-face {
    font-family: "modernH";
    src: url("/fonts/Modern_H_Bold.ttf");
    font-style: normal;
    font-weight: normal;
}



.crop {
    width: 200px;
    height: 150px;
    overflow: hidden;
}

.crop img {
    padding-top: 20px;
    width: 400px;
    height: 260px;
    margin: -75px 0 0 -100px;
}


.osnova{
    width: 700px;
    margin: 0 auto;
}





@media (max-width: 700px){
    .user {
        height: 112px;
        width: 100%;
        background-color: #e2e2e2;
    }

    #user {
        height: 112px;
        grid-template-areas:
            "user-left user-left user-left"
            ". user-right .";
        grid-column: 1fr;
        grid-row: 56px 56px;
    }

    #user-left {
        margin-right: 0px;
    }

    #user-right {
        grid-area: user-right;
        height: 56px;
    }

    .avatar {
        width: 19px;
        margin-left: 15px;
    }

    .balance {
        width: 33px;
    }


    .bg {
            grid-template-areas: "bg-left form";
            grid-template-columns: 179px 178px;
    }

    .bg-left{
            background-image: url('/img/bg-left%C2%A0%E2%80%9422.jpg');

    }

    .body-conteiner {
            width: 367px;
            }

    .bg-right{
            display: none;
        }


    .repass{
            width: 367px;
            height: 150px;
        }

    .repass h2 {
            display: none;
        }

    .opport{
            width: 367px;
            display: none;
        }

    .repass p {
            font-size: 14px;
            padding: 25px 0px;
        }
    }






@media (max-width: 370px){

    .body-conteiner {
        width: 320px;
        }
    #body {
        width: 320px;
    }

    .bg{
        grid-template-columns: 132px 178px;
        grid-gap: 5px;
    }

    .bg-left{
        background-repeat: no-repeat;
        background-position: right;
        background-size: auto;
        }

    .repass{
        width: 320px;
        height: 150px;
        }

    .repass h3 {
        margin-top: 20px;
        }

    .opport{
        width: 320px;
        display: none;
        }

    .repass p {
        font-size: 14px;
        padding: 25px 10px;
        }

    #up{
        width: 320px;
        }
    .up{
        font-size: 18px;
        }




    .reset-conteiner {
        width: 310px;
    }


    #e-mail {
        margin-left: 25px;
        width: 160px;
        padding-left: 20px;
    }
    }