/********** Template CSS **********/
:root {
  /* --primary: #13C5DD;
  --secondary: #354F8E; */
  --primary: #00ace1;
  --secondary: #60bb44;
  --light: #eff5f9;
  --dark: #233053;
}

a:hover {
  color: #000000;
  transition: 0.5s;
}

.btn {
  font-weight: 700;
  transition: 0.5s;
}

.btn:hover {
  -webkit-box-shadow: 0 8px 6px -6px #555555;
  -moz-box-shadow: 0 8px 6px -6px #555555;
  box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
  color: #ffffff;
}

.btn-primary:active,
.btn-primary:focus {
  color: #fff;
  background-color: var(--dark);
  border-color: var(--dark);
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 10px;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  z-index: 99;
}

#top-bar a:hover {
  color: var(--primary) !important;
}

.navbar-light .navbar-nav .nav-link::before {
  position: absolute;
  content: "";
  width: 0;
  height: 5px;
  bottom: 0;
  left: 50%;
  background: var(--primary);
  transition: 0.5s;
}

.navbar-light .navbar-nav .nav-link {
  font-family: "Jost", sans-serif;
  position: relative;
  margin-left: 30px;
  padding: 30px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  outline: none;
  transition: 0.5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

/* Prelaoder */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid var(--primary);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

#preloader-contact-us {
  border: 6px solid #f2f2f2;
  border-top: 6px solid var(--primary);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
  margin: 50px auto;
}

@-webkit-keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.navbar .navbar-brand {
  width: 50%;
  margin-right: 0;
}

.navbar-brand {
  white-space: unset;
  display: flex;
  align-items: center;
}

/* .navbar-collapse {
  width: 55%;
} */

.navbar-brand .fa-clinic-medical,
.navbar-brand .fa-hospital-o {
  font-size: 3rem;
  color: var(--primary);
}
.navbar-brand img.logo {
  width: 10%;
}

.navbar-brand h1 {
  line-height: 0.9;
  font-size: 2rem;
}

.navbar .navbar-nav .nav-link {
  padding: 25px 0;
  margin-left: 20px;
}

/* h5.border-bottom {
  border-bottom-color: #cacfd5 !important;
} */

.hero-header {
  background: url(https://www.bhsmc.net/img/hero.jpg) top right no-repeat;
  background-size: cover;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-header h5 {
  font-size: 1.7rem;
  -webkit-text-stroke: 0.5px var(--primary);
  border-color: rgba(256, 256, 256, 0.3) !important;
}

.hero-header a {
  color: black;
}

.hero-header div.pt-2 .btn-outline-light:hover,
.hero-header div.pt-2 .btn-light:hover {
  color: var(--light);
  background-color: var(--primary);
  border-color: var(--primary);
}

.offer-item {
  position: relative;
  height: 350px;
  padding: 0 30px;
  transition: 0.5s;
}

.offer-item .offer-icon {
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.offer-item .offer-icon i {
  transform: rotate(15deg);
}

.offer-item a.btn {
  position: absolute;
  width: 60px;
  bottom: -48px;
  left: 50%;
  margin-left: -30px;
  opacity: 0;
}

.offer-item:hover a.btn {
  bottom: -24px;
  opacity: 1;
}

.offer-list li {
  text-align: start;
}

.services-carousel::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 50%;
  bottom: -10px;
  left: 0;
  background: var(--primary);
  border-radius: 8px 8px 50% 50%;
  z-index: -1;
}

.services-carousel .owl-nav,
.services-list-carousel .owl-nav {
  margin-top: 35px;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}

.services-carousel .owl-nav .owl-prev,
.services-carousel .owl-nav .owl-next,
.services-list-carousel .owl-nav .owl-prev,
.services-list-carousel .owl-nav .owl-next {
  position: relative;
  margin: 0 5px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #ffffff;
  font-size: 22px;
  border-radius: 45px;
  transition: 0.5s;
}

.services-carousel .owl-nav .owl-prev:hover,
.services-carousel .owl-nav .owl-next:hover,
.services-list-carousel .owl-nav .owl-prev:hover,
.services-list-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

.services-list-carousel .owl-nav .owl-prev,
.services-list-carousel .owl-nav .owl-next {
  width: 30px;
  height: 30px;
  font-size: 15px;
  border-radius: 30px;
  border: 1px solid var(--dark);
  color: var(--dark);
}

.services-list-carousel .owl-nav .owl-prev:hover,
.services-list-carousel .owl-nav .owl-next:hover {
  background-color: var(--dark);
  color: var(--light);
}

#services .services-carousel {
  padding: 0 45px 45px 45px;
}

#services .services-carousel h3,
#services .services h3 {
  white-space: pre;
}

