body{
    --bs-body-font-family: Roboto;
}

.vijest_sadrzaj {
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 87px;
}

.vijest_vrijeme_subjekt {
    border-top: 1px solid #e4e4e4;
    border-bottom: 4px solid #73a6c8;
    padding: 7px;
    height: 25px;
    padding-left: 4px;
}

.vijest_block_velika .vijest_vrijeme_subjekt {
    border-top: 0px solid #e4e4e4;
    border-bottom: 4px solid #73a6c8;
    padding: 7px;
    height: 43px;
    padding-left: 4px;
}

.subjekt {
    float: left;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    /* width: 210px; */
	font-size: 110%;
    font-weight: bold;
}

.subjekt img {
    border: none;
    margin-top: 0px;
    float: left;
    margin-right: 5px;
}

.vrijeme img {
    border: none;
    margin-top: 8px;
    float: left;
    margin-right: 5px;
}

.subjekt_tekst, .vrijeme_tekst {
    display: block;
    /* margin-top: 5px; */
    font-family:var(--bs-body-font-family);
}

.subjekt a {
    text-decoration: none;
    font-family:var(--bs-body-font-family);
    font-size: 110%;
    font-weight: bold;
}

.subjekt a:hover {
    color: #c5c5c5;
}

.vrijeme {
    margin-top: -7px;
    float: right;
    font-family:var(--bs-body-font-family);
    font-size: 115%;
    letter-spacing: -0.2px;
    color: #737373;
    padding-left: 3px;
    width: 75px;
    line-height: 105%;
}

.dan_tekst {
    float: right;
    display: block;
    width: 37px;
    margin-top: 1px;
    margin-right: 3px;
    /* height: 5px; */
    background: #d65;
    padding-top: 1px;
    padding-left: 3px;
    padding-right: 2px;
    color: #fff;
    font-size: 70%;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.subjekt_link {
    clear: both;
    border-bottom: 1px solid #e4e4e4;
    padding: 4px;
    padding-left: 4px;
}

.subjekt_link img {
    padding-top: 4px;
}

.subjekt_link a {
    text-decoration: none;
    color: #ccc;
    font-family:var(--bs-body-font-family);
    font-size: 80%;
}

.subjekt_link a:hover {
    text-decoration: underline;
}

.subjekt_link img {
    border: none;
    margin-top: -2px;
    float: left;
    margin-right: 5px;
}

.vijest_block_velika {
    width: 100%;
    /*300px;*/
    min-height: 285px;
    /* 315px; */
    margin-right: 20px;
    float: left;
    margin-bottom: 30px;
    font-size: 85.0%;
    line-height: 130%;
    color: #666;
    position: relative;
}

.vijest_block_velika .vijest_slija_okvir {
    background: #fff;
    height: 227px;
    width: 100%;
    /*290px;*/
    overflow: hidden;
    background-size: cover;
}

.vijest_block_velika .vijest_slija {
    float: left;
    margin-left: 0px;
    margin-top: -4px;
    margin-right: 8px;
    border: 1px solid #dadada;
    padding: 3px;
    padding-bottom: 4px;
    background: #fff;
    height: auto;
    width: 100%;
}

.vijest_block_velika .subjekt_link {
    clear: both;
    border: none;
    padding: 4px;
    padding-left: 4px;
}

.vijest_block_velika .vijest_naziv {
    position: absolute;
    z-index: 3;
    padding-left: 3px;
    margin-top: 0px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    height: 50px;
    width: 270px;
    padding-bottom: 10px;
    margin-left: 4px;
    background: url('https://lokalnahrvatska.hr/images/block_vrh_bg.png');
}

.vijest_block_velika .vijest_naziv {
    position: absolute;
    z-index: 3;
    padding-left: 3px;
    margin-top: 148px;
    padding-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 20px;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 79px;
    overflow: hidden;
    /*width: 260px;*/
    width: -webkit-fill-available;
    width: -moz-available;
    margin-right: 4px;
    margin-left: 4px;
    background: rgba(87, 163, 214, 0.9);
}

.vijest_block_velika .vijest_naziv a {
    display: block;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 49px;
    overflow: hidden;
    text-decoration: none;
    font-size: 105%;
    font-family:var(--bs-body-font-family);
    line-height: 100%;
    color: #fff;
}

.vijest_block_velika .vijest_naziv a {
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 39px;
    overflow: hidden;
    text-decoration: none;
    font-size: 140%;
    font-family:var(--bs-body-font-family);
    line-height: 120%;
    color: #fff;
}

@media only screen and (max-width: 767px) {
    .vrijeme {
        margin-top: -10px;
        font-family:var(--bs-body-font-family);
        font-size: 120%;
        letter-spacing: -0.2px;
        color: #666;
        padding-left: 3px;
        width: 45px;
        line-height: 105%;
    }

    .vrijeme img {
        position: absolute;
        display: none;
    }

    .dan_tekst {
        float: right;
        display: block;
        width: 45px;
        margin-right: 3px;
        /* height: 5px; */
        /* background: #666; */
        padding-top: 2px;
        padding-bottom: 2px;
        padding-left: 2px;
        padding-right: 2px;
        color: #fff;
        font-size: 90%;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

    .subjekt_link a {
        color: #858585;
    }

    .vijest_vrijeme_subjekt {
        border-top: none;
    }

    .vijest_sadrzaj {
        font-size: 13px;
        display: block;
    }
}

.note {
    padding: 0 1%;
    font-size: 75%;
    text-align: left;
    margin: auto;
    background-color: #f8f9f9;
}

.note h4 {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #333;
    line-height: 0.1em;
    margin: 10px 0 15px;
    padding-left: 10%;
    font-size: 100%;
}

.note h4 span {
    background: #fff;
    padding: 0 10px;
}

.note p {
    padding: 0 4% 10px;
}



.gornja_crta_unutra {
    width: 1260px;
    padding-right: 30px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1000;
}

.gornja_crta {
    /*position: fixed;
    z-index: 100000;*/
    background: #fff;
    width: 100%;
    /*height: 50px;*/
    top: 0px;
    -moz-box-shadow: 0px 0px 4px#000;
    -webkit-box-shadow: 0px 0px 4px#000;
    box-shadow: 0px 0px 4px#000;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=0, Direction=90, Color='#000000')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=0, Direction=90, Color='#000000');
}

#naslov {
    /*float: left;*/
}

#naslov img {
    border: none;
    opacity: 1.0;
    filter: alpha(opacity=100);
}

