/* Variables
---------------------------------------- */
:root {
  --primary: #FF6600;
  --secondary: #FFCC29;
  --dark: #000000;
  --light: #f4f4f4;
  --border: #dddddd;

  --color-text: #444444;
  --color-heading: #111111;
}

/* HTML and Body
---------------------------------------- */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  width: 100%;
  height: auto;
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.15rem;
  line-height: 1.7em;
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
/* Regions
---------------------------------------- */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}
summary {
  display: list-item;
  cursor: pointer;
}
details {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}
template,
[hidden] {
  display: none;
}

/* Typography
---------------------------------------- */
h1, h2, h3 {
	/*font-family: 'EB Garamond', serif;*/
    font-weight: 400;
}
h4,
h5,
h6 {
  color: var(--color-heading);
  font-weight: 600;
  font-style: normal;
  line-height: 1.7;
  text-transform: uppercase;
  margin: 0;
}

h1 {
	font-size: calc(24px + (38 - 24) * (100vw - 300px) / (1000 - 300));
	line-height: 1.4em;
	text-align: center;
}

/* Línea debajo */
h1::after {
    content: "";
    width: 60px;
    height: 5px;
    background: #FF6600;
    display: flex;
	margin: 0 auto;
    /*margin-left: 50%;
    transform: translateX(-50%);*/
}

h2 {
  font-size: calc(20px + (32 - 20) * (100vw - 300px) / (1000 - 300));
}
h3 {
  font-size: calc(18px + (30 - 18) * (100vw - 300px) / (1000 - 300));
}
h4 {
  font-size: calc(17px + (28 - 17) * (100vw - 300px) / (1000 - 300));
}
h5 {
  font-size: calc(17px + (28 - 17) * (100vw - 300px) / (1000 - 300));
}
h6 {
  font-size: calc(17px + (28 - 17) * (100vw - 300px) / (1000 - 300));
}

/* Subrayado animado */
h2 a, h3 a, h4 a, .sidebar li a, a.linea {
    background: linear-gradient(to right, rgba(250, 250, 250, 0), rgba(250, 250, 250, 0)), linear-gradient(to right, rgba(255, 102, 0, 1), rgba(255, 102, 0, 1));
    background-size: 100% 1px, 0 1px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 800ms;
}
h2 a:hover, h3 a:hover, h4 a:hover, .sidebar li a:hover, a.linea:hover,
h2 a:focus, h3 a:focus, h4 a:focus, .sidebar li a:focus, a.linea:focus {
	background-size: 0 1px, 100% 1px;
	color: var(--primary);
}

p {
  margin: 0 0 1.2rem 0;
}
b,
strong {
  font-weight: bolder;
}
dfn,
cite {
  font-style: italic;
}
del {
  text-decoration: line-through;
}
small {
  font-size: 80%;
}
big {
  font-size: 125%;
}
em {
  font-style: normal;
}
a {
  background-color: transparent;
  text-decoration: none;
  color: var(--primary);
}
a:active,
a:focus {
  text-decoration: none;
  border: 0;
  outline: 0;
}
a:hover {
  color: var(--secondary);
}
/* Typography-> code tags */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1rem;
}
kbd,
samp {
  display: inline-block;
  margin: 0;
  padding: 0 5px;
}
pre {
  overflow: auto;
  margin: 1rem 0;
  padding: 1rem;
  tab-size: 2;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
tt,
var {
  font-family: monospace, monospace;
  font-style: italic;
}
mark {
  background: var(--primary);
}
acronym[title], abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}
abbr,
acronym {
  cursor: help;
}