#services .services-carousel p,
#services .services p {
  margin-top: 2.5px;
  margin-bottom: 3px;
  line-height: 1;
}

#services .services-carousel .owl-stage,
#services .services-list-carousel .owl-stage,
#testimonials .testimonial-carousel .owl-stage,
.blogs-carousel .owl-stage {
  display: flex;
}

#services .services-carousel .owl-item,
#services .services-list-carousel .owl-item,
#testimonials .testimonial-carousel .owl-item,
.blogs-carousel .owl-item {
  flex: 0 0 auto;
}

#services .services-list-carousel .owl-nav {
  margin-top: 30px;
}

#services .services-list-carousel .owl-item ul li {
  font-weight: 600;
}

#services .service {
  border: 1px solid var(--primary);
}

#services .service img {
  width: 100%;
}

.team-carousel .owl-nav {
  position: absolute;
  padding: 0 45px;
  width: 100%;
  height: 45px;
  top: calc(50% - 22.5px);
  left: 0;
  display: flex;
  justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
  background: var(--dark);
}

#team .team-carousel .descriptions h3,
#team .team .descriptions h3,
#founders .team-carousel .descriptions h3,
#officers .team-carousel .descriptions h3 {
  white-space: pre;
  font-size: 1.6rem;
}

.testimonial-carousel .owl-dots {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 20px;
  height: 20px;
  background: var(--light);
  border: 2px solid var(--primary);
  border-radius: 20px;
  transition: 0.5s;
}

.home .testimonial-carousel .owl-dot {
  background: var(--primary);
  border-color: var(--light);
}

.testimonial-carousel .owl-dot.active {
  width: 40px;
  height: 40px;
  background: var(--primary);
}

.home .testimonial-carousel .owl-dot.active {
  background: var(--light);
}

.testimonial-carousel .owl-item img {
  width: 25%;
  /* height: 150px; */
}

.testimonial-carousel .owl-item .quote-circle {
  width: 12%;
  height: 48%;
}

.testimonial-carousel .owl-item .quote-circle i {
  font-size: 1.5rem;
}

.testimonial-item {
  border: 1px solid var(--primary);
  border-radius: 10%;
  padding: 3%;
}

.offers-carousel .owl-nav {
  position: absolute;
  padding: 0 45px;
  width: 100%;
  height: 45px;
  top: calc(50% - 22.5px);
  left: 0;
  display: flex;
  justify-content: space-between;
}

.offers-carousel .owl-nav .owl-prev,
.offers-carousel .owl-nav .owl-next {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.offers-carousel .owl-nav .owl-prev:hover,
.offers-carousel .owl-nav .owl-next:hover {
  background: var(--dark);
}

.offers-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-prev,
.blogs-carousel .owl-nav .owl-prev {
  left: -90px;
}

.offers-carousel .owl-nav .owl-next,
.team-carousel .owl-nav .owl-next,
.blogs-carousel .owl-nav .owl-next {
  right: -90px;
}

.offers-carousel .offer-item a.btn {
  position: unset;
  bottom: 0;
  margin-top: 24px;
}

.offers-carousel .offer-item:hover a.btn {
  bottom: 0;
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp;
  animation-duration: 0.5s;
}

#offers .offers-carousel .offers-item p {
  font-weight: 600;
}

#offers .item .offer-item h4 {
  margin-bottom: 1rem;
}

