/*Version 1.0.0*/

/*Documentos normativos CSS*/

.dn-img-fondo{
    max-width: 100%;
    height: auto;
}

.dn-overlay-text {
    position: absolute;
    top: 50%;
    left: 15%;
    /*Ajustardependiendodeltamañodelcírculoentuimagendefondo*/transform: translateY(-50%);
    width: calc(100% - 30%);
    /*El100%eselanchototal,y30%eselespacioquedejamosparaelcírculoyellogo*/color: #636161;
    /*Oelcolorquecorrespondaaldiseño*/padding-left: 100px;
    padding-right: 70px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.dn-overlay-text h5 {
    margin-bottom: 15px;
}

.dn-overlay-logo {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    padding-right: 15px;
    /*Ajustarsegúnseanecesario*/border-left: 5px solid #636161;
    padding-left: 15px;
    margin-right: 45px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.dn-img-logo {
    height: auto;
    max-width: 100px; /* Ajustar según el tamaño deseado para el logo */
}

.documento-normativo{
    position: relative;
}
.documento-normativo-text{
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 79%;
    height: 100%;
    /* padding: 1.6rem; */
    margin: 0 0 0 21%;
}
.documento-normativo-subtitle{
    color: black;
    margin: 0;
}
.documento-normativo-title{
    color:#039B2F;
    margin: 0;
    /* font-weight: bold; */
}
/* .documento-normativo-text div p,h5{
    font-size: 0%;
} */
/*Start Media Query*/

/*Movil*/
/* @media only screen and (max-width: 320px) {
    .documento-normativo-text{
        padding: 0.75rem;
    }
    .documento-normativo-title{
        font-size: 50%;
        margin: 0;
    }
    .documento-normativo-subtitle{
        font-size: 40%;
        margin: 0;
    }
}
@media only screen and (min-width: 321px) and (max-width: 374px){
    .documento-normativo-text{
        padding: 0.75rem;
    }
    .documento-normativo-title{
        font-size: 50% !important;
        margin: 0;
    }
    .documento-normativo-subtitle{
        font-size: 40% !important;
        margin: 0;
    }
}
@media only screen and (min-width: 375px) and (max-width: 425px){ */
    /* .documento-normativo-text{
        padding: 0 1.2rem 0 1.2rem;
    }
    .documento-normativo-title{
        font-size: 50pt !important;
        color: red;
        margin: 0;
    }
    .documento-normativo-subtitle{
        font-size: 20pt !important;
        margin: 0;
    } */
/* }*/
@media only screen and (min-width:0px) and (max-width: 350px){
    .documento-normativo-text{
        padding: 0 1.2rem 0 1.2rem;
    }
    .documento-normativo-title{
        font-size: 50% !important;
        margin: 0;
    }
    .documento-normativo-subtitle{
        font-size: 40% !important;
        margin: 0;
    }
}
@media only screen and (min-width:350px) and (max-width: 425px){
    .documento-normativo-text{
        padding: 0 1.2rem 0 1.2rem;
    }
    .documento-normativo-title{
        font-size: 60% !important;
        margin: 0;
    }
    .documento-normativo-subtitle{
        font-size: 50% !important;
        margin: 0;
    }
}
/* @media only screen and (max-width: 425px){
    .documento-normativo-text{
        padding: 0 1.2rem 0 1.2rem;
    }
    .documento-normativo-title{
        font-size: 60% !important;
        color: red;
        margin: 0;
    }
    .documento-normativo-subtitle{
        font-size: 50% !important;
        margin: 0;
    }
} */
@media only screen and (min-width:426px) and (max-width: 768px) {
    .documento-normativo-text{
        padding: 0 1.2rem 0 1.2rem;
    }
    .documento-normativo-title{
        font-size: 84% !important;
        margin: 0;
    }
    .documento-normativo-subtitle{
        font-size: 64% !important;
        margin: 0;
    }
    .dn-overlay-text {
        left: 10%; /* Ajustar para pantallas más pequeñas */
        width: calc(100% - 20%); /* Aumentar el espacio para el texto en pantallas más pequeñas */
        font-size: x-small;
        padding-left: 70px;
    }
    .dn-overlay-text h5 {
        margin-bottom: 2px;
        margin-top: 5px;
        font-size: small;
    }
    .dn-img-logo {
        max-width: 80px; /* Ajustar si es necesario en dispositivos móviles */
    }
    .dn-overlay-logo {
        padding-left: 2px;
        margin-right: 8px;
    }
}

/*Tablet*/

@media only screen and (min-width: 767px) and (max-width: 991px) {
    .dn-overlay-text {
        padding-left: 100px;
        padding-right: 70px;
        font-size: smaller;
    }
    .documento-normativo-text{
        padding: 0 1.5rem 0 1.5rem;
    }
    .documento-normativo-title{
        font-size: 140% !important;
        margin: 0;
    }
    .documento-normativo-subtitle{
        font-size: 90% !important;
        margin: 0;
    }
}

/*Laptop*/

@media only screen and (min-width: 992px) and (max-width: 1023px) {
     .documento-normativo-text{
        padding: 0 2rem 0 2rem;
    }
    .documento-normativo-title{
        font-size: 140% !important;
        margin: 0;
    }
    .documento-normativo-subtitle{
        font-size: 90% !important;
        margin: 0;
    }
}

/*Laptop O Tablet (caso especial)*/

@media only screen and (min-width: 930px) and (max-width: 991px) {
}

/*Desktop*/

@media only screen and (min-width: 1024px) {
    .documento-normativo-text{
        padding: 0 2rem 0 2rem;
    }
    .documento-normativo-title{
        font-size: 140% !important;
        margin: 0;
    }
    .documento-normativo-subtitle{
        font-size: 90% !important;
        margin: 0;
    }
}
/*Desktop HD*/

@media only screen and (min-width: 1440px) {
    .documento-normativo-text{
        padding: 0 2rem 0 2rem;
    }
    .documento-normativo-title{
        font-size: 160% !important;
        margin: 0;
    }
    .documento-normativo-subtitle{
        font-size: 110% !important;
        margin: 0;
    }
    .dn-overlay-logo {
        padding-left: 15px;
        margin-right: 135px;
    }
}

@media only screen and (min-width: 1840px) {

}