/*
Theme Name: LaCharcuterieMadrid
Description: LaCharcuterieMadrid by TodoBravo Web Design
Author: TodoBravo
Author URI: https://www.todobravo.es
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/*
 *  Breakpoints
 *  Device: less than 569px.
 *  Tablets: 570px to 959px.
 *  Desktop: 960px and up.
 */
/*
 *  [Table of contents]
 *  0. Fonts
 *  1. Global
 *  2. Layout
 *  3. Menu
 *  4. Pages
 *  5. Contact Form 7
 *  6. Portfolio
 *  7. Footer
 *  8. Products WooCommerce
 *  9. Posts
 * 10. Cookies Yes
 */

/*
 *  0. Fonts
 */
 /*
 *  font title, headline    Poppins
 *  font default, body      Poppins
 *  
 */
/*
 *
 *
 *  color-394753    LCM - Blue Saphir          #203151
 *  color-152146    LCM - Grey Antracita       #2c2c2c
 *  color-199497    LCM - Blue 80              rgba(32,49,81,0.8)
 *  color-168213    LCM - Gold                 #c8a24a
 *  color-133669    LCM - Ivory                #f8f6f2
 *  color-176694    LCM - Warm Taupe           #b9ac98
/*
/*
 *  Breakpoints
 *  Device: less than 569px.
 *  Tablets: 570px to 959px.
 *  Desktop: 960px and up.
 */

/*
 *  0. Fonts
 */
 /* Font size 50px */
/*@media (max-width: 1365px) { 
  .fontsize-155944 { font-size: 40px !important; }
}*/

/*
 *  1. Global
 */

:root {
  --tdb-accent-color: #c8a24a;
  --tdb-blue-saphir: #203151;
  --tdb-style-light-links-color: #203151;
  --tdb-style-light-links-hover-color: rgb(32, 49, 81, 0.8);
  --tdb-style-dark-links-color: #c8a24a;
  --tdb-style-dark-links-hover-color: rgb(200, 162, 74, 0.8);
  --tdb-text-decoration-line: underline;
  --tdb-text-decoration-style:dotted;
  --tdb-text-underline-offset: 3px;
  --tdb-text-decoration-thickness: 1px;
  --tdb-woocommerce-onsale-bg: #c8a24a;
  --tdb-woocommerce-soldout-bg: #B9AC98;
  --tdb-woocommerce-badge-color: #2C2C2C;
}

.tdb-text-color-394753 {
  color:#203151 !important;
}

