/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/*
 * --------------------------------- GENERAL ---------------------------------
 */

a {
	text-decoration: none !important;
}

.main-header-menu .sub-menu {
	font-size: 0.8rem;
}

/*  all contents blow menu  */
.site-content {
    margin-top: 180px;
}

.e-con {
	padding-left: 0 !important;
	padding-right: 0 !important;
}


/* --------------------------------- search result --------------------------------- */

.search .entry-header {
	display: none;
}

.entry-title a{
    color: var(--ast-global-color-0);

}


/*  --------------------------------- ASTRA --------------------------------- */
.ast-container {
	max-width: 100vw;
	padding: 0;
	margin: 0;
}


.ast-above-header-wrap {
    position: fixed;
    top: 0px;
    width: 100%;
    transition: top 0.3s ease-in-out; /* Smooth transition */
	z-index:300;
}
.ast-primary-header-bar {
    position: fixed; /* Make sure it's positioned absolutely in its container */
    top: 0px; /* Start at its default position */
	left: 0px;
    height:150px;
    width: 100%; /* Adjust as needed */
    margin-top: 0px;
	padding-left: 10px;
    background-color: rgba(255, 255, 255, 0.8) !important;
    transition: top 0.3s ease-in-out; /* Smooth transition */
}

.ast-mobile-header-wrap {
	margin-top:60px;
}

.content-align-flex-start .ast-builder-layout-element {
	justify-content: center !important;
	padding: 10px 0;
}

.ast-below-header-wrap {
    position: fixed;
/*     height: 35px; */
    top: 80px;
	right: 30px;
	width: 20px;
    margin-top: 30px;
    /* Add other styling as needed */
    transition: top 0.3s ease-in-out; /* Smooth transition */
/* 	background: none !important; */
/*     background-color: rgba(255, 255, 255, 0) !important; */
	z-index:299;
}
   
.ast-below-header-bar {
        border-bottom-width: 0px;
        border-bottom-color: rgba(0, 0, 0, 0);
        border-bottom-style: solid;
    }

.ast-below-header-bar {
        background-color: rgba(0, 0, 0, 0);
        background-image: none;
    }

.ast-header-break-point .ast-below-header-bar {
        background-color: rgba(0, 0, 0, 0);
    }


/*  FOR tablet and mobile ----- BURGER MENU */
@media(max-width: 921px) {
	.nojq {
		display: none;
	}

	.site-content {
    	margin-top: 30px;
	}

	.ast-mobile-header-content {
		position: fixed;
		top: 130px;
	}
	
	.ast-primary-header-bar {
		height: 80px;
	}

	.ast-builder-menu-mobile .main-header-menu, .ast-header-break-point .ast-builder-menu-mobile .main-header-menu  {
		background-color: rgba(255, 255, 255, 0.9);
		width:100%;
	}
	.ast-header-search {
		position: fixed;
		top: 90px;
		width: 100%;
		z-index:130;
	}
	
	.search-field {
		z-index: 140;
	  	width: 100% !important;
  		opacity: 1 !important;
  		display: block !important;
	}
	.header-overlay {
	  z-index: 120;
	}

}

@media (max-width: 544px) {
	.ast-mobile-header-content {
		position: fixed;
		top: 120px;
	}
	.ast-builder-menu-mobile .main-header-menu, .ast-header-break-point .ast-builder-menu-mobile .main-header-menu  {
		top: 0px;
	}

	.ast-header-search {
		position: fixed;
		top: 70px;
		width: 100%;
		z-index:30;

	}
	.search-field {
		z-index: 140;
	  	width: 100% !important;
  		opacity: 1 !important;
  		display: block !important;
	}
	.header-overlay {
	  z-index: 120;
	}
	.site-content {
		margin-top: 70px !important;
	}
}



/* --------------------------------- menu icons  ---------------------------------
 *  About Takano 
 */

#menu-item-1060 > a {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Add SVG after text */
#menu-item-1060 > a::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background: url("/wp-content/uploads/2025/05/takano-mark.svg") no-repeat center;
    background-size: contain;
    transition: filter 0.3s ease;
}

