/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

.homeslider .elementor-slide-heading{ background-color: #001c33a1; padding: 30px; margin-bottom: 0 !important;
    padding-bottom: 20px !important;	 border-top-left-radius:3px; border-top-right-radius:3px; }
.homeslider .elementor-slide-description{ background-color: #001c33a1; padding: 0 30px 30px; border-bottom-left-radius:3px;
	border-bottom-right-radius:3px; }
.homeslider .elementor-slide-description h3{ margin-bottom: 0; }

.arrow-button .elementor-button { position: relative; overflow: hidden; transition: all 0.3s ease-in-out; }
.arrow-button .elementor-button:hover { padding-right: 40px;  }
.arrow-button .elementor-button .elementor-button-icon { position: absolute; right: -30px; top: 50%; transform: translateY(-50%);
    opacity: 0; transition: all 0.3s ease-in-out; }
.arrow-button .elementor-button:hover .elementor-button-icon { right: 15px;  opacity: 1;}
.arrow-button .elementor-button-text { position: relative; display: inline-block;}
.arrow-button .elementor-button-text:after { content: ""; position: absolute; left: 0;
    bottom: -3px; width: 100%; height: 2px; background-color: currentColor; transform: scaleX(0); transition: transform 0.3s ease-in-out;
}
.arrow-button .elementor-button:hover .elementor-button-text:after { transform: scaleX(1);}


.tile-button .elementor-button { position: relative; overflow: hidden; transition: all 0.3s ease-in-out;}
.tile-button .elementor-button:hover { padding-right: 40px; }
.tile-button .elementor-button .elementor-button-icon { position: absolute; right: -30px; top: 50%;
    transform: translateY(-50%); opacity: 0; transition: all 0.3s ease-in-out; }
.tile-button .elementor-button:hover .elementor-button-icon { right: 15px; opacity: 1; }
.tile-button .elementor-button-text { position: relative; display: inline-block; }
.tile-button .elementor-button-text:after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 2px; 
	background-color: currentColor; transform: scaleX(0); transition: transform 0.3s ease-in-out;}
.tile-button .elementor-button:hover .elementor-button-text:after { transform: scaleX(1); }

.homeslider .elementor-button { position: relative; text-decoration: none; display: inline-block; font-size: 16px;
    padding: 10px 20px; transition: all 0.3s ease; overflow: hidden; white-space: nowrap;}
.homeslider .elementor-button:hover { text-decoration: underline; padding-right: 40px; }
.homeslider .elementor-button::after { content: "\f054"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute;  opacity: 0; 
	right: 10px; transform: translateX(-10px); transition: all 0.3s ease; }
.homeslider .elementor-button:hover::after { opacity: 1; transform: translateX(0);}