.tdb-overflow a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Borders Special */
.tdb-bordure-gourmet > .uncol:nth-child(1 of .uncol) {
  position: relative;
  padding: 15px;
  border: 2px solid transparent;
  border-radius: 18px;

  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(
      135deg,
      #203151,
      #C8A24A,
      #B9AC98
    ) border-box;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


/* maps contact */
.iframe-maps iframe{
  max-width:800px !important;
  height: 400px !important;
}

/*
 *  Links in post/page / product
 *  
 */
/* Style-light Links */
.post-content .style-light p:not(.panel-title) a:not(.btn),
.post-content .style-light p:not(.panel-title) a:visited:not(.btn),
.site-footer .style-light a:not(.btn),
.site-footer .style-light a:visited:not(.btn) {
  text-decoration-line: var(--tdb-text-decoration-line);
  text-decoration-style:var(--tdb-text-decoration-style);
  text-underline-offset: var(--tdb-text-underline-offset);
  text-decoration-thickness: var(--tdb-text-decoration-thickness);
  color:var(--tdb-style-light-links-color);
}
.post-content .style-light pre:not(.panel-title) a:not(.btn),
.post-content .style-light pre:not(.panel-title) a:visited:not(.btn)
{
  text-decoration-line: var(--tdb-text-decoration-line);
  text-decoration-style:var(--tdb-text-decoration-style);
  text-underline-offset: var(--tdb-text-underline-offset);
  text-decoration-thickness: var(--tdb-text-decoration-thickness);
  color:var(--tdb-style-light-links-color);
}
.post-content .style-light ol li a:not(.btn),
.post-content .style-light ul li a:not(.btn),
.post-content .style-light ol li a:visited:not(.btn),
.post-content .style-light ul li a:visited:not(.btn) {
 text-decoration-line: var(--tdb-text-decoration-line);
  text-decoration-style:var(--tdb-text-decoration-style);
  text-underline-offset: var(--tdb-text-underline-offset);
  text-decoration-thickness: var(--tdb-text-decoration-thickness);
  color:var(--tdb-style-light-links-color);
}
.post-content .style-light .heading-text.el-text a:not(.btn),
.post-content .style-light .heading-text.el-text a:visited:not(.btn) {
 text-decoration-line: var(--tdb-text-decoration-line);
  text-decoration-style:var(--tdb-text-decoration-style);
  text-underline-offset: var(--tdb-text-underline-offset);
  text-decoration-thickness: var(--tdb-text-decoration-thickness);
  color:var(--tdb-style-light-links-color);
}
.style-light .tdb-product-description a:not(.btn),
.style-light .tdb-product-description a:not(.btn) {
  text-decoration-line: var(--tdb-text-decoration-line);
  text-decoration-style:var(--tdb-text-decoration-style);
  text-underline-offset: var(--tdb-text-underline-offset);
  text-decoration-thickness: var(--tdb-text-decoration-thickness);
  color:var(--tdb-style-light-links-color);
}

.top-menu.menu-light a,
.top-menu.menu-light a:visited {
  color:var(--tdb-style-light-links-color) !important;
}

.top-menu.menu-dark a,
.top-menu.menu-dark a:visited {
  color:var(--tdb-style-dark-links-color) !important;
}


/* Style-light Hover Links */
.post-content .style-light p:not(.panel-title) a:not(.btn):hover,
.post-content .style-light p:not(.panel-title) a:visited:not(.btn):hover,
.site-footer .style-light a:not(.btn):hover {
  color:var(--tdb-style-light-links-hover-color);
}
.post-content .style-light pre:not(.panel-title) a:not(.btn):hover,
.post-content .style-light pre:not(.panel-title) a:visited:not(.btn):hover {
  color:var(--tdb-style-light-links-hover-color);
}
.post-content .style-light ol li a:not(.btn):hover,
.post-content .style-light ul li a:not(.btn):hover,
.post-content .style-light ol li a:visited:not(.btn):hover,
.post-content .style-light ul li a:visited:not(.btn):hover {
  color:var(--tdb-style-light-links-hover-color);
}
.post-content .style-light .heading-text.el-text a:not(.btn):hover,
.post-content .style-light .heading-text.el-text a:visited:not(.btn):hover {
  color:var(--tdb-style-light-links-hover-color);
}
.style-light .tdb-product-description a:not(.btn):hover,
.style-light .tdb-product-descriptiona:visited:not(.btn):hover {
  color:var(--tdb-style-light-links-hover-color);
}

/* Style-dark Links */
.post-content .style-dark p:not(.panel-title) a:not(.btn),
.post-content .style-dark p:not(.panel-title) a:visited:not(.btn),
.site-footer .style-dark a:not(.btn),
.site-footer .style-dark a:visited:not(.btn) {
  text-decoration-line: var(--tdb-text-decoration-line);
  text-decoration-style:var(--tdb-text-decoration-style);
  text-underline-offset: var(--tdb-text-underline-offset);
  text-decoration-thickness: var(--tdb-text-decoration-thickness);
  color:var(--tdb-style-dark-links-color);
}
.post-content .style-dark pre:not(.panel-title) a:not(.btn),
.post-content .style-dark pre:not(.panel-title) a:visited:not(.btn) {
 text-decoration-line: var(--tdb-text-decoration-line);
  text-decoration-style:var(--tdb-text-decoration-style);
  text-underline-offset: var(--tdb-text-underline-offset);
  text-decoration-thickness: var(--tdb-text-decoration-thickness);
  color:var(--tdb-style-dark-links-color);
}
.post-content .style-dark ol li a:not(.btn),
.post-content .style-dark ul li a:not(.btn),
.post-content .style-dark ol li a:visited:not(.btn),
.post-content .style-dark ul li a:visited:not(.btn) {
 text-decoration-line: var(--tdb-text-decoration-line);
  text-decoration-style:var(--tdb-text-decoration-style);
  text-underline-offset: var(--tdb-text-underline-offset);
  text-decoration-thickness: var(--tdb-text-decoration-thickness);
  color:var(--tdb-style-dark-links-color);
}
.post-content .style-dark .heading-text.el-text a:not(.btn),
.post-content .style-dark .heading-text.el-text a:visited:not(.btn) {
 text-decoration-line: var(--tdb-text-decoration-line);
  text-decoration-style:var(--tdb-text-decoration-style);
  text-underline-offset: var(--tdb-text-underline-offset);
  text-decoration-thickness: var(--tdb-text-decoration-thickness);
  color:var(--tdb-style-dark-links-color);
}
.style-dark .tdb-product-description a:not(.btn),
.style-dark .tdb-product-description a:not(.btn) {
  text-decoration-line: var(--tdb-text-decoration-line);
  text-decoration-style:var(--tdb-text-decoration-style);
  text-underline-offset: var(--tdb-text-underline-offset);
  text-decoration-thickness: var(--tdb-text-decoration-thickness);
  color:var(--tdb-style-dark-links-color);
}

/* Style-light Hover Links */
.post-content .style-dark p:not(.panel-title) a:not(.btn):hover,
.post-content .style-dark p:not(.panel-title) a:visited:not(.btn):hover,
.site-footer .style-dark a:not(.btn):hover{
  color:var(--tdb-style-dark-links-hover-color);
}
.post-content .style-dark pre:not(.panel-title) a:not(.btn):hover,
.post-content .style-dark pre:not(.panel-title) a:visited:not(.btn):hover {
  color:var(--tdb-style-dark-links-hover-color);
}
.post-content .style-dark ol li a:not(.btn):hover,
.post-content .style-dark ul li a:not(.btn):hover,
.post-content .style-dark ol li a:visited:not(.btn):hover,
.post-content .style-dark ul li a:visited:not(.btn):hover {
  color:var(--tdb-style-dark-links-hover-color);
}
.post-content .style-dark .heading-text.el-text a:not(.btn):hover,
.post-content .style-dark .heading-text.el-text a:not(.btn) a:visited:not(.btn):hover {
  color:var(--tdb-style-dark-links-hover-color);
}
.style-dark .tdb-product-description a:not(.btn):hover,
.style-dark .tdb-product-descriptiona:visited:not(.btn):hover {
  color:var(--tdb-style-dark-links-hover-color);
}

.top-menu.menu-light a:hover,
.top-menu.menu-light a:focus {
  color:var(--tdb-style-light-links-hover-color) !important;
}

.top-menu.menu-dark a:hover,
.top-menu.menu-dark a:focus {
  color:var(--tdb-style-dark-links-hover-color) !important;
}



/* End Links in post */


/* Pagination style */
.pagination > li .page-numbers,
.navigation > li .page-numbers {
  font-size: 14px;
  color:var(--tdb-style-light-links-color);
}

.with-bg.grid-footer .pagination > li {
  padding-top:9px;
  padding-bottom:0px;
}

.pagination .page-prev {
  margin-left:5px;
}

.pagination .page-next {
  margin-right:5px;
}

.tdb-link-hover-white a:focus, .tdb-link-hover-white a:hover {
    color: white !important;
}

/* End Pagination style */

/*
 *  3. Menu
 */
/* Hide class */

@media (min-width: 570px) and (max-width: 959px) {
    body[class*=hmenu] div:not(.menu-accordion) > ul.menu-smart > li:not(.social-icon).tdb-menu-tablet-hide {
      display: none !important;
    }
}
@media (max-width: 569px) {
    body[class*=hmenu] div:not(.menu-accordion) > ul.menu-smart > li:not(.social-icon).tdb-menu-mobile-hide {
      display: none !important;
    }
}

/* Menu border on mobile */
@media (max-width: 959px) {
    .menu-primary .menu-borders.needs-after::after {
        border-bottom-width: 1px;
    }
}

/* sub menu color */



/*
 *  5. Contact Form - reCAPTCHA hide google badge
 */
.grecaptcha-badge {
    opacity: 0;
}

.wpcf7-acceptance .wpcf7-list-item-label{
  font-size: inherit;
}

/*
 *  7. Footer
 */
.site-footer a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}


