body{
    background-image: url('../recursos/background/bk_blue.jpg');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.titulo-page{
    background-image: url('../recursos/fondosesiones.jpg');
    background-size: cover;
    z-index: 2;
}

.tipos-sesiones {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px;

}
.card{
    width: 70%;
    border: none;
}
@media screen and (max-width:768px) {
    .tipos-sesiones {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 00px;
        width: 100%;
        margin: 0;
    
    }
    .card{
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }
}


.card-body  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 0;
}

.card-body img {
    height: 220px;
    overflow-y: auto; 
    border: 1px solid #bbbbbb;
    padding: 20px;
}

.nav-tabs {
    cursor: pointer;
}
.nav-tabs li:hover {
    background-color: rgb(216, 214, 214);
    border-radius: 10px;
    border: none;
}

.nav-tabs .active{
    background-color: #332065 !important;
}

.tipos-sesiones .nav-item a{
    font-size: 1.5rem !important;
    margin: 0;
    padding: 0.5rem 3rem;
}
@media screen and (max-width:768px) {
    .tipos-sesiones .nav-item a{
        font-size: 1rem !important;
        margin: 0;
        padding: 0.5rem 1.2rem;
    }
}

/* nav  sesiones*/

.card-body button{
    border: none;
    padding: 0;
    margin: 0rem;
    text-decoration: none;
    cursor: pointer;
    padding: 0.5rem 5rem ;
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
    border: 1px solid #8A69D4;
}
.card-body i{
    position: absolute;
    color: #FFFFFF;
    left: 12%;
    top: 93%;
}
.boton-menu{
    background-color: white;
    color:#332065;
    font-size: 1rem;
}
.boton-menus{
    background-color: white;
    color:#202d65;
    font-size: 1rem;
}

.boton-menu.active  {
    background-color:#8A69D4;
    color: #332065;
    width: 100%;
    position: relative;
}

.boton-menus.actives  {
    background-color:#2c68d8;
    color: #332065;
    width: 100%;
    position: relative;
}
@media screen and (max-width:768px) {
    .card-body i{
        position: absolute;
        color: #FFFFFF;
        left: 40px;
        top: 93%;
    }
    .card-body button{
        text-decoration: none;
        cursor: pointer;
        padding: 0rem 0.3rem ;
        border-top-left-radius: .5rem;
        border-bottom-left-radius: .5rem;
        border: 1px solid #8A69D4;
        font-size: 10px;
        padding-left: 0px;
    }

    .card-body aside{
        display: flex;
        flex-direction: column;
    }
    
}


/* separacion.--------------------------------- */
.card-body{
    position: relative;
    height: 600px;
    overflow-y: auto; 
    border: 0px;
    border-radius: 5px;
    padding: 20px;
    max-height: 620px;

    display: grid;
    grid-template-columns: 1fr 4fr;
    background-color: #332065;
    
    overflow-y: hidden;
    overflow-x: hidden;
}

.card-body aside{
    margin-top: 2rem;
    padding-top: 0rem;
    padding-block-end: 2rem;
    position: sticky;
    height: 87%;
    width: 110%;
    top: 0;
    display: flex; /* quita separacion sesiones*/
    justify-content:right;
    padding-right: 0px;
    overflow-Y: scroll; 
}

.card-body ul{
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

@media screen and (max-width:768px) {
    .card-body .boton-menu{
        line-height: 1.15;
    }
    .card-body .boton-menus{
        line-height: 1.15;
    }
}

/* ------------------- */
.contenedor-sesiones{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items:center;
    height: 100%;
    background-color: #8A69D4;
    border-radius: 10px;
}
.contenedor-sesionesS{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items:center;
    height: 100%;
    background-color: #2c68d8;
    border-radius: 10px;
}

.contenedor-sesiones img{
    border: none;
    height: 400px;
    width: 270px;
    object-fit: cover; 
}

.contenedor-sesionesS img{
    border: none;
    height: 400px;
    width: 270px;
    object-fit: cover; 
}

/* Contenedor sesiones */
.sesion{
    height: 100%;
    width: 60%;
    padding: 10px;
}
.sesions{
    height: 100%;
    width: 60%;
    padding: 10px;
}
.infosesion{
    position: relative;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content:center;
    text-align: center;
    align-items: center;
    width: 100%;
    overflow: hidden; 
}

.infosesion a{
    background-color: #FB4D44;
}

.infosesion a:hover{
    justify-content: center;
    background-color: #f8342a;
}

.infosesion .card-title{
    color: #332065;
    font-family: 'Dilo';
    font-size: 2.3rem;
}

.infosesion .card-text{
    color: #FFFFFF;
    font-size: 1rem;
    max-height: 180px; 
    text-overflow: ellipsis;
    overflow: hidden;
}
@media screen and (max-width:768px) {
    .sesion{
        height: 100%;
        width: 100%;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .sesions{
        height: 100%;
        width: 100%;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .infosesion{
        height: 70%;
    }
    
    .infosesion a{
        background-color: #FB4D44;
        font-size: 0.8rem;
    }
    
    .infosesion a:hover{
        justify-content: center;
        background-color: #f8342a;
    }
    
    .infosesion .card-title{
        color: #332065;
        font-family: 'Dilo';
        font-size: 2rem;
    }
    
    .infosesion .card-text{
        font-size: 0.9rem;
        max-height: 210px; 
        text-overflow: ellipsis;
        overflow: hidden;
    }

}
/* ANEXOS */
.anexos{
    background-color: #551CD3;
    height: 30%;
    margin: 0;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    padding: 5px auto;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

.anexos button{
    background-color: #f5bd30;
    margin: 0 15px;
    padding: 5px 30px;
    border: none;
    border-radius: 5px;
}


@media screen and (max-width:768px) {
    .anexos{
        background-color: #551CD3;
        height: 30%;
        margin: 0;
        display: flex;
        width: 180px;
        font-size: 0.8rem;
        padding: 0;
    }
    
    .anexos button{
        background-color: #f5bd30;
        margin:  2px;
        border: none;
        border-radius: 5px;
        padding: 7px 10px;
    }

    .contenedor-sesiones img{
        display: none; 
    }
    .contenedor-sesionesS img{
        display: none; 
    }

}

.oculto {
    display: none;
}


.card-body aside{
    color: #f8342a !important;
    display: flex;
    justify-content: left;
    
    overflow: hidden;
}

.card-body aside nav ul li {
    width: 120%;
}


.card-body aside nav ul li button{
    display: flex;
    justify-content: left;
    font-weight: 800;
    width: 100%;
    padding-left: 20px;
}

@media screen and (max-width: 768px) {
    .contenedor-sesiones .dok{
        display: none;
    }
    .contenedor-sesionesS .dok{
        display: none;
    }
    .card-body aside nav ul li button{
        display: flex;
        justify-content: left;
        font-weight: 800;
        width: 100%;
        
        padding: 10px 0;
        padding-left: 10px;
    }
    .contenedor-sesionesS{
        width: 256px;
    }
}
