/*!
Theme Name: Chester College v2
Theme URI: https://chestercollege.org
Author: Vertixe
Author URI: https://vertixe.com
Description: Minimalist
Version: 1.0.0
Tested up to: 5.9
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: chesterv2
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

chesterv2 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: 500;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
  appearance: button;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}
body,
button,
input,
optgroup,
select,
textarea {
  color: #404040;
  font-family: sans-serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}
p {
  margin-bottom: 1.5em;
}
cite,
dfn,
em,
i {
  font-style: italic;
}
blockquote {
  margin: 0 1.5em;
}
address {
  margin: 0 0 1.5em;
}
pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}
code,
kbd,
tt,
var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 15px;
  font-size: 0.9375rem;
}
abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}
ins,
mark {
  background: #fff9c0;
  text-decoration: none;
}
big {
  font-size: 125%;
}
html {
  box-sizing: border-box;
}
*,
*:after,
*:before {
  box-sizing: inherit;
}
body {
  background: #fff;
}
hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}
ol,
ul {
  margin: 0 0 1.5em 3em;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
li > ol,
li > ul {
  margin-bottom: 0;
  margin-left: 1.5em;
}
dt {
  font-weight: bold;
}
dd {
  margin: 0 1.5em 1.5em;
}
img {
  height: auto;
  max-width: 100%;
}
figure {
  margin: 1em 0;
}
table {
  margin: 0 0 1.5em;
  width: 100%;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}
select {
  border: 1px solid #ccc;
}
textarea {
  width: 100%;
}
a {
  color: royalblue;
}
a:visited {
  color: purple;
}
a:active,
a:focus,
a:hover {
  color: midnightblue;
}
a:focus {
  outline: thin dotted;
}
a:active,
a:hover {
  outline: 0;
}
.main-navigation {
  clear: both;
  display: block;
  float: left;
  width: 100%;
}
.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.main-navigation ul ul li.focus > ul,
.main-navigation ul ul li:hover > ul {
  left: 100%;
}
.main-navigation ul ul a {
  width: 200px;
}
.main-navigation ul li.focus > ul,
.main-navigation ul li:hover > ul {
  left: auto;
}
.main-navigation li {
  float: left;
  position: relative;
}
.main-navigation a {
  display: block;
  text-decoration: none;
}
.main-navigation.toggled ul,
.menu-toggle {
  display: block;
}
@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: block;
  }
}
.site-main .comment-navigation,
.site-main .post-navigation,
.site-main .posts-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}
.comment-navigation .nav-previous,
.post-navigation .nav-previous,
.posts-navigation .nav-previous {
  float: left;
  width: 50%;
}
.comment-navigation .nav-next,
.post-navigation .nav-next,
.posts-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
#content[tabindex="-1"]:focus {
  outline: 0;
}
.alignleft {
  display: inline;
  margin-right: 1.5em;
}
.alignright {
  display: inline;
  margin-left: 1.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.clear:after,
.clear:before,
.comment-content:after,
.comment-content:before,
.entry-content:after,
.entry-content:before,
.site-content:after,
.site-content:before,
.site-footer:after,
.site-footer:before,
.site-header:after,
.site-header:before {
  content: "";
  display: table;
  table-layout: fixed;
}
.clear:after,
.comment-content:after,
.entry-content:after,
.site-content:after,
.site-footer:after,
.site-header:after {
  clear: both;
}
.widget {
  margin: 0 0 1.5em;
}
.widget select {
  max-width: 100%;
}
.sticky {
  display: block;
}
.page,
.post {
  margin: 0;
}
.updated:not(.published) {
  display: none;
}
.entry-content,
.entry-summary,
.page-content {
  margin: 0;
}
.page-links {
  clear: both;
  margin: 0 0 1.5em;
}
.comment-content a {
  word-wrap: break-word;
}
.bypostauthor {
  display: block;
}
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}
.infinity-end.neverending .site-footer {
  display: block;
}
.comment-content .wp-smiley,
.entry-content .wp-smiley,
.page-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}
embed,
iframe,
object {
  max-width: 100%;
}
.custom-logo-link {
  display: inline-block;
}
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}
.wp-caption-text {
  text-align: center;
}
.gallery {
  margin-bottom: 1.5em;
}
.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-columns-2 .gallery-item {
  max-width: 50%;
}
.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
  max-width: 25%;
}
.gallery-columns-5 .gallery-item {
  max-width: 20%;
}
.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}
.gallery-caption {
  display: block;
}

:root {
  --highlight-color: #1e3f77;
  --main-color: #000;
  --alt-color: #940e20;
  --font-xxl: 55px;
  --font-xl: 30px;
  --font-l: 22px;
  --font-m: 18px;
  --font-s: 15px;
  --font-xs: 13px;
}

:target {
  scroll-margin-top: 120px;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: var(--font-s);
  overflow-x: hidden;
}

.page-template-page-base-residencia,
.page-template-page-base-campamentos,
.page-template-page-base-nosotros,
.page-template-page-base-portada,
.page-template-page-base-colegio,
.page-template-page-base-blog,
.page-template-page-base-contacto,
.page-template-page-base-esc,
.page-template-page-base-mini,
.page-template-page-base-spa {
  background: #f4f5f8;
}

.alignwide,
.alignfull {
  margin: 16px calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

.alignwide {
  margin: 16px calc(50% - 705px);
  max-width: 1410px;
}

@media screen and (max-width: 1410px) {
  .alignwide {
    max-width: 100%;
    padding: 0 20px;
    margin: 16px auto;
  }
}

.wrapper {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
  width: 100%;
}

.fl {
  align-items: flex-start;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

b,
strong {
  font-weight: 600;
}

hr {
  background-color: var(--highlight-color);
  height: 3px;
  margin: 1.5em 0;
  width: 75px;
}

a,
a:visited {
  color: var(--highlight-color);
}

/* CABECERA */

.site-header .wrapper {
  align-items: flex-end;
  padding: 20px 20px 0;
}

.site-header .custom-logo {
  max-width: 290px;
  width: 100%;
  transition: all 300ms ease-in-out;
  padding-bottom: 20px;
}

.site-header .main-navigation {
  align-items: flex-end;
  flex-flow: column wrap;
  max-width: 100%;
  width: auto;
}

#site-navigation {
  flex: 1 1 auto;
  min-width: 0;
}

#site-navigation > div[class*="menu-"][class$="-container"] {
  display: flex;
  width: 100%;
}

#site-navigation #primary-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 10px;
  row-gap: 0;
  width: 100%;
}

#site-navigation #primary-menu > li {
  flex: 1 1 auto;
}

#site-navigation #primary-menu > li > a {
  white-space: nowrap;
}

ul#primary-menu li {
  border-top: 1px solid #c6c6c6;
  padding: 6px 0px 20px;
  text-align: left;
}

.site-header.sticky .custom-logo,
.site-header.sticky ul#primary-menu li {
  padding-bottom: 5px;
}

ul#primary-menu li:last-of-type {
  padding-right: 0;
}

ul#primary-menu li.current-menu-item,
ul#primary-menu > li:hover,
.single ul#primary-menu li.menu-blog,
.page-template-page-base-esc ul#primary-menu li.menu-camps,
.page-template-page-base-spa ul#primary-menu li.menu-camps,
.page-template-page-base-mini ul#primary-menu li.menu-camps {
  border-top: 3px solid var(--alt-color);
  margin-top: -2px;
}

ul#primary-menu li.current-menu-item a,
ul#primary-menu li:hover a,
.single ul#primary-menu li.menu-blog a,
.page-template-page-base-esc ul#primary-menu li.menu-camps > a,
.page-template-page-base-spa ul#primary-menu li.menu-camps > a,
.page-template-page-base-mini ul#primary-menu li.menu-camps > a {
  color: var(--alt-color);
}

ul#primary-menu ul {
  box-shadow: 0 0 0;
  font-size: var(--font-xs);
  background: rgba(255, 255, 255, 0.9);
  padding: 0 20px;
  margin-left: -20px;
}

ul#primary-menu ul li {
  border-top: 0;
  padding: 8px 0;
}

