#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(79,79,79,0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal {
    display: none;
    background: white;
    border: 3px solid #9d9d9d;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/***********************/

#modal_instructivo {
    /*display: none;*/
    width: 90vw;
    width: 800px;
    height: 90vh;
    min-height: 400px;
    max-height: 850px;
    /*background: white;*/
    padding: 2px;
    /*border: 3px solid #9d9d9d;*/
    /*box-shadow: 0 0 20px rgba(0,0,0,0.3);*/
    overflow: auto;
}

#modal_instructivo .right{
    float: right;
}

#contenido_instructivo{
    padding: 20px;
    margin: 0;
    height: 100%;
}

#contenido_instructivo p{
    text-align:left;
}

#contenido_instructivo h2{
    padding-bottom:10px;
}

.instructivo {
    line-height: 1.5;
}

/***********************/

#modal_editor_texto {
    /*display: none;*/
    width: 90vw;
    width: 828px;
    height: 90vh;
    min-height: 400px;
    max-height: 592px;
    /*background: white;*/
    /*border: 3px solid #9d9d9d;*/
    /*box-shadow: 0 0 20px rgba(0,0,0,0.3);*/
    overflow: hidden;
}

#contenido_editor_texto{
    padding: 0;
    margin:0;
}


/***********************/

#modal_session_warning {
    /*display: none;*/
    width: 350px;
    /*background: white;*/
    padding: 20px 30px;
    /*border: 3px solid #9d9d9d;*/
    /*box-shadow: 0 0 20px rgba(0,0,0,0.3);*/
    text-align: center;
}

#modal_session_warning h2 {
    margin-bottom: 20px;
    font-size: 18px;
}

.session-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.session-buttons button {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#session-extend {
    background-color: #007bff;
    color: white;
}

#session-logout {
    background-color: #dc3545;
    color: white;
}

/*******************************/

#modal_session_expired {
    /*display: none;*/
    width: 350px;
    /*background: white;*/
    padding: 20px 30px;
    /*border: 3px solid #9d9d9d;*/
    /*box-shadow: 0 0 20px rgba(0,0,0,0.3);*/
    text-align: center;
}

#modal_session_expired h2 {
    margin-bottom: 20px;
    font-size: 18px;
}

#modal_session_expired .session-buttons {
    display: flex;
    justify-content: center;
}
