/*====================
Preloader
======================*/

.preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #111;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.loader-ripple div {
  position: absolute;
  border: 4px solid var(--color-primary);
  opacity: 1;
  border-radius: 50%;
  animation: loader-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loader-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes loader-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }

  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

.header-top {
  padding: 8px 0 10px 0;
  position: relative;
  background: #000;
  border-bottom: 5px solid var(--color-primary);
  z-index: 1;
  font-family: var(--title-font-family);
  font-size: 16px;
}
.sidebar-popup a {
  transition: all 0.3s ease-out 0s;
}
.header-top::before {
  content: "";
  position: absolute;
  background: var(--color-primary);
  border-radius:0 50px 0 0;
  border-right: 15px solid #fff;
  width: 10%;
  top: 0;
  left: 0;
  bottom: -1px;
  z-index: -1;
}

.header-top::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  border-radius:50px 0 0 0;
  border-left: 15px solid #fff;
  width: 10%;
  top: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
}

.header-top-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-top-contact ul {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
}

.header-top-contact a {
  color: #fff;
  font-weight: 500;
}

.header-top-contact a i {
  color: var(--color-primary);
  margin-right: 4px;
  font-size: 18px;
  vertical-align: middle;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-top-link a {
  color: #fff;
  margin-right: 12px;
}

.header-top-link a:hover {
  color: var(--color-primary);
}

.header-top-social span {
  color: #fff;
}

.header-top-social a {
  color: #fff;
  font-size: 16px;
  text-align: center;
  margin-left: 14px;
  transition: all 0.5s ease-in-out;
}

.header-top-social a:hover {
  color: var(--color-primary);
}

@media all and (max-width: 1199px) {
  .header-top-contact ul {
    gap: 10px;
  }

  .header-top-social a {
    width: 34px;
    height: 34px;
    line-height: 37px;
    margin-left: 0;
  }

  .header-top-left {
    margin-right: 5px;
  }
}

@media all and (max-width: 992px) {
  .header-top {
    display: none;
  }
}

.main-navigation .container {
  position: relative;
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}

.navbar {
  background: #fff;
  padding-top: 0px;
  padding-bottom: 0px;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  z-index: 999;
}

.navbar.fixed-top {
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.17);
  animation: slide-down 0.7s;
}

@keyframes slide-down {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

.navbar .container {
  padding-top: 13px;
  padding-bottom: 13px;
}
.navbar .navbar-brand .logo-display {
  display: block;
}

.navbar .navbar-brand .logo-scrolled {
  display: none;
}

.navbar.fixed-top .navbar-brand .logo-display {
  display: none;
}

.navbar.fixed-top .navbar-brand .logo-scrolled {
  display: block;
}

.navbar .navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar .navbar-nav {
  flex-wrap: wrap;
  font-family: var(--title-font-family);
}

.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
  color: rgba(0, 0, 0, 0.9);
}

.navbar-nav .dropdown-menu {
  position: static;
}

.navbar-text {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: rgba(0, 0, 0, 0.9);
}

.navbar-text a,
.navbar-text a:focus,
.navbar-text a:hover {
  color: rgba(0, 0, 0, 0.9);
}

.navbar-toggler-mobile-icon {
  display: inline-block;
  width: inherit;
  height: inherit;
}

.navbar-brand {
  margin-right: 0;
}

.navbar-brand img {
  height: 36px;
  object-fit: contain;
}

.navbar .nav-link.hasSubNav::after {
  display: inline-block;
  width: auto;
  height: auto;
  /* margin-left: 5px; */
  vertical-align: baseline;
  font-family: "qico";
  content: "\e7f0";
  font-weight: 600;
  border: none;
  font-size: 14px;
}

.header-lang .current-lang {
  border: 1px solid #ddd;
  border-radius: var(--button-radius);
}


.nav-right .theme-btn {
  color: #333;
  display: inline-block;
  padding: 14px;
  font-size: 14px;
  transition: all 0.5s;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  border-radius: var(--button-radius);
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  border: none;
  background: var(--color-primary);
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
}

.nav-right .theme-btn::before {
  background: #fff;
  content: "";
  height: 600px;
  width: 600px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%) scale(0);
  transition: 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.nav-right .theme-btn:hover {
   color: var(--color-primary);
}

.nav-right .theme-btn:hover::before {
  transform: translateY(-50%) translateX(-50%) scale(1);
}
.nav-right .theme-btn i {
  margin-left: 5px;
}

.nav-right .theme-btn span {
  margin-right: 5px;
}

