/*
 Theme Name:   Ian Sanderson Home 2023
 Theme URI:    https://iansandersonhome.co.uk
 Description:  Ian Sanderson Home 2023
 Author:       Web Squared Ltd
 Author URI:   https://websquared.co.uk
 Template:     generatepress
 Version:      0.1
*/

/*
FONTS 

font-family: 'Nanum Myeongjo', serif; HEADINGS 400,700
font-family: 'Ubuntu', sans-serif; MAIN TEXT 300,400,700

*/

/* 
COLOURS

headers Grey 8b8f92
text d grey 5b5f61
green/grey 88a19d
light grey f5f5f5
line grey e8e9e9

*/

a {text-decoration:none;}
h1 {font-size:38px !important;}

.woocommerce-product-details__short-description p {font-size:15px;}
/*MOBILE*/

@media (max-width: 768px) {
h1 {font-size:38px !important;}



}

h3#ship-to-different-address  {
font-family: 'Ubuntu', sans-serif !important;
font-weight:400 !important;
}



input[type=text],
input[type=email],
input[type=password],
input[type=number] {/*border:1px solid #8b8f92;*/ display:block; }



.header-widget h2 {display:none;}

.websq-hleft a,
.websq-hright a {padding:0 4px; text-decoration:none; }
.websq-hleft .fa-brands,
.websq-hright .fa-brands {color:#88a19d !important;}

.websq-hlogo {
margin:1em 0.5em 2em 0.5em;
padding:0em 0 1.5em 0;
}
.websq-hleft,
.websq-hright {/*border:1px solid red;*/
margin:1em 1em 0 1em;
padding:1em 1em 0 1em;
}


.websq-carticon {text-align:right; float:right; margin:0 1em 0 0;
padding:0 1em 0 0;}
/*<a href="https://iansandersonhome.co.uk/basket/" title="basket"><i class="fa-sharp fa-light fa-basket-shopping fa-lg"></i>*/

/*MOBILE*/

@media (max-width: 768px) {

.websq-hlogo {
margin:10px 0 !important;
padding:0em 0 5px 0;
}
.websq-hlogo img {/*border:1px solid red;*/ width:75%; height:auto; /*margin:1em auto !important;*/margin:0px 15% !important;}

.websq-carticon {display:none;}
}


.secondary-navigation { display: none;  }

/*MOBILE*/

@media (max-width: 768px) {
.websq-hleft,
.websq-hright {display:none;}

.main-navigation { display: none;  }
.secondary-navigation { display: block;  border-top:2px solid #e8e9e9; border-bottom:2px solid #e8e9e9; }
}





/* NAVIGATION */

.main-navigation {border-top:2px solid #e8e9e9; border-bottom:2px solid #e8e9e9; }
/*.main-navigation .fa-brands {color:#88a19d !important;}*/

@media(min-width: 769px) {
    .main-navigation .main-nav {
        flex-basis: 100%;
    }
    .main-navigation .main-nav ul .push-right {
        margin-left: auto;
    }
}



/* FOOTER */
.footer-widgets h2 {color:#5b5f61; font-weight:700;}
.footer-widget-4 h2 {text-align:center;}
.websq-fsocial {text-align:center; line-height:2em !important;}
.websq-fsocial a {padding:0 4px; text-decoration:none; padding:5px;}
.fa-facebook-f {color:#1773ea; }
.fa-instagram {color:#c5379f;}

.footer-widget-5 h2 {padding-left:9px;}


.footer-widgets .footer-widget-1 {flex-basis: 15%;}
.footer-widgets .footer-widget-2 {flex-basis: 15%;}
.footer-widgets .footer-widget-3 {flex-basis: 30%;}
.footer-widgets .footer-widget-4 {flex-basis: 10%;}
.footer-widgets .footer-widget-5 {flex-basis: 30%;}

.inside-site-info {border-top:2px solid #e8e9e9; }






/* CONTACT FOOTER FORM*/

.nf-form-fields-required {display: none;}

/*MOBILE*/

@media (max-width: 768px) {
  .footer-widgets .inside-footer-widgets {
      flex-direction: row;
      flex-wrap: wrap;
  }
  .footer-widgets .inside-footer-widgets > div {
    flex-basis: 50%;
  }
}



/* SHOP CATEGORY */

/*title will not remove from hoem / shop page doing it manually here*/

.home h1.woocommerce-products-header__title {display:none;} 

h1.woocommerce-products-header__title {text-align:center;}
.websq-shopdesc, .term-description {text-align:center; margin:0 15%;}

/*MOBILE*/

@media (max-width: 768px) {
.websq-shopdesc, .term-description {text-align:center; margin:0 1%;}
}

.wcf-group-wrapper {/*border:1px solid red; */
/*text-align:center !important; margin:0 auto !important;*/
padding:0.5em 20%;
margin:1em 0;
/*border-top:2px solid #e8e9e9; border-bottom:2px solid #e8e9e9; */
}


/* pagination */
.wcf-pagination {border:1px red solid !important; display:none;}


/* PRODUCT */
.products h2.woocommerce-loop-product__title,
.products a h2.woocommerce-loop-product__title  {
/*font-size:20px !important;*/
font-size:18px !important;
color:#5b5f61 !important;
font-weight:700 !important;

/*border:1px solid red;*/
}
.products .price {
/*border:1px solid red;*/
/*font-size:18px !important;*/
font-size:16px !important;
color:#8b8f92 !important;
/*font-weight:600 !important;*/
font-weight:400 !important;
}
.price {
/*font-size:18px !important;*/
font-size:16px !important;
color:#8b8f92 !important;
font-weight:400 !important;
}

/*.woocommerce-Price-amount {color:red !important;}*/

/*.variations .label {
text-align:left !important;
color:#5b5f61 !important;
padding:5px 0 0 0 !important;
}*/
/*.variations .label label {font-weight:500 !important;}*/

/* related products */
/*
.related h2 {
text-align:center !important;
} 
*/









/* YOU MIGHT ALSO LIKE */
.websq-ymal {padding-bottom:2em;}
.websq-ymal h2 {padding-bottom:1em;}
.websq-ymal .wc-block-grid__product-title {/*font-size:18px;*/font-size:16px;  
color:#5b5f61;
font-weight:normal !important;
}
.websq-ymal a {text-decoration:none; }













/* BARN2 product options css changes*/
/*
<p class="wpo-option-name">Fitting</p>
<div class="wpo-text-labels">
<label class="wpo-text-label">
<input type="checkbox" id="wpo-option-2-51-193-0" name="wpo-option[option-51][]" value="2L2P90QhODdmqbFO9kC9d"  checked='checked' data-price-type="no_cost" data-price-amount="0">
<span class="wpo-text-label-inner">UK/EU </span>
</label>

wpo-text-labels

wpo-text-label
wpo-text-label-inner

selected background 88a19e
border eaeaea
text 50645b
*/
/*

.wpo-text-labels {border:1px solid red;}
.wpo-text-label {border:1px solid green !important; }

.wpo-text-label, 
input[type=checkbox] {border:0px solid #eaeaea !important; border-radius:20px !important;
}

.wpo-text-label-inner {border:1px solid green; background:green !important;}

*/


/* studiowombat colour changes */
/*
.wapf-field-label label {
    font-size:18px;
    font-weight: bold;
}

div.wapf-swatch--text {
    font-size:16px;
    border-color: #e8e9e9;
color: #5b5f61;
}

div.wapf-swatch--text.wapf-checked {
    border-color:#88a19d;
    background:#88a19d;
}

*/

/*.wcf-group-wrapper {
border:1px solid green !important; 
background:green !important;
}*/

/*.wcf-group-wrapper option, 
.wcf-group-wrapper*/ 
/*
select {border:1px solid #e8e9e9 !important; border-radius:0 !important; background:#ffffff !important;}

.wcf-dropdown-menu ul,.wcf-dropdown-menu>div{border-radius:0px !important; }
*/


/*#wcf-mobile-drawer {border:1px solid blue !important; background:blue !important;}
#wcf-mobile-portal {border:1px solid pink !important; background:pink !important;}*/
/*#wcf-actives-container {border:1px solid yellow !important; background:yellow !important;}
#wcf-sorting-bar {border:1px solid red !important; background:red !important;}*/











/* REGISTER LOGGED */

.woocommerce-MyAccount-navigation {font-size:18px !important;/*font-size:20px !important;*/}







/*https://divimundo.com/en/blog/how-to-move-the-recaptcha-v3-badge-to-the-left/*/
 /* Move reCAPTCHA v3 badge to the left */
 
 .grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: 4px !important;
}

.grecaptcha-badge:hover {
  width: 256px !important;
}

/* Move reCAPTCHA v3 badge up */ 
/*
.grecaptcha-badge {
bottom: 90px !important;
}
*/










/* product tabs */

.woocommerce-tabs {border-top: 1px solid #e8e9e9; padding-top:4em !important;}





.woocommerce-tabs ul {
border-bottom: 1px solid #e8e9e9;
/*text-align:center !important;
margin:0 auto !important;*/
}

.woocommerce-tabs ul li a  {
background-color: #ffffff;
}
.wc-tabs {/*border:1px solid red;*/padding:0em 0 0 10% !important;}
.woocommerce-Tabs-panel {padding:1em 3em 3em 3em !important;}


/*MOBILE*/

@media (max-width: 768px) {
.woocommerce-tabs {padding-top:1em !important;}
.wc-tabs {/*border:1px solid red;*/ padding:0em 0 0 0 !important;}
.woocommerce-Tabs-panel {padding:0em 0em 0em 0em !important; 
/*border:1px solid blue; */}
}



.related h2 {padding-bottom:1em !important;}
.related h2.woocommerce-loop-product__title {padding:0.1em 1em;} 

/*https://wordpress.org/support/topic/product-blocks-on-mobile/*/
/*MOBILE*/
@media (max-width: 768px) {
   .wc-block-handpicked-products .wc-block-grid__products {
       display: flex !important;       
   }
   .wc-block-handpicked-products .wc-block-grid__product {
       flex: 1 0 33% !important;
   }
}


.related h2 {text-align:center ;} 

@media (max-width: 768px) {
.products  li h2.woocommerce-loop-product__title {
font-size:15px !important; }
/*.products .columns-5 {
       display: flex !important;       
   }
   .products .columns-5 li {
       flex: 1 0 30% !important;
   }*/
}




/* WOO STUFF */

.entry-summary {padding-left:40px; }

/*MOBILE*/

@media (max-width: 768px) {
.entry-summary {padding-left:0px; }
}

/*.price,*/
/* HIDE 
.price .woocommerce-Price-amount,
.wpo-price-container {display:none;}
*/


.single_variation_wrap .woocommerce-variation-add-to-cart {
    display: block;
}



.websq-hidetitle .wapf-field-label {display:none;}


.wcf-popover-body,
.wcf-horizontal-popover{
border-radius: 0 !important;
}

.websq-guide .wapf-field-input {border:1px solid #e8e9e9;
border-radius:5px;
background:#f5f5f5;
color:#5b5f61;
max-width:130px;
text-align:center;
/*font-size:0.9em;*/
font-weight:bold;
/*text-transform:uppercase;*/
padding:6px 0 7px 0;
}
.websq-guide .wapf-field-input a {text-decoration:none; 
color:#5b5f61; 
font-weight:500;}

.websq-guide .wapf-field-input a:hover {text-decoration:underline; 
color:#88a19d; 
font-weight:500;}

/*

.woocommerce-product-gallery__wrapper {border:1px solid red !important;}
.woocommerce-product-gallery__image {border:1px solid blue !important;}
.woocommerce-product-gallery__image {min-width:127px !important;}

*/











/* INSPIRATION */
/* from foogallery */

.foogallery.fg-light.fg-preset.fg-steve .fg-caption-desc, 
.foogallery.fg-light.fg-preset.fg-steve .fg-caption-title, 
.foogallery.fg-preset.fg-steve .fg-caption-desc, 
.foogallery.fg-preset.fg-steve .fg-caption-title {

/*background-color: none !important;*/
/*background-color: #fff !important;*/
/*background-color: rgba(255, 255, 255, 0.5) !important;
background-color: rgba(0, 0, 0, 0.3) !important;
*/
background-color: rgba(139,143,146, 0.9) !important;
/*background-color: transparent !important;*/
color: #fff !important;
/*color: #000 !important;*/
padding:1em;
}

.foogallery.fg-light.fg-preset.fg-steve .fg-caption-desc a, 
.foogallery.fg-light.fg-preset.fg-steve .fg-caption-title a, 
.foogallery.fg-preset.fg-steve .fg-caption-desc a, 
.foogallery.fg-preset.fg-steve .fg-caption-title a{
color: #fff !important;
/*color: #000 !important;*/
text-decoration:none !important;
font-weight:500 !important;
}

.foogallery.fg-preset.fg-steve .fg-caption-desc{
top: auto !important;
bottom: 0 !important;
}


@media only screen and (max-width: 768px) {
/* from foogallery */

.foogallery.fg-light.fg-preset.fg-steve .fg-caption-inner {
border:0px solid #fff !important;
/*margin:0 !important;*/
padding:0 !important;
}

.foogallery.fg-light.fg-preset.fg-steve .fg-caption-desc {
/*border:1px solid red !important;*/
margin:0 !important;
/*width:150% !important;
height:150% !important;*/
padding:0 !important;
}

.foogallery.fg-light.fg-preset.fg-steve .fg-caption-desc, 
.foogallery.fg-light.fg-preset.fg-steve .fg-caption-title, 
.foogallery.fg-preset.fg-steve .fg-caption-desc, 
.foogallery.fg-preset.fg-steve .fg-caption-title {
/*background-color: rgba(139,143,146, 0.9) !important;
color: #fff !important;
padding:1em;*/

/*margin:0 !important;
font-size:8px !important;*/
padding:15px 5px !important;
}

.foogallery.fg-light.fg-preset.fg-steve .fg-caption-desc a, 
.foogallery.fg-light.fg-preset.fg-steve .fg-caption-title a, 
.foogallery.fg-preset.fg-steve .fg-caption-desc a, 
.foogallery.fg-preset.fg-steve .fg-caption-title a{
/*color: #fff !important;
text-decoration:none !important;
font-weight:500 !important;*/
font-size:10px !important;
}

.foogallery.fg-preset.fg-steve .fg-caption-desc{
/*top: auto !important;
bottom: 0 !important;*/
font-size:10px !important;
}
}










/*hiding the coupn notice on checkout page*/
.woocommerce-info {display:none;}

/*MOBILE*/

/*@media (max-width: 768px) {
.continue-shopping-link {display:block !important;}
}*/
/*https://github.com/woocommerce/storefront/issues/1151*/
@media only screen and (max-width: 768px) {
  .woocommerce-message .button.wc-forward{
     width:100% !important;
     text-align:center;
      order: 999;
 }

.woocommerce-message a{
   text-align:center;
   width:100% !important;
   border:none !important;

}
.woocommerce-message ::after{
    display:none !important;
   }

.woocommerce-message {
    display: flex;
    flex-direction: column;
}
}











/*fabric cutting*/

.websq-fcutting {display:block; 
padding:10px 0 0 0;
clear:both;
}



.websq-fcutting a { 
color:#8b8f92; padding:5px 0 0 5px; 
text-decoration:none;}
.websq-fcutting a:hover {color:#88a19d;}



/* radio as variations */
table.variations {
max-width:543px !important;
/*border:1px solid red !important;*/
text-align:left !important;
padding:0 !important;
margin:0 !important;
}
/*table.variations*/ 
table.variations th.label {
/*border:1px solid red !important; */
text-align:left !important;
font-size:14px !important;
font-weight:500 !important; 
padding:5px 5px 0 0 !important;
margin:0 !important;
}

table.variations td.value {
/*border:1px solid red !important; */
text-align:left !important;
/*font-size:14px !important;*/ 
padding:0 !important;
margin:0 !important;
}

.extendons-vs-label-span {
font-size:12px !important; 
font-weight:400 !important;
box-shadow: none;
padding:0 !important;
margin:0 !important;
}








/*checkout */
.woocommerce-cart table.cart img {
    width: 100px;
}







/* add images to mobile cart */
@media only screen and (max-width: 767px){
.woocommerce #content table.cart .product-thumbnail, .woocommerce table.cart .product-thumbnail, .woocommerce-page #content table.cart .product-thumbnail, .woocommerce-page table.cart .product-thumbnail {
    display: block;
}
}



/**/

/*del .amount::before,
ins .amount::before {
  margin-right: 5px;
}*/
del .amount:first-of-type::before {
  content: 'Retail: ';
}
ins .amount:first-of-type::before {
  content: 'Trade: ';
}

.wcwp-wholesale-price-range {}



.wcwp-wholesale-price-range {
line-height:1.6em !important;
color:#8b8f92 !important;
text-decoration: none !important;
}
.woocommerce-Price-amount,
.amount {
/*border:1px solid red; */
padding-right:5px !important;
color:#8b8f92 !important;
text-decoration: none !important;
}
.woocommerce-Price-amount {
/*border:1px solid blue; */
}











/* basket page */
.shop_table {background:white !important;}
/*.shop_table_responsive  th {background:pink;}*/
/*.cart  th {background:yellow;}*/
/*.woocommerce-cart-form__contents th {background:red;}*/
.shop_table_responsive thead{background:#e1e7e6 !important;}
/*th .product-subtotal {background:pink !important;}*/


@media (max-width: 768px) {
    td.product-thumbnail, 
    td.product-name, 
    td.product-price, 
    td.product-quantity {
        display: inline-block !important;
        border-bottom: 0 !important;
    }

    td.product-thumbnail:before, 
    td.product-name:before, 
    td.product-price:before, 
    td.product-quantity:before {
        content: "" !important;
    }
}












/* 
COLOURS

headers Grey 8b8f92
text d grey 5b5f61
green/grey 88a19d
light grey f5f5f5
line grey e8e9e9

button blue 104975
button green 019078

*/