﻿:root {
    --header-height: 68px;
    /*colors*/
    --light-grey: #F5F5F5;
    /*--medium-grey: #EBECEF;*/
    --navy-blue: #001D77;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

.skip-links-list {
    z-index: 10001;
    list-style: none;
    padding-left: 0;
}

.skip-link {
    background: var(--navy-blue);
    color: #fff !important;
    padding: .5rem;
    position: absolute;
    text-decoration: underline;
    white-space: nowrap;
}

a:focus, .nav-link:focus, button:focus {
    outline: 5px auto -webkit-focus-ring-color !important;
    outline-offset: .25rem;
}

/*HEADER*/
header {
    position: fixed;
    background-color: #FFFFFF;
    border-bottom: 1px solid #D7D8DF;
    z-index: 10000;
}

    header .logo img {
        width: 300px;
        /*object-fit: cover;
        width: 350px;
        height: 45px;
        object-position: -3rem -1.25rem;*/
    }

    header .h-logo-msz img {
        width: 70px;
        /*object-fit: cover;
        width: 350px;
        height: 45px;
        object-position: -3rem -1.25rem;*/
    }

    header .nav-link {
        color: #333333;
        padding: .5rem 1rem !important;
    }

        header .nav-link:hover, header .nav-link.active {
            color: var(--navy-blue) !important;
        }

    header .navbar-toggler {
        border: 0;
    }

        header .navbar-toggler svg {
            font-size: 1.4rem;
            color: var(--navy-blue);
        }

@media (min-width: 960px) {
    header {
        border-bottom: 1px solid #6683AB33;
        box-shadow: 0px 0px 32px 0px #6683AB33;
    }
}


/*MAIN*/
main {
    background-color: #FFF;
    padding-top: 105px;
    padding-bottom: 30px;
    min-height: calc(100vh - 203px);
}

.main-card {
    background-color: #FFF;
    padding: 1rem 0;
}

.main-card-title {
    font-weight: 500;
    font-size: 1.3rem;
    color: #1E1E1E;
    margin-bottom: 1.25rem;
}

.main-card .title-h2 {
    font-weight: 500;
    font-size: 1.15rem;
    color: #1E1E1E;
    margin-bottom: 1.25rem;
    margin-top: 1.25rem;
}

.main-card .title-h3 {
    font-weight: 500;
    font-size: 1rem;
    color: #1E1E1E;
    margin-bottom: 1.25rem;
    margin-top: 1.25rem;
}

.main-card .title-h4 {
    font-weight: 500;
    font-size: 1rem;
    color: #1E1E1E;
}

.main-card-tools {
    margin-bottom: 1.25rem;
    justify-content: space-between;
    gap: 1rem;
}

.main-card-button {
    border: 1px solid #D1D1D1;
    border-radius: 4px;
    color: #000;
    font-size: 1rem;
}

.main-card-button-2 {
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.2) !important;
    border-radius: 4px;
    color: #000;
    font-size: .9rem;
    background-color: #FFF;
}

.main-card-button-3 {
    font-size: 14px;
}

.main-card-button-left {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.main-card-button-right {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: 1px solid transparent;
}

.main-card-button:disabled {
    border: 1px solid #D1D1D1;
}

.main-card-button:hover, .main-card-button.active {
    border: 1px solid #D1D1D1;
    border-radius: 4px;
    color: #000;
    background-color: #C3DCFF;
}

.main-card-button-2:hover, .main-card-button-2.active {
    border-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    color: #000;
    background-color: #f4f4f4;
}

    .main-card-button.active svg {
        color: var(--navy-blue);
    }

.main-card-button svg {
    color: #6C757D;
}

.main-card-button-3 svg {
    color: #000;
    margin-left: 0.75rem;
}

.main-card-button:disabled svg {
    color: var(--bs-btn-disabled-color);
}

.main-card-tools .form-select {
    border: 1px solid #D1D1D1;
    border-radius: 4px;
    padding-top: 5px;
    padding-bottom: 6px;
    font-size: 14px;
    width: 85px;
}

.main-card-tools .form-select-2 {
    width: 170px;
}

.main-card-tools .treeselect {
    width: 260px;
}

.main-card-tools .treeselect-input {
    min-height: 34px;
    border: 1px solid #D1D1D1;
}

.main-card-tools .treeselect-input--focused {
    border: 1px solid #000;
}

.main-card-tools .treeselect-list__item--focused {
    background-color: #E1EDFF !important;
}

.main-card-tools .treeselect-list.treeselect-list--single-select .treeselect-list__item--single-selected {
    background-color: #C3DCFF;
}

.treeselect-input__clear svg, .treeselect-input__arrow svg {
    stroke: #343A40 !important;
}

.treeselect-list__item-icon svg {
    stroke: #343A40 !important;
}

@media (min-width: 960px) {
    main {
        background-color: var(--light-grey);
        padding-top: 115px;
        padding-bottom: 30px;
    }

    .main-card {
        /*border: 1px solid #DADADA;*/
        border-radius: 20px;
        box-shadow: 0px 0px 32px 0px #6683AB33;
        padding: 2rem;
    }
}

.navbar > .container-fluid {
    justify-content: left;
}


/*MAPY*/
.tooltip-circle {
    min-width: 100px;
}

    .tooltip-circle span:first-child {
        font-size: 1rem;
        color: #333333;
    }

    .tooltip-circle span:last-child {
        font-size: 1rem;
        color: #001D77;
        font-weight: 700;
    }

    .tooltip-circle hr {
        margin: .35rem 0;
        border-top: 2px solid #D1D1D1;
    }

.tooltip-circle-g {
    min-width: 100px;
}

    .tooltip-circle-g span {
        font-size: 1rem;
        color: #333333;
    }

    .tooltip-circle-g hr {
        margin: .35rem 0;
        border-top: 2px solid #D1D1D1;
    }

.leaflet-tooltip:has(> .tooltip-circle) {
    background-color: #F4F4F4;
    border: 1px solid #D1D1D1;
    box-shadow: 0px 0px 32px 0px #0000004D;
}


/*FOOTER*/
footer {
    border-top: 1px solid #CCCCCC;
}

.footer-logo img {
    width: 130px;
    margin-top: -.2rem;
    /*height: 130px;
    object-fit: cover;
    object-position: 10% -13px;*/
}

.footer-logo-msz img {
    width: 130px;
    margin-top: -.5rem;
}

.footer-logo-msz-en img {
    width: 286px;
    margin-top: -.5rem;
}

.footer-logo p, .footer-logo-msz p {
    margin-bottom: .25rem;
}

.footer-logo a, .footer-logo-msz a {
    color: var(--navy-blue);
}

    .footer-logo a:hover, .footer-logo-msz a:hover {
        color: var(--navy-blue);
        text-decoration: none;
    }

footer .links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    footer .links a {
        color: #000;
        text-decoration: none;
    }

        footer .links a:hover {
            color: var(--navy-blue);
        }

footer .links-media {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 0;
}

    footer .links-media a {
        padding: 0 .5rem;
    }

    footer .links-media svg {
        color: #8B8B8B;
        font-size: 1.2rem;
    }

    footer .links-media a:hover svg {
        color: var(--navy-blue);
    }

footer .twitter svg path {
    fill: #8B8B8B;
}

footer .twitter:hover svg path {
    fill: var(--navy-blue);
}

@media (min-width: 960px) {
    footer .links {
        flex-direction: row;
        justify-content: start;
    }

        footer .links a {
            padding-right: 1rem;
        }
}

@media (min-width: 1200px) {
    footer .links {
        justify-content: end;
    }
}


/*ERROR*/
.error .main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 170px);
}

