/************************************************
	(4) primary layout elements formatting
*************************************************/

#wrapper {
  margin: 0 auto -80px auto;
  max-width: 1004px;
  min-height: 100%;
  /* commented this out because it messes with our ability to position swatches when hovering over samples in product pages */
  /*position: relative;*/
}

#wrapper:after {
  content: "";
  display: block;
}

#masthead {
  /* height: 92px; */
  /*background-color: #b90f1e;
    border-bottom: 8px solid #b57c00;*/
  padding: 60px 0px 0px;
}

#masthead-inner {
  /* width: 948px; */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

#logo {
  float: left;
  /* margin-top: 23px; */
  width: 284px;
  height: auto;
}

#utility {
  float: right;
  margin-top: 40px;
}

#primary-nav {
  height: 54px;
  margin: 0 auto;
}

#banner {
  margin-top: -40px;
  margin-bottom: 20px;
}

/************************************************
	(3) primary layout elements formatting
*************************************************/

/* utility-nav */
#utility ul {
  list-style-type: none;
}

#utility ul.nav li {
  float: right;
  margin-left: 30px;
}

#utility li.first {
  margin-left: 0;
}

#utility li a {
  color: #aaa;
}

#utility li a:hover {
  color: #333;
}

/* primary-nav */

#primary-nav > ul {
  list-style-type: none;
  float: right;
  margin: 0;
}

#primary-nav > ul > li {
  margin-right: 4px;
  /* position: relative; */
}

#primary-nav ul.nav > li > a {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  letter-spacing: normal;
  display: block;
  color: #000;
  padding: 18px 16px 38px;
  /* height: 38px; */
  text-transform: none;
  transition: 0.3s;
}
#primary-nav ul.nav > li > a:hover {
  opacity: 0.7;
}

#primary-nav > ul.nav > li > a {
  font-size: 18px;
}

/* #primary-nav ul.nav > li.current-nav > a {
    background: transparent url("../images/nav_hover.png") center top no-repeat;
}

#primary-nav li.current-nav > a {
    background: transparent url("../images/nav_active.png") center top no-repeat;
    color: #b90f1e;
} */

.img_menu {
  margin-left: 0 !important;
  max-width: 1050px;
  max-height: 440px;
  padding: 20px 20px;
  text-align: center;
}
.img_menu .menu_col.big .im_img {
  max-height: 600px;
}
.img_menu .menu_col.big h6 {
  margin-bottom: 20px;
}
.img_meinu .menu_col.column {
  margin-left: 15px;
}
.img_menu .menu_col a {
  transition: 0.3s;
}
.img_menu .menu_col a:hover img {
  transform: scale(1.03);
}
.img_menu .menu_col a h6 {
  margin-top: 8px;
}
.img_menu .menu_col a .im_img {
  border-radius: 10px;
  max-width: 100%;
  max-height: 100%;
  transition: 0.3s;
}
/* second level nav */

#primary-nav .menu {
  position: absolute;
  display: none;
  /* left: 0;
    top: 56px; */
  /* background: #fff; */
  /* border: 3px solid #b90f1e; */
  /* padding: 20px 11px 20px 0; */
  z-index: 100;
}

#primary-nav li.active .menu,
#primary-nav li:hover .menu {
  display: block;
}
#primary-nav li.active .menu_wrap,
#primary-nav li:hover .menu_wrap {
  display: flex;
  width: fit-content !important;
}

.menu a {
  color: #4d4d4d;
  text-decoration: none;
}

.menu .column {
  float: left;
  width: 278px; /*width of each menu column*/
  margin-left: 11px;
}

.menu ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.nav .menu li {
  margin: 0;
  padding: 2px 6px;
  cursor: pointer;
  float: none;
  font-weight: normal;
  text-transform: none;
  font-size: 0.95em;
  /*
    font-size: .85em;
letter-spacing: 0.05em;

    */
}

.menu li.highlight {
  margin-bottom: 30px;
  border-bottom: 1px solid #b90f1e;
  padding: 0;
}

.menu li.highlight .menu-item-desc {
  border-bottom: 30px solid #fff;
  padding-bottom: 6px;
}

.menu li.highlight .menu-item-title {
  padding-top: 6px;
}

