@font-face {
    font-family: Roboto;
    src: url(../fonts/opensans-light.woff);
    font-weight: 300
}

.checkbox {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #000000;
    position: relative;
    z-index: 1;
    padding-left: 35px;
    cursor: pointer;
    min-height: 24px;
    display: block;
}

.checkbox input {
    display: none;
}

.checkbox span {
    position: absolute;
    z-index: 1;
    display: block;
    width: 24px;
    height: 24px;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 3px;
    top: 0;
    left: 0;
}

.checkbox span:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-size: 75%;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("../image/check.svg");
    opacity: 0;
    transition: 0.3s;
}

.checkbox.is-error span {
    border-color: #DF5B57;
}

.checkbox input:checked~span {
    border-color: #64BFB6;
}

.checkbox input:checked~span:before {
    opacity: 1;
}

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

@media (max-width: 767px) {
    .input-container {
        flex-direction: column;
    }
}

.input {
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
    height: 50px
}

.input.is-half {
    width: 46%;
}

@media (max-width: 767px) {
    .input.is-half {
        width: 100%;
    }
}

.input input {
    display: block;
    width: 100%;
    height: 100%;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 0 20px;
    font-weight: 400;
    font-size: 14px;
    color: #999;
    font-family: "Open Sans", sans-serif;
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat
}

.input .error {
    display: none;
}

.input.is-error input {
    border-color: #DF5B57;
}

.input.is-valid input {
    border-color: #64BFB6;
}

.input.is-error .error{
    display: block;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 160%;
    color: #DF5B57;
    margin-bottom: 30px;
}

.input__placeholder {
    font-weight: 400;
    font-size: 14px;
    color: #999;
    font-family: "Open Sans", sans-serif;
    position: absolute;
    top: 0;
    left: 20px;
    line-height: 50px;
    white-space: nowrap;
    z-index: 2;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    transition: .3s;
    pointer-events: none
}

.input input:focus,
.input input:valid {
    color: #000
}

.input input:focus~.input__placeholder,
.input input:valid~.input__placeholder {
    -webkit-transform: scale(.6);
    -ms-transform: scale(.6);
    transform: scale(.6);
    top: -6px
}

.btn {
    display: block;
    width: 100%;
    height: 40px;
    min-height: 40px;
    background-color: #df5b57;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    transition: .3s;
    padding: 0 60px;
}

.btn:hover {
    background-color: #b24946
}

.btn.sm {
    max-width: 220px;
    height: 50px;
    font-size: 16px
}

.btn.md {
    max-width: 290px;
    height: 50px;
    font-size: 16px
}

@media (max-width: 767px) {
    .btn.md, .btn.sm {
        max-width: 100%;
    }
}

.back-link {
    padding: 10px 0
}

.back-link a {
    font-weight: 400;
    font-size: 16px;
    color: #000;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    transition: .3s
}

.back-link a:hover {
    color: #ccc
}

@media (max-width:768px) {
    .back-link a {
        font-size: 14px
    }
}

.back-link a:before {
    content: '';
    width: 25px;
    height: 25px;
    display: block;
    background-image: url('../image/back.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 10px
}

.header {
    padding: 15px 0 12px 0;
    background-color: #fff
}

@media (max-width:768px) {
    .header-container {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }
}

.header-top {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start
}

@media (max-width:768px) {
    .header-top {
        margin: 0 0 15px 0;
        width: 100%
    }
}

.header-top .left {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end
}

@media (max-width:768px) {
    .header-top .left {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start
    }
}

.header-top .right {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding: 3px 0 0 0
}

@media (max-width:768px) {
    .header-top .right {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: flex-end;
        -ms-flex-align: end;
        align-items: flex-end
    }
}

.header-top .text {
    font-weight: 600;
    font-size: 13px;
    color: #010101;
    font-family: "Open Sans", sans-serif
}

@media (max-width:768px) {
    .header-top .text {
        display: none
    }
}

.header-top .login {
    font-weight: 500;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #424242;
    transition: .3s;
    white-space: nowrap
}

@media (max-width:768px) {

    .header-top .login {
        font-size: 10px
    }
}

.header-top .login:hover {
    color: #fbb265
}

.header-top .login {
    border-bottom: 2px solid #fbb265;
    padding-bottom: 2px;
    margin: 0 0 0 50px
}

@media (max-width:768px) {
    .header-top .login {
        margin: 10px 0 0 0
    }
}

.header-md {
    padding: 5px 0
}

@media (max-width:768px) {
    .header-md {
        width: 50%;
        padding: 0
    }
}

.header-md .logo {
    display: block;
    width: 100%;
    max-width: 280px
}

@media (max-width:768px) {
    .header-md .logo {
        max-width: 190px
    }
}

.header-md .logo img {
    display: block;
    width: 100%
}

.header-bottom {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 50px;
}

@media (max-width:768px) {
    .header-bottom {
        -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        width: 50%
    }
}

.header-bottom .nav {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}

@media (max-width:768px) {
    .header-bottom .nav {
        display: none
    }
}

.header-bottom .nav-link {
    font-weight: 500;
    font-size: 18px;
    color: #424242;
    margin-left: 48px;
    transition: .3s
}

.header-bottom .nav-link:hover {
    color: #fbb265
}

.header-bottom .nav-link:first-child {
    margin-left: 0
}

.form-container {
    padding-bottom: 30px;
    margin-bottom: 30px;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.1); */
}

