﻿/* section1 */
.back-titr {
  position: relative;
  height: 400px;
}

  .back-titr > div {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
  }

    .back-titr > div:not(:last-child) {
      visibility: hidden;
      opacity: 0;
      transition: opacity 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

      .back-titr > div:not(:last-child).active {
        visibility: visible;
        opacity: 1;
      }

  .back-titr > .equipment {
    background: url('/site/images/home/equipment.webp') no-repeat #d0e7f8;
  }

  .back-titr > .software {
    background: url('/site/images/home/software.webp') no-repeat #e4eaef;
  }

  .back-titr > .doctor {
    background: url('/site/images/home/doctor.webp') no-repeat #f5f7f9;
  }

  .back-titr > .bgfront > div {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 4;
  }

  .back-titr > .bgfront ul:first-child {
    top: -40px;
  }

    .back-titr > .bgfront ul:first-child > li {
      display: flex;
      width: 25%;
      justify-content: center;
    }

      .back-titr > .bgfront ul:first-child > li > span {
        width: 80px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.4);
        border-top-left-radius: 45px;
        border-top-right-radius: 45px;
      }

      .back-titr > .bgfront ul:first-child > li button {
        top: 10px;
        left: 10px;
        width: 60px;
        height: 60px;
        fill: #fff;
        color: #fff;
        background-color: transparent;
        border: solid 2px #fff;
        border-radius: 100%;
        cursor: pointer;
      }

      .back-titr > .bgfront ul:first-child > li:not(:last-child) button {
        transition: all 0.2s ease-in-out;
      }

      .back-titr > .bgfront ul:first-child > li button a {
        transition: none;
        color: inherit;
      }

      .back-titr > .bgfront ul:first-child > li button svg,
      .back-titr > .bgfront ul:first-child > li button span {
        pointer-events: none;
      }

      .back-titr > .bgfront ul:first-child > li button.active,
      .back-titr > .bgfront ul:first-child > li:last-child button:active {
        border: solid 2px #f49700;
        color: #f49700;
        fill: #f49700;
        background-color: #fff;
      }

      .back-titr > .bgfront ul:first-child > li:nth-child(1) button svg:first-child,
      .back-titr > .bgfront ul:first-child > li:nth-child(2) button svg:first-child,
      .back-titr > .bgfront ul:first-child > li:nth-child(4) button svg:first-child {
        width: 40px;
      }

      .back-titr > .bgfront ul:first-child > li:nth-child(3) button svg:first-child {
        height: 35px;
      }

      .back-titr > .bgfront ul:first-child > li button span {
        color: inherit;
        padding-top: 10px;
        top: 56px;
      }

  .back-titr > .bgfront ul:last-child {
    margin: 40px calc(12.5% - 50px) 0 calc(12.5% - 50px);
  }

    .back-titr > .bgfront ul:last-child > li {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      margin-bottom: 2rem;
    }

      .back-titr > .bgfront ul:last-child > li:first-child {
        display: none;
      }

      .back-titr > .bgfront ul:last-child > li:nth-child(4) {
        flex: 1;
      }

      .back-titr > .bgfront ul:last-child > li:not(:last-child) {
        padding-left: 0.75rem;
      }

      .back-titr > .bgfront ul:last-child > li:first-child .fa-map-marker-alt {
        color: #fff;
        font-size: 30px !important;
        margin-left: 5px;
        cursor: pointer;
      }

      .back-titr > .bgfront ul:last-child > li:nth-child(2),
      .back-titr > .bgfront ul:last-child > li:nth-child(3) {
        width: 200px;
      }

      .back-titr > .bgfront ul:last-child > li:last-child {
        width: 130px;
      }

      .back-titr > .bgfront ul:last-child > li .btn-search-titr {
        height: 38px;
        border-radius: 0.25rem;
        color: #fff;
        border: none;
        background-color: #f49700;
        cursor: pointer;
        transition: background-color 0.2s ease-in-out;
      }

        .back-titr > .bgfront ul:last-child > li .btn-search-titr:active {
          transform: scale(0.98);
          background-color: #ff8200;
        }

/* section2 */
.medical-services p {
  color: #9e9e9e;
}

/* section3 */
.tsum-tabs-site #tab1:checked ~ #content1,
.tsum-tabs-site #tab2:checked ~ #content2,
.tsum-tabs-site #tab3:checked ~ #content3,
.tsum-tabs-site #tab4:checked ~ #content4 {
  height: calc(100% - 50px);
  visibility: visible;
  opacity: 1;
  padding: 20px 0 0;
  transition: opacity 0.2s ease-in;
}

.tsum-tabs-site > main {
  position: relative;
  min-width: 280px;
  height: fit-content;
  padding: 2rem 20px;
  margin: 0 auto;
  background: #fff;
}

  .tsum-tabs-site > main > div {
    float: left;
  }

  .tsum-tabs-site > main > hr {
    position: absolute;
    right: 20px;
    top: 5rem;
    left: 20px;
  }

  .tsum-tabs-site > main > section {
    overflow: hidden;
    visibility: hidden;
    height: 0;
    opacity: 0;
  }

  .tsum-tabs-site input[type=radio],
  .tsum-tabs-site > main > label > svg {
    display: none;
  }

  .tsum-tabs-site > main > label {
    display: inline-block;
    position: inherit;
    background-color: #fff;
    margin: 0 0 -1px;
    padding: 13px 25px;
    height: 50px;
    font-weight: 600;
    text-align: center;
    color: #bbb;
    border: 1px solid transparent;
    border-bottom: 2px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
  }

  .tsum-tabs-site > main > input[type=radio]:checked + label {
    color: #444;
    border: 1px solid #ddd;
    border-top: 1px solid #f49700;
    border-bottom: 2px solid #fff;
    z-index: 2;
  }

