/*POPUP FILTER*/
.popup {
  display: block;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: rgba(0, 0, 0, 0.5);
}

.popup--shown {
  display: block;
}

.popup__container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  padding: 80px 0;
}

.popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.popup__content {
  z-index: 101;
  display: flex;
  flex-direction: column;
  max-width: 564px;
  width: 100%;
}

.popup__content--successful-authorization {
  max-width: 452px;
}
.popup__content--successful-authorization3 {
  max-width: 656px;
}
.popup__content--request-alternative {
  max-width: 450px;
}

.popup__content--personal-cabinet,
.popup__content--recover-password,
.popup__content--alert {
  max-width: 429px;
}

.popup__content--about-contract {
  max-width: 656px;
}

.popup__content--video-lk {
    max-width: 1060px;
    margin: 0 10px;
}

.popup__content--video {
  max-width: 745px;
  margin: 0 10px;
}

.popup__header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  background: #343434;
}

.popup__close-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
}

.popup__close-btn:hover path {
  stroke: #A4282E;
  transition: 0.3s;
}

.popup__header-title {
  margin: 0;
  font-weight: bold;
  font-size: 32px;
  line-height: 100%;
  color: #FFFFFF;
}

.popup-filter__form {
  display: flex;
  flex-direction: column;
  background: #F9F9F9;
  padding: 40px 40px 64px 40px;
}

.popup-filter__input-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 24px;
}

.popup-filter__input-wrapper label {
  margin-bottom: 16px;
  font-weight: bold;
  font-size: 16px;
  line-height: 100%;
  color: #343434;
}

.popup-filter__input-wrapper input {
  width: 100%;
  height: 43px;
  padding: 13px 16px;
  font-family: "Circe-regular";
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #FFFFFF;
  border: none;
  outline: none;
}

.popup-filter__result-list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}

.popup-filter__list-item p:first-child {
  margin-bottom: 16px;
  font-weight: bold;
  font-size: 16px;
  line-height: 140%;
  color: #343434;
}

.popup-filter__list-item p:last-child {
  margin-bottom: 16px;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #343434;
}

.popup-filter__btn-wrapper {
  display: flex;
  justify-content: center;
}

.popup-filter__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 164px;
  height: 51px;
  font-family: "Circe-regular";
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  border: none;
  background: none;
  outline: none;
  border-radius: 2px;
  cursor: pointer;
}

.popup-filter__btn--save {
  margin-right: 10px;
  background-color: #D62631;
  color: #ffffff;
}

.popup-filter__btn--save:hover {
  background-color: #A4282E;
  transition: 0.3s;
}

.popup-filter__btn--cancel {
  color: #D62631;
  border: 1px solid #D62631;
}

.popup-filter__btn--cancel:hover {
  color: #ffffff;
  background-color: #A4282E;
  border: 1px solid #A4282E;
  transition: 0.3s;
}

/*POPUP SUCCESSFUL AUTHORIZATION*/
.successful-authorization {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 0 56px;
  background: #F9F9F9;
}

.successful-authorization__text {
  margin: 0 0 24px 0;
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  color: #343434;
}

.successful-authorization__user-name {
  margin: 0 0 12px 0;
  font-weight: bold;
  font-size: 32px;
  line-height: 100%;
  color: #343434;
  text-align: center;
}

.successful-authorization__company-name {
  margin: 0 0 66px 0;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  color: #343434;
}

.successful-authorization__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 207px;
  height: 51px;
  font-weight: normal;
  font-size: 16px;
  line-height: 120%;
  text-decoration: none;
  border-radius: 2px;
}

.successful-authorization__btn--portal {
  margin-bottom: 16px;
  color: #ffffff;
  background: #D62631;
}
.successful-authorization__btn--portal:hover {
  background-color: #A4282E;
  transition: 0.3s;
}

.successful-authorization__btn--lk {
  color: #D62631;
  border: 1px solid #D62631;
}
.successful-authorization__btn--lk:hover {
  color: #ffffff;
  background-color: #D62631;
  transition: 0.3s;
}