/* Media
---------------------------------------- */
audio,
canvas,
progress,
video {
  vertical-align: baseline;
  max-width:100%;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
img,
a img {
  max-width: 100% !important;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-style: none;
  vertical-align: middle;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border: 0;
}
.align-left {
  margin: 0 1rem 0 0;
}
.align-right {
  margin: 0 0 0 1rem;
}
.align-center {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
figcaption {
  padding: 4px;
  font-size: 0.8rem;
  text-align: center;
}
.image-field {
  margin: 0 0 1rem 0;
}

/* BUTTON */
.button {
  margin: 10px;
  padding: 12px 18px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: #606062;
  border-radius: 30px;
  display: block;
  border: 1px solid #606062;
  font-weight: 700;
  box-shadow: 0px 0px 14px -7px #f09819;
  /*background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);*/
  background: #fff;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.button:hover {
  background-position: right center;
  /* change the direction of the change here */
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  border: 0;
}
.button:active {
  transform: scale(0.95);
}

/* ACTION ------- */
.action {
  color: #fff;
  border: 0;
  box-shadow: 0px 0px 14px -7px #f09819;
  background: var(--primary);
}
.action:hover {
  background: #F8B003;
  color: #000;
  border: 0;
}


/* Form
---------------------------------------- */
form {
  margin-bottom: 1rem;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.7;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
.button {
  display:inline-block;
}
.button,
button,
[type="button"],
[type="reset"],
[type="submit"] {
  position: relative;
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 0;
}
button[disabled],
html input[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
input {
  line-height: normal;
}
input,
textarea {
  max-width: 100%;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  padding: 10px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  outline: 0;
}
textarea {
  width: 100%;
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  padding: 0;
  cursor: pointer;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
[type="file"] {
  cursor: pointer;
  font-size: .8em;
}
fieldset {
  margin: 0 0 20px 0;
  padding: 1rem;
}
fieldset > :last-child {
  margin-bottom: 0;
}
legend {
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
optgroup {
  font-weight: bold;
}
select {
  padding: 6px;
  cursor: pointer;
  font-size: .8em;
}
label[for] {
  cursor: pointer;
}
/* Form */
.form-item {
  margin-bottom: 1rem;
}
.form-required:after {
  content: "*";
  display: inline-block;
  padding-left: 4px;
  color: red;
}
.form-item label {
    display: block;
    font-size: .8em;
    font-weight: bold;
}
form .description {
	margin-top: 8px;
	font-size: .7em;
    line-height: 1.4em;
}

div#edit-mail--description.description { display:none !important; }
div#edit-name--description.description { display:none !important; }
div#edit-user-picture-0--description.description { display:none !important; }
div#edit-field-empresa-0-value--description.description { display:none !important; }
div#edit-field-rif-0-value--description.description { display:none !important; }
div#edit-field-ciudad-0-value--description.description { display:none !important; }
div#edit-field-estado-0-value--description.description { display:none !important; }

label.option {
  display: inline;
  font-weight: normal;
}
::-webkit-input-placeholder {
  color: var(--border);
  font-size: .8em;
}
:-moz-placeholder {
  color: var(--border);
  font-size: .8em;
}
::-moz-placeholder {
  color: var(--border);
  font-size: .8em;
  opacity: 1;
}
:-ms-input-placeholder {
  color: var(--border);
  font-size: .8em;
}
.field--name-body input[type="text"],
.field--name-body input[type="email"],
.field--name-body input[type="url"],
.field--name-body input[type="password"],
.field--name-body input[type="search"],
.field--name-body textarea {
  display: block;
  margin-bottom: 0.8rem;
}

/* Common HTML Elements
---------------------------------------- */
hr {
  background-color: var(--border);
  clear: both;
  width: 100%;
  max-width: 100%;
  height: 2px;
  border: 0;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  overflow: visible;
}
address {
  margin: 0 0 1rem 0;
  font-style: italic;
}
/* Definition Lists */
dt {
  font-weight: 700;
}
dd {
  margin: 0 0 1.2rem 0;
}
blockquote {
  position: relative;
  background-color: var(--light);
  margin: 1rem 0;
  padding: 1rem;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/* List
---------------------------------------- */
 ul,
 ol {
   margin: 0;
   padding: 0 0 0.25rem 1rem;
 }
 [dir="rtl"] ul,
 [dir="rtl"] ol {
   padding: 0 1rem 0.25rem 0;
 }
 ol ol,
 ul ul {
   margin: 0;
   padding: 0 0 0.25rem 1rem;
 }
 [dir="rtl"] ol ol,
 [dir="rtl"] ul ul {
   padding: 0 1rem 0.25rem 0;
 }
 ul { list-style: disc; }
 li > ul,
 li > ol {
   margin-bottom: 0;
 }
 [dir="rtl"] ul,
 [dir="rtl"] ol {
   padding: 0 1rem 0.25rem 0;
 }
 li { padding: 4px 0; }

/* Table
---------------------------------------- */
table {
  width: 100%;
  margin-bottom: 1.2rem;
  border-spacing: 0;
  border-collapse: collapse;
}
th, tr, td { vertical-align: middle; }
th {
  margin: 0;
  padding: 5px;
  text-align: left;
}
td { padding: 5px; }

/* Default box sizing.
---------------------------------------- */
*,
:after,
:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:after,
*::after,
*:before,
*::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

ul.page-tabs {
    display: block !important;
}

/* --- SLICK --- */
.slick-dots { bottom: -43px; }

.site-page .node-content { width: 100% !important; margin: 0 auto 30px !important; }

/* Sin sidebar */
.sinsidebar .main-wrapper .container{ max-width: 90%; }

.flexcontent-3 {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: 12px;
	background-color: #fff;
}
.itemcontent {
	padding: 16px;
	border: 1px solid #ccc;
	border-radius: 12px;
}
.itemcontent-1 { flex-basis: 100%; }
.itemcontent-2 { flex-basis: 100%; }
.itemcontent-3 { flex-basis: 100%; }

/* PAGINA SERVICIOS */
.main-tabs { margin: auto; }
.main-tabs *:focus, input:focus + label {
  outline: none;
  box-shadow: inset 0 0 0 5px #FFF;
}
.main-tabs h2 {
  text-align: center;
  margin-top: 0;
}
.main-tabs h3 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: bold;
}
.main-tabs p {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.5;
}
.main-tabs .tabs {
  max-width: 801px;
  display: flex;
  flex-wrap: wrap;
  margin: 45px auto;
  border-radius: 10px 10px 0 0;
}
.main-tabs .radiotab {
  position: absolute;
  opacity: 0;
}
.main-tabs .label {
  width: 100%;
  padding: 22px 20px;
  background: #e5e5e5;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: #7f7f7f;
  transition: background .3s, color .3s;
  border: none;
  border-radius: 0;
  text-align: center;
}
.main-tabs .label:hover { background: #d8d8d8; }
.main-tabs .label:active { background: #ccc; }
.main-tabs .radiotab:checked + .label {
  background: #FFCC29;
  color: #000;
  border-top: solid 2px #000;
  border-left: solid 2px #000;
  border-right: solid 2px #000;
  border-bottom: none;
}
.main-tabs .panel {
  display: none;
  padding: 20px 30px 30px;
  background: #fff;
  width: 100%;
  border-left: solid 2px #000;
  border-bottom: solid 2px #000;
  border-right: solid 2px #000;
}
.main-tabs .radiotab:checked + .label + .panel { display: block; }

.main-tabs .panel .items {
  display: flex;
  flex-flow: row nowrap;
}
.main-tabs .panel .item {
  flex-grow: 1;
  flex-basis: 50%;
}

@media (min-width: 600px) {
  .main-tabs .panel { order: 99; }
  .main-tabs .label {
    width: 25%;
    border-radius: 10px 10px 0 0;
    border-bottom: solid 2px #000;
  }
}

/* PINFLEX */
#pinflex {
  max-width: calc(5 * 16rem);
  min-width: 10em;
  margin: 0 auto;
}
.pinwrapper {
  padding: 0;
  border: 0;
  overflow: hidden;
  background-color: white;
  margin: .5em;
}
.pinwrapper h3 {
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
}
.pinwrapper p { font-size: 1em; }
.pin { padding: 0 1em; }
.pinimage img { width: 100%; }

/* FLEXBOX */
#pinflex {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.pinwrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 1 calc(50% - 1em);
}

/* ICONX */
ion-icon {
  font-size: 48px;
  color: #000;
  --ionicon-stroke-width: 16px; /* Solo outlines */
}
.iconx:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: linear-gradient(120deg, #eaee44, #33d0ff); */
  background-color: rgba(78, 61, 69, 0.2);
  opacity: 1;
}
.iconx > * { z-index: 100; }
.iconx {
  position: relative;
  height:90px;
  width:90px;
  clip-path: circle(50% at 50% 50%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
/* * { transition: all 0.4s ease-out; } */
.iconx:hover {
	height:94px;
	width:94px;
	background-color: rgba(78, 61, 69, 0.7);
}
.iconx:hover ion-icon { color: #fff; }


/* PAGINAS PRODUCTOS ------ */
body.displayprods .layout--twocol-section {
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
}

/* HEAD LAYOUT PRODS */
.head-layout-prods .layout__region {
	margin-top: 12px;
	display: flex;
	flex-flow: row wrap;
}
.head-layout-prods .layout__region > .block {
	border-right: 2px solid #999 !important;
	padding: 4px 8px 0;
	flex: 1 1;
}
.head-layout-prods .layout__region > .block:last-child {
	border-right: 0 !important;
}
.head-layout-prods .layout__region div h3 {
	font-size: .9em;
	line-height: 1em;
	margin: 0;
}
.head-layout-prods .layout__region ul.taxonomy-terms {
    margin: 0;
	line-height: 1.8em;
}
.head-layout-prods .layout__region div li {
	font-size: .9em;
}
.marcaprod.block h2 {
    display: none;
}
.marcaprod.block img {
    max-width: 200px !important;
}
/* /HEAD LAYOUT PRODS */

.layout--twocol-section {
    margin: 40px 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
}

.layout__region--first, .layout__region--second {
    min-height: 100px; background: #fff !important; padding: 8px;
}
body.displayprods .layout__region.layout__region--second {
    max-height: 500px; padding-right: 2%; overflow-y: auto;
}
body.displayprods .layout__region.layout__region--second::-webkit-scrollbar {
  width: 4px;
}
body.displayprods .layout__region.layout__region--second::-webkit-scrollbar-track {
  border-radius: 2px;
}
body.displayprods .layout__region.layout__region--second::-webkit-scrollbar-thumb {
  background: #FF6600; border-radius: 2px;
}
body.displayprods .layout__region.layout__region--second::-webkit-scrollbar-thumb:hover {
  background: #919191; 
}

body.displayprods #flexslider-1.flexslider { margin: 0; }
body.displayprods #flexslider-1.flexslider .flex-control-nav { bottom: -15px; }

body.displayprods h1 {
	font-size: 36px;
	line-height: 1.2em;
	text-align: left;
	margin-top: 0;
}
/* Línea debajo */
body.displayprods h1::after {
    content: "";
    width: 60px;
    height: 5px;
    background: #FF6600;
    display: flex;
	margin: 12px auto 0 0;
}
body.displayprods .field--name-sku { font-size: .9em; margin-top: 30px; margin-bottom: 0; }
body.displayprods .node-taxonomy-container, .node-links-container { font-size:.9em; padding:0; }
body.displayprods .node-taxonomy-container li { font-weight: bold; }
body.displayprods .field--name-field-descripcion { font-size: .9em; line-height: 1.5em; }

/*body.displayprods div.fivestar > form > table > tbody > tr > td.rating-table-td { font-size: .4em; }*/
body.displayprods div.fivestar-rating-wrapper > div > label, div.fivestar-rating-wrapper > div > label.empty {
    font-size: 1em; }
	body.displayprods div.fivestar-rating-wrapper > div > label.full {
    font-size: 1em !important; }
body.displayprods div.fivestar > form > table > tbody > tr.rating-table-tr {
    background: #fff; }

body.displayprods .field--name-price .original-price {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 10px;
}
body.displayprods .field--name-price .final-price {
	font-size: 42px;
	font-weight: bold;
	color: #FF6600;
	margin-bottom: 20px;
}

body.displayprods .field--name-field-mayor table { width: 39%; }
body.displayprods .field--name-field-mayor table caption { display: none; }
body.displayprods .field--name-field-mayor table th {
	font-size: .8em;
	padding-top: 2px;
    padding-bottom: 2px;
    text-align: center;
    background-color: #000;
    color: white;
}
body.displayprods .field--name-field-mayor table td {
	padding-top: 2px; padding-bottom: 2px; text-align: center; 
}
body.displayprods .field--name-field-mayor table td.col_0 {
	font-weight: bold; 
}

body.displayprods .form-actions .button {
	margin-left: 0; 
}
body.displayprods .field--name-body {
	font-size: 1.0em;
    line-height: 1.4em;
}
body.displayprods .catalogo-prods .views-field-title { line-height:1.5em; font-size: calc(14px + (16 - 14) * (100vw - 577px) / (1000 - 577)) !important; }


/* FLEX 3 ITEMS */
@media (max-width: 576px) {
.itemx { display:flex; flex-wrap:wrap; gap: 12px; }
body.displayprods .catalogo-prods { display: flex; flex-wrap:wrap; justify-content: center; gap:10px; margin-bottom:150px; }
}
@media (min-width: 577px) {
.itemx { display:flex; flex-wrap:nowrap; gap: 12px; }
body.displayprods .catalogo-prods { display: flex; flex-wrap:nowrap; justify-content: center; gap: 10px; margin-bottom:150px; }
body.displayprods .catalogo-prods .views-row { flex:1; }
}

.relacionados h2 { font-size:1.6em !important; font-weight:bold; text-align:center; }
.relacionados .more-link { font-weight: bold; line-height:1.4em; text-align:center; position:absolute; bottom:-95px; padding: 4px 10px; border: 1px solid #000; border-radius: 30px; }


/* TABLES en displayprods */
body.displayprods table {
  font-size: .9em;
  border-collapse: collapse;
  width: 100%;
}
body.displayprods table td, body.displayprods table th {
  border: 1px solid #ddd;
  padding: 8px;
}
body.displayprods table tr:nth-child(even){background-color: #f2f2f2;}
body.displayprods table tr:hover {background-color: #ddd;}
body.displayprods table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #666;
  color: white;
}
/* /PAGINAS PRODUCTOS ------ */


/* CATALOGO PRODUCTOS ------- */
.catalogo {
    background: #E3E6E6;
}

.catalogo-prods {
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
}
.catalogo-item {
	margin: 48px .8em;
	padding: 0;
	font-size: .9em;
	line-height: 1.2em;
}
.catalogo-item img { width: 100%; }
.catalogo-item .views-field-title { margin: 0 4px; font-weight: bold; text-align: center; }
.catalogo-item .views-field.views-field-price__number { text-align: center; }
.catalogo-item .original-price { display: inline; }
.catalogo-item .final-price { font-weight: bold; display: inline; margin-left: 12px; }

#block-exposedformproductospage-1 label { display: none; }
#block-exposedformproductos-por-presupuestopage-1 label { display: none; }

#block-productos h2, #block-productosamedida h2 { font-size: 1.5rem; }

@media (min-width: 490px) {
.catalogo-prods {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

.catalogo-item { margin: 30px .6em; width: 43%; }
}
@media (min-width: 780px) {
	.catalogo-item { width: calc((100% - 10px) / 2.1); }
}

@media (max-width: 960px) {
	.catalogo #sidebar-left { display: none; }
	.catalogo h1.page-title { margin-bottom: 0; }
}

@media (max-width: 780px) {
	.site-page .node-content { margin: 0 auto; }

	#sidebar-left { display: block; }
	.main-container { flex-direction: column-reverse !important; }
	
	/*Exposed Filter - Productos*/
	#block-exposedformproductospage-1 .categ { display: block; }
	#block-exposedformproductospage-1 .categ {
	background-color: #FFCC29;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
	}
	#block-exposedformproductospage-1 .categ a { color: #000; }
	#block-exposedformproductospage-1 .categ ion-icon {font-size: 20px; color: #000; --ionicon-stroke-width: 16px; vertical-align: sub;}

	/*Reset*/
	#block-exposedformproductospage-1 .form-select ul,
	#block-exposedformproductospage-1 .form-select ul li,
	#block-exposedformproductospage-1 .form-select ul ul li {
	margin:0;
	padding: 0;
	text-indent: 0;
	list-style-type: none;
	}

	#block-exposedformproductospage-1 .form-select ul {
	display: none;
    position: absolute;
    left: 0;
	width: 100%;
    background-color: #f9f9f9;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
	}
	#block-exposedformproductospage-1 .form-select ul a {
	color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
	}
	#block-exposedformproductospage-1 .form-select ul a:hover {
	background-color: #f1f1f1;
	}
	#block-exposedformproductospage-1 .form-select:hover ul {
    display: block;
	}
	#block-exposedformproductospage-1 .form-select:hover #block-exposedformproductospage-1 label {
    background-color: #3e8e41;
	}
	
	/*Exposed Filter - Productos por presupuesto*/
	#block-exposedformproductos-por-presupuestopage-1 .categ { display: block; }
	#block-exposedformproductos-por-presupuestopage-1 .categ {
	background-color: #FFCC29;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
	}
	#block-exposedformproductos-por-presupuestopage-1 .categ a { color: #000; }
	#block-exposedformproductos-por-presupuestopage-1 .categ ion-icon {font-size: 20px; color: #000; --ionicon-stroke-width: 16px; vertical-align: sub;}

	/*Reset*/
	#block-exposedformproductos-por-presupuestopage-1 .form-select ul,
	#block-exposedformproductos-por-presupuestopage-1 .form-select ul li,
	#block-exposedformproductos-por-presupuestopage-1 .form-select ul ul li {
	margin:0;
	padding: 0;
	text-indent: 0;
	list-style-type: none;
	}

	#block-exposedformproductos-por-presupuestopage-1 .form-select ul {
	display: none;
    position: absolute;
    left: 0;
	width: 100%;
    background-color: #f9f9f9;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
	}
	#block-exposedformproductos-por-presupuestopage-1 .form-select ul a {
	color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
	}
	#block-exposedformproductos-por-presupuestopage-1 .form-select ul a:hover {
	background-color: #f1f1f1;
	}
	#block-exposedformproductos-por-presupuestopage-1 .form-select:hover ul {
    display: block;
	}
	#block-exposedformproductos-por-presupuestopage-1 .form-select:hover, 
	#block-exposedformproductos-por-presupuestopage-1 label {
    background-color: #3e8e41;
	}
}

