#page {
    position: relative;
    top: 8rem;
}

#fh5co-hero1 {
    top: 0;
    left: 0;
    height: 25rem;
}

#fh5co-hero1 div.container-img {
    height: 100%;
    width: 100%;
    background: rgba(12, 97, 146, 0.25);
}

#fh5co-hero1 img {
    object-position: 0% 95%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

#fh5co-hero1 h2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    color: white;
}

.content-itemsContact {
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-bottom: 2rem;
    gap: 1rem;
}

#fh5co-contact div div div form div.formContact-btnCustom button:hover {
    background-color: var(--color-btn-secondary-hover) !important;
}
.formContact .inputItems div input,
.formContact .inputItems input,
.formContact .inputItems textarea {
    border-color: var(--border-input-gray) !important;
}

.formContact .inputItems div input:focus,
.formContact .inputItems input:focus,
.formContact .inputItems textarea:focus {
    border-color: var(--border-input-focus) !important;
    box-shadow: 0 0 0 0.2rem rgba(12, 97, 146, 0.25) !important;
}

.formContact .inputItems div input::placeholder,
.formContact .inputItems input::placeholder,
.formContact .inputItems textarea::placeholder {
    color: var(--border-input-gray) !important;
}

.formContact button {
    width: 100%;
    background: var(--color-btn-secondary);
    text-transform: capitalize;
    align-items: end;
}

.fh5co-contact-info ul li.custom-data {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 6fr;
    align-items: center;
    justify-content: center;
}

.fh5co-contact-info .list-infoContact li a,
.fh5co-contact-info .list-infoContact li p {
    margin: 0 0 0 1rem;
    padding: auto;
}

.formContact-btnCustom {
    display: flex;
    justify-content: end;
}

.slider-text {
    margin-top: 5rem;
}

.mapa {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.mapa h4 {
    text-align: left;
    width: 100%;
    text-transform: capitalize;
}

#map {
    width: 65%;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
}

div.mapa div.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* .custom-close {
    color: var(--primary-color);
} */

@media screen and (min-width: 768px) and (max-width:1023px) {
    #page {
        top: 0rem;
    }
}

@media screen and (max-width: 767px) {
    #page {
        top: 0rem;
    }

    #fh5co-hero1 {
        height: 10rem;
    }

    .content-itemsContact {
        grid-auto-rows: auto;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #map {
        width: 100%;
        height: 300px;
    }
    
}