/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html, body {

    width: 100%;
    padding: 0;
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: #fff;
    color: #000;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

small{
    line-height: 1 !important;
}

h1, h2, h3, h4, h5, h6, p {
    font-weight: normal;
    margin-bottom: 1rem;
}


ul, ol {
    list-style-position: outside;
    padding-left: 18px;
}


a {
    text-decoration: none;
    color: inherit;
}


table {
    border-collapse: collapse;
    border-spacing: 0;
}


input, button, textarea, select {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
    appearance: none;
}

img {
    max-width: 100%;
    height: auto;
}


/* Fuente base */
body {
    /*font-family: 'IBM Plex Sans', sans-serif;*/
    /*font-family: 'Rajdhani', sans-serif;*/
    font-family: 'Exo 2', sans-serif;
    background-color: #fff;
    color: #222;
}

b{
    font-weight: 500;
    color: #073e6b;
}

.clearspace{
    clear: both;
    height: 7em;
}

.clearspacemin{
    clear: both;
    height: 3em;
}






h2.invert{
    background-color: #000000;
    color: #ffffff;
    padding: 6px;
    display: inline-block;
    font-size: 19px;
}






/* HEADER */
.header {
    background-color: #001023;
    padding: 0;
    margin: 0;
}

.topnavigation{
    min-height: 5em;
    background-color: #001023;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
}

/* NAVIGATION */
.topnavigation ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.topnavigation li a {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    border: 1px solid transparent;
    transition: all ease-in-out 0.2s;
}

.topnavigation li a:hover,
.topnavigation li a:focus {
    border: 1px solid #20c4e0;
}


.topnavigation li a:hover{
    
}


.topnavigation .header-logo{
    height: 60px;
    
}

.menu-icon{

    margin-right: 2px;
    margin-left: 4px;
    margin-top: 7px;
    cursor: pointer;
    transform: rotate(0deg);
    transition: all ease-in-out 0.2s;
}

.menu-icon:hover{
    /*transform: rotate(90deg);*/
    opacity: 0.7;
}

.menu-icon.active{
    transform: rotate(90deg);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-content {
        
    }

    .topnavigation ul {
        display: block !important;
        flex: none !important;
        width: 100vw;
    }

    .topnavigation li {
        display: flex;
        flex: 1;
    }

    .topnavigation li a {
        width: 100%;
        padding: 0.75rem;
    }

    .headernav{
        height: 0;
        overflow: hidden;
        transition: all ease-out 0.2s;
    }

    .headernav.active{
        height: 0;
        overflow: hidden;
        height: 349px;
    }


    .page-separator-blue {
        display: none;
    }

    .clearspace{
        height: 5em;
    }

    .page-block-titles{
        font-size: 27px;
    }
}

















.big-header-navigation{
    position: relative;
    overflow: hidden;
    max-width: 100vw;
    min-height: 45px;
}

.big-header-navigation .pagelogos{
    z-index: 1;
    top: 24px;
    left: 5px;
    position: absolute;
    
}

.big-header-navigation .pagelogos .header-logo{
    max-height: 70px;
    display: inline-block;
    margin-left: 25px;
}

.big-header-navigation .big-header-bg{
    z-index: 0;
    width: 100%;
    
    
}


@media (max-width: 768px) {
    .big-header-navigation .pagelogos{
        z-index: 1;
        top: -5px;
        left: 0;
        right: 0;
        position: absolute;
        text-align: center;
        padding-top: 7px;
        padding-bottom: 7px;
        background-color: rgba(0,0,0,0.5);
        /*
        background-image: url('../img/min-header-bg.jpg');
        background-size: cover;
        background-position: center center;
        */
    }


    .big-header-navigation .pagelogos .header-logo{
        max-height: 38px;
        display: inline-block;
        margin-left: 10px;

    }

    .big-header-bg{
        width: 150% !important;
        max-width: 150% !important;
        margin-left: -25%;
    }
}



/*
------------------------ FOOTER
*/

footer{
    text-align: center;
    border-top: 1px solid #333;
}

footer .footer-logos{
    padding-top: 25px;
    padding-bottom: 25px;
}

footer .linkswrap{
    height: 400px;
    background-color: #000;
}


















.imagetextcard{

}



.imagetextcard .card-image{
    border-radius: 4px;
}

.page-separator-blue{
    background-image: url('../img/page-separator-blue.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    height: 8vw;
    width: 100%;
}




.pageblock{
    min-height: 90vh;
    padding-bottom: 60px;
}


.pageblock.backgrounded{
    background-color: #000000;
    background-image: url('../img/bg-block.jpg');
    background-size: cover;
}

.page-block-titles{
    padding-top: 2em;
    padding-bottom: 0;    
}

#calendargrid{
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    
}

.horario{
    border-radius: 4px;
    background-color: rgba(255,255,255,0.1);
    padding: 7px;
    display: flex;
    flex: 1;
    align-items: center;
    min-height: 60px;
}

.horario p{
    margin-bottom: 0;
}




.menuicon{
    filter: invert();

}














.formulario-solicitud {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background: #6772a2;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .formulario-solicitud {
        padding: 1rem;
        margin-left: 7px;
        margin-right: 7px;
        width: auto;
    }
}