/*POPUP SUCCESSFUL AUTHORIZATION 2*/
.successful-authorization2 {
  display: flex;
  flex-direction: column;
  padding: 48px 40px 56px 40px;
  background: #F9F9F9;
}

.successful-authorization2__text {
  margin-bottom: 40px;
  font-weight: normal;
  font-size: 24px;
  line-height: 100%;
  color: #343434;
}

.successful-authorization2__user-name {
  margin-bottom: 8px;
  font-weight: normal;
  font-size: 32px;
  line-height: 100%;
  color: #D62631;
}

.successful-authorization2__company-name {
  margin-bottom: 32px;
  font-weight: normal;
  font-size: 20px;
  line-height: 100%;
  color: #D62631;
}

.successful-authorization2 .popup-btn--portal {
  width: 259px;
}

.successful-authorization2 .popup-btn--lk {
  width: 204px;
}

.successful-authorization2__contract-wrapper {
  max-width: 384px;
  margin-bottom: 72px;
}

.successful-authorization2__contract-title {
  margin-bottom: 16px;
  font-weight: normal;
  font-size: 16px;
  line-height: 100%;
  color: #343434;
}

/*POPUP SUCCESSFUL AUTHORIZATION 3*/
.successful-authorization3 {
  display: flex;
  flex-direction: column;
  padding: 37px 40px 56px 40px;
  background: #F9F9F9;
}

.successful-authorization3__user-info {
  margin-bottom: 11px;
  font-weight: normal;
  font-size: 24px;
  line-height: 140%;
  color: #D62631;
}

.successful-authorization3__user-info span {
  display: inline-block;
  width: 145px;
  margin-right: 34px;
  font-weight: bold;
  font-size: 24px;
  line-height: 100%;
  color: #343434;
}

.successful-authorization3__contract-title {
  padding-top: 35px;
  margin-bottom: 41px;
  font-weight: bold;
  font-size: 24px;
  line-height: 100%;
  color: #343434;
}

.successful-authorization3__contract-list {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  display: flex;
  flex-wrap: wrap;
}

.successful-authorization3__contract-list li {
  max-width: 265px;
  width: 100%;
  margin-bottom: 24px;
  margin-right: 32px;
}

.successful-authorization3__contract-list li:nth-child(2n) {
  margin-right: 0;
}

.successful-authorization3__contract-list p {
  margin-bottom: 16px;
  font-weight: bold;
  font-size: 16px;
  line-height: 100%;
  color: #343434;
}

.successful-authorization3__contract-list .select__input {
  height: 50px;
  padding: 17px 30px 13px 16px;
  border: 1px solid #EBEBEB;
  border-radius: 2px;
}

.successful-authorization3__contract-list .active.select__input {
  border-bottom: none;
  border-left: 1px solid #EBEBEB;
  border-right: 1px solid #EBEBEB;
  border-top: 1px solid #EBEBEB;
  padding: 17px 30px 13px 16px;
}

.successful-authorization3__btn-wrapper {
  display: flex;
}

.successful-authorization3__btn-wrapper .popup-btn:nth-child(1) {
  width: 240px;
  margin-right: 32px;
}
.successful-authorization3__btn-wrapper .popup-btn:nth-child(2) {
  width: 225px;
}

/*POPUP REQUEST ALTERNATIVE*/
.request-alternative,
.popup-recover-password2 {
  display: flex;
  flex-direction: column;
  padding: 56px 40px;
  background: #F9F9F9;
}

.request-alternative label {
  margin-bottom: 16px;
  font-family: "Circe-Regular";
  font-weight: normal;
  font-size: 16px;
  line-height: 100%;
  color: #343434;
}

.request-alternative textarea {
  height: 148px;
  padding: 13px 16px;
  margin-bottom: 72px;
  font-family: "Circe-Regular";
  font-weight: normal;
  font-size: 16px;
  line-height: 100%;
  color: #343434;
  resize: none;
  border: 0;
  outline: none;
  background: #ffffff;
}

.request-alternative textarea::placeholder {
  font-family: "Circe-Regular";
  font-weight: normal;
  font-size: 16px;
  line-height: 100%;
  color: #343434;
  opacity: 0.3;
}

