/*
Theme Name: NL Softworks Blocks
Theme URI: https://nlsoftworks.com/
Author: NL Softworks
Author URI: https://nlsoftworks.com/
Description: A theme created by the NL Softworks team for best performance, conversions and SEO.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.0.11
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nls-block-theme
Tags: 
*/

/* 
 * Global Styles
 * ----------------------------------------
 */
 .wc-block-mini-cart__footer .wc-block-components-totals-item.wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__description {
    display: none !important;
 }
 .entry-content, 
 footer.wp-block-template-part {
     margin-block-start: 0;
 }
 
 .hidden {
     display: none !important;
 }
 
 /* 
  * Media Queries
  * ----------------------------------------
  */
 @media only screen and (min-width: 1025px) {
     .hidden-desktop {
         display: none !important;
     }
 }
 
 @media (min-width: 600px) and (max-width: 1024px) {
    .hidden-tablet {
        display: none !important;
    }
}

 @media only screen and (max-width: 599px) {
     .hidden-mobile {
         display: none !important;
     }
     a.wp-block-navigation-item__content {
        font-size: 32px;
    }
 }
 
 @media only screen and (max-width: 782px) {
     

    /* Columns */
     .columns-reverse {
         flex-direction: column-reverse;
     }
     
     .content-two-column .wp-block-image img {
         padding-bottom: var(--wp--preset--spacing--80);
     }
     
     :root {
         --wp--preset--spacing--20: 0.44rem;
         --wp--preset--spacing--30: 0.67rem;
         --wp--preset--spacing--40: 1rem;
         --wp--preset--spacing--50: 1.5rem;
         --wp--preset--spacing--60: 2.5rem;
         --wp--preset--spacing--70: 2.5rem;
         --wp--preset--spacing--80: 2.5rem;
     }
     
     .has-x-large-font-size {
         font-size: var(--wp--preset--font-size--medium) !important;
     }
     
     .has-large-font-size {
         font-size: var(--wp--preset--font-size--medium) !important;
     }
     
     body .blog-preview .is-layout-flex {
         justify-content: left;
     }
 }
 



 /* 
  * Blocks Sections
  * ----------------------------------------
  */
 @media only screen and (max-width: 600px) {
     .icons-only-multi-column .is-layout-flex {
         display: flex;
         justify-content: center;     /* Center the whole row */
         flex-wrap: wrap;             /* If needed for responsive */
     }
     
     .icons-only-multi-column .is-layout-flex > * {
         width: calc(100% / 3 - 1rem); /* Simulate 3 columns */
         max-width: 300px;             /* Optional: to prevent oversized items */
     }
 
     .mosaic-oscilating-3-images .wp-block-image {
         margin-top: 0 !important; 
         margin-bottom: 0 !important; 
     }
     
     .mosaic-oscilating-3-images .wp-block-gallery {
         --wp--style--unstable-gallery-gap: 0 !important;
     }
 
     .mosaic-oscilating-5-images .wp-block-image {
         margin-top: 0 !important; 
         margin-bottom: 0 !important; 
     }
     
     .mosaic-oscilating-5-images .wp-block-gallery {
         --wp--style--unstable-gallery-gap: 0 !important;
     }
 }
 
 /* 
  * Gforms Sections
  * ----------------------------------------
  */
 .gform_button, .gform-button {
     background-color: var(--wp--preset--color--primary);
     border-radius: 10px;
     border-width: 0;
     color: var(--wp--preset--color--inverse-text-color);
     font-family: inherit;
     font-size: inherit;
     line-height: inherit;
     padding: calc(0.667em + 2px) calc(1.333em + 2px);
     text-decoration: none;
 }