/*
 *  8. Products WooCommerce
 */
/* reduce container padding for woocommerce grid */
@media (max-width: 767px) {
  .tdb-reduce-mobile-padding.row-container .row-parent {
    padding: 36px 9px 36px 9px;
  }

  .tdb-reduce-mobile-padding .cssgrid-half-gutter .cssgrid-container {
    column-gap: 9px;
  }
}

.woocommerce span.onsale {
  background-color: var(--tdb-woocommerce-onsale-bg);
  color: var(--tdb-woocommerce-badge-color) !important;
}
.woocommerce span.soldout {
  background-color: var(--tdb-woocommerce-soldout-bg);
  color: var(--tdb-woocommerce-badge-color) !important;
}

/* cart badge */
.uncode-cart .badge {
  color: var(--tdb-woocommerce-badge-color);
}

div.product .out-of-stock {
  background-color: var(--tdb-woocommerce-soldout-bg);
  color: var(--tdb-woocommerce-badge-color);
  padding: 3px;
}

.woocommerce-privacy-policy-text p {
  font-size: inherit !important;
}

.woocommerce-terms-and-conditions-checkbox-text {
  line-height: 1.8;
}

.single_variation_wrap {
  margin-top:18px;
}

/* Country in one line */
#billing_country_field, #shipping_country_field {
  grid-column: 1 / span 2;
}

