/*
Theme Name: Astra child
Author: 
Description: Your description goes here
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

.header-container{
	background-color: #fff;
  z-index: 6;
  transition: background-color 0.3s ease;
  .site-branding{
    width: 15%;
  }
  #search-icon {
    width: 15%;
    text-align: right;
    z-index: 0;
    svg{
      cursor: pointer;
    }
  }
}

.header-container.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #000000e0;
  .toggle span {
    background: #fff;
  }
  .toggle{
    p{
     color: #fff;
   }
 }
 #search-icon svg{
  fill: #fff !important;
}
.sticky-logo{
  display: block;
}
.static-logo{
  display: none;
}
}
.sticky-logo{
  display: none;
}
.custom-site-header {
 width: 100%;
 max-width: 1900px;
 display: flex;
 justify-content: space-between;
 margin: 0 auto;
 align-items: center;
 padding: 0 20px;
}
.toggle span {
  width: 25px;
  height: 1px;
  display: block;
  background: #000;
  margin: 0 0;
}
.toggle{
  display: flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.3s ease-in-out;
  p{
    margin: 0;
    padding: 0;
    font-size: 22px;
    color: #000;
    font-weight: 400;
  }
}
/*.site-branding {
  position: relative;
  }*/
  .site-logo img {
    width: 150px;
    padding: 10px 0px;
  }
  .main-navigation {
    position: fixed;
    transform: translateX(-100%);
    width: 100%;
    background: #000;
    height: 100vh;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    z-index: 0;
    top: 0;
    left: 0;
    opacity: .925;  
  }
  .main-navigation.open .menu-main-menu-container{
    animation: slidetop .5s ease;
  }
  @keyframes slidetop{
    100%{transform: translateY(0%);}
    0%{transform: translateY(-100%);}
  }
  .menu-main-menu-container {
    padding: 90px 0px 0 50px;
  }
  .main-navigation.open {
    transform: translateX(0%);
  }
  .main-navigation.open .menu-link{
    animation: animateIn .8s;
  }
  @keyframes animateIn{
    0% {
      opacity: 0;
      -webkit-transform: scale(.6);
      transform: scale(.6);
    }
    100% {
      opacity: 1;
    }
  }
  .menu-item{
    position: relative;
  }
  .current-menu-item .menu-link::before {
    content: "\2732";
    position: absolute;
    top: 35%;
    left: -10px;
    font-size: 28px;
    transform: translateY(-50%);
    font-weight: 500;
    animation: starrotating 4s infinite;
  }
  @keyframes starrotating{
    0% {
      -webkit-transform: scale(.4) rotate(0deg);
      transform: scale(.4) rotate(0);
    }
    50% {
      -webkit-transform: scale(1) rotate(90deg);
      transform: scale(1) rotate(90deg);
    }
    100% {
      -webkit-transform: scale(.4) rotate(180deg);
      transform: scale(.4) rotate(180deg);
    }
  }
  .toggle, .close-btn {
    cursor: pointer;
  }
  .toggle.open span{
   z-index: 999;
   position: relative;
   background: #fff;

 }
 .toggle span, .close-btn span {
  display: block;
  width: 25px;
  height: 2px;
  margin-bottom: 5px;
  transition: 0.3s ease;
}
.toggle span:last-child{
  margin-bottom: 0;
}
.close-nav {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: none;
} 

.toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  transition: all 0.3s ease;
}

.toggle.open span:nth-child(2) {
  opacity: 0;
}

.toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  transition: all 0.3s ease;
}
.main-navigation.open .close-btn {
  display: block;
}

.close-btn span:first-child {
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 0;
}

.close-btn span:last-child {
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  left: 0;
}
.menu-main-menu-container .menu-link{
  display: block;
  padding: 10px 20px;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
}
.menu-main-menu-container .current-menu-item .menu-link {
  animation-name: colorchange;
  -webkit-animation-duration: 14s;
  animation-duration: 14s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
@keyframes colorchange{
  0% {
    color: #fff;
  }
  20% {
    color: #cff;
  }
  40% {
    color: #ccf;
  }
  60% {
    color: #fcc;
  }
  80% {
    color: #ffc;
  }
  100% {
    color: #fff;
  }
}
.site-logo {
  z-index: 1;
}
.search-icon {
  z-index: 1;
}
.show-popup {
  .search-content-box{
   transform: translateX(0%) !important;
 }
 label{
   -webkit-transform: translateZ(0);
   transform: translateZ(0);
 }
}
@media (max-width: 767px){
  .menu-item {
    margin-bottom: 15px;
    padding-bottom: 10px;
}
}
#search-icon .search-content-box{
  position: fixed;
  transform: translateX(100%);
  width: 100%;
  background: #000;
  height: 100vh;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  z-index:1;
  top: 0;
  left: 0;
  opacity: .925;
  transition: ease .5s fadein;
}
.search-content-box .search-form {
  display: flex;
  justify-content: flex-end;
  position: fixed;
  top: 0;
  right: 20px;
  padding-top: 58px;
  transform: translateX(100%);
  padding-left: 20px;
  transition: all ease-in .5s;
  label{
    display: flex;
    align-items: center;
    column-gap: 15px;
  }
  .search-field{
    height: 55px;
    background: transparent;
    border-bottom: 1px solid #fff !important;
    border-radius: 0;
    border: 0;
    font-size: 22px;
    color: #fff !important;
    padding-left: 0px;
  }
  .search-submit{
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #fff;
    color: #fff;
    transition: ease-in .5s;
    font-size: 22px;
    &:hover{
      border-radius: 50px;
    }
  }
}
.show-popup .search-content-box .search-form{
  transform: translateX(0%);
}
.x-search-close {
  position: absolute;
  right: 30px;
  cursor: pointer;
  z-index: 99999;
  top: 18px;
  z-index: 2;
  span {
    background: #fff;
    height: 2px;
    width: 25px;
    cursor: pointer;
    display: block;
  }
  span:nth-child(1){
    transform: rotate(45deg) translate(11px, 1px);
    transition: all 0.3s ease;
  }
  span:nth-child(2){
    transform: rotate(-45deg) translate(0px, 10px);
    transition: all 0.3s ease;
  }
}
.wpsf-subscribe_to_our_newsletter{
  background-color: transparent;
  padding-bottom: 0;
}

.wpsf-form-wrap.wpsf-template-1 .wpsf-form-submit {
  background-color: #000000 !important;
  color: #fff !important;
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: 22px !important;
  text-transform: capitalize;
  padding: 0px 45px;
}
.artwork-newsletter p{
  color: #000000;
  font-family: "Montserrat", Sans-serif;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 00px;
}
.artwork-newsletter .wpsf-subscribe_to_our_newsletter {
  background: transparent;
  max-width: 60%;
  width: 100%;
  margin: 0 auto;
  .wpsf-subscription-form{
   max-width: 60%;
   margin: 0 auto;
   width: 100%;
 }
}
.wpsf-subscription-form{
  .both-fields-wrap {
    margin-bottom: 0;
    display: block;
    .wpsf-field-wrap .wpsf-email{
      background: transparent;
      border: 2px solid #000;
      text-align: left;
      margin-bottom: 20px;
      font-size: 16px;
      color: #000;
      width: 100%;
    }
  }
  .wpsf-field-wrap {
    flex: 0;
  }
.contact-form .wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #000;
    border-radius: 0;
    font-size: 20px;
}

	if(.ast-post-nav){
   border-radius: 50px;
}else{
  border-radius: 50px 0 0 50px;
}