.request-alternative__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 157px;
  height: 51px;
  font-weight: normal;
  font-size: 16px;
  line-height: 120%;
  color: #ffffff;
  border: none;
  outline: none;
  background: #D62631;
  border-radius: 2px;
  cursor: pointer;
}

.request-alternative__btn:hover {
  color: #ffffff;
  background-color: #A4282E;
  border: 1px solid #A4282E;
  transition: 0.3s;
}

/*PERSONAL CABINET*/
.popup-personal-cabinet {
  display: flex;
  flex-direction: column;
  padding: 32px 40px 56px 40px;
  background: #F9F9F9;
}

.popup-personal-cabinet__title {
  margin-bottom: 24px;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #343434;
}

.popup-label {
  position: relative;
  margin-bottom: 16px;
  font-family: "Circe-Regular";
  font-weight: normal;
  font-size: 16px;
  line-height: 100%;
  color: #343434;
}

.popup-input {
  position: relative;
  width: 100%;
  height: 43px;
  padding: 13px 16px;
  margin-bottom: 32px;
  font-family: "Circe-Regular";
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  border: none;
  outline: none;
  border-radius: 2px;
}

.popup-input:hover,
.popup-input:focus-within {
  padding: 12px 15px;
  border: 1px solid rgba(52, 52, 52, 0.6);
}

.popup-input::placeholder {
  font-family: "Circe-Regular";
  font-size: 16px;
  line-height: 100%;
  color: #343434;
  opacity: 0.3;
}

.popup-password {
  position: relative;
  display: flex;
  flex-direction: column;
}

.popup-password .popup-input {
  padding-right: 42px;
}

.popup-password__btn {
    position: absolute;
    right: 16px;
    top: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 13px;
    border: none;
    outline: none;
    background: transparent url(/local/templates/main/img/password-icon.svg) no-repeat center;
    cursor: pointer;
}

.password-forgot {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 16px;
  line-height: 100%;
  text-decoration: none;
  color: #343434;
}

.password-forgot:hover {
  font-weight: bold;
}

.popup-hide input[type="password"] {
  font: small-caption;
  letter-spacing: 8px;
}

.popup-btn__wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.popup-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 157px;
  height: 51px;
  font-family: "Circe-Regular";
  font-weight: normal;
  font-size: 16px;
  line-height: 120%;
  text-align: center;
  text-decoration: none;
  color: #D62631;
  outline: none;
  border: none;
  background: transparent;
  border-radius: 2px;
  border: 1px solid #D62631;
  cursor: pointer;
}

.popup-btn:hover {
  transition: 0.3s;
  color: #ffffff;
  background-color: #D62631;
}

.red.popup-btn {
  color: #FFFFFF;
  background: #D62631;
}

.red.popup-btn:hover {
  color: #FFFFFF;
  background: #A4282E;
}

.popup-btn--register {
  width: 176px;
}

/*RECOVER PASSWORD*/
.popup-recover-password {
  display: flex;
  flex-direction: column;
  padding: 32px 40px 56px 40px;
  background: #F9F9F9;
}

.popup-recover-password__title {
  margin-bottom: 24px;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #343434;
}

.popup-recover-password__text {
  margin-top: 8px;
  margin-bottom: 67px;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #343434;
}

.popup-recover-password .popup-label::after {
  position: absolute;
  content: "*";
  top: -4px;
  margin-left: 4px;
  font-family: "Arial", "sans-serif";
  font-size: 16px;
  line-height: 100%;
  color: #D62631;
}

.popup-btn--recover-password {
  margin: 0 auto;
  width: 183px;
}

.popup-recover-password2 .popup-input {
  margin-bottom: 178px;
}

.popup-btn--send {
  margin: 0 auto;
}

/*PASSWORD CHANGE*/
.popup-change-password {
  display: flex;
  flex-direction: column;
  padding: 56px 40px;
  background: #F9F9F9;
}

.popup-btn--save {
  margin: 39px auto 0 auto;
  width: 166px;
}

/*POPUP ALERT*/
.popup-alert {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px 40px 56px;
  background: #F9F9F9;
}

