* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

header {
    /* background: linear-gradient(to bottom, #002640 40%, #0073bf, #ffffff); */
    height: 690px;
    width: 100%;
}

#navbar {
    /* background-color: #002640; */
    background-color: #f2f4f4;
    height: 90px;
    overflow: hidden;
    width: 100%;
    z-index: 1;
}

.center_container {
    height: 90px;
    margin: 0 auto;
    width: 1140px;
}

.banner {
    background-color: #fff;
    background-image: url('../img/newBanner.png');
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 5px 10px 18px #cedede;
}

.content_header {
    height: 400px;
    margin: auto;
    padding-top: 20px;
    width: 1140px;
}

.services_container {
    height: 150px;
    margin: auto;
    margin-top: -280px;
    width: 1140px;
}

.header_left {
    display: block;
    float: left;
    height: 80px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-top: 10px;
    width: 90px;
}

.header_center {
    display: block;
    float: left;
    height: 80px;
    padding-bottom: 10px;
    padding-top: 10px;
    width: 330px;
}

#acron {
    color: #009afe;
    font-size: large;
    font-weight: bold;
    padding-top: 3px;
}

#rif {
    color: #009afe;
    font-size: small;
}

.header_right {
    display: block;
    float: left;
    height: 100px;
    padding-top: 20px;
    width: 700px;
}

nav {
    margin-top: 40px;
    text-align: end;
}

nav a {
    color: #1b3c59;
    letter-spacing: 1px;
    font-weight: 500;
    margin-right: 40px;
    text-decoration: none;
}

nav a:hover {
    color: #009afe;
}

#navabout {
    height: 170px;
}

#navservices {
    height: 90px;
}

#navprojects {
    height: 120px;
}

#navcontact {
    height: 85px;
}

footer {
    background-color: #f4f7fa;
    text-align: center;
    height: 50px;
    margin: auto;
    padding-top: 30px;
    width: 100%;
}

#logo_header {
    height: 65px;
    margin-left: 15px;
}

#about {
    height: auto;
    margin: auto;
    width: 1140px;
}

.about_title, .services_title, .projects_title, .contact_title {
    height: 50px;
    text-align: center;
}

.about_container {
    height: 300px;
    margin-top: 40px;
    padding-left: 40px;
    padding-right: 40px;
}

.about_content {
    float: left;
    height: auto;
    width: 1140px;
}

.about_content p {
    color: #707070;
    font-size: 17px;
    letter-spacing: 1px;
    line-height: 25px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: justify;
}

.about_content h2 {
    padding-left: 10px;
}

h1, h2, h3 {
    color: #002640;
}

#services {
    background-image: url('../img/fondo_service_2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment:  fixed;
    width: 100%;
}

.services_content {
    height: 450px;
    margin: auto;
    padding-top: 90px;
    width: 1140px;
}

.services_text p {
    /* color: #f2f2f2; */
    color: #1b3c59;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 35px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: justify;
}

.services_title h1 {
    color: #163046;
    font-weight: bolder;
}

.first_service, .second_service, .third_service, .fourth_service {
    float: left;
    height: 200px;
    width: 50%;
}

.first_service img, .second_service img, .third_service img, .fourth_service img {
    width: 96px;
}

#projects {
    min-height: 380px;
    margin: auto;
    width: 1140px;
}

.projects_title h1 {
    padding-top: 0px;
}

.projects_container {
    padding-bottom: 120px;
    padding-top: 30px;
}

#contact {
    background-color: #002640;
    height: 540px;
    margin: auto;
    width: 100%;
}

.contact_content {
    height: 500px;
    margin: 0 auto;
    padding: 20px;
    width: 1100px;
}

.contact_left {
    float: left;
    height: 450px;
    width: 40%;
}

.contact_right {
    float: left;
    height: 450px;
    width: 60%;
}

.contact_form {
    height: 450px;
    margin: 0 auto;
    width: 90%;
}

input[type=text], input[type=email], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

textarea {
    height: 150px;
}
  