@media all and (max-width: 1199px) {
  .nav-right {
    margin-left: 20px !important;
  }

  .navbar .nav-item .nav-link {
    margin-right: 15px;
  }

  .navbar .nav-right-btn {
    display: none;
  }

  .navbar-brand img {
    width: 150px;
  }
}

@media all and (min-width: 992px) {
  .navbar .nav-item .nav-link {
    margin-right: 20px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
  }

  .navbar .nav-item:last-child .nav-link {
    margin-right: 0;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    margin-top: 0;
    border: none;
    left: -15px;
    border-radius: 8px;
    background: #fff;
    width: 220px;
    box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  }

  .navbar .nav-item .dropdown-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .navbar .nav-item .dropdown-menu li:last-child {
    margin-bottom: 0;
    border-bottom: none;
  }

  .navbar .nav-item .dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 9px 25px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #000;
    position: relative;
    overflow: hidden;
    white-space: inherit;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
  }

  .navbar .nav-item .dropdown-menu .dropdown-item:hover {
    background: transparent;
    color: var(--color-primary);
    padding-left: 32px;
  }

  .navbar .nav-item .dropdown-menu .dropdown-item::before {
    content: "//";
    position: absolute;
    left: 15px;
    top: 9px;
    color: var(--color-primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    z-index: -1;
  }

  .navbar .nav-item .dropdown-menu .dropdown-item:hover::before {
    opacity: 1;
    visibility: visible;
  }

  .navbar .nav-item .nav-link {
    position: relative;
  }

  .navbar .nav-item .nav-link.active,
  .navbar .nav-item:hover .nav-link {
    color: var(--color-primary);
  }

  .navbar .nav-item:hover .dropdown-menu {
    transition: 0.3s;
    opacity: 1;
    visibility: visible;
    top: 100%;
    transform: rotateX(0deg);
  }

  .navbar .dropdown-menu-end {
    right: 0;
    left: auto;
  }

  .navbar .dropdown-menu.fade-down {
    top: 80%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
  }

  .navbar .dropdown-menu.fade-up {
    top: 140%;
  }

  .navbar #main_nav {
    justify-content: flex-end;
  }

  /* nav right */
  .nav-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: 45px;
  }

  .nav-right-link {
    position: relative;
    color: var(--title-text-color);
    background: transparent;
    transition: all 0.5s ease-in-out;
  }
  .nav-right-link i {
    font-size: 20px;
  }

  .nav-right-link:hover {
    color: var(--color-primary) !important;
  }

  .nav-right .sidebar-btn .nav-right-link {
    border: none;
    background: transparent;
    color: var(--title-text-color);
    padding-right: 0;
  }
  .nav-right .sidebar-btn .nav-right-link i {
    font-size: 26px;
  }

  .nav-right .theme-btn {
    padding: 12px 25px;
  }
}

/* mobile menu */
.mobile-menu-right {
  display: none;
}

.mobile-menu-right i {
  font-size: 22px;
}

@media all and (max-width: 991px) {
  /*.navbar {
    top: 0;
    right: 0;
    left: 0;
    position: fixed;
  }*/
  .navbar .container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar-brand {
    padding-left: 10px;
  }

  .navbar-brand img {
    width: 130px;
  }

  .navbar-collapse {
    max-height: 220px;
    overflow: hidden;
    overflow-y: auto;
    padding: 0 20px;
    background-color: #fff;
  }

  .dropdown-toggle::after {
    float: right;
  }

  .navbar .nav-item .nav-link {
    color: var(--title-text-color);
    font-weight: 700;
    transition: all 0.5s ease-in-out;
  }

  .navbar .nav-item .nav-link:hover {
    color: var(--color-primary) !important;
  }

  .navbar-toggler {
    padding: 0;
    border: none;
  }

  .mobile-menu-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .mobile-menu-right .nav-right-link {
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--title-text-color);
  }

  .mobile-menu-right .nav-right-link:hover {
    color: var(--color-primary);
  }

  .search-area.open {
    top: 50px !important;
  }

  .navbar-toggler-mobile-icon {
    font-size: 25px;
    color: var(--title-text-color);
    font-weight: 500;
  }

  .navbar .dropdown-menu {
    border-radius: 8px;
  }

  .nav-right {
    display: none;
  }
}

/*============================
13. Multi level dropdown menu
==============================*/

.navbar .nav-item .dropdown-submenu {
  position: relative;
}

.navbar .nav-item .dropdown-submenu .dropdown-menu::before {
  display: none;
}

.navbar .nav-item .dropdown-submenu a::after {
  transform: rotate(-90deg);
  position: absolute;
  right: 15px;
  top: 13px;
  font-weight: 600;
}