ul#primary-menu li.current-menu-item ul li,
ul#primary-menu li:hover ul li {
  border-top: 0;
}

ul#primary-menu ul a {
  width: 180px;
}

ul#primary-menu li:hover li a {
  color: var(--highlight-color);
}

ul#primary-menu li li a:hover {
  color: var(--alt-color);
}

.main-navigation ul.language-nav {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.main-navigation ul.language-nav li {
  display: flex;
}

.lang-item a {
  color: #606060;
}

.lang-item a:hover {
  color: #111;
}

.lang-item.current-lang a {
  font-weight: 600;
}

.lang-item:not(:last-of-type)::after {
  content: "/";
  padding: 0 3px;
}

.nav-mobile,
.burger {
  display: none;
}

.site-header.sticky {
  background: rgba(255, 255, 255, 0.9);
  padding-bottom: 0;
  padding-top: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5;
  border-bottom: 1px solid #f2f2f2;
}

.site-header.sticky .wrapper {
  padding: 5px 20px 0;
}

.site-header.sticky .custom-logo {
  max-width: 240px;
  transition: all 300ms ease-in-out;
}

.lang-mobile {
  display: none;
}

@media only screen and (max-width: 1199px) {
  #site-navigation {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
}

@media only screen and (min-width: 801px) {
  .site-header .main-navigation {
    margin-top: -40px;
  }
}

@media only screen and (max-width: 800px) {
  .lang-mobile {
    display: flex;
    padding-bottom: 24px;
    flex-flow: row wrap;
  }

  .lang-mobile select {
    border: 0;
    font-size: var(--font-xs);
    background: transparent;
    font-family: "Montserrat", sans-serif;
    color: var(--highlight-color);
  }

  .lang-mobile li {
    list-style: none;
    font-size: var(--font-xs);
    text-transform: uppercase;
  }

  .lang-mobile li a {
    text-decoration: none;
    color: var(--highlight-color);
  }

  .lang-mobile li:first-of-type::after {
    content: "/";
    display: inline-block;
    margin: 0 2px;
    font-size: 11px;
  }

  .site-header .custom-logo,
  .site-header.sticky .custom-logo {
    max-width: 200px;
  }

  nav#site-navigation {
    display: none;
  }

  .burger::before {
    top: 0px;
  }

  .burger::after {
    top: 19px;
  }

  .burger::before,
  .burger::after {
    background: var(--highlight-color);
    content: "";
    display: block;
    height: 3px;
    position: absolute;
    transition: all 300ms ease-in-out;
    width: 25px;
  }

  .burger {
    align-self: center;
    display: block;
    height: 20px;
    margin-top: -10px;
    position: relative;
    width: 25px;
    z-index: 11;
  }

  .burger span {
    background: var(--highlight-color);
    display: block;
    height: 3px;
    position: absolute;
    top: 10px;
    transition: all 300ms ease-in-out;
    width: 25px;
  }

  .nav {
    background: rgba(30, 63, 119, 0.95);
    bottom: 0px;
    display: none;
    left: 0px;
    position: fixed;
    right: 0px;
    top: 0px;
    z-index: 20;
  }

  .nav.visible {
    display: block;
    animation: appearing 0.5s ease-in-out;
  }

  @keyframes appearing {
    0% {
      display: none;
      opacity: 0;
    }

    1% {
      display: block;
      opacity: 0;
    }

    100% {
      display: block;
      opacity: 1;
    }
  }

  .nav .menu {
    align-items: center;
    bottom: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0px;
    list-style: none;
    margin: 0;
    overflow-y: scroll;
    padding: 0;
    position: absolute;
    right: 0px;
    top: 0px;
  }

  .nav .close {
    background: url("img/icon-close.svg") no-repeat center;
    cursor: pointer;
    display: block;
    height: 60px;
    left: auto;
    margin-left: -15px;
    position: absolute;
    top: 20px;
    transition: transform 300ms ease-out;
    width: 30px;
    z-index: 9;
    right: 16px;
  }

  .nav .close:hover {
    transform: rotate(90deg);
  }

  .nav .menu li {
    font-size: var(--font-m);
    letter-spacing: 3px;
    line-height: 1.2;
    margin-bottom: 8px;
    position: relative;
    text-transform: none;
    text-align: right;
    width: 90vw;
    border-top: 0px solid #eee;
    padding-top: 8px;
  }

  .nav .menu li ul {
    display: none;
  }

  .nav .menu li a {
    color: #fff;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
  }

  .nav .menu li a:hover {
    color: var(--alt-color);
  }

  .sub-camp a {
    font-size: 15px;
  }

  .nav .menu li.lang-item {
    font-size: 13px;
  }

  .lang-item:not(:last-of-type)::after {
    content: "";
    display: none;
  }

  .nav .menu li.lang-item:not(:last-of-type) {
    padding-top: 40px;
  }
}

/* FOOTER */
footer#colophon {
  padding-bottom: 60px;
  border-bottom: 10px solid var(--alt-color);
}

.site-footer {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.footer-col {
  max-width: 300px;
  text-align: center;
  width: 100%;
}

ul#menu-footer {
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0 0 0 40px;
}

.site-footer .footer-col a {
  text-decoration: none;
}

.site-footer .footer-col a:hover {
  color: var(--alt-color);
}

.footer-contact {
  color: var(--highlight-color);
  text-align: left;
}

.footer-contact > div {
  display: flex;
  align-items: center;
}

.footer-contact > div.footer--address {
  align-items: flex-start;
  margin-bottom: 14px;
}

.footer--address::before {
  content: "";
  background: url("img/ico-address.svg") no-repeat center center / cover;
  width: 12px;
  height: 16px;
  display: inline-block;
  margin-right: 6px;
  flex: 0 0 auto;
  margin-top: 3px;
}

.footer--email::before {
  content: "";
  background: url("img/ico-mail.svg") no-repeat center center / cover;
  width: 14px;
  height: 10px;
  display: inline-block;
  margin-right: 6px;
  flex: 0 0 auto;
}

.footer--phone::before {
  content: "";
  background: url("img/ico-phone.svg") no-repeat center center / cover;
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-right: 6px;
  flex: 0 0 auto;
}

@media only screen and (max-width: 800px) {
  .site-footer.fl {
    flex-flow: column wrap;
    align-items: center;
  }

  .footer-col {
    margin-bottom: 50px;
  }

  ul#menu-footer,
  .footer-contact {
    text-align: center;
  }

  .footer-contact > div {
    flex-flow: column wrap;
  }

  .footer-col.footer-contact > div::before {
    display: block;
    margin: 10px auto 4px;
  }

  ul#menu-footer {
    margin-left: 0;
  }
}

/* SUBHEADER */

.subheader {
  display: grid;
  width: 100%;
  margin-bottom: 60px;
  position: relative;
}

.subheader-img {
  height: 320px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  z-index: 1;
  grid-row: 1;
  grid-column: 1;
}

