/*---POPUP--------------------------------------------------------------------*/
.popup{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 8888;
    width: 100%;
    height: 100%;
    overflow: visible;
    background-color: rgba(0,0,0,0.5);
    text-align: center;
}
.popup .popup_contenido{
    display: inline-block;
    left: calc(50% - 10px);
    top: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
    background-color: #FFFFFF;
    border-radius: 5px;
    padding: 20px;
    min-width: 300px;
    margin: 0 10px;
    box-sizing: border-box;
    max-height: 95vh;
}
.popup .popup_contenido .popup_cerrar{
    position: absolute;
    font-size: 12px;
    top: 7px;
    right: 10px;
    font-weight: bold;
    color: red;
    text-transform: uppercase;
    cursor: pointer;
}
.popup .popup_contenido .load_popup_contenido{
    max-height: calc(95vh - 100px);
    overflow: auto;
    margin-top: 15px;
    text-align: left;
    margin-bottom: 90px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.popup .popup_contenido .load_popup_contenido h2{
    font-size: 22px;
    text-align: center;
}
.popup .popup_contenido .btn-cerrar{
    background-color: #dddddd;
    color: #777777;
    display: inline-block;
    margin: 15px auto 10px;
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.25s ease 0s;
}
.popup .popup_contenido .btn-cerrar:hover{
    background-color: #cccccc;
    color: #777777;
}
.popup .popup_contenido .cerrar_definitivo{
    position: absolute;
    bottom: 0px;
    text-align: center;
    width: 100%;
    left: 0px;
}
.popup .popup_contenido .cerrar_definitivo label{
    display: block;
    margin-top: 15px;
}
/*---FIN POPUP----------------------------------------------------------------*/

/*Media Queries*/
@media screen and (max-height: 450px){
    .popup .popup_contenido{
        top: 0;
        transform: translate(-50%,0%);
/*        height: 100%;*/
        overflow: none;
        box-sizing: border-box;
    }
}