.menu li.highlight .menu-item-desc,
.menu li.highlight .menu-item-title {
  padding-right: 6px;
  padding-left: 6px;
}

.menu li:hover {
  background-color: #dddfdd;
}
/*
.menu li:hover .menu-item-desc,
.menu li:hover .menu-item-desc a {
    color: #fff;
}
*/
.menu .menu-item-title {
  padding: 7px 6px 5px 0;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: normal;
  color: #4d4d4d;
  font-size: 0.95em;
}

.menu .menu-item-title span {
  text-transform: none;
}

.menu .menu-item-title sup {
  vertical-align: top;
  position: relative;
  top: 0;
}

.menu .menu-item-desc {
  color: #808080;
  font-size: 0.9em;
}

.menu .menu-item-desc a {
  color: #808080;
}

.menu .menu-item-desc p {
  margin: 0;
  padding: 0;
}

.menu li:hover li {
  border-left-color: #fff;
}

#addsearch-logo {
  display: none !important;
}

#addsearch-results {
  font-family: "Interstate Reg";
  font-size: 0.84em;
}
#addsearch-results .addsearch-result-item-sub h1 a,
#addsearch-results .addsearch-result-item-sub h2 a {
  color: #b90f1e;
}
#addsearch-results .addsearch-result-item-sub-active {
  background-color: rgba(34, 116, 172, 0.15);
}

/* banner */
#banner p {
  margin: 0;
}


ul.nav.subnav li {
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0;
}

/* jobs */

.job-listing h2 {
  text-transform: uppercase;
  font-size: 1em;
  color: #4d4d4d;
}

/* footer */

#footer-inner ul {
  margin: 32px 0 0 0;
  list-style-type: none;
  float: left;
}

#footer a {
  color: #fff;
}

#footer a:hover {
  color: #dddfdd;
}

/* comment */
#footer li {
  margin-right: 25px;
  /*margin-bottom: 10px;*/
  margin-bottom: 0;
}

#footer ul#fl-right {
  float: right;
}

#footer .social-icon {
  margin-top: -4px;
}

#footer ul#fl-right li {
  margin-left: 25px;
  margin-right: 0;
}

/*****************************************
 *  General Purpose
 ******************************************/

.error {
  background: transparent url("../images/icon_error.png") 100% 50% no-repeat;
}

/* lists */
ul.nav li {
  float: left;
  font-family: "Interstate Reg";
  font-size: 0.85em;
  text-transform: uppercase;
  font-weight: normal;
  letter-spacing: 0.05em;
}

ul.nav li a {
  text-decoration: none;
}

/* ul.link-list */
ul.link-list {
  overflow: auto;
  margin: 0 0 15px 0;
  padding: 0;
}

ul.link-list li {
  overflow: auto;
  margin: 0 0 15px 0;
  padding: 0;
}

ul.thumbs {
  margin: 0 0 15px 0px;
}

ul.link-list.thumbs li {
  padding-left: 150px;
  position: relative;
}

ul.link-list.thumbs li .thumb {
  margin-left: -150px;
}



/* tables  */
table.link-list {
  border-collapse: collapse;
  border-spacing: 5px;
  padding: 0 10px 10px 0;
  margin-bottom: 30px;
}

table.link-list.thumbs td:first-child {
  width: 150px;
}

/* div .actions */
div.actions {
  text-align: right;
}

div.actions ul {
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
}

div.actions ul li {
  display: inline-block;
}

/* div.msg */
.msg {
  background-color: #b90f1e;
  border: 3px solid #b57c00;
  margin: 0 0 20px;
  padding: 15px;
}

.clear {
  clear: both;
  font-size: 0px;
  height: 0px;
}

.more {
  border: 1px solid #4d4d4d;
  padding: 3px 6px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: #4d4d4d;
  font-size: 1em;
}


.page-body table.data {
  border-collapse: collapse;
}

.page-body table.data th {
  text-align: left;
  padding: 5px 10px;
}
.page-body table.data tr:nth-child(even) {
  background: #eee;
}

.page-body table.data td {
  padding-right: 20px;
  vertical-align: top;
  padding: 5px 10px;
}
/* page-type: multi-column */

.page-type-multi-column .columns .panel {
  float: left;
  margin-right: 5%;
}

