.carousel-caption {
    top: 30% !important;
}

.services .icon {
    width: 120px !important;
    height: 120px !important;
    background: rgb(0 17 43) !important
}


/* Dropdown */

.dropdown2 {
    display: inline-block;
    position: relative;
}

.dd-button {
    display: inline-block;
    border: 1px solid gray;
    border-radius: 4px;
    padding: 10px 30px 10px 20px;
    background-color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
}

.dd-button:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid black;
}

.dd-button:hover {
    background-color: #eeeeee;
}

.dd-input {
    display: none;
}

.bg-banner {
    background-size: cover;
    height: inherit;
    background-position: center;
}

.dd-menu {
    position: inherit;
    top: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0;
    margin: 2px 0 0 0;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    list-style-type: none;
}

.dd-input + .dd-menu {
    display: none;
}

.dd-input:checked + .dd-menu {
    display: block;
}

.dd-menu li {
    padding: 10px 20px;
    cursor: pointer;
    white-space: nowrap;
}

.dd-menu li:hover {
    background-color: #f6f6f6;
}

.dd-menu li a {
    display: block;
    margin: -10px -20px;
    padding: 10px 20px;
}

.dd-menu li.divider {
    padding: 0;
    border-bottom: 1px solid #cccccc;
}


.decoration-none {
    text-decoration: none;
}

.icono-centrar {
    width: 100%;
    height: 100%;
    display: flex;
}

.text-justify {
    margin: 0;
    text-align: justify;
}

.sticky {
    top: 0;
    position: fixed;
    width: 100%;
    background: white;
    z-index: 9999;
}

.sticky2 {
    top: 20%;
    position: fixed;
    width: 100%;
    background: white;
    z-index: 9999;
}

#fh5co-hero {
    padding-top: 13%;
}

#fh5co-choose {
    padding-top: 5% !important;
}

.grid-gallery {
    display: grid;
    grid-auto-rows: 200px;
    grid-gap: 1rem;
    grid-auto-flow: row dense;
}

.footer-i {
    bottom: 0;
    z-index: 1;
}

.bottom-0 {
    bottom: 0 !important;
}

.top-0 {
    top: 0 !important;
}


.grid-gallery {
    display: grid;
    grid-auto-rows: 200px;
    grid-gap: 1rem;
    grid-auto-flow: row dense;
}

.footer-i {
    bottom: 0;
    z-index: 1;
}

.bottom-0 {
    bottom: 0 !important;
}

.top-0 {
    top: 0 !important;
}


