*,
::before,
::after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.banner{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 75px;
    width: 100%;
    height: 500px;
    background-image: url('images/fondo_242.jpeg');
    background-color: #cccccc;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 998;
    box-shadow: 0px 0px 10px #333;
}
.line_banner{
    width: 100%;
    height: 100%;
    background-color: #001735;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text_banner{ 
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translate(-50%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60%;
    border-radius: 25px;
    background-color: #f0f8ffad;
}
.t-banner{
    margin: 0 auto;
    text-align: center;
    color: #000;
    font-size: 26px;
    font-weight: 600;
    margin: 0 auto 5px;
    text-shadow: 0px 0px 16px grey;
}
.t-banner_1{
    font-size: 35px;
    color: white;
    text-align: center;
    display: block;
    background-color: var(--color-fondo);
    margin: 15px;
    border-radius: 15px;
}
.img_banner{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    margin-top: 15px;
}
.content{
    display:flex;
    gap: 20px;
    width: 100%;
    min-height: 400px;
    padding: 25px 25px;
    margin: 0 auto;
}
/* FORMACION */
.banner_formacion{
    height: 250px;
    width: 100%;
    background-color: #dcdcdc;
    box-shadow: 0px 0px 10px #333;
    display: flex;
    justify-content: center;
    align-items: center;
}
.left_banner_forma{
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    width: 100%;
    height: 200px;
}
.right_banner_forma{
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    width: 100%;
    height: 200px;
}
.uo_forma{
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.down_forma{
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.titulo_forma{
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.titulo_forma span{
    font-size: 25px;
    color: #555;
}
.titulo_forma img{
    width: 45px;
}
.img_aulap{
    width: 350px;
}
.img_atlantic{
    width: 150px;
}
/* NOTICIAS */
.cards{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    width: 80%;
    margin: 0 auto;
}
.header_cards{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    background-color: var(--color-fondo);
    border-radius: 50px;
    color: white;
    font-size: 25px;
    text-align: center;
}
.d_content_news{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.carta{
    width: 49%;
    position: relative;
    border-bottom: 0.5px solid #ccc;
}
.carta h2{
    margin:10px 0px;
    color: black;
}
.content_carta{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 275px;
    padding: 20px;
    text-align: justify;
    color: #555;
    cursor: pointer;
    border: 1px solid #dcdcdc;
    overflow: hidden;
}
.f_not{
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 13px !important;
    color: #555;
}
.images_carta{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
}
.images_carta img{
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 4px;
    /* object-position: 0% 25%; */
}
.texto_carta{
    display: flex;
    flex-direction: column;
    justify-content: start;
    font-size: 12px;
}
.txt_cuerpo{
    border: none;
    background-color: transparent;
    outline: none;
    box-shadow: none;
    width: 99%;
    resize: none;
    font-size: 16px;
    color: #333;
  }
/* .texto_carta > p{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
} */
.card{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    min-height: 100px;
    background-color: #eee;
    /*box-shadow: 2px 2px 5px #888;*/
}
.texto{
    display: flex;
    flex-wrap: wrap;
    color: #555;
    font-size: 20px;
    width: 50%;
    flex-grow: 2;
    padding-left: 20px;
}
.col{
    display: flex;
    justify-content: center;
    flex-grow: 1;
}
.col img{
    width: 40px;
}
.btn_azul{
    background-color: #cccccc;
    color: black;
    box-shadow: 2px 2px 2px #656565;
}
.btn_banner{
    margin-top: 30px;
    display:none;
}
.tablon_lateral{
    width: 350px;
    min-height: 300px;
    background-color: #eee;
    margin: 10px;
}
/* :::::::::::: ANIMACION BOTON UP TO START ::::::::::::: */
.ball_back{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #dedede;
    border-radius: 20%;
    box-shadow: 0px 0px 5px #555;
    /* border: 2px solid #777; */
    cursor: pointer;
    opacity: 0;
    z-index: 9;
}
.show{
    animation: .5s ease 0s normal forwards 1 anima_showBall_back;
}
.hide{
    animation: .5s ease 0s normal forwards 1 anima_hideBall_back;
}

.cdp-cookies-alerta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0px;
    left: 0px;
    background-color: #444444;
    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
    padding: 20px;
    opacity: 0.9;
}
.cdp-cookies-texto{
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}
.cdp-cookies-alerta {
    background-color: #333;
    color: #ddd;
}
.cdp-cookies-boton-cerrar{
    background-color: #777;
    width: 90px;
    height: 20px;
    color: white;
    text-decoration: none;
}
.cdp_cookies-button{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.div_carta_noticia{
    width: 100%;
    min-height: 100px;
    margin-top: 10px;
    /* border-radius: 5px; */
    background-color: #fff;
}
.div_carta_noticia img{
    width: 100%;
}
.d_h_noticia{
    display: flex;
    flex-direction: column;
    padding: 15px 15px 0px;
    text-align: justify;
}
.d_h_noticia a{
    text-decoration: none;
    color: black;
}
.img_noticia{
    padding: 5px 5px;
    border-radius: 5px;
}
.hora{
    margin-right: auto;
    margin-left: auto;
    padding: 0.2em;
    text-align: center;
    color: #777;
    width: 30%;
}
.carta ul {
    margin-left:25px;
}
.carta ul li{
    margin-bottom: 10px;
}
.b_desplaza{
    display: flex;
    
}
.btn_sig,
.btn_ant{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    width: 150px;
    height: 35px;
    background-color: #001735;
    color: white;
    border-radius: 5px;
    margin: 0 auto;
    cursor: pointer;
}
/* CALENDARIO AGENDA */
.div_calendario{
    padding: 10px;
}
.calendar{
    width: 100%;
    border-collapse: collapse;
}
.calendar-day, .calendar-day-head{
    border: 1px solid #ddd;
    padding: 5px;
    text-align: center;
}
.calendar-day-head{
    background: #ddd;
}
.today{
    background-color: #dcdcdc;
}
/* FIN CALENDARIO */
.btn_vermas{
    width: 110px;
    height: 20px;
    margin: 10px auto;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    background-color: #000;
    color: #eee;
    font-weight: bold;
}

/* MEDIA QUERY RESPONSIVE :::::::::::::::::::::::::::::::::: */
@keyframes anima_showBall_back {
    0% {
        opacity: 0;
    }
    70%{
        opacity: 1;
        transform:scale(1.1);
    }
    100% {
        opacity: 1;
        transform:scale(1);
    }
}
@keyframes anima_hideBall_back {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
/* :::::::::::: FIN ANIMACION BOTON UP TO START ::::::::::::: */
/* :::::::::::: MEDIA QUERY RESPONSIVE :::::::::::: */
@media screen and (max-width:1024px){
    .content{
        flex-direction: column !important;
        justify-content: center;
        padding: 25px 0;
    }
    .t-banner_1,
    .t-banner{
        font-size: 25px;
    }
    .tablon_lateral{
        margin: 10px auto;
        width: 77% !important;
    }
    
}

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

    .banner{
        width: 100%;
        height: 300px;
    }
    .banner_formacion{
        flex-direction: column;
        height: auto;
        padding-top: 20px;
    }
    .titulo_forma img{
        width: 50px;
    }
    .titulo_forma span{
        font-size: 20px;
    }
    .img_aulap{
        width: 310px;
    }
    .img_atlantic{
        width: 150px;
    }
    .content{
        flex-direction: column;
        width: 90%;
    }
    .tablon_lateral{
        width: 100% !important;
    }
    .cards{
        padding: 0;
        width: auto;
    }
    .texto{
        font-size: 15px;
        text-align: justify;
    }
    .carta{
        width: 100%;
    }
    .content_carta{
        flex-direction: column;
        gap: 10px;
        height: auto;
    }
    .carta h2{
        text-align: start;
    }
    .texto_carta{
        margin: 0;
    }
    .texto_carta p{
        font-size: 18px;
        text-align: start;
    }
}

@media screen and (max-width:648px){
    .t-banner_1,
    .t-banner{
        font-size: 23px;
        width: 325px;
    }
    .header_cards{
        font-size: 25px;
    }
    .col img{
        width: 50px;
    }
    .f_not{
        font-size: 10px !important;
    }
}

@media screen and (max-width:448px){
    .header_cards{
        font-size: 18px;
    }
    .text_banner{
        width: 90%;
    }
    .t-banner,.t-banner_1{
        width: auto;
    }
    .img_banner{
        width: 250px;
    }
}