/* form field required */
.woocommerce .form-row .required {
    color: var(--tdb-accent-color);
}

/* Show billing_address_2 */
  .woocommerce .form-row.address-field label[for="billing_address_2"] , .woocommerce .form-row.address-field label[for="shipping_address_2"]{
    clip-path: none !important;
}



/* cart background */
#uncode_sidecart.style-light {
  background-color: white;
}

/* Hide In stock */
.stock.in-stock {
  display: none !important;
}


/* button quantity */
@media (max-width: 767px) {
  .product .quantity {
    margin-bottom: 18px;
  }
}

/* product video */
.product .wp-video {
  width: 200px !important;
  padding-top: 18px;
}

/* grid add to cart backhorund color */
.tmb-light.tmb-woocommerce.tmb .t-entry-visual .add-to-cart-overlay a {
  background-color: var(--tdb-style-light-links-color);
}


 /*
 *  9. Posts
 */

/* Wordpress Gallery */
@media (min-width: 570px) and (max-width: 959px) {
  .gallery-columns-1 .gallery-item {
    width: 100%;
    float: none;
  }
  .gallery-columns-2 .gallery-item {
    width: 50%;
  }
  .gallery-columns-3 .gallery-item {
    width: 50%;
  }
  .gallery-columns-4 .gallery-item {
    width: 50%;
  }
  .gallery-columns-5 .gallery-item {
    width: 50%;
  }
  .gallery-columns-6 .gallery-item {
    width: 50%;
  }
  .gallery-columns-7 .gallery-item {
    width: 50%;
  }
  .gallery-columns-8 .gallery-item {
    width: 50%;
  }
  .gallery-columns-9 .gallery-item {
    width: 50%;
  }
  .gallery-columns-2 .gallery-item:nth-child(2n+1),
  .gallery-columns-3 .gallery-item:nth-child(3n+1),
  .gallery-columns-4 .gallery-item:nth-child(4n+1),
  .gallery-columns-5 .gallery-item:nth-child(5n+1),
  .gallery-columns-6 .gallery-item:nth-child(6n+1),
  .gallery-columns-7 .gallery-item:nth-child(7n+1),
  .gallery-columns-8 .gallery-item:nth-child(8n+1),
  .gallery-columns-9 .gallery-item:nth-child(9n+1) {
    clear: unset;
  }

}
@media (max-width: 569px) {
  .gallery-columns-1 .gallery-item {
    width: 100%;
    float: none;
  }
  .gallery-columns-2 .gallery-item {
    width: 100%;
  }
  .gallery-columns-3 .gallery-item {
    width: 100%;
  }
  .gallery-columns-4 .gallery-item {
    width: 100%;
  }
  .gallery-columns-5 .gallery-item {
    width: 100%;
  }
  .gallery-columns-6 .gallery-item {
    width: 100%;
  }
  .gallery-columns-7 .gallery-item {
    width: 100%;
  }
  .gallery-columns-8 .gallery-item {
    width: 100%;
  }
  .gallery-columns-9 .gallery-item {
    width: 100%;
  }
  .gallery-columns-2 .gallery-item:nth-child(2n+1),
  .gallery-columns-3 .gallery-item:nth-child(3n+1),
  .gallery-columns-4 .gallery-item:nth-child(4n+1),
  .gallery-columns-5 .gallery-item:nth-child(5n+1),
  .gallery-columns-6 .gallery-item:nth-child(6n+1),
  .gallery-columns-7 .gallery-item:nth-child(7n+1),
  .gallery-columns-8 .gallery-item:nth-child(8n+1),
  .gallery-columns-9 .gallery-item:nth-child(9n+1) {
    clear: unset;
  }
}

/*
 *  10. Cookies Yes
 */
/* Hide CookiesYes Logo */
div[data-cky-tag="detail-powered-by"] {
  visibility: hidden;
}

/* buttons */
.cky-btn.cky-btn-customize, .cky-btn.cky-btn-preferences{
  border-color: var(--tdb-blue-saphir) !important;
  color: var(--tdb-blue-saphir) !important;
}

.cky-btn.cky-btn-accept, .cky-btn.cky-btn-reject {
  background-color: var(--tdb-blue-saphir) !important;
  border-color: var(--tdb-blue-saphir) !important;
  color: white !important;

}

/* notice */
.cky-notice-des a, .cky-notice-des a:visited{
  text-decoration-line: underline !important;
  text-decoration-style:solid !important;
  text-underline-offset: 3px !important;
  text-decoration-thickness: 1px !important;
  text-decoration-color: var(--tdb-blue-saphir) !important;
  color: var(--tdb-blue-saphir) !important;
}