@media (min-width: 781px) {
#block-exposedformproductospage-1 .categ { display: none; }
#block-exposedformproductos-por-presupuestopage-1 .categ { display: none; }
.catalogo-item { width: calc((100% - 40px) / 3.2); }
}


/* CART - CHECKOUT */
	.cart-checkout .form-item { margin: 1rem 0; }

@media (max-width: 800px) {
	.cart-checkout .container { width: 96% !important; padding: 0 !important; }
	.cart-checkout form { font-size: .9em; }
	.cart-checkout form .node-taxonomy-container { padding: 0; line-height: 1.1em !important; }
	.cart-checkout form td.views-field.views-field-edit-quantity { max-width: 50px !important; }
	.cart-checkout form li.taxonomy-term { word-break: normal; }
	.cart-checkout form .taxonomy-term a { padding: 0; border: 0; }
	.cart-checkout th.views-field.views-field-remove-button { display: none; }
	.cart-checkout td.views-field.views-field-remove-button { display: none; }
}

/* POPUP */
#block-proximamente-2 { display: none; }
.spb-popup-main-wrapper { font-size: .9em; max-width: 300px; overflow-y: scroll; overflow-x: hidden; }
.spb-popup-main-wrapper::-webkit-scrollbar { width: 1px; }
.spb-popup-main-wrapper .form-item { margin-bottom: .6rem; }
.spb-popup-main-wrapper .form-item-tc { font-size: .8em; }

