.modal-dialog {
  width: 100%;
  margin: 0;
  border-radius: 0;
}
.modal-dialog {
  width: 100%;
  height: 100%;
}

.modal-content {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
}
.mobile-modal-head {
  height: 73px;
  background: #005188;
  padding-top: 31px;
  padding-bottom: 22px;
  position: relative;
}
.modal-mobile-title {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #ffffff;
  text-align: center;
}
.mobile-modal-head .close {
  position: absolute;
  top: 31px;
  right: 15px;
  opacity: 1;
}
.modal-header {
  padding-top: 24px;
  padding-bottom: 16px;
  position: relative;
}
.modal-header .close {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  top: 24px;

  right: 24px;
}
.modal-header {
  display: none;
  position: relative;
  border-bottom: none;
}
.my-popup .modal-header {
  border-bottom: none;
}
.my-popup .modal-header .close {
  position: absolute;
  top: 50%;
  right: 24px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 1;
}
.my-popup .modal-body {
  padding-top: 24px;
  padding-right: 16px;
  padding-left: 16px;
  overflow-y: auto;
  height: 100%;
  padding-bottom: 100px;
}
.popup-swiper .swiper-wrapper {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.popup-swiper .swiper-wrapper .swiper-slide {
  padding-bottom: 16px;
}
.recomended-productsю.popup-swiper .swiper-slide-active {
  padding-right: 0;
}
.modal.show {
  opacity: 1 !important;
}
.modal hr {
  border-top: 1px solid #eaeaea;
  margin-top: 16px;
  margin-bottom: 24px;
}
.modal-body input {
  height: 42px;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
}
.modal-body input[type='checkbox'] {
  height: auto;
}
.agreement-label {
  display: inline;
}
.modal-body .form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-top: 16px;
}
.agreement-label {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: inline;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.agreement-label input {
  margin-right: 10px;
  margin-top: 0;
}

.modal-body .btn-primary {
  height: 38px;
  width: 125px;
  display: block;
  max-width: 125px;
  border: none;
  font-size: 13px;
  line-height: 18px;
  margin-top: 16px;
}
.modal-form-comment {
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  color: #333333;
  margin-bottom: 8px;
}
.modal-form-comment span {
  font-weight: 600;
  font-size: 16px;
}
.popup-swiper.recomended-products.swiper {
  padding-bottom: 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.popup-swiper .recomended-products .swiper-slide-active {
  padding-right: 0;
}
.popup-swiper.recomended-products.swiper .swiper-slide {
  padding-bottom: 16px;
}
.popup-swiper.recomended-products.swiper .swiper-slide:nth-child(n + 5) {
  display: none;
}
.popup-swiper.recomended-products.swiper.show .swiper-slide:nth-child(n + 5) {
  display: block;
}
hr.mobile-hide {
  display: none;
}
.show-more-recomends {
  width: 100%;
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  line-height: 14px;
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #005188;
}
.show-more-recomends.shown {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.show-more-recomends:hover,
.show-more-recomends:active {
  text-decoration: none;
}
.show-more-recomends.down::after {
  content: '';
  margin-left: 5px;
  width: 6px;
  height: 3px;
  background: url(/css/images/down.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.show-more-recomends.down::before {
  content: 'Показать все';
}
.show-more-recomends.up::before {
  content: 'Свернуть';
}
.show-more-recomends.up::after {
  content: '';
  margin-left: 5px;
  width: 6px;
  height: 3px;
  background: url(/css/images/up.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
button.close {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 1;
}
.zakaz-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #333333;
  margin-bottom: 16px;
}

.modal-body {
  padding-bottom: 100px;
  overflow-y: auto;
  height: 100%;
  padding-top: 24px;
}
.modal-body .close {
  display: none;
}
.modal-content {
  border: none;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.modal-text {
  font-size: 11px;
}

@media (min-width: 575px) {
  .modal-content {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    /* box-shadow: 0 3px 9px rgba(0,0,0,.5); */
  }
  .modal-body .close {
    display: block;
  }
  .modal-content {
    height: auto;
  }

  .modal-body {
    padding-top: 24px;
    padding-bottom: 24px;
    padding-right: 24px;
    padding-left: 24px;
  }
  .my-popup .modal-body {
    padding-bottom: 16px;
  }
  .modal-dialog {
    max-width: 555px;
    margin: 0 auto;
  }
  .my-popup .modal-body {
    padding-bottom: 0;
  }
  .show-more-recomends {
    display: none !important;
  }
  .popup-swiper.recomended-products.swiper .swiper-slide:nth-child(n + 5) {
    display: block;
  }
  .popup-swiper.recomended-products.swiper {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
  .popup-swiper.recomended-products.swiper .swiper-slide {
    padding-bottom: 0;
  }
  .popup-swiper.recomended-products.swiper {
    margin-top: 26px;
    margin-bottom: 8px;
  }
  .modal-title span {
    font-weight: 600;
  }
  .lg-hide {
    display: none;
  }
  hr.mobile-hide {
    display: block;
  }
  .modal-form-comment {
    font-weight: 400;
    font-size: 19px;
    line-height: 24px;
    padding-right: 20px;
  }
  .modal-body .form {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .inp-form-pop-con {
    padding-right: 24px;
    width: 294px;
  }

  .modal hr {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .popup-swiper .swiper-wrapper {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
  .popup-swiper .swiper-wrapper .swiper-slide {
    padding-bottom: 0;
  }
  .recomended-productsю.popup-swiper .swiper-slide-active {
    padding-right: 16px;
  }

  .modal-header {
    display: block;
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 24px;
    color: #333333;
    border-bottom: 1px solid #eaeaea;
  }
  .my-popup .modal-header {
    padding-top: 24px;
    padding-right: 24px;
    padding-left: 24px;
    padding-bottom: 0;
  }
  .my-popup .modal-dialog {
    width: 100%;
    max-width: 732px;
    margin: auto;
    -webkit-transform: translateX(-25%);
    -ms-transform: translateX(-25%);
    transform: translateX(-25%);
  }
  .my-popup .modal-content {
    width: 100%;
    height: auto;
  }
  .mobile-modal-head {
    display: none;
  }
  .modal-header {
  }
  .my-popup .modal-body {
    padding-top: 0;
    padding-right: 24px;
    padding-left: 24px;
    padding-bottom: 24px;
  }
  .modal-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
  }
}

.custom-modal-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.custom-modal-form .form-group {
  width: 100%;
}
@media (min-width: 575px) {
  .custom-modal-form .form-group {
    width: 50%;
  }
  .custom-modal-form .form-group:nth-child(odd) {
    padding-right: 11px;
  }
  .custom-modal-form {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

.modal-dialog-centered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;

  min-height: calc(100% - var(--bs-modal-margin) * 2);
}
@media (min-width: 575px) {
  .modal-dialog-centered {
    margin-top: 96px;
    height: auto;
    align-items: flex-start;
  }
}

.modal-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.modal-buttons .btn {
  width: 125px;
  height: 38px;
  margin-top: 0;
  margin-bottom: 0;
}

@media (min-width: 575px) {
  .modal-buttons {
    justify-content: flex-start;
  }
  .modal-buttons .btn:not(:last-child) {
    margin-right: 16px;
  }
}

.select-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: 100%;
}
@media (min-width: 575px) {
  .select-group {
    flex-direction: row;
    align-items: center;
  }
}
.select-group > label {
  margin-right: 17px;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 8px;
}
@media (min-width: 575px) {
  .select-group > label {
    margin-bottom: 0;
  }
}
.select-group .select {
  margin-bottom: 0;
  flex-grow: 1;
}

.modal-head {
  position: relative;
  background: #005188;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  /* identical to box height, or 125% */

  display: flex;
  align-items: center;

  color: #ffffff;

  padding-top: 27px;
  padding-bottom: 26px;
  justify-content: center;
}

.modal-head .close {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 26px;
}

.modal-head .close svg path {
  fill: #fff;
}

.modal.custom .modal-body hr {
  margin-top: 0;
  margin-bottom: 16;
}
@media (min-width: 575px) {
  .modal-head {
    background: #fff;
    color: #333333;
    font-size: 19px;
    line-height: 24px;
    justify-content: flex-start;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 16px;
    font-weight: 400;
    position: relative;
  }
  .modal-head::after {
    content: '';
    height: 1px;
    background: #eaeaea;
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
  }
  .modal-head .close svg path {
    fill: #005188;
  }
  .modal.custom .modal-body {
    padding-top: 16px;
  }

  #callback-popup .custom-modal-form .form-group:nth-child(2) {
    padding-right: 11px;
  }
  #callback-popup .custom-modal-form .form-group:nth-child(3) {
    padding-right: 0;
  }
}
.modal .select__list {
  max-height: none;
}
.modal-text-comment {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 8px;
}
.btn-group-radio {
  background: #e5e6ea;
  border-radius: 7px;
  padding: 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  height: 34px;
  position: relative;
  margin-bottom: 24px;
}
.checkout-page {
  padding-bottom: 48px;
}
.checkout-page .cart-header {
  border: none;
  padding: 0;
}

@media (min-width: 992px) {
  .btn-group-radio {
    width: 100%;
    height: 38px;
  }
  .checkout-page {
    padding-top: 24px;
    padding-bottom: 64px;
  }
}

.btn-group-radio input {
  visibility: hidden;
  opacity: 0;
  width: 0;
  margin: 0;
  min-width: none;
  position: absolute;
  z-index: -1;
}
.btn-group-radio .input-wrapper {
  height: 100%;
  width: 50%;
}
.btn-group-radio label {
  background: #e5e6ea;
  font-weight: 400;
  font-size: 11px;
  line-height: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
  margin-bottom: 0;
  color: #333333;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
@media (min-width: 768px) {
  .btn-group-radio label {
    font-size: 14px;
    line-height: 18px;
  }
}
.input-wrapper {
  cursor: pointer;
}
.input-wrapper.checked label {
  background: #005188;
  border-radius: 3px;
  color: #ffffff;
}

.articles-tippy {
  background: transparent;
  border: none;
  margin-left: 27px;
}
.articles-type__comment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.articles-tippy-content__header {
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  margin-bottom: 4px;
  text-align: left;
}
.articles-tippy-content__text {
  font-size: 12px;
  text-align: left;
  font-weight: 400;
  line-height: 14px;
}
.articles-tippy-content {
  padding: 10px;
}
.articles textarea {
  height: 100px;
  resize: none;
  overflow-y: auto;
}

.articles textarea::-webkit-scrollbar {
  width: 4px;
}
.articles textarea::-webkit-scrollbar-thumb {
  width: 4px;
  background: #757575;
  height: 15px;
  border-radius: 8px;
}
#articles-popup .btn-primary {
  width: 175px;
  height: 38px;
  text-align: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  max-width: none;
}
.articles-type__file-images {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 16px;
}
.articles-type__file-images .image {
  display: block;
  width: 132px;
  
  max-width: 49%;
}
.articles-type__file-images .image .title {
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  color: #757575;
}
.articles-type__file-images .image img {
  width: 100%;
  object-fit: contain;
}
.articles-type__file-images .image:first-child {
  padding-right: 8px;
}
.articles-type__file-images .image:last-child {
  padding-left: 8px;
}