.error .error-type {
    font-size: 4rem;
    font-weight: 600;
}

.error .error-text {
    font-size: 2rem;
    font-weight: 500;
}

.error .error-link {
    margin-top: 2rem;
    color: var(--navy-blue);
}


/*GLOBUS*/
#globe {
    position: relative;
}

.globe {
    fill: #FFF;
    stroke: #333;
    stroke-width: .5;
}

.country {
    fill: #ECECEC;
    stroke: #333;
    stroke-width: .3;
    opacity: 1;
    clear: both;
}

.graticule {
    fill: #FFF;
    stroke: #e7e7e7;
    stroke-width: 1;
}

.country_active {
    fill: #ECECEC;
    stroke: #1455AF;
    stroke-width: 5;
    opacity: 1;
}

.country_active_color {
    fill: #9b9b9b;
}

.marker-cluster img {
    height: 32px;
    transform: translate(10%, -25%);
}

.mark {
    fill: var(--navy-blue);
    stroke-width: 1px !important;
    stroke: #FFFFFF;
    opacity: 0.9;
}

.group-mark, .group-mark-shadow {
    fill: var(--navy-blue);
    stroke-width: 1px !important;
    stroke: #FFFFFF;
    opacity: 0.9;
}

.group-mark-circle {
    fill: #FFF;
    stroke-width: 1px !important;
    stroke: #FFFFFF;
    opacity: 0.9;
}

.country-tooltip {
    position: absolute;
    padding: 6px;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    color: #222;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    font-size: .8rem;
}

    .country-tooltip:before, .mark-tooltip:before{
        position: absolute;
        pointer-events: none;
        border: 6px solid transparent;
        background: transparent;
        content: "";
    }

    .country-tooltip:before, .mark-tooltip:before{
        left: 50%;
        margin-left: -6px;
        bottom: 0;
        margin-bottom: -12px;
        border-top-color: #fff;
    }

.mark-tooltip {
    position: absolute;
    min-width: 100px;
    padding: 6px;
    color: var(--navy-blue);
    background-color: #F4F4F4;
    border: 1px solid #D1D1D1;
    box-shadow: 0px 0px 32px 0px #0000004D;
    border-radius: 3px;
    font-size: 1rem;
}

    .mark-tooltip span:first-child {
        font-size: 1rem;
        color: #333333;
    }

    .mark-tooltip span:last-child {
        font-size: 1rem;
        color: #001D77;
        font-weight: 700;
    }

    .mark-tooltip hr {
        margin: .35rem 0;
        border-top: 2px solid #D1D1D1;
    }


.leaflet-interactive {
    clear: both;
}

/*DODATKOWE INFORMACJE*/
.main-card .card {
    border-radius: 12px;
    border: 1px solid #D7D8DF;
}

.main-card .card-img, .card-img-top {
    border-radius: 20px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 200px;
}

.main-card .card-text {
    font-size: 14px;
    font-weight: 400;
    color: #494C57;
}

.main-card .card-link {
    font-weight: 600;
    color: #001D77;
    text-decoration: none;
}

.main-card .card-link:hover {
    text-decoration: underline;
}

.main-card .card-title {
    font-size: 1rem;
}

.btn-primary {
    background-color: #001D77 !important;
    border-color: #001D77 !important;
}

.btn-outline-primary {
    color: #001D77 !important;
    border-color: #001D77 !important;
}

    .btn-outline-primary:hover {
        background-color: #001D77 !important;
        border-color: #001D77 !important;
        color: #FFF !important;
        opacity: 0.8;
    }