.navbar {
  font-size: 16px;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  display: block;
  transition: 0.3s;
  color: #f1f1f1;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.dropdown-menu.language-dropdown-menu.show {
  min-width: auto;
  min-height: auto;
}
header .dropdown-menu {
  background-color: #001848;
}
header .dropdown-item:hover {
  background-color: inherit;
  color: gray;
}
header .nav-link {
  color: #fff;
}

header .navbar {
  font-size: 16px;
}

header .header {
  background-color: #001848bf;
  padding: 1rem;
  max-width: 1600px;
}

/*  header .dropdown-item:hover {
    color: var(--brand-color-2);
} */

header .dropdown-item {
  font-size: small;
  color: white;
}

header .logo_light {
  width: 11%;
}

header .navbar-toggler {
  filter: brightness(0) invert(1);
}

.btn-drop:hover {
  background-color: inherit;
  text-decoration: none;
}

.btn-drop {
  border: none;
}

header .flag {
  height: 1.5rem;
}

.carousel-header {
  position: absolute;
  width: 100%;
  z-index: 2;
}

.carousel-indicators.carousel-image-preview {
  background: rgba(255, 255, 255, 0.9);
  gap: 0rem 1.5rem;
  justify-content: start;
  padding: 1.2rem 5rem;
  max-width: 1600px;
  margin: 0 auto;
}

.carousel-indicators.carousel-image-preview li {
  text-indent: 0;
  width: 100px;
  height: auto;
  border: 0;
  margin: 0;
}

.static-caption {
  position: absolute;
  min-height: 6rem;
  right: 25%;
  bottom: 20%;
  background-color: rgba(255, 255, 255);
  padding: 1.5rem 1.5rem;
  color: black;
  display: flex;
  align-items: center;
  width: 30rem;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.edited-img2.d-block.w-100 {
  object-fit: cover;
  height: -webkit-fill-available;
}

.ministry-logo {
  position: absolute;
  right: 18%;
  bottom: 20%;
}

.caption-icon img {
  width: 3rem;
  height: 3rem;
  margin-right: 1rem;
}

.caption-text {
  flex-grow: 1;
}

.static-caption h5 {
  font-weight: bold;
  margin: 0;
}

.static-caption p {
  font-size: 1rem;
  margin: 0;
}

.carousel-item {
  height: 600px;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
}

.static-caption .Chevron-btn {
  background-image: url("/documents/d/guest/chevron_right");
  background-repeat: no-repeat;
  background-color: var(--brand-color-2);
  background-position: center;
  width: 2rem;
  height: 2rem;
  display: flex;
  text-indent: -9999px;
}

.carousel-control-prev-icon {
  background-image: url("/documents/d/guest/carousel-prev");
  width: 2rem;
  height: 2rem;
  opacity: 1;
}

.carousel-control-next-icon {
  background-image: url("/documents/d/guest/carousel-next");
  width: 2rem;
  height: 2rem;
}
.carousel-control-next,
.carousel-control-prev {
  width: 5%;
  filter: brightness(1.2) contrast(1.5);
}

.desktop-nav {
  display: block;
}
.mobile-nav {
  display: none;
}
.desktop-search-widget {
  display: block;
}
.mobile-search-widget {
  display: none;
}
.col-auto.col3.nav-strict {
  max-width: 100%;
}

@media only screen and (max-width: 650px) {
  .carousel-indicators.carousel-image-preview {
    margin-left: 2%;
    margin-right: 2%;
  }
  .ph-200 {
    width: 200% !important;
  }

  .container.header {
    padding: 1rem;
  }
  header .child-menu.dropdown-menu {
    background-color: inherit !important;
    overflow: visible !important;
  }

  header .child-menu.dropdown-menu .dropdown-item {
    font-size: medium;
  }

  header .navbar-nav .nav-item {
    flex-direction: column;
    align-items: start;
  }

  header .navbar-nav {
    display: block;
  }

  .desktop-search-widget {
    display: none;
  }
  .mobile-search-widget {
    display: block;
  }

  #mobileSearchWidget {
    width: 70%;
    margin-left: 0.5rem;
  }

  .sidenav a {
    font-size: 18px;
  }

  header .col {
    padding: 0;
    margin-top: 1rem;
  }

  .static-caption {
    position: absolute;
    right: 24%;
    bottom: 20%;
    padding: 0rem;
    width: 74%;
  }

  .static-caption p {
    font-size: small;
  }

  .ministry-logo {
    right: 2%;
  }

  .logo_light {
    width: 50% !important;
    margin: 0px 5rem;
  }

  .col-lg-3.col3 > .row {
    display: contents;
  }

  .col-auto.col3.nav-strict,
  .col-lg-3.col3 {
    display: contents;
  }

  .desktop-search-widget {
    display: none; /* Hide the desktop search widget in mobile view */
  }
  .mobile-search-widget {
    display: block; /* Show the mobile search widget */
  }

  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .carousel-indicators.carousel-image-preview {
    z-index: 1;
  }

  header .dropdown.open > .dropdown-menu,
  .overlay-content .open > .dropdown-menu {
    position: static;
  }
}

@media (min-width: 650px) and (max-width: 1024px) {
  header .navbar {
    flex-wrap: nowrap;
  }
  header .logo_light {
    width: 17%;
  }

  /*  header .header {
     width: 80%;} */

  header .child-menu.dropdown-menu {
    overflow: visible !important;
  }

  .col-auto.col3.nav-strict {
    max-width: 50%;
    padding-left: 3rem;
  }

  .ministry-logo {
    right: 12%;
  }

  .static-caption {
    width: 23rem;
    padding: 0 1rem;
  }

  .carousel-indicators.carousel-image-preview {
    /* margin-left: 12%;
      margin-right: 11%; */
    margin: 0 1rem;
  }
}

@media (min-width: 2000px) and (max-width: 2700px) {
  .static-caption {
    right: 28%;
  }

  .ministry-logo {
    right: 23%;
  }
}
