/* Scrollbar Opera, Chrome */
::-webkit-scrollbar-track {
    background-color: #fff;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #ccc;
}

::-webkit-scrollbar {
    width: 6px;
}

.auth-wrap {
    height: 100vh;
    position: relative;
    background-image: url(/resources/client/img/auth-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
    transition: .5s ease-in;
}

.auth-container {
    position: absolute;
    left: 33%;
    width: 33%;
    height: 100vh;
    background: #fff;
    transition: 0.5s ease-in-out;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: #ccc #fff;
    scrollbar-width: thin;
}

@media screen and (min-width: 600px) and (max-width: 991px) {
    .auth-container {
        width: 60%;
        left: 20% !important;
    }
}

@media screen and (max-width: 599px) {
    .auth-container {
        width: 100%;
        left: 0 !important;
    }
}

.auth-container_pills {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}


.auth-container_nav ul {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.auth-container_nav ul a {
    color: #1387C5;
    text-decoration: none;
    padding: 0 5px;
}

.auth-container_nav ul a.active {
    color: #555;
}


.auth-container_logo {
    margin: 15px 0;
    text-align: center;
}

.auth-container_logo img {
    width: 100px;
}

.auth-container_logo span {
    position: relative;
    top: 4px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.3em;
    color: #1387C5;
}


.auth-container_common {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*height: 220px;*/
}


.auth-container_form {
    padding: 0 30px;
    width: 100%;
}

.auth-container_form label {
    cursor: pointer;
    width: 100%;
    margin-bottom: 15px;
}

.auth-container_form label p {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9em;
    color: #1387C5;
}

.auth-container_form label input {
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    padding: 8px;
    width: 100%;
}


.auth-container_form button {
    width: 100%;
    border-radius: 5px;
    border: none;
    outline: none;
    padding: 10px;
    background: #47AFFF;
    font-size: 0.9em;
    color: #fff;
    transition: .3s;
}

.auth-container_form button:hover {
    background: #1387C5;
    transition: .3s;
}

.auth-container_reg {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

.auth-container_reg a {
    text-decoration: none;
    transition: .2s
}

.auth-container_reg a:hover {
    transition: .2s;
    opacity: .8;
}


/* для заметок (подсказок) */
.tips-error-auth,
.tips-error-recovery {
    color: tomato;
    font-size: .8em;
    transition: .5s;
    padding: 5px 30px 0;;
    text-align: center;
}

.auth-container_socio {
    margin-top: 15px;
    text-align: center;
}

.auth-socio-icon i {
    font-size: 1.3em;
    margin: 10px;
    cursor: pointer;
    color: #555;
    transition: .2s;
}

.auth-socio-icon i:hover {
    color: #1387C5;
    transition: .2s;
}

.csh__switch-language {
    margin-top: 10px;
    position: absolute;
    top: 0;
    right: 10px;
}
.csh__switch-language_icon {
    width: 40px;
    height: 40px;
    display: block;
    margin: auto;
}
.csh__switch-language_ru {
    background: url(/resources/client/img/language/ru.png) no-repeat;
    background-size: cover;
}
.csh__switch-language_en {
    background: url(/resources/client/img/language/uk.png) no-repeat;
    background-size: cover;
}




.custom-select:focus,
.form-control:focus {
  box-shadow: none;
}

.csh__form-phone {
  display: flex;
}

.csh__form-phone select {
  width: 140px;
  margin-right: 5px;
  cursor: pointer;
}


.auth-container_form input,
.csh__form_phone-number,
.csh__form_phone-code {
  height: 45px;
}



.as__type-login_box {
  display: inline-block;
  margin: 0;
  position: relative;
  font-size: 14px;
}

.as__type-login_box > label.as__type-login_inner{
  margin: 0 auto;
  width: 180px;
  height: 40px;
  background: #fff;
  border: 1px solid #47AFFF;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  display: block;
}

.as__type-login_box > label.as__type-login_inner:before{
  content: attr(data-on);
  position: absolute;
  font-size: 14px;
  top: 9px;
  right: 20px;
}

.as__type-login_box > label.as__type-login_inner:after{
  content: attr(data-off);
  width: 90px;
  height: 34px;
  background: #47AFFF;
  color: #fff;
  border-radius: 7px;
  position: absolute;
  left: 2px;
  top: 2px;
  text-align: center;
  transition: all 0.3s ease;
  padding: 5px 0;
}

.as__type-login_box input[type="checkbox"]{
  cursor: pointer;
  width: 50px;
  height: 25px;
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: 1;
  margin: 0;
}

.as__type-login_box input[type="checkbox"]:checked + label.as__type-login_inner:after{
  content: attr(data-on);
  left: 86px;
  background: #47AFFF;
  color: #fff;
}

.as__type-login_box input[type="checkbox"]:checked + label.as__type-login_inner:before{
  content: attr(data-off);
  right: auto;
  left: 20px;
}

.as__ay_container-btn {
  margin: 0 auto;
  width: 220px;
  height: 40px
}

/*for yandex*/
.as__ay_container-btn > iframe {
  height: 40px;
}
