@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Oswald:wght@200..700&display=swap');

/* 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
---------------------------------------- */

/* 	<weight>: Use a value from 200 to 700
	<uniquifier>: Use a unique and descriptive class name
*/
/*
.oswald-<uniquifier> {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
*/

h1 {
	font-family: 'Oswald', sans-serif;
    font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	color: #132966;
}

h2 {
	font-family: 'Oswald', sans-serif;
    font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	color: #000;
	line-height: 1.7;
	text-transform: uppercase;
	margin: 0;
}

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 + (46 - 36)*(100vw - 300px)/(1000 - 300));
	line-height: 1.2em;
	text-align: center;
}

.page-type-producto h1 { color: #132966; text-align: left; }

/* Línea debajo */
h1::after {
    content: "";
    width: 100px;
    height: 3px;
    /*background: #B90000;*/
    display: flex;
	margin: 0 auto 30px;
}

h2 {
  font-size: calc(18px + (22 - 18)*(100vw - 300px)/(1000 - 300));
}
h3 {
  font-size: calc(16px + (20 - 16)*(100vw - 300px)/(1000 - 300));
}
h4 {
  font-size: 18px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 16px;
}

/* Subrayado animado */
h2 a, h3 a, h4 a {
	color: #787878;
    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: #324D9A;
}

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: #0084b9; }
a:active, a:focus { text-decoration: none; border: 0; outline: 0; color: #132966; }
a:hover { text-decoration: none; color: #132966; }

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;
}

.aumentar {
	font-family: 'Oswald', sans-serif;
    font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	line-height: 1em;
	font-size: calc(28px + (46 - 28) * (100vw - 300px) / (1000 - 300));
	color: #132966;
}

/* 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);
}

/* MORE LINK */
.more-link {
    margin: 40px 0 60px;
	text-align: center;
}
.more-link a {
    padding: 8px 36px 10px;
    border-radius: 30px;
    background: #0084b9;
	color: #fff;
}
.more-link a:hover {
	background: #fff;	
	color: #000;
	border: 1px solid #000;
}
.more-link p {
    font-weight: bold;
    text-align: center;
    line-height: 2em;
	color: #000;
	margin: 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;
}
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 {
	margin: 1.2rem 0;
	font-size: .8em;
	border-collapse: collapse;
	width: 100%;
}
table tr:first-child {
	background: #132966;
	color: #fff;
}
table td, table th {
  border: 1px solid #ddd;
  padding: 12px 8px;
}
table tr:nth-child(even){background-color: #f2f2f2;}
table tr:hover {background-color: #ddd;}
table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #666;
  color: white;
}


/* 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;
  }
}


/* 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; }


/* 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)); }
}


/* 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; }}


/* SIDEBAR */
@media (max-width: 880px) { #sidebar-right { display: none; }}

/** 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%);
}
}


.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; }
}

/* SIDEBAR RIGHT */
#sidebar-right h4 { font-size: 14px; line-height: 1.5em; color: #B90000; margin-bottom: 12px; }
#sidebar-right p, #sidebar-right a { font-size: .95rem; line-height: 1.6em; }
#sidebar-right .views-row { margin-bottom: 36px; }

/* 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;
}


/* 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; }
}


/* FLEXMODEL */
.flexmodel {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 0 40px;
}
.flexmodel img { min-width: 100px; margin-right: 20px; }

@media (max-width: 479px) {
	.flexmodel { display: block; }
}

/* FLEXMODEL2 */
.flexmodel2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
	align-items: center;
    padding-bottom: 40px;
	gap: 1em;
}
.flexmodel2 div {
	display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: center;*/
	
	flex: 1 auto;
    flex-basis: 22%;
    text-align: center;
    padding: 6px;
}
@media (max-width: 480px) {
	.flexmodel2 { display: block; }
}


.layout--twocol-section { gap: 30px !important; }
.layout__region--first, .layout__region--second, .layout__region--third {
    padding: 0 !important;
}
.layout__region--second .node-taxonomy-container, .node-links-container {
    padding: 0 !important;
}
.layout--twocol-section { margin: 0 0 40px !important; }
.layout--twocol-section .layout__region--first,
.layout--twocol-section .layout__region--second {
	background: transparent;
}
.layout--twocol-section .layout__region--first h2 {
	font-size: calc(18px + (20 - 18)*(100vw - 300px)/(1000 - 300));
    margin-bottom: 12px;
}
.layout--twocol-section .layout__region--first label {
	display: none;
}
.layout--twocol-section .layout__region--first ul {
    list-style: none;
	margin: 0;
    padding: 0;
}
.layout--twocol-section .layout__region--first li {
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
}
.layout--twocol-section .layout__region--first ul li a {
    font-weight: bold !important; text-transform: uppercase; font-size: .86rem;
}
.layout--twocol-section .layout__region--first ul li.menu-item.expanded > a {
    color: red;
}


/* GALERIA */
.galeria { 
width: 100%;
margin: 0 auto;
display: flex;
flex-flow: row wrap;
justify-content: center;
background-color: #fff;
}
.galeria .galprods-item {
position: relative;
overflow:hidden;
width: 24%;
margin: 0;
background: rgba(1, 32, 100, .75);
}
.galeria img {
opacity: 1;
transition: 0.7s;
}
.galeria .text {
position: absolute;
top: 68%;
left: 50%;
transform: translate(-50%, -32%);
text-align: left;
}

.galeria .text h3 {
font-size: calc(14px + (20 - 14)*(100vw - 600px)/(1000 - 600));
font-weight: 800;
line-height: 1.2em;
color: rgba(255, 255, 255, 1);
transition: 0.7s;
}
.galeria .text p {
font-size: calc(12px + (16 - 12)*(100vw - 600px)/(1000 - 600));
line-height: 1.3em;
}

.galeria .marco:hover img {
opacity: .3;
}

.galeria .marco:hover .text h3 a {
color: rgba(255, 255, 255, 1);
}

@media (max-width: 600px) {
  .galeria .galprods-item { width: 28%; }
}
@media (max-width: 599px) {
  .galeria .galprods-item { width: 100%; }
  .galeria .text { width: 80%; }
  .galeria .text h3 { font-size: calc(22px + (80 - 22)*(100vw - 299px)/(1000 - 299)); }
  .galeria .text p { font-size: calc(18px + (32 - 18)*(100vw - 299px)/(1000 - 299)); }
}


/* CONTENT BOTTOM */
.region-content-bottom {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.region-content-bottom h2 {
	font-size: 1.5em;
}
.region-content-bottom .block2 { flex-basis: 49%; }


@media (max-width: 688px) {
  .region-content-bottom { flex-flow: column wrap; }
  .region-content-bottom .block2 { flex-basis: 100%; margin-bottom: 24px; }
}


/* 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; }
  }
  

/* SOCIAL */
.social {
	display: flex;
    flex-wrap: nowrap;
    justify-content: left;
    align-items: center;
    gap: 16px;
}
.social ion-icon { font-size: 32px; }
.social ion-icon { color: #eee; }
.social ion-icon { --ionicon-stroke-width: 16px; }
.social ion-icon:hover { color: #fff; }

/* COTIZACION */
.webform-submission-form .envprods .form-item label { width: 70%; }
.webform-submission-form .envprods input, .webform-submission-form .envprods select, .webform-submission-form .envprods textarea { width: 20% !important; }
.webform-submission-form .envprods .webform-flex--container { }
.webform-submission-form .envprods .webform-flex--container .form-item {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.webform-submission-form .form-item-markup p { font-weight: bold; color: red; }
.webform-submission-form hr { height: 2px; background-color: red; }


/* BLOCK SEARCH */
div#block-xaraflexrd-languagedropdownswitcher {
    position: absolute;
    z-index: 2;
    right: 0;
    margin-top: 20px;
	font-size: .8em;
}

/* LANGUAGE */
.language-switcher-language-url {
    position: absolute !important;
    z-index: 2;
    right: 0;
    margin-top: 14px;
    font-size: .8em;
}
.language-switcher-language-url ul.links {
	list-style: none;
	display: flex;
	gap: 10px;
}
@media (max-width: 320px) {
	.language-switcher-language-url { margin-top: 3px !important; }
}


/* TABLE.xaraflex */
table.xaraflex {
	margin: 1.2rem 0;
	font-size: .8em;
	border-collapse: collapse;
	width: 100%;
}
table.xaraflex tr.xf {
	background: #000;
	color: #fff;
}
table.xaraflex td, table.xaraflex th {
  border: 1px solid #ddd;
  padding: 12px 8px;
}
table.xaraflex tr:nth-child(even){background-color: #f2f2f2;}
table.xaraflex tr:hover {background-color: #ddd;}
table.xaraflex th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #666;
  color: white;
}


.caracteristicas h2 {
    background: #ededed;
    padding: 2px 16px;
    margin-bottom: 20px;
}
.caracteristicas .block-content {
    border: 1px solid #727272;
	padding: 20px;
}

.views-view-responsive-grid h2 {
	font-size: calc(18px + (18 - 18) * (100vw - 300px) / (1000 - 300));
	text-align: center;
	}
	
	
.enmarca {
	border: 1px solid;
	padding: 14px 20px;
	font-size: .85em;
	line-height: 1.6em;
}


/* FLEXSLIDER */
.flexslider:hover .flex-direction-nav .flex-prev {
    opacity: 0.7;
    left: 16px;
}
.flexslider:hover .flex-direction-nav .flex-next {
    opacity: 0.7;
    right: 30px;
}
/*.flex-direction-nav a:before {
    color: rgb(52 52 52 / 80%);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}*/

.flex-direction-nav a:before {
    color: rgb(161 161 161 / 80%);
    text-shadow: 0;
}
.flex-direction-nav a:before {
    text-shadow: 0;
}

.flex-direction-nav a {
    margin: -20px 0 0;
    padding: 8px;
}


/* CAROUSEL FRONT */
.carousel-front { margin-bottom: 80px; }
.carousel-front h2,
.carousel-front ul.pager__items
 { display: none; }
.carousel-front h3 { text-align: center; }

 .carousel-front .flexslider:hover .flex-direction-nav .flex-prev {
    left: -40px;
}
.carousel-front .flexslider:hover .flex-direction-nav .flex-next {
    right: -40px;
}


/* DOS-COL */
.efi-front {
	margin: 40px 0 80px;
}
.efi-front h2 {
    font-size: calc(28px + (46 - 28) * (100vw - 300px) / (1000 - 300));
	font-weight: 700;
	line-height: 1.2em;
}
.efi-front h3 {
	font-family: "Lato", sans-serif;
	font-weight: 900;
	font-style: normal;
	margin-bottom: 20px;
}
.efi-front ul {
	line-height: 1em;
}
.dos-col {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	}
.dos-col .item {
	flex: 1 0 50%;
	box-sizing: border-box;
	padding: 10px 20px 6px;
	font-size: 1rem !important;	
	}
@media (max-width: 780px) {
	.dos-col .item {
	flex: 1 0 100%;
	}
	}

	
/* UPFOOTER */
.footer-top .upfooter {
	position: relative;
	}

.footer-top .upfooter .emblema {
	max-width: 150px !important;
	position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);	
	z-index: 5 !important;
}

/* cint-blog */
#block-xaraflexrd-views-block-blog-block-1 {
    width: 100%;
	margin-bottom: 40px;
}

/* PRODUCT PAGE */
.page-type-producto .main-container {
    padding: 6rem 0 0;
}
@media (max-width: 576px) {
	.page-type-producto .main-container { padding: 0; }
 	.page-type-producto .node-taxonomy-container { padding: 0; }
	.page-type-producto h1 { margin-top: 0; text-align: center; }
	.layout--twocol-section .layout__region--first li { width: 100%; display:flex; justify-content: center; }
	.layout--twocol-section { gap: 0 !important; }
	}
	
	
/* PRODUCT CATALOGO */
	.catmotores h3 { font-size: calc(18px + (18 - 18)*(100vw - 300px)/(1000 - 300)); text-align: center; }
	.views-exposed-form h2 { display: none; }
	
	
/* BLOG */
.page-type-article .main-container {
    padding: 6rem 0 0;
}

/* BLOG CATALOGO */
#block-xaraflexrd-views-block-blog-block-1 h2 {
	text-align: center;
	margin-bottom: 20px;
}
#block-xaraflexrd-views-block-blog-block-1 h3 {
	font-size: calc(16px + (17 - 16)*(100vw - 300px)/(1000 - 300));
	line-height: 1.3em;
	margin: 14px 0;
}

/* FAQs */
.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: #132966;
    font-weight: normal;
    color: #fff;
}
