/* =========================================================
   GOOGLE MAPS V1
   ========================================================= */

.ir-map{
    position:absolute;
    overflow:hidden !important;
}

.ir-map-real{
    background:#eef1f4 !important;
}

.ir-map-real .ir-map-frame{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    border:0;

    background:#e9edf1;

    pointer-events:none;
}

.ir-map-real .ir-map-gradient{
    position:absolute;
    left:0;
    right:0;
    bottom:0;

    height:88px;

    background:
        linear-gradient(
            to top,
            rgba(12,19,28,.88),
            rgba(12,19,28,.55),
            transparent
        );

    pointer-events:none;
}

.ir-map-real .ir-map-info{
    position:absolute;

    left:13px;
    right:13px;
    bottom:11px;

    display:flex;
    align-items:flex-end;
    justify-content:space-between;

    gap:10px;

    color:#fff;

    z-index:3;
}

.ir-map-real .ir-map-copy{
    min-width:0;
}

.ir-map-real .ir-map-place{
    display:block;

    overflow:hidden;

    color:#fff;

    font-size:13px;
    font-weight:900;

    line-height:1.15;

    text-overflow:ellipsis;
    white-space:nowrap;

    text-shadow:
        0 1px 3px
        rgba(0,0,0,.55);
}

.ir-map-real .ir-map-address{
    display:block;

    overflow:hidden;

    max-width:185px;

    margin-top:3px;

    color:rgba(255,255,255,.85);

    font-size:8px;

    line-height:1.25;

    text-overflow:ellipsis;
    white-space:nowrap;
}

.ir-map-open{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    min-width:88px;
    height:30px;

    padding:0 10px;

    border-radius:999px;

    background:#fff;

    color:#182231 !important;

    font-size:8px;
    font-weight:900;

    text-decoration:none !important;

    box-shadow:
        0 4px 15px
        rgba(0,0,0,.20);
}


/*
 * INSPECTOR GOOGLE MAPS
 */

.google-map-search-v1{
    margin:
        0 0 18px;

    padding:
        14px;

    border:
        1px solid
        #d8e1ea;

    border-radius:
        13px;

    background:
        #f7f9fb;
}

.google-map-search-v1 strong{
    display:block;

    margin-bottom:
        4px;

    color:
        #26364a;

    font-size:
        12px;
}

.google-map-search-v1 > p{
    margin:
        0 0 11px;

    color:
        #778497;

    font-size:
        10px;

    line-height:
        1.4;
}

.google-map-search-host-v1{
    width:
        100%;
}

.google-map-search-host-v1
gmp-place-autocomplete{
    display:block;

    width:
        100%;
}

.google-map-search-status-v1{
    margin-top:
        8px;

    color:
        #667589;

    font-size:
        9px;

    line-height:
        1.4;
}

.google-map-search-status-v1.ok{
    color:
        #177144;

    font-weight:
        800;
}

.google-map-search-status-v1.error{
    color:
        #b33e3e;
    font-weight:
        800;
}

.google-map-current-v1{
    margin-top:
        9px;

    padding:
        8px 9px;

    border-radius:
        8px;

    background:
        #ffffff;

    color:
        #556274;

    font-size:
        9px;

    line-height:
        1.35;

    word-break:
        break-word;
}


/*
 * Placeholder anterior cuando aún
 * no se ha elegido ubicación.
 */

.ir-map:not(.ir-map-real)
.ir-map-box{
    width:100%;
    height:100%;
}



/* =========================================================
   MAP PLACEHOLDER FIX V2
   ========================================================= */

.ir-map:not(.ir-map-real){
    background:#f7f8fa !important;
}

.ir-map:not(.ir-map-real) .ir-map-box{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;

    width:100% !important;
    height:100% !important;

    padding:18px !important;

    color:#1e2938 !important;
    text-align:center !important;

    box-sizing:border-box !important;
}

.ir-map:not(.ir-map-real) .ir-map-pin{
    display:block !important;
    margin-bottom:6px !important;
    font-size:28px !important;
    line-height:1 !important;
}

.ir-map:not(.ir-map-real) .ir-generic-title{
    display:block !important;

    color:#1d2838 !important;

    font-size:18px !important;
    font-weight:900 !important;
}

.ir-map:not(.ir-map-real) .ir-generic-subtitle{
    display:block !important;

    margin-top:6px !important;

    color:#657187 !important;

    font-size:11px !important;
}

.ir-map:not(.ir-map-real) .ir-map-button{
    display:inline-flex !important;

    align-items:center !important;
    justify-content:center !important;

    min-height:34px !important;

    margin-top:12px !important;
    padding:0 15px !important;

    border-radius:999px !important;

    background:#172234 !important;
    color:#ffffff !important;

    font-size:10px !important;
    font-weight:900 !important;
}


/*
 * iframe siempre visible
 */

.ir-map-real .ir-map-frame{
    display:block !important;
    opacity:1 !important;
    visibility:visible !important;
    z-index:1 !important;
}

.ir-map-real .ir-map-gradient{
    z-index:2 !important;
}

.ir-map-real .ir-map-info{
    z-index:3 !important;
}

/* END MAP PLACEHOLDER FIX V2 */

