﻿.mfondo{
    height: 100vh;
    width: 100%;
    background: rgb(0,0,2,0.4);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    
}
        
.modal{
    background: white;
    position: absolute;
    border-radius: 5px;
    
    border: 1px solid #c7c7c7;
    height: 450px;
    width: 500px;   
    
}

.mfooter{
    display: flex;
    align-content:  center;
    justify-content: center;
    padding:10px;
    overflow: auto;
    grid-column-gap: 5px;
}
.mfooterborder {
    border-top: 1px solid #cdcdcd;
}

.modal_body2{
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: 100%;
    overflow:auto;
}


.modal_body3{
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    grid-template-columns: 100%;
    overflow:auto;
    
}

.modal_body3v2 {
    height: 100%;
    display: grid;
    grid-template-rows: auto auto 1fr;
    grid-template-columns: 100%;
    overflow: auto;
}

.modal_body4 {
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    grid-template-columns: 100%;
    overflow: auto;
}

.mModalCheck {
    display: inline-flex;
    column-gap: 5px;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    width: 100%;
}

.Mod_Normal{
      height: auto;       
}

.Mod_hv80{
    height: 80vh;
}

.Mod_ap80{
    width: 80%;
}

.Mod_hv90{
    height: 90vh;
}

.Mod_ap90{
    width: 90%;
}

.Mod_hv98 {
    height: 98vh;
}
.Mod_ap95 {
    width: 95%;
}

.Mod_1{
    width: 250px;
    height: auto;
}

.tamAncho360_720{
    width: auto;
    max-width: 360px;
}

.tamAncho420_720{
    width: 420px;
    max-width: 420px;
    
}

.mcontenidoMensaje{
    max-height: 500px;
    overflow: auto;
}


.mod_close{
    position: absolute;
    right: 5px;
    top: 5px;
    height: 30px;
    width: 30px;
    cursor: pointer;
}

.tam80{
    width: 80%;
    min-width: 250px;
}

.msj_450{
    width: 360px;
}

.mX_95{
    padding: 5px;
    border-radius: 50px;
    position: relative;
    left: 95%;
    
}

.mtitulo{
    
    font-weight: bold;
    padding:10px;
}

.mtituloborder {
    border-bottom: 1px solid #cdcdcd;
}

.mcontenido{
    height:100%;
}

.modal_250x420{
    height: 250px;
    max-width: 420px;
}

/* mensaje de onfirmacion*/

.modal_msj{
    border: 1px solid;
    width: 300px;
    height: auto;
    max-height: 400px;
    display: grid;
    grid-template-rows: auto 1fr;
    border: 1px solid #c7c7c7;         
    background: gray;
    border-radius: 5px;
    overflow: hidden;
    
}

.msj_header{
    background: #b2b2ff;
    
    
}
.msj_header_confirm{
            background: #ff5252;
            color: white;
        }
.msj_body{
    height: 100%;
    overflow: auto;
    background: white;
    padding: 10px;
}
.mcol2{
    display: grid;
    grid-template-columns: 1fr auto;
}
.msj_btnModal{
    background: #ff5252;
    border: none;
    color: white;
    height: 40px;
    width: 40px;
    cursor:pointer;
}

.msj_header_title{
    display: flex;
    align-items: center;
    padding: 10px;
}

.center_horizontal{
    justify-content: center;
}

.d_500_450{
    height:500px;
    width: 450px;
}

.ancho{
    height:500px;
    width: 450px;
}

.alto90 {
    height: 90%;
}

.mcontenido_scroll{
    overflow:auto;
}
        
.msj_options{
    background: white;
    display: flex;
    justify-content: flex-end;
    column-gap: 5px;
    padding: 10px;
}

.msj_options button{
    border: none;
    height: 30px;
    width: auto;
    cursor: pointer;
    color: white;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    
}

.msj_options button:nth-child(1){
    background: #53b753;
}

.msj_options button:nth-child(2){
    background: #ff5252;
}

.msj_options button:nth-child(1):hover{
    background: #96c496;
}

.msj_options button:nth-child(2):hover{
    background: #ff7c7c;
}

@media screen and (max-width:600px){
    
    .movil_msj_80{
        width: 80%;
    }
    .movil_ancho_95{
        width: 95%;
    }

    .movil_alto_90{
        height:90%;
    }
    .movil_alto_80{
        height:80%;
    }
}

@media screen and (max-height:500px) {

    .movil_msj_80 {
        width: 80%;
    }

    .movil_ancho_95 {
        width: 95%;
    }

    .movil_alto_90 {
        height: 90%;
    }

    .movil_alto_80 {
        height: 80%;
    }
    .movil_alto_95 {
        height: 95%;
    }

    .mcontenido{
        overflow:auto;
    }
    .movil_horizontal_alto90{
        height:90%;
    }
}

@media screen and (max-width:360px){
    .movil_msj_80{
        width: 80%;
    }
    .movil_alto_95 {
        height: 95%;
    }


    
}

