/*====================
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;
}
.header .container{
  width: 100%;
}

/* .header .lang-selector{
  width: auto;
} */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  font-family: var(--font-family);
}
.header  .lang-selector{
  width: auto;
}
#main_nav {
    margin: 0 auto;
    justify-content: center;
  }

.header a:hover{
  color: var(--title-text-color);
  position: relative;
}
.header .nav-item a{
  text-decoration: none;
  transition: all 0.6s ease 0s;
}
.header .nav-item{
  position: relative;
}
.header .nav-item .nav-link:hover::after{
  content: "";
  width: 60%;
  height: 2px;
  background: #D9D9D9;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.6s ease 0s;
}
.tanthos_head_nav_setting_icon{
  width: 25px;
  cursor: pointer;
}
.search-btn,.sidebar-btn{
  display: none;
}
.header .tanthos_head_nav_setting_form{
    position: relative;
    color: var(--text-color);
}

.header .tanthos_head_nav_setting_form .iconfont{
    position: absolute;
    top: 2px;
    right: 5px;
    font-size: 24px;
    cursor: pointer;
}
.header .tanthos_head_nav_setting_icon{
  cursor: pointer;
}
.header .tanthos_head_nav_setting_form input{
    height: 35px;
    width: 230px;
    padding: 0 30px 0 10px;
}
.header .tanthos_head_nav_setting_icon{
    width: 25px;
}

.tanthos_head_top {
  text-align: center;
  background: var(--color-primary);
  color: var(--title-text-color);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.4px;
  padding: 8px 0;
  transition: all 0.5s ease-in-out;
}

@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;
  }
}

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

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

.navbar.fixed-top {
  background: var(--color-primary);
  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(--font-family);
  margin-left: 20%;
}

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

.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
  color: var(--title-text-color);
}

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

.navbar-text {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  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 {
  width: 180px;
  max-height: 50px;
  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 {
  color: var(--title-text-color);
}

.nav-right .theme-btn {
  display: inline-block;
  font-size: 14px;
  color: var(--text-color);
  padding: 14px 25px;
  transition: all 0.5s;
  text-transform: uppercase;
  position: relative;
  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%);
  z-index: 1;
}

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

.nav-right .theme-btn:hover {
  color: #fff;
}
.nav-right{
  display: flex;
  align-items: center;
}

.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: var(--title-text-color);
    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: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%;
  }

  /* #main_nav {
    margin: 0 auto;
  } */

  /* 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;
} */


/*============================
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);
  }
  .container{
    width: 100%;
    padding: 0;
  }

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

  .navbar .nav-item .dropdown-submenu .dropdown-menu {
    opacity: unset;
    visibility: unset;
  }
  .tanthos_head_nav_setting_form,.tanthos_head_nav_setting_icon{
    display: none;
  }
  .search-btn,.sidebar-btn{
    display: block;
  }
  .search-btn .qico{
    color: var(--title-text-color);
    font-size: 22px;
    margin-right: 25px;
  }

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

}

@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);
  }
  .navbar-collapse{
    position: absolute;
    top: 66px;
    width: 100vw;
    background: #fff;
    padding: 0 20px 30px 20px;
    left: -15px;
  }
  .header a:hover{
  color: var(--text-color);
  position: relative;
}
.header .nav-item a{
  text-decoration: none;
  transition: all 0.6s ease 0s;
}
.header .nav-item{
  position: relative;
}
.header .nav-item .nav-link:hover::after{
  content: "";
  width: 0;
}
}

.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;
}

/*====================
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-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%);
}


/*====================
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;
  }
}
