@font-face {
font-family: 'Avenir Black';
src: url('/fonts/Avenir\ Black.ttf') format('truetype');
}

@font-face {
        font-family: 'Avenir Medium';
        src: url('/fonts/Avenir\ Medium.ttf') format('truetype');
}

*{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
}

html{
        scroll-behavior: smooth;
}

body{
        font-family: 'Avenir Medium', sans-serif;
        place-items: center;
}

.coso-img {
        margin: auto;
        display: block;
}

.coso-img2 {
        margin: auto;
        max-width: 25%;
        display: block;
}

.coso-img3 {
        margin: auto;
        max-width: 10%;
        display: block;
        padding-top: 1em;
}

.navbar {
        background-color: #e4a947;
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: 0.1fr;
        align-items: center;
}

.the-logo .logo {
        background-color: #fff;
        display: flex;
        grid-template-columns: repeat(8, 1fr);
        grid-column: 2 / 8;
        margin: auto;
        height: 20em;
        width: 100%;
        padding: 40px;
}

.navbar .menu {
        grid-column: 2 / 7;
        display: flex;
        justify-content: space-around;
        text-align: center;
}

.navbar .menu li {
        list-style: none;
        display: inline-block;
}

.navbar .menu a {
        text-decoration: none;
        color: #fff;
        cursor: pointer;
        font-size: 1.2em;
}

.navbar .menu .cool:after {
        content: '';
        display: block;
        background-color: #fff;
        height: 3px;
        width: 0%;
        left: 0;
        bottom: 620px;
        transition: 0.3s;
}

.navbar .menu .cool:hover::after {
        width: 100%;
}

.navbar .menubar {
        display: none;
}

.navbar .socialmedia {
        text-decoration: none;
        color: #00526c;
        grid-column: 7 / 8;
        text-align: center;
        font-size: 1.5em;
        cursor: pointer;
}

.navbar .socialmedia .fab {
        text-decoration: none;
        color: #00526c;
}

.navbar .socialmedia .fab:hover {
        color: #fff;
}

.navbar .socialmedia .fab{
        margin: 20px;
        text-align: center;
}


.hero .load{
        animation: slide 2s;
}

.hero {
        height: 50vh;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: repeat(8,1fr);
        animation: slide 20s infinite;
}

@keyframes slide {
        0% {
                background-image: url(../img/slider1.jpg);
        }
        40% {
                background-image: url(../img/slider4.jpg);
        }
        60% {
                background-image: url(../img/slider3.jpg);
        }
        80% {
                background-image: url(../img/slider5.jpg);
        }
        100% {
                background-image: url(../img/slider2.jpg);
        }
}

.hero .info-content {
        grid-column: 2/6;
        grid-row: 3 / 5;
        color: #fff;
}

.hero h3 {
        font-family: 'Avenir Medium';
        font-size: 2.5em;
}

.hero h1 {
        font-size: 4em;
        font-family: 'Avenir Black';
        color: #87ccd4;
        font-weight: 600;
}

.noti {
        display: grid;
        grid-column: 2/6;
        grid-row: 3 / 5;
}

.noti h1{
        text-align: center;
        padding: 30px;
        color: #00526c;
        font-family:'Avenir Black';
}

.noti p{
        text-align: justify;
        padding-left: 60px;
        padding-right: 60px;
        padding-bottom: 20px;
        margin-top: 30px;
        color: #00526c;
}


.about {
        background-color: #00526c;
}


.about .arreglo-img {
        max-width: 100%;

}

.about h1{
        text-align: center;
        padding: 30px;
        color: #fff;
        font-family:'Avenir Black';
}

.about h3{
        text-align: center;
        padding-right: 60px;
        padding-left: 60px;
        padding-bottom: 20px;
        color: #fff;
        text-align: justify;
        font-weight: 400;
        font-size: 1em;
}

.about p{
        text-align:justify;
        padding-right: 60px;
        padding-left: 60px;
        padding-bottom: 20px;
        color: #fff;
        letter-spacing: 0.04em;
}

.aboutuno {
        background-color: #00526c;
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        height: 25vh;
}

.aboutuno1{
        grid-column: 2/5;
}

.aboutuno2{
        grid-column: 5/8;
}

.modal-contenido{
        background-color:#fff;
        width:70vw;
        padding: 20px 20px;
        margin: 20% auto;
        position: relative;
}

