@font-face {font-family:'gfont';src: url(../font/gfont.woff2);}
html{-webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;}
html,body{height:100%;}
body{font-family:'gfont';}
p,footer {font-size:1.4rem;}
.pomalo {font-size:1.2rem;}
.logoside img {width:290px;}
.news-single img{width:516px;max-width:100%;height:206px;max-height:206px;border:1px solid #d0d0d0;object-fit:cover;}
h1 {font-size: 1.4rem;line-height:2rem;margin:0.8rem 0;display:block;text-decoration:none;font-weight:400;color:#000;font-family:'Literata';}
.news-single a h1:hover {color:#F36E2D;}
h1.map-title{font-size:3rem; line-height:4rem;font-family:'Ovo';}
span.map-subtitle{font-size:1.4rem;}
h1.centres-title{font-size:3rem; line-height:4rem;font-family:'Ovo';}
span.centres-subtitle{font-size:1.4rem;}
.news-single,.news-single p {font-size:1.05rem;font-family: 'Ovo';}
.ndn-center-snippet {border:1px solid #e5e5e5;border-radius:0.35rem;background:#fff;}
.ndn-center-snippet__body h3 {font-weight:700;color:#1f1f1f;}
.ndn-center-snippet__readmore {font-size:0.95rem;font-weight:600;color:#0a58ca;text-decoration:none;}
.ndn-center-snippet__readmore:hover,.ndn-center-snippet__readmore:focus {color:#063c8a;text-decoration:underline;}
.naslov-master {font-family: 'Ovo';}
.sp-pcp-readmore {display:none;}
.wrapche{flex-direction:column;display:flex;justify-content:center;align-items:center;}
.centre-title{border-bottom:4px solid #F36E2D;padding:0.2rem 0;margin:1rem 0;}
.centre-title h2 {font-weight:bold;letter-spacing: -1px;}
.centre-subtitle a {line-height:0;color:#777777;font-size:1.1rem;text-decoration: none;}
.centre-subtitle a:hover{text-decoration: underline;}
i{color:#777777;}
.header-page {margin:1rem 0;padding:1rem;border:4px solid #F36E2D;}
.ndn-bg{background-color:#F36E2D;}
@font-face{font-family:fontello;src:url(../font/fontello.eot?95973622);src:url(../font/fontello.eot?95973622#iefix) format('embedded-opentype'),url(../font/fontello.woff2?95973622) format('woff2');font-weight:400;font-style:normal}
.demo-icon{font-family:fontello;font-style:normal;font-weight:400;display:inline-block;text-decoration:inherit;width:1rem;margin-right:.1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.carousel-item{height:100vh;min-height:350px;background:no-repeat center center scroll;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}
footer a{color:inherit;text-decoration:none;transition:all .3s}
footer a:hover{color:#555555;transition:all .3s}
footer{background-color:#d8d8d8;}
.bledo{color:#787878;}
a:focus,a:hover{text-decoration:underline;color:#F36E2D;}
.to-web a {font-size:1.12rem;color:#666666;letter-spacing: -0.5px;}
.to-web a:hover {color:#F36E2D;}

#nansenmap .leaflet-tile-pane {
    -webkit-filter: grayscale(100%) brightness(1.1) contrast(90%);
    filter: grayscale(100%) brightness(1.1) contrast(90%);
}

/* Map overlay styles */
.map-wrapper {
    position: relative;
    width: 100%;
    height: 720px;
}

#nansenmap {
    height: 100%;
    width: 100%;
    z-index: 1;
}

#locations-list-container {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 250px;
    max-height: 680px;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000; /* Above map */
    overflow-y: hidden; /* Handle scroll in inner div */
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

/* Ensure it stays on top in fullscreen */
.leaflet-container:-webkit-full-screen #locations-list-container {
    z-index: 2147483647;
    max-height: 60vh;
}
.leaflet-container:fullscreen #locations-list-container {
    z-index: 2147483647;
    max-height: 60vh;
}
.leaflet-pseudo-fullscreen #locations-list-container {
    z-index: 2147483647;
    max-height: 60vh;
}

#locations-list-container.collapsed {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    background: #fff;
}

#locations-list-container.collapsed #location-search,
#locations-list-container.collapsed #locations-list,
#locations-list-container.collapsed #countries-list {
    display: none;
}

#locations-list-container.collapsed::after {
    content: '\e800'; /* Home icon or similar from fontello, or just a list icon */
    font-family: 'fontello';
    font-size: 20px;
    color: #555;
}

/* Use a specific icon code if known, otherwise generic */
/* The user has fontello. css/nansen.css has .demo-icon */
/* Let's use a list icon if available, or just 3 bars */
/* Or just a toggle button inside */

#list-toggle-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    color: #777;
    font-size: 1.5rem;
    line-height: 1;
    display: block;
    z-index: 10;
}

#locations-list-container.collapsed #list-toggle-btn {
    display: none;
}

#locations-list {
    overflow-y: auto;
    flex-grow: 1;
    margin-top: 10px;
}

.location-item {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Ovo', serif;
    font-size: 1.1rem;
}

.location-item:hover {
    background: #f0f0f0;
    color: #F36E2D;
}

.location-search {
    width: 100%;
    padding: 10px 35px 10px 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Literata', serif;
    font-size: 1rem;
}

select.location-search {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23777' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#countries-list h5 {
    font-weight: 600;
    color: #555;
}

@media (max-width: 768px) {
    #locations-list-container {
        position: static;
        width: 100%;
        height: 400px;
        max-height: none;
        border-radius: 0;
    }
    .map-wrapper {
        height: auto;
    }
    #nansenmap {
        height: 400px;
    }
}

.regional-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
}

#regionalMapModalLabel {
    font-family: 'Ovo', serif;
    font-size: 1.5rem;
}

.regional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.regional-map-container {
    height: 220px;
    width: 100%;
    border-bottom: 1px solid #eee;
    background: #f8f8f8;
}

.regional-content {
    padding: 1.5rem;
}

.regional-title {
    font-family: 'Ovo', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.regional-stats {
    font-size: 0.9rem;
    color: #666;
    font-family: 'Literata', serif;
    margin-bottom: 1rem;
}

.regional-link {
    font-family: 'Literata', serif;
    font-size: 0.95rem;
    color: #F36E2D;
    text-decoration: none;
    font-weight: 600;
}

.regional-link:hover {
    text-decoration: underline;
}

.regional-map-container .leaflet-tile-pane {
    filter: grayscale(100%) brightness(1.1) contrast(90%);
}

.kopce{font-family: 'Literata'; line-height:1.25rem;}
.kopce:hover{text-decoration: none;}
.najsvetlo{background-color: #f0f0f0}
.card-banner{top:0;left:30px;width:360px;height:100%;z-index:10000000;background-color: rgba(255, 255, 255, 0.95)}
.card-banner-mob{top:2%;left:10px;right:10px;width:auto;height:96%;z-index:10000000;background-color: rgba(255, 255, 255, 0.95);padding:0 1.5rem;}
.divider{width:80%;text-align:center}
.divider hr{margin-left:auto;margin-right:auto;width:20%}
.left{float:left}
.right{float:right}
.entry-content a{display:none;}
hr.liniice{height:4px !important;background-color:#555555;}
hr{height:2px !important;background-color:#555555;}
@media (max-width: 576px) {
    .centre-title h2 {font-size:1.8rem;}
    .golemo-pad{padding:0;}
    body{background-color: #f8f9fa;}
    .divider{width:100%;text-align:center}
    .divider hr{margin-left:auto;margin-right:auto;width:0%}
    h1.centres-title{font-size:2.2rem; line-height:3rem;}
    span.centres-subtitle{font-size:1.3rem;}
}
@media (min-width: 576px) {
    .centre-title h2 {font-size:2rem;}
    .golemo-pad{padding:0 3rem;}
    .card-banner-mob{top:15%;left:40px;right:40px;width:auto;height:70%;z-index:10000000;background-color: rgba(255, 255, 255, 0.95);padding:0 4rem;}
    .divider{width:100%;text-align:center}
    .divider hr{margin-left:auto;margin-right:auto;width:0%}
    h1.centres-title{font-size:2.4rem; line-height:3rem;}
    span.centres-subtitle{font-size:1.3rem;}
}
@media (min-width: 768px) {
    .centre-title h2 {font-size:1.7rem;}
    .golemo-pad{padding:0 8rem;}
    .divider{width:100%;text-align:center}
    .divider hr{margin-left:auto;margin-right:auto;width:8%}
    h1.centres-title{font-size:3rem; line-height:3.8rem;}
    /* span.centres-subtitle{font-size:1.4rem;} */
}
@media (min-width: 992px) {
    .centre-title h2 {font-size:1.4rem;}
    .golemo-pad{padding:0 12rem;}
    .card-banner{width:360px;}
    .divider{width:90%;text-align:center}
    .divider hr{margin-left:auto;margin-right:auto;width:15%}
    h1.centres-title{font-size:3.6rem; line-height:4rem;}
    .akademija{display: none;}
}
@media (min-width: 1200px) {
    .centre-title h2 {font-size:1.7rem;}
    .golemo-pad{padding:0 15rem;}
    .card-banner{width:440px;}
    .divider{width:80%;text-align:center}
    .divider hr{margin-left:auto;margin-right:auto;width:16%}
    .about-text{padding:0 1rem;}
}
@media (min-width: 1400px) {
    .centre-title h2 {font-size:2.1rem;}
    .golemo-pad{padding:0 22rem;}
    .divider{width:80%;text-align:center}
    .divider hr{margin-left:auto;margin-right:auto;width:21%}
    .about-text{padding:2rem 3rem;}
}
@media (min-width: 1600px) {

}
