/********** Template CSS **********/
:root {
  --primary: #322ee1;
  --secondary: #354f8e;
  --light: #eff5f9;
  --dark: #1d2a4d;
}

.text-primary {
  color: var(--dark) !important;
  font-weight: 600;
}

.text-primary-light {
  color: var(--light) !important;
}

.text-primary-blue {
  color: var(--primary) !important;
}

.text-dark-light {
  color: #686f7a;
}

.text-light {
  color: var(--light);
}

.text-bold {
  font-weight: 700;
}

.cursor-p {
  cursor: pointer;
}

.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-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: 30px;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
  font-family: 'Jost', sans-serif;
  position: relative;
  margin-left: 20px;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
  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);
}

@media (min-width: 992px) {
  .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:hover::before,
  .navbar-light .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
  }
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }
}

.hero-header {
  background: url(../img/EHS-ILMATEN1.jpg) top right no-repeat;
  background-size: cover;
}

.service-item {
  position: relative;
  height: 350px;
  padding: 0 30px;
  transition: 0.5s;
}

.service-item .service-icon {
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.service-item .service-icon i {
  transform: rotate(15deg);
}

.service-item a.btn {
  position: absolute;
  width: 60px;
  bottom: -48px;
  left: 50%;
  margin-left: -30px;
  opacity: 0;
}

.service-item:hover a.btn {
  bottom: -24px;
  opacity: 1;
}

.price-carousel::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 50%;
  bottom: 0;
  left: 0;
  background: var(--primary);
  border-radius: 8px 8px 50% 50%;
  z-index: -1;
}

.price-carousel .owl-nav {
  margin-top: 35px;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-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;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

@media (min-width: 576px) {
  .team-item .row {
    height: 350px;
  }
  .historique-row {
    flex-wrap: wrap !important;
  }
}
@media (max-width: 576px) {
  .historique-row > div {
    flex-basis: 100% !important;
  }
}

.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);
}

.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;
}

.testimonial-carousel .owl-dot.active {
  width: 40px;
  height: 40px;
  background: var(--primary);
}

.testimonial-carousel .owl-item img {
  width: 150px;
  height: 150px;
}

.logo {
  width: 150px;
}
.logo-2 {
  width: 270px;
  height: 70px;
}

.top-page {
  padding: 2rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.bg-main {
  background-color: var(--dark);
}

.ft-3 {
  font-size: 3rem !important;
}

.dropdown-item:hover {
  background-color: #322ee1;
  color: #ffffff;
}

/* @media (max-width: 576px) {
  .row .col-12 {
    height: auto; 
  }
  .row .col-12 iframe {
    height: 300px;
  }
} */

.dropdown-hospitalisation {
  position: relative;
}

.dropdown-hospitalisation .dropdown-item::after {
  content: '→';
  font-size: 0.8em;
  margin-left: 8px;
}

.dropdown-item-second {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 1px;
  white-space: nowrap;
  background-color: #ffffff;
  border: 1px solid #ddd;
  padding: 10px 0;
  border-radius: 3px;
  display: none;
  /* margin-top: 57px; */
  transition: 0.4s ease-in;
}

.dropdown-item-third {
  position: absolute;
  top: 10px;
  left: 100%;
  margin-left: 1px;
  padding: 10px 0;
  border-radius: 3px;
  border: 1px solid #ddd;
  background-color: #fff;
  display: none;
  transition: 0.3s ease-in;
}
.dropdown-item-forth {
  position: absolute;
  top: 10px;
  left: 100%;
  margin-left: 1px;
  padding: 10px 0;
  border-radius: 3px;
  border: 1px solid #ddd;
  background-color: #fff;
  display: none;
  transition: 0.3s ease-in;
}

.dropdown-item-second ul {
  padding: 0;
}
.dropdown-item-second ul li {
  list-style: none;
  color: #555555;
}
.dropdown-item-third ul li {
  list-style: none;
  color: #555555;
}
.dropdown-item-forth ul li {
  list-style: none;
  color: #555555;
}
.dropdown-item-second ul li:hover {
  background-color: var(--primary);
}
.dropdown-item-third ul li:hover {
  background-color: var(--primary);
}
.dropdown-item-forth ul li:hover {
  background-color: var(--primary);
}

.dropdown-hospitalisation:hover .dropdown-item-second {
  display: block;
}
.dropdown-medicaux:hover .dropdown-item-third {
  display: block;
}
.dropdown-patient:hover .dropdown-item-forth {
  display: block;
}

.navbar-brand {
  display: flex;
  /* align-items: center; */
}

.navbar-brand span {
  margin-left: 10px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.navbar-nav {
  justify-content: center;
}

.historique-row {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #1d2a4d;
}

@media (max-width: 992px) {
  .logo-2 {
    display: none;
  }
  .navbar-light .navbar-nav .nav-link {
    font-size: 13px;
  }
}

.wm-listing-child-pages a {
  text-decoration: none;
  transition: 350ms ease;
  height: 100%;
  position: relative;
}

.wm-listing-child-pages a:before {
  content: '';
  transition: 350ms ease;
  max-height: 5rem;
  padding-top: 5rem;
  width: 5rem;
  background-color: var(--primary);
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
  z-index: -1;
}

.wm-listing-child-pages a:after {
  content: '';
  background-color: #fff;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.wm-listing-child-pages a:hover {
  transform: scale(1.015);
  color: #000;
}

.wm-listing-child-pages a:hover:before {
  right: 4%;
  width: 92%;
}

.wm-listing-child-pages a p {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between
}

.wm-listing-child-pages a p i {
  font-size: 1.5rem;
  transform: translateY(40%);
  transition: 350ms ease
}

.wm-listing-child-pages a:hover p i {
  transform: translateY(40%) translateX(90%);
  opacity: 0
}

.wm-listing-child-pages a .lead {
  line-height: 130%
}

.wm-listing-child-pages a p.text-dark-light {
  line-height: 135%
}

.first-parent-913 .wm-listing-child-pages a:before,.page-id-913 .wm-listing-child-pages a:before {
  background-color: var(--primary) !important
}

@keyframes clignote {
        0%, 100% {
          opacity: 1;
        }
        50% {
          opacity: 0;
        }
      }

      .clignotant {
        animation: clignote 1s infinite;
      }