.popup-alert__text {
  max-width: 321px;
  margin-bottom: 96px;
  font-weight: normal;
  font-size: 24px;
  line-height: 120%;
  color: #343434;
  text-align: center;
}

/*POPUP VIDEO LK*/
.popup-video-lk {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 40px 56px;
  background: #F9F9F9;
}

.popup-video-lk__text {
  margin-bottom: 32px;
  font-weight: normal;
  font-size: 24px;
  line-height: 120%;
  color: #343434;
}

.popup-video-lk__video {
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  height: 300px;
}

.video__block {
  width: 100%;
  height: 100%;
}

.video__btn-play {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: #EE2E3B;
  border: none;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
}

.popup-video-lk__video.active .video__btn-play {
  display: block;
}

.video__btn-play svg {
  margin-left: 4px;
}

/*POPUP VIDEO*/
.popup-video__video {
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}

.popup-video__video.active .video__btn-play {
  display: block;
}

/*POPUP ABOUT CONTRACT*/
.popup-about-contract {
  display: flex;
  flex-direction: column;
  padding: 43px 40px 48px 40px;
  background: #F9F9F9;
}

.popup-about-contract__row {
  display: flex;
  flex-direction: column;
}

.popup-about-contract__list-title {
  margin-bottom: 24px;
  font-weight: bold;
  font-size: 24px;
  line-height: 100%;
  color: #343434;
}

.popup-about-contract__list,
.popup-about-contract__list-document {
  list-style: none;
  margin: 0;
  padding: 0;
}

.popup-about-contract__list-item {
  margin-bottom: 8px;
}

.popup-about-contract__list-item:last-child {
  margin-bottom: 0;
}

.popup-about-contract__list-item p {
  font-weight: normal;
  font-size: 20px;
  line-height: 140%;
  color: #343434;
}

.popup-about-contract__list-document-title {
  margin-bottom: 24px;
  padding-top: 24px;
  font-weight: bold;
  font-size: 20px;
  line-height: 140%;
  color: #343434;
}

.popup-about-contract__list-document {
  display: flex;
  flex-wrap: wrap;
}

.popup-about-contract__list-document-item {
  position: relative;
  padding-left: 55px;
  margin-bottom: 24px;
  margin-right: 64px;
}

.popup-about-contract__list-document-item::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 33px;
  height: 41px;
  background: url("/local/templates/main/img/red-document-icon.svg") no-repeat;
}

.popup-about-contract__document-info {
  display: flex;
  flex-direction: column;
  max-width: 135px;
}

.popup-about-contract__document-info span {
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 100%;
  color: #343434;
}

.popup-about-contract__document-info a {
  text-decoration: none;
  font-size: 16px;
  line-height: 100%;
  color: #D62631;
}

.popup-about-contract__document-info a:hover {
  color: #A4282E;
  transition: 0.3s;
}

.popup-about-contract__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 296px;
  height: 51px;
  margin-top: 24px;
  font-family: "Circe-Regular";
  font-size: 16px;
  line-height: 120%;
  color: #ffffff;
  text-decoration: none;
  background: #D62631;
  border-radius: 2px;
}

.popup-about-contract__btn:hover {
  background: #A4282E;
  transition: 0.3s;
}
@media (max-width:768px) {
  .popup__container{
    height: auto;
  }
  .successful-authorization3__contract-list{
    flex-direction: column;
  }
  .successful-authorization3__contract-list li{
    max-width: 100%;
    margin-bottom: 20px ;
  }
  .successful-authorization3__btn-wrapper{
    flex-direction: column;
  }
  .successful-authorization3__btn-wrapper .popup-btn:nth-child(1){
    width: 100%;
  }
  .successful-authorization3__btn-wrapper .popup-btn:nth-child(2){
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width:500px) {
  .successful-authorization3__user-info span{
    display: block;
    margin-bottom: 15px;
  }
}

@media (max-width:450px) {
  .popup-btn--register{
    width: 100%;
  }
  .popup-personal-cabinet{
    padding: 32px 25px 56px 25px;
  }
}
