/**
* Template Name: Medilab - v4.9.1
* Template URL: https://bootstrapmade.com/medilab-free-medical-bootstrap-theme/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: #1977cc;
  text-decoration: none;
}

a:hover {
  color: #3291e6;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

ul {
  list-style-type: disc;
}

/*--------------------------------------------------------------
# Reveal Element Effect
--------------------------------------------------------------*/

.reveal{
  position: relative;
  transform: translateY(25px);
  opacity: 0;
  transition: 1s all ease;
}
.reveal.active{
  transform: translateY(0);
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#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 #1977cc;
  border-top-color: #d1e6f9;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

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

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

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

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

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #1977cc;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #298ce5;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

.datepicker-dropdown {
  padding: 20px !important;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background:#298ce5;
  height: 60px;
  font-size: 30px;
  transition: all 0.5s;
  justify-content: center;
  padding-right: 100px;
  padding-left: 100px;
}

/* #topbar .topbar-item-right a {
  text-align: right;
  margin-left: 15px;
} */

#topbar .social-links {
  display: flex;
  font-size: 30px;
}

.social-links a {
  padding-left: 15px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}

#topbar i {
  color: white;
}

#topbar i:hover {
  color: black;
}

.social-links a:first-child {
  border-left: 0;
  padding-left: 0;
}

@media (max-width: 768px) {
  #topbar {
    padding-left: 18px;
    padding-right: 18px;
  }
}

#topbar.topbar-scrolled {
  top: -60px;
}




/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  padding: 15px 0;
  top: 60px;
  box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1);
}

#header .container {
  width: fit-content;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#header .map-call {
  display: none;
}

#header.header-scrolled {
  top: 0;
}

@media (max-width: 991px) {
  #header .map-call {
    display: flex;
  }  
  .map-call i {
    font-size: 30px;
    margin-right: 20px;
    color:#2c4964;
  }
  #header .container {
    width: auto;
    flex-direction: row-reverse;
  }
}


/**
* Appointment Button *
*/
.appointment-btn {
  margin-left: 25px;
  background: #1977cc;
  color: #fff;
  border-radius: 50px;
  padding: 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
}

.appointment-btn:hover {
  background: #166ab5;
  color: #fff;
}

@media (max-width: 768px) {
  .appointment-btn {
    margin: 0 15px 0 0;
    padding: 6px 18px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
#navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar .social-links {
  display: flex;
  flex-direction: row;
}

.navbar li {
  position: relative;
}

.navbar>ul>li {
  position: relative;
  white-space: nowrap;
  padding: 8px 0 8px 20px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: #2c4964;
  white-space: nowrap;
  transition: 0.3s;
  border-bottom: 2px solid #fff;
  padding: 5px 2px;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #1977cc;
  border-color: #1977cc;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 20px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #082744;
  border: none;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #1977cc;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {

  .navbar .dropdown .dropdown ul {
    right: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    right: -100%;
  }
}



/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #2c4964;
  font-size: 40px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {

  .mobile-nav-toggle {
    display: flex;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(28, 47, 65, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  left: 15px;
}

@keyframes mobile-nav-ul-appear {
  from {left: -800px;}
  to {left: 0;}
}

.navbar-mobile ul {
  animation-name: mobile-nav-ul-appear;
  animation-duration: 0.3s;
  width: 60%;
  height: 100%;
  display: block;
  position: absolute;
  top: 60px;
  left: 0px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile>ul>li {
  padding: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #2c4964;
  border: none;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #1977cc;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #1977cc;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}






/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

/* Background Animation */
.crossfade > figure, .crossfade-contact-us > figure {
  animation: imageAnimation 60s linear infinite 0s;
  backface-visibility: hidden;
  background-size: cover;
  height: 100%;
  left: 0px;
  opacity: 0;
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: -1;
}

.crossfade > figure { 
  background-image: url('../img/hero-bgs/forest.jpg'); 
  /* background-attachment: fixed; */
}


.crossfade-contact-us > figure { 
  background-image: url('../img/staff/sillyD.webp'); 
  /* background-attachment: fixed; */
}


@keyframes imageAnimation {  
  from {background-position: left;}
  to   {background-position: right;}

  0%   {animation-timing-function: ease-in;
        opacity: 0;}
  2%   {animation-timing-function: ease-out;
        opacity: 1;}

  98%  {opacity: 1;}
  100% {opacity: 0;}
}

#hero {
  width: 100%;
  height: 90vh;
  padding-top: 130px;
  margin-bottom: -200px;
}

.crossfade, .crossfade-contact-us {
  z-index: 0;
}

#hero .container-2 {
  align-self: flex-start;
  padding: 0;
  padding-bottom: 10px;
  margin: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

#hero .container {
  position: relative;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 60px;
}

#hero h1 {
  display: block;
  width:fit-content;
  margin: 0 auto;
  padding-bottom: 15px;
  text-align: center;
  font-family: 'Playfair Display SC', serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 56px;
  color: white;
}


#hero h2 {
  text-align: center;
  color: white;
  font-family: 'Playfair Display SC', serif;
  margin: 10px 0 10px 0;
  font-size: 30px;
}

#hero a {
  text-align: center;
  font-family: 'Playfair Display SC', serif;
  font-size: 20px;
  color: white;
  display: block;
}

