﻿* {
    box-sizing: border-box;
    outline: none !important;
    font-family: 'Noto Sans', sans-serif;
}

.banner {
    position: relative;
    background-image: url('/img/CNV/cnv_banner.png');
    background-color:#139835;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 70%;
    width: 100%;
}
    .banner h1 {
        position: absolute;
        top: 35px;
        right: 40px;
        margin: 10px;
        text-align: end;
        font-size: 4.5rem;
        font-weight: bold;
    }
@media screen and (max-width: 768px) {
    .banner {
        padding: 10px;
    }
}
.body-text {
    font-size: 18px;
    margin-top: 15px;
}
.body-title{
    font-size:2rem;
    font-weight:bold;
    margin-top:15px;
}
.cnv-text{
    font-size:18px;
    text-align:justify;
    margin: 0 auto;
    height:auto;
    width:80%;
    color:dimgrey;
    font-weight:bold;
    margin-top:15px;
}
.circulo-1{
    height: 122px;
    width: 122px;
    border: 3px solid #bc955a;
    border-radius: 50%;
    margin-left: -53px;
    background-color: white;
    margin-top: -117px;
}
.grid-container{
    display:grid;
    grid-template-rows:auto auto;
    gap:15px;
    position:relative;
}
.container-cnv1 {
    border: 3px solid #bc955a;
    height: 120px;
    margin-left: 53px;
    border-radius: 20px 50px 50px 15px;
    width:50%;
}
.container-cnv1-title {
    color: #6f1b35;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    width: 70%;
}
.container-cnv1-2 {
    height: 100%;
    width: 80%;
    margin-left: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: justify;
    font-size: 16px;
    font-weight: bold;
}
.container-cnv2 {
    border: 3px solid #bc955a;
    height: 120px; 
    border-radius: 50px 20px 20px 50px;
    width: 50%;
    float:right;
    margin-top:10px;
}
.container-cnv2-2 {
    height: 100%;
    width: 80%;
    margin-right: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: justify;
    font-size: 16px;
    font-weight: bold;
}
.circulo-2 {
    height: 122px;
    width: 122px;
    border: 3px solid #bc955a;
    border-radius: 50%;
    margin-right: -51px;
    float: right;
    background-color: white;
    margin-top: -117px;
}

.section-box-height {
   height:120px;
   margin-left:20px;
}
.section-box-left-f {
    display: flex;
    justify-content: end;
    align-items: center;
    height: 100%;
    font-size: 19px;
    font-weight: bold;
}
.section-box-right-f {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 100%;
    font-size: 19px;
    font-weight: bold;
}
.style-p {
    font-weight: bold;
    font-size: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.section-box-right {
    height: 130px;
    width: 55%;
    border-radius: 60px 60px 60px 60px;
    margin-left: 50px;
}
.first-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}
.second-text {
    text-align: justify;
    font-size: 15px;
}
/*clase de botones*/
.circle {
    height: 120px;
    width: 120px;
    background-color: #dde1e7;
    border-radius: 20px;
    margin-left: -16px;
    margin-top: -1px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 50%;
    box-shadow: inset -5px -5px 9px rgba(255,255,255,0.45), inset 5px 5px 9px rgba(200,206,214,0.3);
}

    .circle::after {
        content: '';
        position: absolute;
        height: 60%;
        width: 60%;
        border-radius: 50%;
        box-shadow: -5px -5px 9px rgba(255,255,255,0.45), 5px 5px 9px rgba(94,104,121,0.3);
        background: #dde1e7;
    }
.circle-2 {
    height: 120px;
    width: 120px;
    background-color: #dde1e7;
    border-radius: 20px;
    margin-left: -28px;
    margin-top: -1px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 50%;
    box-shadow: inset -5px -5px 9px rgba(255,255,255,0.45), inset 5px 5px 9px rgba(200,206,214,0.3);
}

    .circle-2::after {
        content: '';
        position: absolute;
        height: 60%;
        width: 60%;
        border-radius: 50%;
        box-shadow: -5px -5px 9px rgba(255,255,255,0.45), 5px 5px 9px rgba(94,104,121,0.3);
        background: #dde1e7;
    }