.main {
    margin-bottom: 70px;
}

.main.auth {
    max-width: 500px;
}

.main.register {
    max-width: 660px;
}

.main.recover {
    max-width: 520px;
}

.main p.title {
    font-family: Rubik;
    font-style: normal;
    font-weight: 500;
    font-size: 30px;
    line-height: 36px;
    color: #424242;
    margin-bottom: 10px
}

.main p.subtitle {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 160%;
    color: #000000;
    margin-bottom: 30px
}

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

.main .links a {
    font-family: 'Open Sans';
    font-size: 16px;
    line-height: 22px;
    color: #DF6965;
}

.footer {
    background-color: #231b52;
    padding: 50px 0 32px 0
}

.footer .container {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    border-bottom: 1px solid #c4c4c4;
    padding-bottom: 15px
}

@media (max-width:768px) {
    .footer .container {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center
    }
}

.footer .left {
    width: 200px
}

.footer .left .logo {
    width: 200px;
    display: block;
    margin: 3px 0 60px 0
}

@media (max-width:768px) {
    .footer .left .logo {
        margin: 0 0 20px 0
    }
}

.footer .left .logo img {
    display: block;
    width: 100%
}

.footer .left .social {
    width: 200px;
    display: block
}

.footer .left .social-text {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    margin-bottom: 14px
}

.footer .left .social-container {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}

.footer .left .social-container a {
    transition: .3s
}

.footer .left .social-container a:hover {
    opacity: .8
}

.footer .center {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: calc(100% - 480px);
    padding: 15px 0 0 42px
}

@media (max-width:960px) {
    .footer .center {
        width: calc(100% - 400px);
        padding: 15px 0 0 20px
    }
}

@media (max-width:768px) {
    .footer .center {
        padding: 0;
        width: 100%;
        display: block;
        text-align: center
    }
}

.footer .center .nav {
    padding: 0 50px
}

@media (max-width:960px) {
    .footer .center .nav {
        padding: 0 20px
    }
}

@media (max-width:768px) {
    .footer .center .nav {
        padding: 10px;
        width: 100%
    }
}

.footer .center .nav-link {
    margin-bottom: 20px
}

.footer .center .nav-link a {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    color: #fff;
    border-bottom: 1px solid #df5b57;
    transition: .3s
}

.footer .center .nav-link a:hover {
    border-bottom-color: transparent
}

.footer .right {
    width: 280px
}

@media (max-width:960px) {
    .footer .right {
        width: 200px
    }
}

@media (max-width:768px) {
    .footer .right {
        width: 100%
    }

    .footer .right .btn {
        margin: 0 auto
    }
}

.footer .copyright {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #fff;
    margin: 27px 0 0 0
}

@media (max-width:768px) {
    .footer .copyright {
        margin: 20px 0 0 0;
        text-align: center
    }
}

.footer .copyright a {
    border-bottom: 1px solid #df5b57;
    transition: .3s
}

.footer .copyright a:hover {
    border-bottom-color: transparent
}

body {
    padding: 0;
    margin: 0;
    opacity: 1 !important;
    transition: opacity .5s;
    -webkit-transition: opacity .5s;
    font-family: Rubik, sans-serif;
    background-color: #f7f7ff
}

.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-left: 10px;
    padding-right: 10px
}

.wrapper-all {
    width: 100%;
    min-width: 319px
}

* {
    box-sizing: border-box
}

a,
img,
li,
p,
ul {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style-type: none;
    color: inherit
}

footer,
header {
    width: 100%;
    min-width: 319px;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative
}

button,
input {
    position: relative;
    box-sizing: border-box;
    border: none;
    background-color: transparent;
    outline: 0;
    border-radius: 0
}

button::-webkit-input-placeholder,
input::-webkit-input-placeholder {
    color: inherit
}

button::-moz-placeholder,
input::-moz-placeholder {
    color: inherit
}

button:-moz-placeholder,
input:-moz-placeholder {
    color: inherit
}

button:-ms-input-placeholder,
input:-ms-input-placeholder {
    color: inherit
}

button {
    cursor: pointer
}