/* * --------------------- General ------------------- * */

/* ----------------------------------- Scroll To Top ------------------ */
.ew-scroll-to-top-wrap .ew-scroll-to-top-button {
  position: fixed;
  cursor: pointer;
}
.ew-scroll-to-top-wrap .ew-scroll-to-top-button * {
  transition: all 0.3s linear;
}

/* * --------------------- Logo ------------------- * */
.logo {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* * --------------------- Menu ------------------- * */

@media screen and (max-width: 768px) {
  #nairo-menu {
    position: fixed;
    right: -80px;
    width: 80px;
    z-index: 999999999 !important;
  }
}
@media screen and (max-width: 768px) {
  #nairo-menu-en {
    position: fixed;
    left: -80px;
    width: 80px;
    z-index: 999999999 !important;
  }
}
ul.menu {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}
ul.menu li {
  width: 100%;
  text-align: center;
  position: relative;
}
ul.menu li a {
  transition: all 0.35s ease;
  font-size: 20px;
}
ul.menu li p {
  margin: 0px;
  cursor: auto;
}

/* * --------------------- text Slider ------------------- * */
#text-slider-wrapper {
  overflow: hidden;
}
#text-slider-wrapper .slide {
  position: relative;
  top: 50px;
  right: 0;
}
#text-slider-wrapper .slide:nth-child(1) {
  top: 0;
}
/* * --------------------- Nairo Button------------------- * */
a.nairo-button {
  position: relative;
}
a.nairo-button:hover {
  transform: translateY(-50px);
}
/* * --------------------- Nairo Title------------------- * */
.nairo-title span.text {
  position: relative;
  z-index: 3;
}

/* * --------------------- Nairo Testimonial------------------- * */
.kitzu-testimonial-slider .testimonal-wrapper {
  display: flex;
  flex-direction: column;
}

.kitzu-testimonial-slider .testimonal-wrapper .testimonial-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kitzu-testimonial-slider
  .testimonal-wrapper
  .testimonial-meta
  .testimonial-commenter {
  display: flex;
  align-items: center;
}

/* * --------------------- Nairo Gallery------------------- * */
.grid {
  position: relative;
  display: flex;
  margin-right: -20px;
  direction: rtl;
  overflow: hidden;
}

.grid .grid-item {
  position: relative;
  width: 33.33333%;
  margin-bottom: 20px;
  padding-right: 20px;
  overflow: hidden;
  cursor: pointer;
}

.grid .grid-item:hover .caption,
.grid .grid-item:hover .grid-icon {
  opacity: 1;
}

.grid .grid-item .caption {
  position: absolute;
  padding: 10px 20px;
  top: 15px;
  right: 20px;
  z-index: 100;
  opacity: 0;
}

.grid .grid-item .grid-icon {
  position: absolute;
  padding: 10px 20px;
  bottom: 10px;
  left: 10px;
  z-index: 100;
  opacity: 0;
}

@media screen and (max-width: 991px) {
  .grid .grid-item {
    width: 50%;
  }
}
@media screen and (max-width: 767px) {
  .grid .grid-item {
    width: 100%;
  }
}

.filters-btn-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

/* ----------  Gallery Overlay -------- */
.portfolio-overlay-wrapper {
  width: 100%;
  height: 100vh;
  position: fixed;
  background-color: black;
  z-index: 9999999999999;
  top: 0;
  right: 0;
  background: #000000a6;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: none;
}
.portfolio-overlay-wrapper .overlay {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: space-between;
  justify-content: space-between;
}
.portfolio-overlay-wrapper .overlay .icons-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  position: absolute;
  top: 10px;
  left: 10px;
  cursor: pointer;
}
.portfolio-overlay-wrapper .overlay .icons-wrapper i {
  font-size: 20px;
}
.portfolio-overlay-wrapper .overlay .thumbnails {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
}
.portfolio-overlay-wrapper .overlay .thumbnails img {
  width: 75px;
  height: 75px;
  cursor: pointer;
  opacity: 0.7;
  background: #000000a6;
}

.portfolio-overlay-wrapper .overlay .thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profession-scroller {
  animation-name: animatedButton;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes animatedButton {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  25% {
    transform: translateY(-5px);
    opacity: 0.5;
  }
  50% {
    transform: translateY(0px);
    opacity: 1;
  }
  75% {
    transform: translateY(5px);
    opacity: 0.5;
  }
  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

/* ----------  conatct ------------ */
#nairo-contact-for .nairo-btn {
  background: transparent !important;
  outline: 0px !important;
}
