.bg-top-nav {
  background: #fff;
}
.bg-f6faff {
  background: #f6faff;
}
.section-heading span {
  color: #3368c6;
}
.rad-20 {
  border-radius: 20px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.back-img {
  position: relative;
}
.bg1 {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/team-4.jpg) left center no-repeat;
  background-size: cover;
  height: 500px;
}
.bg2 {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/about-1.jpg) left center no-repeat;
  background-size: cover;
  height: 500px;
}
.back-img .foot {
  position: absolute;
  float: end;
  width: 100%;
  bottom: 0;
  background: #0e3562;
}
.back-img .foot {
  position: absolute;
  float: end;
  width: 100%;
  bottom: 0;
  background: #0e3562;
}
.foot h1 {
  padding: 10px 10px 0px 10px;
}

/* doctor catagory page  */
.doc-cat-card {
  background: #f5f5f5;
  padding: 10px;
  border: 2px solid #3368c6;
  border-radius: 7px;
  display: flex;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.doc-cat-card img {
  height: 40px;
  margin-right: 10px;
}
.team-item img {
  height: 260px;
}
.team-item h5 {
  color: #3368c6;
}

/* registration page css  */
.form-floating {
  position: relative;
}
.form-floating span {
  position: absolute;
  top: 0px;
  right: 0px;
  background: #dfdfdd;
  width: 25px;
  height: 100%;
}
.form-floating span i {
  position: absolute;
  top: 33%;
  left: 12%;
}

/* Doctor appointment booking page css  */
.doc-time {
  border: 1px solid #3368c6;
  /* border-radius: 7px; */
  padding: 10px;
  position: relative;
}
.doc-time .radio-select {
  position: absolute;
  top: 40%;
}
.doc-time ul {
  margin-top: 7px;
  margin-bottom: 0;
}

/*Login conformation Modal Styles */
.d-modal {
  display: block;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.d-modal-content {
  background-color: #fefefe;
  border-radius: 7px;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
}
.team-social p {
  margin-top: 60px;
  text-align: justify;
}

@media only screen and (max-width: 768px) {
  .d-modal-content {
    margin: 20% auto;
    width: 90%;
  }
  .bg1 {
    height: 220px;
  }
  .bg2 {
    height: 220px;
  }
  .foot h1 {
    font-size: 14px;
  }
  #header-carousel .carousel-item {
    min-height: 220px !important;
  }
  .team-item img {
    height: auto;
  }
  .team-item h5 {
    font-size: 15px;
  }
  .team-item a {
    font-size: 12px;
  }
  .team-social p {
    font-size: 11px;
    margin-top: 100px;
  }
}
