#clinical-background {
  position: relative;
}
#clinical-background img {
  width: 100%;
}
#clinical-background img:nth-child(2) {
  display: none;
}
#clinical-background button {
  display: block;
  height: 80px;
  width: 66px;
  position: absolute;
}
#clinical-background button:nth-child(3) {
  top: calc(38.8% - 40px);
  left: calc(22.7% - 33px);
}
#clinical-background button:nth-child(4) {
  top: calc(43% - 40px);
  left: calc(26.7% - 33px);
}
#clinical-background button:nth-child(5) {
  top: calc(13.5% - 40px);
  left: calc(60% - 33px);
}
#clinical-background button:nth-child(6) {
  top: calc(75.7% - 40px);
  left: calc(49.7% - 33px);
}
#clinical-background button:nth-child(7) {
  top: calc(75.3% - 40px);
  left: calc(76.4% - 33px);
}
.wrapper-clinic {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.8);
  display: grid;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}
.wrapper-clinic.active {
  left: 0;
}
.wrapper-clinic .btn-close {
  background: none;
  position: absolute;
  right: 15px;
  top: 15px;
  color: white;
  font-size: 72px;
  padding: 0;
  line-height: 0;
  transition: 0.3s;
}
.wrapper-clinic div {
  position: relative;
}
.wrapper-clinic div img {
  width: 100%;
  max-width: 640px;
}
.wrapper-clinic div ul {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  margin: 0;
  padding: 10px 15px;
  text-align: right;
  color: white;
  list-style: none;
}
.wrapper-clinic div ul a {
  color: #6cc7e1;
}
.wrapper-clinic .carousel-inner {
  margin-bottom: 15px;
  width: 100%;
  max-width: 640px;
}
@media (max-width: 1500px) {
  #clinical-background button {
    height: 70px;
    width: 50px;
  }
  #clinical-background button:nth-child(3) {
    top: calc(38.8% - 35px);
    left: calc(22.7% - 25px);
  }
  #clinical-background button:nth-child(4) {
    top: calc(43% - 35px);
    left: calc(26.7% - 25px);
  }
  #clinical-background button:nth-child(5) {
    top: calc(13.5% - 35px);
    left: calc(60% - 25px);
  }
  #clinical-background button:nth-child(6) {
    top: calc(75.7% - 35px);
    left: calc(49.7% - 25px);
  }
  #clinical-background button:nth-child(7) {
    top: calc(75.3% - 35px);
    left: calc(76.4% - 25px);
  }
}
@media (max-width: 1200px) {
  #clinical-background button {
    height: 60px;
    width: 42px;
  }
  #clinical-background button:nth-child(3) {
    top: calc(38.8% - 30px);
    left: calc(22.7% - 21px);
  }
  #clinical-background button:nth-child(4) {
    top: calc(43% - 30px);
    left: calc(26.7% - 21px);
  }
  #clinical-background button:nth-child(5) {
    top: calc(13.5% - 30px);
    left: calc(60% - 21px);
  }
  #clinical-background button:nth-child(6) {
    top: calc(75.7% - 30px);
    left: calc(49.7% - 21px);
  }
  #clinical-background button:nth-child(7) {
    top: calc(75.3% - 30px);
    left: calc(76.4% - 21px);
  }
}
@media (max-width: 900px) {
  #clinical-background img:nth-child(1) {
    display: none;
  }
  #clinical-background img:nth-child(2) {
    display: block;
  }
  #clinical-background button:nth-child(3) {
    left: calc(6.7% - 21px);
  }
  #clinical-background button:nth-child(4) {
    left: calc(13.3% - 21px);
  }
  #clinical-background button:nth-child(5) {
    left: calc(67.9% - 21px);
  }
  #clinical-background button:nth-child(6) {
    left: calc(50.8% - 21px);
  }
  #clinical-background button:nth-child(7) {
    left: calc(94.7% - 21px);
  }
}