.page-type-multi-column .columns hr {
  overflow: auto;
  clear: both;
  border: none;
  border-bottom: 1px solid #ccc;
  height: 1px;
  margin: 20px 0;
}

.page-type-multi-column .panel-header {
  color: #b90f1e;
  font-size: 1em;
  margin-bottom: 10px;
}

.page-type-multi-column .columns.by-2 .panel {
  margin-right: 5%;
}
.page-type-multi-column .columns.by-3 .panel {
  width: 28%;
}
.page-type-multi-column .columns.by-4 .panel {
  width: 20%;
}

.collection-columns {
  overflow: auto;
}

.collection-columns .column {
  float: left;
  width: 45%;
  margin-right: 5%;
}

/* product tiles */

#tiles {
  width: 930px;
  padding-left: 23px;
  margin: 0 auto;
}

.tile {
  float: left;
  width: 343px;
  height: 343px;
  margin-right: 23px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.tile a img,
.subtile a img {
  vertical-align: top;
}

.tile.narrow {
  width: 160px;
  overflow: hidden;
}

.tile span {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.subtile {
  position: relative;
}

.subtile.top {
  margin-bottom: 23px;
}

.product-landing .tile img {
  display: none;
}
.product-landing .tile span {
  display: block;
  position: static;
}
.product-landing .tile span img {
  display: block;
}

.right {
  float: right;
}

.hidden {
  display: none;
}

.small {
  font-size: 0.8em;
}

.fraction {
  font-size: 1.1em;
}

.adjacent-field {
  display: inline-block;
  vertical-align: bottom;
}

/* Colors, Fabrics, and Finishes static page stylings */

#colfabfin-landing div {
  float: left;
  width: 30%;
  margin-right: 5%;
  padding-bottom: 40px;
}

#colfabfin-landing div:last-child {
  margin-right: 0;
}

#colfabfin-landing h2 {
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

#colfabfin-landing a img {
  margin-bottom: 10px;
}

#colfabfin-finishes table.wood td,
#colfabfin-finishes table.fiberglass td,
#colfabfin-finishes table.table-tops td,
#colfabfin-finishes table.guest-center td {
  width: 115px;
}

#colfabfin-fabrics table td,
#colfabfin-addfabrics table td,
#colfabfin-scoopfabrics table td {
  width: 95px;
}

#colfabfin-oasisfabrics table td {
  width: 105px;
}

#product-icons {
  margin: 0 auto 40px auto;
}

#product-icons.category-product-icons {
  margin-top: 10px;
}

#product-icons ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#product-icons li {
  float: left;
  width: 60px;
}

#product-icons li a {
  display: block;
  width: 100%;
  height: auto;
}

#product-icons img {
  width: 100%;
  height: auto;
}

/* colorbox */

#cboxTitle a.lightbox-action-button {
  float: right !important;
  padding: 5px 8px;
  border: 1px solid #333;
  background-color: #fff;
  color: #333;
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 10pt;
}

#cboxTitle .lightbox-product-title {
  line-height: 1.4;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #333;
}

.video-lightbox .cboxIframe {
  height: 84%;
  margin: 20px auto 0 auto;
}

.video-lightbox #cboxTitle {
  position: relative;
  width: 84%;
  margin: -40px auto 0 auto;
  bottom: auto;
  text-align: left;
  float: none !important;
}

input.button {
  border: 1px solid #979797;
  -webkit-box-shadow: 2px 2px 0 0 #979797;
  box-shadow: 2px 2px 0 0 #979797;
  font-family: "Interstate Lt";
  font-size: 0.85em;
  padding: 5px 10px;
  cursor: pointer;
}

input.button:hover {
  background-color: #eee;
}

.text-right {
  text-align: right;
}

/* product tiles (/products/pdq) */

.product-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-left: -5%;
}

.product-tiles h3 {
  font-size: 0.85rem;
}

.product-tiles .product-tiles {
  margin-left: 0;
  display: block;
}

.product-tiles .product.last {
  margin-right: 0;
}

.product-tiles__item {
  display: inline-block;
  width: 20%;
  margin-left: 5%;

  height: 230px;
  /*border-bottom: 1px solid #979797;*/
  margin-bottom: 60px;
  vertical-align: top;
  position: relative;
  transition: opacity 0.5s ease;
  border-bottom: 1px solid #979797;
}