#hero .btn-get-started, .btn-get-started {
  margin: 0 auto;
  text-align: center;
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: block;
  width:max-content;
  margin: 0 auto;
  padding: 12px 35px;
  margin-top: 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: #1977cc;
}

#hero .btn-get-started:hover {
  background: #3291e6;
}

/* @media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
} */

@media (max-width: 992px) {
  #hero {
    height: 90vh;
    margin-bottom: -200px;
  }

  #hero .container {
    margin-top: 0;
  }

  #hero .hero-logo {
    height: 90px;
  }

  #hero h1 {
    font-size: 40px;
    line-height: 36px;
    font-weight: 600;
    padding-bottom: 0;
  }

  #hero h2 {
    font-size: 24px;
    line-height: 24px;
  }

  #hero a {
    font-size: 22px;
    color: #fff;
  }
}

@media (max-height: 840px) {
  #hero {
    height: 110vh;
  }
}

@media (max-height: 600px) {
  #hero {
    height: 200vh;
  }
}




/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/

section {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  z-index: 2;
}

.section-bg {
  background-color: #f1f7fd;
}

.section-title {
  text-align: center;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #2c4964;
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #1977cc;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
}




/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background-color: #f1f7fd;
  min-height: 40px;
  margin-top: 120px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 100px;
  }
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 992px) {
  .breadcrumbs h2 {
    margin: 0 0 10px 0;
  }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}




/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us .content {
  padding: 30px;
  background: #1977cc;
  border-radius: 4px;
  color: #fff;
}

.why-us .content h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.why-us .content p {
  margin-bottom: 30px;
}

.why-us .content .more-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 30px 8px 30px;
  color: #fff;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.why-us .content .more-btn i {
  font-size: 14px;
}

.why-us .content .more-btn:hover {
  color: #1977cc;
  background: #fff;
}

.icon-boxes-main-page {
  display: flex;
  flex-direction:row;
  justify-content:center;
  flex-wrap: wrap;
}

.icon-boxes-main-page a {
  color: #444444;
}

.icon-boxes-main-page a:hover {
  color: #666666;
  transition-duration: .25s;
}

.why-us .icon-container {
  display: flex;
  width: 15%;
  padding: 10px;
}

@media (max-width: 1400px) {
  .why-us .icon-container {
    width: 25%;
  }
}

@media (max-width: 992px) {
  .why-us .icon-container {
    width: 33%;
  }
}

@media (max-width: 768px) {
  .why-us .icon-container {
    width: 50%;
  }
}