#appointment a.btn-light:hover,
#appointment button.btn-primary:hover,
a.back-to-top:hover,
#contact-us form button:hover,
#responseModal .modal-content button:hover,
#doctors .left form button:hover,
#doctors .right a:hover,
#find-a-doctor a:hover,
#careers a:hover {
  color: #fff;
  background-color: var(--dark);
  border-color: var(--dark);
}

#appointment .form {
  padding: 3rem;
}

#appointment button {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.blogs-carousel .owl-item img {
  width: 20%;
}

.blogs-carousel .owl-item .content,
.blogs-carousel .owl-item .author {
  padding: 1.5rem;
}

.blogs-carousel .owl-item a h3 {
  font-size: 1.5rem;
}

.blogs-carousel .owl-item p {
  font-size: 0.9rem;
}

.blogs-carousel .owl-nav {
  position: absolute;
  padding: 0 45px;
  width: 100%;
  height: 45px;
  top: calc(50% - 22.5px);
  left: 0;
  display: flex;
  justify-content: space-between;
}

.blogs-carousel .owl-nav .owl-prev,
.blogs-carousel .owl-nav .owl-next {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.blogs-carousel .owl-nav .owl-prev:hover,
.blogs-carousel .owl-nav .owl-next:hover {
  background: var(--dark);
}

#footer .container {
  padding: 3rem 0;
}

#footer img.logo {
  width: 100%;
}

#footer .description {
  text-align: justify;
}

#footer .details li {
  position: relative;
  /* font-weight: 600;
  font-family: "Font Awesome 5 Free"; */
  padding-left: 20px;
}

#footer .quick-links li {
  position: relative;
  padding-left: 15px;
}

/* #footer li span{
  font-family: var(--bs-font-sans-serif);
  font-weight: 400;
} */

#footer li:before {
  top: 0;
  font-weight: 600;
  font-family: "Font Awesome 5 Free";
  position: absolute;
}

#footer li.address:before {
  left: 0;
  content: "\f041";
}

#footer li.email:before {
  left: -3px;
  content: "\f0e0";
}

#footer li.phone:before {
  left: -3px;
  content: "\f095";
}

#footer li.mobile:before {
  left: -1px;
  content: "\f10b";
}

#footer .quick-links li:before {
  left: 0;
  content: "\f105";
}

#footer li a {
  color: var(--light);
}

#footer li a:hover {
  color: var(--primary);
}

#footer .input-group input {
  padding: 1rem;
}

#about-us p,
#appointment p,
#core p,
#core ul,
#history p,
#history ul,
#founders p {
  font-weight: 600;
}

#founders p {
  width: 50%;
  margin: 0 auto 3rem;
}

#appointment p {
  font-size: 1.1rem;
}

#contact-us h6 {
  width: 70%;
}

#contact-us .details {
  margin-bottom: 3rem;
}

#contact-us .div-form {
  margin-top: -200px;
  z-index: 1;
}

#contact-us .form {
  box-shadow: 0 8px 15px 0px #555555;
  margin: 3rem;
  padding: 3rem;
}

#contact-us form .form-control {
  color: black;
}

#history img {
  object-position: left top;
}

#history ul li {
  padding-bottom: 1rem;
}

#history ul li:last-child {
  padding-bottom: 0;
}

#bottom-bar a:hover {
  color: var(--secondary);
}

#about-us .image {
  height: 100%;
}

#about-us img {
  height: 100%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* background-color: rgba(0, 0, 0, 0.5); */
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
  transition: all 0.5s ease-in;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Prevent scrolling when modal is open */
body.modal-open {
  overflow: hidden;
}

#responseModal .modal-content h2 {
  font-weight: bold;
}

#responseModal .modal-content p {
  font-weight: 400;
  margin: 25px 20px;
}

#responseModal .modal-content a:hover {
  color: var(--dark);
}

#responseModal .modal-content button {
  width: 20%;
}