@media (max-width: 399px) { .spb-popup-main-wrapper { max-width: 300px; }}

/* LISTA PRECIOS */
.lista-precios table form { display: flex; }
.lista-precios table { font-size: .9em; }
.lista-precios table td.views-field-title { font-size: .9em; font-weight: bold; line-height: 1.4em; width: 270px;  min-width: 120px; }
.lista-precios table td input[type="text"] { max-width: 75% !important; }
.lista-precios table form .button { 
	width: 60px;
    height: 60px;
	padding: 0;
	margin: 16px;
    border-radius: 50%;
    font-size: .8em;
 }


/* --- FULL --- */
.full {
	font-size: 3em !important;
	line-height: initial;
	color: #fff;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}
.full > * { margin: .3em; }


/* --- CATEGORIAS DE PRODUCTOS --- */
.categ-prods>div>div>div {
	width: 100%;
	display: flex;
    flex-wrap: wrap;
	justify-content: space-between;
}
.categ-prods .item50 {
	background: #fff;
    flex: none;
	width: calc((100% - 30px) / 4);
	margin-bottom: 10px;
    padding: 10px 10px 14px;
}
.categ-prods h3 {
	float: left;
    font-size: .8em !important;
    font-weight: bold;
    line-height: 1em;
	color: #888;
    margin-top: 0;
	margin-bottom: 10px;
}
h3.field-content.subtax {
    color: #000;
}
h3.field-content.subtax::before {
    content: "\00a0\203A\00a0";
}
.categ-prods .views-field-field-enlace {
	clear: both;
    font-size: .8em;
    line-height: 1em;
	font-weight: bold;
    margin-top: 0;
}


/* --- CATEGORIAS SIDEBAR --- */
.categ-side>div>div>div {
	/*width: 100%;
	display: flex;
    flex-wrap: wrap;
	justify-content: space-between;*/
}
.categ-side .item50 {
    flex: none;
	margin-bottom: 60px;
}
.categ-side h3 {
	float: left;
    font-size: .8em !important;
    font-weight: bold;
    line-height: 1em;
	color: #888;
}
.categ-side h3.field-content.subtax {
    color: #000;
	margin-top: 0;
}
.categ-side h3.field-content.subtax::before {
    content: "\00a0\203A\00a0";
}
.categ-side .views-field-field-enlace {
	clear: both;
    font-size: .8em;
    line-height: 1em;
	font-weight: bold;
    margin-top: 0;
}


/* SLICK 4x4 --------------- */
#block-views-block-carousel-4x4-carousel-tecnologia { width: 100%; background:#fff; }
#block-views-block-carousel-4x4-carousel-tecnologia .slide__caption { padding: 0px 20px 20px; }
#block-views-block-carousel-4x4-carousel-tecnologia h2 {font-size:.9em; font-weight:normal; text-align:center; padding:0 1em; line-height:1.4em;}
#block-views-block-carousel-4x4-carousel-tecnologia .slick__arrow { display: flex; justify-content: space-between; }
#block-views-block-carousel-4x4-carousel-tecnologia .slick-arrow { /*height: 50px; width: 50px;*/ }
#block-views-block-carousel-4x4-carousel-tecnologia .slick-arrow::before {font-size:2.8rem;}
#block-views-block-carousel-4x4-carousel-tecnologia .slick-next { background: #fff; right: -20px; padding-top: 3px; }
#block-views-block-carousel-4x4-carousel-tecnologia .slick-prev { background: #fff; left: -20px; padding-top: 3px; }
#block-views-block-carousel-4x4-carousel-tecnologia .slick-prev:before, .slick-next:before { opacity: 1; }

@media (max-width: 780px) {
  #block-views-block-carousel-4x4-carousel-tecnologia h2 { font-size: .8em; }
}


/* FOOTER-TOP */
.footer-top .container {
    width: 100%;
    max-width: 100%;
    padding: 0 0 60px;
    background: #E3E6E6;
}
.footer-top .container h2 {
    /*color: rgba(0, 0, 0, 0.7);*/
}


/* MARCAS */
.xmarcas {
  max-width: calc(5 * 16rem);
  margin: 0 auto;
}
.xmarca {
  padding: 0;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  overflow: hidden;
  background-color: white;
  margin: .4em;
}

/* MARCAS FLEX */
div#block-xmarcas h2 {
    text-align: center;
}
.xmarcas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.xmarca {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 1 calc(50% - 1em);
}
/* MARCAS - MEDIA QUERIES */
@media screen and ( min-width:400px) {
  .xmarca { flex: 0 1 calc(33.3% - 1em);
  }}