.why-us .icon-box {
  width: 100%;
  text-align: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.why-us .icon-boxes .icon-box i {
  display: none;
  font-size: 40px;
  color: #1977cc;
  margin-bottom: 30px;
}

.why-us .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.why-us .icon-boxes .icon-box p {
  font-size: 15px;
  color: #848484;
}

.why-us .icon-boxes .icon-box img {
  width: 100%;
  border-radius: 10px;
  object-fit: contain;
}




/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.patient-forms .row {
  padding: 40px;
}

.patient-forms .row .forms {
  width: 60%;
}

.patient-forms .row .forms :first-child {
  margin-top: 0px;
}

.patient-forms .row .forms-pic {
  width: 40%;
  height: auto;
}

.patient-forms .row .forms-pic img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 1px 1px 10px gray;
}

@media (max-width:900px) {
  .patient-forms .row .forms {
    width: 100%;
  }
  .patient-forms .row .forms-pic {
    display: none;
  }

}

.about .icon-boxes h4 {
  font-size: 18px;
  color: #4b7dab;
  margin-bottom: 15px;
}

.about .icon-boxes h3 {
  font-size: 28px;
  font-weight: 700;
  color: #2c4964;
  margin-bottom: 15px;
}

.about ul {
  list-style: none;
}

.about .icon-box {
  margin-top: 40px;
  padding: 0px 60px;
}

.about .icon-box .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px solid #8dc2f1;
  border-radius: 50px;
  transition: 0.5s;
}

.about .icon-box .icon i {
  color: #1977cc;
  font-size: 32px;
}

.about .icon-box:hover .icon {
  background: #1977cc;
  border-color: #1977cc;
}

.about .icon-box:hover .icon i {
  color: #fff;
}

.about .icon-box .title {
  margin-left: 85px;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.about .icon-box .title a {
  color: #343a40;
  transition: 0.3s;
}

.about .icon-box .title a:hover {
  color: #1977cc;
}

.about .icon-box .description {
  margin-left: 85px;
  line-height: 24px;
  font-size: 14px;
}



.about .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#1977cc 50%, rgba(25, 119, 204, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.about .play-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.about .play-btn::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(25, 119, 204, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.about .play-btn:hover::after {
  border-left: 15px solid #1977cc;
  transform: scale(20);
}

.about .play-btn:hover::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  background: #f1f7fd;
  padding: 70px 0 60px;
}

.counts .count-box {
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: #fff;
}

.counts .count-box i {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  background: #1977cc;
  color: #fff;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.counts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: #082744;
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .container {
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  justify-content: center;

}
.services ul {
  width: fit-content;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  list-style-type: circle; 
}

@media (max-width: 992px) {
  .services ul {
    text-align: left;
  }

  .services-para {
    text-align: left;
  }
}

.services .services-para {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services .icon-box {
  text-align: center;
  border: 1px solid #d5e1ed;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #1977cc;
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform-style: preserve-3d;
}

.services .icon-box .icon i {
  color: #fff;
  font-size: 28px;
}

.services .icon-box .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: #badaf7;
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: #2c4964;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  background: #1977cc;
  border-color: #1977cc;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #1977cc;
}

.services .icon-box:hover .icon::before {
  background: #3291e6;
}

.services .icon-box:hover h4 a,
.services .icon-box:hover p {
  color: #fff;
}


/*--------------------------------------------------------------
# Departments
--------------------------------------------------------------*/
.departments {
  overflow: hidden;
}

.departments .nav-tabs {
  border: 0;
}

.departments .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: #2c4964;
  border-radius: 0;
  border-right: 2px solid #ebf1f6;
  font-weight: 600;
  font-size: 15px;
}

.departments .nav-link:hover {
  color: #1977cc;
}

.departments .nav-link.active {
  color: #1977cc;
  border-color: #1977cc;
}

.departments .tab-pane.active {
  -webkit-animation: fadeIn 0.5s ease-out;
  animation: fadeIn 0.5s ease-out;
}

