@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

*,
body {
  font-family: "Lato", sans-serif !important;
}
#header .container {
  margin: 0 auto !important;
}
#header #main-nav ul {
  justify-content: flex-end !important;
}
#header #main-nav ul li a {
  font-size: 0.63em !important;
  transition: 0.3s all ease-in-out;
}
#header #top-menu li:nth-child(1) a {
  padding-right: 0;
}
.nav-dropdown-wrapper a {
  font-size: 0.55em !important;
  text-transform: capitalize;
}
.home #mission-statement {
  padding: 2.5em 2em;
}
.home #mission-statement h3 {
  letter-spacing: 1px;
  margin-bottom: 0.5em;
}
.home #mission-statement p {
  color: #4e4e4e;
  letter-spacing: 0;
}
.home .carousel-wrapper1 {
  padding: 2em !important;
}
.home .carousel-wrapper1 .swiper-exact {
  width: 100% !important;
}
.home .news-box {
  height: auto;
}
.news-img {
  height: 8em;
}
.home-news h3 {
  margin-bottom: 4px;
}
.services-box {
  height: 100%;
}
.services-box .services-img {
  max-height: unset;
  height: 16em;
}
@media (min-width: 60em) {
  .services-box .services-img {
    height: 9em;
  }
}
.services-box .services-text-wrapper {
  height: 100%;
}
.services-box .services-text-wrapper .services-text {
  min-height: 2.5em;
  padding: 0.5em 1em;
}
@media (min-width: 48em) {
  .services-box .services-text-wrapper .services-text {
    min-height: 6em;
  }
}
@media (min-width: 60em) {
  .services-box .services-text-wrapper .services-text {
    min-height: 4.5em;
  }
}
@media (min-width: 80em) {
  .services-box .services-text-wrapper .services-text {
    min-height: 2.5em;
  }
}
.services-text p {
  text-transform: uppercase;
}

.home #services h4,
.home .home-news h4 {
  letter-spacing: 5px;
}
.home .home-news .news-box .news-text {
  padding: 1.5em;
}
@media (min-width: 60em) {
  .home .home-news .news-box .news-text {
    height: 13.5em;
  }
}
.home .home-news .news-box .news-text h6 {
  font-size: 17px;
}
.home .home-news .news-box .news-text .news-paragraph {
  font-weight: 300;
}
.home #patients-say .testimonials-text h5,
.home #patients-say .testimonials-text p {
  color: #4e4e4e;
  opacity: 0.8;
}
.home #patients-say .testimonials-text h5 {
  font-size: 0.85em !important;
}
.home #patients-say .testimonials-text p {
  font-size: 0.7em !important;
}
#top-menu-list li a,
#header #top-menu li:nth-child(1) a {
  padding: 1.2em 1.5em;
}
.nav-dropdown-wrapper {
  flex-wrap: wrap;
  width: 8em;
}
#main-nav .nav-dropdown-wrapper a {
  padding: 1em !important;
  word-wrap: break-word;
}

#testimonials-carousel {
  margin-top: 0.5em;
}
#testimonials-carousel .swiper-exact {
  width: 100% !important;
}
#contact-form-container {
  border-right: 5px solid #fff;
}
#contact-form-container #new_submission .dform .submit_button {
  margin: 0 !important;
}
#footer1 {
  width: 100%;
}
@media (min-width: 60em) {
  #footer1 {
    width: 10em;
  }
}
#contact-photo {
  height: 23.8em;
}
#contact-photo img {
  object-fit: cover;
}
.swiper-exact {
  width: 100% !important;
}
.description-section .top-case img {
  height: 13.5em;
  object-fit: cover;
}
.description-section .top-case .title-box h2 {
  font-size: 1.1em;
}
.m-container {
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
}
@media (min-width: 60em) {
  .m-container {
    max-width: 75em;
  }
}

#main-nav ul li a {
  padding: 1em 20px !important;
}
#footer3
  #new_submission
  .dform
  .submit_button
  .dform_container
  .dfinput_full
  .submit {
  text-transform: uppercase;
  letter-spacing: 1px;
}
#top-menu li a.red {
  transition: 0.3s all ease-in-out;
}
#top-menu li a.red:hover {
  background: white !important;
  color: #e3380e;
}

.js-services .slick-track {
  transition: all 1s cubic-bezier(0.7, 0, 0.3, 1);
}
.js-services-nav .slick-slide {
  margin: 0 1em;
}
.js-services-sl .slick-slide {
  margin: 0 0.5em;
}
.slick-arrow {
  width: 4em;
  height: 3.5em;
  position: absolute;
  background: #00b3e4;
  top: 50%;
  z-index: 2;
  transform: translate(0, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.slick-arrow span {
  font-size: 2.5em;
  color: white;
}
.slick-arrow.slick-prev {
  left: 0;
}
.slick-arrow.slick-next {
  right: 0;
}
html {
  scroll-behavior: smooth;
}
@media only screen and (max-width: 60em) {
  #top-menu-list {
    align-items: center;
  }
  #top-menu-list .red {
    height: 100%;
    display: flex;
    align-items: center;
  }
  #top-menu-list .mobile-menu-button {
    height: 100%;
  }
  #top-menu-list .mobile-menu-button img {
    width: 2em;
    height: 2em;
    object-fit: contain;
  }
}
@media (min-width: 60em) {
  #top-menu-list .mobile-menu-button {
    display: none;
  }
}
#patient-forms {
  transition: 0.3s all ease-in-out;
}
#patient-forms:hover {
  opacity: 0.6;
}
.close-men {
  justify-content: flex-end;
  padding: 1em;
}
.close-men iconify-icon {
  font-size: 1.6em;
}
@media (max-width: 60em) {
  #footer-1 {
    width: 100%;
  }
  .footer-address {
    justify-content: center;
  }
}
@media (max-width: 48em) {
  .book-wrapper .book-button-wrapper a {
    width: 100% !important;
  }
}

