/* Estilos para textos circulares que giran */
.text {
    height: 600px;
    width: 600px;
    position: relative;
    animation: effect 30s linear infinite;
}

.text-2 {
    height: 400px;
    width: 400px;
    animation: effect2 30s linear infinite;
}

.text-nosotros-video {
    height: 400px;
    width: 400px;
    animation: effect2 30s linear infinite;
}




.text-span,
.text-span-video {
    position: absolute;
    left: 50%;
    transform-origin: 0px;
    transform-style: flat;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    text-transform: var(--e-global-typography-primary-text-transform);
    line-height: var(--e-global-typography-primary-line-height);
}

.text-span {
    font-size: 35px;
    transform-origin: 0px 300px;
}

.text-span-2,
.text-span-video {
    font-size: 20px;
    transform-origin: 0px 200px;
}

.text-proyecto {
    height: 400px;
    width: 400px;
}

.text-proyecto-2 {
    height: 280px;
    width: 280px;
}

.text-proyecto .text-span {
    font-size: 35px;
    transform-origin: 0px 200px;
}

.text-proyecto-2 .text-span-2 {
    font-size: 14px;
    transform-origin: 0px 140px;
}

@keyframes effect {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes effect2 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}



@media (max-width: 1199px) {
    .text {
        height: 60vw;
        width: 60vw;
    }

    .text-span,
    .text-proyecto .text-span {
        transform-origin: 0px 30vw;
        font-size: 30px;
    }


    .text-2 {
        height: 44vw;
        width: 44vw;
    }

    .text-span-2,
    .text-proyecto-2 .text-span-2 {
        transform-origin: 0px 22vw;
        font-size: 15px;
    }


    .text-nosotros-video {
        height: 30vw;
        width: 30vw;
    }

    .text-span-video {
        transform-origin: 0px 15vw;
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .text {
        height: 90vw;
        width: 90vw;
    }

    .text-span,
    .text-proyecto .text-span {
        transform-origin: 0px 45vw;
        font-size: 20px;
    }


    .text-2,
    .text-nosotros-video {
        height: 64vw;
        width: 64vw;
    }

    .text-span-2,
    .text-span-video,
    .text-proyecto-2 .text-span-2 {
        transform-origin: 0px 32vw;
        font-size: 12px;
    }
}

/* Sobre nosotros sección 4 */
@media (min-width:768px) and (max-width: 1199px) {
    .text-nosotros {
        &.text {
            height: 40vw;
            width: 40vw;
        }

        .text-span {
            transform-origin: 0px 20vw;
            font-size: 20px;
        }


        &.text-2 {
            height: 26vw;
            width: 26vw;
        }

        .text-span-2 {
            transform-origin: 0px 13vw;
            font-size: 12px;
        }
    }

}


/* ---------------------------------------- */



.number-span {
    cursor: pointer;
}




/* ---------------------------------------- */


/* Map Styles  */
.mapa-optimizar {
    height: 100vh;
}

.gmnoprint,
.gm-style-cc,
.gm-ui-hover-effect,
.gm-style-iw-chr {
    display: none !important;
}

.gm-style-iw,
.gm-style-iw-tc::after {
    background-color: var(--e-global-color-accent) !important;
    color: white;
}

.gm-style-iw {
    padding: 10px 20px !important;
}

.gm-style-iw-d {
    overflow: hidden !important;
}

/* Search input */

.search-input {
    border: none !important;
    border-radius: 100px !important;
    height: 45px;
}

.search-input:focus {
    border: none !important;
    outline: none !important;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: -40px;
    padding: 8px;
    display: flex;
    align-items: center;
}

/* Header Map */

.mapa-optimizar__header {
    position: absolute;
    z-index: 9;
    display: flex;
    gap: 20px;
    padding: 30px 20px 0 85px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mapa-optimizar__header .search-input {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    background-color: white;
    width: 20vw;
    min-width: 200px;
}

.mapa-optimizar__header__col-1 {
    display: flex;
    gap: 20px;
    max-width: 85%;
}

.filters_cont {
    position: relative;
    overflow-x: hidden;
}

.mapa-optimizar__header__col-1__filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    cursor: grab;
    /* scrollbar-width: none; */
}

.mapa-optimizar__header__col-1__filters::-webkit-scrollbar {
    /* display: none; */
    width: 2px;
    height: 2px;
}

.mapa-optimizar__header__col-1__filters::-webkit-scrollbar-track {
    background: transparent;
}

.mapa-optimizar__header__col-1__filters::-webkit-scrollbar-thumb {
    background: #cccccc96;
    border-radius: 10px;
}

.mapa-optimizar__header__col-1__filters::-webkit-scrollbar-button {
    display: none;
}


.mapa-optimizar__header__col-1__filters:active {
    cursor: grabbing;
}

.mapa-optimizar__header button {
    line-height: 1;
    display: flex;
    align-items: center;
    height: 45px;
    padding: 10px 20px;
    font-size: 16px;
    gap: 20px;
}

.mapa-optimizar__header .filter-btn {
    color: white;
    border: 1px solid white;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2.5px);
}