.departments .details h3 {
  font-size: 26px;
  text-decoration: underline;
  font-weight: 600;
  color: #2c4964;
}

.departments .details h5 {
  font-weight: 600;
  color: #2c4964;
  margin-bottom: 30px;
}

.departments .details p, .departments .details li {
  color: #777777;
}

.departments .tab-pane img {
  border-radius: 10px;
  box-shadow: 1px 1px 10px gray;
}

.certificates-container {
  padding-top: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 5px;
}

.certificates-container figure {
  width: 180px;
}

.certificates-container img {
  width: 180px;
  transition: ease-in-out 0.3s;
}


.certificates-container img:hover {
  transform: scale(1.1)
}

.certificates-container figcaption {
  padding-top: 8px;
  text-align: center;
  color:#6c757d;
  font-size: smaller;
}

.departments .details p:last-child {
  margin-bottom: 0;
}

.inner-pages .departments .staff-pic {
  margin: 40px 0;
}

@media (max-width: 992px) {
  .departments .nav-link {
    border: 0;
    padding: 15px;
  }

  .departments .nav-link.active {
    color: #fff;
    background: #1977cc;
  }
}

/*--------------------------------------------------------------
# Doctors
--------------------------------------------------------------*/
.doctors {
  background: #fff;
}

.doctors h3 {
  padding-top: 40px;
}

.doctors .staff-meet {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  row-gap: 10px;
}

.doctors .member {
  position: relative;
  box-shadow: 0px 2px 15px rgba(44, 73, 100, 0.08);
  padding: 30px;
  border-radius: 10px;
  background-color: white;
}

.doctors .member .pic {
  overflow: hidden;
  width: 30%;
  height: auto;
  border-radius: 50%;
}

.doctors .member .pic img {
  transition: ease-in-out 0.3s;
}

.doctors .member:hover img {
  transform: scale(1.1);
}

.doctors .member .member-info {
  width: 70%;
  padding-left: 30px;
}

.doctors .member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  color: #2c4964;
}

.doctors .member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.doctors .member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.doctors .member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.doctors .member .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: #a0bcd5;
}

.doctors .member .social a i {
  color: #fff;
  font-size: 16px;
  margin: 0 2px;
}

.doctors .member .social a:hover {
  background: #1977cc;
}

.doctors .member .social a+a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq .faq-list {
  padding: 0 100px;
}

.faq .faq-list ul {
  padding: 0;
  list-style: none;
}

.faq .faq-list li+li {
  margin-top: 15px;
}

.faq .faq-list li {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
  position: relative;
}

.faq .faq-list a {
  display: block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding: 0 30px;
  outline: none;
  cursor: pointer;
}

.faq .faq-list .icon-help {
  font-size: 24px;
  position: absolute;
  right: 0;
  left: 20px;
  color: #76b5ee;
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list a.collapsed {
  color: #343a40;
}

.faq .faq-list a.collapsed:hover {
  color: #1977cc;
}

.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
  display: none;
}