.subheader-txt {
  grid-column: 1;
  z-index: 3;
  text-align: center;
  align-self: flex-end;
  grid-row: 1;
  color: #fff;
  background-image: linear-gradient(to top, #111, transparent);
  line-height: 1.3;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  position: absolute;
}

.subheader-txt .wrapper {
  padding-bottom: 40px;
}

.subheader-txt h1 {
  margin-bottom: 0;
  font-size: var(--font-xl);
}

.subheader-txt hr {
  background-color: #fff;
  height: 1px;
  width: 80%;
  margin: 0.5em auto;
}

.subheader-txt span {
  font-size: var(--font-xl);
  margin-bottom: 20px;
  display: block;
}

.subheader-slider.slick-dotted.slick-slider {
  margin-bottom: 60px;
}

.subheader-slider.has-text {
  position: relative;
}

.subheader-slider.has-text .subheader-txt {
  left: 0;
  right: 0;
  bottom: 0;
}

.subheader-slider.has-text .slick-track {
  height: 680px;
}

@media only screen and (max-width: 480px) {
  .subheader-slider.has-text .slick-track {
    height: 380px;
  }

  .subheader-txt h1 {
    font-size: large;
  }

  .subheader-txt span {
    font-size: large;
    margin-bottom: 10px;
  }
}

@media only screen and (min-width: 481px) and (max-width: 800px) {
  .subheader-slider.has-text .slick-track {
    height: 480px;
  }

  .subheader-txt h1 {
    font-size: large;
  }

  .subheader-txt span {
    font-size: large;
    margin-bottom: 10px;
  }
}

.subheader-slider .slick-track {
  height: 320px;
}

.subheader-slider.has-text .slick-item img {
  object-fit: cover;
}

.subheader-slider .slick-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.subheader-slider .slick-dots {
  bottom: 5px;
}

.subheader-slider .slick-dots li {
  width: 15px;
  height: 15px;
}

.subheader-slider .slick-dots li button::before {
  width: 15px;
  height: 15px;
  content: "";
  background: var(--highlight-color);
  border-radius: 50%;
}

/* BASE STYLES */

.site-base {
  color: var(--highlight-color);
  margin-bottom: 60px;
}

.site-base h1 {
  font-size: var(--font-xl);
  margin-top: 0;
  line-height: 1.2;
}

.site-base h2 {
  font-size: var(--font-l);
  font-weight: 400;
}

.site-base a {
  color: var(--alt-color);
}

.site-base .site-left {
  max-width: 32%;
  width: 100%;
}

.site-base .site-right {
  max-width: 64%;
  width: 100%;
}

.site-right > p:first-of-type {
  margin-top: 0;
}

.site-base ul {
  margin: 0;
  padding-left: 1em;
  list-style: none;
}

.site-base ul li {
  margin-bottom: 18px;
}

.site-base ul li::before {
  content: "●";
  color: var(--alt-color);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.site-base hr {
  background-color: var(--alt-color);
  height: 1px;
  margin: 24px auto;
  width: 100%;
}

@media only screen and (max-width: 800px) {
  .site-base .site-left,
  .site-base .site-right {
    max-width: 100%;
  }
}

/* BANNER QUÉ NECESITAS */

.banner-que-necesitas {
  background: #25508e;
  padding: 60px 45px;
  margin-bottom: 80px;
  color: var(--highlight-color);
}

.banner-que-necesitas h2 {
  color: #fff;
  text-align: center;
  font-size: var(--font-xl);
  margin: 0 auto 60px;
}

.banner-que-necesitas .qn-recuadros {
  align-items: stretch;
  justify-content: center;
  gap: 25px;
}

.banner-que-necesitas .qn-recuadros > div {
  background: #fff;
  max-width: 23.5%;
  padding: 0;
  width: 100%;
  margin-bottom: 30px;
  display: flex;
  flex-flow: row wrap;
}

.banner-que-necesitas .qn-recuadros > div > div {
  padding: 40px;
  flex-flow: column wrap;
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.banner-que-necesitas .qn-recuadros.nc-recuadros > div {
  max-width: 30%;
}

@media only screen and (max-width: 900px) {
  .banner-que-necesitas .qn-recuadros > div {
    max-width: 48%;
  }

  .banner-que-necesitas .qn-recuadros.nc-recuadros div {
    max-width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .banner-que-necesitas .qn-recuadros div,
  .banner-que-necesitas .qn-recuadros.nc-recuadros div {
    max-width: 100%;
  }
}

.banner-que-necesitas .qn-recuadros h3 {
  font-size: var(--font-l);
  color: var(--highlight-color);
  margin: 0 0 10px;
}

.qn-recuadros div p {
  margin: 10px 0 50px;
}

.qn-recuadros div p > br {
  display: block;
  margin-bottom: 6px;
}

.banner-que-necesitas .qn-recuadros div > a {
  text-transform: uppercase;
  color: var(--alt-color);
  font-weight: 600;
  border: 2px solid var(--alt-color);
  padding: 6px 16px;
  display: inline-block;
  text-decoration: none;
  margin: auto 0 0;
  transition: all 0.2s ease-in;
  text-align: center;
}

.banner-que-necesitas .qn-recuadros div > a:hover {
  background: var(--alt-color);
  color: #fff;
  transition: all 0.2s ease-in;
}

.banner-que-necesitas .nc-recuadros .p-small {
  font-size: var(--font-xs);
}

.nc-recuadros div p {
  color: var(--highlight-color);
  margin-bottom: 1em;
}

.nc-recuadros div p:last-of-type {
  margin-bottom: 50px;
}

.nc-recuadros img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

/* FAQ STYLES */

.site-base details {
  border: 2px solid var(--highlight-color);
  margin-bottom: 30px;
  border-radius: 0;
}

.site-base summary {
  font-size: 1rem;
  font-weight: 600;
  background-color: #fff;
  color: var(--highlight-color);
  padding: 1rem 4rem 1rem 1rem;
  margin-bottom: 0;
  outline: none;
  text-align: left;
  cursor: pointer;
  position: relative;
  display: block;
}

.site-base details > summary::after {
  position: absolute;
  content: "+";
  right: 20px;
  color: var(--alt-color);
  font-weight: 100;
  font-size: 55px;
  top: 0;
  line-height: 1;
}

.site-base details[open] > summary::after {
  position: absolute;
  content: "×";
  right: 20px;
  color: var(--alt-color);
  font-weight: 100;
  font-size: 55px;
  top: 0;
  line-height: 1;
}

.site-base details > summary::-webkit-details-marker,
.site-base details > summary::-details-marker {
  display: none;
}

.site-base details[open] summary ~ * {
  animation: sweep 0.3s ease-in-out;
}

.site-base .faq__content {
  padding: 0 80px 0 40px;
  font-style: italic;
}

.site-base .faq-title {
  text-transform: uppercase;
  font-weight: 600;
  color: var(--alt-color);
  margin-bottom: 20px;
  display: block;
}

.site-base .faq-title:not(:first-of-type) {
  padding-top: 120px;
}

.site-base .faq-title:first-of-type {
  padding-top: 60px;
}

@keyframes sweep {
  0% {
    opacity: 0;
    margin-top: -10px;
  }
  100% {
    opacity: 1;
    margin-top: 0px;
  }
}

/* PÁGINA DE CONTACTO */

.ctt-intro {
  max-width: 1200px;
  width: 100%;
  border-bottom: 0px solid var(--highlight-color);
  margin-bottom: 80px;
  text-align: center;
}

.ctt-intro::after {
  content: "";
  display: block;
  background: var(--highlight-color);
  height: 1px;
  max-width: 1400px;
  width: 100vw;
  margin: 0 calc(50% - 700px);
}

.page-template-page-base-contacto .site-base .site-left {
  max-width: 28%;
}

@media only screen and (max-width: 800px) {
  .page-template-page-base-contacto .site-base .site-left {
    max-width: 100%;
  }
}

@media only screen and (max-width: 1400px) {
  .ctt-intro::after {
    margin: 0 auto;
    width: 100%;
  }
}

.ctt-intro-tit {
  font-weight: 700;
  font-size: var(--font-xl);
  margin: 30px auto 10px;
}

.ctt-intro-tit ~ p {
  text-align: center;
  max-width: 760px;
  display: block;
  width: 100%;
  font-size: var(--font-l);
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 30px;
}

.gform_wrapper.gravity-theme .gform_body .gfield_label {
  font-weight: 400;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  border: 2px solid var(--highlight-color);
  border-radius: 0;
}

.gform_footer input.gform_button.button {
  background: transparent;
  border-radius: 0;
  border-color: var(--alt-color);
  text-transform: uppercase;
  color: var(--alt-color);
  font-family: "Montserrat", sans-serif;
  font-size: var(--font-s);
  line-height: 1;
  padding: 12px 24px;
  transition: all 0.2s ease-in;
  border: 2px solid;
  font-weight: 600;
}

.gform_footer input.gform_button.button:hover {
  background: var(--alt-color);
  color: #fff;
  transition: all 0.2s ease-in;
  border-color: var(--alt-color);
}

.gchoice.gchoice_1_4_4,
.gchoice.gchoice_1_4_5,
.gchoice.gchoice_1_4_6,
.gchoice.gchoice_1_4_7,
.gchoice.gchoice_1_4_8,
.gchoice.gchoice_10_4_4,
.gchoice.gchoice_10_4_5,
.gchoice.gchoice_10_4_6,
.gchoice.gchoice_10_4_7,
.gchoice.gchoice_10_4_8 {
  margin-left: 17px;
}

.page-template-page-base-contacto .site-left a {
  color: var(--highlight-color);
  text-decoration: none;
}

/* ENTRADA INDIVIDUAL */

.single .post-thumbnail img {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
}

.single article {
  color: var(--highlight-color);
  width: 100%;
  padding-bottom: 60px;
  border-bottom: 0;
  margin-bottom: 20px;
}

.single article .post-thumbnail {
  margin-top: 30px;
}

.single h1.entry-title {
  text-align: center;
  max-width: 900px;
  margin: 20px auto;
  line-height: 1.3;
  width: 100%;
}

.single .entry-meta {
  text-align: center;
  font-size: var(--font-l);
  font-weight: 100;
}

.single article .entry-content {
  max-width: 80ch;
  width: 100%;
  margin: 20px auto;
}

/* PÁGINA RESIDENCIA */

.site-base ul.res-galeria {
  display: flex;
  align-items: stretch;
  flex-flow: row nowrap;
  list-style: none;
  margin: 16px calc(50% - 705px);
  padding: 0;
  width: 100vw;
  gap: 20px;
  max-width: 1410px;
}

@media screen and (max-width: 1410px) {
  .site-base ul.res-galeria {
    margin: 16px auto;
  }
}

.site-base ul.res-galeria li::before {
  display: none;
}

ul.res-galeria li {
  width: 100%;
}

ul.res-galeria li img {
  height: 400px;
  object-fit: cover;
  max-width: 470px;
  width: 100%;
  display: block;
}

@media screen and (max-width: 800px) {
  .site-base ul.res-galeria {
    flex-flow: row wrap;
  }

  ul.res-galeria li img {
    max-width: 100%;
  }
}

.banner-que-necesitas .qn-recuadros.rs-recuadros {
  justify-content: center;
}

.banner-que-necesitas .qn-recuadros.rs-recuadros > div {
  margin: 0 20px 20px;
}

.tarifas.alignwide {
  background: #fff;
  padding: 30px 30px 50px;
  text-align: center;
  margin-bottom: 120px;
}

.tarifas > div {
  color: var(--highlight-color);
  max-width: 800px;
  margin: 0 auto;
}

.res-ta-1 {
  font-size: var(--font-l);
  font-weight: 600;
}

.tarifas a {
  color: var(--alt-color);
  font-weight: 600;
}

.res-ta-3 {
  border: 2px solid var(--alt-color);
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 16px;
  display: inline-block;
  transition: all 0.2s ease-in;
}

.res-ta-3:hover {
  background: var(--alt-color);
  color: #fff;
  transition: all 0.2s ease-in;
}

.proceso-admision .site-left {
  max-width: 30%;
  width: 100%;
  color: var(--highlight-color);
}

.proceso-admision h2 {
  font-size: var(--font-xl);
}

.proceso-admision h3 {
  font-size: var(--font-l);
  font-weight: 400;
}

.proceso-admision .site-right {
  max-width: 58%;
  width: 100%;
}

.banner-residencia.fl {
  justify-content: flex-start;
}

.banner-residencia .site-left {
  max-width: 30%;
}

.banner-residencia .site-right {
  max-width: 56%;
}

.res-1 {
  font-size: var(--font-xl);
  font-weight: 700;
  display: block;
}

.res-2 {
  display: block;
  color: var(--alt-color);
  font-size: var(--font-m);
  margin: 8px 0 20px;
}

.proceso-admision .site-right ul {
  list-style: none;
  margin: 0 0 60px;
  padding: 0;
}

.proceso-admision ul li {
  background: var(--highlight-color);
  color: #fff;
  display: flex;
  padding: 32px;
  margin-bottom: 16px;
}

.res-p1 {
  font-size: 50px;
  font-weight: 900;
  line-height: 1;
  margin-right: 10px;
}

.res-highlight {
  margin: -16px 0 16px;
  background: var(--alt-color);
  padding: 24px 16px;
}

.res-highlight a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid #fff;
  padding: 8px 16px;
  margin-left: 48px;
  transition: all 0.2s ease-in;
}

.res-highlight a:hover {
  background: #fff;
  color: var(--alt-color);
  transition: all 0.2s ease-in;
}

@media only screen and (max-width: 800px) {
  .proceso-admision .site-left,
  .proceso-admision .site-right {
    max-width: 100%;
  }

  .proceso-admision .site-right {
    margin-top: 40px;
  }

  .res-highlight a {
    margin-left: 24px;
  }
}

.nos-1 {
  display: block;
  font-size: var(--font-xl);
  font-weight: 900;
}

.nos-2 {
  display: block;
  font-size: var(--font-l);
  font-weight: 400;
}

.page-template-page-base-nosotros .nos-video-embed {
  position: relative;
  padding: 56.25% 0 0 0;
}

.page-template-page-base-nosotros .nos-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 600px) {
  .page-template-page-base-nosotros .nos-2 {
    margin-bottom: 20px;
  }
}

ul.res-galeria.nos-galeria {
  justify-content: space-between;
  margin-top: 80px;
}

ul.res-galeria.nos-galeria li img {
  height: 450px;
  object-fit: cover;
  max-width: 450px;
  width: 100%;
}

ul.nos-galeria p {
  font-size: var(--font-s);
  font-weight: 600;
  margin-top: 10px;
}

.testimonios-slider {
  margin-bottom: 40px;
}

.testimonios-slider .slick-initialized .slick-track {
  display: flex;
  align-items: stretch;
  margin-bottom: 20px;
  background: #fff;
}

.testimonios-slider ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

.testimonios-slider li {
  background: #fff;
  color: var(--highlight-color);
  font-style: italic;
  padding: 20px 40px;
  margin: 0;
  max-width: 1200px;
  max-width: 100%;
  width: 100%;
  height: auto;
}

.testimonios-slider li p:last-of-type {
  font-weight: 600;
  font-style: normal;
}

a.ver-mas-t {
  font-size: var(--font-s);
  font-weight: 600;
  text-decoration: none;
  color: var(--alt-color);
  font-style: italic;
  text-align: right;
  display: block;
  margin: -24px auto 60px;
  max-width: 1160px;
  padding-right: 20px;
}

.tst-fot {
  max-width: 180px;
  border-radius: 50%;
  height: 180px;
  width: 100%;
  object-fit: cover;
  flex: 0 0 auto;
  margin-left: 40px;
}

.testimonios-slider li > div.fl {
  flex-flow: row nowrap;
  align-items: center;
  height: 100%;
  max-width: 950px;
}

.page-id-76 .testimonios-slider li > div.fl,
.page-id-698 .testimonios-slider li > div.fl,
.page-id-707 .testimonios-slider li > div.fl,
.page-id-74 .testimonios-slider li > div.fl {
  max-width: 1050px;
}

.testimonios-slider li:not(.slick-current) {
  opacity: 0.5;
}

@media only screen and (max-width: 768px) {
  .testimonios-slider li > div.fl {
    flex-flow: column wrap;
    justify-content: center;
  }
}

/* PORTADA */

.home .subheader-img {
  height: 680px;
}

.home .subheader-txt span {
  margin-bottom: 40px;
}

.banner-azul {
  background: #25508e;
  padding: 60px 20px;
  margin-bottom: 80px;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  font-size: var(--font-l);
}

.banner-azul > * {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.banner-azul-top > * {
  max-width: 1200px;
}

.banner-azul a {
  border: 2px solid #fff;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 16px;
  display: inline-block;
  font-weight: 600;
  transition: all 0.2s ease-in;
  font-size: var(--font-s);
}

.banner-azul a:hover {
  background: #fff;
  color: var(--highlight-color);
  transition: all 0.2s ease-in;
}

.portada-intro {
  font-size: var(--font-l);
  color: var(--highlight-color);
  text-align: center;
  max-width: 835px;
  margin-bottom: 60px;
  display: block;
}

.portada-intro--logos {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 80px;
  align-items: center;
}

.portada-intro--logos img {
  max-width: 200px;
  height: auto;
  margin: 0 30px;
}

.banner-azul--pretitulo {
  display: block;
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--highlight-color);
  text-align: center;
  margin: 20px auto;
}

.banner-azul--pretitulo::before {
  content: "";
  display: block;
  background: var(--alt-color);
  width: 100px;
  height: 1px;
  margin: 10px auto;
  padding-top: 0;
}

.banner-izq {
  max-width: 200px;
  width: 100%;
  font-size: var(--font-xl);
  font-weight: 700;
  text-align: left;
}

.banner-der {
  max-width: calc(100% - 270px);
  text-align: left;
  width: 100%;
  line-height: 1.5;
  font-size: var(--font-l);
}

.home .banner-azul-top.no-video .banner-izq {
  max-width: 100%;
  width: 100%;
  text-align: center;
}

.home .banner-azul-top.no-video .banner-izq p {
  text-align: center !important;
}

.banner-der a {
  display: block;
  margin-top: 20px;
  max-width: 240px;
  text-align: center;
  font-size: var(--font-s);
}

.portada-dos {
  color: var(--highlight-color);
  margin-bottom: 50px;
}

.portada-dos > div {
  max-width: 48%;
  width: 100%;
  margin-bottom: 20px;
}

.portada-dos > div > img {
  height: 500px;
  object-fit: cover;
}

.portada-dos > div > a,
.portada-somos .site-right a,
.portada-blog > div > a,
a.btn-alt {
  border: 2px solid var(--alt-color);
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 16px;
  display: inline-block;
  transition: all 0.2s ease-in;
  color: var(--alt-color);
  font-weight: 600;
}

.portada-dos > div > a:hover,
.portada-somos .site-right a:hover,
.portada-blog > div > a:hover,
a.btn-alt:hover {
  background: var(--alt-color);
  color: #fff;
  transition: all 0.2s ease-in;
}

.portada-dos p {
  margin-top: 8px;
}

.portada-dos h2 {
  margin-bottom: 0;
}

@media only screen and (max-width: 800px) {
  .portada-dos > div {
    max-width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .banner-izq,
  .banner-der {
    max-width: 100%;
  }

  .home .banner-azul-top .banner-izq,
  .home .banner-azul-top .banner-izq p {
    text-align: center !important;
  }

  .home .banner-azul-top {
    padding: 30px 12px;
  }

  .home .banner-azul-top .wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .banner-der {
    text-align: center;
    margin-top: 20px;
  }

  .home .banner-azul-top .banner-der {
    margin-top: 0;
    padding: 0;
  }

  .home .banner-azul-top .banner-der > * {
    margin-top: 0;
    margin-bottom: 0;
  }

  .home .banner-azul-top .banner-der iframe {
    display: block;
  }

  .banner-der a {
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
  }
}

.portada-somos.wrapper.fl {
  color: var(--highlight-color);
  margin-bottom: 60px;
}

.portada-somos h2 {
  font-size: var(--font-l);
  font-weight: 400;
}

.portada-somos a {
  color: var(--alt-color);
}

.portada-somos .site-left {
  max-width: 34%;
  width: 100%;
  font-weight: 700;
  font-size: var(--font-xl);
}

.portada-somos .site-right {
  max-width: 64%;
  width: 100%;
  margin-bottom: 40px;
}

.portada-somos > p:first-of-type {
  margin-top: 0;
}

.portada-somos ul {
  margin: 0;
  padding-left: 1em;
  list-style: none;
}

.portada-somos ul li::before {
  content: "•";
  color: var(--alt-color);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.portada-somos hr {
  background-color: var(--alt-color);
  height: 1px;
  margin: 24px auto;
  width: 100%;
}

@media only screen and (max-width: 800px) {
  .portada-somos .site-left,
  .portada-somos .site-right {
    max-width: 100%;
  }
}

.portada-blog.alignwide {
  background: #fff;
  padding: 40px;
  margin-bottom: 40px;
}

.portada-blog {
  color: var(--highlight-color);
}

.portada-blog h2 {
  font-size: var(--font-xl);
  font-weight: 700;
}

#card-list {
  display: flex;
  flex-flow: row wrap;
  margin-top: 60px;
  justify-content: space-between;
}

body:not(.home) #card-list {
  margin-top: 0;
}

#card-list .card {
  max-width: 48%;
  width: 100%;
  margin-bottom: 30px;
}

#card-list .card a {
  text-decoration: none;
}