@media screen and ( min-width:768px) {
  .xmarca { flex: 0 1 calc(25% - 1em);
  }}
@media screen and ( min-width:992px) {
  .xmarca { flex: 0 1 calc(16.6% - 1em);
  }}
  
/* WHATSAPP */
.whatsapp { position: fixed !important; z-index: 5000; left: 10px; bottom: 10px; max-width: 50px; min-width: 50px; }
@media (max-width: 960px) {
    .whatsapp { right: 12px; }
  }
@media (max-width: 480px) {
    .whatsapp { right: 8px; }
  }

/* SLIDE PRODS 
#block-views-block-carousel-productos-carousel-prods { }
#carousel_1x1.flexslider .slides > li { width: 100%; max-width: 700px !important; min-width: 150px; margin:0; }
#carousel_1x1.flexslider .slides > li h4 { font-size:.8em; font-weight: normal; text-align: center; padding: 0 1em;     line-height: 1.4em; }
#carousel_1x1.flexslider .slides > li a { color: #111; }
#carousel_1x1.flexslider .slides > li a:hover { color: var(--primary); }

@media (max-width: 749px) {
  #block-views-block-carousel-productos-carousel-prods { width: 100%; }
}
*/

/* BANFLEX */
.banflex {
	display: flex;
	gap: 12px;
}
@media screen and (max-width: 780px){
	.banflex { display: block;
}}