@media (max-width: 1200px) {
  .faq .faq-list {
    padding: 0;
  }
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
/* .testimonials .testimonial-wrap {
  padding-left: 50px;
} */

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 30px 15px;
  min-height: 200px;
  box-shadow: 0px 2px 12px rgba(44, 73, 100, 0.08);
  position: relative;
  background: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid #fff;
  position: absolute;
  left: -45px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #badaf7;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #1977cc;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #1977cc;
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/


.contact .section-title {
  padding-bottom: 0;
}

.contact .col-lg-8 {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

#referral-form {
  background-color: rgba(0, 0, 0, 0.0);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .form-select {
  color: gray;
}

.contact .form-select option {
  color: black;
}

.contact .form-select option:first-child {
  color: gray;
}


.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  transition:  all;
  transition-duration: 0.25s
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea,
.contact .php-email-form select {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input,
.contact .php-email-form select {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: #1977cc;
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #1c84e3;
}

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

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

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

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




/* Contact Info */

.contact .info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items:baseline;
  flex-wrap:wrap;
  background: #fff;
  margin-bottom: 40px;
}

.contact .info .email,
.contact .info .phone,
.contact .info .fax {
  margin-top: 40px;
}

@media (max-width: 991px) {
  .contact .info {
    flex-direction: column;
    column-count: 2;
    height: 200px;
  }

  .contact .info .phone {
    margin-top: 0;
  }
}

@media (max-width: 500px) {
  .contact .info {
    flex-direction: column;
    height: auto;
  }

  .contact .info .phone {
    margin-top: 40px;
  }
}

.contact .info i {
  font-size: 20px;
  color: #1977cc;
  float: left;
  width: 44px;
  height: 44px;
  background: #d6e9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #2c4964;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #4b7dab;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i,
.contact .info .fax:hover i {
  background: #1977cc;
  color: #fff;
}



#google-map {
  margin-top: 40px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #444444;
  font-size: 14px;
  background: #f1f7fd;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1);
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h4 {
  font-size: 22px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #777777;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#footer-stuff-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

#footer-links-1, #footer-links-2, #footer-contact {
  width: 33%;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  #footer-links-1, #footer-links-2, #footer-contact {
    width: 50%;
  }
}

@media (max-width: 768px) {
  #footer-links-1, #footer-links-2, #footer-contact {
    width: 100%;
  }
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #1c84e3;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #777777;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #1977cc;
}

#foot-links-1 a {
  font-size: 30px;
}

#footer .footer-newsletter {
  font-size: 15px;
}

#footer .footer-newsletter h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
  text-align: left;
  border: 1px solid #bfdcf7;
}

#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #1977cc;
  color: #fff;
  transition: 0.3s;
  border-radius: 50px;
}

#footer .footer-newsletter form input[type=submit]:hover {
  background: #1c84e3;
}

#footer .credits {
  padding-top: 5px;
  font-size: 13px;
  color: #444444;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #1977cc;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #1c84e3;
  color: #fff;
  text-decoration: none;
}









/*--------------------------------------------------------------
# Inner Pages
--------------------------------------------------------------*/



.inner-pages {
  padding-top: 142px;
}

@media (max-width: 991px) {
  .inner-pages {
    padding-top: 135px;
  }
}

#inner-hero {
  padding: 0;
}

.inner-hero-container {
  width: 100%;
  padding: 60px 20px;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
}

.inner-hero-container h2 {
  color: white;
}











/* Special heros for Procedures and Patient Info Page */

#inner-hero-procedures, 
#inner-hero-patient-info {
    padding-top: 0px;
  } 

@media (max-width: 20082px) {
    #inner-hero-procedures, 
    .inner-hero-container-procedures, 
    #inner-hero-patient-info, 
    .inner-hero-container-patient-info {
    height: 900px;
  }
}

@media (max-width: 2082px) {
    #inner-hero-procedures, 
    .inner-hero-container-procedures, 
    #inner-hero-patient-info, 
    .inner-hero-container-patient-info {
    height: 800px;
  }
}

@media (max-width: 992px) {
    #inner-hero-procedures, 
    .inner-hero-container-procedures, 
    #inner-hero-patient-info, 
    .inner-hero-container-patient-info {
    height: 600px;
  } 
}

@media (max-width: 720px) {
    #inner-hero-procedures, 
    .inner-hero-container-procedures, 
    #inner-hero-patient-info, 
    .inner-hero-container-patient-info {
    height: 400px;
  } 
}

@media (max-width: 510px) {
    #inner-hero-procedures, 
    .inner-hero-container-procedures, 
    #inner-hero-patient-info, 
    .inner-hero-container-patient-info {
    height: 300px;
  }
} 