#card-list .card img {
  width: 100%;
  height: 405px;
  object-fit: cover;
}

#card-list .card .card-title {
  font-size: var(--font-xl);
  font-weight: 700;
  display: block;
  line-height: 1.3;
  margin-bottom: 16px;
  margin-top: 16px;
}

.card-subtitle > p {
  display: inline;
}

.card-subtitle > span {
  color: var(--alt-color);
}

.card .btn-alt {
  margin-top: 16px;
  display: block;
  max-width: 200px;
  text-align: center;
}

@media only screen and (max-width: 800px) {
  #card-list .card {
    max-width: 100%;
  }
}

/* COLEGIO */

.page-template-page-base-colegio {
  color: var(--highlight-color);
}

.content-school > div {
  max-width: 48%;
  width: 100%;
}

@media only screen and (max-width: 800px) {
  .content-school > div {
    max-width: 100%;
  }
}

.niveles {
  background-color: var(--highlight-color);
  margin-top: 400px;
  margin-bottom: 275px;
}

.niveles.wrapper {
  text-align: center;
}

.niveles h2 {
  transform: translateY(-300px);
}

.niveles .base__11.base__11b.wrapper {
  transform: translateY(-300px);
}

.niveles .niveles__wrapper {
  transform: translateY(200px);
  margin-top: -500px;
}