.product-tiles .product-tiles__title a {
  color: #4d4d4d;
}

.product-tiles .product-tiles__title {
  border-bottom: 1px solid #979797;
}

.product-tiles .product-tiles__thumb {
  text-align: center;
}

.product-tiles__item.product-tiles__item--hide {
  transition: all 0.5s ease;
  /*width: 0;*/
  height: 0;
  padding: 0;
  opacity: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.product-tiles__cats {
  height: 0;
  width: 0;
  overflow: hidden;
}

.product-tiles__close {
  position: absolute;
  top: 4px;
  right: 4px;
  opacity: 0;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
}

.product-tiles__item.product-tiles__item--active {
  width: 100%;
  height: auto;
  border-bottom: 0;
}

.product-tiles__item.product-tiles__item--active > .product-tiles__thumb {
  display: none;
}

.product-tiles__item.product-tiles__item--active .product-tiles__thumb {
  text-align: left;
  border-bottom: 0;
}

.product-tiles__item.product-tiles__item--active .product-tiles__cats {
  width: auto;
  height: auto;
  transition: padding 0.5s ease;
  padding: 10px 0;
}

.product-tiles__item.product-tiles__item--active .product-tiles__close {
  transition: opacity 0.5s ease;
  opacity: 1;
}

.product-tiles__item.product-tiles__item--active > .product-tiles__title {
  margin-bottom: 30px;
}

/* privacy notice */
.privacy-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;

  height: 130px;
  padding: 30px 30px;
  background-color: #dddfdd;
  transform: translateY(30px);
}

.privacy-notice--responding {
  transition: transform 0.5s ease;
  transform: translateY(0px);
}

.privacy-notice--responded {
  transition: transform 0.5s ease;
  transform: translateY(200px);
}

.privacy-notice__body {
  max-width: 948px;
  margin: 0 auto;
}

.privacy-notice h2 {
  color: #b90f1e;
  font-family: "Interstate Reg";
  font-size: 1em;
  margin-bottom: 10px;
  text-transform: uppercase;
  border-bottom-color: #b90f1e;
  border-bottom-style: solid;
  border-bottom-width: thin;
}

.privacy-notice p {
  font-size: 0.92em;
  line-height: 1.4;
  margin-top: 5px;
}

.privacy-notice .button {
  border: 1px solid #979797;
  -webkit-box-shadow: 2px 2px 0 0 #979797;
  box-shadow: 2px 2px 0 0 #979797;
  font-family: "Interstate Lt";
  font-size: 0.85em;
  padding: 5px 10px;
  cursor: pointer;
  background-color: #fff;
}

.privacy-notice .button a {
  padding-top: 7px;
  text-decoration: none;
}

#primary-nav .menu {
  border: 3px solid #b90f1e;
}

/* #product-tabs a:hover,
.tab-content a:hover,
.product .title a:hover,
.show-extra a:hover,
#title-band .breadcrumb li a:hover,
.accordion-header span:hover,
ul#related-models li a:hover,
ul#related-products li a:hover {
  color: #b90f1e;
} */

/* #footer {
    background: #404040 url("../images/bg_footer_default.png") 0 0 repeat-x;
} */
/* #footer {
  background: #404040;
}

#masthead {
  background-color: #fff;
  border-bottom: 8px solid #ccc;
  height: auto;
}

#edit-freight-charge,
#title-band .subnav,
.megamenu,
#primary-nav,
#utility,
#footer {
  /*display: none !important;
    visibility: hidden !important;
    height: 0 !important;
  overflow: hidden !important;
  left: -1000px !important;
  top: -1000px !important;
}*/

#edit-freight-charge,
.megamenu,
#primary-nav,
#utility,
#footer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
} */

#logo {
  margin-bottom: 20px;
}

.show-print {
  display: inline-block !important;
}

.accordion-header .show-print {
  float: left;
  margin: 1px 6px 0 0;
}

.print-hide {
  display: none;
}

.accordion-header img {
  float: left;
  margin-right: 6px;
}