@media (max-width: 384px) {
    #inner-hero-procedures, 
    .inner-hero-container-procedures, 
    #inner-hero-patient-info, 
    .inner-hero-container-patient-info {
    height: 175px;
  }
}


.crossfade-procedures > figure,
.crossfade-patient-info> figure {
  backface-visibility: hidden;
  background-size: cover;
  left: 0px;
  opacity: 1;
  position: absolute;
  top: 0px;
  height: 100%;
  width: 100%;
  z-index: -1;
}

.crossfade-procedures > figure:nth-child(1) { 
  background-image: url('/assets/img/staff/Funny\ wheelchair\ photo.webp'); 
}

.crossfade-patient-info > figure:nth-child(1) { 
  background-image: url('/assets/img/staff/Tree\ photo.webp'); 
}

.inner-hero-container-procedures,
.inner-hero-container-patient-info {
  align-items: center;
  align-content: center;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
}

.inner-hero-container-procedures h2,
.inner-hero-container-patient-info h2 {
  color: white;
}

/* End Special hero for Procedures*/








.affiliations {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  padding: 10px 40px;
  height: fit-content
}

.affiliations a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.affiliate-logo {
  width: 150px;
}


.inner-pages .contact {
  padding-top: 10px;
}

.inner-pages .contact h5 {
  text-align: center;
}

.contact-page-call-email {
  margin-top: 0;
}

.inner-pages .contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #2c4964;
}

.inner-pages .contact .info h6 {
  padding: 0 0 0 60px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #2c4964;
}

.inner-pages .contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 20px;
  color: #4b7dab;
}

.inner-pages .section-title ul {
  text-align: left;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
}

.inner-pages .google-reviews {
  width: 100%;
  height: 600px;
}


.inner-pages .about {
  padding: 0;
}

.inner-pages .about ul {
  list-style-type: disc;
}

.procedures-title {
  position: relative;                /* needed so children can layer correctly */
  min-height: 100vh;                 /* make it at least full viewport height */
  display: flex;                     /* optional: center the text */
  align-items: center;               /* vertically center */
  justify-content: center;           /* horizontally center */
  text-align: center;
  
  background-image: url("../img/staff/Funny%20wheelchair%20photo.webp");
  background-repeat: no-repeat;
  background-size: cover;            /* fill the div */
  background-position: top center;   /* show the top of the image */
  color: white;                      /* make text readable */
}


.inner-pages .about .procedure-section-alt-bg-color-1 {
  background-color: rgb(240, 239, 239);
}

.inner-pages .about .procedure-section-alt-bg-color-2 {
  background-color: rgb(230, 229, 229);
}

.procedure-container {
  display: flex;
  flex-flow: row wrap;
  padding-top: 25px;
  padding-bottom: 25px;
}