.gform-button {
    height: 54px;
    width: 100%;
    padding: inherit;
}

 .gform_wrapper.gravity-theme .gform_footer, 
 .gform_wrapper.gravity-theme .gform_page_footer {
     margin: 12px 0 0 !important;
     padding: 0 !important;
 }
 
 .gform_wrapper.gravity-theme input[type=color], 
 .gform_wrapper.gravity-theme input[type=date], 
 .gform_wrapper.gravity-theme input[type=datetime-local], 
 .gform_wrapper.gravity-theme input[type=datetime], 
 .gform_wrapper.gravity-theme input[type=email], 
 .gform_wrapper.gravity-theme input[type=month], 
 .gform_wrapper.gravity-theme input[type=number], 
 .gform_wrapper.gravity-theme input[type=password], 
 .gform_wrapper.gravity-theme input[type=search], 
 .gform_wrapper.gravity-theme input[type=tel], 
 .gform_wrapper.gravity-theme input[type=text], 
 .gform_wrapper.gravity-theme input[type=time], 
 .gform_wrapper.gravity-theme input[type=url], 
 .gform_wrapper.gravity-theme input[type=week], 
 .gform_wrapper.gravity-theme select, 
 .gform_wrapper.gravity-theme textarea {
     font-size: 16px !important;
     padding: 16px !important;
     border-radius: 0;
     border: 1px solid #ccc;
     font-family: var(--wp--preset--font-family--inter);
 }
 
 ::placeholder {
     font-family: var(--wp--preset--font-family--inter);
 }
 
 :focus-visible {
     outline: none;
 }
 
 /* 
  * Slick Slider Sections
  * ----------------------------------------
  */
 /* Base styles for all slick sliders */
 .my-slick-slider {
     width: 100%;
 }
 
 .my-slick-slider .slick-slide {
     margin: 0 10px; /* Default margin between slides */
     transition: transform 0.3s ease;
 }
 
 .slick-slide img {
     margin: auto;
 }
 
 /* Increase space between slides */
 .custom-slick-slider .slick-slide {
     margin: 0 25px;
     transition: transform 0.3s ease;
 }
 
 /* Keep your oscillating effect */
 .custom-slick-slider .slick-slide:nth-child(odd) {
     margin-top: 30px;
 }
 
 .custom-slick-slider .slick-slide:nth-child(even) {
     margin-bottom: 30px;
 }
 
 .my-slick-slider img {
     margin: auto;
 }
 
 /* Increase space between slides */
 .my-slick-slider .slick-slide {
     margin: 0 25px;
 }
 
 /* Special handling for sliders with fewer slides than slidesToShow */
 .my-slick-slider.few-slides .slick-track {
     display: flex !important;
     justify-content: space-between !important;
     width: 100% !important;
     transform: none !important; /* Prevent slick from adjusting position */
 }
 
 .my-slick-slider.few-slides .slick-slide {
     float: none !important;
     width: auto !important; /* Let content determine width */
     max-width: 30%; /* Prevent slides from getting too wide */
     margin: 0 auto; /* Center slides */
     flex: 1; /* Allow slides to grow */
 }
 
 /* Hide any cloned slides in few-slides mode */
 .my-slick-slider.few-slides .slick-slide.slick-cloned {
     display: none !important;
 }
 
 /* Ensure arrows don't interfere with spacing */
 .my-slick-slider.few-slides .slick-arrow {
     display: none !important;
 }
 
 /* Disable slick animation for few-slides to avoid conflicts */
 .my-slick-slider.few-slides .slick-list {
     overflow: visible !important;
     width: 100%;
 }
 
 /* Increase space between slides */
 .mosaic-oscillating-3-images-slider .slick-slide {
  margin: 0 25px;
  transition: transform 0.3s ease;
}

/* Keep your oscillating effect */
.mosaic-oscillating-3-images-slider .slick-slide:nth-child(odd) {
  margin-top: 30px;
}