/* Align tab content and improve layout */
.su-tabs {
  max-width: 100%;
  margin: 20px auto; /* Add some top and bottom margin */
  background-color: transparent !important; /* Ensure no background color */
  border: none !important; /* Remove any border */
}

.su-tabs .su-tabs-nav {
  display: flex;
  justify-content: space-around;
  margin-bottom: 0; /* Reduce bottom margin */
}

.su-tabs .su-tabs-nav span {
  flex: 1;
  text-align: center;
  background-color: transparent !important; /* Transparent background for tabs */
  padding: 10px 20px;
  font-weight: bold;
  color: #333;
  border: none !important; /* Remove any border */
  cursor: pointer;
}

.su-tabs .su-tabs-nav span.su-tabs-current {
  border-bottom: 2px solid #d9534f !important; /* Red line under the active tab */
}

.su-tabs .su-tabs-nav span:not(.su-tabs-current):hover {
  background-color: #f5f5f5; /* Light grey background on hover for inactive tabs */
}

.su-tabs .su-tabs-pane {
  padding: 20px;
  background-color: transparent !important; /* Transparent background for tab content */
  border: none !important; /* Remove any border */
  box-shadow: none !important; /* Remove any shadow */
}

#hero {
  display: none !important; /* Hide the hero section */
}

#features_home {
  display: flex;
  margin-top: 40px;
  max-width: 1100px;
  text-align: center;
}
#features_home .feature_box {
  margin: 0 15px;
  width: 50%;
}
#features_home .feature_box h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: normal;
  margin-top: 15px;
  text-transform: none;
}
#features_home .feature_box img {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

#features {
  width: 930px;
  padding-bottom: 50px;
  margin: 14px auto 0;
  padding-left: 23px;
  overflow: auto;
}

.feature {
  width: 282px;
  float: left;
  margin-right: 23px;
  margin-top: 22px;
}

.feature p {
  font-size: 0.92em;
  line-height: 1.4;
  margin-top: 5px;
}

/* Main container */
.image-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border: 0px solid red;
}

.image-wrapper img {
  width: 100%;
  transition: transform 0.3s ease;
}

.image-wrapper:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* Superposición negra al 20% */
  transition: opacity 0.3s ease;
  opacity: 0;
}

.image-wrapper:hover .overlay {
  opacity: 1;
}

.wp-element-caption {
  position: absolute;
  bottom: 10px; /* Ajusta según sea necesario */
  left: 50%;
  transform: translateX(-50%);
  background-color: white; /* Fondo blanco para que sea legible */
  padding: 5px 10px;
  font-weight: bold;
  color: black;
  font-size: 14px; /* Ajusta según el tamaño que necesites */
  z-index: 10;
}

/* START MENU */

/* Prevent continuous underline after hover */
.menu-item a:focus::after,
.menu-item a:active::after {
  width: 0;
}

/* Subtitles (Subtitle 2 All Caps) */
.sub-menu .subtitle {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 22px;
  margin-bottom: 10px; /* Space below each subtitle */
  color: #000;
  text-align: left; /* Ensure subtitles are aligned to the left */
}

.wp-block-image.aligncenter {
  padding: 20px;
}

/* SUBNAV STYLES */

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav.subnav {
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
  }

  .nav.subnav li {
    margin-bottom: 5px;
  }

  .nav.subnav a {
    padding: 8px 10px;
    font-size: 14px;
  }
}
/* Subnav */

/*Header position: logo+ menu*/
/*Header Position */
/* Select the container of the dots */
.flex-control-nav {
  display: flex;
  flex-direction: column; /* organizate the dots in a column */
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 10px; /* Adjust the distance from the right edge */
  top: 80%; /* Adjust the distance from the top edge */
  transform: translateY(-50%); /* center vertically the group of dots */
  list-style: none; /* remove style */
  padding: 0;
  margin: 0;
}

.flex-control-nav li {
  margin: 5px 0; /* space between dots */
}

.flex-control-nav li a {
  display: block;
  background-color: #aaa; /* dot color */
  width: 10px;
  height: 10px;
  border-radius: 50%; /* Keep the circular shape */
  transition: background-color 0.3s ease;
}

.flex-control-nav li a:hover,
.flex-control-nav li a.flex-active {
  background-color: #000; /* Change color when active or on hover */
}