.procedure-video-container {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.procedure-video-container .spanish-video {
  text-align: center;
}

.procedure-video {
  display: flex;
  width: 100%;
  height: 400px;
}

.about .video-box {
  background-size:contain;
}




/* procedure video backgrounds */
.inner-pages .wisdom-tooth-surgery {
  background: url("../img/video-covers/wisdom-tooth-vid-cover.png") center center no-repeat;
  background-size:contain;
}
.inner-pages .implant-surgery {
  background: url("../img/video-covers/implant-surgery-cover.png") center center no-repeat;
  background-size:contain;
}
.inner-pages .exposure-and-bond {
  background: url("../img/video-covers/exposure-bond-cover.png") center center no-repeat;
  background-size:contain;
}
.inner-pages .patient-escort {
  background: url("../img/video-covers/patient-escort-cover.png") center center no-repeat;
  background-size:contain;
}
.inner-pages .frenectomy {
  background: url("../img/video-covers/frenectomy-cover.png") center center no-repeat;
  background-size:contain;
}
.inner-pages .bone-grafting {
  background: url("../img/video-covers/bone-grafting-cover.png") center center no-repeat;
  background-size:contain;
}

.procedure-video-description {
  display: flex;
  width: 50%;
}

.inner-pages .read-more-content {
  opacity: 0;
  max-height: 0;
  transition: all 0.5s;
}

.inner-pages .read-more-content--open {
  opacity: 1;
  max-height: 3000px;
}

.inner-pages .read-more-content strong {
  text-decoration: underline;
  padding-bottom: 10px;
}

.inner-pages .blue-rounded-button {
  display: flex;
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  width:max-content;
  margin: 0 auto;
  margin-top: 15px;
  padding: 12px 35px;
  border: none;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: #1977cc;
  transition: all 0.5s;
}

.inner-pages .blue-rounded-button:hover {
  background: #3291e6;
}

@media (max-width: 991px) {
  

  .procedure-video {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .procedure-container {
    flex-flow: column wrap;
  }
  
  .procedure-video-container {
    width: 100%;
  }

  .procedure-video {
    width: 100%;
    height: 200px;
  }

  .procedure-video-description {
    padding: 20px 20px;
    text-align: center;
    width: 100%;
  }
}






.inner-pages .staff-meet {
  display: flex;
  flex-flow: row wrap;
}

.inner-pages .staff-box {
  width: 50%;
  align-self: auto;
  position: relative;
}
@media (max-width: 768px) {
  .inner-pages .staff-box {
    width: 100%;
  }
}




@media (max-width: 768px) {
  .inner-pages .forms .icon-box {
    padding-left: 10px;
    padding-right: 10px;
  }
}









/* Referring Offices */
.referral {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
}

.referral .about {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
  border-right: 1px black solid;

}

.referral .contact {
  display: flex;
  justify-content: center;
  width: 60%;
  padding: 20px 40px;
}

.referral .contact h4 {
  text-align: center;
}

.referral .contact p {
  text-align: center;
}

.referral .contact input::file-selector-button {
  border-radius: 5px;
  color: white;
  background-color:#1977cc;
  margin-left: 1px;
  margin-top: auto;
  margin-bottom: auto;
  padding: 4px 4px;
}

@media (max-width: 992px) {
  .referral .about {
    width: 100%;
    border: 0;
  }

  .referral .contact {
    width: 100%;
  }

  
}


/* Page Backgrounds */
.inner-pages .patient-info::before {
  content: "";
  background-image: url("../img/other/testimonials.jpg");
  opacity: 0.1;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  background-attachment: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

.inner-pages .doctors::before {
  content: "";
  background-image: url("../img/other/gallery-1.jpg");
  opacity: 0.1;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  background-attachment: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

.inner-pages .referral::before {
  content: "";
  background-image: url("../img/other/documents.jpg");
  opacity: 0.1;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  background-attachment: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}


#patient-info-container {
  padding-top: 0px;
}

.inner-pages .patient-info .patient-info-appointment{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}



@media (max-width: 992px) {
  .inner-pages .patient-info .patient-info-appointment > div {
    width: 100%;
}
}

.inner-pages .patient-info h4 {
  text-align: center;
  padding-top: 30px;
}

.inner-pages .patient-info img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 1px 1px 10px gray;
}



/* PEDRO STUFF */

.hidden-pedro {
  position: fixed; /* keeps it floating above content */
  width: 60px;
  height: auto;
  opacity: 0.08;
  transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  cursor: pointer;
}

.hidden-pedro:hover,
.hidden-pedro:active {
  opacity: 1;
  transform: scale(1);
}

.pedro-image {
  padding-top: 15px;
}

.pedro-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(25, 25, 25, 0.9);
  color: #fff;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  max-width: 240px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 99999;
}

.pedro-popup.show {
  opacity: 1;
  transform: translateY(0);
}

.pedro-popup button {
  background: none;
  border: none;
  color: #ccc;
  font-size: 1.2rem;
  cursor: pointer;
  position: absolute;
  top: 6px;
  right: 8px;
  transition: color 0.2s ease;
}

.pedro-popup button:hover {
  color: #fff;
}