input[type=submit] {
    background-color: #009afe;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
  
input[type=submit]:hover {
    background-color: white;
    color: #009afe;
    border: 1px solid #009afe;
}

.email {
    color: #009afe;
}

.contact_content h1, .contact_content h3, .contact_content p {
    color: #cedede;
}


/* accordion style ------------------------------------------------------------------------------ */
/* .accordion {
    background-color: #f2f2f2;
    border: none;
    box-shadow: 5px 10px 8px lightslategray;
    color: #1b3c59;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    outline: none;
    padding: 18px;
    text-align: left;
    transition: 0.4s;
    width: 100%;
}

.panel_active {
    background-color: #1b3c59;
    color: #cedede;
}

.accordion:hover {
    background-color: #cedede;
    color: #1b3c59;
}

.accordion:after {
    content: '\002B';
    color: #1b3c59;
    font-weight: bold;
    float: right;
    padding-right: 5px;
}

.panel_active:after {
    content: "\2212";
}

.panel {
    background: linear-gradient(to bottom right, white 70%, #f2f2f2);
    max-height: 0;
    overflow: hidden;
    padding-bottom: 5px;
    transition: max-height 0.2s ease-out;
    width: 100%;
}

.panel p, .panel span {
    line-height: 25px;
    letter-spacing: 1px;
    padding-left: 20px;
    padding-right: 20px;
} */
/* end accordion style ----------------------------------------------------------------------- */


/* services containers style ------------------------------------------------------------------- */
.ca-services {
    height: 400px;
    margin: 0 auto;
    padding: 0;
    width: 710px;
}

.ca-services li {
    background: #006bb3;
    border: 5px solid #cedede;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    float: left;
    height: 225px;
    margin-left: 60px;
    margin-right: 20px;
    overflow: hidden;
    position: relative;
    transition: all 300ms linear;
    width: 170px;
    -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
}

.ca-services li:first-child {
    margin-left: 0px;
}

.ca-services li:last-child {
    margin-right: 0px;
}

.ca-image {
    color: #c5e4f4;
    height: 35%;
    position: absolute;
    width: 50%;
    left: 40px;
    top: 30px;
    text-align: center;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}

.ca-content {
    position: absolute;
    left: 0px;
    width: 100%;
    height: 50%;
    top: 40%;
}

.ca-title {
    color: #cedede;
    font-size: 14px;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 40px;
    text-align: center;
    transition: all 200ms linear;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
}

.ca-services li:hover {
    background-color: #cedede;
    border: 5px solid #006bb3;
}

.ca-services li:hover .ca-image {
    animation: moveFromTop 400ms ease;
    -webkit-animation: moveFromTop 400ms ease;
    -moz-animation: moveFromTop 400ms ease;
    -ms-animation: moveFromTop 400ms ease;
}

.ca-services li:hover .ca-title {
    color: #006bb3;
    animation: moveFromTop 300ms ease;
    -webkit-animation: moveFromTop 300ms ease;
    -moz-animation: moveFromTop 300ms ease;
    -ms-animation: moveFromTop 300ms ease;
}

@keyframes moveFromTop {
    from {
        -webkit-transform: translateY(-300%);
        -moz-transform: translateY(-300%);
        -ms-transform: translateY(-300%);
    }
    to {
        -webkit-transform: translateY(0%);
        -moz-transform: translateY(0%);
        -ms-transform: translateY(0%);
    }
}

@keyframes moveFromBottom {
    from {
        -webkit-transform: translateY(200%);
        -moz-transform: translateY(200%);
        -ms-transform: translateY(200%);
    }
    to {
        -webkit-transform: translateY(0%);
        -moz-transform: translateY(0%);
        -ms-transform: translateY(0%);
    }
}
/* end services containers style -------------------------------------------------------------------- */

/* tab about us style ------------------------------------------------------------------------------- */
.tab {
    box-sizing: border-box;
    background: #f2f2f2;
    border: 1px solid #ccc;
    float: left;
    height: 258px;
    width: 30%;
}

.tab button {
    background: inherit;
    border: none;
    color: #1b3c59;
    cursor: pointer;
    display: block;
    font-size: 18px;    
    font-weight: bold;
    outline: none;
    padding: 22px 16px;
    text-align: left;
    transition: 0.6s;
    width: 100%;
}

.tab button:hover {
    background-color: #cedede;
}

.tab button.active {
    background-color: #007acc;
    color: #cedede;
}

.tabcontent {
    box-sizing: border-box;
    background: linear-gradient(to bottom right, white 50%, #f2f2f2);
    border: 1px solid #ccc;
    border-left: none;
    float: left;
    height: 258px;
    padding: 0px 12px;
    width: 70%;
}

.tabcontent h3 {
    color: #1b3c59;
    padding-left: 10px;
}

.tabcontent p {
    font-size: large;
    line-height: 30px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: justify;
}
/* end tab about us style --------------------------------------------------------------------- */

/* title slider style ------------------------------------------------------------------------- */
.captions {
    float: left;
    margin: 0 auto;
    padding: 0 auto;
    width: 1140px;
}

.content_slides {
    display: none;
    height: 300px;
    margin: 0 auto;
    opacity: 1;
    padding: 0 auto;
    text-align: center;
    width: 700px;
}

.content_slides h1 {
    color: #4db8ff;
    font-size: large;
    letter-spacing: 1px;
    padding-top: 30px;
}

.content_slides h2 {
    color: #1b3c59;
    font-size: x-large;
    padding-bottom: 0px;
}

.buttom_slider {
    background-color: #ff9600;
    border: none;
    border-radius: 4px;
    color: #f2f2f2;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 30px;
    padding: 12px 20px;
}

.buttom_slider:hover {
    background-color: #f2f2f2;
    color: #ff9600;
    border: 1px solid #ff9600;
}
/* end title slider style ---------------------------------------------------------------------------- */


.sticky {
    opacity: 0.85;
    position: fixed;
    top: 0;
    width: 100%;
}

#historical-review {
    /* background-image: url('../img/background_historical_1.jpg'); */
    width: 100%;
}

.historical-content {
    margin: 0 auto;
    padding-bottom: 30px;
    padding-top: 30px;
    width: 1140px;
}

.historical-content h3 {
    font-size: x-large;
    margin-left: 20px;
}

.historical-content p {
    color: #1b3c59;
    font-size: large;
    font-weight: 500;
    line-height: 30px;
    margin-top: 40px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: justify;
}

.historical {
    height: 120px;
}

.image_container {
    width: 1140px;
}

.image_historical {
    box-shadow: 5px 10px 18px darkgrey;
    margin-left: 250px;
    width: 640px;
}

/* GALLERIES */
/* Slideshow container */
.slideshow-container {
    box-shadow: 5px 10px 18px #888888;
    height: 375px;
    width: 600px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides1, .mySlides2, .mySlides3, .mySlide6, .mySlide7, .mySlides8 {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.dot1, .dot2, .dot3, .dot6, .dot7, .dot8 {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 15px;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot1:hover, .dot2:hover, .dot3:hover, .dot6:hover, .dot7:hover, .dot8:hover {
    background-color: #1b3c59;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}



/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 30px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 40%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.projectModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 20px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
/* Modal Content */
.projectModal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
  
/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}
  
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
  
/* The Close Button */
.close {
    color: #1b3c59;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
  
.close:hover, .close:focus {
    color: #006bb3;
    text-decoration: none;
    cursor: pointer;
}
  
.modal-header {
    /* background-color: #cedede; */
    background-image: linear-gradient(to right, #cedede, #fff);
    font-size: x-small;
    padding: 2px 16px;
}
  
.modal-body {
    letter-spacing: 1px;
    line-height: 30px;
    padding: 2px 16px;
    text-align: justify;
}

.modal-body-left {
    opacity: 0.6;
    width: 30%;
}

.modal-body-right {
    width: 70%;
}

.image-modal {
    width: 80%;
}

.image-absolute {
    margin-left: 20%;
    margin-top: 7%;
    opacity: 0.3;
    position: absolute;
    width: 20%;
}

.modal-image {
    box-shadow: 5px 10px 18px #2C3E50;
    margin-bottom: 5%;
    margin-left: 10%;
    width: 80%;
}

/* ACORDEON PROYECTOS ----------------------------------------------------------- */

.acordeon {
    width: 1140px;
    height: 380px;
    overflow: hidden;
    margin: auto;
    /* box-shadow: 0 0 10px 1px rgba(0,0,0,0.35); */
}

.acordeon ul {
    width:1300px;
}

.acordeon li {
    position: relative;
    display: block;
    width: 155px;
    float: left;
    border-left: 1px solid #888;
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.35);
    transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.acordeon ul:hover li {
    width: 85px;
}

.acordeon ul li:hover {
    width: 575px; /* DEBE SER EL ANCHO DE LA IMAGEN */
}

.acordeon li img {
    display: block;
    height: 360px;
}

.tituloAcordeon {
    background: rgba(0,0,0,0.5);
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 575px;
}

.tituloAcordeon span {
    display: block;
    color: #FFF;
    text-decoration: none;
    padding: 20px 20px 20px 5px;
    font-size: 16px;
}

/* FIN ACORDEON OBRAS ------------------------------------------------------- */


/* grid gallery ------------------------------------------------------------- */

.gallery {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 5vw);
    grid-gap: 1rem;
  }
  
  .gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; 
    box-shadow: 5px 10px 8px lightslategray;
  }
  
  .gallery__item--1 {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
  }
  
  .gallery__item--2 {
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 3;
  }
  
  .gallery__item--3 {
    grid-column-start: 5;
    grid-column-end: 9;
    grid-row-start: 1;
    grid-row-end: 6;
  }
  
  .gallery__item--4 {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 3;
    grid-row-end: 6;
  }
  
  .gallery__item--5 {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 6;
    grid-row-end: 9;
  }
  
  .gallery__item--6 {
    grid-column-start: 5;
    grid-column-end: 9;
    grid-row-start: 6;
    grid-row-end: 9;
  }