body {
    background-color: lightgray;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width:  100%;
}

#folio {
    background-color: white;
    width: 210mm;
    height: 90%;
    padding-top: 2%;
    padding-bottom: 2%;
    padding-left:  5%;
    padding-right:  5%;

    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    overflow: auto;
}
#canvasFirma {
    border: 2px dotted black;
    margin: 10px;
}
#canvasFirma canvas{
    height: 150px !important;
}

.card {
    position: relative;
    padding: 1%;
    display: -webkit-box;
    display: -ms-flexbox;
    /*display: flex;*/
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.1rem;
}
#contenedorBotones{
    display: flex;
    justify-content: space-around;
}
#textofirmadoya{
    font-size:30px;
    font-weight:bold;
}

@media (max-width: 1240px) {
    body {
        background-color: initial;
        width:  100%;
    }
    #folio {
        width: 100vh;
        font-size: 50px!important;
    }
    #canvasFirma {
        border: 6px dotted black;

    }
    #contenedorBotones{
        display: block;
    }
    .btn{ margin-top: 5%;
          font-size: 50px;
          width: 100%!important;
    }
    /*------*/
    #myModal > div{
        width:98%;
        max-width:98%;
    }
    #infoFirma{
        font-size:50px; 
    }
    #formDocumento{
        font-size:42px; 
        margin-bottom:0px;
    }
    #TipoRelacion_Interesado{
        font-size:36px;
    }
    .botones_formulario{
        margin:0px;  
        margin-bottom:16px;
    }
    #myModal > div > div > div.modal-header > button{
        font-size:50px; 
    }
    #firma{
        background:#eeecec;
        height:125px !important;
    }
    #contenedor_botonfirma{
        width: calc(100% - 14px) !important;
        height:100% !important;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        padding-top: 0px;
        align-content: center;
    }
}