.niveles h2,
.portada-dos--title {
  display: block;
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--highlight-color);
  text-align: center;
  margin: 20px auto;
}

.niveles__wrapper {
  align-items: stretch;
  gap: 20px;
}

.nivel-item {
  max-width: calc(50% - 20px);
  background: #fff;
  margin-bottom: 20px;
}

.nivel-item img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.nivel-item > div {
  padding: 45px;
  text-align: left;
}

.nivel-tit {
  color: var(--alt-color);
  font-weight: 600;
  font-size: var(--font-xl);
  display: block;
  line-height: 1.3;
  margin-bottom: 30px;
}

.nivel-sub {
  display: block;
  font-size: var(--font-l);
  line-height: 1.3;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 30px;
}

a.btn-red {
  text-transform: uppercase;
  color: var(--alt-color);
  font-weight: 600;
  border: 2px solid var(--alt-color);
  padding: 6px 16px;
  display: inline-block;
  text-decoration: none;
  margin: 25px auto 0;
  transition: all 0.2s ease-in;
}

a.btn-red:hover {
  background: var(--alt-color);
  color: #fff;
  transition: all 0.2s ease-in;
}

a.btn-white {
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  border: 2px solid #fff;
  padding: 6px 16px;
  display: inline-block;
  text-decoration: none;
  margin: 25px 10px 0;
  transition: all 0.2s ease-in;
}

a.btn-white:hover {
  background: #fff;
  color: var(--highlight-color);
  transition: all 0.2s ease-in;
}

.nivel-item ul {
  margin: 0;
  padding-left: 1em;
  list-style: none;
}