/* BANFLEXDOS */
.banflexdos {
	display: flex;
	gap: 12px;
}
.banflexdos img {
	width: 50%;
}
@media screen and (max-width: 780px){
	.banflexdos { display: block; }
	.banflexdos img { width: 90%; }
	}

/* BLOCK REG. MAYORISTAS */
#block-registrodemayoristas {
    width: 100%;
    background: #fff;
    border: 3px solid var(--primary);
    padding: 8px 18px;
    text-align: center;
}
#block-registrodemayoristas .pretitulo {
	font-weight: bold;
}
#block-registrodemayoristas h3 {
	font-weight: bold;
	color: var(--primary);
}
#block-registrodemayoristas .may1 {
	font-size:1.4em;
	font-weight: bold;
}

.banflex2.especial {
	align-items: stretch;
}
.banflex2.especial .banflex2-item li {
	margin-left: 24px;
}
.banflex2.especial .banflex2-item {
	border: 1px solid var(--primary);
	padding: 12px;
}
.banflex2.especial .banflex2-item li {
	margin-left: 24px;
}

/* CONTENT MAYORISTAS */
.seccion-mayoristas .categ-prods h2 { 
	font-size: calc(16px + (26 - 16) * (100vw - 300px) / (1000 - 300)); 
	font-weight: bold;
	text-align: center;
	}
