/* Allows Zooming for Accessibility */
.user-font-size {
  font-size: 1em;
}

.mobile-menu-open {
  overflow: hidden;
}

html.mobile-menu-open,
body.mobile-menu-open {
  overflow: hidden;
  position: relative;
  height: 100%;
}

#mobile-nav-icon {
  width: 24px;
  height: 20px;
  position: relative;
  margin: 0;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
  cursor: pointer;
}
#mobile-nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #4d648a;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}
#mobile-nav-icon span:nth-child(1) {
  top: 0px;
  transform-origin: left center;
}
#mobile-nav-icon span:nth-child(2) {
  top: 9px;
  transform-origin: left center;
}
#mobile-nav-icon span:nth-child(3) {
  top: 18px;
  transform-origin: left center;
}
#mobile-nav-icon.is-open span:nth-child(1) {
  transform: rotate(45deg);
  top: 0px;
  left: 8px;
}
#mobile-nav-icon.is-open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}
#mobile-nav-icon.is-open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 17px;
  left: 8px;
}

.navbar-menu{
  padding: 0;
}

/* <!--2023 port to webflow from WP--> */
.single-blog .main-content p,
.single-case-studies .main-content p {
  margin-bottom: 2rem;
}
.single-case-studies .main-content ul li,
.single-blog .main-content ul li {
  margin-top: 0px;
  margin-bottom: 1rem;
  font-family: Abel, sans-serif;
  font-size: 23px;
  line-height: 150%;
}


/* Hide the Google Translate Widget */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-menu-frame {
  display: none !important;
  visibility: hidden;
  height: 0;
  width: 0;
}

/* Also hide the Google Translate dropdown */
.goog-te-combo {
  display: none !important;
}


.icon-lang-opt {
  @apply flex flex-col justify-center text-black font-[600] absolute right-0 top-8 bg-slate-100 rounded-md shadow-lg drop-shadow-xl z-10;
}
.icon-lang {
  @apply flex items-center px-2 py-2;
}
.icon-lang:hover {
  @apply bg-[#498D13] duration-200 text-white w-[100%] cursor-pointer;
}

/* Custom dropdown styling */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Initially hide the dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 150%;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  padding: 3% 0;
  text-align: left;
}

/* Show dropdown content when .show class is added */
.dropdown-content.show {
  display: block;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

/* Hover effect for dropdown links */
.dropdown-content a:hover {
  background-color: #f1f1f1;
  color: #4d648a;
}

/* Flag icons in language dropdown */
.flag-icon {
  width: 24px;
  height: 16px;
  margin-right: 8px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .dropdown-content {
    min-width: 100%;
    position: relative;
  }
}


/* Modal Container */
.modal-container {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fff;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 50%; /* Could be more or less, depending on screen size */
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 12px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Footer Legal Mentions */
.legal-mentions {
  margin-top: 10px;
}

.legal-mentions a {
  color: #007bff;
  text-decoration: none;
}

.legal-mentions a:hover {
  text-decoration: underline;
}

