/*
Theme Name: KRS Theme for Woo
Version: 1.0
*/

html:hover{
    cursor: context-menu;
}

/* ------------------ Open Sans ------------------ */

/* Open Sans Light (300) */
@font-face {
  font-family: "Open Sans";
  src:
    url("fonts/OpenSans-Light.woff2") format("woff2"),
    url("fonts/OpenSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Open Sans Regular (400) */
@font-face {
  font-family: "Open Sans";
  src:
    url("fonts/OpenSans-Regular.woff2") format("woff2"),
    url("fonts/OpenSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Open Sans Medium (500) */
@font-face {
  font-family: "Open Sans";
  src:
    url("fonts/OpenSans-Medium.woff2") format("woff2"),
    url("fonts/OpenSans-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Open Sans SemiBold (600) */
@font-face {
  font-family: "Open Sans";
  src:
    url("fonts/OpenSans-SemiBold.woff2") format("woff2"),
    url("fonts/OpenSans-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Open Sans Bold (700) */
@font-face {
  font-family: "Open Sans";
  src:
    url("fonts/OpenSans-Bold.woff2") format("woff2"),
    url("fonts/OpenSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Open Sans ExtraBold (800) */
@font-face {
  font-family: "Open Sans";
  src:
    url("fonts/OpenSans-ExtraBold.woff2") format("woff2"),
    url("fonts/OpenSans-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* -------------------- Roboto -------------------- */

/* Roboto Light (300) */
@font-face {
  font-family: "Roboto";
  src:
    url("fonts/Roboto-Light.woff2") format("woff2"),
    url("fonts/Roboto-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Roboto Regular (400) */
@font-face {
  font-family: "Roboto";
  src:
    url("fonts/Roboto-Regular.woff2") format("woff2"),
    url("fonts/Roboto-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Roboto Medium (500) */
@font-face {
  font-family: "Roboto";
  src:
    url("fonts/Roboto-Medium.woff2") format("woff2"),
    url("fonts/Roboto-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Roboto SemiBold (600) */
@font-face {
  font-family: "Roboto";
  src:
    url("fonts/Roboto-SemiBold.woff2") format("woff2"),
    url("fonts/Roboto-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Roboto Bold (700) */
@font-face {
  font-family: "Roboto";
  src:
    url("fonts/Roboto-Bold.woff2") format("woff2"),
    url("fonts/Roboto-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Roboto ExtraBold (800) */
@font-face {
  font-family: "Roboto";
  src:
    url("fonts/Roboto-ExtraBold.woff2") format("woff2"),
    url("fonts/Roboto-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}



/* Base font family */
body,
html,
input,
select,
textarea,
div,
span,
p,
section,
::placeholder {

    font-family: 'Open Sans', sans-serif !important;
}

/* Headings use Roboto */
button, h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif !important;
}

/* Base font size */
html {
  font-size: 16px;
}

/* Responsive font sizes & weights */
@media only screen and (min-width: 1410px) {
  h1 {
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1.15em !important;
    margin: unset;
    padding: unset;
  }

  h2 {
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.1em !important;
    margin: unset;
    padding: unset;
  }

  h3 {
    font-weight: 500;
    font-size: 1.7rem;
    line-height: 1.3em !important;
    margin: unset;
    padding: unset;
  }

  h4 {
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.3em !important;
    margin: unset;
    padding: unset;
  }

  h5 {
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.3em !important;
    margin: unset;
    padding: unset;
  }

  p {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.2em;
    margin: unset;
    padding: unset;
  }
}

@media screen and (max-width: 1409px) and (min-width: 500px) {
  h1 {
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.15em !important;
    margin: unset;
    padding: unset;
  }

  h2 {
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.1em !important;
    margin: unset;
    padding: unset;
  }

  h3 {
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.2em !important;
    margin: unset;
    padding: unset;
  }

  h4 {
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.3em !important;
    margin: unset;
    padding: unset;
  }

  h5 {
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.3em !important;
    margin: unset;
    padding: unset;
  }

  p {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.3em;
    margin: unset;
    padding: unset;
  }
}

@media screen and (max-width: 499px) {
  .NoPic {
    background-color: #1A5462 !important;
  }

  h1 {
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.15em !important;
    margin: unset;
    padding: unset;
  }

  h2 {
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.1em !important;
    margin: unset;
    padding: unset;
  }

  h3 {
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.3em !important;
    margin: unset;
    padding: unset;
  }

  h4 {
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.3em !important;
    margin: unset;
    padding: unset;
  }

  h5 {
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.3em !important;
    margin: unset;
    padding: unset;
  }

  p {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.3em;
    margin: unset;
    padding: unset;
  }
}

                            /* HOME */
                            
html:hover{
    cursor: context-menu;
}

.prod-filters{
  display:flex; 
  flex-wrap:wrap; 
  justify-content:space-between; 
  gap:0; 
  width:100%;
  margin:0;
}

@media screen and (min-width: 700px){
.filter-btn{
    border: none!important;
    border-radius:3px!important;
    text-transform: uppercase;
    font-size: 1rem!important;
    padding: .5em 0!important;
    width: 24%;
    margin: .3em 0;
}
}

@media screen and (max-width: 699px){
.filter-btn{
    border: none!important;
    border-radius:3px!important;
    text-transform: uppercase;
    font-size: 1rem!important;
    padding: .5em 0!important;
    width: 48%;
    margin: .3em 0;    
}    
}




.prod-filters 
.filter-btn.is-active{ 
    background-color: #00924E; 
    
}


.Prods ul{
    list-style: none;
    color: #006938;
    list-style-position: inside;    
    margin: 0 0 0 0;
    padding: 0;    
}

.Prods ul li{
    font-family: 'Open Sans';
    width: 100%;
    text-align: left;
    margin: 0 0 .15em 0;
    line-height: 1.1em;
    font-size: .9rem;
    position: relative;
    padding-left: .5em; /* Space for custom bullet */
}

.Prods ul li::before {
  content: '•'; /* Disc symbol */
  position: absolute;
  left: 0;
  top: 0em;
  font-size: 1em;
  color: #006938
}



.prod-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: .2rem;
    padding-bottom: .2rem;
    flex-wrap: wrap;
    border-bottom: 1px solid #006938;
   
}
                            /* picture */
.prod-pic {
    width: 13%;
    display: flex;
    align-items: center;
    justify-content: center;    
    padding:0;
    aspect-ratio: 1 / 1;

}

.prod-pic img{
    width: auto;
    max-width: 100%;
    margin:0 auto 0 0;
    height: auto;
}
                            /* TITLE*/
.prod-title {
    width: 35%;
    display: flex;
    flex-direction: column;
    padding: 3px;

}

.prod-title h2.prod-h2 {
    font-family: 'Roboto';    
    width: 100%;
    text-align: left;
    margin: 0 0 .2em 0;
    font-size: 1rem;
    text-transform: uppercase;
}

.prod-title p.prod-sku {
   width: 100%;
    text-align: left;
    margin: 0;
    font-size: .9rem;
    text-transform: uppercase;
    color: #555;
}
                            /* DESC */
.prod-desc {
    width: 30%;
    padding-left: 3px;    
}

.prod-desc-in{
    display: flex;
    flex-direction: column;
}
                            /* PRICE */
.prod-price{
  display: none;
}
                            /* QTY AND BTN */
.prod-btn {
    width: 22%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding:0;

}

.prod-btn form{
     display: flex;
    flex-direction: row;  
    justify-content: center;
    align-items: center; 
    width: 100%!important;
}

.quantity{
    width:20%!important;
}

.input-text.qty.text{
    width: 100%;
    margin:0;
    font-size: 1rem;
    line-height: 1.1em;
    padding: .5em 0 .5em 2px;    
    border-radius: 3px 0 0 3px;
    border: 1px solid;
}

.input-text.qty.text:focus{
  outline: none; /* remove default browser glow */
  box-shadow: none;
}
  
  
  .button.product_type_simple.add_to_cart_button.ajax_add_to_cart,
 button.button.alt{
    width: 80%!important;
    text-align: center;
    background-color: #006938;
    border: 1px solid  #006938;
    color: white;
    font-family: 'Roboto';
    text-transform: uppercase;
    font-weight:500!important;
    font-size: 1rem;
    line-height: 1.1em;
    padding: .5em 0!important;
    margin: 0;
    border-radius: 0 3px 3px 0;
    transition: .3s;
}

 button.button.alt:hover{
     cursor: pointer;
     background-color: #00924E; 
 }

@media (max-width: 768px) {
    .prod-row {
        flex-direction: column;
        align-items: stretch;
    }

    .prod-pic,
    .prod-title,
    .prod-desc,
    .prod-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 768px){ 
.prod-pic img{
    width: auto;
    max-width: 200px;
    margin: 0 auto;
    height: auto;
}
.prod-pic{
    aspect-ratio: auto;
}
}

.prod-more { 
          margin-top: 2px; 
          display: block;
          clear: both;
          text-align: right;
          padding:0 6vw 0 0;
 }
.vmBtn { 
          cursor:pointer; 
          font-size: .8rem!important;
          margin: 1vh 0 0 auto;
          padding: 2px 10px !important;
          border-radius: 3px;
          background-color: transparent!important;
          color:#006938!important;
          border: 1px solid #006938;
      }
                         
                         
                                                        /* HOME SEARCH */
                                                        
.grouped-search-container {
  position: relative;
  z-index: +999; 
  width: 100%;
  margin:0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-search-wrapper {
  position: relative;
  z-index: 1; /* just a number, no + */
}

.product-search-row{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin:0;
    padding:1.5vh 1vw 1.5vh 1vw;
    border-radius: 5px;
    background-color: white;
    border: 3px double #006938;
}

.FaDiv{
    width: 10%;
    margin:0;
    padding: 0 1vh 0 0; 
    border: none;
    text-align: right;    
}
.fa-search{
    font-size: 1rem;
    line-height: 2em; 
    color: #006938!important;
   
}

#product-search-input ::placeholder{
    color: black!important;
}

#product-search-input{
    width: 90%;
    border: none;
    border-radius: 5px;
    border-radius:0;
    font-size: 1rem;
    line-height: 1.5em;
    height: 1.5rem;
    margin:0;
    padding: 0 0 0 5px;
    border: none;
    border-bottom: 1px solid black;
}



.product-search-results-dropdown {
  position: absolute;
  top: 3rem;
  left: 0;
  width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  background: white;
  border: 1px solid #ccc;
  z-index: 99999!important;
  display: none;
  padding: 1vh;
  box-shadow: 0 0 1000px rgba(0,0,0,.4);
}

.search-result-item{
    display: flex!important;
    flex-direction: row;
    align-items: center;
    border-bottom: 1px solid #d9d9d9;
    margin: 1vh 0;    
    width: 100%;    
}

.search-result-item :hover{
    cursor: pointer;
}

.search-result-pic{
    width: 12.5%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

img.search-thumb{
    height: 100%;
    width: auto;
}

.search-result-link{
    width: 87.5%;
    padding-left: 1vw;
}

.search-result-link a.search-title{
    padding: 0!important;
    color: #1A5462;
    font-weight:300;
    font-size: 1rem;
    line-height: 1.1rem ;
    transition: .3s;
    text-indent:0!important;
    margin:0!important;
}

.search-result-link a.search-title:hover{
    color:black;
    font-weight:300;
}

.view-buttons-wrapper{
    padding: 1vh 0;
    margin:0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.view-more-wrapper, .view-all-wrapper{
    width: 48%;
    margin:0;
    padding:0;
}

#view-more-btn, #view-all-btn{
    width: 100%;
    background-color:#006938;
    color: white;
    padding: .5em 0;
    border: none;
    border-radius: 5px;
    transition: .3s;
}

#view-more-btn:hover, #view-all-btn:hover{
   color: #00924E;
   cursor: pointer;
}


.search-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content {
  text-align: center;
  color: #fff;
  position: relative;
  max-width: 90%;
}
.lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  color: #000;
  font-size: 20px;
  line-height: 1;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 50%;
}
.lightbox-description {
  margin: 20px auto;
  font-size: 1rem;
  line-height: 1.5;
}
.view-item-link {
  display: inline-block;
    width: auto;
    background-color:#006938;
    font-weight: 300;
    color: white;
    padding: .5em 2em;
    border: none;
    border-radius: 5px;
    transition: .3s;
}
.view-item-link:hover{
    color: #F3BF2B;
   cursor: pointer;   
    font-weight: 300;   
}


                                                    /* HOME CART */
                                                    
.woomessage .woocommerce-message{
    border: none;
    border-top: 3px double #006938;
    line-height: 1.1em;
}

.rfqcart-link-shop.rfqcart-link-shop-custom.float_right{
    background-color:#006938;
    font-weight: 300;
    color: white;
    padding: .5em 2em;
    border: 1px solid white!important;
    border-radius: 5px;
    transition: .3s;
    margin: 2vh 0 0 0;
}

.rfqcart-link-shop.rfqcart-link-shop-custom.float_righ:hover{
    background-color: #00924E;
   cursor: pointer;   
    color: white!important; 
    border: 1px solid white!important;   
    font-weight: 300;   
}                                                    