#naslov img:hover {
    border: none;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

/* Ensure the map has some height and width */
#mapBig {
    height: 310px;
    width: 100%;
    z-index: 1;
}

  /* Highlighted article section */
  
.highlighted {
    /* Remove border-color since we will use box-shadow for the inner effect */
    box-shadow: inset 0 0 0 10px #fbb947, 0 0 10px rgba(255, 0, 0, 0.5); /* Inner border and outer shadow */
}

@media only screen and (min-width: 768px) and (max-width: 1300px) {
    .gornja_crta_unutra {
        width: 960px;
        margin-left: auto;
        margin-right: auto;
        z-index: 100;
    }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    .gornja_crta_unutra {
        width: 738px;
        margin-left: auto;
        margin-right: auto;
    }

    #naslov {
        /*margin-right: 420px;*/
    }
}

@media only screen and (max-width: 767px) {
    .gornja_crta_unutra {
        width: 320px;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
    }
    .leaflet-top.leaflet-left {
        display: none;
    }
    .logoinfo {
        display: none;
    }
    /* #mapBig {
        max-height: calc(100vh - 115px - 5rem);
    } */
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .gornja_crta_unutra {
        width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    #naslov {
        /* margin-right: 120px;*/
    }
}

.animate {
    -webkit-animation: 1.5s 0s fadeUp both;
    animation: 1.5s 0s fadeUp both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        -webkit-transform: translatey(40px);
        -moz-transform: translatey(40px);
        -o-transform: translatey(40px);
        transform: translatey(40px);
    }

    to {
        opacity: 1;
        -webkit-transform: translate(0px, 0px);
        -moz-transform: translate(0px, 0px);
        -o-transform: translate(0px, 0px);
        transform: translate(0px, 0px);
    }
}

.mapa_block_velika {
    width: 100%;
    /* width: 290px; */
    height: 227px;
    margin: auto;
    margin-bottom: 3px;
}

.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom  {
    z-index:-1;
}

.custom-popup .leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.5); /* Semi-transparent background */
    border-radius: 10px; /* Optional: rounded corners */
    max-height:40px;
    font-size: 12px; /* Veća veličina fonta */
    font-weight: bold; /* Veća veličina fonta */
    line-height: 1.2; /* Povećava visinu reda za bolju čitljivost */
    text-align: center; /* Centriranje teksta po horizontali */
    display: flex;
    justify-content: center; /* Centriranje po horizontali unutar flex container-a */
    align-items: center; 
}
.custom-popup .leaflet-popup-tip-container {
    display: flex; /* Optional: hide the popup arrow */
}

#naslov img.logo {
    max-width:100%;
}

.promoclass .vijest_naziv {
    display: none;
}

.promoclass .vijest_slija {
    position: relative;
    width: 100%;
    height: 236px;
    overflow: hidden;
}

.promoclass .vijest_slija_okvir {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 90%;
    background-size: cover;
    background-position: center;
    transform: translate(-50%, -50%);
}