.portada-nota-thumb {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.img-grande {
    height: 100vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.img-grande-proyecto {
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.imagen {
    filter: grayscale(80%);
}

.imagen:hover {
    filter: grayscale(0%);
}

.img-grande-arq {
    height: 20rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.titulo-proyecto {
    position: absolute;
    z-index: 2;
    top: 53px;
    padding: 0 10px;
    right: 0;
}

.grid-gallery {
    display: grid;
    grid-auto-rows: 200px;
    grid-gap: 1rem;
    grid-auto-flow: row dense;
}

.footer-i {
    bottom: 0;
    z-index: 1;
}

.bottom-0 {
    bottom: 0 !important;
}

.top-0 {
    top: 0 !important;
}


.grid-gallery__item:nth-child(11n+1) {
    grid-column: span 1;
}

.grid-gallery__item:nth-child(11n+4) {
    grid-column: span 2;
    grid-row: span 1;
}

.grid-gallery__item:nth-child(11n+6) {
    grid-column: span 3;
    grid-row: span 1;
}

.grid-gallery__item:nth-child(11n+7) {
    grid-column: span 1;
    grid-row: span 2;
}

.grid-gallery__item:nth-child(11n+8) {
    grid-column: span 2;
    grid-row: span 2;
}

.grid-gallery__item:nth-child(11n+9) {
    grid-row: span 3;
}

.grid-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item {
    position: relative;

}


.text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.bg-light-trasparent {
    background-color: #f8f9fabf !important;
}


.centrar {
    display: flex;
    align-items: center !important;
    justify-content: center !important;
}

.icon-flecha {
    width: 45px;
    height: 45px;
    color: #000;
    font-size: 40px;
    display: flex !important;
    margin: auto;
}

.fa-chevron-left:before, .fa-chevron-right:before {
    content: "\f053";
    display: flex;
    margin: auto;
}

.cont-pantalla-completa {
    z-index: 2;
    top: 30%;
    background-color: #fff;
    width: 30px;
    height: 30px;
    border-right: solid 1px #787878;
    border-bottom: solid 1px #787878;
    border-top: solid 1px #787878;
}

button#btnFiltros {
    margin-top: 2px;
    border-radius: 0 .3rem .3rem 0;
    z-index: 1;
}

.cont-informacion {
    z-index: 99999;
    top: 0;
    background-color: #fff;
    width: 30px;
    height: 30px;
    border-right: solid 1px #787878;
    border-bottom: solid 1px #787878;
    border-top: solid 1px #787878;
}

.pantalla-completa, .informacion {
    cursor: pointer;
    display: flex;
    margin: auto;
    width: 25px;
}

.cont-info {
    width: 100%;
    height: 100%;
    background-color: #2d2d2d8c;
}

a.sindiseno:hover {
    text-decoration: unset;
}

.cont-filtros {
    left: 0;
    max-width: 300px;
    z-index: 1;
    background-color: #808080;
    color: #fff;
    min-width: 250px;
    height: calc(100% - 53px);
    overflow-y: scroll;
    position: fixed;
}

.cont-informacion-proyecto {
    position: absolute;
    z-index: 1;
    bottom: 40px;
    background-color: #4d4d4dbd;
    width: 100%;
    color: #fff;
}

.row.titulo-filtro {
    background-color: #666666;
}

.n-display-res {
    display: inline;
}

.close-filtros {
    position: absolute;
    top: 1px;
    right: 10px;
}

.contentSlideHeight {
    height: 100vh !important;
}


.overlay2 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #24252599;
}

.item:hover .overlay2 {
    opacity: 1;
}


@media all and (min-width: 320px) {
    .grid-gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media all and (min-width: 768px) {
    .grid-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media all and (min-width: 1024px) {
    .grid-gallery {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 576px) {
    .titulo-proyecto {
        padding: 0;
        margin-left: -15px;
    }

    .pantalla-completa, .informacion {
        width: 20px;
    }

    .cont-pantalla-completa, .cont-informacion {
        width: 30px;
        height: 30px;
    }

    .d-display-res {
        display: flex !important;
        padding: 20px;
    }

    .cont-filtros {
        max-width: 100%;
        width: 100%;
        top: 0;
        overflow-y: scroll;
        height: calc(100% - 53px);
        z-index: 1031 !important;
        top: 53px;
    }

    .n-display-res {
        display: none;
    }

    .order-xm-0 {
        -ms-flex-order: 0;
        order: 0;
    }

    .order-xm-1 {
        -ms-flex-order: 1;
        order: 1;
    }

    .order-xm-2 {
        -ms-flex-order: 2;
        order: 2;
    }

    .order-xm-3 {
        -ms-flex-order: 3;
        order: 3;
    }

    .order-xm-4 {
        -ms-flex-order: 4;
        order: 4;
    }

    .order-xm-5 {
        -ms-flex-order: 5;
        order: 5;
    }

    .order-xm-6 {
        -ms-flex-order: 6;
        order: 6;
    }

    .order-xm-7 {
        -ms-flex-order: 7;
        order: 7;
    }

    .order-xm-8 {
        -ms-flex-order: 8;
        order: 8;
    }

    .order-xm-9 {
        -ms-flex-order: 9;
        order: 9;
    }

}

a {
    color: #001e3f;
}

.menu-responsivo {
    display: block;
}

/* Landscape */

@media (max-device-width: 900px) and (orientation: landscape) {
    .cont-filtros {
        max-width: 100%;
        width: 100%;
        top: 0;
        overflow-y: scroll;
        height: 100%;
        z-index: 99999 !important;
    }

    #btnFiltros {
        top: 16% !important;
    }

    .d-display-res {
        display: flex !important;
        padding: 20px;
    }

    .n-display-res {
        display: none;
    }

    .cont-pantalla-completa {
        top: 15% !important;
    }
}


@media (max-width: 767px) {
    .carousel-caption {
        top: 0% !important;
    }

    .sticky2 {
        padding-top: 33% !important;
        position: relative;
        width: 100%;
        background: white;
        z-index: 9999;
    }

    #fh5co-hero {
        padding-top: 0%;
    }

}

@media (min-width: 768px) {
    .sticky2 {
        padding-top: 0% !important;
        position: relative;
        width: 100%;
        background: white;
        z-index: 9999;
    }

    #fh5co-hero {
        padding-top: 0%;
    }

}


@media (max-width: 992px) {
    .sticky2 {
        padding-top: 0% !important;
        position: relative;
        width: 100%;
        background: white;
        z-index: 9999;
    }

    #fh5co-hero {
        padding-top: 0%;
    }
}

@media (max-width: 950px) {
    .menu-responsivo {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        flex-wrap: nowrap;
    }
}