.modal-contenido2{
        background-color:#fff;
        width:70vw;
        padding: 20px 20px;
        margin: 20% auto;
        position: relative;
}

.modal-contenido h2{
        padding-bottom: 4%;
        text-align: center;
        color: #00526c;
}

.modal-contenido2 h2{
        padding-bottom: 4%;
        text-align: center;
        color: #00526c;
}

.modal-contenido .equis{
        color:#e4a947;
        font-size: 1.5em;
        margin-left: 95%;
}

.modal-contenido2 .equis2{
        color:#e4a947;
        font-size: 1.5em;
        margin-left: 95%;
}

.modal-contenido p{
        color:#00526c;
        font-size: 1em;
        margin-bottom: 2%;
}

.modal-contenido2 p{
        color:#00526c;
        font-size: 1em;
        margin-bottom: 2%;
}

.modal {
        background-color: rgba(0,0,0,.8);
        position:fixed;
        top:0;
        right:0;
        bottom:0;
        left:0;
        opacity:0;
        pointer-events:none;
        transition: all 1s;
}

.modal2 {
        background-color: rgba(0,0,0,.8);
        position:fixed;
        top:0;
        right:0;
        bottom:0;
        left:0;
        opacity:0;
        pointer-events:none;
        transition: all 1s;
}

#miModal:target{
        opacity:1;
        pointer-events:auto;
}

#miModal {
        text-align: justify;
}

#miModal2:target{
        opacity:1;
        pointer-events:auto;
}

#miModal2 {
        text-align: justify;
}


.modal-btn{
        display: flex;
        background-color: #fff;
        border-radius: 25px;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        padding: 2% 2%;
        margin-top: 10%;
        margin-left: 25%;
        margin-right: 25%;
        color: #00526c;
}

.modal-btn:hover{
        background-color: #87ccd4;
        color: #fff;        
}

.modal-btn2{
        display: flex;
        background-color: #fff;
        border-radius: 25px;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        padding: 2% 2%;
        margin-top: 10%;
        margin-left: 25%;
        margin-right: 25%;
        color: #00526c;
}

.modal-btn2:hover{
        background-color: #87ccd4;
        color: #fff;        
}


.servicios-item{
        padding: 2rem 4em;
        text-align: justify;
        color: #00526c;
}

.servicios-item h1{
        text-align: center;
        font-size: 1.5rem;
        padding-bottom: 2%;
        color: #e4a947;
}

.servicios{
        max-width: 90%;
        height: auto;
        margin: 0 auto;
        display: grid;
        grid-gap: 1rem;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 1rem;
}

.notis {
        display: grid;
        grid-column: 2/6;
        grid-row: 3 / 5;
        background-color: #00526c;
}

.notis h1{
        text-align: center;
        padding: 30px;
        color: #fff;
        font-family:'Avenir Black';
}

.notis p{
        text-align: justify;
        padding-left: 60px;
        padding-right: 60px;
        padding-bottom: 20px;
        margin-top: 30px;
        color: #fff;
}

.footer {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background-color: #e4a947;
}

.footer .row{
        margin: 50px 50px;
        color: #fff;
        line-height: 40px;
        font-size: 0.8em;
        text-align: justify;
}

.footer .row ul{
        margin-top: 20px;
        margin-left: 20px;
        margin-right: 20px;
}

.footer .row2{
        margin: 50px 50px;
        color: #fff;
        line-height: 40px;
        font-size: 1em;
        text-align: justify;
}

.footer .row3{
        margin: 50px 50px;
        color: #fff;
        line-height: 40px;
        font-size: 1em;
        text-align: justify;
}

.footer .row2 h3{
        color: #fff;
        font-size: 2em;
        text-align: justify;
        font-family:'Avenir Black';
        margin-bottom: 40px;
}


.footer-area {
        text-align: center;
        background-color: #00526c;
        color: #fff;
        padding: 20px;
}


.footer .row3 h3{
        color: #fff;
        font-size: 2em;
        text-align: justify;
        font-family:'Avenir Black';
        margin-bottom: 40px;
}

.footer .box-all{
        color: #fff;
        line-height: 40px;
        font-size: 1em;
        text-align: justify;
}