.paragrap-cicle {
    z-index: 1;
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
}
/*section 4*/
.container-box {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 5px;
}
.boxes {
    height: 250px;
    width: 100%;   
}
.boxes-title {
    height: 30%;
    width: 100%;   
}
.boxes-title p{
    margin-top:5px;
    text-align:center;
    font-size:16px;
    font-weight:bold; 
}
.boxes-circle {
    height: 150px;
    width: 150px;
    border-radius: 50%;
    border: 6px solid #ca975a;
    margin: 15px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor:pointer;
}
.boxes-circle img{
    height:180px;
    width:180px;
}
.boxinit {
    height: 50px;
    width: 100%;    
    position: relative;
    background-color: #206b6a;
}
    .boxinit::after {
        content: "";
        position: absolute;
        right: -20px;
        height: 36px;
        width: 36px;
        margin-top: 7px;
        transform: rotate(45deg);
        background-color: #206b6a;
        z-index: -1;
        border-right: 2px solid white;
        border-top: 2px solid white;
    }
    .boxinit:before {
        content: "";
        position: absolute;
        left:-20px;
        height: 36px;
        width: 36px;
        margin-top: 7px;
        transform: rotate(45deg);
        background-color: white;
        z-index:2 ;
        border-right: 2px solid white;
        border-top: 2px solid white;
    }
    /**/
.boxinit-2 {
    height: 50px;
    width: 100%;
    position: relative;   
    background-color: #206b6a;
    z-index: -2;
}

    .boxinit-2::after {
        content: "";
        position: absolute;
        right: -17px;
        height: 36px;
        width: 36px;
        margin-top: 7px;
        transform: rotate(45deg);
        background-color: #206b6a;
        z-index: -1;
        border-right: 2px solid white;
        border-top: 2px solid white;
    }
.boxinit-3 {
    height: 50px;
    width: 100%;
    position: relative;
    background-color: #206b6a;
    z-index: -3;
}

    .boxinit-3::after {
        content: "";
        position: absolute;
        right: -17px;
        height: 36px;
        width: 36px;
        margin-top: 7px;
        transform: rotate(45deg);
        background-color: #206b6a;
        z-index: -1;
        border-right: 2px solid white;
        border-top: 2px solid white;
    }
.boxinit-4 {
    height: 50px;
    width: 90%;
    position: relative;
    background-color: #206b6a;
    z-index: -4;
}

    .boxinit-4::after {
        content: "";
        position: absolute;
        right: -19px;
        height: 36px;
        width: 36px;
        margin-top: 7px;
        transform: rotate(45deg);
        background-color: #206b6a;
        z-index: -1;
        border-right: 2px solid white;
        border-top: 2px solid white;
    }
.textcnv {
    width: 50%;
    float: right;
}
.reacnv {
    display: grid;
    grid-template-columns: 1fr .5fr;
    gap: 5px
}

.img-carousel {
    width: 100%;
}
/* Bloquear el desplazamiento del fondo cuando se abre el modal */
.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Estilo general del modal */
.modal {
    position: fixed !important;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden !important;
    overflow-y: scroll !important;
}
/* Centrar el modal vertical y horizontalmente */
.modal-dialog {
    position: relative !important;
    max-width: 60%;
    margin: auto !important;    
    overflow: hidden !important;
    height:auto;
}

/* Centrar el modal verticalmente */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.modal-content {
    max-height: 90vh;
    overflow: hidden;   
}

.modal-body {    
    overflow-y: auto;
}

.carousel-inner > .item > img {
    max-width: 100%;
    max-height: 100vh;
    height: auto;
    margin: 0 auto;
}

.carousel-control {
    width: 5%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
    top: 0;
}

.carousel-control.left,
.carousel-control.right {
    background-image: none;
}
.imacnv {
    height: auto;
    width: 100%;
    text-align: center
}
.paco-cnv {
    display: flex;
    grid-template-columns: repeat(3,1fr);
    gap: 25px
}
@media (max-width: 1024px) {
    .firstcnv {      
        grid-template-columns: 1fr;
        width: 100%;
        height: auto;        
        margin: 0 auto;
        margin-top: 25px;
    }
    .reacnv {
        grid-template-columns: 1fr;
        width: 100%;
        height: auto;
        margin: 0 auto;
        margin-top: 25px;
    }
    .container-cnv1 {
        border: 3px solid #bc955a;
        height: 120px;
        margin-left: 53px;
        border-radius: 20px 50px 50px 15px;
        width: 90%;
    }
    .container-cnv2 {
        border: 3px solid #bc955a;
        height: 120px;
        border-radius: 50px 20px 20px 50px;
        width: 90%;
        float: right;
        margin-top: 10px;
        margin-right:50px;
    }
    .textcnv{
        
        width: 100%;
    }
 
   
}
/*@media (max-width: 600px) {    
    .firstcnv {
        display:grid;
        grid-template-columns: 1fr;
        width: 100%;
        height: auto;
        margin: 0 auto;
        margin-top: 25px;
        font-size:5px
    }
    
    .container-cnv1-2 {
        height: 100%;
        width: 100%;
        margin-left: 90px;*/
        /*display: flex;
        justify-content: center;
        align-items: center;
        text-align: justify;
        font-size: 16px;
        font-weight: bold;*/
    /*}
}*/

