@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto.eot") format("eot"),
         url("../fonts/Roboto.woff") format("woff"),
         url("../fonts/Roboto.svg") format("svg");
}
body {
    margin: 0;
}

.maas__container {
    display: flex;
    height: 100vh;
    min-height: 500px;
    min-width: 1000px;
    font-family: "Roboto", Arial, sans-serif;
}

.maas__form {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    position: relative;
    width: 30%;
    height: 100%;
    min-width: 428px;
    min-height: 768px;
}

.maas__form-controls{
    margin-top: auto;
}

.maas__illustration {
    position: relative;
    width: 70%;
    min-height: 768px;
    overflow: hidden;
}

.maas__illustration-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* min-height: 768px; */
    margin: 0 auto;
    background: url("../img/background.jpg") no-repeat center center;
    background-size: cover;
    z-index: 500;
}

.maas__logo-block {
    display: block;
    box-sizing: border-box;
    padding: 32px 34px 0 57px;
    position: relative;
    z-index: 1000;
}

.maas__logo-mts {
    display: inline-block;
    margin-right: 4px;
    height: 25px;
    padding-top: 2px;
}

.maas__logo-separator {
    width: 2px;
    height: 26px;
    margin: 0 8px 0 6px;
    background-color: #E30611;
}

.maas__logo-title {
    color: white;
    font-size: 14px;
}

.maas__logo-title a {
    color: #E30611;
    text-decoration: none;
}

.maas__title {
    font-size: 40px;
    color: #333333;
    text-align: center;
    font-weight: normal;
    margin-bottom: 32px;
    margin-top: 0;
    line-height: 0.8;
}

.maas__text {
    font-size: 16px;
    color: #6e7782;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.42;
}

.maas__support a {
    display: flex;
    align-items: flex-start;
    color: #ffffff;
    text-decoration: none;
}

.maas__support-icon{
    width: 24px;
    height: 24px;
    margin-right: 16px;
}

.maas__support-icon img {
    width: 24px;
    height: 24px;
}

.maas__support-number {
    display: block;
    font-size: 20px;
    color: #333333;
}

.maas__support a .maas__support-txt {
    display: block;
    font-size: 14px;
    color: #808080;
}

.maas__captcha {
    height: 60px;
    margin: 0 auto;
    margin-right: 20px;
}

.maas__form-control {
    width: 285px;
    margin: 0 auto 24px auto;
}

.maas__form-control .maas__red-button{
    width: 100%;
    font-size: 14px;
}

.maas__form-control .checkbox{
    text-align: center;
    width: 274px;
}

.maas__form-control:last-child {
    margin-bottom: 16px;
}

.maas__form-control_mb-40 {
    margin-bottom: 40px;
}

.maas__label {
    display: block;
    color: #333333;
    font-size: 16px;
    margin-bottom: 8px;
}

.maas__input {
    width: 100%;
    height: 40px;
    color: #4B4949;
    padding: 8px 12px;
    border: 1px solid #bbc1c7;
    border-radius: 4px;
    background-color: #FFFFFF;
    box-sizing: border-box;
    outline: none;
}

.maas__input.valid{
    border: 2px solid green;
}

.maas__input.invalid{
    border: 2px solid red;
}


.maas__link-wrapper {
    text-align: left;
}

.maas__link-wrapper_mb-16 {
    margin-bottom: 16px;
}

.maas__link-wrapper_mb-40 {
    margin-bottom: 40px;
}

.maas__link-wrapper_absolute {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 60px;
}

.maas__link {
    font-size: 16px;
}

.maas__link_blue {
    color: #1381b4;
    text-decoration: none;
}

.maas__link_grey {
    color: #6e7782;
}

.maas__red-button {
    display: block;
    height: 48px;
    font-size: 18px;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    background-color: #E30611;
    border: none;
    cursor: pointer;
}

.maas__red-button:hover {
    background-color: #c90000;
}

.maas__red-button:active {
    background-color: #f51d16;
}

.maas__red-button:focus {
    outline: none;
}