.swiper-container .content {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 3px rgb(0 0 0 / 10%), 0 1px 2px rgb(0 0 0 / 20%);
  -moz-box-shadow: 0 0 3px rgb(0 0 0 / 10%), 0 1px 2px rgb(0 0 0 / 20%);
  -webkit-box-shadow: 0 0 3px rgb(0 0 0 / 10%), 0 1px 2px rgb(0 0 0 / 20%);
  border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  -webkit-border-radius: 0.25rem;
  margin: 3px;
}

.swiper-container .top2-items {
  position: relative;
  width: 100%;
  background: url("../../../public/wwwroot/Images/Public/bgeffect.png") #f6f6f6;
  background-repeat: no-repeat;
  background-position: 100% 0;
}

#content1 .swiper-slide:nth-child(1) .profile-container:before {
  content: '200';
}

#content1 .swiper-slide:nth-child(2) .profile-container:before {
  content: '180';
}

#content1 .swiper-slide:nth-child(3) .profile-container:before {
  content: '160';
}

#content1 .swiper-slide:nth-child(4) .profile-container:before {
  content: '140';
}

#content1 .swiper-slide:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)):not(:nth-child(4)) .profile-container:before {
  content: '120';
}

.box-filter {
  min-width: 60px;
  max-width: 198px;
}

.profile-container,
.product-top .product-container .product-item {
  width: 22.787vw;
  min-width: 280px;
  max-width: 300px;
  max-height: 400px;
}

/* section5 */
.mps-services .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  box-shadow: inset -4px -4px 15px 1px rgb(0 0 0 / 8%);
  transform: rotate(45deg);
  margin: 20px auto 25px auto;
  border-radius: 55px;
  z-index: 1;
}

  .mps-services .icon:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 55px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    background-image: linear-gradient(220deg, #f49700, #FF5C39);
  }

  .mps-services .icon > * {
    transform: rotateZ(-45deg);
  }

.mps-services p {
  text-align: justify;
  text-align-last: right;
  max-width: 280px;
  color: #9e9e9e;
  font-size: 0.95rem;
}

.mps-services div:active .icon {
  transition: opacity 0.1s;
  box-shadow: 0 0 8px #f49700;
}

  .mps-services div:active .icon:after {
    transition: opacity 0.1s;
    opacity: 1;
  }

.mps-services div:active svg path {
  transition: opacity 0.1s;
  fill: #fff;
}

@media screen and (max-width: 993px) {
  .back-titr > .bgfront ul:last-child > li:nth-child(2),
  .back-titr > .bgfront ul:last-child > li:nth-child(3) {
    width: 25%;
  }
}

@media screen and (max-width: 769px) {
  /* section1 */
  .back-titr > .bgfront ul:first-child > li:nth-child(1) button svg:first-child,
  .back-titr > .bgfront ul:first-child > li:nth-child(2) button svg:first-child,
  .back-titr > .bgfront ul:first-child > li:nth-child(4) button svg:first-child {
    width: 33px;
  }

  .back-titr > .bgfront ul:first-child > li:nth-child(3) button svg:first-child {
    height: 28px;
  }

  .back-titr > .bgfront > div {
    height: 70%;
  }

  .back-titr > .bgfront ul:last-child {
    margin: 70px calc(12.5% - 50px) 0 calc(12.5% - 50px);
  }

    .back-titr > .bgfront ul:last-child > li:not(:first-child) {
      width: 50%;
    }

    .back-titr > .bgfront ul:last-child > li:nth-child(3) {
      padding-left: 0;
    }

  /* section3 */
  .top2-items .tsum-tabs-site > main > label {
    padding: 8px 22px 12px;
  }

    .top2-items .tsum-tabs-site > main > label > span {
      display: none;
    }

    .top2-items .tsum-tabs-site > main > label > svg {
      display: block;
    }

  .box-filter {
    max-width: 165px;
  }
}

@media screen and (max-width: 577px) {
  .back-titr > .equipment,
  .back-titr > .software,
  .back-titr > .doctor {
    filter: blur(5px);
  }

  .back-titr > .bgfront > div {
    height: 75%;
  }

  .back-titr > .bgfront ul:first-child {
    top: -37.5px;
  }

    .back-titr > .bgfront ul:first-child > li > span {
      width: 75px;
      height: 37.5px;
    }

    .back-titr > .bgfront ul:first-child > li button {
      top: 10px;
      left: 10px;
      width: 55px;
      height: 55px;
    }

  .back-titr > .bgfront ul:last-child > li {
    margin-bottom: 1.5rem;
  }

    .back-titr > .bgfront ul:last-child > li:first-child {
      display: flex;
    }

    .back-titr > .bgfront ul:last-child > li:not(:nth-child(2)):not(:nth-child(5)) {
      padding-left: 0;
    }

    .back-titr > .bgfront ul:last-child > li:nth-child(2) {
      width: calc(calc(50% + 0.375rem) - 39.5px);
    }

    .back-titr > .bgfront ul:last-child > li:nth-child(3) {
      width: calc(50% - 0.375rem);
    }

    .back-titr > .bgfront ul:last-child > li:nth-child(4),
    .back-titr > .bgfront ul:last-child > li:nth-child(5) {
      width: 100%;
    }

    .back-titr > .bgfront ul:last-child > li .btn-search-titr:active {
      transform: scale(0.99);
    }
}

@media (max-width: 376px) {
  .top2-items .tsum-tabs-site > main > label {
    padding: 8px 15px 12px;
  }

  .box-filter {
    max-width: 150px;
  }
}