.nivel-item ul li::before {
  content: "●";
  color: var(--alt-color);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.nivel-item ul li {
  margin-bottom: 18px;
}

.pilares h2 {
  font-size: var(--font-xl);
  margin-bottom: 50px;
}

.pilares .nivel-tit {
  font-size: var(--font-l);
}

@media only screen and (max-width: 800px) {
  .nivel-item {
    max-width: 100%;
  }
}

.instalaciones {
  gap: 20px;
  margin-bottom: 80px;
}

.instalaciones-item {
  max-width: calc(33.333% - 20px);
  min-height: 450px;
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 10px;
}

@media only screen and (max-width: 800px) {
  /*SMB */
  .portada-intro--logos {
    flex-flow: column wrap;
  }

  .portada-intro--logos img {
    margin: 0 auto 50px;
    max-width: 250px;
  }

  .banner-azul--pretitulo {
    margin: 50px auto;
  }

  .banner-izq {
    text-align: center;
    margin-bottom: 30px;
  }

  .portada-dos > div {
    margin-bottom: 80px;
  }

  .tst-fot {
    margin-left: 0px;
    margin-bottom: 40px;
  }

  a.ver-mas-t {
    text-align: center;
  }

  .portada-somos .site-left {
    margin-bottom: 50px;
  }

  .portada-blog.alignwide {
    padding: 5px;
  }

  #card-list .card {
    margin-bottom: 70px;
  }

  .banner-azul {
    margin-top: 30px;
  }

  .banner-azul-top a {
    margin-top: 50px;
  }

  .banner-que-necesitas {
    padding: 60px 10px;
  }

  .nivel-item > div {
    padding: 30px;
  }

  .instalaciones-item,
  .banner-residencia .site-right,
  .banner-residencia .site-left {
    max-width: 100%;
  }

  .banner-residencia .site-right {
    margin-top: 30px;
  }

  .banner-que-necesitas .qn-recuadros > div > div {
    padding: 30px;
  }

  .wp-image-193 {
    margin-bottom: 50px;
  }

  .base__5 .wrapper {
    padding: 0px;
  }

  .home .subheader-img {
    height: 550px;
  }
}

.instalaciones-item h2 {
  font-size: var(--font-l);
  line-height: 1.3;
  margin-bottom: 0;
  align-self: flex-end;
}

.instalaciones-item:first-of-type {
  background: var(--highlight-color);
  color: #fff;
  padding: 40px 50px;
}

.instalaciones-item > img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.site-colegio.site-base .site-right {
  max-width: 40%;
}

.site-colegio.site-base .site-left {
  max-width: 60%;
}

.page-template-page-base-colegio .base__11 {
  margin-top: 80px;
  margin-bottom: 40px;
}

.page-template-page-base-spa .base__11 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-template-page-base-colegio .base__11 ul.galeria,
.page-template-page-base-spa .base__11 ul.galeria {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-template-page-base-colegio .base__11 ul.galeria li img,
.page-template-page-base-spa .base__11 ul.galeria li img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.page-template-page-base-colegio
  .base__11:not(.base__11b)
  div:nth-of-type(3)
  ul.galeria
  li
  img {
  height: 220px;
}

.page-template-page-base-colegio
  .base__11b
  div:nth-of-type(3)
  ul.galeria
  li
  img {
  height: 340px;
}

.page-template-page-base-colegio .base__11 > div > div,
.page-template-page-base-spa .base__11 > div > div {
  margin-bottom: 60px;
  width: 100%;
}

.page-template-page-base-colegio .base__11 ul:not(.galeria),
.page-template-page-base-spa .base__11 ul:not(.galeria) {
  margin: 0;
  padding-left: 1em;
  list-style: none;
}

.page-template-page-base-colegio .base__11 ul:not(.galeria) li::before,
.page-template-page-base-spa .base__11 ul:not(.galeria) li::before {
  content: "●";
  color: var(--alt-color);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.page-template-page-base-colegio .base__11 ul:not(.galeria) li,
.page-template-page-base-spa .base__11 ul:not(.galeria) li {
  margin-bottom: 18px;
}

@media only screen and (max-width: 700px) {
  .site-colegio.site-base .site-right,
  .site-colegio.site-base .site-left {
    max-width: 100%;
  }
}

/* PÁGINA ESC */

.page-template-page-base-esc .site-base {
  color: var(--highlight-color);
}

.base__1 {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.base__1-izq {
  max-width: 40%;
  width: 100%;
}

.base__1-der {
  max-width: 58%;
  width: 100%;
}

.base__1 h1 {
  font-size: var(--font-xl);
  line-height: 1.3;
}

.base__1 h2 {
  font-size: var(--font-l);
  font-weight: 400;
  line-height: 1.3;
}

.base__1-izq img {
  margin-top: 10px;
}

.base__1-der p:first-of-type {
  margin-top: 0;
}

@media only screen and (max-width: 700px) {
  .base__1-der,
  .base__1-izq {
    max-width: 100%;
  }
}

.base__2 {
  background: var(--highlight-color);
  color: #fff;
  padding: 40px;
  text-align: center;
  margin-bottom: 80px;
}

.base__2 h2 {
  font-size: var(--font-xl);
  max-width: 750px;
  margin: 0 auto;
  font-weight: 700;
  line-height: 1.3;
}

.base__2 p {
  font-size: var(--font-l);
  margin: 20px auto 0;
}

.base__3-izq,
.base__3-der {
  max-width: 50%;
  width: 100%;
  color: var(--highlight-color);
}

.base__3-der ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 40px;
}

.base__3-der ul.res-galeria li img {
  width: 100%;
  max-width: 100%;
}

.base__3-izq {
  padding-right: 120px;
}

.base__3-izq ul,
.base__8-content ul,
.base__9-content ul {
  margin: 0;
  padding-left: 1em;
  list-style: none;
}

.base__3-izq ul li::before,
.base__8-content ul li::before,
.base__9-content ul li::before {
  content: "●";
  color: var(--alt-color);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.base__3 ul li,
.base__8-content ul li,
.base__9-content ul li {
  margin-bottom: 18px;
}

.base__3-izq p:first-of-type {
  margin-top: 0;
}

@media only screen and (max-width: 700px) {
  .base__3-izq,
  .base__3-der {
    max-width: 100%;
  }

  .base__3-der ul {
    padding-left: 0;
  }

  .base__3-izq {
    padding-right: 0;
  }
}

.base__4,
.base__10 {
  margin: 120px 0;
}

.page-template-page-base-mini .base__4,
.page-template-page-base-spa .base__4 {
  margin: 60px 0;
}

.base__4 ul.res-galeria,
.base__10 ul.res-galeria {
  display: flex;
  align-items: stretch;
  flex-flow: row wrap;
  list-style: none;
  margin: 16px calc(50% - 705px);
  padding: 0;
  width: 100vw;
  gap: 10px;
  max-width: 1410px;
  justify-content: center;
}

.base__4 ul.res-galeria li,
.base__10 ul.res-galeria li {
  max-width: calc(33.333% - 40px);
}

@media screen and (max-width: 1410px) {
  .base__4 ul.res-galeria,
  .base__10 ul.res-galeria {
    margin: 16px auto;
  }
}

@media screen and (max-width: 800px) {
  .base__4 ul.res-galeria li,
  .base__10 ul.res-galeria li {
    max-width: 100%;
  }
}

.base__5 {
  background: var(--highlight-color);
  color: #fff;
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 80px;
}

.base__5 h2 {
  font-size: var(--font-xl);
  max-width: 100%;
  margin: 0 auto;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 30px;
}

.base__5-card {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 10px;
}

.base__5-card li {
  background: #fff;
  color: var(--highlight-color);
  padding: 30px;
  max-width: calc(33.333% - 20px);
  width: 100%;
}

@media only screen and (max-width: 700px) {
  .base__5-card li {
    max-width: 100%;
  }
}

.base__6 {
  color: var(--highlight-color);
  text-align: center;
}

.base__6 h2 {
  font-size: var(--font-xl);
  margin: 0 auto;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.3;
}

.base__6 > p {
  font-size: var(--font-l);
  font-weight: 400;
}

.base__6 > a {
  text-transform: uppercase;
  color: var(--alt-color);
  font-weight: 600;
  border: 2px solid var(--alt-color);
  padding: 6px 16px;
  display: inline-block;
  text-decoration: none;
  margin: 0 auto;
  transition: all 0.2s ease-in;
}

.base__6 > a:hover {
  background: var(--alt-color);
  color: #fff;
  transition: all 0.2s ease-in;
}

.base__6-boxes {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 850px;
  width: 100%;
}

.base__6-boxes > div {
  border: 1px solid var(--highlight-color);
  padding: 40px;
  max-width: calc(50% - 20px);
}

@media only screen and (max-width: 700px) {
  .base__6-boxes > div {
    max-width: 100%;
  }
}

.page-template-page-base-esc .testimonios-slider {
  margin-top: 60px;
  margin-bottom: 60px;
}

.base__8 h2,
.base__9 h2 {
  font-size: var(--font-xl);
  margin: 0 auto;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.3;
  color: var(--highlight-color);
  text-align: center;
}

.base__8-content::before,
.base__9-content::before {
  content: "";
  display: block;
  background: var(--alt-color);
  height: 1px;
  max-width: 1400px;
  width: 100vw;
  margin: 0 calc(50% - 700px);
}

.base__8-content,
.base__9-content {
  gap: 40px;
}

.base__8-content h2,
.base__9-content h2 {
  color: var(--alt-color);
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.base__8-content > div,
.base__9-content > div {
  color: var(--highlight-color);
  max-width: calc(50% - 40px);
  width: 100%;
  margin-top: 0;
}

.base__8-content > div:last-of-type p:first-of-type,
.base__9-content > div:last-of-type p:first-of-type {
  margin-top: 0;
}

@media only screen and (max-width: 1400px) {
  .base__8-content::before,
  .base__9-content::before {
    margin: 0 auto;
    width: 100%;
  }
}

@media only screen and (max-width: 700px) {
  .base__8-content > div,
  .base__9-content > div {
    max-width: 100%;
  }
}

.base__8-tarifa.alignwide,
.base__9-tarifa.alignwide {
  background: #fff;
  padding: 30px;
  text-align: center;
  margin-bottom: 40px;
}

.base__9-tarifa.alignwide + .base__10 {
  margin-top: 60px;
}

.base__8-tarifa > div,
.base__9-tarifa > div {
  color: var(--highlight-color);
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.base__8-tarifa,
.base__9-tarifa {
  font-size: var(--font-l);
  font-weight: 600;
}

.base__8-tarifa a,
.base__9-tarifa a {
  color: var(--alt-color);
  font-weight: 600;
}

.base__8-tarifa .btn-tarifa,
.base__9-tarifa .btn-tarifa {
  border: 2px solid var(--alt-color);
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 16px;
  display: inline-block;
  transition: all 0.2s ease-in;
}

.base__8-tarifa .btn-tarifa:hover,
.base__9-tarifa .btn-tarifa:hover {
  background: var(--alt-color);
  color: #fff;
  transition: all 0.2s ease-in;
}

.base__8-tarifa > div > p,
.base__9-tarifa > div > p {
  font-size: var(--font-s);
  font-weight: 400;
}

.base__8-tarifa h3,
.base__9-tarifa h3 {
  font-size: var(--font-l);
  font-weight: 600;
}

.page-template-page-base-spa .base__9-tarifa.alignwide {
  margin-bottom: 40px;
}

.base__11 {
  color: var(--highlight-color);
}

.base__11 > div > div {
  border-top: 0px solid var(--alt-color);
}

.base__11 > div > div:first-of-type::before,
.base__8-residencias > div::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--alt-color);
  width: 122%;
  margin-left: -22%;
}

.base__11 > div > div:last-of-type::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--alt-color);
  width: 122%;
}

.page-template-page-base-spa .base__11 > div > div:last-of-type::before {
  display: none;
}

.base__11 > div > * {
  max-width: calc(50% - 20px);
  gap: 20px;
  margin-bottom: 20px;
}

.base__11 h3 {
  font-weight: 600;
  font-size: var(--font-l);
  margin-top: 20px;
  width: 80%;
}

.base__11-video {
  display: flex;
  flex-flow: row wrap;
  margin: 20px auto;
  text-align: center;
  gap: 20px;
  justify-content: center;
}

.base__12 {
  background: #fff;
  padding-top: 60px;
  margin-bottom: 60px;
}

.base__8-residencias {
  margin-bottom: 60px;
}

.base__8-residencias > * {
  gap: 20px;
  max-width: calc(50% - 20px);
  color: var(--highlight-color);
  margin-bottom: 20px;
}

.base__8-residencias > div {
  border-top: 0px solid var(--alt-color);
}

.base__8-residencias h3 {
  font-weight: 600;
  font-size: var(--font-l);
  margin-top: 20px;
}

@media only screen and (max-width: 700px) {
  .base__8-residencias > *,
  .base__11 > div > * {
    max-width: 100%;
  }
}

/* Popup box */
.popup-examenes {
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: none;
  height: 100%;
  position: fixed;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 10000;
  max-width: 100%;
  overflow-x: hidden;
}

.popup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 100%;
  flex-flow: row wrap;
}