.box1 input{ 
        width: 335px;
        padding-left: 2%;
        padding-top: 2%;
        padding-bottom: 2%;
        margin-bottom: 10px;
        font-family: 'Avenir Medium';

}

.box2 input{ 
        width: 335px;
        padding-left: 2%;
        padding-top: 2%;
        padding-bottom: 2%;
        font-family: 'Avenir Medium';

}

.box3 textarea{ 
        width: 335px;
        resize: vertical;
        margin-top: 10px;
        padding-left: 2%;
        padding-top: 2%;
        font-family: 'Avenir Medium';

}

.box3 button{ 
        background-color: #00526c;
        font-family: 'Avenir Medium';
        color: #fff;
        padding: 20px;
        border-radius: 10px;
        border: none;
        margin-top: 15px;
        cursor: pointer;

}

.box3 button:hover{
        background-color: #e4a947;
        border: solid 0.1em #fff; 
        border-radius: 0.8em;

}

.footer .socialfooter{
        text-decoration: none;
        color: #fff;
        margin-left: 10px;
}

.totop-btn {
        position: fixed;
        width: 50px;
        height: 50px;
        background-color: #e4a947;
        bottom: 20px;
        right: 20px;
        text-decoration: none;
        text-align: center;
        line-height: 50px;
        border-radius: 10px;
        color: #fff;
        font-size: 22px;
}


.modals3{
        background-color: rgba(0,0,0,.8);
        position:fixed;
        top:0;
        left:0;
        right: 0;
        bottom: 0;
        opacity:0;
        margin-top: -10em;
        pointer-events:none;
        transition: all 1s;
}


#miModals3:target{
        opacity:1;
        pointer-events:auto;
}

#miModals3{
        text-align: justify;
}

.modal-btn3{
        display: flex;
        background-color: #87ccd4;
        border-radius: 10px;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        text-align: center;
        padding: 2% 2%;
        margin-left: 25%;
        margin-right: 25%;
        margin-top: 16%;
        color: #fff;
}


.modal-contenido3{
        width: 100vw;
        height: auto;
        padding: 20px 20px;
        margin: 15% auto;
}

.modal-contenido3 h2{
        padding-bottom: 1em;
        text-align: center;
        color: #fff;
}

.modal-contenido3 .equis3{
        color:#e4a947;
        font-size: 1.5em;
        margin-left: 95%;
}

.modal-contenido3 p{
        color:#00526c;
        font-size: 1em;
        margin-bottom: 2%;
}

.modal-btn3:hover{
        background-color: #fff;
        color: #00526c;        
}

.modalito {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap:0.2em;
        padding-top: 0.2em;
}


.modalito-info {
        background-position: center;
        width: 100%;
        margin: auto;
}

.fondillo {
        background-image: url(../img/ca1.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 25vh;
}

.fondillo2 {
        background-image: url(../img/ca2.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 25vh;
}

.fondillo3 {
        background-image: url(../img/ca3.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 25vh;
}

.modalito-img{
        display: flex;
        width: 50%;
        margin: auto;
}


#slider {
        margin: 0 auto;
        width: 80%;
        text-align: center;
}

#slider input[type=radio] {
        display: none;
}

#slider label {
        cursor:pointer;
        text-decoration: none;
}

#slides {
        padding: 10px;
        border: 3px solid #ccc;
        background: #fff;
        position: relative;
        height: auto;
        z-index: 1;
}

#overflow {
        width: 100%;
        overflow: hidden;
}

#slide1:checked ~ #slides .inner {
        margin-left: 0;
}

#slide2:checked ~ #slides .inner {
        margin-left: -100%;
}

#slide3:checked ~ #slides .inner {
        margin-left: -200%;
}

#slide4:checked ~ #slides .inner {
        margin-left: -300%;
}


#slides .inner {
        transition: margin-left 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
        width: 400%;
        line-height: 0;
        height: 600px;
}

#slides .slide {
        width: 25%;
        float:left;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        color: #fff;
}

#slides .slide_1 {
        background-image: url(../img/ca1.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
}

#slides .slide_2 {
        background-image: url(../img/2.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
}

#slides .slide_3 {
        background-image: url(../img/3.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
}

#slides .slide_4 {
        background-image: url(../img/4.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
}

#slides .slide_5 {
        background-image: url(../img/5.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
}

#controls {
        margin: -300px 0 0 0;
        width: 100%;
        height: 50px;
        z-index: 3;
        position: relative;
}