.formulario-solicitud h2 {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: #ffffff;
}

.formulario-solicitud form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.formulario-solicitud label {
    font-weight: 500;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.formulario-solicitud input,
.formulario-solicitud select,
.formulario-solicitud textarea {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
    background-color: #ffffff;
}

.formulario-solicitud button {
    background-color: #20c4e0;
    color: #fff;
    border: none;
    padding: 0.75rem 1.2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.formulario-solicitud button:hover {
    background-color: #005fa3;
}

.form-label{
    padding-top: 7px;
}

.nopad{
    padding: 0 !important;
    margin: 0 !important;
}

.block-button{
    display: flex;
    flex: 1;
    align-items: center;
    padding: 15px;
}

.round-button{
    display: flex;
    flex: 1;
    border-radius: 50%;
    border: 3px solid #eee;
    align-items: center;
    justify-content: center;
    min-width: 65px;
    min-height: 65px;
    max-width: 65px;
    max-height: 65px;
    font-size: 25px;
    color: #fff;
    font-weight: bold;
    background-color: #20c4e0;
}

.button-label{
    display: flex;
    padding-left: 15px;
    font-weight: 600;

}



.sedeIcon{
    max-width: 100%;
    filter: invert();
}


.btn.disabled-button{
    opacity: 0.2 !important;
    cursor: not-allowed !important;
}





















.noticia {
    border-bottom: 1px solid #ddd;
    padding: 2rem 0;
  }
  
  .noticia img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
  }
  
  .titulo-noticia {
    font-size: 1.5rem;
    margin-bottom: 0.3em;
  }
  
  .fecha-noticia {
    font-size: 0.9rem;
    color: #666;
  }
  
  .meta-noticia .leer-mas {
    color: #007bff;
    text-decoration: none;
  }
  .meta-noticia .leer-mas:hover {
    text-decoration: underline;
  }
  
  .card-img-top{
    border-radius: 0;
    max-width: 95%;
  }



  .recursos{margin-top: 45px;}


  .recursos strong{
    background-color: #000;
    color: #ffffff;
    padding: 7px;
    margin-top: 45px;
    display: inline-block;
  }


  .fc-daygrid-dot-event .fc-event-title{
    font-weight: 400;
    font-size: 11px;
  }

  .footer-logos img{
    max-width: 200px;
  }

  img.invert{
    filter: invert();
  }



.onlym{display: none !important;}

.onlye{display: block !important;}

@media (max-width: 768px) {

    .onlym{display: block !important;}

    .onlye{display: none !important;}
  
}


.fc-toolbar-title{
    font-size: 18px !important;
}






.loginwrap{
    margin: auto;
    padding: 25px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 15px 0 rgba(0,0,0,0.2);
    max-width: 500px;

}

.sendbtn{
    padding: 7px;
    background-color: #20c4e0;
    color: #fff;
    cursor: pointer;
}


.fc-daygrid-day-frame.selected{
    background-color: #721e1e;
    color: white;
}

.genbtn{
    background-color: #20c4e0;
    color: #fff;
    border: none;
    padding: 0.40rem 1.2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.fc-daygrid-dot-event .fc-event-title{overflow: visible; word-wrap: normal;}

.fc-daygrid-dot-event .fc-event-title {
    font-weight: 700;
    min-width: 0px;
    overflow: hidden;
    display: block;
    word-break: break-all;
    width: 69%;

    white-space: normal;
}