.navbar .nav-item .dropdown-submenu a:hover {
  background: transparent;
  color: #fff;
}

.navbar .nav-item .dropdown-submenu .dropdown-menu {
  top: 120%;
  left: 100%;
  opacity: 0;
  visibility: hidden;
}

.navbar .nav-item .dropdown-submenu:hover .dropdown-menu {
  top: 0;
  opacity: 1;
  visibility: visible;
}

@media all and (max-width: 991px) {
  /*.navbar .dropdown-toggle::after {
    content: "\e7eb";
  }*/
  .navbar .nav-item .dropdown-submenu a::after {
    transform: rotate(0);
  }

  .navbar .nav-item .dropdown-submenu .dropdown-menu {
    margin: 0 17px;
  }

  .navbar .nav-item .dropdown-submenu .dropdown-menu {
    opacity: unset;
    visibility: unset;
  }

  .navbar .nav-item .dropdown-submenu a::after {
    top: 4px;
  }

  .navbar .nav-item .dropdown-submenu a:hover {
    color: var(--color-primary);
  }
}

.search-area {
  position: absolute;
  top: 85px;
  right: 0;
  background: #fff;
  padding: 15px 15px;
  -webkit-box-shadow: 0 5px 15px rgb(0 0 0 / 10%);
  box-shadow: 0 5px 15px rgb(0 0 0 / 10%);
  width: 340px;
  visibility: hidden;
  opacity: 0;
  border-radius: 10px;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  z-index: 1;
}

.search-area.open {
  visibility: visible;
  opacity: 1;
  top: 78px;
}

.search-area .form-group {
  position: relative;
}

.search-area .form-control {
  padding: 12px 45px 12px 20px;
  border-radius: 10px;
  box-shadow: none;
}

.search-area .form-control:focus {
  border-color: var(--color-primary);
}

.search-area .search-icon-btn {
  position: absolute;
  right: 8px;
  top: 6px;
  background: transparent;
  border: none;
}
.search-area .search-icon-btn i {
  font-size: 20px;
  color: #000;
}

/*====================
sidebar popup css 
======================*/

.sidebar-popup {
  position: fixed;
  top: 0;
  left: 0;
  content: "";
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.sidebar-popup.open {
  visibility: visible;
  opacity: 1;
}

.sidebar-wrapper {
  position: fixed;
  top: 0;
  right: -100%;
  width: 450px;
  background: white;
  visibility: hidden;
  opacity: 0;
  padding: 40px;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  z-index: 9999;
}

.sidebar-wrapper.open {
  right: 0;
  visibility: visible;
  opacity: 1;
}

.sidebar-content {
  position: relative;
  overflow-y: auto;
  height: calc(100vh - 75px);
}

.close-sidebar-popup {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 38px;
  height: 38px;
  line-height: 36px;
  border-radius: var(--button-radius);
  text-align: center;
  border: none;
  font-size: 20px;
  background: #111111;
  color: white;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  transition: all 0.5s ease-in-out;
}

.close-sidebar-popup:hover {
  background: var(--color-primary);
}

.sidebar-logo img {
  width: 220px;
}

.sidebar-about {
  margin-top: 40px;
}

.sidebar-about h4 {
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sidebar-contact {
  margin-top: 20px;
}

.sidebar-contact h4 {
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.sidebar-contact li {
  margin: 10px 0;
}

.sidebar-contact li > div,
.sidebar-contact li > a {
  display: flex;
  align-items: center;
}

.sidebar-contact li p {
  word-break: break-word;
}

.sidebar-contact li i {
  margin-right: 5px;
  color: var(--color-primary);
  font-size: 20px;
}

.sidebar-contact li a:hover {
  color: var(--color-primary);
}

.sidebar-social {
  margin-top: 25px;
}

.sidebar-social h4 {
  margin-bottom: 20px;
  font-size: 19px;
  text-transform: uppercase;
}

.sidebar-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: var(--button-radius);
  margin-right: 8px;
  background: #111111;
  color: white;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
}

.sidebar-social a:hover {
  background: var(--color-primary);
}

/*====================
Scroll top css
======================*/

#scroll-top {
  position: fixed;
  bottom: -20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  border-radius: var(--button-radius);
  color: white;
  background-color: var(--color-primary);
  cursor: pointer;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.17);
  transition: all 0.5s ease-in-out;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

#scroll-top i {
  font-size: 28px;
}

#scroll-top.active {
  opacity: 1;
  visibility: visible;
  bottom: 20px;
}

@media all and (min-width: 768px) and (max-width: 1199px) {
  #scroll-top.active {
    bottom: 100px;
  }
}