#controls label {
        transition: opacity 0.2s ease-out;
        display: none;
        width: 50px;
        height: 50px;
        opacity: .8;
}

#controls label:hover {
        opacity: 1;
}

#slide1:checked ~ #controls label:nth-child(2),
#slide2:checked ~ #controls label:nth-child(3),
#slide3:checked ~ #controls label:nth-child(4),
#slide4:checked ~ #controls label:nth-child(1) {
        background: url(../img/130884.svg) no-repeat;
        float:right;
        margin: 0 -50px 0 0;
        display: block;
}

#slide1:checked ~ #controls label:nth-last-child(2),
#slide2:checked ~ #controls label:nth-last-child(3),
#slide3:checked ~ #controls label:nth-last-child(4),
#slide4:checked ~ #controls label:nth-last-child(1) {
        background: url(../img/130882.svg) no-repeat;
        float:left;
        margin: 0 0 0 -50px;
        display: block;
}



/* slider 2 */

#slider2 {
        margin: 0 auto;
        width: 80%;
        text-align: center;
}

#slider2 input[type=radio] {
        display: none;
}

#slider2 label {
        cursor:pointer;
        text-decoration: none;
}

#slides2 {
        padding: 10px;
        border: 3px solid #ccc;
        background: #fff;
        position: relative;
        height: auto;
        z-index: 1;
}

#overflow {
        width: 100%;
        overflow: hidden;
}

#xslide1:checked ~ #slides2 .inner {
        margin-left: 0;
}

#xslide2:checked ~ #slides2 .inner {
        margin-left: -100%;
}

#xslide3:checked ~ #slides2 .inner {
        margin-left: -200%;
}

#xslide4:checked ~ #slides2 .inner {
        margin-left: -300%;
}

#slides2 .inner {
        transition: margin-left 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
        width: 400%;
        line-height: 0;
        height: 600px;
}

#slides2 .slide {
        width: 25%;
        float:left;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        color: #fff;
}

#slides2 .xslide_1 {
        background-image: url(../img/ca2.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
}

#slides2 .xslide_2 {
        background-image: url(../img/b1.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
}

#slides2 .xslide_3 {
        background-image: url(../img/b2.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
}

#slides2 .xslide_4 {
        background-image: url(../img/b4.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
}

#controls2 {
        margin: -300px 0 0 0;
        width: 100%;
        height: 50px;
        z-index: 3;
        position: relative;
}

#controls2 label {
        transition: opacity 0.2s ease-out;
        display: none;
        width: 50px;
        height: 50px;
        opacity: 1;
}

#controls2 label:hover {
        opacity: 1;
}

#xslide1:checked ~ #controls2 label:nth-child(2),
#xslide2:checked ~ #controls2 label:nth-child(3),
#xslide3:checked ~ #controls2 label:nth-child(4),
#xslide4:checked ~ #controls2 label:nth-child(1) {
        background: url(../img/130884.svg) no-repeat;
        float:right;
        margin: 0 -50px 0 0;
        display: block;
}

#xslide1:checked ~ #controls2 label:nth-last-child(2),
#xslide2:checked ~ #controls2 label:nth-last-child(3),
#xslide3:checked ~ #controls2 label:nth-last-child(4),
#xslide4:checked ~ #controls2 label:nth-last-child(1) {
        background: url(../img/130882.svg) no-repeat;
        float:left;
        margin: 0 0 0 -50px;
        display: block;
}


.modals4{
        background-color: rgba(0,0,0,.8);
        position:fixed;
        top:0;
        left:0;
        right: 0;
        bottom: 0;
        opacity:0;
        margin-top: -10em;
        pointer-events:none;
        transition: all 1s;
}



#miModals4:target{
        opacity:1;
        pointer-events:auto;
}

#miModals4{
        text-align: justify;
}

.modal-btn4{
        display: flex;
        background-color: #87ccd4;
        border-radius: 10px;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        text-align: center;
        padding: 2% 2%;
        margin-left: 25%;
        margin-right: 25%;
        margin-top: 16%;
        color: #fff;
}

.modal-contenido4{
        width: 100vw;
        height: auto;
        padding: 20px 20px;
        margin: 15% auto;
}

.modal-contenido4 h2{
        padding-bottom: 1em;
        text-align: center;
        color: #fff;
}