.popup-examenes .helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.popup-examenes > div > div {
  background-color: #fff;
  box-shadow: 10px 10px 60px #555;
  display: inline-block;
  height: auto;
  max-width: 800px;
  min-height: 100px;
  vertical-align: middle;
  width: 100%;
  position: relative;
  border-radius: 8px;
  padding: 42px 50px 20px;
  text-align: left;
  font-size: var(--font-s);
}

.popupCloseButton {
  background-color: #fff;
  border: 0;
  border-radius: 50px;
  cursor: pointer;
  display: inline-block;
  font-weight: 600;
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 25px;
  line-height: 30px;
  width: 30px;
  height: 30px;
  text-align: center;
}

.popupCloseButton:hover {
  background-color: var(--highlight-color);
  color: #fff;
}

.popup-examenes table {
  border-collapse: collapse;
}

.popup-examenes tr {
  border-bottom: 1px dashed #ddd;
}

@media only screen and (max-width: 800px) {
  .popup-examenes > div > div {
    max-width: 90vw;
    padding: 22px 20px 0px;
  }
}

.page-template-page-base-mini .base__9-tarifa.alignwide {
  margin-bottom: 60px;
}

.page-template-page-base-mini .base__6.wrapper {
  margin-bottom: 60px;
}

.fwpl-col .fwpl-item:first-of-type {
  font-style: italic;
  margin-bottom: 20px;
}

.fwpl-col .fwpl-item:last-of-type {
  font-weight: 600;
  border-bottom: 1px solid var(--highlight-color);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.facetwp-dropdown {
  background: transparent;
  padding: 6px 16px;
  border-radius: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  width: 100%;
  border: 2px solid var(--alt-color);
  font-size: var(--font-s);
  color: var(--alt-color);
}

.facetwp-load-more {
  border: 2px solid var(--alt-color);
  border-radius: 0;
  background: transparent;
  text-transform: uppercase;
  color: var(--alt-color);
  font-size: var(--font-s);
  font-weight: 600;
  font-family: "Montserrat";
  padding: 6px 16px;
  transition: all 0.2s ease-in;
  margin-top: 50px;
}

.facetwp-load-more:hover {
  border: 2px solid var(--alt-color);
  background: var(--alt-color);
  color: #fff;
  transition: all 0.2s ease-in;
}

.banner-boarding {
  font-size: var(--font-l);
  text-align: center;
  max-width: 880px;
  margin: 20px auto 60px;
  width: 100%;
}

.base__boarding {
  margin-top: 40px;
  margin-bottom: 20px;
}

.base__boarding ul.galeria {
  list-style: none;
  margin: 0;
  padding: 0;
}

.base__boarding ul.galeria li img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.base__boarding > div > div {
  margin-bottom: 60px;
  width: 100%;
}

.base__boarding ul:not(.galeria) {
  margin: 0;
  padding-left: 1em;
  list-style: none;
}

.base__boarding ul:not(.galeria) li::before {
  content: "●";
  color: var(--alt-color);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.base__boarding ul:not(.galeria) li {
  margin-bottom: 18px;
}

.base__boarding {
  color: var(--highlight-color);
}

.base__boarding > div > div {
  border-top: 0px solid var(--alt-color);
}

.base__boarding > div > div:first-of-type::before,
.base__boarding > div > div:nth-of-type(5)::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--alt-color);
  width: 122%;
  margin-left: -22%;
}

.base__boarding > div > div:last-of-type::before,
.base__boarding > div > div:nth-of-type(4)::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--alt-color);
  width: 122%;
}

.base__boarding > div > * {
  max-width: calc(50% - 20px);
  gap: 20px;
  margin-bottom: 20px;
}

.base__boarding h3 {
  font-weight: 600;
  font-size: var(--font-l);
  margin-top: 20px;
  width: 80%;
}

@media only screen and (max-width: 700px) {
  .base__boarding > div > * {
    max-width: 100%;
  }
}

.timeline {
  border-left: 4px solid var(--highlight-color);
  padding-left: 10px;
}