.mapa-optimizar__header .filter-btn.active {
    background: #F7A40052;
}

.mapa-optimizar__header__col-2 {
    width: 15%;
    display: flex;
    justify-content: flex-end;
}

.mapa-optimizar__header .back-btn {
    color: black;
    border: none;
    background: white;
}

.mapa-optimizar__header .back-btn:hover {
    background: white;
}




/* Side Menu */

.open-menu-btn {
    position: fixed;
    top: 0;
    left: 0;
    width: 65px;
    height: 100vh;
    background-color: #ffffff;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.open-menu-btn__col-1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 65px;
}

.open-menu-btn__text-pc {
    transform: rotate(-90deg);
    text-wrap: nowrap;
    margin: 0;
    margin-top: 180px;
    letter-spacing: 7px;
    font-size: 14px;
    color: var(--e-global-color-primary);
}

.open-menu-btn__text-mobile {
    display: none;
}

.open-menu-btn__tree-yellow {
    display: none;
}

.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 65px;
    transition: 0.5s;
    color: black;
    z-index: 99;
    overflow: hidden;
    display: flex;
}

.side-menu .col-1 {
    background-color: white;
    height: 100%;
    width: calc(100% - 20px);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.side-menu__header {
    padding: 20px 10px 0 10px;
}

.show-all {
    margin: 0;
    margin-top: 10px;
    font-size: 16px;
    cursor: pointer
}

.side-menu .col-2 {
    height: 100%;
    position: relative;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.side-menu.open {
    width: 450px;
}

.mapa-optimizar__side-menu .search-input {
    background-color: #F1F1F1;
}

.side-menu .close-btn {
    font-size: 36px;
    color: black;
    background: white;
    border: none;
    cursor: pointer;
    z-index: 999;
    width: 20px;
    border-radius: 0px 3px 3px 0px;
}

/* Loop container */
#loop-container {
    overflow: auto;
    height: 100%;
    padding: 0 5px 140px 10px;
}

#loop-container::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

#loop-container::-webkit-scrollbar-track {
    background: transparent;
}

#loop-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

#loop-container::-webkit-scrollbar-button {
    display: none;
}

#loop-container .polygon-item {
    display: flex;
    padding: 30px 10px;
    border-bottom: 1px solid #E8DEDE;
    gap: 15px;
}

#loop-container .polygon-item img {
    width: 80px;
    border-radius: 8px;
    object-fit: cover;
}

#loop-container .polygon-item__main {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
}

#loop-container .polygon-item h4 {
    margin: 0;
    font-size: 16px;
}

#loop-container .polygon-item .details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#loop-container .polygon-item .details p {
    margin: 0;
    font-size: 12px;
    padding: 4px 12px;
    width: fit-content;
    border-radius: 100px;
    background-color: #F1F1F1;
    font-weight: 700;
    line-height: 1.2;
}

#loop-container .polygon-item .actions {
    display: flex;
    gap: 10px;
}

#loop-container .polygon-item .actions button,
#loop-container .polygon-item .actions a {
    border: none;
    padding: 11px 18px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    border-radius: 3px;
    line-height: 1;
    font-weight: 900;
    text-wrap: nowrap;
}

#loop-container .polygon-item .actions button {
    background-color: var(--e-global-color-primary);
    color: white;
    border: 2px solid var(--e-global-color-primary);
}


#loop-container .polygon-item .actions a {
    background-color: white;
    color: var(--e-global-color-primary);
    border: 2px solid var(--e-global-color-primary);
}

/* Card */

#card-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 9;
    display: none;
    overflow: hidden;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card p {
    margin: 0;
}

.card-photo {
    width: 100%;
    height: 200px !important;
    border-radius: 20px !important;
    object-fit: cover;
    object-position: center;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) !important;
}

.card-body {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    max-height: 260px;
}

.card-body::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.card-body::-webkit-scrollbar-track {
    background: transparent;
}

.card-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.card-body::-webkit-scrollbar-button {
    display: none;
}

.card-title {
    font-size: 18px;
    margin: 0;
}

.card-row {
    display: flex;
    gap: 20px;
}

.card-row div p {
    font-size: 18px;
    line-height: 1.2;
}

.card-row div .info-title {
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 10px !important;
}

