/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

p{
    margin: 0;
}
.lazyload {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

.lazyloaded {
    opacity: 1;
}

.lazyload::before {
    content: "";
    display: block;
    width: 70px;
    height: 70px;
    background-color: #f3f3f3;
}

.previewLearn_more{
    color: #ccc;
}
.previewLearn_more ul{
    display: inline-block;
}

.previewLearn_more ul li{
    width:100%;
    text-align: left;
}
.boxCustomAccordion img, .boxCustomAccordion figure {
    max-width: 100% !important;
}
strong {
    font-weight: bold !important;
}

.priority {
  visibility: hidden;
}
.priority.lazyloaded {
  visibility: visible;
}

.ck-editor{
    padding-bottom: 20px !important;
}
/* TIPOGRAFIES I FONTS */
@font-face {font-family: 'Futura';src: url('../fonts/FuturaLT-Book.woff2') format('woff2'),url('../fonts/FuturaLT-Book.woff') format('woff');font-weight: 400;font-style: normal;font-display: swap;}
@font-face {font-family: 'Futura';src: url('../fonts/FuturaLT-Bold.woff2') format('woff2'),url('../fonts/FuturaLT-Bold.woff') format('woff');font-weight: 700;font-style: normal;font-display: swap;}


/* TIPOGRAFIES I FONTS */

.d-none{ display: none !important; }
.d-block{ display: block !important; }
.d-flex{ display: -webkit-box !important; display: -ms-flexbox !important; display: flex !important; }
.justify-content-center{ -webkit-box-pack: center !important; -ms-flex-pack: center !important; justify-content: center !important; }
.align-items-center{ -webkit-box-align: center !important; -ms-flex-align: center !important; align-items: center !important; }

/* ESTILS GENERALS */
*{
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0; 
}


html, body{
    height: 100%;
    line-height: 1 !important;
}

body{
font-family: 'Futura', sans-serif;
font-weight: 400; 
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; 
background-color: #000!important;
min-height: 100vh;
-ms-touch-action: manipulation;
touch-action: manipulation;  /* Esta lligat al zoom als movils */
overflow-x: hidden;
display: flex;
flex-direction: column;
margin: 0;
}
main{
flex: 1;
}

.futura-book{font-family: 'Futura', sans-serif;font-weight: 400 !important; }
.futura-bold, summary, strong, #category{font-family: 'Futura', sans-serif !important;font-weight: 700 !important; }

::-webkit-scrollbar { width: 0px; }/* posali un valor positiu perque surti la scrollbar */
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background-color: #555; }
::-webkit-scrollbar-thumb:hover { background-color: #fff; }

.pointer{ cursor:pointer !important; }
.text-center{ text-align: center !important; }
.text-uppercase{ text-transform:uppercase !important; }
.text-lowercase{ text-transform:lowercase !important; }
.text-capitalize{ text-transform:capitalize !important; }
.d-flex{ display: -webkit-box !important; display: -ms-flexbox !important; display: flex !important; }
.aic{ -webkit-box-align: center !important; -ms-flex-align: center !important; align-items: center !important; }
.jcc{ -webkit-box-pack:center !important; -ms-flex-pack:center !important; justify-content:center !important; }
.jcb{ -webkit-box-pack:justify !important; -ms-flex-pack:justify !important; justify-content:space-between !important; }
.ms-1{ margin-left: 5px !important; }
.ms-2{ margin-left: 10px !important; }
.ms-3{ margin-left: 15px !important; }
.ms-4{ margin-left: 20px !important; }
.me-1{ margin-right: 5px !important; }
.me-2{ margin-right: 10px !important; }
.me-3{ margin-right: 15px !important; }
.me-4{ margin-right: 20px !important; }
.my-1{ margin-top: 10px !important; margin-bottom: 10px !important; }
.my-2{ margin-top: 20px; margin-bottom: 20px; }
.my-3{ margin-top: 30px; margin-bottom: 30px; }
.my-4{ margin-top: 40px; margin-bottom: 40px; }
.mt-1{ margin-top: 10px !important; }
.mt-2{ margin-top: 20px !important; }
.mt-3{ margin-top: 30px; }
.mt-4{ margin-top: 40px; }
.mb-1{ margin-bottom: 10px; }
.mb-2{ margin-bottom: 20px; }
.mb-3{ margin-bottom: 30px; }
.mb-4{ margin-bottom: 40px; }
.active_lang{ background-color: #fff !important; color: #000 !important; }
.tdn{ text-decoration:none; color: inherit; }
.nowrap{ white-space: nowrap; }
.fs-10{ font-size:10px !important }
.fs-12{ font-size:12px !important }
.fs-14{ font-size:14px !important }
.fs-16{ font-size:16px !important }
.fs-18{ font-size:18px !important }
.fs-20{ font-size:20px !important }
.h40{ height: 40px; }
.w40{ width:40px }
summary{ cursor:pointer }
.divider{ height: 1px; background-color: #9f9f9f; width: 100%; display:block }
.text-white{ color:white !important; }
.text-lgrey{ color:#9f9f9f !important; -webkit-transition: all .3s ease-in-out; -o-transition: all .3s ease-in-out; transition: all .3s ease-in-out; }
.text-lgrey:hover{ color:#fff !important; }

#previewTitle h2{
    font-size:18px !important; 
}

.ck-editor {
    z-index: 9999 !important;
}

a{
    text-decoration: none;
    color:inherit;
}

/* ESTILS HEADER */
header {
    position: fixed;
    width:100%;
    top: 0;
    z-index: 999;
    background-color: #000;
    padding: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    max-height: 200px;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.contact {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.contact .languages {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 40px;
}
.lang_switcher {
    cursor: pointer;
    color: #fff;
    background-color: #444;
    -webkit-transition: background 0.5s ease;
    -o-transition: background 0.5s ease;
    transition: background 0.5s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 2px;
    margin-right: 2px;
}
.lang_switcher:hover,
.lang_switcher:focus {
    background-color: #fff !important;
    color: #000 !important;
}

.about {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    min-height: 40px;
    text-transform: uppercase;
}
.about .about-me { margin-right: 2px; width: 124px; }
.about .email { width: 40px; }
.about > .email,
.about a {
    background: #fff;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align:center;
        -ms-flex-align:center;
            align-items:center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transition: background .5s ease;
    -o-transition: background .5s ease;
    transition: background .5s ease;
    cursor:pointer;
}
.about > .email:hover,
.about a:hover {
    background-color: #000 !important;
    color: #fff !important;
}

#logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    
}
#logo > a{ height: auto; }
#logo > a img {
    height: auto;
    width: auto; /* en vez de aspect-ratio */
    cursor: pointer;
}
@media screen and (max-width: 768px) {
    #logo > a img { height: 80px; }
}
@media screen and (max-width: 450px) {
    #logo > a img { height: 45px; }
    .arrow_slider_left,.arrow_slider_right{
        display: none !important;
    }
}

img { font-size: 0 !important; color: #000 !important; }
a, a:link, a:visited, a:hover, a:active { text-decoration: none; }
.nav-spacer { margin: 0 10px; transform: translateY(-2px) !important}



/* Burger menu */
#burger {
    display: none;
    z-index: 1000;
    cursor: pointer;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 30px;
    height: 25px;
}
#burger span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#burger.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
}
#burger.open span:nth-child(2) { opacity: 0; }
#burger.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform-origin: bottom left;
    -ms-transform-origin: bottom left;
    transform-origin: bottom left;
}

.menu-dynamic{
    display: none;
}


@media screen and (max-width: 1000px){
    .contact{
        display: none;
    }
    .menu-dynamic{
        display: flex;
    }
}

nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

nav ul {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    color: #fff !important;
    -webkit-transform: translateY(-4px);
        -ms-transform: translateY(-4px);
            transform: translateY(-4px);
    width: auto; /* reemplazo de max-content */
    margin: 0;
}

nav ul li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 25px;
    width: 260px;
}

nav ul li a { cursor: pointer; text-decoration: none; color: #fff; }

@media (max-width: 1249px) {
  #burger{ display: flex; }
  nav ul { transform: none; overflow-x: hidden;}

  nav ul { align-items: stretch; } 

  /* asegúrate que las líneas se vean y no colapsen */
  nav ul .divider{
    display: block;
    height: 1px;
    background-color: #9f9f9f;
    opacity: .7;              /* opcional */
    width: auto;              /* deja que stretch haga su trabajo */
    flex: 0 0 1px;            /* 1px fijo en eje principal */
    align-self: stretch;      /* por si acaso, estira en eje cruzado */
    margin: 0;                /* ajusta si quieres separación extra */
  }

  nav ul {
    padding: 0 0 20px 0;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h, 0px);
    bottom: 0;
    max-height: calc(100dvh - var(--header-h, 0px));
    width: 100%;
    background-color: rgba(0,0,0,.90);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity   .22s cubic-bezier(.22,.61,.36,1),
      transform .26s cubic-bezier(.16,1,.3,1),
      visibility 0s linear .26s;
    will-change: opacity, transform;
  }

  nav ul.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity   .18s cubic-bezier(.22,.61,.36,1),
      transform .22s cubic-bezier(.16,1,.3,1),
      visibility 0s;
  }

  nav ul.closing {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity   .32s cubic-bezier(.22,.61,.36,1),
      transform .36s cubic-bezier(.16,1,.3,1),
      visibility 0s linear .36s;
  }

  nav ul li {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 20px 0;
  }

  .arrow_slider_left, .arrow_slider_right{
    display: none;
  }
}

@media (max-width: 1000px){
    .lang_switcher{
        background-color: #000;
    }
}

@media screen and (min-width: 1250px) {
    nav { display: flex; justify-content: flex-end; }
    nav ul {
        display: flex;
        flex-direction: column;
        height: auto;
        position: static;
        background-color: #000;
        align-items: flex-end;
        justify-content: space-between;
    }
    nav ul li {
        width: auto;
        justify-content: flex-end;
        text-align: right;
    }
}


  
footer {
    margin: 20px;
    color: #fff;
    font-size: 0.8em;
}

.actionsLogin{
    position: fixed;
    z-index: 999;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
}


.zoom-web{
    color: #9f9f9f;
    background-color: #000;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 0 0 0 2px;
}
.languages > .zoom-web{
    margin: 2px 0 0 0;
}
.zoom-web:hover{
    border: #fff 1px solid;
    color: #fff;
}

/* Estilos básicos para el contenedor */
  #carrera {
    padding: 20px; /* Espaciado interno */
    color: #fff; /* Fondo claro para el contenedor */
    border-radius: 8px; /* Bordes redondeados */
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra para darle profundidad */
  }

  .block-edit-btn{
    position: fixed;
    z-index: 9999;
    bottom: 50px;
    right: 20px;
  }

  /* Estilo de los elementos de lista */
  #carrera ul {
    list-style-type: none; /* Quitamos los puntos por defecto */
    padding: 0;
  }

  #carrera li {
    font-size: 1.1rem; /* Tamaño de fuente adecuado */
    line-height: 1.6; /* Espaciado entre líneas */
    margin-bottom: 15px; /* Separación entre elementos */
  }

  #carrera li br {
    display: block;
    margin-bottom: 5px; /* Espaciado entre texto y salto de línea */
  }

  /* Estilos responsive */
  @media (max-width: 1200px) {
    #carrera {
      max-width: 100%; /* Ancho completo en pantallas pequeñas */
      padding: 15px; /* Reducir el espaciado interno */
    }

    #carrera li {
      font-size: 1rem; /* Reducir el tamaño de fuente */
    }
  }

  @media (max-width: 768px) {

    #carrera li {
      font-size: 0.9rem; /* Reducir aún más el tamaño de fuente */
    }
  }


  .titlePdfViewer{
    padding-left: 20px;
  }
  
  #pdf-viewer-container {
      width: 100%;
      height: 100vh;
  }

  /* select[multiple] {
  height: auto;
  min-height: 120px;
} */

#carrera h4{
    font-size: 16px;
    margin-top: 10px;
    color: #fff;
  
}
canvas {
  -webkit-filter: contrast(120%) brightness(90%);
          filter: contrast(120%) brightness(90%);
  mix-blend-mode: multiply;
}

#pdf-viewer{
  margin-top: 100px;
}

#pages{
    text-align: center;
}
.page{
    width: 100%;
    padding: 20px;
    -webkit-box-shadow: 0px 0px 5px #000;
            box-shadow: 0px 0px 5px #000;
    -webkit-filter: none !important;
            filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    background-color: transparent !important;
    color: initial !important; 
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #ccc;
  border-top: 3px solid #333;
  border-radius: 50%;
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes spin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}


 /* p:empty::before {
  content: '\00a0';
} */

p:empty {
  height: 15px;
}

.iniciar_editor{
    padding:5px;
}

details textarea{
    width: 100%;
}

.custom-separator{
    display:block;
    margin-top: 10px;
}

h1,h2,h3,h4,h5,h6{
    font-weight: normal !important;
}