
/* PRAWNIKOM PRO — MAPA DZIALALNOSCI CEIDG */

html body section.ceidg-location-map {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    padding:0 !important;
    margin:24px 0 !important;
    background:#fff !important;
    border:1px solid #d5dfeb !important;
    border-radius:0 !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
}

/* NAGLOWEK MAPY */

html body .ceidg-location-map > .card-head {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:18px !important;
    padding:22px 26px !important;
    margin:0 !important;
    background:#142641 !important;
    border:0 !important;
    border-bottom:3px solid #b58a43 !important;
}

html body .ceidg-location-map .card-head > div {
    flex:1 !important;
    min-width:0 !important;
}

html body .ceidg-location-map .card-head > span {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 52px !important;
    width:52px !important;
    height:52px !important;
    background:#203b5c !important;
    border:1px solid #b58a43 !important;
    color:#d5b16b !important;
    border-radius:0 !important;
}

/* IKONA LOKALIZACJI */

html body .ceidg-location-map .card-head > span svg {
    display:none !important;
}

html body .ceidg-location-map .card-head > span::before {
    content:"";
    display:block;
    width:28px;
    height:28px;
    background:currentColor;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}

html body .ceidg-location-map .card-head small {
    display:block !important;
    color:#d5b16b !important;
    font-size:11px !important;
    font-weight:700 !important;
    letter-spacing:1.5px !important;
    margin-bottom:7px !important;
}

html body .ceidg-location-map .card-head h2 {
    font-family:Georgia,serif !important;
    font-size:clamp(18px,2vw,26px) !important;
    font-weight:500 !important;
    color:#fff !important;
    line-height:1.5 !important;
    margin:0 !important;
    overflow-wrap:anywhere !important;
}

html body .ceidg-location-map .card-head > b {
    padding:10px 14px !important;
    background:#203b5c !important;
    border:1px solid #ffffff25 !important;
    color:#d5b16b !important;
    font-size:12px !important;
    white-space:nowrap !important;
}

/* MAPA NA PELNA SZEROKOSC */

html body #main-content .ceidg-location-map > iframe,
html body section.ceidg-location-map > iframe {
    display:block !important;
    position:static !important;
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    height:450px !important;
    min-height:450px !important;
    max-height:none !important;
    aspect-ratio:auto !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    box-sizing:border-box !important;
}

/* DOLNY PASEK ADRESOWY */

html body .ceidg-location-map > footer {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-wrap:wrap !important;
    gap:16px !important;
    padding:18px 24px !important;
    margin:0 !important;
    background:#fff !important;
    border-top:1px solid #d5dfeb !important;
}

html body .ceidg-location-map > footer > span {
    flex:1 1 240px !important;
    color:#142641 !important;
    font-size:14px !important;
    font-weight:600 !important;
    line-height:1.6 !important;
}

html body .ceidg-location-map > footer > a {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:42px !important;
    padding:12px 18px !important;
    background:#142641 !important;
    color:#fff !important;
    border:1px solid #142641 !important;
    border-radius:0 !important;
    font-size:13px !important;
    font-weight:600 !important;
    text-decoration:none !important;
}

html body .ceidg-location-map > footer > a:hover {
    background:#203b5c !important;
    color:#d5b16b !important;
    border-color:#b58a43 !important;
}

/* TABLET */

@media(max-width:1024px) {
    html body #main-content .ceidg-location-map > iframe,
    html body section.ceidg-location-map > iframe {
        height:380px !important;
        min-height:380px !important;
    }
}

/* TELEFON */

@media(max-width:600px) {
    html body .ceidg-location-map > .card-head {
        flex-wrap:wrap !important;
        padding:16px !important;
        gap:12px !important;
    }

    html body .ceidg-location-map .card-head > b {
        margin-left:auto !important;
    }

    html body #main-content .ceidg-location-map > iframe,
    html body section.ceidg-location-map > iframe {
        height:320px !important;
        min-height:320px !important;
    }

    html body .ceidg-location-map > footer {
        padding:14px !important;
    }

    html body .ceidg-location-map > footer > a {
        width:100% !important;
    }
}