/* Hover effect: change to blue */
#menu-item-17 > a:hover::after {
    filter: brightness(0) saturate(100%) invert(27%) sepia(99%) saturate(748%) hue-rotate(181deg) brightness(89%) contrast(101%);
}

/* menu icons  -- About Takano */
#menu-item-385 > a {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* --------------------------------- Add SVG after text --------------------------------- */
/*  SHUTTER */
#menu-item-385 > a::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 8px;
    background: url("/wp-content/uploads/2025/05/pictgram-icons-shutter-2.svg") no-repeat center;
    background-size: contain;
    transition: filter 0.3s ease;
}

/* sorting */
#menu-item-1034 > a::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 8px;
    background: url("/wp-content/uploads/2025/05/pictgram-icons-sort-1.svg") no-repeat center;
    background-size: contain;
    transition: filter 0.3s ease;
}

/* locking */
#menu-item-1582 > a::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 8px;
    background: url("/wp-content/uploads/2025/05/locking.svg") no-repeat center;
    background-size: contain;
    transition: filter 0.3s ease;
}

/* position */
#menu-item-1583 > a::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 8px;
    background: url("/wp-content/uploads/2025/05/pictgram-icons-positioning-1.svg") no-repeat center;
    background-size: contain;
    transition: filter 0.3s ease;
}

/* fluid */
#menu-item-1053 > a::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 8px;
    background: url("/wp-content/uploads/2025/05/pictgram-icons-fluid.svg") no-repeat center;
    background-size: contain;
    transition: filter 0.3s ease;
}


/* --------------------------------- Hover effect: change to blue --------------------------------- */
#menu-item-385 > a:hover::after {
    filter: brightness(0) saturate(100%) invert(27%) sepia(99%) saturate(748%) hue-rotate(181deg) brightness(89%) contrast(101%);
}

.elementor-button {
	width: 100% !important;
}


/* SLIDER */
.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    height: 0;
}
.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* White arrow buttons */
.swiper-button-next,
.swiper-button-prev {
    color: white !important;
}

/* Pagination bullets */
.swiper-pagination {
    text-align: center;
    margin-top: 10px;
}
.swiper-pagination-bullet {
    background-color: #aaa !important;
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background-color: white;
}

/* Make sure the slider container is positioned normally */
.vimeo-slider {
  position: relative;
  padding-bottom: 40px; /* space below for pagination dots */
}

/* Style the pagination container */
.swiper-pagination {
  position: relative !important;  /* remove absolute positioning */
  bottom: auto !important;
  margin-top: 10px;
  text-align: center;
  width: 100%;
  z-index: 10;
  background: transparent; /* no background */
}

/* Style pagination bullets */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #aaa;
  opacity: 1;
  margin: 0 6px;
  border-radius: 50%;
  display: inline-block;
}

.swiper-pagination-bullet-active {
  background: #000;
}

/*  
 * --------------------------------- MODAL ------------------------------------
 * NOTE: DON'T FORGET TO ADD A HTML BLOCK FOR THE MODAL AT THE VERY END OF PAGE !!!
 * 
 * <!-- Image Modal HTML -->
 * <div id="image-modal" class="custom-image-modal">
 * <span class="close-modal">&times;</span><img id="modal-img" src="" alt="Modal Image" />
 * </div>
 * 
 * */

.custom-image-modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 9999;
  top: 0;
	left:0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
	border: 10px solid #888;
}

.custom-image-modal img {
  width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  pointer-events: auto;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: #333;
  cursor: pointer;
  z-index: 10000;
}

/* Make sure container allows pseudo-element positioning */
.enlarge-image {
  position: relative;
  display: inline-block;
  cursor: zoom-in;
}

/* Add the magnify icon using ::before */
.enlarge-image::before {
  content: "\f002"; /* Unicode for magnifying-glass */
  font-family: FontAwesome;
  font-weight: 900; /* 900 = solid */
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 18px;
  color: #333;
  padding: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/*  Spec Header height */
.spec-head {
	height: 50px;
}

.spec-head:first-child {
	font-size: 0.9rem !important;
}


.pt-head {
	height: 25px;
}

.pt-head:first-child {
	font-size: 0.9rem !important;
}