.cardscnv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: 800px;
    height: 300px;
    gap: 20px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .firstcnv {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        height: auto;
        margin: 0 auto;
        margin-top: 25px;
        font-size: 5px
    }
    .container-cnv1 img, .container-cnv2 img, .circulo-1, .circulo-2 {
        display: none;
    }    
    .container-cnv1 {    
        flex-direction:column;
        align-items: start;        
        margin: 0 auto;
        border-radius: 10px;
       
    }       
        .container-cnv2 {
            flex-direction: column;
            align-items: center;
            padding: 10px;
            margin: 0 auto;
            border-radius: 10px;
        }
    .container-cnv1-title{
    width:100%;
    font-size:16px !important;
    margin-bottom:8px !important;
    }
    .container-cnv1-2 {
        width: 100%;
        text-align: center;
        display: contents;
    }
    .container-cnv2-2 {
        width: 100%;
        text-align: center;
    }
        .container-cnv1-2 p, .container-cnv2-2 p {
            width: 100%;
            margin: 0; 
        }
    .container-cnv1-title {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .textcnv {
        text-align: center;
    }
    .imacnv {
        height: auto;
        width: 100%;
        text-align: center;
        margin-top:80px;
    }
    .first-block {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        height: auto;
        margin: 0 auto;
        margin-top: 25px;
        font-size: 5px;
        gap:20px;
    }
    .style-p{
        display:none;
    }
    .section-box-right {
        height: 150px;
        width: 100%;
        border-radius: 60px 60px 60px 60px;
        margin-left: -5px;
    }
    .ante1-cnv{

    }
    .circle {
        height: 140px;
        width: 120px;
        background-color: #dde1e7;
        border-radius: 20px;
        margin-left: -16px;
        margin-top: -1px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        border-radius: 40%;
        box-shadow: inset -5px -5px 9px rgba(255, 255, 255, 0.45), inset 5px 5px 9px rgba(200, 206, 214, 0.3);
    }
    .circle-2 {
        height: 140px;
        width: 120px;
        background-color: #dde1e7;
        border-radius: 20px;
        margin-left: -16px;
        margin-top: -150px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        border-radius: 40%;
        box-shadow: inset -5px -5px 9px rgba(255, 255, 255, 0.45), inset 5px 5px 9px rgba(200, 206, 214, 0.3);
    }
    .fcnv {
        height: auto;
        margin-top: -70px;
        width: 70%;
        margin-left: 110px;
    }
    .fcnv2 {
        height: auto;
        margin-top: -9px;
        width: 70%;
        margin-left: 110px;
    }
    .section-box-left-f {
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
        font-size: 19px;
        font-weight: bold;
        margin-top: 60px;
    }
    .section-box-right-f {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        font-size: 19px;
        font-weight: bold;
        margin-top: -285px;
    }
    .section-box-height {
        height: 120px;
        margin-left: 20px;
        margin-top: -250px;
    }
    .sec-bx-rgt2 {
        height: 180px;
        width: 100%;
        border-radius: 60px 60px 60px 60px;
        margin-top:-125px;
    }
    .fcnv3 {
        height: auto;
        margin-top: -80px;
        width: 70%;
        margin-left: 102px;
    }
    .fcnv4 {
        height: auto;
        
        width: 70%;
        margin-left: 102px;
    }
    .circnv2-2 {
        height: 140px;
        width: 120px;
        background-color: #dde1e7;
        border-radius: 20px;
        margin-left: -16px;
        margin-top: -132px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        border-radius: 40%;
        box-shadow: inset -5px -5px 9px rgba(255, 255, 255, 0.45), inset 5px 5px 9px rgba(200, 206, 214, 0.3);
    }
    .fcnv5 {
        height:auto;
        width: 65%;
        margin-left: 110px;
        margin-top: -70px;
    }
    .first-block-z {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        height: auto;
        margin: 0 auto;
    
        font-size: 5px;
        gap: 20px;
    }
    .sec-bx-rgt3 {
        height: 150px;
        width: 100%;
        border-radius: 60px 60px 60px 60px;
        margin-top: -125px;
    }
    .fcnv6 {
        height: auto;
        width: 65%;
        margin-left: 110px;
        
    }
    .circnv2-3 {
        height: 140px;
        width: 120px;
        background-color: #dde1e7;
        border-radius: 20px;
        margin-left: -16px;
        margin-top: -132px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        border-radius: 40%;
        box-shadow: inset -5px -5px 9px rgba(255, 255, 255, 0.45), inset 5px 5px 9px rgba(200, 206, 214, 0.3);
    }
    .container-box {
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .paco-cnv {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px
    }
    .ft-fech {
        margin-top: 150px;
    }
    .rep-cnv {
        height: auto;
        width: 100%;
        margin-top: -150px;
    }
    .cardscnv {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 800px;
        height: auto;
        gap: 20px;
        margin: 0 auto;
    }
}