.mosaic-oscillating-3-images-slider .slick-slide:nth-child(even) {
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  /* Keep your oscillating effect */
  .mosaic-oscillating-3-images-slider .slick-slide:nth-child(odd) {
    margin-top: 0px;
  }

  .mosaic-oscillating-3-images-slider .slick-slide:nth-child(even) {
    margin-bottom: 0px;
  }
  .custom-slick-slider .slick-slide:nth-child(odd) {
    margin-top: 0px;
  }

  .custom-slick-slider .slick-slide:nth-child(even) {
    margin-bottom: 0px;
  }

}

 /* 
  * Gallery Sections
  * ----------------------------------------
  */
 .mosaic-oscillating-3-images-slider-wrapper {
     max-width: 100%;
     width: 100%;
     overflow: hidden;
     padding: 0;
 }
 
 .mosaic-oscillating-3-images-slider {
     width: 100%;
 }
 
 .mosaic-oscillating-3-images-slider .slide {
     margin: 0 15px;
     transition: transform 0.3s ease;
 }
 
 /* Oscillating effect */
 .mosaic-oscillating-3-images-slider .slide:nth-child(2) {
     margin-top: 30px;
 }
 
 .mosaic-oscillating-3-images-slider .slide:nth-child(3) {
     margin-bottom: 30px;
 }
 
 .mosaic-oscillating-3-images-slider .slide img {
     width: 100%;
     display: block;
     border-radius: 8px; /* Optional: rounded corners */
 }
 
 /* Few slides adjustments */
 .mosaic-oscillating-3-images-slider.few-slides .slick-list {
     width: 100% !important;
     overflow: visible !important;
 }
 
 .mosaic-oscillating-3-images-slider.few-slides .slick-track {
     width: 100% !important;
     display: flex !important;
     justify-content: center !important;
     transform: none !important;
 }
 
 /* Disable centerMode features when in few-slides mode */
 .mosaic-oscillating-3-images-slider.few-slides {
     padding: 0 !important;
 }

 /* 
  * Us vs Them Sections
  * ----------------------------------------
  */
 .us-vs-them .positive li {
  list-style-image: url(/wp-content/themes/nls-blocks-theme/assets/images/icons/positive.svg);
  vertical-align: middle;
  display: flex;
  align-items: center;
}

.us-vs-them .negative li {
  list-style-image: url(/wp-content/themes/nls-blocks-theme/assets/images/icons/negative.svg);
  vertical-align: middle;
  display: flex;
  align-items: center;
}

/* Remove default list-style when using flexbox approach */
.us-vs-them .positive li::marker,
.us-vs-them .negative li::marker {
  content: "";
}

/* Add the icon as a pseudo-element for better control */
.us-vs-them .positive li::before {
  content: "";
  display: inline-block;
  width: 27px; /* Adjust based on your icon size */
  height: 26px; /* Adjust based on your icon size */
  background-image: url(/wp-content/themes/nls-blocks-theme/assets/images/icons/positive.svg);
  background-size: contain;
  background-repeat: no-repeat;
  padding-right: 22px;
  vertical-align: middle;
}

.us-vs-them .negative li::before {
  content: "";
  display: inline-block;
  width: 26px; /* Adjust based on your icon size */
  height: 28px; /* Adjust based on your icon size */
  background-image: url(/wp-content/themes/nls-blocks-theme/assets/images/icons/negative.svg);
  background-size: contain;
  background-repeat: no-repeat;
  padding-right: 22px;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .us-vs-them .negative li::before, .us-vs-them .positive li::before {
    padding-right: 42px;
  }
}






.price-table li {
  list-style-image: url(/wp-content/themes/nls-blocks-theme/assets/images/icons/positive.svg);
  vertical-align: middle;
  display: flex;
  align-items: center;
}

/* Remove default list-style when using flexbox approach */
.price-table li::marker {
  content: "";
}

/* Add the icon as a pseudo-element for better control */
.price-table li::before {
  content: "";
  display: inline-block;
  width: 27px; /* Adjust based on your icon size */
  height: 26px; /* Adjust based on your icon size */
  background-image: url(/wp-content/themes/nls-blocks-theme/assets/images/icons/positive.svg);
  background-size: contain;
  background-repeat: no-repeat;
  padding-right: 22px;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .price-table li::before {
    padding-right: 12px;
  }
}




@media (min-width: 700px){
    .woocommerce table.variations tr td select{
        font-size: 13px !important;
    }
    .wp-block-woocommerce-add-to-cart-form .quantity .qty {
        font-size: 13px !important;
    }

    .woocommerce-variation-price{
        font-size: 24px !important;
    }
}

.post-16020 .wc-block-components-product-price, .post-16020 .wp-block-post-excerpt__excerpt{
    display:  none !important;
}

.post-16020 .woocommerce-variation-price{
    color: #005668 !important;
}