@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body{
 background: #fff;
}



.titleSectionServi {
    text-transform: uppercase;
    color: #e4002b;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #e4002b;
    display: flex;
    justify-content: center;
}

.titleSectionServi h3 {
    position: relative;
    top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background: #fff;
}

/*:::Boton-Modal:::*/
.boton-modal{
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin: auto;
    padding: 3%;
    background: #efefef;
}


.cont-modal{
    width: 40%;
    margin: auto;
}




.boton-modal label{
    padding: 10px 15px;
    background-color: #eb0028;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 300ms ease;
        margin: 2%;
}
.boton-modal label:hover{
    background-color: #ac2c2b;
}




.boton-modal{
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin: auto;
    padding: 3%;
    background: #efefef;
}


.cont-modal{
    width: 50%;
    margin: auto;
    padding-left: 15%;
}




.boton-modal label{
    padding: 10px 15px;
    background-color: #eb0028;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 300ms ease;
        margin: 2%;
}
.boton-modal label:hover{
    background-color: #ac2c2b;
}


/*:::Fin Boton-Modal:::*/

/*:::Ventana Modal:::*/
#btn-modal{
    display: none;
}

#btn-modal-2{
    display: none;
}

#btn-modal-3{
    display: none;
}

.container-modal{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0; left: 0;
    background-color: rgba(144, 148, 150, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.content-modal{
    width: 60%;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
}
.content-modal h2{
    margin-bottom: 15px;
}
.content-modal p{
    padding: 15px 0px;
    border-top: 1px solid #dbdbdb;
    border-bottom: 1px solid #dbdbdb;
    text-align: center;
}



.container-modal-2{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0; left: 0;
    background-color: rgba(144, 148, 150, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.content-modal-2{
    width: 60%;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
}
.content-modal-2 h2{
    margin-bottom: 15px;
}
.content-modal-2 p{
    padding: 15px 0px;
    border-top: 1px solid #dbdbdb;
    border-bottom: 1px solid #dbdbdb;
    text-align: center;
}


.container-modal-3{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0; left: 0;
    background-color: rgba(144, 148, 150, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.content-modal-3{
    width: 60%;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
}
.content-modal-3 h2{
    margin-bottom: 15px;
}
.content-modal-3 p{
    padding: 15px 0px;
    border-top: 1px solid #dbdbdb;
    border-bottom: 1px solid #dbdbdb;
    text-align: center;
}




#btn-modal:checked ~ .container-modal{
    display: flex;
}


#btn-modal-2:checked ~ .container-modal-2{
    display: flex;
}

#btn-modal-3:checked ~ .container-modal-3{
    display: flex;
}



.todos-servicios{
    /* display: flex; */
    margin: auto;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.UnServicio{
    width: 23%;
    margin: auto;
}


.content-modal .btn-cerrar{
    width: 100%;
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}
.content-modal .btn-cerrar label{
    padding: 7px 10px;
    background-color: #eb0028;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 300ms ease;
}
.content-modal .btn-cerrar label:hover{
    background-color:#ac2c2b;
}
.cerrar-modal{
    width:100%;
    height: 100vh;
    position: absolute;
    top:0; left: 0;
    z-index: -1;
}




.content-modal-2 .btn-cerrar-2{
    width: 100%;
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}
.content-modal-2 .btn-cerrar-2 label{
    padding: 7px 10px;
    background-color: #eb0028;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 300ms ease;
}
.content-modal-2 .btn-cerrar-2 label:hover{
    background-color:#ac2c2b;
}
.cerrar-modal-2{
    width:100%;
    height: 100vh;
    position: absolute;
    top:0; left: 0;
    z-index: -1;
}


.content-modal-3 .btn-cerrar-3{
    width: 100%;
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}
.content-modal-3 .btn-cerrar-3 label{
    padding: 7px 10px;
    background-color: #eb0028;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 300ms ease;
}
.content-modal-3 .btn-cerrar-3 label:hover{
    background-color:#ac2c2b;
}
.cerrar-modal-3{
    width:100%;
    height: 100vh;
    position: absolute;
    top:0; left: 0;
    z-index: -1;
}

@media (max-width: 1500px){
.cont-modal {
    width: 100%;
    margin: auto;
    padding-left: 30%}
}

@media (max-width: 1220px){
.cont-modal {
    width: 100%;
    margin: auto;}
}

@media (max-width: 1020px){
.cont-modal {
    width: 100%;
    margin: auto;}
}

@media (max-width: 870px){
.cont-modal {
    width: 85%;
    margin: auto;
    padding-left: 12%;}
}


@media screen and (max-width:800px) {
    .content-modal{
        width: 90%;
    }
}


@media (max-width: 720px){
.cont-modal {
    display: flex;
    flex-wrap: wrap;
    /* flex-direction: row; */
    width: 100%;
    padding-top: 3%;
    padding-bottom: 3%;
    margin: auto;
    padding-left: 1%;
}
    .boton-modal label {
    padding: 15px 35px;
    background-color: #eb0028;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 300ms ease;
    margin: auto;
    margin-top: 2%;
        margin-bottom: 2%;
}
    
}


@media (max-width: 530px){
.cont-modal {
    display: flex;
    flex-wrap: wrap;
    /* flex-direction: row; */
    width: 100%;
    padding-top: 3%;
    padding-bottom: 3%;
    margin: auto;
    padding-left: 1%;
}
    .boton-modal label {
    padding: 3% 25%;
    background-color: #eb0028;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 300ms ease;
    margin: auto;
    margin-top: 2%;
    margin-bottom: 2%;
        font-size: 20px;
}
    
}



@media (max-width: 430px){
.cont-modal {
    display: flex;
    flex-wrap: wrap;
    /* flex-direction: row; */
    width: 100%;
    padding-top: 3%;
    padding-bottom: 3%;
    margin: auto;
    padding-left: 1%;
}
    .boton-modal label {
    padding: 3% 25%;
    background-color: #eb0028;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 300ms ease;
    margin: auto;
    margin-top: 2%;
    margin-bottom: 2%;
    font-size: 20px;
    width: 350px;
    text-align: center;
}
    .content-modal {
    width: 80%;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    /* flex-direction: column; */
    overflow-y: scroll;
    height: 50%;
}
    
.todos-servicios {
    /* display: flex; */
    margin: auto;
    display: flex;
    /* flex-wrap: wrap; */
    width: 100%;
    flex-direction: column;
    overflow-y: scroll;
} 

.content-modal-1 {
    width: 85%;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    overflow-y: scroll;
    height: 60%;
}  
    
.content-modal-2 {
    width: 85%;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    overflow-y: scroll;
    height: 60%;
}    
    
.content-modal-3 {
    width: 85%;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    overflow-y: scroll;
    height: 60%;
}   
    
.content-modal p {
    padding: 0px 0px;
    padding-bottom: 15p;
     border-top: 1px solid #fff; 
     border-bottom: 1px solid #fff;
    text-align: center;
    margin-bottom: 15%;
} 
 
.content-modal-2 p {
    padding: 0px 0px;
    padding-bottom: 15p;
    border-top: 1px solid #fff; 
     border-bottom: 1px solid #fff;
    text-align: center;
    margin-bottom: 15%;
}    
    
.content-modal-3 p {
    padding: 0px 0px;
    padding-bottom: 15p;
   border-top: 1px solid #fff; 
     border-bottom: 1px solid #fff;
    text-align: center;
    margin-bottom: 15%;
}    
    
.UnServicio {
    width: 75%;
    margin: auto;
} 
    
.content-modal h2 {
    margin-bottom: 15px;
    text-align: center;
}
    
.content-modal-2 h2 {
    margin-bottom: 15px;
    text-align: center;
}
    
.content-modal-3 h2 {
    margin-bottom: 15px;
    text-align: center;
}    
    
}



/*:::Fin Ventana Modal:::*/

