@keyframes slideDown {
  from {
    opacity: 0;
    top: 20px; /* Adjust this value based on the height of your element */
  }
  to {
    opacity: 1;
    top: 49px;
  }
}

html[lang="ar"] * {
  font-family: "Noto Naskh Arabic", serif;
}

.hidden {
  display: none !important;
}

.language-container {
  margin-top: 30px;
  width: fit-content;
  margin-left: 30px;
  position: relative;
}

html[lang="ar"] .language-container {
  margin-top: 30px;
  width: fit-content;
  margin-left: 30px;
  position: relative;
  margin-right: auto;
}

.language-container .language-toggle {
  font-family: DINPro-Bold;
}

li.active {
  background: #CA3433;
  color: #fff;
}

.text-align-right {
  text-align: right;
}

.absolute-toggle {
  position: absolute;
  visibility: visible;
  z-index: 9;
  background-color: #fff;
  top: 49px;
  left: 0;
  box-shadow: 0px 7px 8px 2px rgba(0, 0, 0, 0.24);
  -webkit-box-shadow: 0px 7px 8px 2px rgba(0, 0, 0, 0.24);
  -moz-box-shadow: 0px 7px 8px 2px rgba(0, 0, 0, 0.24);
  animation: slideDown 0.2s ease-in-out;
}

html[lang="ar"] .navbar,
html[lang="en"] .navbar {
  padding-right: 20px;
}

html[lang="ar"] .on2-content-temp,
html[lang="ar"] .on2-content-2 {
  text-align: center;
  font-size: 5vw;
}

html[lang="ar"] .order-now-2-delivery {
  text-align: center;
  width: 100%;
}

html[lang="ar"] .order-now-2-top-overlay1-mob {
  text-align: left;
  width: 50%;
}

html[lang="ar"] .location-contents-mob {
  left: 0;
  text-align: right;
}

html[lang="ar"] .container-locations-mob .main-loc-overlay2-mob {
  left: unset;
  width: 100%;
  text-align: center;
}

html[lang="ar"] #about-us .about-us-right-contents {
  text-align: right;
  padding: 30px 50px 0 70px;
}

html[lang="ar"] .bkh-right-contents {
  text-align: right;
}

html[lang="ar"] .contact-us,
html[lang="ar"] .quick-links {
  padding: 0;
}

html[lang="ar"] .contact-us .logo-phone,
html[lang="ar"] .contact-us .logo-email,
html[lang="ar"] .quick-links {
  text-align: right;
}

div.language-container li.nav-item .nav-link {
  padding: 5px 30px 5px 20px;
}

li.nav-item {
  font-size: 1.8vw;
}

div.language-container li.nav-item {
  border-radius: 30px;
  padding: 0;
}

div.language-container li.nav-item.absolute-toggle {
  border-radius: unset;
}

div.language-container li.nav-item {
  text-align: center;
  display: inline-flex;
  justify-content: center;
  font-size: 18px;
  align-items: center;
}

/* div.language-container li.nav-item a:before {
  background: url(../assets/usa-flag.png);
  content: "";
  position: absolute;
  left: 18px;
  width: 24px;
  height: 18px;
  margin: auto;
  top: 0;
  bottom: 0;
} */

div.language-container li.nav-item.active a:after {
  background: url(../assets/dropdown.png) no-repeat;
  content: "";
  position: absolute;
  right: 0;
  width: 30px;
  height: 37px;
  margin: auto;
  top: 22px;
  bottom: 0;
  background-size: 20px 20px;
}

/* div.language-container li.nav-item:last-child a:before {
  background: url(../assets/uae-flag.png);
}

html[lang="ar"] div.language-container li.nav-item a:before {
  background: url(../assets/uae-flag.png);
}

html[lang="ar"] div.language-container li.nav-item:last-child a:before {
  background: url(../assets/usa-flag.png);
} */

#franchise .col-pad-bot {
  text-align: left;
}

html[lang="ar"] #franchise .col-pad-bot {
  text-align: right;
}

@media screen and (min-width: 769px) {
  .language-container {
    display: inline-flex;
    align-items: center;
    margin-top: unset;
    width: unset;
    margin-left: unset;
    margin-left: 30px;
  }
  .absolute-toggle {
    position: absolute;
    visibility: visible;
    z-index: 9;
    background-color: #fff;
    top: 49px;
    box-shadow: 0px 7px 8px 2px rgba(0, 0, 0, 0.24);
    -webkit-box-shadow: 0px 7px 8px 2px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: 0px 7px 8px 2px rgba(0, 0, 0, 0.24);
    animation: slideDown 0.2s ease-in-out;
  }
  html[lang="ar"] .language-container {
    margin-top: unset;
    margin-left: unset;
    margin-right: 30px;
  }
  html[lang="ar"] .navbar-nav {
    right: unset;
    left: 0;
  }
  html[lang="ar"] li.nav-item {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1.5vw;
  }
  html[lang="ar"] div.language-container li.nav-item {
    font-size: 18px;
    padding-left: 0;
    padding-right: 0;
  }
  html[lang="ar"] .order-now-2-contents h5 {
    font-size: 2.2vw;
  }
  html[lang="ar"] .btn-istore,
  html[lang="ar"] .btn-playstore {
    float: unset;
  }
  html[lang="ar"] .flex-column-1eft,
  html[lang="ar"] .flex-column-right {
    flex: unset;
  }
  html[lang="ar"] .flex-row {
    justify-content: center;
    gap: 30px;
  }
  html[lang="ar"] .order-now-2-contents h6 {
    font-size: 1.5vw;
  }
  html[lang="ar"] #lat-loc-locations {
    margin-bottom: 20px;
  }
  html[lang="ar"] .location-contents {
    text-align: right;
  }
  html[lang="ar"] .contact-us .logo-phone,
  html[lang="ar"] .contact-us .logo-email {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  html[lang="ar"] .footer-social-links {
    display: flex;
  }
  html[lang="ar"] .contact-us .logo-phone img,
  html[lang="ar"] .contact-us .logo-email img {
    padding: 0;
  }
  html[lang="ar"] .footer-quick-links,
  html[lang="ar"] .footer-contact-us {
    font-weight: bold;
  }
}