.card-link {
    color: white !important;
    text-decoration: none;
    background-color: black;
    padding: 10px 20px 10px 30px;
    border-radius: 100px;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


/* Media queries map styles */

@media(max-width:1199px) {

    .mapa-optimizar__header {
        padding-top: 20px;
    }

    .mapa-optimizar__header__col-1 {
        max-width: 75%;
    }

    .mapa-optimizar__header__col-2 {
        width: 25%;
    }

    .filters_cont::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.2) 5%, transparent 15%, transparent 85%, rgba(255, 255, 255, 0.3) 95%);
        pointer-events: none;
        z-index: 9;
        /* border-radius: 100px; */
    }

    #card-container {
        width: 35vw;
    }

    .card-photo {
        max-height: 40vh !important;
    }

    .card-body {
        max-height: 50vh !important;
    }

    .sup-ejecutada {
        display: none;
    }

    .card-link {
        font-size: 16px !important;
    }

    .open-menu-btn__text-pc {
        margin-top: 120px;
        letter-spacing: 6px;
        font-size: 10px;
    }
}

@media(max-width:767px) {

    .mapa-optimizar__header {
        padding: 0;
    }

    .mapa-optimizar__header__col-1 {
        max-width: 100%;
        flex-direction: column;
    }

    .search-container-1 {
        padding: 20px;
        padding-bottom: 0;
    }

    .mapa-optimizar__header__col-1__filters {
        padding: 0 20px;
        scrollbar-width: none;
    }

    .mapa-optimizar__header .search-input {
        width: 70vw;
    }

    .mapa-optimizar__header__col-1__filters::-webkit-scrollbar {
        display: none;
    }

    .mapa-optimizar__header__col-2 {
        display: none;
    }

    .filters_cont::before {
        display: none;
    }

    .open-menu-btn {
        top: unset;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90vw;
        height: 50px;
        border-radius: 100px;
        flex-direction: row;
        padding: 0;
        justify-content: center;
    }

    .open-menu-btn__text-pc {
        display: none;
    }

    .open-menu-btn__col-1 img {
        display: none;
    }

    .open-menu-btn__tree,
    .open-menu-btn__tree-yellow {
        position: absolute;
        bottom: 0;
        right: 20px;
    }

    .open-menu-btn__text-mobile {
        display: block;
        margin: 0;
        color: var(--e-global-color-primary);
        letter-spacing: 7px;
        font-size: 16px;
    }

    .side-menu {
        left: 0;
    }

    .side-menu.open {
        width: 100%;
    }

    .side-menu .col-1 {
        width: 100%;
    }

    .side-menu .col-2 {
        display: none;
    }

    #loop-container {
        padding-bottom: 200px;
    }

    #card-container {
        width: 100vw;
        z-index: 9999;
        right: 0;
        bottom: 0;
        border-radius: 20px 20px 0 0;
    }

    .card-photo {
        height: 220px !important;
        max-height: 50vh !important;
    }

    .card-body {
        max-height: 50vh !important;
    }

    .card-link {
        font-size: 20px !important;
    }
}


/* 
|-------------------------------------------------------------------------- 
| Markers Styles 
|-------------------------------------------------------------------------- 
*/
[role="button"] {
    outline: none !important;
}

.gm-style div {
    cursor: grab !important;
}

.gm-style div:active {
    cursor: grabbing !important;
}



.gm-style div.yNHHyP-marker-view {
    cursor: pointer !important;
    border-radius: 50%;
}

.marker-div {
    outline: none;
}

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

/* Contenedor */
.marker .marker-wrapper {
    transition: 0.5s cubic-bezier(0, 0.28, 0.45, 1.01);
    position: relative;
    transform-style: preserve-3d;
    width: 60px;
    height: 60px;
}

/* Sombrita de abajo */
/* .marker:after {
    border-radius: 50%;
    transition: 0.3s ease;
    transform: scale(0.7, 0.7);
    width: 14px;
    height: 4px;
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
} */

/* Círculo */
.marker .marker-wrapper .pin {
    border-radius: 100%;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2), inset 0px 0px 0px 2px white;
    transform-style: preserve-3d;
    border: 2px solid white;
    position: absolute;
    bottom: 3px;
    width: 60px;
    height: 60px;
    background-size: cover;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Triangulito */
.marker .marker-wrapper .pin:after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 4px 0 4px;
    border-color: white transparent transparent transparent;
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    margin: auto;
}

/* Imagen */
.marker .marker-wrapper .pin .image {
    background-size: cover;
    height: 55px;
    width: 55px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
}

/* Marker Clusterer */
.IPAZAH-content-container svg {
    fill: #F7A400;
}





.gm-style-iw-a {
    display: none;
}