.modal-contenido4 .equis4{
        color:#e4a947;
        font-size: 1.5em;
        margin-left: 95%;
}

.modal-contenido4 p{
        color:#00526c;
        font-size: 1em;
        margin-bottom: 2%;
}

.modal-btn4:hover{
        background-color: #fff;
        color: #00526c;        
}

/* slider 3 */

#slider3{
        margin: 0 auto;
        width: 80%;
        text-align: center;
}

#slider3 input[type=radio] {
        display: none;
}

#slider3 label {
        cursor:pointer;
        text-decoration: none;
}

#slides3 {
        padding: 10px;
        border: 3px solid #ccc;
        background: #fff;
        position: relative;
        height: auto;
        z-index: 1;
}

#overflow {
        width: 100%;
        overflow: hidden;
}

#zslide1:checked ~ #slides3 .inner {
        margin-left: 0;
}

#zslide2:checked ~ #slides3 .inner {
        margin-left: -100%;
}

#zslide3:checked ~ #slides3 .inner {
        margin-left: -200%;
}

#zslide4:checked ~ #slides3 .inner {
        margin-left: -300%;
}



#slides3 .inner {
        transition: margin-left 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
        width: 400%;
        line-height: 0;
        height: 600px;
}

#slides3 .slide {
        width: 25%;
        float:left;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        color: #fff;
}

#slides3 .zslide_1 {
        background-image: url(../img/ca3.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
}

#slides3 .zslide_2 {
        background-image: url(../img/c1.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
}

#slides3 .zslide_3 {
        background-image: url(../img/c2.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
}

#slides3 .zslide_4 {
        background-image: url(../img/c3.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
}

#controls3 {
        margin: -300px 0 0 0;
        width: 100%;
        height: 50px;
        z-index: 3;
        position: relative;
}

#controls3 label {
        transition: opacity 0.2s ease-out;
        display: none;
        width: 50px;
        height: 50px;
        opacity: .8;
}

#controls3 label:hover {
        opacity: 1;
}

#zslide1:checked ~ #controls3 label:nth-child(2),
#zslide2:checked ~ #controls3 label:nth-child(3),
#zslide3:checked ~ #controls3 label:nth-child(4),
#zslide4:checked ~ #controls3 label:nth-child(1){
        background: url(../img/130884.svg) no-repeat;
        float:right;
        margin: 0 -50px 0 0;
        display: block;
}

#zslide1:checked ~ #controls3 label:nth-last-child(2),
#zslide2:checked ~ #controls3 label:nth-last-child(3),
#zslide3:checked ~ #controls3 label:nth-last-child(4),
#zslide4:checked ~ #controls3 label:nth-last-child(1){
        background: url(../img/130882.svg) no-repeat;
        float:left;
        margin: 0 0 0 -50px;
        display: block;
}



.modals5{
        background-color: rgba(0,0,0,.8);
        position:fixed;
        top:0;
        left:0;
        right: 0;
        bottom: 0;
        opacity:0;
        margin-top: -10em;
        pointer-events:none;
        transition: all 1s;
}

#miModals5:target{
        opacity:1;
        pointer-events:auto;
}

#miModals5{
        text-align: justify;
}

.modal-btn5{
        display: flex;
        background-color: #87ccd4;
        border-radius: 10px;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        text-align: center;
        padding: 2% 2%;
        margin-left: 25%;
        margin-right: 25%;
        margin-top: 16%;
        color: #fff;
}

.modal-contenido5{
        width: 100vw;
        height: auto;
        padding: 20px 20px;
        margin: 15% auto;
}

.modal-contenido5 h2{
        padding-bottom: 1em;
        text-align: center;
        color: #fff;
}

.modal-contenido5 .equis5{
        color:#e4a947;
        font-size: 1.5em;
        margin-left: 95%;
}

.modal-contenido5 p{
        color:#00526c;
        font-size: 1em;
        margin-bottom: 2%;
}

.modal-btn5:hover{
        background-color: #fff;
        color: #00526c;        
}

.showtheway{
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 1em;
        margin: auto;
}

.map-area{
        background-image: url(../img/mapa.jpg);
        background-position: center;
        height: 45vh;
}

.map-area h1{
        text-align: center;
        color: #fff;
        padding-top: 2em;
}