    /* CSS Document Creado por David Sol 2025 */

@font-face {
  font-family: 'Roboto';
  src: url('/themes/fonts/Roboto-Thin.woff2') format('woff2'),
       url('/themes/fonts/Roboto-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* Roboto Thin Italic */
@font-face {
  font-family: 'Roboto';
  src: url('/themes/fonts/Roboto-ThinItalic.woff2') format('woff2'),
       url('/themes/fonts/Roboto-ThinItalic.woff') format('woff');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/themes/fonts/Roboto-Light.woff2') format('woff2'),
       url('/themes/fonts/Roboto-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Roboto Light Italic */
@font-face {
  font-family: 'Roboto';
  src: url('/themes/fonts/Roboto-Light-Italic.woff2') format('woff2'),
       url('/themes/fonts/Roboto-Light-Italic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Roboto Black */
@font-face {
  font-family: 'Roboto';
  src: url('/themes/fonts/Roboto-Black.woff2') format('woff2'),
       url('/themes/fonts/Roboto-Black.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Roboto Black Italic */
@font-face {
  font-family: 'Roboto';
  src: url('/themes/fonts/Roboto-Black-Italic.woff2') format('woff2'),
       url('/themes/fonts/Roboto-Black-Italic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* === Colores principales del Instituto Nebrija de Artes y Humanidades === */
:root {
  /* Color primario: un granate-/borgoÃ±a oscuro */
  --in-primary: #7b1f38;        /* ejemplo aproximado */
  /* Color primario: un granate-/borgoÃ±a oscuro */
  --in-primary-rgb: 160,0,44;        /* ejemplo aproximado */
  /* Color secundario: un dorado o amarillo apagado */
  --in-secondary: #d9a441;      /* ejemplo aproximado */
  /* Color de acento / enlace hover / foco */
  --in-accent: #4a1c29;         /* variante mÃ¡s oscura del primario */
  /* Color de fondo suave */
  --in-bg-light: #f7f5f3;
  /* Color de texto principal */
  --in-text: #333333;
  /* Color de fondo oscuro para contrastes */
  --in-bg-dark: #212121;

  --bs-info-bg-subtle:#d98a9d;

  --bs-info-border-subtle:white;
}

/* === Sobrescribir variables de Bootstrap (v5) === */
:root {
  --bs-primary: var(--in-primary);
  --bs-primary-rgb: var(--in-primary-rgb);
  --bs-secondary: var(--in-secondary);
  --bs-link-hover-color: var(--in-accent);
  --bs-body-color: var(--in-text);
  --bs-body-bg: var(--in-bg-light);
  --bs-bg-dark: var(--in-bg-dark);
  /* Puedes aÃ±adir mÃ¡s variables de Bootstrap que quieras sobrescribir */
}


/* Tema claro adaptado al estilo de https://www.artesnebrija.com/indexNEW.php */
:root,
[data-bs-theme="light"] {
  /* PALETA PRINCIPAL (brand + grises cÃ¡lidos) */
  --bs-white: #ffffff;
  --bs-black: #0b0b0b;              /* texto muy oscuro */
  --bs-primary: #BA0C2F;            /* rojo Nebrija (acento) */
  --bs-secondary: #1f1f1f;          /* casi negro, UI y headings */
  --bs-success: #1b7c54;            /* verde sobrio (si se usa) */
  --bs-info: #2f6f8a;               /* azul grisÃ¡ceo discreto */
  --bs-warning: #b0892f;            /* dorado sobrio, no chillÃ³n */
  --bs-danger: #BA0C2F;             /* alineado con marca */
  --bs-light: #faf8f6;              /* blanco cÃ¡lido para bloques */
  --bs-dark: #1f1f1f;

  /* ESCALA DE GRISES (cÃ¡lida, no azulada) */
  --bs-gray-100: #faf8f6;
  --bs-gray-200: #f2eeea;
  --bs-gray-300: #e7e1db;
  --bs-gray-400: #d6cdc5;
  --bs-gray-500: #bfb5ac;
  --bs-gray-600: #8e8882;
  --bs-gray-700: #5e5955;
  --bs-gray-800: #36322f;
  --bs-gray-900: #1f1d1b;

  /* COMPAT (valores clÃ¡sicos Bootstrap que algunas utilidades consultan) */
  --bs-gray: var(--bs-gray-600);
  --bs-gray-dark: var(--bs-gray-800);

  /* COLORES â€œNOMBRADOSâ€ (si alguna utilidad los usa explÃ­citamente) */
  --bs-blue: #2f6f8a;
  --bs-indigo: #4b3e72;
  --bs-purple: #6a4b7d;
  --bs-pink: #a24e6f;
  --bs-red: #BA0C2F;
  --bs-orange: #c06a2f;
  --bs-yellow: #b0892f;
  --bs-green: #1b7c54;
  --bs-teal: #317a77;
  --bs-cyan: #3b7f8f;

  /* RGB derivados (para sombras, focus, etc.) */
  --bs-white-rgb: 255,255,255;
  --bs-black-rgb: 11,11,11;
  --bs-primary-rgb: 186,12,47;
  --bs-secondary-rgb: 31,31,31;
  --bs-success-rgb: 27,124,84;
  --bs-info-rgb: 47,111,138;
  --bs-warning-rgb: 176,137,47;
  --bs-danger-rgb: 186,12,47;
  --bs-light-rgb: 250,248,246;
  --bs-dark-rgb: 31,31,31;

  /* TEXTO Y FONDOS GENERALES */
  --bs-body-bg: #ffffff;                   /* fondo blanco, como en Artes */
  --bs-body-bg-rgb: 255,255,255;
  --bs-body-color: var(--bs-black);
  --bs-body-color-rgb: var(--bs-black-rgb);

  /* ENLACES (negro â†’ rojo al hover, look Artes) */
  --bs-link-color: var(--bs-black);
  --bs-link-color-rgb: var(--bs-black-rgb);
  --bs-link-hover-color: var(--bs-primary);
  --bs-link-hover-color-rgb: var(--bs-primary-rgb);
  --bs-link-decoration: underline;

  /* Ã‰NFASIS DE TEXTO */
  --bs-primary-text-emphasis: #5a0a19;     /* primario muy oscuro */
  --bs-secondary-text-emphasis: #2a2a2a;
  --bs-success-text-emphasis: #0e3c2a;
  --bs-info-text-emphasis: #1f4453;
  --bs-warning-text-emphasis: #594510;
  --bs-danger-text-emphasis: #5a0a19;
  --bs-light-text-emphasis: var(--bs-gray-700);
  --bs-dark-text-emphasis: var(--bs-gray-700);

  /* BG SUTILES (para alerts/ badges suaves) */
  --bs-primary-bg-subtle: #f5d7de;         /* rojo muy diluido */
  --bs-secondary-bg-subtle: #efefef;
  --bs-success-bg-subtle: #f1f1f1;
  --bs-info-bg-subtle: #fff3f6;
  --bs-warning-bg-subtle: #efe6cf;
  --bs-danger-bg-subtle: #f5d7de;
  --bs-light-bg-subtle: #fdfcfb;
  --bs-dark-bg-subtle: #d5d0cc;

  /* BORDES SUTILES */
  --bs-primary-border-subtle: #e9afbd;
  --bs-secondary-border-subtle: #d7d7d7;
  --bs-success-border-subtle: #efefef;
  --bs-info-border-subtle: #8f8f8f;
  --bs-warning-border-subtle: #e2cf95;
  --bs-danger-border-subtle: #e9afbd;
  --bs-light-border-subtle: #eee9e4;
  --bs-dark-border-subtle: #b9b2ad;

  /* TIPOGRAFÃA Y DECORACIÃ“N */
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-heading-color: var(--bs-secondary);

  /* BORDES / RADIOS / SOMBRAS */
  --bs-border-width: 3px;
  --bs-border-style: solid;
  --bs-border-color: #e6e0da;              /* borde cÃ¡lido, no azulado */
  --bs-border-color-translucent: rgba(0,0,0,.12);
  --bs-border-radius: 1.375rem;
  --bs-border-radius-sm: .5rem;
  --bs-border-radius-lg: 1.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-xxl: 2.5rem;
  --bs-border-radius-2xl: var(--bs-border-radius-xxl);
  --bs-border-radius-pill: 50rem;
  --bs-box-shadow-sm: 0 .125rem .25rem rgba(0,0,0,.06);
  --bs-box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0,0,0,.12);
  --bs-box-shadow-inset: inset 0 1px 2px rgba(0,0,0,.05);

  /* FOCUS (usa primario con baja opacidad) */
  --bs-focus-ring-width: .25rem;
  --bs-focus-ring-opacity: .25;
  --bs-focus-ring-color: rgba(186,12,47,.25);

  /* FORM STATES */
  --bs-form-valid-color: #b4cbc1;
  --bs-form-valid-border-color: var(--bs-success);
  --bs-form-invalid-color: var(--bs-danger);
  --bs-form-invalid-border-color: var(--bs-danger);
}

/* Extras para asegurar coherencia visual con el site */
a { color: var(--bs-link-color); }

.btn-outline-primary {
    --bs-btn-color: var(--in-primary);
    --bs-btn-border-color: var(--in-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--in-primary);
    --bs-btn-hover-border-color: var(--in-primary);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--in-primary);
    --bs-btn-active-border-color: var(--in-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--in-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--in-primary);
    display: flex;
    align-items: center;
    border-top-left-radius: 0;
    padding: 1rem 2rem;
}  

.btn-primary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: #920A25;         /* primario oscurecido */
  --bs-btn-hover-border-color: #920A25;
  --bs-btn-active-bg: #7a081e;
  --bs-btn-active-border-color: #7a081e;
}

.nav-link, .navbar .nav-link { color: var(--bs-black); }
.nav-link:hover, .navbar .nav-link:focus { color: var(--bs-primary); }

.bg-light { background-color: var(--bs-light) !important; }
.text-muted { color: var(--bs-gray-700) !important; }
.border { border-color: var(--bs-border-color) !important; }



strong{font-weight: 700}

.gris .card hr, hr{
  border-top: 5px solid rgba(0,0,0,.2);
    border-radius: 3px;
}
.gris hr{border-color:#fff}
{border-color:#fff}
hr.roja{border-top-color:#c2002f} 
}


/* Para Safari */
::selection {
background: #ccc;
text-shadow: 0px 0px 4px #999;
color:#fff;

}

/* Para Firefox */
::-moz-selection {
background: #ccc;
text-shadow: 0px 0px 4px #999;
color:#fff;
}

html,body, a,.wrapper{opacity: 1}

html, body{
  opacity:      1;
  filter:       alpha(opacity=100);
  font:         300 16px 'Roboto', Arial, Helvetica, sans-serif;
  min-width: 360px;
}

body a{color: #c2002f;text-align: center;}

body a:hover {
    color: #c2002f;
    text-decoration: underline;
}

.font85{font-size: 85%!important}
.font90{font-size: 90%!important}
.font95{font-size: 95%!important}
.font150{font-size: 150%!important; font-weight:100!important;}
.font200{font-size: 200%!important; font-weight:100!important;}
.font250{font-size: 250%!important; font-weight:100!important;}

.mb-n6{margin-bottom: -4rem!important}

.btn{line-height:1.1}
.btn-primary {
    background-color: #c2002f;
    border-color: #c2002f;
    border-radius: 20px 0 20px 0;
    border-width: 0;
    border-bottom: 8px solid #333;
    font-size: 1.3em;
    letter-spacing: 1px;
    line-height: 1.1;
    padding: 2.5vh 4vw;
    transition:0.5s ease all;
    font-weight: bold;
}

.gris .btn-primary {
  background: #333;
  border-color: #ff729a;
}
    .anchor-offset { scroll-margin-top: 6rem; }

.masgris .card-desc .card .btn-primary strong,
.gris .btn-primary strong{color: #f76f90}

.btn-primary:hover {
    color: #fff;
    background-color: #000000ab;
    border-radius: 40px;
    border-color: #c2002fb8;
    text-decoration: none;
}

.btn-primary.focus, .btn-primary:focus {
    color: #fff;
    background-color: #0000004d;
    border-color: #00000040;
    /* box-shadow: 0 0 0 0.2rem rgba(0,0,0,.2); */
}

.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: none;
}
.btn.btn-plus{
background: #c2002fdd;
    width: 60%;
    margin-left: -52px;
    text-align: left;
    color: #fff;
    font-size: 40px;
    margin-top: -30%;
    line-height: 1.3;
}

.btn-accordion.collapsed:before{content: "\f078";}
.btn-accordion.collapsed:hover:before{content: "\f103";}
.btn-accordion:before{
  content: "\f077";
  font-family: "Font Awesome 5 Free";
  -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    margin: 0px 17px;
    color: #222;
}
.btn-accordion:hover:before{color:#c2002f;content: "\f102";}

.encabezado .btn.focus, .encabezado .btn:focus {
    outline: 0;
    box-shadow: none;
    background:transparent;
    color:#333;
    
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #ccc;
    border-color: #ccc;
}

/* ENCABEZADO */
.masinfo{position: fixed;
    z-index: 9;
    right: -67px;
    top: 156px;
    transform: rotate(-90deg);
    background: #fff;
    padding: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    width: 177px;
        border-radius: 30px 30px 0 0;
        box-shadow: -3px -3px 0 rgb(0 0 0 / 10%), 3px -3px 0 rgb(0 0 0 / 10%);
}
.masinfo i {
      font-size: 137%;
    color: #333;
}
.encabezado{
  /* background: #fff; */
  position: fixed;
  z-index: 16;
  top: 0px;
  height: 127px;
  transition:0.5s ease all;
  /* box-shadow: 0 5px 0 #c2002f; */
}
.encabezado.scrolled {
        height: 63px;
        /* box-shadow: 0 9px 0 #c2002f17; */
        background: #c2002fcf;
        background: linear-gradient(45deg, #c2002f, #000000b8);
}
.encabezado.LP{height: 60px;}
.encabezado.scrolled.LP{
  height: 50px;
}

.encabezado.scrolled.LP .nav-link{
  font-size: 80%;
}

.encabezado.scrolled .prenav{display:none!important;}
.encabezado .ppal{margin-top: 16px}
.encabezado.scrolled .ppal{margin-top: -36px}

.encabezado .container-xl,
.encabezado .row{
  height: 100%
}

.encabezado .logo{
    background: white;
    margin: -2vh 1vw;
    margin-top: 0;
    height: 100%;
    /* padding-top: 2vh; */
    margin-top: -1.5vh;
    padding-right: 1.4vw !important;
    padding-left: 1.4vw !important;
    border-radius: 0 23px 22px;
    max-width: 285px;
}

.encabezado .logo.big{max-width: 340px;}

.encabezado .logo a{display: block;}

.encabezado .logo img{
  max-width: 240px;
  max-height: 100px;
  padding-left: 1vw;
}
.encabezado .logo.big img{
  max-width: none;
  max-height: none;
  min-width: 320px;
  padding-left: 0;
}
.encabezado.scrolled .logo{
  /* margin-top: -2.2vh; */
  max-width: 230px;
  border-radius: 0 9px 20px 20px;
}
.encabezado.scrolled .logo.big{
  max-width: 326px;
}

.encabezado.scrolled .logo img {
    /* min-width: 145px; */
    /* padding: 8px 6px; */
    /* margin-top: -193px; */
}

.encabezado .idiomas a.active{
  opacity: 0.4;
}

.encabezado button{
  color: #555;
  background: transparent;
}

.encabezado .LPnav,
.encabezado .prenav{
  /* border-bottom: 2px solid #eee; */
  font-size: 85%;
  letter-spacing: 0.5px;
}

.encabezado .LPnav{border-color: #c2002f7d}

.encabezado .prenav.navbar-light .navbar-nav .nav-link{
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
  color: #d98a9d;
}
.encabezado .prenav.navbar-light .navbar-nav .nav-link.disabled{color: #bf245bed;font-weight: 400}
.encabezado .prenav.navbar-light .navbar-nav .nav-link i{color: #d98a9d;}
.encabezado .navbar-expand-lg{background: transparent!important;display: flex;padding-top: 0.1rem !important;}
.encabezado .navbar-light .navbar-nav .nav-link{color: #fff;}
.encabezado .navbar-light .navbar-nav .nav-link.show{line-height:1.1;font-family: 'Roboto', sans-serif;/* font-weight: bold; */padding: 3vh 2vw;width: 100%;box-shadow: 0 1px 0 0 #e2e2e2;}
.encabezado .navbar-light .show .navbar-nav .nav-link{color:#222;}
.encabezado .navbar-light .navbar-nav .nav-link.dropdown-toggle{padding-right: 2rem;/* padding-top: 0; */}
.encabezado .navbar-light .navbar-nav .nav-link.active{color: #000;font-weight: 700}
.encabezado .navbar-light .navbar-nav .nav-link strong{display: block;}

.navbar-nav{align-items: center;}
.navbar{flex-direction: column;}

ul.navbar-nav{width: 100%}

ul.navbar-nav li{flex-grow: 1;position:relative;display: flex;flex-direction: column;justify-content: center;align-items: center;}

ul.navbar-nav li.active{border-bottom:4px solid #c2002faa}

ul.navbar-nav>li:last-child>a::before,
.footer .nav a:last-child::before{display: none;}

.encabezado .LPnav.navbar-light .navbar-nav .nav-link i{
  color: #999;
}

.contacto{
  position: absolute;
  transform: rotate(90deg);
  right: -49px;
  top: 40px;
  transition: right .5s ease;
}
.LP .contacto{right:-90px}
.contacto:hover{right: -43px;translate-x: 10px;}

.contacto.aLP{
  display: none;
  right: 0;
}

.contacto a{
  border-bottom-right-radius: 20px;
  padding: 10px;
  display: block;
  background: #c2002f;
  color: #fff;
  /* font-family: 'Roboto'; */
  /* font-weight: 700; */
  font-size: 13.9px;
  display: flex;
  letter-spacing: 1px;
  width: 134px;
  height: 42px;
  justify-content: space-around;
  align-items: center;
  text-decoration: none;
}

.contacto.aLP a{
  height: 23px;
  background: transparent;
}
.contacto.aLP a:hover{background:transparent}

.contacto a i{
  color: #333;
  background: #fff;
  font-size: 1.4em;
  transform: rotate(-90deg);
  padding: 2px;
  border-radius: 50%;
  box-sizing: border-box;
  height: 23px;
    width: 23px;
}

.contacto.aLP a i{
    padding: 3px 1px 2px 2px;
    border-radius: 50%;
    box-sizing: border-box;
    margin: 0px 4px 0px 0px;
}



.contacto.aLP a:after{
  top:53px;
  width: 36px;
  border-width: 0 0 17px 87px;
  display: none;
}

.contacto a:hover{
      background: linear-gradient(4deg, rgba(160,0,44,1) 0%, rgba(255,255,255,1) 71%);
      background: #333;
      text-decoration: none;
      color: #fff;
}
.contacto a:hover i{color:#c2002f;}
.contacto a:hover:after{
border-color: transparent transparent  transparent #333;
}
.scrolled .contacto{
  margin-top: -30px;
  /* margin-right: 23px; */
  transform: none;
  top: 54px;
  margin-top: 0;
  right: 0;
}
.scrolled .contacto.aLP{
  display: block;
  top: 0;
    display: flex;
    flex-direction: row-reverse;

}
.scrolled .contacto a{font-size: 0;width: 62px;border-radius: 0;height: 63px;border-bottom-left-radius: 20px;}
.scrolled .contacto a i{font-size: 39px;width: 43px;height: 43px;margin-right: 0;transform: none;}
.scrolled .contacto a:after{
  width: 20px;
  height: 100%;
  border-right-width: 85px;
  border-bottom-width: 14px;
  height: 33px;
  border-color: transparent  #c2002f transparent  transparent;
}

.dropdown-toggle::after {
    border: 2px solid #000;
    border-left: 0;
    border-top: 0;
    bottom: 14px;
    width: 10px;
    position: absolute;
    margin-left: 8px;
    border-radius: 2px;
    height: 10px;
    transform: rotate(45deg);
}

.dropdown-item{white-space: inherit;border-bottom: 1px solid #eee;padding: 13px;}

.dropdown-item.active, .dropdown-item:active{
  background: rgb(255 232 238);
  color: #00000099;
}
.diferenciales img{
      padding: 3rem 4rem!important;
      max-width: 290px!important;
      /* min-width: 200px; */
}

.diferenciales .desplegable{
  border: 1px solid #ddd;
  border-radius: 20px;
  border-top-color: transparent;
}

.cursosHome *{transition:0.5s ease all;}
.cursosHome .btn-primary.dropdown-toggle:after{
  transform: rotate(224deg);
}
.cursosHome .btn-primary.dropdown-toggle.collapsed:after{
  transform: rotate(45deg);
}
.dropdown.show .dropdown-toggle:after,
.encabezado button.dropdown-toggle:after
{transform: rotate(-135deg);/* border-color: #fff; *//* margin-bottom: 6px; */}
.dropdown .dropdown-toggle:after,
.encabezado button.dropdown-toggle.collapsed:after
{transform: rotate(45deg);}



.encabezado .email .btn{border: 7px solid #c2002f;/* box-shadow: 10px 10px 0 white, 10px -10px 0 white, -10px 10px 0 white, -10px -10px 0 white, 0px 10px 0 white, 0px -10px 0 white; *//* box-shadow: 3px 1px 0 0 #fff,3px 3px 0 #fff,  3px -3px 0 #fff, -3px 0 0 #fff, -3px -3px 0 #fff, 0 -3px 0 0 #fff, -3px -3px 0 0 #fff, 0 3px 0 0 #fff, 3px 3px 0 0 #fff , -3px 3px 0 0 #fff; */box-shadow: 3px 0  0 #fff, -3px 0  0 #fff;background: rgba(0,0,0,0.6);color: #fff;border-radius: 18px;/* padding: 27px 10px 12px 10px!important; */margin-top: 2px;}
.encabezado .email .btn:hover{background:transparent;color:#111}


.encabezado .navbar-collapse .dropdown-menu{
  border: 0;
  width: 100%;
  text-align: center;
  border-radius: 3px 3px 0 0;
  margin-top: 0;
  border-top: 0;
  text-align: center;
  box-shadow: 5px 5px #333, -5px 5px #333;

}

.encabezado .nav.navbar-nav li{
    padding: 0;
}
.encabezado .nav.navbar-nav li.dropdown-divider:first-child{display: none}
.encabezado .nav.navbar-nav li.dropdown-divider{
      padding: 0;
    border: 0;
    height: 0;
    margin: 0;
    border-bottom: 7px solid #fff;
}

.encabezado .nav.navbar-nav li img{display: none;}

.encabezado .nav.navbar-nav li a{
  color: #333;
  display: block;
  padding: 10px 15px;
  border-top: 1px solid #ddd;
}
.encabezado .nav.navbar-nav li a:hover{
  text-decoration: none;
  background: #ddd;
}

  /*scroll del menu*/

  .encabezado .navbar-collapse .dropdown-menu::-webkit-scrollbar {
      width: 12px;
  }
  /* Track */
  .encabezado .navbar-collapse .dropdown-menu::-webkit-scrollbar-track {
    border-radius: 0px;
    background: #ffffff;
    box-shadow:none;
  }
  /* Handle */
  .encabezado .navbar-collapse .dropdown-menu::-webkit-scrollbar-thumb {
    background: #dddddd; 
    border-radius: 8px;
  }
  /* Handle on hover */
  .encabezado .navbar-collapse .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #000; 
  }

/*scrollbar*/

/* width */
::-webkit-scrollbar {
  width: 18px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(0,0,0,0.2); 
  border-radius: 8px;
  background: #ddd
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #999; 
  border-radius: 8px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #c2002f; 
}

/*firefox*/
html{
  scrollbar-color: #999 #ddd;
  scrollbar-width: thin;
}


.banners {/* background-size: cover; *//* background-attachment: fixed; *//* background-position: -26px center; *//* box-shadow: inset 0 -131px 150px #fff; *//* margin-top: 70px; *//* padding-bottom: 30px; */height: auto;}

.LP+.banners{/* margin-top: 60px; */}
.LP.mini+.banners{/* margin-top: 35px; */margin-top: 0;padding-top: 0!important;}
.LP.BIG+.banners{margin-top: 0;position: relative;}
.banners #formulario{
  margin-top:50px;
  background: linear-gradient(360deg, #ffffff 55%, #ffffffaa 75%, transparent 100%);
  right: 0;
  padding-bottom: 5vh;
  padding-top: 5vh;
  border-bottom-left-radius: 117px;
}
#formulario:after{display: none;}
.banners .container-xl{ height: 100%; }
.banners>.container-xl.pt-md-5{padding-top:0!important; }

.banners, .banners .row, .banners .col{overflow: hidden;position: relative;height: 100%;padding-top: 0!important;}
.banners img{
    z-index: 0;
    margin-bottom: 0;
    overflow: hidden;
    min-height: 75vh!important;
    /* width: auto!important; */
    min-width: 100%;
    inline-size: -moz-available;
    inline-size: -webkit-fill-available;
    inline-size: fill-available;
    object-fit: cover;
    object-position: center;
    }
.banners .textoBanners{
  /* position: absolute; */
  /* bottom: 92px; */
  /* left: 70px; */
  /* z-index: 99; */
  /* text-align: left; */
  /* color:#fff; */
  /* margin-top: 180px!important; */
/* margin-left: 100px; */}
.banners:before{
  top: 0;
  display:block;
  width:100%;
  height:40vh;
  content:'';
  position: absolute;
  background: linear-gradient(179deg, #20040c80 2%, transparent 70%);
  z-index: 1;
}

.banners .carousel-indicators{justify-content: flex-start;}
.banners .carousel-indicators li,
.banners .carousel-indicators button{
    background-color: #000;
    border-radius: 34px;
    padding: 0;
    height: 20px;
    width: 20px;
    margin: 7px;
}

.banners .textoBanners .title strong.BIG{
  font-size: 200%;
  margin-bottom: 60px;
}

.banners .textoBanners .title strong.BIG.MEDIUM{
    font-size: 120%;
    margin-bottom: 1vw;
    line-height: 1;
}

.banners .textoBanners .mini{
      font-size: 2.2vw;
    padding: 3px 21px;
    display: block;
    clear: both;
    box-shadow: inset 0 81px 0 rgb(0 0 0 / 90%);
    border-radius: 3px;
    text-align: center;
}
.banners .textoBanners strong{display: block;clear: both;color: #fff;font-family: 'Roboto', sans-serif;font-weight: normal;font-size: 150%;}

.banners .textoBanners strong span{font-size: 48%;}

.banners .textoBanners button{
  background: #c2002f;
  color: #fff;
  cursor: text!important;
  padding: 8px 25px;
  float: right;
  clear: both;
}

/*.banners .carousel-item{
  max-height: 600px;
}*/


button.btn.btn-primary {
       margin: 1vw 1.5vw;
    width: auto;
    padding: 1vw 3vw;
    font-weight: bold;
    background: #c2002fbb;
    
    font-size: 2vw;
    display: inline-block;
float: right;}

button.btn.btn-primary.btn-plus {}

.banners .textoBanners button:hover{
  background: #fff;
  color: #111;
}

.banners .title{
    color: #fff;
    font-size: 4.5rem;
    font-weight: 700;
  border-radius: 5px;
}
.banners .title,
.banners button{
  /* position: relative; */
  z-index: 2;
  background: #c2002f;
  background: #c2002faa;
}
.banners button{
  color: #333;
  border-radius:3px;
}

.textoBanners::after{
      /* content: ''; */
      display: block;
      background: #c2002f;
      background: #a90029d9;
      border-radius: 50%;
      width: 1200px;
      height: 900px;
      position: absolute;
      z-index: 1;
      top: -80px;
      left: -350px;
}

.textoBanners.big::after{    width: 1431px;}

.banners .autorizado{
    position: absolute;
    z-index: 3;
    bottom: 0;
    width: 20%;
    background: #ffffff;
    background: #ffffffcc;
    padding: 10px 20px;
    border-radius: 20px;
    margin: 1%;
    font-size: 90%;
}
.banners .autorizado img{
  max-width: 100%;
  height: auto;
  margin: 0;
}
.rojo,.red {color: #c2002f}
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4{
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
}

.far {
    font-weight: 400!important
}
.fa,.fas {
    font-weight: 900!important
}
h1 span, h2 span, h3 span{font-size: 59%;display: block;opacity: 56%;color:#333;font-weight: 900;}
h4 span, h5 span, h6 span{
font-size: 79%;
    display: block;
    opacity: 62%;
    color:#333;
}


.inicio .h1,
.inicio h1{
  font-weight: 100;
  color: #c2002f;
  font-size: 5.2em;
  line-height: 1;
  letter-spacing: 5px;
  text-align: center;
  }

.masgris .h1,
.masgris h1{
  color: #db758ec4;
}

.inicio .h1 strong,
.inicio h1 strong,
.inicio .h3 strong,
.inicio h3 strong{
  color: #222;
}

.masgris .h1 strong,
.masgris h1 strong,
.masgris .h3 strong,
.masgris h3 strong{
  color: #ff729a;
}

.inicio h2{
  font-weight: 700;
  display: inline-block;
  padding: 20px 30px 20px;
  margin: 36px 0;
  font-size: 2.4em;
  z-index: 2;
  /*background: #fff;*/
  position:relative;
  margin-bottom: 38px!important;
}
.inicio h2:before{
  width:100%;
  max-width: 600px;
  height: 50%;
  display:block;
  content:'';
  position:absolute;
  background: #c2002fb0;
  z-index: -2;
  bottom: -8px;
  left: -1px;
  transform: skewY(-1deg);
}

.inicio h2.card-title:before{ background: #333333c9}

.inicio h2:after{
  width:100%;
  height: calc(100% + 20px);
  display:block;
  content:'';
  position:absolute;
  z-index: -2;
  background: #fff;
  bottom: -6px;
  left: 5px;
  transform: skewY(1deg);
}

.gris .inicio h2:after{background: #ffeff3;}
.fondo-foto h2:after{background: transparent;}
.fondo-foto h2:before{bottom:10px; height: 75%}


.inicio h2 span{
    font-size: 61%;
    color: #111;
    display: block;
}

.inicio h3{
  font-size: 2.4em;
  color: #c2002f;
  margin: 30px 0;
}

.masgris h3,
.masgris h4,
.masgris h2,
.masgris p,
.masgris p a,
.masgris li{color:#fff;border-color: #000;background: transparent;}
.masgris p a{font-weight: bold;padding: 3px;}
.masgris h2:after{background-color: #c2002f;}
.masgris h2:before{background-color: #333333c9;}
.masgris h2
.noticias h4{
  font-size: 1.8rem;
    font-weight: bold;
    border-bottom: 4px solid;
    padding: 10px 0;
}

.noticias h3{
  font-weight: bold;
}

.noticias h3 i{    
  font-size: 65%;
  color: #444;
}

.inicio h4{
  font-size: 1.7em;
}

a.icono{
  font-weight: 700;
    font-size: 150%;
}

a.icono i{
  color: #333;
  font-size: 180%;
}

.inicio p,
.inicio li
{
font-size: 1.15em;
font-weight: 400;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
margin: 10px 0;
}

.inicio li{margin: 10px 5px;}
.inicio li li{font-size: 0.9em}

.inicio nav li{padding: 0;margin: 0;line-height:1.3}
.inicio nav li a{padding: 10px 5px;display: block;}
.inicio nav li a.active,.inicio nav li a:hover{border-bottom-color: #c2002fa8;text-decoration:none;font-weight: 700;color: #000;}
.admision h2{
  font-size: 3em;
  color: #c2002f;
}

.cajas:after{
     background: url(/images/fondo.png);
    content: '';
    width: 80%;
    background-size: 120px;
    height: 350px;
    transform: skew(3deg, 2deg);
    position: absolute;
    z-index: -2;
}

.cajas .caja{
  background: #f1f1f1;
}


/* ACTUALIDAD */

.noticias{
      color: #fff;
      min-height: 600px;
      text-align: center;
      font-size: 199%;
      line-height: 1.3;
      text-shadow: 2px 0 2px #c2002f, -2px 0 2px #c2002f,  0 -2px 2px #c2002f ,  0 2px 2px #c2002f;
}

.noticias .carousel-item a{
  position: initial;
  background: radial-gradient(circle, rgba(121,0,34,0.66) 7%, rgba(31,0,8,0.55) 94%);
  min-height: 520px;
}
.noticias .carousel-item a:hover{
  background: radial-gradient(circle, rgba(121,0,34,0.88) 7%, rgba(31,0,8,0.77) 94%);
  text-decoration: none;
}

.noticias .carousel-item img.fondo{
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;z-index: -1;
  width: auto;
  height: 100%;
  min-width: 100%;
}
.noticias .carousel-item.active img.fondo{
  visibility: inherit;  
}

.noticias i{font-size: 100px;margin: 30px;}

.noticias .premio{
  border: 1px solid;
  border-radius: 10px;
}

.noticias strong{
  font-size: 120%;
      display: block;
}

.noticias span{
      font-weight: 700;
    font-size: 60%;
    text-shadow: none;
    color: #c2002f;
    padding: 2px 15px;
    border-radius: 5px;
}
.premiados span{display: block;}

.noticias p.note{
    font-size: 80%;
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
    border-color:#fff;
}


.destacadoGris{
  background: url(/ciclos-formativos/images/fondo-gris.jpg);
      background-size: cover;
      background-position: bottom;
      background-attachment: fixed;
    text-align: center;
    font-size: 150%;
}
.destacadoGris h2{font-size: 2.5em}


.gris{
  background: rgb(199 177 198 / 25%);
  background: linear-gradient(0deg, rgb(199 177 198 / 25%), 10%, #ffffff, 70%, rgb(199 177 198 / 25%));
}
.menosgris{
 background: rgb(199 177 198 / 12%);
 background: linear-gradient(0deg, rgb(199 177 198 / 12%), 10%, #ffffff, 70%, rgb(199 177 198 / 12%));
}

.fondo-foto .gris{background: rgb(39 2 5 / 61%);}

.blanco{background: #fff;color:#222;}
.texto-blanco{color: #fff!important}


#somos{font-size: 120%}

section.gris{
  position: relative;
  overflow-x:
  hidden;
  padding: 80px 0;
} 
section.gris:before{
  position: absolute;
  top: 0px;
  content: '';
  width: 0;
  height: 0;
  border-right: 1500px solid transparent;
  border-top: 100px solid #fff;
}
section.footer.gris:before{
    border: 0;
    height: 60px;
    width: 102%;
    left: -1%;
    border-right: 1000px solid #c2003557;
    border-bottom: 60px solid transparent;
}

section.gris.first:before{display: none;}

section.gris.last:after{
  position: absolute;
  bottom: 0px;
  right: 0;
  content: '';
  width: 0;
  height: 0;
  border-left: 1500px solid transparent;
  border-bottom: 80px solid #fff;
}

section.gris.last:after:has(+ * .footer) {
  border-bottom-color:c2002f;
}

section.masgris{
  background: #c2002f;
  background:linear-gradient(0deg, #c2002f, 10%, #c2002fc4, 70%, #c2002f)
} 

section.masgris.fondo{
  background-image: url(/img/fondos/abstracto.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

section.masgris .card{
  background: #ffffff87;
} 

section.postgris:before{
  border-top: 100px solid #c2002f;
}
section.masgris:before{
  border-top: 100px solid rgb(241 235 241);
}

section.masgris.firstgris:before{
  border-top: 100px solid #fff;
}

.navbar.gris{border-radius: 0;padding: 15px;background: rgb(0 0 0 / 42%);margin-top: -50px;margin-bottom: 10px;}
.navbar.gris h2{
  /* background: #c2002f; */
  line-height: 1;
  text-align: center;
  font-size: 1.5em;
  margin-top: -35px;
  margin-bottom: 20px;
}
.navbar.gris button{
  background: #ffffffdd;
    border-radius: 0;
    border: 0px solid transparent;
    border-bottom: 5px solid #000;
    padding: 8px;
  }
.navbar.gris a{color:#fff;padding: 10px 5px;border-bottom: 3px solid transparent;margin-bottom: 7px;}
.navbar.gris .collapse.show {background: transparent;}

.noticias p.destacado{
    text-shadow: none;
    font-size: 90%;
    font-weight: 300;
    background: rgba(0,0,0,0.5);
    padding: 30px 80px;
    border-radius: 40px;
}

.noticias h2{
  font-size: 1.5em;
  text-shadow: none;
  text-align: left;
  background: #ffffffee;
  display: inline-block;
  padding: 14px 34px;
  border-radius: 0;
  line-height: 1;
  margin-bottom: 30px;
}

.noticias p{
  color:#fff;
  font-family:'Roboto', sans-serif;
  text-shadow: none;
  text-align: left;
font-size: 105%;}
.noticias p.mini{font-size: 76%;text-align: right;}

.breadcrumb{
  font-size: 84%;
  margin-bottom: 70px;
  padding: .55rem 0.8rem;
  border-radius: 0;
  margin-top: -35px;
  background: rgba(0,0,0,0.04);
  background: transparent;
  padding: 30px 15px 20px;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 1px solid #ccc;
}

.inicio nav .breadcrumb a{ padding:0;}
.breadcrumb-item+.breadcrumb-item{padding-left: 0}

.cuadroResumen{
  border-radius: 40px;
  border: 3px solid #c2002f;
  background: #fff;
  z-index: 2;
  position: relative;
}

.cuadroResumen i{width: 35px; color:#999;}

.cuadroResumen p{
border-bottom:1px solid #ddd;
padding:2px 5px; 
}

.cuadroResumen p>span, .cuadroResumen p strong{
  width:48%;
  display:inline-block;
  vertical-align: middle;
}

.cuadroResumen p span .miniFont{
  font-size: 80%;
  line-height: 1.4;
  display: inline-block;
}

.cuadroResumen a.btn{color:#fff;text-decoration: none;}
.cuadroResumen a.btn:hover{text-decoration: none;background: #333;}

.relacionados{ 
  padding: 0;
   -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
    
  -webkit-justify-content: space-around;
  justify-content: space-around;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-align-items: stretch;
  align-items: stretch;
}
.relacionados.noflash .flash{display: none;}
.relacionados li{
  display: flex;
  flex-grow: 1;
  background: rgba(0,0,0,0.06); 
  border-radius: 30px;
  max-width: 40%;
  transition:0.5s ease all;
  z-index:8;
}
.relacionados li:hover{background: #333; }

.relacionados li.dropdown-divider{
  width:100%;
  min-width: 100%;
}
.relacionados li a{
  color:#333;
  text-decoration:none;
  padding:7px 10px;
  text-align: center;
  width: 100%;
  font-size: 0.8em;
}

.relacionados li:hover a{
  color:#fff;
}


section.footer.acreditado{background: rgba(0,0,0,0.05);}

section.footer{
  background: #c2002f;
  position: relative;
  background-size: 120px;
background: linear-gradient(-180deg, rgba(160,0,44,1) 47%, rgb(88 2 26) 95%);}

section.footer .nav{}

section.footer .nav a{font-family: 'Roboto', sans-serif;border:0;font-weight: 700;color: #ffffffbb;border-radius: 0;font-size: 1.1em;margin: 16px!important;letter-spacing: 0.8px;padding-top: 0;padding-bottom: 10px;box-shadow: 0px 8px #8e0027, 3px 12px #111, -3px 12px #111;}
section.footer .nav a:hover{box-shadow: 0px 8px #8e0027, 3px 12px #fff, -3px 12px #fff;color: #fff;}
section.subfooter{
  background: #c2002f;
  color: #fff;
}


section.footer .btn-primary{
  background: #fff;
  color: #333;
 }
/*
 section.footer:before{
  content: url('/images/microsite/iconos/ene.png');
  display: block;
  position: absolute;
      width: 260px;
    height: 260px;
    right: 40px;
    bottom: 80px;
 }*/

.footer a{
color: #333;
  font-size: 1.25em;
}

.subfooter.footer a{ color: #fff}




p.note{
  color: #000000bb;
    border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 20px;
  font-size: 0.88em;
  margin-top: 60px;
}
.masgris p.note{
  color: rgb(255 239 243);
  border-top-color: rgb(255 239 243)}

p.note span{font-size: 1.6em}

a.btn-link{color: #c2002f}

.text-gris{color:#999!important;font-size: 1.5em!important}

.nav-pills .nav-link, .nav-pills .show>.nav-link {
    color: #222;
    background-color: transparent;
    border: 2px solid;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #ccc;
    background-color: transparent;
}

::marker {
color: #c2002fcc;
    font-size: 22px;
    line-height: 1;
}


.borde{border: 6px solid #c2002f33;}

.banners .prebanner{
  position: absolute;
    top: 126px;
    left: 4%;
    color: white;
    opacity: 0.8;
    font-family: 'Roboto';
    font-size: 9.5vw;
    font-weight: 100;
}

.banners .carousel-caption{
    right: 42px;
    font-size: 1.2em;
    bottom: 15vh;
    width: 40vw;
    display: flex;
    left: 5%;
    background: #be0030d4;
    background:linear-gradient(0deg, #be0030d4, 10%, #c2002f80, 70%, #be0030d4);
    flex-direction: column;
    justify-content: center;
    color: #fff;
    top: auto;
    padding: 4vh 4vw;
    padding-bottom: 44px;
    height: auto;
}
.banners .carousel-caption:before{
  position: absolute;
  margin-top: -50px;
  top: 0;
  left: 0;
  content: '';
  width: 0;
  height: 0;
  border-left: 30vw solid transparent;
  border-right: 10vw solid transparent;
  border-bottom: 50px solid #be0030d4;
}
.banners .carousel-caption:after{
  position: absolute;
  bottom: -1px;
  right: 0;
  content: '';
  width: 0;
  height: 0;
  border-left: 40vw solid transparent;
  border-bottom: 30px solid #000000;
}
.banners .carousel-caption h2{
  font-size: 2.8vw;
  border-radius: 18px;
  /* margin: 14vw 1vw 1vw; */
  /* padding: 2vw; */
  line-height: 1.1;
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  z-index: 2;
  border-bottom: 3px solid #0006;
  border-radius: 0;
  padding: 16px 0;
  color: white;
}
.banners .carousel-caption h2.L{  font-size: 3.5vw;}
.banners .carousel-caption h2.S{  font-size: 2.4vw;}

.banners .carousel-caption p{
  padding: 0 8%;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  /* background: #000000ad; */
  padding: 19px;
  /* margin-top: 21px; */
  z-index: 2;
  margin-bottom: 0;
  }

.banners .carousel-caption h2 span{
  color: #000;
  font-size: 100%;
  opacity: 1;
  display: block;
}
.banners .carousel-caption h2 span small{display:block;}

.banners .carousel-caption h3{
    background: #ffffffbb;
    width: auto;
    display: inline-block;
    padding: 10px 20px;
    margin: 1vw;border-radius: 20px;
    font-size: 2.5vw;
    color: #c2002f;
}

.banners .carousel-caption h3 i{color: #333;}

.carousel-control-next{justify-content: flex-end;    padding-right: 15px;} 
.carousel-control-prev{justify-content: flex-start;  padding-left: 15px;}

.carousel-control-prev-icon,.carousel-control-next-icon{width:30px;height:30px;}

.carousel-item a{display: block;/* position: relative; */}

.card a:hover .card-title:after{background: #eee}
::after {}
.card a:hover{text-decoration: none;color:#222;background: #eee}
.card a:hover img{filter: grayscale(1);}
.card .card-title span{    
  font-size: 73%;
    margin-bottom: 6px;
    line-height: 1;
    display: block;
  }

.card .card-text{font-size: 100%;}

.card-title{
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 20px;
  word-wrap: break-word;
  hyphens: auto;
}

.iconos h2{
      font-size: 1.5em;
      width: 100%;
      text-align: center;
      line-height: 1;
      padding: 9px 7px 22px;
      word-break: keep-all;
      border-radius: 0;
      margin: 52px 0;
      }


.iconos .card{
  border: 0;
  background: transparent;
  font-size: 1.05em;
  border-radius: 0;
  }


.iconos .card a{
  /* border: 4px solid #c2002f; */
  border-radius: 0;
  background: #c2002f;
  color: #fff;
  margin: .5vh .2vw;
}

.iconos .card a.gris{
  background: rgb(76 13 28 / 95%);
}


.solohover{visibility: hidden;}
:hover>.solohover{visibility: visible;}


.iconos.institutos .card>a{transition: .9s .1s ease background-position;}

.iconos.institutos .card#headingOne>a{
  background-position: left top;
  
}

.iconos.institutos .card#headingTwo>a{
  background-position: left -350px;
}

.iconos.institutos .card#headingThree>a{
  background-position: left -700px;
}

.iconos.institutos .card#headingFour>a{
  background-position: left -1050px;
}

.iconos.institutos .card#headingFive>a{
  background-position: left -1400px;
}

.iconos.institutos .card#headingSix>a{
  background-position: left -1750px;
}

.iconos.institutos .card#headingSeven>a{
  background-position: left -2105px;
}

.iconos.institutos .card#headingEight>a{
  background-position: left -2455px;
}

.iconos.institutos .card#headingOne>a:hover{
  background-position: right top;
}

.iconos.institutos .card#headingTwo>a:hover{
  background-position: right -350px;
}

.iconos.institutos .card#headingThree>a:hover{
  background-position: right -700px;
}

.iconos.institutos .card#headingFour>a:hover{
  background-position: right -1050px;
}

.iconos.institutos .card#headingFive>a:hover{
  background-position: right -1400px;
}

.iconos.institutos .card#headingSix>a:hover{
  background-position: right -1750px;
}

.iconos.institutos .card#headingSeven>a:hover{
  background-position: right -2105px;
}

.iconos.institutos .card#headingEight>a:hover{
  background-position: right -2455px;
}

.iconos.institutos.ARTES .card>a{
  background: url(img/fondo-iconos-institutos.webp);
}
.iconos.institutos.ARTES .card>a:hover{
  background: url(img/fondo-iconos-institutoshover.webp);
}



.iconos.institutos.IMG .card>a,
.iconos.institutos.ARTES .card>a{
  background: url(img/fondo-iconos-institutos.webp);
}
.iconos.institutos.IMG .card>a:hover,
.iconos.institutos.ARTES .card>a:hover{
  background: url(img/fondo-iconos-institutoshover.webp);
}


.iconos .card a img{
  margin-top:-40px;
  /* margin-bottom: 90px; */
}

.iconos .card .btn{font-size: 1em;
    padding: 1em 1.5em;
    border-radius: 0;
    margin: 20px;}

.iconos .card>a{height: 100%;min-height: 230px}
.iconos .card>a.collapsed{background: #811b3452;}

.iconos .card .card-body{
  padding: 0;
  /* margin-top: 15px; */
  margin: 0px -.6vw 0;
  /* background: #ffffffaa; */
  color: #222;
  }

.iconos .card a img{
  border-radius: 9px;
  border: 0;
  /* background:#fff; */
  padding: 9px;
  transition: transform 0.5s ease;
  }
.iconos .card a:hover img{
  transform: scale(1.2);
}

.iconos .card .desplegable{
  background: rgba(0,0,0,0.05);
  padding: 3.5rem 2rem 1rem ;
}

.alert{border-top-left-radius:0}
.card{border: 4px solid rgb(227 158 175);border-top: 0;border-radius: 3px;border-bottom: 0;padding: 1vh 1vw;}
.gris img,
.radius{border-radius: 0;
mix-blend-mode: multiply;
transition: .5s mix-blend-mode ease;
}
.footer.gris img,
.gris img:hover{
  mix-blend-mode: normal;
}
.footer img{border:0}
.gris .card{border:0;font-family:'Roboto';font-size:110%}
.card-desc .card strong{
  color: #c2002f;
    font-size: 120%;
    margin-bottom: 3px;
}
.masgris .card-desc .card strong{
  color: #fff;
}
.iconos.gris .card{font-family: 'Roboto'}
.gris .card img,
.card .radius{border-radius: 0px;border:10px solid #fff}

.wrap{word-wrap:initial;}

.fondo-foto{
  background-size:cover;
  background-attachment: fixed;
  min-height: 200px;
  padding:20vh 7vw;
  color: #fff;
}
.fondo-foto h2,
.fondo-foto .h2,
.fondo-foto .h3,
.fondo-foto h3{color:white}
/* --- Estilos especÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â­ficos para iOS --- */
@supports (-webkit-touch-callout: none) {
  .fondo-foto {
    background-attachment: scroll; /* fallback en iOS */
  }
}

.fondo-foto .card{background: transparent; border: 4px solid #00000052}

.fondo-foto #tooltips input,
.fondo-foto #tooltips input.valid, 
.fondo-foto #tooltips select.valid, 
.fondo-foto #tooltips textarea.valid, 
.fondo-foto #tooltips span.valid,
.fondo-foto #tooltips input.valid,
.fondo-foto #tooltips select,
body .fondo-foto div .select2-container .select2-selection--single .select2-selection__rendered,
.fondo-foto #tooltips label
{color: #fff}




@media screen and (min-width: 1400px){
  .container, .container-lg, .container-md, .container-sm, .container-xl{
    width: 1340px
  }
  html,body{font-size: 18px}
  .banners img{
    height: auto!important;
    width: 100%!important;
    min-height: auto!important;
  }
}
@media screen and (min-width: 1600px){
  .container, .container-lg, .container-md, .container-sm, .container-xl{
    max-width: 1540px
  }
  html,body{font-size: 19px}
  .banners #formulario{width: 600px;}
}
@media screen and (min-width: 1800px){
  .container, .container-lg, .container-md, .container-sm, .container-xl{
    max-width: 1740px
  }
  html,body{font-size: 20px}
}
@media screen and (min-width: 1900px){
  .container, .container-lg, .container-md, .container-sm, .container-xl{
    max-width: 1840px
  }
  html,body{font-size: 21px;}
}

@media screen and (min-width: 2400px){ 
  .container, .container-lg, .container-md, .container-sm, .container-xl{
    width: 2240px
  }
  html,body{font-size: 22px;}
}

@media screen and (min-width: 1200px){

  .logo{max-width: 370px;}
  .logo.big{max-width: none;margin: -2vh 0.5vw;padding-left: 0.5vw!important;}

  .encabezado{ height: auto;}

  .encabezado>div{
    max-width: calc(100% - 60px);
    padding-left: 0;
    margin-left: 10px;
  }

  .banners,
  .banners .row,
  .banners .col{
    position: relative;
    /* max-height: 90vh; */
    overflow: visible;
    /* height: 100%; */
  }
  .banners .container-xl {
    max-width: 100%;
    min-width: 100%;
    /*max-height: 600px;*/
    height: 100%;
  }
  .banners .carousel-caption p{font-size: 22px}

}

@media (min-width: 992px){
  .dropdown-menu .dropdown-toggle:after{
    border-top: .3em solid transparent;
      border-right: 0;
      border-bottom: .3em solid transparent;
      border-left: .3em solid;
  }
  .dropdown-menu .dropdown-menu{
    margin-left:0; margin-right: 0;
  }
  .dropdown-menu li{
    position: relative;
  }
  .nav-item .submenu{ 
    display: none;
    position: absolute;
    left:100%; top:-7px;
  }
  .nav-item .submenu-left{ 
    right:100%; left:auto;
  }
  .dropdown-menu > li:hover{ background-color: #f1f1f1 }
  .dropdown-menu > li:hover > .submenu{
    display: block;
    z-index: 99;
    box-shadow: 8px 8px #c2002f69, -3px -3px #f1f1f1;
  }
  .card-desc.cursos>div{
    max-width: 30%;
  }
}

@media screen and (max-width: 1200px){
  .banners #formulario{
    margin-top:0!important;
  }
}
@media screen and (max-width: 991px){
  .encabezado .navbar-collapse .dropdown-menu{
    box-shadow: none;
    border: 9px solid #ffe8ee;
    width: 90%;
    margin: 10px 5%;
  }
  .encabezado .navbar-collapse .dropdown-menu .dropdown-menu{display: block;}
  .navbar.menuSeccion{
  width: 20%;
    left: 67%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-content: center;
    flex-direction: column;
}
.navbar.menuSeccion>.container{
      display: flex;
    justify-content: center;
  }
  .show ul.navbar-nav li{width: 100%; font-size: 1.6em;}
  .banners .carousel-caption{/* top: 50px; *//* bottom: 0; */}

  .navbar-light .navbar-toggler,
  .ppal.navbar-light .navbar-brand{
    border: 0;
    font-family: 'Roboto', sans-serif;
    color:white;
  }
  .navbar-light .navbar-toggler:focus{
    background: #c2002f6e;

  }
  .prenav.navbar-light .navbar-brand{
    font-family: Roboto, sans-serif;
    color: #666;
    font-size: 0.8em;
  }
  .navbar-light .navbar-toggler{
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .navbar-light .navbar-toggler,.navbar-light .navbar-brand span{color: black;text-align:center;outline: none;z-index: 999999999999999999;}
  .navbar-light .navbar-toggler.collapsed{color:white}
  .navbar-collapse.collapsing,
  .navbar-collapse.collapse{
        position: fixed;
        top: 121px;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        margin-left: 0!important;
        background: #fff;
        padding: 7vh 3vw;
        border-top: 2px solid rgba(0,0,0,0.1);
  }
  .scrolled .navbar-collapse.collapse{
    top: 0;
  }
  .interior .navbar-collapse{position: initial;text-align: center;}
  .navbar-collapse .nav-link{padding: 1rem;}

  .navbar button i.nocollapsed {display: none;}
  .navbar button i.collapsed {display: block;}
  .navbar button.collapsed i.nocollapsed {display: block;}
  .navbar button.collapsed i.collapsed {display: none;}

  .encabezado .navbar-light .navbar-nav .nav-link strong {
    display: inline-block;
}
.dropdown-toggle::after {
    bottom: 50%;
    right: 9px;
}
  .encabezado button span{letter-spacing: 1px;font-family: Roboto;font-size: 1.3em}
  .navbar-light .navbar-brand{color: white}
  .encabezado .prenav button span{letter-spacing: 1px;font-family: Roboto;}


  .banners .title{font-size: 3.5rem;}

  /*.banners img{
    width: auto!important;
    height: 435px;
  }*/
  .inicio .area {
    border-radius: 30px;
    padding-bottom: 10px;
    margin-bottom: 0;
    margin-top: -25px;
  }
  .inicio .area img {
    width: 20%;
    min-width: 110px;
    padding: 0 30px;
    background: #fff;
    margin-top: -25px;
    margin-bottom: -22px;
  }
  .cuadroResumen{margin-top: 0!important}
  .cuadroResumen p span, .cuadroResumen p strong {
    width: 100%;
  }

}

@media screen and (max-width: 767px){

  .encabezado{top: 0;min-width: 360px;height: 120px;}
  .encabezado.LP{height: 87px;}
  
  .encabezado .logo.big img,.encabezado .logo img{min-width: 0}
  
  .contacto {
    /* top: 166px; */
  }
  .contacto a:after {
    border-width: 0 0 13px 84px;
  }
  .LP+.banners{margin-top: 5px;display: flex;flex-direction: column-reverse;}
  .LP.BIG+.banners{/* margin-top: 31px; */}
  .banners{/* margin-top: 66px; *//* padding-bottom: 40px; */}
  .banners .prebanner{
    top: auto;
    font-size: 15vw;
    bottom: 160px;
  }
  .banners .textoBanners .title strong.BIG{font-size: 110%;}
  /*.banners .carousel-item img {
      height: 470px;
      width: auto!important;
  }*/
  .banners .carousel-caption {
      /* right: 9%; */
      width: 65%;
      /* left: 9%; */
      top: 0px;
      padding: 126px 5vw 4vh;
      bottom: auto;
      /* bottom: 0px; */
      /* overflow: visible; */
      /* padding: 3vh 4vw; */
      z-index: 2;
  }
  .banners .carousel-item a{padding-bottom: 30px}
  .banners .carousel-caption:before{margin-top:-15px;border-bottom-width: 15px}
  .banners .carousel-caption:after{border-bottom-width: 20px;bottom: 0}
  .banners .carousel-caption h2 {
      font-size: 5vw;
      margin:0;
  }
  .banners .carousel-caption h2.L{  font-size: 6.4vw;}
  .banners .carousel-caption h2.S{  font-size: 4vw;}

  .banners .carousel-caption p {padding: 16px 0;}
  .banners .carousel-caption h3{font-size: 3.5vw}

  button.btn.btn-primary{font-size: 3.5vw;}



  .banners{/* background-position: -28px -215px; */}
  /*.banners img {margin-left:-20%}*/
  .banners #formulario{
    margin-top: -150px!important;
  }
  #formPruebas .banners #formulario{
    margin-top: 0px!important;
  }
  .inicio .h1, .inicio h1 {font-size: 2.5em}
  .inicio p, .inicio li{font-size: 1.1em}
  .inicio .area img { 
    margin-top: -20px;
    width: 28%;
   }
  .cuadroResumen p span, .cuadroResumen p strong {
    width: 48%;
  }
  .btn.btn-plus{margin-left: -14px;}

}

@media screen and (max-width: 575px){
  html, body{font-size: 15px;}
  
  .encabezado.LP{height: 60px;}
  .encabezado.scrolled .logo.big, .encabezado .logo.big {
        max-width: 300px;
        margin-top: 0px;
    }

  .encabezado .email img{width: 27px;}

  .banners{/* background-position: -371px -215px; */overflow-x: hidden;}
  .banners .textoBanners{left: 16%;width: 72%;font-size: 70%;margin-top: -60px}
  .banners .textoBanners .title strong.BIG{margin-top: 30px;margin-bottom: 10px;font-size: 100%;}
  .cuadroResumen p span, .cuadroResumen p strong {
    width: 100%;
  }
  .inicio.cursosHome .card li{max-width: 100%}
  .banners .autorizado{
    font-size: 70%;
    padding: 5px;
    border-radius: 5px;
  }

  
  .contacto a {
    padding:5px;
  }
  .contacto a:after {
        border-width: 0 0 13px 129px;
  }
  .scrolled .contacto a:after {
    border-width: 0 0 19px 85px;
  }


  .LP .contacto{
    top: 0;
    font-size: 0;
    /* right: -18px; */
    margin-top: 0;
    /* margin-right: 20px; */
    width: 50px;
  }
  .LP .contacto a{width: 50px;font-size: 0}
  .LP .contacto i{
    font-size: 30px;
    width: 34px;
    height: 34px;
    margin-left: 0px;
  }
}


/* Lightbox */
.ekko-lightbox{display:-ms-flexbox!important;display:flex!important;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-right:0!important}.ekko-lightbox-container{position:relative}.ekko-lightbox-container>div.ekko-lightbox-item{position:absolute;top:0;left:0;bottom:0;right:0;width:100%}.ekko-lightbox iframe{width:100%;height:100%}.ekko-lightbox-nav-overlay{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex}.ekko-lightbox-nav-overlay a{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;transition:opacity .5s;color:#fff;font-size:30px;z-index:1}.ekko-lightbox-nav-overlay a>*{-ms-flex-positive:1;flex-grow:1}.ekko-lightbox-nav-overlay a>:focus{outline:none}.ekko-lightbox-nav-overlay a span{padding:0 30px}.ekko-lightbox-nav-overlay a:last-child span{text-align:right}.ekko-lightbox-nav-overlay a:hover{text-decoration:none}.ekko-lightbox-nav-overlay a:focus{outline:none}.ekko-lightbox-nav-overlay a.disabled{cursor:default;visibility:hidden}.ekko-lightbox a:hover{opacity:1;text-decoration:none}.ekko-lightbox .modal-dialog{display:none}.ekko-lightbox .modal-footer{text-align:left}.ekko-lightbox-loader{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.ekko-lightbox-loader>div{width:40px;height:40px;position:relative;text-align:center}.ekko-lightbox-loader>div>div{width:100%;height:100%;border-radius:50%;background-color:#fff;opacity:.6;position:absolute;top:0;left:0;animation:a 2s infinite ease-in-out}.ekko-lightbox-loader>div>div:last-child{animation-delay:-1s}.modal-dialog .ekko-lightbox-loader>div>div{background-color:#333}@keyframes a{0%,to{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}


/* COOKIES */ 
@media only screen and (max-width: 550px) {

  #didomi-host .didomi-mobile #didomi-popup .didomi-popup-notice{
    padding: 5vw;
  }
  #didomi-host .didomi-popup-notice .didomi-popup-notice-text p{    
    font-size: 11px;
  }
}
html body.didomi-popup-open{
  overflow: auto !important;
}
body #didomi-host .didomi-popup-backdrop {
    opacity: 0;
}
@keyframes fadeInslow {
    0% {
      opacity: 0;
    }

    80% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
  }

body #didomi-host .didomi-popup-backdrop{
  background-color: #00000044;
  animation: fadeInslow 5s ease-out;
  opacity: 1;
}
body #didomi-host .didomi-exterior-border,
body #didomi-host .didomi-popup-container{
  border: 0;    
  max-width: 95%;     
  padding: 3.5vh 4vw;
}
body #didomi-host .didomi-popup-notice .didomi-popup-notice-text p{    
  font-size: 14px;
  font-family: Roboto;
  font-weight: 300; 
}
body #didomi-host .didomi-popup-notice .didomi-popup-notice-buttons{
  flex-wrap:wrap;
  margin-top: 2vh;
  flex-direction: row;
}
body #didomi-host .didomi-popup-notice-optin-type .didomi-popup-notice-buttons .didomi-components-button{
  background-color: ##777!important;
  border:0; 
  margin:4px 1%!important;
  width: 31%!important; 
  min-width: 0;  
  padding: 1vh 2.5vw !important;
  line-height: 1;
}
body #didomi-host .didomi-popup-notice-optin-type .didomi-popup-notice-buttons .didomi-components-button#didomi-notice-agree-button{background-color: #c2002f!important}
body #didomi-host a:not(.didomi-no-link-style){text-decoration: none}
body #buttons.didomi-buttons button span{
  font-size: 0.9em;
  font-family: 'Roboto';
}

body #didomi-host .didomi-notice-data-processing-container .didomi-notice-data-processing-title,#didomi-host a, #didomi-host p, #didomi-host span{line-height: 1.15!important;}



.content-facultad {
    height: 100%;
    padding: 25px 13px 11px 25px;
    /*border-radius: 5px;*/
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content-facultad.border-nebrija h3{
  color: #333;
  margin-bottom: 15px;
  margin-top: 10px;
}
.border-nebrija, a.button-secondary, a.button-secondary:hover {
    border: 2px solid #c2002f;
}

.bg-black,a.becas:hover .bg-color-nebrija,footer {
    background-color: #222222d6
}

a.becas{
  text-decoration: none!important
}
a.becas:hover h4{color:black!important;}

.bg-color-nebrija,.bg-white1:hover {
    background-color: #c2002f;
    color:#fff!important;
}

.icon-of{display: flex;}



.icon-of i,
.icon-of img {
    display: inline-block;
    background: #fff;
    max-height: 40px;
    margin-top: -47px;
}
.icon-of i,
.icon-of img, .ranking h2 {
    padding: 0 10px;
    margin-left: -8px;
}

.icon-of i{
  padding: 6px 15px;
    border-radius: 20px;
    margin-top: -43px;
    display: inline-block;
    color: #c2002f;
    border: 2px solid;
    font-style: normal;
    font-size: 1.2em;
}

.becas {
    color: #fff;
    text-align: left;
}
.becas h3{color: #fff;
margin-top: 10px;
    margin-bottom: 20px;
    }

.becas .content-facultad img {
    margin-top: -70px;
    margin-left: -8px;
    background: 0 0;
    padding: 0;
    max-height: inherit;
}

.map iframe{
filter: hue-rotate(332deg) saturate(0.3);
}