.maas__red-button_center {
    margin: 0 auto;
}

.maas__back {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    line-height: 14px;
    padding: 24px 40px;
    color: #E30611;
    
}

.maas__btn-back{
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #9198a0;
    cursor: pointer;
}

.maas__back a {
    font-size: 20px;
    text-decoration: none;
    color: #6e7782;
}

.grey{
    color: #6e7782;
    font-size: 14px;
}

.maas__tip{
    line-height: 1.42;
    font-size: 14px;
    color: #333333;
}

.maas__success{
    display: flex;
    align-items: center;
    color: #39b54a;
    font-size: 18px;
}

.maas__success img{
    display: inline-block;
    margin-right: 16px;
}

.maas__info{
    margin-top: auto;
    margin-bottom: 24px;
}

.maas__phone{
    font-weight: bold;
    color: #4b4949;
}

.maas__legal-info{
    color: #bbc1c7;
    font-size: 14px;
}

.maas__copyright{
    position: absolute;
    font-size: 14px;
    bottom: 57px;
    left: 64px;
    z-index: 501;
    color: #ffffff;
}
.maas__copyright > span {
    display: block;
}

.error-block {
    width: 100%;
    font-size: 14px;
    line-height: 14px;
    height: 30px;
    padding: 5px 0;
    color: #E30611;
}

.maas__form-control-error {
    width: 100%;
    font-size: 14px;
    line-height: 14px;
    height: 30px;
    padding: 5px 0;
    color: #E30613;
}

.maas__form-control.is-error {
    border-color: #f8c1c3;
}

.maas__form-control.is-error .maas__input {
    border-color: #f8c1c3;
}


/* CAPTCHA STYLES */

.login-form__captcha {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding-right: 65px;
    padding-left: 25px;
}

.login-form_small .login-form__captcha {
    padding-left: 0;
}

.login-form__captcha-img img {
    max-width: 100%;
    height: auto;
}

.login-form__captcha-refresh {
    width: 38px;
    height: 38px;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -19px;
    cursor: pointer;
}

.login-form__captcha-refresh img {
    border: 0;
}

/* END CAPTCHA */


::-webkit-input-placeholder {color:#ADB0B3;}
::-moz-placeholder          {color:#ADB0B3;}/* Firefox 19+ */
:-moz-placeholder           {color:#ADB0B3;}/* Firefox 18- */
:-ms-input-placeholder      {color:#ADB0B3;}

.checkbox{
    margin-bottom: 16px;
}

.checkbox label {
    cursor: pointer;
}

.checkbox .label-txt {
    font-size: 14px;
    vertical-align: middle;
}

.checkbox input[type="checkbox"] {
    display: none;
}

.checkbox input[type="checkbox"] + .label-txt:before {
    content: '';
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    border: 2px solid #bbc1c7;
    border-radius: 2px;
    margin-right: 8px;
}

.checkbox input[type="checkbox"]:checked + .label-txt:before {
    content: '';
    width: 16px;
    height: 16px;
    background: url(../img/checkbox.svg) no-repeat;
    background-size: 16px 16px;
    border: none;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

.pr-50{
    padding-right: 50px;
}

.mb-10{
    margin-bottom: 10px;
}

.mb-16{
    margin-bottom: 16px;
}

.mb-24{
    margin-bottom: 24px;  
}

.mb-32{
    margin-bottom: 32px;
}

.mb-40{
    margin-bottom: 40px;
}

.mb-64{
    margin-bottom: 64px;
}

.mb-72{
    margin-bottom: 72px;
}

.mb-80{
    margin-bottom: 80px;
}

.mb-104{
    margin-bottom: 104px;
}

.mb-162{
    margin-bottom: 162px;
}

.ml-30{
    margin-left: 30px;
}

.fs-14{
    font-size: 14px;
}

.fs-16{
    font-size: 16px;
}

.align-left{
    text-align: left;
}

.align-center{
    text-align: center;
}

.align-right{
    text-align: right;
}

.color-dark-gray {
    color: #808080;
}
