/* Variables
---------------------------------------- */
:root {
  --primary: #B90000;
  --secondary: #606062;
  --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: 'Lato', sans-serif;
  font-size: 1.05rem;
  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%;
}

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

/* 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 {
	font-family: 'Marcellus SC', serif;
    font-weight: 400;
	color: #B90000;
}
h3,
h4,
h5,
h6 {
  font-family: 'Lato', sans-serif;
  color: var(--color-heading);
  font-weight: 600;
  font-style: normal;
  line-height: 1.7;
  text-transform: uppercase;
  margin: 0;
}

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

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

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

/* Subrayado animado */
h2 a, h3 a, h4 a, .sidebar li a, a.linea {
	color: #009D08;
    background: linear-gradient(to right, rgba(250, 250, 250, 0), rgba(250, 250, 250, 0)), linear-gradient(to right, rgba(80, 80, 0, 1), rgba(80, 80, 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: #006a08;
}

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%; }
a { background-color: transparent; text-decoration: none; color: #009D08; }
a:active, a:focus { text-decoration: none; border: 0; outline: 0; #006a08; }
a:hover { color: #006a08; }

a.feed-icon { display: none; }

/* 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;
}

/* CKEDITOR FONT STYLES */
span.small { font-size: .8em; color: inherit; }
span.small.roja { font-size: .8em; color: #B90000; }
span.small.verde { font-size: .8em; color: #009D08 !important; }
span.large { font-size: 1.2em;  color: inherit; }
span.large.roja { font-size: 1.2em; color: #B90000; }
span.large.verde { font-size: 1.2em; color: #009D08 !important; }
span.roja { color: #B90000; }
span.verde { color: #009D08 !important; }


/* Media
---------------------------------------- */
audio,
canvas,
progress,
video {
  vertical-align: baseline;
  max-width:100%;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
img,
a img {
    /*width: 100%;*/
    max-width: 100%;
    height: auto !important;
    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;
}
figcaption {
  padding: 4px;
  font-size: 0.8rem;
  text-align: center;
}

/* 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: transparent;
  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);
}

/* 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;
}
fieldset {
  margin: 0 0 20px 0;
  padding: 1rem 1rem 0;
}
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;
}
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;
}
label.option {
  display: inline;
  font-weight: normal;
}
::-webkit-input-placeholder {
  color: var(--border);
}
:-moz-placeholder {
  color: var(--border);
}
::-moz-placeholder {
  color: var(--border);
  opacity: 1;
}
:-ms-input-placeholder {
  color: var(--border);
}
.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;
}

/* 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 */
.layout__region--first, .layout__region--second {
    min-height: 100px;
    background: #fff !important;
    padding: 8px;
}
body.displayprods h1 {
	font-size: 36px;
	line-height: 1.2em;
	text-align: left;
}
/* Línea debajo */
body.displayprods h1::after {
    content: "";
    width: 60px;
    height: 5px;
    background: #FF6600;
    display: flex;
	margin: 12px auto 0 0;
}
body.displayprods #flexslider-1.flexslider { margin: 0; }
body.displayprods .field--name-sku { font-size: .9em; margin-bottom: 0; }
body.displayprods .node-taxonomy-container, .node-links-container { font-size: .9em; padding: 0; }
body.displayprods .field--name-field-descripcion { font-size: .9em; line-height: 1.5em; }
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 .form-actions .button {
	margin-left: 0;
}
body.displayprods .field--name-body {
	font-size: 1.0em;
    line-height: 1.4em;
}

/* 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: #04AA6D;
  color: white;
}


/* CATALOGO PRODUCTOS */
.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 { font-weight: bold; }
.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; }

@media (min-width: 490px) {
.catalogo-prods {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}
.catalogo-item { margin: 30px .8em; width: 43%; }
}
@media (min-width: 768px) {
	.catalogo-item { width: 26%; }
}
@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: 28%; }
}

@media (min-width: 577px) {
/* MARCAS */
#block-marcas { padding: 60px 0; }
.marcas {
	margin: 20px auto 40px;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	gap: 30px 2.4em;
}
.marca {
	flex-grow: 1; flex-basis: 220px; }
}

@media (max-width: 576px) {
  .marcas { display: flex; flex-flow: column; align-items: center; gap: 0; }
  .marca { flex-basis: 150px; }
}

/* FLEXSLIDER CONTENIDO */
.slider-wrapp { 
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	gap: 0;
 }
.slider-item { width: 50%; }
.slider-item h2 {
    font-size: calc(50px + (60 - 50) * (100vw - 780px) / (1000 - 780));
	line-height: inherit;
    font-weight: bold;
	margin: 16px 0;
}
.slider-item h3 {
    font-size: calc(22px + (24 - 22) * (100vw - 780px) / (1000 - 780));
	line-height: 2em;
    font-weight: bold;
	margin: 16px 0;
}
.slider-item.item1 {}
.slider-item.item2 { 
	padding-left: 30px; 
	color: #fff; 
	display: flex;
	/*justify-content: center;*/
	align-items: center; 
}

@media (max-width: 779px) {
	.slider-wrapp { display: flex; flex-flow: column; }
	.slider-item { width: 100%; }
	.slider-item h2 { font-size: calc(40px + (60 - 40) * (100vw - 300px) / (779 - 300)); }
	.slider-item h3 { font-size: calc(16px + (30 - 16) * (100vw - 300px) / (779 - 300)); }
}

/* 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-weight: bold; min-width: 120px; }
.lista-precios table td input[type="text"] { max-width: 75% !important; }
.lista-precios table form .button { 
	width: 80px;
    height: 80px;
	padding: 0;
	margin: 16px;
    border-radius: 50%;
    font-size: .9em;
 }

/* SIDEBAR */
@media (max-width: 880px) { #sidebar-right { display: none; }}

.region-content-top {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.region-content-top h2 {
	font-size: 1.5em;
}
#block-bloque1home,
#block-bloque2home,
#block-bloque3home { flex-basis: 30%; }

#block-bloque1home p,
#block-bloque2home p,
#block-bloque3home p {
    font-size: 1.05rem;
    line-height: 1.7em;
}

@media (max-width: 780px) {
  .region-content-top { flex-flow: column wrap; }
}

/** Hover Effects with CSS3 **/
.vista {
   width: 230px;
   height: 230px;
   margin: 2px;
   display: inline-block;
   border: 10px solid #fff;
   overflow: hidden;
   position: relative;
   text-align: center;
   -webkit-box-shadow: 1px 1px 2px #000;
   -moz-box-shadow: 1px 1px 2px #000;
   box-shadow: 1px 1px 2px #000;
   cursor: default;
}
.vista .mask,.vista .content {
   /*width: 230px;*/
   height: 230px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}
.vista img {
   display: block;
   position: relative;
}
.vista h3 {
   text-transform: uppercase;
   color: #fff;
   text-align: center;
   position: relative;
   font-size: 17px;
   padding: 10px;
   background: rgba(0, 0, 0, 0.8);
   margin: 76px 0 0 0;
}
.vista p {
   font-family: Georgia, serif;
   font-style: italic;
   font-size: 12px;
   position: relative;
   color: #fff;
   padding: 10px 20px 20px;
   text-align: center;
}
.vista a.info {
   display: inline-block;
   text-decoration: none;
   padding: 7px 0;
   background: #000;
   color: #fff;
   text-transform: uppercase;
   -webkit-box-shadow: 0 0 1px #000;
   -moz-box-shadow: 0 0 1px #000;
   box-shadow: 0 0 1px #000;
}
.vista a.info: hover {
   -webkit-box-shadow: 0 0 5px #000;
   -moz-box-shadow: 0 0 5px #000;
   box-shadow: 0 0 5px #000;
}
.vista.view-first img {
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
.vista.view-first .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   background-color: rgba(219,127,8, 0.7);
   -webkit-transition: all 0.4s ease-in-out;
   -moz-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;
   -ms-transition: all 0.4s ease-in-out;
   transition: all 0.4s ease-in-out;
   position: absolute;
   top: 0;
   z-index: 90;
}
.vista.view-first h3 {
   -webkit-transform: translateY(-100px);
   -moz-transform: translateY(-100px);
   -o-transform: translateY(-100px);
   -ms-transform: translateY(-100px);
   transform: translateY(-100px);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.vista.view-first p {
   -webkit-transform: translateY(100px);
   -moz-transform: translateY(100px);
   -o-transform: translateY(100px);
   -ms-transform: translateY(100px);
   transform: translateY(100px);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
.vista.view-first:hover img {
   -webkit-transform: scale(1.1,1.1);
   -moz-transform: scale(1.1,1.1);
   -o-transform: scale(1.1,1.1);
   -ms-transform: scale(1.1,1.1);
   transform: scale(1.1,1.1);
}
.vista.view-first a.info {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.vista.view-first:hover .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
.vista.view-first:hover h3,
.vista.view-first:hover p,
.vista.view-first:hover a.info {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
   -webkit-transform: translateY(0px);
   -moz-transform: translateY(0px);
   -o-transform: translateY(0px);
   -ms-transform: translateY(0px);
   transform: translateY(0px);
}
.vista.view-first:hover p {
   -webkit-transition-delay: 0.1s;
   -moz-transition-delay: 0.1s;
   -o-transition-delay: 0.1s;
   -ms-transition-delay: 0.1s;
   transition-delay: 0.1s;
}
.vista.view-first:hover a.info {
   -webkit-transition-delay: 0.2s;
   -moz-transition-delay: 0.2s;
   -o-transition-delay: 0.2s;
   -ms-transition-delay: 0.2s;
   transition-delay: 0.2s;
}

.view-llamados .view-content {
    text-align: center;
}


/* TEXTO SOBRE FONDO */
.txt-sobrefondo { position: relative; height: 90vh !important; background-color: rgba(0,0,0,.4); }

#block-topfrontpage .block-content {
    text-align: left;
    max-width: 40%;
    padding: 0 10px 0 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0%, -50%);
}
.txt-texto a { color: #fff; }
.txt-texto a:hover { color: #ccc; }
.txt-texto h1 { font-size: calc(20px + (32 - 20) * (100vw - 300px) / (1000 - 100)); font-weight: 800; line-height: 1.2em; color: #fff; text-shadow: 0px 0px 10px #000, 3px 5px 3px #0b0b0b; text-align: left; }
.txt-texto h4 { font-size: calc(16px + (20 - 16) * (100vw - 300px) / (1000 - 100)); font-weight: bold; line-height: 1.2em; color: #fff; margin-top: 4px; margin-bottom: 4px; }
.txt-texto .btn-default, .txt-texto .btn-primary { font-size: calc(12px + (19 - 12) * (100vw - 300px) / (1000 - 100)); color: #fff; background-color: #af0000; padding: 8px 16px; border-radius: 30px; }
.txt-texto .btn-default:hover, .txt-texto .btn-primary:hover { color: #fff; background-color: #000; text-decoration: none; }

@media (max-width: 936px) {
#block-topfrontpage .block-content {
    max-width: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
}}

@media (max-width: 480px) {
#block-topfrontpage .block-content {
	width: 100%;
    max-width: 70%;
	padding: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
}


/* ESPECIALIDADES */
#block-especialidades {
    width: 100%;
	margin-top: 30px;
}
.especialidades {
	font-family: 'Marcellus SC', serif;
    font-weight: 400;
	font-size: 1.1em;
	margin-bottom: 30px;
}
.especialidades ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
    justify-content: space-around;
	text-align: center;
}
.especialidades a {
	text-decoration: none;
	color: #000;
	}
.especialidades a::before {
	content: "\2713 ";
	color: #B90000;
    font-weight: bold;
	margin-right: 4px;
}
.especialidades a:hover {
	color: #B90000;
	}
.especialidades a:hover::before {
	content: "\2713 ";
	color: green;
    font-weight: bold;
	margin-right: 4px;
}

@media (max-width: 880px) {
	#block-especialidades { display: none; }
}


/* ESPECIALIDADES HOMEPAGE */
#block-especialidadeshomepage { width: 100%; margin: 30px auto; }


/* EDITORIALES */
.views-indice .views-row .views-field-nothing .field-content {
	display: flex;
	margin-bottom: 20px;
}
.grupo1-editorial {
	width: 250px;
	min-width: 250px;
	flex-grow: 0;
	margin-right: 20px;
}
.grupo1-editorial img {
	width: 100%; 
}
.grupo2-editorial {
	flex-grow: 0;
}
.grupo2-editorial .autor {
	font-size: .8em;
	font-style: italic;
	font-weight: bold;
	color: #B90000;
}
.grupo2-editorial .texto {
	font-size: .9em;
	line-height: 1.5em;
}

@media (max-width: 659px) {
	.views-indice .views-row .views-field-nothing .field-content {
	flex-direction: column; }
	.grupo1-editorial {
	margin-right: 0;}
}
@media (max-width: 480px) {
	.grupo1-editorial {
	width: 100%;
}
	.grupo1-editorial img {
	width: 100%;
}
}


/* EDITORIALES RECIENTES */
.editrecientes { margin-bottom: 30px; }
.views-editrecientes { display: flex; flex-wrap: wrap; justify-content: space-around; padding-bottom: 40px; }
.views-editrecientes .views-row { flex-basis: 20%; margin: 0 .2em 3em; }
.views-editrecientes h4 { font-size: 16px; line-height: 1.5em; color: #B90000; margin-bottom: 10px; }
.views-editrecientes .views-field.views-field-body { font-size: .9em; line-height: 1.5em; }

/* MORE LINK */
.more-link { position: absolute; bottom: 20px; border-radius: 30px; background-color: #af0000; padding: 8px 16px; }
.more-link a { font-weight: bold; color: #fff; text-decoration: none; }
.more-link:hover { background-color: #000; }

/* MORE LINK BOTON */
.more-link.boton { position: relative; font-weight: bold; color: #fff !important; text-decoration: none; bottom: 20px; border-radius: 30px; background-color: #af0000; padding: 12px 16px; }
.more-link.boton:hover { background-color: #000; }


@media (max-width: 780px) {
	.views-editrecientes .views-row { flex-basis: 40%; margin: 0 .2em 3em; }
}
@media (max-width: 480px) {
	.views-editrecientes .views-row { flex-direction: column; }
	.views-editrecientes .views-row { flex-basis: 100%; margin: 0 .2em 3em; }
}


/* EDITORIALES DISPLAY */
.imgpub img { width: 100%; }
.field--name-field-fecha-publicacion { font-size: .8em; }
.fichautor {
	width: 28%;
    padding: 18px;
    margin: 0 12px 12px 0;
    background: #eee;
    float: left;
    font-size: .85em;
	line-height: 1.5em;
}
.fichautor img {
	width: 100%;
}
.fichautor .field--name-field-autor .field-item { font-weight: bold; color: #B90000; margin-bottom: 6px; }

@media (max-width: 880px) { .fichautor { width: 33%; }}
@media (max-width: 600px) {
	.fichautor { width: 100%; }
	.fotautor { width: 30%; float: left; margin-right: 12px; }
	}
	
	
	/* EDITORIALES MENU */
.editmenu { margin-bottom: 0; }
.views-editmenu { display: flex; flex-wrap: wrap; justify-content: space-around; padding-bottom: 2px; }
.views-editmenu .views-row { flex-basis: 40%; margin: 0 .2em; }
.views-editmenu .views-row .views-field-field-imagen { margin: 0 0 6px; }
.views-editmenu .views-row .views-field-field-imagen img { margin: 0; }
.views-editmenu h4 { font-size: 12px; line-height: 1.4em; color: #B90000; margin-bottom: 1px; }

@media (max-width: 991px) {
	.views-editmenu { display: block; }
	.views-editmenu .views-row { margin: 0 2em; }
	.views-editmenu .views-row .views-field-field-imagen { margin: 0 0 !important; }
	.views-editmenu .views-row .views-field-title a { padding-top: 0 !important; }
	.views-editmenu h4 { color: #fff; }
}


/* LIBROS RECOMENDADOS */
.page-type-libros-recomendados h1 {
	font-size: calc(24px + (40 - 24)*(100vw - 300px)/(1000 - 300));
	text-align: left;
	margin-bottom: 0.6em;
}
.page-type-libros-recomendados h1::after {
    margin: 0.4em 0;
}

.page-type-libros-recomendados .autores {
	font-style: italic;
	text-align: left;
}
.page-type-libros-recomendados .taxonomy-term {
	font-weight: bold;
	color: #B90000;
}
.page-type-libros-recomendados .field--name-field-edicion {
	margin-bottom: 30px;
}

.libros-recom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.libros-recom .views-row {
	flex-basis: 20%;
	margin: 0 .2em 3em;
}
.libros-recom .views-row h3 {
	font-size: 15px;
	line-height: 1.4em;
}
.libros-recom .views-row .views-field-field-autor-libro {
	font-size: 13px;
	line-height: 1.4em;
	color: #B90000;
	margin-top: 12px;
}

@media (max-width: 780px) {
	.libros-recom .views-row {
	flex-basis: 40%;
	}
}
@media (max-width: 480px) {
	.libros-recom .views-row {
	flex-basis: 100%;
	}
	.libros-recom .views-row img {
	width: 100%;
	}
}


/* TESTIMONIALS */
.view-testimonios .views-row { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px dotted #000 }
.view-testimonios .views-row .views-field-field-comentario { font-size: 14px; font-style: italic; font-weight: 600; margin-bottom: 8px; }
.view-testimonios .views-row .views-field-title { font-size: 18px; color: #B90000; margin-bottom: 12px; margin-top: 12px; }
.view-testimonios .views-row .views-field-field-grado { font-size: 14px; }
.view-testimonios .views-row .views-field-field-enlace { font-size: 14px; }


/* PUBLICACIONES */
.indice-public h3 { font-size: 16px; margin: 10px 0; }
.indice-public tr:nth-child(even){background-color: #eee;}
.indice-public td { border-bottom: 0 !important; }

@media (max-width: 480px) {
	.indice-public tr { border: 0; padding: 6px 8px 20px; }
	.indice-public td { padding-left: 0 !important; }
}


/* CONTENT COPYRIGHT */
.content-copyright { padding-top: 25px; border-top: 4px solid #eee; }
.content-copyright p { font-size: .88em; line-height: 1.6em; }
.content-copyright .wrapper { display: flex; margin-bottom: 20px; }
.content-copyright .wrapper-item:last-child { min-width: 48%; margin-right: 0; }
.content-copyright .wrapper-item img { width: 100%; }

.content-copyright .wrapper2 { margin-right: 20px; display: flex; }
.content-copyright .wrapper2 .wrapper-item { min-width: 20%; margin-right: 30px; text-align: left; }

@media (max-width: 980px) {
	.content-copyright .wrapper2 { display: block; }
}
@media (max-width: 779px) {
	.content-copyright .wrapper { display: block; }
}
@media only screen and (min-width: 280px) and (max-width: 780px){
	.content-copyright p { font-size: .85em !important; line-height: 1.5em; }
}


.homepage .block-front h2 { font-size: 2.0rem; font-weight: 800; text-align: center; }
.homepage .block-front h2 a { text-decoration: none; color: #B90000; }

.terminacion { font-size:1.5em; text-align:center; width: 100%; margin: 1.8em auto .7em;   overflow: hidden; }
.terminacion::before, .terminacion::after { content: ""; display: inline-block; width: 18%;   margin: 0 .5em 0 -55%; vertical-align: middle; border-bottom: 1px solid; }
.terminacion::after { margin: 0 -55% 0 .5em; }


/* MENU ENLACES */
.menu-enlaces { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size:14px; font-weight: bold; margin: 12px 0; text-align: center; }
.menu-enlaces a { line-height: 1.5em; text-decoration: none; text-transform: uppercase; color: rgb(178, 34, 34); background-color: #eee; padding: 4px 8px; }
.menu-enlaces a:hover { background: rgb(178, 34, 34); color: #fff; }
.menu-enlaces span { padding: 2px 8px; }
.verde { color: #006a08 !important; }
a.verde:hover { background: #006a08 !important; color: #fff !important; }

@media (max-width: 480px) {
	.menu-enlaces a { flex: 1 auto; font-size: 13px; }
}


/* MSG FRONTPAGE */
#block-msgfrontpage {
	background-color: #FFFFFF !important;
    background-image: url(/sites/default/files/block-imgfnd/business-leaders-bg.jpg) !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    background-position: center center !important;
    z-index: auto;
    background-size: cover !important;
	height: 80vh;
	margin-top: 30px;
	margin-bottom: 30px;
}
#block-msgfrontpage .block-content {
	position: relative;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.6);
}
#block-msgfrontpage .field--name-body {
	width: 98%;
    padding: 0 5%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
#block-msgfrontpage .block-content h3, #block-msgfrontpage .block-content h3 a {
	font-size: calc(16px + (28 - 16)*(100vw - 300px)/(1000 - 300));
	color: white;
	}
#block-msgfrontpage .block-content p, #block-msgfrontpage .block-content p a {
	font-size: calc(13px + (18 - 13)*(100vw - 300px)/(1000 - 300));
	color: white;
	}

@media (max-width: 360px) {
	#block-msgfrontpage .block-content h3, #block-msgfrontpage .block-content h3 a {
	line-height: 1.5em;
	}
	#block-msgfrontpage .block-content p, #block-msgfrontpage .block-content p a {
	line-height: 1.5em;
	}
}


.region-content-bottom h2 { text-align: center; margin-bottom: 30px; }

#block-logotaufootertau p { font-size: .7em; line-height: 1.5em; }
#block-globalcompact p { font-size: .7em; line-height: 1.5em; }

.aroundtau h2 { color: #fff; }


/* OTROS RECURSOS */
.otrosrecursos {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    gap: 8px;
}
.otrosrecursos .tau-item {
	flex-basis: 25%;
    text-align: center;
}
.otrosrecursos .tau-item img {
    margin: 0 auto 12px;
}
.otrosrecursos .tau-item h4 {
    font-size: calc(9px + (18 - 9)*(100vw - 300px)/(1000 - 300));
}


/* SIDEBAR RIGHT */
#sidebar-right h4 { font-size: 14px; line-height: 1.5em; color: #B90000; margin-bottom: 12px; }
#sidebar-right p { font-size: .8em; line-height: 1.6em; }
#sidebar-right .views-row { margin-bottom: 36px; }


/* CATALOGO RINGS */
.views-rings { display: flex; flex-wrap: wrap; justify-content: center; padding-bottom: 40px; }
.views-rings .views-row { flex-basis: 30%; margin: 0 3em 3em; text-align: center; }
.views-rings .views-row h4 { font-size: calc(16px + (20 - 16)*(100vw - 300px)/(1000 - 300)); }

@media (max-width: 780px) {
	.views-rings .views-row { flex-basis: 40%; margin: 0 1em 3em; }
}
@media (max-width: 480px) {
	.views-rings { flex-direction: column; padding-bottom: 40px; }
}


/* PRODUCT DISPLAY */
.tau-commerce h1 { font-size: calc(30px + (42 - 30)*(100vw - 300px)/(1000 - 300)); text-align: left; margin-bottom: 30px; }
.tau-commerce .layout__region--first { font-size: .9em; }
.tau-commerce .field.field--name-price.field--type-commerce-price.field--label-hidden.field-item { font-size: 1.6em; margin-bottom: 30px; }
.tau-commerce .product--rendered-attribute .form-item { margin: 2px 2px 12px; }
.tau-commerce .attribute-widgets .fieldset-wrapper .form-item { font-size: .8em; text-align: center; }
.tau-commerce .attribute-widgets .fieldset-wrapper .form-item .field--name-field-color-image { margin: 0; }
.tau-commerce .attribute-widgets .fieldset-wrapper .form-item .field--name-field-color-image .image-field { margin: 0; }


/* STUDENT GALLERY */
.student-gallery { display: flex; flex-wrap: wrap; justify-content: space-around; }
.student-gallery .views-row { flex-basis: 27%; margin-bottom: 30px; }

@media (max-width: 780px) {
	.student-gallery .views-row { flex-basis: 40%; }
}
@media (max-width: 480px) {
	.student-gallery { flex-direction: column; align-items: center; }
}


/* WEBFORM */
.webform-submission-form {
	font-size: .9em;
}
.webform-submission-form input,
.webform-submission-form select,
.webform-submission-form textarea {
    padding: 10px;
	border: 1px solid #000 !important;
	width: 100% !important;
    max-width: 100% !important;
	margin: 0 auto;
}
.webform-submission-form .radios--wrapper input {
    max-width: 30% !important;
}

.webform-submission-form ::placeholder { color: #999; opacity: 1; }
.webform-submission-form ::-ms-input-placeholder { color: #999; }

#block-webform-3 h2 { text-align: center; margin-bottom: 30px; }

.webform-submission-form legend {
	color: #fff;
    background-color: #a60000;
    border-color: #a60000;
	padding: 4px 8px;
	margin-bottom: 0;
}

fieldset#edit-repita-email legend,
fieldset#edit-pais-de-residencia legend,
legend#edit-objetos--wrapper-legend { display: none; }

fieldset#edit-informacion-personal,
fieldset#edit-contacto,
fieldset#edit-programa-que-desea-cursar,
fieldset#edit-informacion-adicional { border: 1px solid #666; }

section#edit-especialidad {
    /* border: 1px solid #333; */
    background: beige;
    padding: 1em;
}


/* VIRTUAL CAMPUS */
form.protected-pages-enter-password { text-align: center; }
form.protected-pages-enter-password .protected_pages_description { font-size: .9em; margin-bottom: 12px; }
form.protected-pages-enter-password label { color: #006600; }

/* BLOCK TABS */
div#blocktabs-virtual_campus { border: 0; display: flex; flex-wrap: wrap; margin-bottom: 80px; }
.ui-tabs-vertical { width: 100%; }
.ui-tabs-vertical .ui-tabs-nav { padding: 0; border: 0; float: none !important; flex-basis: 20%; }
.ui-tabs-vertical .ui-tabs-panel { padding: 0 0 0 2em; float: none; width: 100%; }
.ui-tabs-panel { flex-basis: 76%; float: none !important; }
.ui-tabs-vertical .ui-tabs-nav li { border: 0; }
.ui-widget-header { background: transparent; border: 0; }

.ui-tabs .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; margin-bottom: .2em; border: 0; }
.ui-tabs .ui-tabs-nav li a { color: #fff !important; }

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active { background: #b00000; font-weight: normal; color: #fff; } 
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus { background: #000; color: #fff; }

@media (max-width: 640px) {
	div#blocktabs-virtual_campus { flex-direction: column; }
	.ui-tabs-nav { display: flex !important; flex-wrap: wrap; }
	.ui-tabs-vertical .ui-tabs-nav { padding: 0; float: none; width: 100%; }
	.ui-tabs-vertical .ui-tabs-nav li { width: min-content; padding: 0; }
	.ui-tabs-vertical .ui-tabs-nav li:active { width: min-content; }
	.ui-tabs-panel { width: 100%; float: none !important; }
	.ui-tabs .ui-tabs-panel { padding: inherit; }
	.ui-tabs .ui-tabs-nav li { margin: 1px !important; }
}

/* VIRTUAL CAMPUS */
.txt-fnd .field--name-body { width: 90%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; }
.txt-fnd .field--name-body h3 { color: #fff; }
.txt-fnd .field--name-body img { width: 140px; }
@media (max-width: 778px) {
	.txt-fnd .field--name-field-imagen-fondo { display: none; }
	.txt-fnd .field--name-body { width: 100%; position: relative; text-align: center; color: inherit; top: unset; left: unset; transform: translate(0, 0); }
	.txt-fnd .field--name-body h3 { color: inherit; }
}
.solicitud-asesoria h2 { font-size: calc(16px + (24 - 16)*(100vw - 300px)/(1000 - 300)); }


/* FLEXMODEL */
.flexmodel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-bottom: 40px;
	gap: 1em;
}
.flexmodel .cuatro {
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	
	flex: 1 auto;
    flex-basis: 23%;
    text-align: center;
    padding: 6px;
}
.flexmodel a {
    color: #fff;
	text-decoration: none;
}
.flexmodel div:nth-child(odd) { background: #B90000; }
.flexmodel div:nth-child(even) { background: #006600; }
.flexmodel .cuatro:hover { background: #000; }

@media (max-width: 780px) {
	.flexmodel .cuatro { flex-basis: 48%; }
}

/* FLEXMODEL2 */
.flexmodel2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-bottom: 40px;
	gap: 2em;
}
.flexmodel2 div {
	display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: center;*/
	
	flex: 1 auto;
    flex-basis: 45%;
    text-align: center;
    padding: 6px;
}
@media (max-width: 480px) {
	.flexmodel2 { display: block; }
}


/* SECCION */
.seccion { clear: both; padding: 0; margin: 0 auto; color: #333; max-width: inherit; display: flex; align-items: stretch; }
.col_6_de_6 { width: 100%; padding: 34px 3%; line-height: 24px; border: 1px solid #666; margin: 8px; }
.col_3_de_6 { width: 50%; padding: 34px 3%; line-height: 24px; border: 1px solid #666; margin: 8px; }
.col_2_de_6 { width: 33.3%; padding: 34px 3%; line-height: 24px; border: 1px solid #666; margin: 8px; }

.beige { background: #F5F5DC; }
.verdeclaro { background: #DAF7A6; }

@media (max-width: 539px) {
	.seccion { display: block; }
	.col_3_de_6, .col_2_de_6 { width: 100%; }
}

p.resaltador { font-style: italic; padding: 8px 12px; color: white; background: green; }

/* IN MEMORIAM */
.block-memoriam .field--name-body { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.block-memoriam .field--name-body a { background-color: transparent; color: #fff; border: 2px solid #fff; padding: 10px 20px; text-decoration: none; }
.block-memoriam .field--name-body a:hover { background-color: #0B980B; }

/* IN MEMORIAM VIEWS */
.in-memoriam { display: flex; flex-wrap: wrap; justify-content: space-around; padding-bottom: 40px; gap: 2em 1em; }
.in-memoriam .views-row { position: relative; width: 48%; }
.in-memoriam h4 { font-size: calc(12px + (20 - 12)*(100vw - 540px)/(1000 - 540)); position: absolute; z-index: auto; top: 40%; left: 10%; right: 10%; text-align: center; font-weight: bold !important; color: #fff; }

@media (max-width: 539px) {
	.in-memoriam .views-row { width: 100%; }
	.in-memoriam h4 { font-size: 14px; }
}

/* BLOCK ENTREVISTA HORIZ */
#block-entrevistajrrivas { padding: 1.6rem 1.6rem 0.2rem !important; }
#block-entrevistajrrfrontpage { padding: 1.6rem 1.6rem 0.1rem; margin-bottom: 60px; background: #eee; text-align: center; }
#block-entrevistajrrhorizontal { display: none; padding: 1.6rem 1.6rem 0.2rem; background: #eee; text-align: center; }
@media (max-width: 880px) {
	#block-entrevistajrrhorizontal { display:block; margin-bottom: 80px; }
}