/*product*/
.exercise-tabs-nav ul {
  background-color: #d3d3d3;
  display: flex;
  align-items: center;
}
.exercise-tabs-nav ul#tabs-ul li {
  padding: 1em 0.8em;
}
.exercise-tabs-nav a {
  display: block;
  font-weight: bold;
  text-decoration: none;
  color: #4e4e4e;
}
/* Active tab */

.exercise-tabs-nav ul#tabs-ul li.active {
  background: #00b3e4;
  color: white;
  position: relative;
}

.exercise-tabs-nav ul#tabs-ul li.active a {
  color: inherit;
  font-weight: bold;
}
/* Tab content */

.exercise-tabs-content .img-wrapper {
  padding: 1.5em 0.5em 3em;
  cursor: pointer;
}
.exercise-tabs-content .img-wrapper img {
  width: 100%;
  margin: 0 auto;
  height: 15em;
  object-fit: cover;
}
@media (min-width: 48em) {
  .exercise-tabs-content .img-wrapper img {
    height: 10em;
  }
}

/* Hide all but first content div */

.exercise-tabs-content .tab-content {
  overflow-y: hidden;
  height: 0;
  width: 100%;
}

.exercise-tabs-content {
  /* background: #FFF; */
  overflow: hidden;
  width: 100%;
  height: auto;
}
.exercise-tabs-content .tab-content.active {
  /* background: #FFF; */
  overflow: hidden;
  width: 100% !important;
  height: auto !important;
}

.popup-overlay {
  /*Hides pop-up when there is no "active" class*/
  visibility: hidden;
  background: rgba(0, 0, 0, 0.9);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: fixed;
  z-index: 10000;
}

.popup-overlay.active-pop {
  /*displays pop-up when "active" class is present*/
  visibility: visible;
  text-align: center;
}

.popup-content {
  /*Hides pop-up content when there is no "active" class */
  visibility: hidden;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.popup-overlay.active-pop .popup-content {
  /*Shows pop-up content when "active" class is present */
  visibility: visible;
  position: relative;
}

.closeup {
  padding: 0.4em 1em;
  position: absolute;
  top: 1em;
  right: 0em;
  background: transparent;
  cursor: pointer;
}
.closeup iconify-icon {
  font-size: 3em;
  transition: 0.3s all ease-in-out;
}

.closeup:hover iconify-icon {
  font-size: 2.5em;
}
.video-wrapper {
  width: 80%;
  position: relative;
  flex-wrap: wrap;
  background-color: #4e4e4e;
  padding: 2em;
}
.video-wrapper iframe {
  width: 100%;
  height: 43vh;
}
.video-wrapper .inner-display-text-wrapper {
  width: 100%;
  margin: 1em 0;
  text-align: left;
}
.inner-display-text-wrapper p {
  /* font-size: 0.9em; */
  line-height: 1.5em !important;
  background: transparent;
}
.openup {
  color: unset;
  background-color: unset;
  border: none;
  width: 6em;
}
.openup:hover {
  background-color: unset;
  border: none;
  color: unset;
}

.no-scroll {
  overflow: hidden;
}
.display-button-wrapper a {
  padding: 1em 2em;
  font-size: 0.55em;
  border: 1px solid white;
  transition: 0.3s all ease-in-out;
}
.display-button-wrapper a:hover {
  background-color: #484444;
  color: white;
}
.home .video-container {
  width: 100%;
  max-width: 35em;
  margin: 2em auto 0;
  height: 19em;
}
@media (min-width: 48em) {
  .home .video-container {
    max-width: 45em;
    height: 25em;
  }
}
@media (min-width: 60em) {
  .home .video-container {
    max-width: 35em;
    height: 19em;
  }
}
.home .video-container iframe {
  width: 100%;
  height: 100%;
}

.about-wrapper .video-contain {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  width: 100%;
  height: 40vh;
  position: relative;
}
@media (min-width: 60em) {
  .about-wrapper .video-contain {
    height: 48vh;
  }
}
.about-wrapper .video-contain iframe {
  width: 100vw;
  height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
  min-height: 100vh;
  min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.services-box {
  position: relative;
  cursor: pointer;
}
.service-hover {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s all ease-in-out;
}
.service-hover .holder {
  max-width: 75%;
  opacity: 0;
  transition: 0.2s ease-out;
}
.service-hover .holder h3 {
  font-size: 1em;
  color: #00b3e4;
  text-transform: uppercase;
}
.service-hover .holder p {
  font-size: 1.1em;
  color: #00b3e4;
  position: relative;
  margin: 0 auto;
  width: fit-content;
}
.service-hover .holder p::before {
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: #00b3e4;
  content: "";
  position: absolute;
}
.services-box:hover .service-hover {
  width: 100%;
}
.services-box:hover .service-hover .holder {
  opacity: 1;
  transition: 0.7s ease-in;
}
@media (min-width: 60em) {
  .service-hover .holder {
    max-width: 80%;
  }
  .service-hover .holder h3 {
    font-size: 0.8em;
  }
  .service-hover .holder p {
    font-size: 0.7em;
  }
}

.cs-btn {
  position: relative;
}
.cs-btn::before {
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: white;
  content: "";
  position: absolute;
  transition: 0.5s all ease-in-out;
}
.news-text {
  cursor: pointer;
}
.news-text:hover .cs-btn::before {
  width: 100%;
}