@-webkit-keyframes myopacityIn {
  from {
    background-color: rgba(0, 0, 0, 0);
  }

  100% {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

@keyframes myopacityIn {
  from {
    background-color: rgba(0, 0, 0, 0);
  }

  100% {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

.myopacityIn {
  -webkit-animation-name: myopacityIn;
  animation-name: myopacityIn;
}

@-webkit-keyframes myopacityOut {
  from {
    background-color: rgba(0, 0, 0, 0.5);
  }

  to {
    background-color: rgba(0, 0, 0, 0);
  }
}

@keyframes myopacityOut {
  from {
    background-color: rgba(0, 0, 0, 0.5);
  }

  to {
    background-color: rgba(0, 0, 0, 0);
  }
}

.myopacityOut {
  -webkit-animation-name: myopacityOut;
  animation-name: myopacityOut;
}

.about-image-carousel {
  height: 100%;

  .owl-stage-outer {
    height: 100%;

    .owl-stage {
      height: 100%;

      .owl-item {
        height: 100%;
      }
    }
  }
}

.about-image-carousel:hover .owl-nav {
  position: absolute;
  padding: 0 45px;
  width: 100%;
  height: 45px;
  top: calc(50% - 22.5px);
  left: 0;
  display: flex;
  justify-content: space-between;

  .owl-prev,
  .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    font-size: 22px;
    transition: 0.5s;
    opacity: 0.5;
  }

  .owl-prev {
    left: -45px;
    border-radius: 0 15px 15px 0;
  }

  .owl-next {
    right: -45px;
    border-radius: 15px 0 0 15px;
  }

  .owl-prev:hover,
  .owl-next:hover {
    background: var(--primary);
    opacity: 1;
  }
}

#doctors {
  .left {
    width: 21%;
    position: fixed;
  }

  .right {
    width: 79%;
    margin-left: 21%;

    .doctors {
      >* {
        margin-top: 2rem;
      }

      >*:nth-child(1) {
        margin-top: 0;
      }
    }
  }
}

#doctors form input {
  color: black;
}

#doctors form .validation {
  color: red;
}

/* #careers .careers h5 {
  white-space: pre;
} */

.careers-list-carousel .owl-nav {
  margin-top: 35px;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}

.careers-list-carousel .owl-nav .owl-prev,
.careers-list-carousel .owl-nav .owl-next {
  position: relative;
  margin: 0 5px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #ffffff;
  font-size: 22px;
  border-radius: 45px;
  transition: 0.5s;
}

.careers-list-carousel .owl-nav .owl-prev:hover,
.careers-list-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

.careers-list-carousel .owl-nav .owl-prev,
.careers-list-carousel .owl-nav .owl-next {
  width: 30px;
  height: 30px;
  font-size: 15px;
  border-radius: 30px;
  border: 1px solid var(--dark);
  color: var(--dark);
}

.careers-list-carousel .owl-nav .owl-prev:hover,
.careers-list-carousel .owl-nav .owl-next:hover {
  background-color: var(--dark);
  color: var(--light);
}

#careers .careers-list-carousel .owl-stage {
  display: flex;
}

#careers .careers-list-carousel .owl-item {
  flex: 0 0 auto;
}

#careers .careers-list-carousel .owl-nav {
  margin-top: 30px;
}

#careers .careers-list-carousel .owl-item ul li {
  font-weight: 600;
}

#careers .career {
  border: 1px solid var(--primary);
}

#job .container .text-center {
  padding-bottom: 5rem;
  border-bottom: 1px solid #0000004d;
}

#find-a-doctor .find-a-doctor .circle {
  margin: 1rem 2.7rem;
}

#find-a-doctor .find-a-doctor a {
  width: 100%;
}

#find-a-doctor .find-a-doctor a:hover {
  color: white;
  background-color: var(--primary);
  border-color: var(--primary);
}

#find-a-doctor .specialization {
  cursor: pointer;
}

#find-a-doctor .specialization:hover {
  transition: transform 0.5s;
  transform: scale(1.1);
}

#find-a-doctor .specialization:hover a {
  background-color: var(--dark);
}