@charset "UTF-8";

body.logged-in:after {
  content: "Tablet Portrait";
  background: rgba(108, 22, 22, 0.5);
}

.hide_from_tablet_portrait {
  display: none;
}

.show_from_tablet_portrait {
  display: block;
}

/* LAYOUT
----------------------------------------------------------------------------- */
.site_wr,
.site_header_wrapper {
  padding-right: 24px;
  padding-left: 24px;
}

/* Grid */
.grid-split {
  grid-template-columns: repeat(1, 1fr);
}

.card-content {
  padding: max(2vh, 1rem);
}

.card_sfalsata:nth-child(even) {
  margin-top: 0;
}

/* Grids */
.mix,
.gap {
  width: calc(100% / 2 - (((2 - 1) * 34px) / 2));
}

.mix {
  margin-bottom: 40px;
}

.grid_4 .col,
.grid_3 .col:not(.col_footer):not(.col_catalogo) {
  width: 47.5%;
  margin: 0 0 40px 5%;
}

.grid_3 .col:not(.col_footer):not(.col_catalogo):nth-of-type(3n + 1) {
  clear: none;
  margin-left: 5%;
}

.grid_3 .col:not(.col_footer):not(.col_catalogo):nth-of-type(2n + 1),
.grid_4 .col:nth-of-type(2n + 1) {
  clear: left;
  margin-left: 0;
}

/* Highlights */
.section_highlights:first-of-type {
  margin-top: 70px;
}

.section_highlight:nth-child(odd) {
  margin-left: 8%;
}

.section_highlight:nth-child(even) {
  margin-right: 8%;
}

/* Mosaic */
.grid_mosaic {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}

/* Modals */
.popup_title,
.popup_content {
  padding-left: 40px;
  padding-right: 40px;
}

/* BUTTONS
----------------------------------------------------------------------------- */
.btn_outline {
  padding: 10px 20px;
}

/* TYPOGRAPHY
----------------------------------------------------------------------------- */

/* Headings */

h1 {
  font-size: 24px;
}

h1.page_title {
  font-size: 36px;
  margin-bottom: 24px;
}

h2 {
}

h2.hp_module_title {
  font-size: 20px;
}

h3 {
}

.section_fp h3 {
  font-size: 20px;
}

.swiper-slide-timeline h3 {
  font-size: 24px;
}

h3.col_title,
.col_title {
  font-size: 24px;
}

.grid_mosaic_item .col_title {
}

h4 {
}

.section_fp h4 {
}

h4.prod_title {
}

h4.item_carousel_title {
}

.contatti_come_raggiungerci h4 {
}

.contatti_come_raggiungerci h4:first-of-type {
}

h5 {
}

h5.section_highlight_title {
  font-size: 24px;
}

h5.prod_title {
}

h6 {
}

h6.product_occhiello {
}

/* STORIA
----------------------------------------------------------------------------- */
.swiper-timeline .swiper-pagination-bullet::before {
  right: 14%;
}

.swiper-slide-timeline article {
  padding: 50px 140px 50px 80px;
  min-height: 400px;
}

.swiper-slide-timeline small {
  font-size: 18px;
}

/* SISTEMA DORMIRE PEDANO
----------------------------------------------------------------------------- */
.section_intro .page_thumbnail {
  max-width: 66%;
}

.overlap_images {
  transform: scale(0.8);
}

.section_fp:not(.section_consigli) .text_wr {
  padding: 0 4%;
}

.cuscino_vola.left {
  left: -50px;
}

/* ARCHIVES
----------------------------------------------------------------------------- */
.controls .control {
  margin: 10px 20px 10px 0;
  font-size: 13px;
}

/* SINGLE PROD
----------------------------------------------------------------------------- */
.prod_tax {
  width: 100%;
  padding: 40px 0;
}

.prod_tax::after {
  content: "";
  display: block;
  position: absolute;
  width: 24px;
  background: #f7f7f7;
  height: 100%;
  right: -24px;
  top: 0;
}

/* Varianti con filtri */
.prod_variations_with_filters .variation_img,
.prod_variations_with_filters .variation_filters_wrapper {
  float: none;
  max-width: 100%;
}

.variation_filter {
  width: 100%;
  margin-right: 0 !important;
}

/* WOOCOMMERCE
----------------------------------------------------------------------------- */
.prod_available_intro {
  display: block;
}

.prod_available_images,
.prod_available_summary {
  max-width: 100%;
  width: 100%;
  float: none;
}

/* Cart */
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  width: 100%;
  float: none;
}

.woocommerce table.shop_table_responsive tr:nth-child(2n) td,
.woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
  background: #fff;
}

td.product-remove {
  background: #f2f2f2 !important;
}

td.product-name {
  border-top: 0 !important;
  background: #f2f2f2 !important;
}

.woocommerce table.shop_table td.product-name {
  border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: #f7f7f7 !important;
}

td.product-name::before {
  display: none !important;
}

td.product-price::before,
td.product-quantity::before,
td.product-subtotal::before {
  font-size: 14px;
  font-weight: normal !important;
}

td.product-name > a {
  display: block;
  text-align: left;
  font-weight: bold;
  font-size: 16px;
}

td.product-name > p {
  text-align: left;
  margin-top: 4px;
  font-style: italic;
}

.woocommerce a.remove {
  float: right;
}

.woocommerce-cart-form tbody tr:last-child:not(.cart_item) {
}

.woocommerce-cart-form tbody tr:last-child:not(.cart_item) > td {
}

.button[name="apply_coupon"] {
}

/* Checkout */
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  width: calc(100% - 48px);
  left: 0;
  position: static;
}

.woocommerce ul.order_details {
  margin-top: 40px;
}

.woocommerce ul.order_details li {
  width: 100%;
  border-right: 0;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.woocommerce ul.order_details li strong {
  font-size: 14px;
}

/* CONTATTI
----------------------------------------------------------------------------- */
.main {
  max-width: calc(100% - 320px);
}

.sidebar_recapiti .logo {
  max-width: 140px;
}

/* FOOTER
----------------------------------------------------------------------------- */
.site_footer p {
  font-size: 18px;
}

.credits {
  display: block;
}

.credits::before {
  display: none;
}

.site_footer_logo + .grid_3 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
}
.site_footer_logo + .grid_3 .col:nth-child(1),
.site_footer_logo + .grid_3 .col:nth-child(2) {
  width: 46%;
}

.site_footer_logo + .grid_3 .col:nth-child(3) {
  width: 100%;
}
