@font-face {
    font-family: "Verdana"; /* Гарнитура шрифта */
    src: url(/fonts/Verdana.eot); /* Для IE5-8 */
    src: local(Verdana), url(/fonts/Verdana.ttf); /* Для остальных браузеров */
}

@font-face {
    font-family: "Formular"; /* Гарнитура шрифта */
    src: url(/fonts/hinted-Formular.eot); /* Для IE5-8 */
    src: local(Formular), url(/fonts/hinted-Formular.woff2); /* Для остальных браузеров */
}

@import url(//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css);

@import url(https://fonts.googleapis.com/css?family=Titillium+Web:300);

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body {
    margin: 0px;
    padding: 0px;
    position: relative;
}

body {
    --main: red;
    --shadow: rgba(255, 0, 0, 0.05);
}

.left {
    /*position: absolute;*/
    /*left: 0%;*/
    /*right: 50%;*/
    /*top: 2.17%;*/
    /*bottom: -2.5%;*/
    flex: 1 0 50%;
    max-width: 50%;
}

.logo {
    margin-left: 5%;
    margin-top: 5%;
}

/*.form {*/
/*    margin: 15% auto 0 auto;*/
/*    width: 40%;*/
/*}*/

.group1 {
    margin-top: 29px;
}

.group1 > .text {
    height: 17px;
    left: 9.93%;
    right: 86.6%;
    top: calc(50% - 17px / 2 - 160.5px);

    font-family: Verdana;
    font-size: 14px;
    line-height: 17px;
    /* identical to box height */
    color: #686868;
}

.group1 > input {
    background: #FFFFFF;
    border: 1px solid #979797;
    box-sizing: border-box;
    border-radius: 0px 0px 2px 2px;
    height: 35px;
    padding: 10px;
    width: 100%;
    margin-top: 7px;
}

.group2 {
    margin-top: 7px;
}

.group2 > .text {
    /*height: 17px;*/
    left: 9.93%;
    right: 86.6%;
    top: calc(50% - 17px / 2 - 160.5px);

    font-family: Verdana;
    font-size: 14px;
    line-height: 17px;
    /* identical to box height */

    width: 100%;
    display: block;
    text-align: left;
    color: #686868;

}

.group2 > input {
    background: #FFFFFF;
    border: 1px solid #979797;
    box-sizing: border-box;
    border-radius: 0px 0px 2px 2px;
    height: 35px;
    padding: 10px;
    width: 100%;
    margin-top: 7px;
}

.group2 > input.half {
    width: 49%;
}

.group2 > .code-btn {
    display: inline-block;
    text-align: center;
    font-family: 'Formular', sans-serif;
    border: var(--main) 1px solid;
    /*font-size: 14px;*/
    padding: 2.4% 0;

    border-radius: 3px;
    width: 100%;
    /*color: #c3c3c3;*/
    cursor: pointer;
}

.group2 > .code-btn.active {
    color: #fff;
}

.group3 {
    width: 100%;
    display: flex;
}

.remember {
    margin-top: 16px;
    float: left;
}

.remember > input {
    border: 1px solid #4A4A4A;
    border-radius: 2px;
    height: 15px;
    width: 15px;
}

.remember > label {
    font-family: Verdana;
    font-size: 13px;
    line-height: 16px;
    /* identical to box height */
    vertical-align: super;
    color: #686868;
}

.forgot {
    margin-top: 25px;
    text-align: center;
}

.forgot > a {
    font-family: Formular;
    font-size: 20px;
    line-height: 25px;
    /* identical to box height */
    text-align: center;
    text-decoration: none;
    vertical-align: sub;
    color: #E6340D;
}

.text {
    font-family: Formular;
    font-size: 24px;
    line-height: 29px;
    text-align: center;

    color: #575757;
}

.btn-red, button[type="submit"] {
    margin-top: 13px;
    background: var(--main);
    border-radius: 5px;
    border-color: var(--main);
    width: 100%;
    min-height: 50px;
    color: #FFFFFF;
    font-family: Formular, sans-serif;
    font-size: 20px;
    line-height: 25px;
    outline: none;
    border: none;
    transition: all 0.3s linear;
}
.btn-red:hover, button[type="submit"]:hover{
    transform: scale(1.1);
    color: #FFFFFF;
}

hr {
    margin-top: 10%;
    border: 1px solid #D4D4D4;
}

.reg {
    margin-top: 10px;
    text-align: center;
    font-size: 20px;
    line-height: 25px;
}

.text-reg, .link-reg {
    font-family: Formular,sans-serif;
    font-size: 16px;
    line-height: 17px;
    /* identical to box height */
    text-decoration: none;
    color: #686868;
}

.right {
    /*position: absolute;*/
    /*right: 0%;*/
    /*top: 2.17%;*/
    /*bottom: -2.5%;*/
    /*max-width: 50%;*/
    flex: 1 0 50%;
    max-width: 50%;
    position: relative;
}

.right > img {
    /*height: 100vh;*/
    /*width: 100%;*/
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

}

.error {
    margin-top: 15px;
    text-align: center;
    display: none;
}

.error > span {
    font-family: Verdana;
    font-size: 14px;
    line-height: 17px;
    /* identical to box height */

    color: #686868;
}

.logo-xs {
    display: none;
}

.logo {
    display: block;
    margin-bottom: 100px;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    /* .right {
        display: none;
    }
    .left {
        width: 100%;
    } */
}

@media only screen and (max-device-width: 321px) {
    .right {
        display: none;
    }

    .left {
        width: 100%;
    }

    .logo-xs {
        display: block;
    }

    .logo {
        display: none;
    }

    .container form {
        /*margin: 30% auto;*/
    }

    .container form span {
        /*font-size: 30px;*/
        line-height: 1.5;
    }

    /*.group1 span,*/
    /*.group2 span {*/
    /*    font-size: 2.5em !important;*/
    /*}*/

    .group1 > input,
    .group2 > input {
        line-height: 50px;
        height: 74px;
        font-size: 32px;
    }

    .forgot {
        margin-top: 15%;
    }

    .remember {
        /*width: 62%;*/
    }

    .remember label {
        font-size: 2.7em;
    }

    .remember input[type="checkbox"] {
        height: 25px;
        width: 25px;
    }

    /*.form {*/
    /*    width: 70%;*/
    /*}*/
}

@media only screen and (max-device-width: 360px) {
    .right {
        display: none;
    }

    .left {
        width: 100%;
    }

    .logo-xs {
        display: block;
        margin: 5% auto;
        width: 250px;
    }

    .logo-xs img {
        width: 250px;
    }

    .logo {
        display: none;
    }

    .remember-checkbox-xs {
        /*width: 51px;*/
        /*float: left;*/
        /*margin-right: 5%;*/
    }

    button[type="submit"] {
        /*height: 100px;*/
        font-size: 1.4em;
    }

    .container form {
        /*margin: 20% auto;*/
    }

    .container form span {
        /*font-size: 30px;*/
        line-height: 1.5;
    }

    /*.group1 span,*/
    /*.group2 span {*/
    /*    font-size: 2.5em !important;*/
    /*}*/

    .group1 > input,
    .group2 > input {
        line-height: 50px;
        height: 74px;
        font-size: 32px;
    }

    .remember {
        /*width: 50%;*/
    }

    .remember label {
        font-size: 2.7em;
        line-height: unset;
    }

    .forgot {
        margin-top: 15%;
    }

    .forgot > a {
        font-size: 1.4em;
        line-height: unset;
    }

    .text-reg {
        font-size: 16px;
    }

    .link-reg {
        /*font-size: 2.7em;*/
        line-height: unset;
    }

    .remember input[type="checkbox"] {
        height: 25px;
        width: 25px;
    }

    /*.form {*/
    /*    width: 70%;*/
    /*}*/
}

@media only screen and (max-device-width: 375px) {
    .right {
        display: none;
    }

    .left {
        width: 100%;
    }

    .logo-xs {
        display: block;
        margin: 5% auto;
        width: 250px;
    }

    .logo-xs img {
        width: 250px;
    }

    .logo {
        display: none;
    }

    .remember-checkbox-xs {
        /*width: 51px;*/
        /*float: left;*/
        /*margin-right: 5%;*/
    }

    button[type="submit"] {
        /*height: 100px;*/
        font-size: 1.5em;
    }

    .container form {
        /*margin: 30% auto;*/
    }

    .container form span {
        /*font-size: 30px;*/
        line-height: 1.5;
    }

    /*.group1 span,*/
    /*.group2 span {*/
    /*    font-size: 2.5em !important;*/
    /*}*/

    .group1 > input,
    .group2 > input {
        line-height: 50px;
        height: 74px;
        /*font-size: 32px;*/
        margin-top: 20px;
    }

    .group2 > .code-btn {
        font-size: 26px;
    }

    .error > span {
        /*font-size: 32px;*/
    }

    .remember {
        /*width: 50%;*/
    }

    .remember label {
        font-size: 2.7em;
        line-height: unset;
    }

    .forgot {
        margin-top: 15%;
    }

    .forgot > a {
        font-size: 1.4em;
        line-height: unset;
    }

    .text-reg {
        font-size: 17px;
    }

    .link-reg {
        /*font-size: 2.7em;*/
        line-height: unset;
    }

    .remember input[type="checkbox"] {
        height: 51px;
        width: 51px;
    }

    /*.form {*/
    /*    width: 70%;*/
    /*}*/
}

@media only screen and (max-device-width: 414px) {
    .right {
        display: none;
    }

    .left {
        width: 100%;
    }

    .logo-xs {
        display: block;
        margin: 5% auto;
        width: 250px;
    }

    .logo-xs img {
        width: 250px;
    }

    .logo {
        display: none;
    }

    /*.remember-checkbox-xs {*/
        /*width: 51px;*/
        /*float: left;*/
        /*margin-right: 5%;*/
    /*}*/

    button[type="submit"] {
        /*height: 100px;*/
        /* #25617 */
        /*font-size: 0.5em;*/
        height: auto;
    }

    .container form {
        /*margin: 20% auto;*/
    }

    .container form span {
        /*font-size: 30px;*/
        line-height: 1.5;
    }

    /*.group1 span,*/
    /*.group2 span {*/
    /*    font-size: 2.5em !important;*/
    /*}*/

    /*.group1 > input,*/
    /*.group2 > input {*/
    /*    line-height: 50px;*/
    /*    height: 74px;*/
    /*    font-size: 32px;*/
    /*    margin-top: 20px;*/
    /*}*/

    /*.group2 > .code-btn {*/
    /*    font-size: 32px;*/
    /*}*/

    /*.error span {*/
    /*    font-size: 2em !important;*/
    /*}*/



    .remember label {
        font-size: 2.7em;
        line-height: unset;
    }

    .forgot {
        margin-top: 15%;
    }

    .forgot > a {
        font-size: 1.4em;
        line-height: unset;
    }

    .text-reg {
        font-size: 16px !important;
    }

    .link-reg {
        /*font-size: 16px;*/
        line-height: unset;
    }

    .remember input[type="checkbox"] {
        height: 25px;
        width: 25px;
    }

    /*.form {*/
    /*    width: 70%;*/
    /*}*/

}

@media only screen and (max-width: 930px) {
    .right {
        display: none;
    }

    .left {
        max-width: 100%;
        flex:1 0 100%;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .right {
        display: none;
    }

    .left {
        max-width: 100%;
        flex:1 0 100%;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
}


.gosuslugi-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.gosuslugi {
    cursor: pointer;
    width: 50%;
    padding: 11px 25px 5px;
    border: #cdcdcd 1px solid;
    text-align: center;

}

.gosuslugi-img {
    background: url("/img/gos.svg") no-repeat center;
    height: 30px;
}

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

.preloader .title {
    margin-right: 4px;
}

.preloader .loading {
    display: none;
    width: 30px;
}

.preloader.active .loading {
    display: block;
}

@media only screen and (max-device-width: 414px) {
    .preloader .loading {
        width: 75px;
    }
}

.form .form-control {
    font-family: 'Formular', sans-serif;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #969797;
}
.form-control::placeholder {
    font-family: 'Formular', sans-serif;
    font-size: 16px;
    line-height: 20px;
}
.form  .text {
    font-size: 20px;
    line-height: 25px;
    font-family: "Formular", sans-serif;
}
.form_title {
    font-family: 'Formular', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
}

.form .reg:last-of-type {
    margin-top: 39px;
}

.remember-checkbox-xs {
    display: flex;
}
.remember-checkbox-xs  label {
    margin-left: 10px;
}
input[type="checkbox"].form-check-input {
    width: 25px;
    height: 25px;
    margin: 0 ;
}
.registration_btn {
    font-family: "Formular",sans-serif;
    display: block;
    background: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 5px;
    font-size: 20px;
    line-height: 25px;
    transform: scale(1);
    transition: all 0.3s linear;
}
.registration_btn:hover{
    text-decoration: none;
    transform: scale(1.1);
}
@media only screen and (max-device-width: 414px) {
    .registration_btn {
        font-size: 1.3rem;
        padding-left: 18px;
        padding-right: 18px
    }
}
.main-wrapper {
    display: flex;
    justify-content: space-between;
    min-height: 100vh;
    overflow: hidden;
}
