
.shape {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 55;
  width: 170px;
  height: 70px;
  /* overflow: hidden; */
}
span.rate_txt {
  position: absolute;
  right: 54%;
  top: 50%;
  transform: translate(50%, -50%);
  display: flex;
  gap: 8px;
  white-space: nowrap;
}
span.rate_txt img {
  width: 22px;
  height: 22px;
}
/* .shape_inner {
  position: absolute;
  top: 0px;
  right: -25px;
  border-bottom: 94px solid #f6f6f6;
  border-left: 52px solid transparent;
  border-right: 25px solid transparent;
  height: 0px;
  width: 13px;
} */

.doctor_box {
  background: #fff;
  border-radius: 20px;
  position: relative;
  box-shadow: 0px 20px 40px 0px #00000026;
  padding: 3px;
  margin-bottom: 20px;
}

.bg-gray-box {
  background: #f6f6f6;
  border-radius: 20px;
  position: relative;
  padding: 12px;
}

.doctor_box .header {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.doctor_box .header .right .img {
  width: 184px;
  height: 184px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.doctor_box .header .right .img img {
  width: 100%;
  border-radius: 20px;
  object-fit: contain;
  /*height: 100%;*/
}

.first_row {
  display: flex;
  justify-content: space-between;
}

.first_row .info_header {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: end;
}

.first_row .info_header>div {
  height: 50px !important;
}

.first_row .info_header>div:not(.history_brand) {
  width: 50px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #f3f3f3;
}

.first_row .info_header>div:not(.history_brand) .img {
  display: flex;
}

.doctor_box .header .left {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 40%;
}

.doctor_box .header .left .title {
  margin: 0 !important;
  color: #424242;
  font-weight: 700;
  font-size: 20px;
  line-height: 37px;
  white-space: nowrap;
}

.doctor_box .header .left .sub_title {
  line-height: 30px;
  font-size: 16px;
  color: #515151;
  font-weight: 700;
  white-space: nowrap;
  margin: .4rem 0;
}

.history_brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 31px;
  min-width: 158px;
  padding: 0 16px 0 0;
  border: 2px solid #F3F3F3;
}

.history_brand .img {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #F3F3F3;
  border-radius: 50%;
}

.history_brand .img img {
  width: 22px;
  height: 24px;
}

.history_brand span {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

.doctor_box .info_box {
  width: 100%;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.doctor_box .info_box>div {
  min-width: 136px;
  border-radius: 69px;
  background: #F3F3F3;
  padding: 0 12px !important;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor_box .info_box>div>a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 10px;
}

.doctor_box .info_box>div .img {
  display: flex;
  align-items: center;
  width: 24px;
  height: 24px;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  float: right;
  position: absolute;
  right: 15px;
}

.doctor_box .info_box>div.phone {
  border: 2px solid #1F3F82;
}

.doctor_box .info_box>div.location {
  background-color: #B2BC25;
}

.doctor_box .info_box>div.location .img {
  position: static;
}

.doctor_box .info_box>div.location span {
  flex-grow: 0;
}

.doctor_box .info_box>div.phone .img {
  position: static !important;
}


.doctor_box .info_box>div.location span {
  color: #fff !important;
}

.doctor_box .info_box .img img {
  width: 24px;
  height: 24px;
}

.doctor_box .info_box>div span {
  color: #4F4F4F;
  font-weight: 700;
  font-size: 14px;
  flex: 1;
  text-align: center;
}

.doctor_box .info_box .phone a {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
  width: 100%;
}

.doctor_box .header .info_box img {
  width: 22px;
  height: 22px;
}


.doctor_box .main_boxcontent .section_one,
.doctor_box .main_boxcontent .section_two {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.doctor_box .main_boxcontent .section_one>div,
.doctor_box .main_boxcontent .section_two>div {
  font-size: 15px !important;
  font-weight: 300 !important;
  flex-grow: 1 !important;
}

.doctor_box .main_boxcontent .section_two>div {
  background: #fff !important;
  padding: 34px 15px 15px !important;
  width: 44%;
  border-radius: 30px;
  position: relative;
  max-height: fit-content;
}

.section_one .services {
  padding: 40px 15px 20px;
  background-color: #fff;
  border-radius: 30px;
  position: relative;
  margin: 30px 0 0;
  color: #515151;
  line-height: 1.7;
}

.doctor_box .main_boxcontent .section_one .services ul {
  padding-right: 0px !important;
  margin: 0 !important;
  position: relative !important;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  /* height: 144px; */
  max-height: 144px;
}

.doctor_box .main_boxcontent .section_one .services ul li {
  list-style: none !important;
  position: relative !important;
  color: #565656 !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 45.6px !important;
  padding-right: 40px !important;
  width: 44%;
}

.doctor_box .main_boxcontent .section_one .services ul li::before {
  content: '';
  width: 24px !important;
  height: 14px !important;
  position: absolute !important;
  right: 2px !important;
  top: 14px !important;
  border-radius: 109px !important;
  background: #346DFE;
  border: 0 !important;
  margin: 0 !important;
}

.main_boxcontent .title_head {
  color: #fff;
  background: #1F3F82;
  font-size: 14px;
  font-weight: 700;
  line-height: 32px;
  width: fit-content;
  padding: 5px 51px;
  border-radius: 109px;
  position: absolute;
  top: -30px;
  right: 40px;
  border: 6px solid #f6f6f6;
}

.main_boxcontent .description p {
  color: #666 !important;
  line-height: 26px !important;
  font-size: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: start;
}


.main_boxcontent .gallery_section_box .swiper.gallery_doctor_sec,
.video_wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin: 0 auto !important;
  height: auto;
  max-height: 277px;
  border-radius: 30px;
  position: relative;
  max-width: 500px;
}

.main_boxcontent video {
  width: 100%;
  height: 100%;
  max-height: inherit;
  border-radius: 25px;
}

.swiper-button-prev.gallery_doctor_sec-prev,
.swiper-button-next.gallery_doctor_sec-next {
  width: 20px !important;
  height: 20px !important;
  color: #3F3F41;
  bottom: 15px !important;
  background-repeat: no-repeat;
  background-position: center;
}

.swiper-button-prev.gallery_doctor_sec-prev::after,
.swiper-button-next.gallery_doctor_sec-next::after {
  display: none !important;
}

.swiper-button-prev.gallery_doctor_sec-prev {
  background-image: url('../img/Arrow-up-20.svg');
  top: 50px !important;
  right: 13px;
}

.swiper-button-next.gallery_doctor_sec-next {
  background-image: url('../img/Arrow-down-20.svg');
  left: unset !important;
  right: 13px;
  top: unset;
  bottom: 30px !important;
}

.swiper.gallery_doctor_sec .swiper-slide img {
  border-radius: 15px;
  width: 100%;
  height: 100%;
}

.map_section_box {
  border-radius: 30px;
  position: relative;
  background: #fff !important;
  padding: 34px 15px 15px !important;
}

.main_boxcontent .map_section_box .frame {
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main_boxcontent .map_section_box .frame iframe {
  width: 100%;
  height: 298px;
  border-radius: 25px;
  overflow: hidden;
}

.main_boxcontent .address_section {
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 6px;
  margin-top: 20px;
  border-radius: 31px;
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 85%;
  max-width: -webkit-fill-available;
  background: rgb(255 255 255 / 49%);
  -webkit-backdrop-filter: blur(11px);
  backdrop-filter: blur(11px);
  border: 1px solid rgba(255, 255, 255, 0.5);
      z-index: 99;
}
.tie-fluid-width-video-wrapper {
    padding-top: 43% !important;
}
.map_section_box.no_iframe .address_section {
    transform: unset !important;
    position: static !important;
    margin: 12px 0 !important;
}
.main_boxcontent .address_section .img {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main_boxcontent .address_section .img img {
  width: 31px;
  height: 31px;
}

.main_boxcontent .address_section p {
  color: #4F4F4F !important;
  font-weight: 500 !important;
  margin: 0 !important;
  line-height: 32px !important;
}

.service__toggle {
  max-height: unset !important;
  overflow: visible !important;
}

button.more_services_btn {
  border: 0 !important;
  padding: 0 !important;
  background: none !important;
  position: relative;
  z-index: 99;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  display: none;
}

.main_boxcontent .more_info {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #C72127;
  border-radius: 100px;
  width: fit-content !important;
  padding: 4px 37px !important;
  margin: 18px auto 0 !important;
  position: relative;
}

.main_boxcontent .more_info a {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 41.649px !important;
  z-index: 9;
}

.gallery_section_box .gallery_doctor_sec .swiper-pagination {
  padding: 10px 0;
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  flex-direction: column;
  gap: 1px;
  right: 19px;
  top: 50%;
  transform: translateY(-50%);
  max-height: fit-content;
  width: fit-content;
  border-radius: 4px;
}

.gallery_section_box .gallery_doctor_sec .swiper-pagination span.swiper-pagination-bullet {
  width: 8px;
  height: 8px !important;
  background: #D9D9D9 !important;
  opacity: 1 !important;
  border-radius: 20px !important;
  margin: 0 !important;
  right: -15px !important;
}

.hide-res-flex {
  display: flex;
}

.show-res {
  display: none;
}

.show-res-flex {
  display: none !important;
}

@media (max-width: 768px) {

  .doctor_box .header .right {
    flex-basis: 20%;
    flex-shrink: 0;
  }

  .doctor_box .header .right .img {
    width: 148px;
    height: 148px;
  }
  .shape {
    height: 38px;
    width: unset;
  }
  .shape span.text {
    display: none;
  }
  .shape > img{
    height: 56px;
  }
  .doctor_box .header .left {
    flex-grow: 1;
    width: 40%;
  }

  .doctor_box .header .left .sub_title {
    margin: 0 0 20px;
  }

  .doctor_box .header .left .first_row {
    flex-direction: column;
  }

  .doctor_box .header .left .title {
    font-size: 17px;
  }

  .doctor_box .info_box {
    justify-content: end;
    padding: 0;
    width: unset;
    margin-bottom: 20px;
  }

  .first_row .info_header {
    gap: 8px;
  }

  .first_row .info_header>div {
    height: 30px !important;
    min-width: unset;
    background: #f3f3f3;
    border: 0;
  }

  .first_row .info_header>div:not(.history_brand) {
    width: 30px !important;
  }

  .first_row .info_header>div:not(.history_brand) .img {
    width: 15px;
    height: 15px;
  }

  .history_brand {
    padding-right: 4px !important;
  }

  .history_brand .img {
    width: 30px;
    height: 30px;
    background-color: #346DFE;
  }

  .history_brand span {
    font-size: 10px !important;
    margin: 0px 4px;
  }

  .history_brand .img img {
    width: 13px;
    height: 13px;
    filter: brightness(368%) contrast(4.5);
  }

  .doctor_box .info_box>div .img {
    width: 40px;
    height: 40px;
    position: unset;
    transform: unset;
  }

  .doctor_box .info_box .img img {
    width: 17px;
    height: 17px;
  }

  .doctor_box .info_box>div {
    height: 35px !important;
    min-width: 100px !important;
  }

  .doctor_box .info_box>div .img {
    width: 16px;
    height: 16px;
  }

  .doctor_box .info_box>div span {
    color: unset !important;
    font-size: 13px;
  }


  .main_boxcontent .gallery_section_box .swiper.gallery_doctor_sec,
  .video_wrapper {
    height: auto;
    max-height: max-content;
  }

  .main_boxcontent .title_head {
    font-size: 14px;
    right: 50%;
    transform: translateX(50%);
    padding: 0 25px;
    white-space: nowrap;
  }

  .doctor_box .main_boxcontent .section_two {
    gap: 45px;
  }

  .main_boxcontent .address_section {
    transform: unset !important;
    position: static !important;
    margin: 12px 0 !important;
  }

  .doctor_box .main_boxcontent .section_one .services ul {
    flex-direction: row;
    overflow-y: scroll;
  }

  .doctor_box .main_boxcontent .section_one .services ul li {
    line-height: 36px !important;
    padding-right: 36px !important;
    width: 100% !important;
  }

  .doctor_box .main_boxcontent .section_one .services ul li::before {
    right: 0px !important;
    top: 12px !important;
  }


  .main_boxcontent .gallery_section_box .swiper.gallery_sec a.gallery-2 {
    height: 170px;
  }

  .main_boxcontent .more_info {
    padding: 3px 40px !important;
  }

  .main_boxcontent .more_info a {
    font-size: 16px !important;
  }

  .hide-res {
    display: none !important;
  }

  .hide-res-flex {
    display: none !important;
  }

  .show-res {
    display: initial !important;
  }

  .show-res-flex {
    display: flex !important;
  }
}
@media (max-width: 450px) {
  .doctor_box .header .left .title {
    max-width: 120px;
    white-space: normal;
  }
}


.acf-block-body .acf-block-preview .swiper.gallery_doctor_sec {
  display: block !important;
}

.acf-block-body .acf-block-preview .swiper-slide {
  width: 153px;
}

.acf-block-body .acf-block-preview .swiper-wrapper {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.acf-block-component.acf-block-body .main_box {
  float: unset !important;
}

a.shortc-button {
  padding: 0 !important;
  margin: 0 !important;
}

a.shortc-button:hover {
  box-shadow: none;
  border: none;
  color: initial;
}
#tie-wrapper .mejs-container.wp-video-shortcode.mejs-video {
    border-radius: 20px;
    overflow: hidden;
}


/*amin*/
.doctor_box .header .sub_title {
    background-color: #fff;
    padding:3px 10px;
    display: block;
    border-radius: 100px;
}

.doctor_box .right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.doctor_box .header .right .img {
    width: 150px;
    height: 150px;
}



.entry h3 {
    font-size: 18px;
}

.doctor_box .header .right .img {
    display: flex
;
    align-items: center;
}


.doctor_box .header .left {
    align-items: flex-end;
}

.second_row.hide-res {
    display: flex
;
    align-items: center;
    flex-direction: row;
}

.doctor_box .address {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.doctor_box  .map-link a {
    color: #fff !important;
}
.doctor_box  .map-link {
    padding: 5px 10px;;
    margin: 0 10px;
    background-color: #612ad6;
    border-radius: 100px;
    display: block;
}
@media (max-width: 768px) {
    .doctor_box .header .right {
        flex-basis: 100%;
        flex-shrink: 0;
        width: 100% !important;
        max-width: 100% !important;
    }
    /*.main_boxcontent .address_section,.doctor_box .address{*/
    /*        flex-direction: column;*/
            
    /*}*/

}