/* about__tabs - контейнер общий
tabs__items - контейнер с табами
content_tabs - контейнер со страницами
ссылкам и страничкам класс не задаем, пользуемся вложенностью */

.tabs__items {
  /* margin-top: calc(40px + 188px); */
  margin-top: 40px;
  display: flex;
  justify-content: space-around;
  border: 1px solid #DDDDDD;
  border-radius: 20px;
  margin-bottom: 40px;
}

.tabs__items a {
  flex-shrink: 1;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 144px;
  padding: 30px 15px;
  border-right: 1px solid #DDDDDD;
  transition: 0.3s;
  text-align: center;
}

.tabs__items a:last-child {
  border-right: none;
}

.tabs__items a:hover,
.tabs__items .active {
  background-color: #273EBA;
  color: #fff !important;
}


.tabs__icon {
  margin-bottom: 10px;
}


.tabs__items a:nth-child(-n+2):hover .tabs__icon svg path,
.tabs__items a:nth-child(n+4):hover .tabs__icon svg path,
.tabs__items .active:nth-child(n+4) svg path,
.tabs__items .active:nth-child(-n+2) svg path {
  fill: #fff;
}

.tabs__items a:nth-child(3):hover .tabs__icon svg path,
.tabs__items .active:nth-child(3) svg path {
  stroke: #fff;
}

.tabs__items .text16-h {
  transition: 0.3s;
}

.tabs__items .active .text16-h,
.tabs__items a:hover .text16-h {
  color: #fff;
}

.tabs__items a:last-child:hover,
.tabs__items .active:last-child {
  border-radius: 0 20px 20px 0;
}

.tabs__items a:first-child:hover,
.tabs__items .active:first-child {
  border-radius: 20px 0 0 20px;
}

@media (max-width: 1365px) {
  .tabs__items {
    flex-wrap: wrap;
  }

  .tabs__items a {

    flex: 1 1 29%;
    padding: 12px;
    border-bottom: 1px solid #E6E6E6;
  }

  .tabs__items a:last-child:hover {
    border-radius: 0 0 20px 0;
  }

  .tabs__items a:first-child:hover {
    border-radius: 20px 0 0 0;
  }

  .tabs__items .active:first-child {
    border-radius: 20px 0 0 0;
  }

  .tabs__items .active:last-child {
    border-radius: 0 0 20px 0;
  }

  .tabs__items a:nth-child(3) {
    border-right: none;
  }

  .tabs__items a:nth-child(n+4) {
    border-bottom: none;
  }

  .tabs__items a:nth-child(3):hover {
    border-radius: 0 20px 0 0;
  }

  .tabs__items .active:nth-child(3) {
    border-radius: 0 20px 0 0;
  }

  .tabs__items a:nth-child(4):hover {
    border-radius: 0 0 0 20px;
  }

  .tabs__items .active:nth-child(4) {
    border-radius: 0 0 0 20px;
  }
}


@media (max-width: 525px) {
  .tabs__items a {
    min-height: unset;
    padding: 5px;
  }

  .tabs__icon svg {
    height: 25px;
    width: 25px;
  }

  .tabs__items .tabs__text {
    font-size: 11px;
  }
}

/* @media (max-width: 574px) {
  .tabs__items {
    flex-wrap: wrap;
  }

  .tabs__items a {
    flex: 1 1 50%;
    min-height: 50px;
    padding: 10px 3px;
  }


  .tabs__items a:last-child:hover {
    border-radius: 0 0 20px 0px;
  }

  .tabs__items a:first-child:hover {
    border-radius: 20px 0px 0 0;
  }

  .tabs__items .active:first-child {
    border-radius: 20px 0px 0 0;
  }

  .tabs__items .active:last-child {
    border-radius: 0 0 20px 0px;
  }

  .tabs__items a:nth-child(2):hover {
    border-radius: 0px 20px 0 0;
  }

  .tabs__items .active:nth-child(2) {
    border-radius: 0px 20px 0 0;
  }

  .tabs__items a:nth-child(3):hover {
    border-radius: 0;
  }

  .tabs__items .active:nth-child(3) {
    border-radius: 0;
  }

  .tabs__items a:nth-child(4):hover {
    border-radius:0;
  }

  .tabs__items .active:nth-child(4) {
    border-radius: 0;
  }
  
  .tabs__items a:nth-child(5):hover {
    border-radius: 0px 0 0 20px;
  }

  .tabs__items .active:nth-child(5) {
    border-radius: 0px 0 0 20px;
  }

  .tabs__items a:nth-child(3){
    border-right: 1px solid #E6E6E6; 
  }

  .tabs__items a:nth-child(even){
    border-right: 0;
  }
  .tabs__items a:nth-child(4){
    border-bottom: 1px solid #E6E6E6; 
  }

} */

.usl .optimed-title {
  margin-bottom: 40px;
}

.usl__wrapper {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
}


.usl-kak .usl__wrapper {
  flex-direction: column-reverse;
}

.usl-kak .usl__img {
  width: 60%;
  margin-bottom: 20px;
}

.usl-kak .usl__text {
  width: 100%;
}

.usl ul li {
  list-style: disc;
  margin-left: 20px;
}


.usl__text {
  width: 48%;
}

.usl__img {
  width: 48%;
  object-fit: contain;
  object-position: top;
  /* height: 460px; */
}

@media (max-width: 1265px) {
  .usl-card__bottom .btn {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .usl__wrapper {
    flex-direction: column-reverse;
    margin-bottom: 40px;
  }

  .usl__img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
  }

  .usl__text {
    width: 100%;
  }
}

.usl-kak img {
  width: 60%;
  height: auto;
}

.usl-card {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.usl-card__info {
  width: 48%;
  padding-left: 40px;
}

.usl-card__text {
  margin-top: 20px;
  margin-bottom: 40px;
}


.usl-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap-reverse;
}

.usl-card__bottom .btn {
  margin-right: 15px;
}

.usl-card__price span {
  color: #273895;
  font-size: 26px;
  font-weight: bold;
}

.usl-card__img {
  width: 42%;
  object-fit: contain;
  object-position: center;
  /* height: 400px; */
  height: 100%;
  border-radius: 10px;
}


@media (max-width: 991px) {
  .usl-card__info {
    padding-left: 0px;
  }

  .usl-card__img {
    width: 48%;
  }
}

@media (max-width: 767px) {
  .usl-card {
    flex-direction: column-reverse;
  }

  .usl-card__img {
    max-width: 500px;
    width: 100%;
    margin-bottom: 30px;
  }

  .usl-card__info {
    width: 100%;
    padding-left: 0px;
  }

  .usl-card__bottom .btn {
    margin-right: 0px;
    margin-top: 0px;
  }
}

@media (max-width: 600px) {
  .usl-card {
    flex-direction: column-reverse;
  }

  .usl-card__bottom .btn {
    margin-top: 20px;
  }

  .usl-card__text {
    margin-bottom: 20px;
  }

  .usl-kak .usl__img {
    width: 100%;
    height: auto;
  }

  .usl-kak img {
    width: 100%;
    height: auto;
  }
}


iframe {
  max-width: 853px;
  width: 100%;
  height: 480px;
}

@media (max-width: 853px) {
  iframe {
    height: 56.2vw;
  }
}