/*********************** INDEX *********************/
html {
    scroll-behavior: smooth;
  }

.title-page{
    color:#691C32;
    margin-top: 5px;
    scroll-margin-top: 170px;
}

.row-btn{
    display: flex;
    white-space: normal;
    justify-content: center;
    align-items: center;
}
@media (max-width: 768px){
    .row-btn{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        width: 60%;
    }
}

.btn-seccion{
    /* display: flex;
    white-space: normal;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    width: 95%;
    height: 90px;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #999, 2px 5px 4px rgba(0, 0, 0, 0.3);
    margin: 20px 0px 0px; */

    width: 100%;
    margin: 20px 0px 0px;
}

#btn-secciones {
   /* margin: 40px 0 0px; */
    scroll-margin-top: 100px !important;
}
.select{ /*movimiento botones*/
    display: flex;
    justify-content: center;
}

.select:hover{ /*movimiento botones*/
    transition: .8s;
    transform: scale(1.08);
} 

section {
    scroll-margin-top: 500px;
}

a, a:hover{
    text-decoration: none;
}

hr.red{
    margin-bottom: 30px !important;
}

p{
    text-align: justify;
    margin-bottom: 15px;
}

/************* STYLE VIDEOS **************/
.panel-body .row{
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* iguala alturas */
}
.content-miniatura{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    gap: 15px;
    transition: transform .2s ease; /*Tiempo de transición del movimiento al pasar el cursor*/
} 

.content-miniatura:hover{
    transform: translateY(-3px); /*Movimiento al pasar el cursor*/
}

.style-miniatura{
    border: 2px solid #691C32;
    border-radius: 15px;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #999, 2px 12px 10px rgba(0, 0, 0, 0.3);
}

.content-miniatura h6, .sec-video h6{
    color: #9F2241; 
    /* color: #691C32; */
    font-weight: 500;
    font-size: medium;
    margin-bottom: 30px;
    text-align: center;
    font-size: small;
    
}

.sec-video{
    background-color: #f5efe3;
    padding: 15px 0px 15px;
    margin: 0px 10px 35px;
    border-radius: 10px;
}

.sec-video h6{
    color: #9F2241; 
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center;
    font-size: smaller;
}

.sec-video p, .table p{
    padding: 0 10px 0;
    text-align: justify;
    font-size: smaller;
    color: #404041;
}


/************* STYLE PDF´S **************/
.icon-pdf {
    width: 40%;
    min-width: 60px;
    vertical-align: middle !important;
}
.td-icon-pdf {
    width: 10%;
    min-width: 60px;
    vertical-align: middle !important;
}
.td-text{
    vertical-align: middle !important;
}
.table h6{
    color: #9F2241; 
    font-weight: 500;
    margin: 0px 15px 10px;
    text-align: start;
    font-size: smaller;
}



/************* MODAL**************/
.pestania-modal{
    display: none; /* oculto por defecto */
}
.pestania-modal.active{
    /* Centrado */
    display: flex;
    align-items: center;
    justify-content: center;

    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);    
}

/* Contenedor del modal*/
.modal-content {
    position: relative;
    width: 100%;
    max-width: 950px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Botón de cierre */
.btn-cerrar-modal {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
    font-size: 28px;
    font-weight: bold;
    /*cursor: pointer;*/
    color: #2e2e2e;
    z-index: 10;
}

/*Contenedor del video/pdf */
.iframe-content-modal{
    width: 100%;
    height: 0;
    padding-bottom: 50%;
    position: relative;
}

/* Iframe */
.iframe-contenido{
    position: absolute;
    width: 100%;
    height: 100%;
}


/************* FLECHA DE DESPLAZAMIENTO **************/
a.scroll-up{
    position: fixed;
    z-index: 10;
    bottom: 15px;
    right: 12px;
    border-radius: 5px;
    background-color: #691C32;
    color: #fff;
    opacity: 0.7;
    width: 30px;
    height: 30px;
    font-size: 20px;
    align-content: center;
    text-align: center;
}

a.scroll-up:hover{
    opacity: 1;
}


/* ************* TOOLTIP ************* */
.tooltip-gob {
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
}

.tooltip-gob-text {
    position: absolute;
    top: 2%;
    left: 1px;
    transform: translateY(-50%) scale(0.95);
    background: #235B4E; 
    color: #FFFFFF;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.4;
    min-width: 180px;
    max-width: 260px;
    white-space: normal;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: all 0.25s ease-in-out;
    z-index: 9999;
}

.tooltip-gob:hover .tooltip-gob-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}