.seccion-mayoristas .block-region.region-content {
    display: flex;
    flex-wrap: wrap;
	justify-content: space-between;
}
.seccion-mayoristas .block-region.region-content .item50 {
	background: #fff;
	flex: none;
	width: calc((100% - 30px) / 4);
	margin-bottom: 10px;
    padding: 10px;
}

.seccion-mayoristas .block-region.region-content .item50 .views-field.views-field-field-taxprods-image { margin-bottom:1rem; overflow:hidden; }
.seccion-mayoristas .block-region.region-content .item50 .views-field.views-field-field-taxprods-image .field-content { 
transition: transform .7s; }
 .seccion-mayoristas .block-region.region-content .item50 .views-field.views-field-field-taxprods-image .field-content img {
    margin: 0 !important; }
.seccion-mayoristas .block-region.region-content .item50 .views-field.views-field-field-taxprods-image .field-content:hover { 
	-ms-transform: scale(1.2); -webkit-transform: scale(1.2); transform: scale(1.2); }

.seccion-mayoristas .block-region.region-content .item100 {
	flex: none;
	width: 100%;
	margin-bottom: 10px;
}

@media screen and (max-width: 960px){
	.seccion-mayoristas .block-region.region-content .item50 { 
}}
@media screen and (max-width: 780px){
	.seccion-mayoristas .block-region.region-content .item50 { 
	width: calc((100% - 10px) / 2);
}}
@media screen and (max-width: 480px){
	.seccion-mayoristas .block-region.region-content .item50 { 
	width: 100%;
}}