.single-product .site-breadcrumbs{margin-top: 0;}
.woocommerce .woocommerce-breadcrumbs{    color: black;}
.woocommerce-product-gallery div{    box-shadow: 0px 5px 5px #5c86ab8a;}
.single-product.woocommerce div.product .product_title{padding-bottom: 0;}
.single-product .spec-node-2{display: flex; flex-wrap: nowrap; gap: 10px; min-width: 33%; margin: auto 0; padding: 8px 0; align-items: center;}
.hidethisinput{display: none;}
.single-product .product-spec-icon-spacing{ display: flex; flex-shrink: 0; align-items: center;}
/*.single-product .product-spec-value-spacing{    margin-right: 32px;}*/
.single-product .neweb-standard-link{ color: #044177; cursor: pointer;}
.single-product .spec-node-section-wrapper{ margin: 10px 0; display: flex; flex-wrap: wrap; gap:10px;}
.single-product a.added_to_cart{    margin-left: 10px; text-decoration: underline;}
.single-product .product-spec-icon-spacing p{margin-bottom: 0;}
.single-product .product-spec-value-spacing p{margin-bottom: 0;}
.single-product .prod-tabs{    border: 1px solid #044177;}
.single-product .prod-tabs .e-n-tabs-heading{    background: #f4f4f4;}
.single-product .upsell_products li.category,.single-product .upsell_products .price-wrap{display: none !important;}
.single-product .related-products li.category,.single-product .related-products .price-wrap{display: none !important;}
.single-product .related-products .title h2 a{color:#fff !important; }
.tabs-packaging-padding{    padding: 16px; background-color: #f4f4f4; border: 1px solid #dddddd;}
.width100{    width: 100%;}
.flexed{    display: flex; flex-wrap: wrap;}

.logo-container{height: 75px;}

.install-guide-tabs .e-n-accordion-item-title{    justify-content: space-between !important;}
.install-guide-tabs details{    border: 1px solid #d9d9d9 !important;}
.install-guide-tabs details:not([open]) {     background-color: #f4f4f4 !important; }

.tooltip{ position: relative;}
.tooltip .tooltiptext{ visibility: hidden; width: 200px; background-color: #555; color: #fff; text-align: center; border-radius: 6px;
    padding: 5px 0; position: absolute; left: 50%; top: -150px; z-index: 1; margin-left: -100px; opacity: 0; transition: opacity 0.3s; }

.tooltip:hover .tooltiptext { visibility: visible; opacity: 1; }

.hrs-operation{padding: 10px 0; border: 2px solid #333; font-family: abel; font-weight: 400; font-size: 15px; color: #2EA3F2; text-align: center; }
.blockUI h2{    margin-bottom: 0; padding: 20px 0;}
.blockUI:before{display: none;}

.custom-category-grid { display: flex; justify-content: center;  gap: 20px;  margin-bottom: 30px;
      margin-left: auto; margin-right: auto; }
.custom-category-grid .category-box { background-size: cover;
    background-position: center; display: flex; align-items: center; justify-content: center; position: relative; 
    overflow: hidden; cursor: pointer; height: 200px; border-radius: 5px;}
.custom-category-grid .category-box-container:hover {box-shadow: 0 0 2px 5px #494949;}
#gallery-images .gallery-category{}
#gallery-images .gallery-category .gallery-category-inner{display: flex;gap: 20px; flex-wrap: wrap;}
     

.custom-category-grid .category-box h3 { color: black; font-size: 25px; line-height: 25px; font-weight: bold; text-align: center; margin-bottom:0;}
/*#gallery-images { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; }*/
#gallery-images .attachment-item {    overflow: hidden;  width: calc(25% - 20px);  height: 200px; position: relative;}
#gallery-images .attachment-item .image-wrapper { position: relative; width: 100%; height: 100%;}

#gallery-images .attachment-item  .loader { position: absolute;  top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
    border: 4px solid #ccc; border-top-color: #333; border-radius: 50%; animation: spin 1s linear infinite; z-index: 2; }
@keyframes spin {
    to { transform: rotate(360deg); }
}

#gallery-images .gallery-item{  overflow: hidden;  width: calc(25% - 20px);   height: 200px; position: relative;}
#gallery-images .gallery-item .image-wrapper{ position: relative; width: 100%; height: 100%;}
#gallery-images .gallery-item .image-wrapper a{display: inline;}
#gallery-images .attachment-item img { width: 100%; height: 100%; object-fit: cover; display:none; border-radius: 10px; }
#gallery-images .gallery-item img{width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

.gallery-grid-inner{ display: flex;gap: 20px; flex-wrap: wrap;}


#category-search-form {position: relative; display: flex; justify-content: flex-start; margin-bottom: 30px;}
#category-search-form .search-container { position: relative; display: flex; align-items: stretch; width: 300px; border: 1px solid #ddd; border-radius: 5px;
    overflow: hidden; margin-bottom:20px; }
#category-search-form #search_term { flex: 1; padding: 10px; border: none; outline: none; }
#category-search-form .search-container button { background: #0073aa; border: none; color: white; padding: 10px 15px; cursor: pointer;}
#category-search-form .search-container button i { font-size: 16px; }
#category-search-form .autocomplete-dropdown { position: absolute; top: 100%; left: 0; width: 300px; background: white;
    border: 1px solid #ddd; border-top: none; max-height: 200px; overflow-y: auto; display: none; z-index: 1000; margin:0; }
#category-search-form .autocomplete-dropdown li { padding: 10px; cursor: pointer; list-style: none;}
#category-search-form .autocomplete-dropdown li:hover {background: #f0f0f0;}
.gallery-cat-title{font-size: 24px; line-height: 36px;text-align: center;}

/* 1. Always show arrows */
.page-id-245244 .lb-prev,.page-id-245244  .lb-next {
    opacity: 1 !important;
    visibility: visible !important;
}

.page-id-245244 .lb-prev:active,.page-id-245244 .lb-next:active{
    outline: none !important;
}

/* Optional: make arrows more visible */
.page-id-245244 .lb-prev:hover, .page-id-245244 .lb-next:hover {
    opacity: 1 !important;
}

/* 2. Move the close icon to the top-right */
.page-id-245244 .lb-close {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    background: none !important;
    font-size: 32px !important;
    color: white !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* Optional: improve accessibility and visibility */
.page-id-245244 .lb-close:after {
    content: '×';
    font-size: 32px;
    line-height: 1;
    display: block;
}

.blockUI.blockOverlay:before{display: none;}
#gallery-images button#load-more-btn{text-align: center; margin: 20px auto; display: block; padding: 10px 20px; background: #0073aa; color: #fff; border-radius: 5px;}

#load-more-search-results{text-align: center; margin: 20px auto; display: block; padding: 10px 20px; background: #0073aa; color: #fff; border-radius: 5px;}
.blue_h3{ font-size: 18px; font-weight: 700; color: #0C71C3 !important; line-height: 1.5em; text-align: center; }
.fluentform hr{ background-color: #dadbdd !important; border: none; height: 1px; margin-bottom: 10px !important; }
.catalog-imgbox h3{margin-bottom: 0;}
.aqb-btn-cta{    border: 1px solid #0985F2;  color: white; background-color: #0985F2; text-align: center; padding: .75em 1em; cursor: pointer;}


.lightbox .lb-data{ position: relative; }
.lightbox .lb-data .lb-details{ position: absolute; float: none; top: -42px; left: 5px; display: inline-flex; align-items: center;  width: auto; }
.lightbox .lb-data .lb-caption{ color: #fff; padding: 10px; background: rgba(0, 0, 0, 0.5); }
.lightbox .lb-data .lb-number{ display: none !important; }
.lightbox .lb-data .lb-caption:empty{display: none !important; }