.timeline > p::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 3px;
  background-color: var(--highlight-color);
  margin-right: 0px;
  margin-left: -10px;
}

.timeline > p > strong {
  color: #fff;
  background: var(--highlight-color);
  display: inline-block;
  padding: 0 4px;
}

#moove_gdpr_cookie_info_bar
  .moove-gdpr-info-bar-content
  .mgbutton.moove-gdpr-infobar-reject-btn.gdpr-fbo-1 {
  background: transparent;
  font-size: var(--font-xs);
}

.error-404.wrapper {
  color: var(--highlight-color);
  text-align: center;
  min-height: 70vh;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
}

.error-404.wrapper p {
  max-width: 60ch;
  margin: 20px auto;
}

.p-testimonios {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  margin-bottom: 40px;
  gap: 4px;
}

.p-testimonios img {
  width: 240px;
  height: 240px;
  object-fit: cover;
}

.facetwp-checkbox.checked {
  color: var(--alt-color);
  font-weight: 600;
}

.yarpp.yarpp-related h3 {
  margin-top: 60px;
  margin-bottom: 20px;
  font-size: var(--font-l);
}

.yarpp .yarpp-thumbnails-horizontal {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: 15px;
}

.yarpp .yarpp-thumbnails-horizontal .yarpp-thumbnail {
  border: 0;
  margin: 0;
  width: calc(33% - 10px);
}

.yarpp .yarpp-thumbnail > img {
  height: 200px;
  object-fit: cover;
  margin: 0;
  width: 100%;
}

.yarpp .yarpp-thumbnails-horizontal .yarpp-thumbnail-title {
  max-width: 100%;
  font-weight: 500;
  font-size: var(--font-s);
  margin: 10px 0;
}

.spa-vid {
  text-align: center;
  margin-bottom: 80px;
}

.page-template-page-base-spa .spa-vid {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.page-template-page-base-spa .spa-vid iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
}

.page-template-page-base-mini .spa-vid iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
}

.page-template-page-base-esc .base__6-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
}

.page-template-page-base-nivel .nivel-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
}

@media only screen and (max-width: 600px) {
  .base__11-video iframe,
  .base__6 iframe,
  .spa-vid iframe {
    height: 200px;
  }

  .yarpp .yarpp-thumbnails-horizontal .yarpp-thumbnail {
    width: 100%;
    height: auto;
  }

  .page-template-page-base-campamentos .site-left > p > img {
    margin: 0 auto;
    display: block;
  }

  .page-template-page-base-colegio .base__11 > div > div,
  .page-template-page-base-spa .base__11 > div > div,
  .base__boarding > div > div {
    margin-bottom: 0;
  }

  .page-template-page-base-colegio .base__11 ul.galeria li img,
  .page-template-page-base-spa .base__11 ul.galeria li img,
  .base__boarding ul.galeria li img {
    margin-bottom: 20px;
  }

  .pilares h2 {
    padding: 0 10px;
  }

  .testimonios-slider .slick-initialized .slick-track {
    align-items: flex-start;
  }

  a.ver-mas-t {
    margin-top: -10px;
  }
}

/* Estilos banner cookies */
#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom {
  height: 100vh;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  min-width: 100vw;
  max-height: 100%;
  background-color: rgba(0, 0, 0, 0.7) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom
  .moove-gdpr-info-bar-container
  .moove-gdpr-cookie-notice {
  max-height: 80vh;
  overflow: auto;
  padding-bottom: 20px;
}

#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom
  .moove-gdpr-info-bar-container {
  background-color: #fff;
  max-width: 650px;
}

#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom
  .moove-gdpr-info-bar-container
  .moove-gdpr-info-bar-content {
  display: block;
  padding: 0;
}

#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom
  .moove-gdpr-info-bar-container
  .moove-gdpr-info-bar-content
  .moove-gdpr-button-holder
  .button.mgbutton:hover {
  background-color: #000 !important;
  color: #fff !important;
}

#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom.moove-gdpr-dark-scheme
  .moove-gdpr-info-bar-container
  .moove-gdpr-info-bar-content
  .moove-gdpr-button-holder
  button.mgbutton:hover,
#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom.moove-gdpr-dark-scheme
  .moove-gdpr-info-bar-container
  .moove-gdpr-info-bar-content
  .moove-gdpr-button-holder
  button.focus-g,
#moove_gdpr_cookie_info_bar button.mgbutton.moove-gdpr-infobar-settings-btn {
  background-color: #000 !important;
  color: #fff !important;
}

#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom.moove-gdpr-dark-scheme
  .moove-gdpr-info-bar-container
  .moove-gdpr-info-bar-content
  .moove-gdpr-cookie-notice
  p {
  color: #000;
}

#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom
  .gdpr-shr-open-settings:hover {
  border-color: currentColor;
}

#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom
  .moove-gdpr-button-holder {
  padding-left: 0px !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container {
  padding: 40px;
}

#moove_gdpr_cookie_info_bar button.mgbutton.moove-gdpr-infobar-settings-btn {
  background-color: #1e3f77 !important;
  opacity: 1 !important;
}

@media (max-width: 767px) {
  #moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom
    .moove-gdpr-info-bar-container {
    padding: 16px;
    max-width: 90vw;
  }

  #moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom
    .moove-gdpr-info-bar-container
    .moove-gdpr-cookie-notice {
    padding-bottom: 10px;
  }

  #moove_gdpr_cookie_info_bar
    .moove-gdpr-info-bar-container
    .moove-gdpr-info-bar-content
    button.mgbutton {
    padding: 5px 15px !important;
    font-size: 12px !important;
  }
}

/* Estilos generales */
.btn {
  padding: 5px 10px;
  text-decoration: none !important;
  font-weight: 600;
}
.btn-outline-red {
  border: 2px solid;
}
.btn-outline-red:hover {
  background-color: var(--alt-color);
  color: white;
}
.d-flex {
  display: flex;
  flex-wrap: wrap;
}
.gap-10 {
  gap: 10px;
}

/* --- NAV MOBILE ESTILOS --- */

/* 1. RESET ESTRUCTURAL (Solo lados) */
/* Quitamos padding/margin laterales del UL principal y los submenús para evitar scroll horizontal */
ul#mobile-menu,
#mobile-menu ul.sub-menu {
  padding-left: 0 !important;
  padding-right: 20px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;

  list-style: none; /* Sin puntos */
  width: 100%; /* Ancho completo */
  box-sizing: border-box; /* El padding no suma ancho */
}

/* Quitamos padding/margin laterales de los LI */
#mobile-menu li,
#mobile-menu .sub-menu li {
  padding-left: 0 !important;
  padding-right: 10px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;

  width: 100%;
  box-sizing: border-box;
}

.nav #mobile-menu .sub-menu li {
  font-size: small;
}

/* 2. COMPORTAMIENTO DEL SUBMENÚ */
/* Oculto por defecto (jQuery lo mostrará con slideToggle) */
#mobile-menu .sub-menu {
  display: none;
  background-color: transparent; /* O el color que desees */
}

/* 3. INDENTACIÓN (Sangría visual) */
/* Se aplica al ENLACE (<a>), no al contenedor, para no romper el ancho */
#mobile-menu .sub-menu li a {
  padding-left: 25px !important; /* Aquí controlas cuánto se mete a la derecha */
  box-sizing: border-box;
  display: block;
  width: 100%;
}

/* 4. FLECHAS Y ESTILO DEL PADRE */
/* Estilo base del padre clicable */
#mobile-menu .menu-item-has-children > a {
  position: relative;
  display: block;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

/* La flechita '▼' */
#mobile-menu .menu-item-has-children > a::after {
  content: " ▼";
  font-size: 0.7em;
  float: right;
  margin: 3px 0 0 5px; /* Ajusta la posición de la flecha aquí */
  transition: transform 0.3s ease;
}

/* Rotación de la flecha cuando el menú está abierto (clase puesta por JS) */
#mobile-menu .menu-item-has-children.menu-open > a::after {
  transform: rotate(180deg);
}

@media only screen and (max-width: 800px) {
  .site-main,
  .site-main .entry-content,
  .site-main .page-content,
  .site-main .entry-summary {
    text-align: left !important;
  }
}
