/* Scrollbar Opera, Chrome */
::-webkit-scrollbar-track {
  background-color: #fff;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #ccc;
}

::-webkit-scrollbar {
  width: 6px;
}

.wrap-reg {
  height: 100vh;
  position: relative;
  background-image: url(/resources/client/img/reg-slide-three.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  transition: .5s ease-in;
}

.body-block_form-pwd_m .csh__form-pwd_label2 {
  margin-bottom: 0;
}

.body-block_form-pwd_m .csh__reg-term {
  padding: 10px 0;
}

.block-reg {
  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) {
  .block-reg {
    width: 60%;
    left: 20% !important;
  }
}

@media screen and (max-width: 599px) {
  .block-reg {
    width: 100%;
    left: 0 !important;
  }
}

.reg_content {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.content_btn-back button {
  display: none;
  outline: none;
  text-transform: uppercase;
  font-size: .75em;
  border: none;
  background: #fff;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 15px 0 0 15px;
  color: #777;
  transition: .3s;
}

.content_btn-back button:hover {
  background: #eee;
  transition: .3s;
}

.content_body-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.body-block_logo {
  margin-top: 15px;
  margin-bottom: 20px;
}

.body-block_logo img {
  width: 100px;
}

/*Toggle*/
.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;
}

/*END Toggle*/

.body-block_form-2,
.body-block_form-3 {
  display: none;
}

.body-block_form {
  padding: 0 30px;
  width: 100%;
}

.body-block_form form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-1_desc {
  color: #1387C5;
  line-height: 1.2;
  font-style: italic;
  margin-bottom: 30px;
}

.csh__content-editable_input {
  white-space: nowrap;
  overflow: hidden;
}

.body-block_form label {
  cursor: pointer;
  width: 100%;
  margin-bottom: 15px;
}

.body-block_form label.as__type-login_box {
  width: 180px;
}

.body-block_form label p {
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 0.9em;
  color: #1387C5;
  outline: none;
}

.body-block_form label input {
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  padding: 8px;
  width: 100%;
  height: 42px;
}

.btn-reg {
  width: 100%;
  border-radius: 5px;
  border: none;
  padding: 10px;
  background: #47AFFF;
  font-size: 0.9em;
  color: #fff;
  transition: .3s;
}

.btn-reg:focus {
  outline: none !important;
}

.btn-reg-step-0:disabled,
.btn-reg-step-0[disabled] {
  opacity: .6;
}

.custom-select:focus,
.form-control:focus {
  box-shadow: none;
}

.csh__form-phone {
  display: flex;
}

.csh__form-phone select {
  width: 140px;
  height: 42px;
  margin-right: 5px;
  cursor: pointer;
}

/*form code*/
.csh__form-code_title {
  font-weight: 600;
  color: #1387C5;
  display: flex;
}

.csh__form-code_back {
  display: block;
  padding: 0 10px;
  cursor: pointer;
}

.csh__form-code_about p {
  margin-top: 10px;
  font-size: .9em;
  margin-bottom: 0;
}

.csh__form-code_number {
  font-weight: 600;
  margin-bottom: 10px;
}

.btn-reg:hover {
  background: #1387C5;
  transition: .3s;
}

.csh__form-code_field {
  text-align: center;
  font-weight: bold;
  font-size: 1.3em;
}

.csh__reg_replay {
  font-size: .8em;
  margin-top: 10px;
  display: none;
}

.csh__reg_time {
  color: #1387C5;
}

.tips-reg {
  color: tomato;
  opacity: 0;
  margin: 0 30px;
  width: 100%;
  text-align: center;
  padding: 5px 30px 0;
  font-size: .8em;
  transition: .5s;
}

.content_slide-status {
  text-align: center;
  font-size: 0.8em;
  margin: 15px;
  color: #ccc;
}

.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;
}

#regName {
  display: block;
  width: 100%;
  height: 42px;
  padding: 8px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  cursor: auto;
}

#regName:empty:before {
  content: attr(data-placeholder);
  color: gray;
  cursor: text;
  display: inline-block;
  vertical-align: text-top;
}

.as__complete-registration {
  text-align: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.csh__reg-term {
  padding: 6px 0;
  font-size: 0.8em;
  line-height: 1.3;
  text-align: center;
}

.csh__switch-language {
  margin-top: 10px;
  position: absolute;
  top: 0;
  right: 10px;
}

.csh__switch-language_icon {
  width: 40px;
  height: 40px;
  display: block;
  margin: auto;
  text-align: center;
  line-height: 40px;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none !important;
  font-weight: 600;
  transition: .2s;
}

.csh__switch-language_icon:hover {
  opacity: .8;
  background: rgba(0, 0, 0, .05);
  transition: .2s;
}

.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;
}

@media screen and (min-width: 600px) and (max-width: 991px) {
  .block-reg {
    width: 60%;
    left: 20% !important;
  }
}

@media screen and (max-width: 599px) {
  .block-reg {
    width: 100%;
    left: 0 !important;
  }
}

.as__social_icon-item {
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
  filter: grayscale(80%);
  width: 220px;
  height: 40px;
  padding: 8px 11px;
  line-height: 18px;
  border: 1px solid #333;
  border-radius: 10px;
  opacity: .7;
  transition: .2s;
}

.as__social_icon-item:hover {
  opacity: .8;
  transition: .2s;
}

.as__social_icon-item img {
  width: 20px;
  height: 20px;
  margin-right: 16px;
}

.as__ay_container-btn {
  margin: 0 auto;
  width: 220px;
  height: 40px
}

/*for yandex*/
.as__ay_container-btn > iframe {
  height: 40px;
}