/* ENCOLUMNAS */
.encolumnas { column-count: 2; column-gap: 60px; }
@media screen and (max-width: 960px){
	.encolumnas { column-count: 1; list-style-type: none; text-align: center; }
}

@media screen and (max-width: 780px){
	.layout--onecol .block { display: none; }
	.layout--onecol .marcaprod { display: block; }
}

/* LANDING */
.page-type-landing #block-eceviklogo, #block-eceviklogo { max-width: 240px; }
.page-type-landing #block-eceviklogo img.image-field, #block-eceviklogo img.image-field { margin: 0; }

.page-type-landing #block-sliderecevik { max-width: 85%; margin: 0 auto; }
.page-type-landing .footer-top .container, .footer-top .container { padding: 0; background: #111; text-align: center; }
.page-type-landing .footer-top .container p, .footer-top .container p { font-weight: normal; color: #fff; }
.page-type-landing .footer-top .container h3, .footer-top .container h3 { font-size: calc(22px + (32 - 22) * (100vw - 300px) / (1000 - 300)); font-weight: bold; color: #FFCC29; margin: 0; }

@media screen and (max-width: 530px){
	.page-type-landing #block-sliderecevik { max-width: 100%; }
}

.page-type-landing.ecevik .catalogo-prods { flex-flow: column; }
.page-type-landing.ecevik .catalogo-item { margin: 0 0.8em 1.6em !important; }

@media (min-width: 490px){
	.page-type-landing.ecevik .catalogo-prods { flex-flow: row wrap; }
	.page-type-landing.ecevik .catalogo-item { margin: 0 0.6em 1.6em !important; }
}
