header-menu

/* HEADER */
.header {
    position: relative;
}

.top-header {
    position: relative;
}

.header-slider {
    height: 50rem;
    position: relative;
}

.header-logo {
    width: 17rem;
    text-align: left;
}

#header-menu {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 40;
}

#header-menu>div {
    align-items: center;
}

.slide-overlay {
    position: absolute;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 100%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.main-slides .slide-img,
.header-banner .slide-img {
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    height: 100%;
    position: relative;
    z-index: 5;
}


.main-slides,
.main-slides>div,
.main-slides>div>div,
.main-slides>div>div>div,
.main-slides>div>div>div>div,
.main-slides>div>div>div>div>div,
.main-slides>div>div>div>div>div>div {
    height: 100%;
}

.main-slides .bigwrapp,
.header-banner .bigwrapp {
    position: relative;
    height: 100%
}

.main-slides .bigwrapp>div,
.header-banner .bigwrapp>div {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 30;
    left: 2rem;
    right: 2rem;
}

.main-slides h3 span,
.header-banner h3 span {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: rgba(0, 30, 64, 0.85);
}

@media screen and (max-width: 768px) {

    .header-slider,
    .header-banner {
        height: 50rem;
    }

    #header-menu>div {
        align-items: start;
    }

}



/* DOGADANJA & RADIONICE */
.breadcrumbs a {
    color: #000;
}

.breadcrumbs a:hover {
    color: #00AEEF;
}



.vijest h4 {
    margin: 1rem 0;
}

.vijest.first h4 {
    font-size: 2.25rem;
    margin: 1.5rem 0;
}

.vijest .vijesti-img {
    position: relative;
    background-size: cover;
    background-position: center;
    padding-bottom: 58%;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

.vijest .vijesti-img .ico-img {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #fff;
    padding: 0.5rem 0.5rem 0.3rem 0.5rem;
    border-radius: 6px 0 5px 0;
}

.vijest .vijesti-img .ico-img img {
    height: 1.7rem;
}

#cesta-pitanja .vijesti-img {
    background-size: cover;
    background-position: center;
    border-radius: 6px;
}


.cta {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta h3 {
    text-align: center;
}

.cta h3 span {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: rgba(0, 30, 64, 0.85);
    color: #fff;
}



.podruznice-list {
    columns: 3;
    column-gap: 2rem;
}

.predsjednistvo-list {
    columns: 2;
    column-gap: 2rem;
}

@media only screen and (max-width: 768px) {

    .predsjednistvo-list {
        columns: 1;
    }
}

@media only screen and (max-width: 480px) {

    .podruznice-list {
        columns: 2;
    }

}








/* FOOTER */

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr 1fr 1fr 1fr;
    gap: 1rem;
    text-align: left;
    font-size: 1rem;
}

#footer a {

    color: #000;
}

#footer a:hover {

    color: #00AEEF;
}

.hr-footer {
    width: 14rem;
    margin-left: 0;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem
}

.footer-adress {
    color: #fff;
    line-height: 1.5rem;
}

.footer-ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.footer-ul li {
    margin-bottom: 0.8rem;
    padding-left: 0;
    font-size: 0.8rem;
    line-height: 1.3rem;
}

.footer-ul hr {
    width: 8rem;
    margin: 1.3rem 0;
}

.footer-dno {
    display: grid;
    grid-template-columns: 1fr 120px;

}

.footer-ikone {
    text-align: right
}


@media screen and (max-width: 920px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .footer-grid :first-child {
        grid-column: 1 / -1;
    }

}

@media screen and (max-width: 768px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* RESPONSIVE MOBILE */
@media screen and (max-width: 480px) {

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .dogadjanja-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

}



/* Navigation */

nav .topnav {
    /*background-color: #333;*/
    overflow: hidden;
}

/* Style the links inside the navigation bar */
nav .topnav a {
    float: right;
    display: block;
    color: #ffffff;
    text-align: center;
    padding: 0.9rem 1.5rem;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0);
    transition: 0.6s all;
}

/* Add an active class to highlight the current page */
nav .active {
    background-color: #04AA6D;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
nav .topnav .icon {
    display: none;
    color: #fff;
}

/* Dropdown container - needed to position the dropdown content */
nav .dropdown {
    float: right;
    overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
nav .dropdown .dropbtn {
    font-size: 1rem;
    border: none;
    outline: none;
    color: white;
    padding: 1rem 2rem;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: 0.6s all;
}

/* Style the dropdown content (hidden by default) */
nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 250;
}

/* Style the links inside the dropdown */
nav .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
nav .topnav a:hover,
.dropdown:hover .dropbtn {
    color: #005496;
    transition: 0.6s all;
}

/* Add a grey background to dropdown links on hover */
nav .dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
nav .dropdown:hover .dropdown-content {
    display: block;
}

@media screen and (max-width: 1200px) {
    nav .topnav a {
        padding: 0.5rem 1rem;
    }

    /* Style the dropdown button to fit inside the topnav */
    nav .dropdown .dropbtn {
        padding: 1rem 1rem;
    }
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 768px) {

    nav .topnav>a {
        float: left;
        background-color: #24368F;
    }

    nav .topnav>a,
    .dropdown .dropbtn {
        display: none;
        background-color: #24368F;
    }

    nav .topnav>a.icon {
        float: right;
        display: block;
        font-size: 1.4rem;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 768px) {
    nav .topnav.responsive {
        position: absolute;
        display: flex;
        flex-direction: column-reverse;
        background-color: #24368F;
        box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.15);
        padding-top: 0;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 200;
    }

    nav .topnav.responsive a.icon {
        position: fixed;
        top: 1.05rem;
        right: 2rem;
        padding: 0.5rem 1rem;
        font-size: 1.4rem;
        border-top: none;
        color: #fff;
        z-index: 300;
    }

    nav .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        font-size: 1.1rem;
        padding: 1rem;
    }

    nav .topnav.responsive .dropdown {
        float: none;
    }

    nav .topnav.responsive .dropdown-content {
        position: relative;
        display: block;
    }

    nav .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }
}




.slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slideshow-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background: no-repeat 50% 50%;
    background-size: cover;
    -webkit-animation-name: slideshow-pulse;
    animation-name: slideshow-pulse;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-duration: 12s;
    animation-duration: 12s;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.slideshow-image:nth-child(1) {
    z-index: 3;
}

.slideshow-image:nth-child(2) {
    z-index: 2;
}

.slideshow-image:nth-child(3) {
    z-index: 1;
}

.slideshow-image:nth-child(4) {
    z-index: 0;
}



@-webkit-keyframes slideshow-pulse {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(1.17);
        transform: scale(1.17);
    }
}

@keyframes slideshow-pulse {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(1.17);
        transform: scale(1.17);
    }
}


.reference-home {
    overflow: hidden;
    position: relative;
    height: 26rem;
}

.reference-home img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 60;
    transition: all 0.6s ease-in;
}

.reference-home:hover img {
    transform: translate(-50%, -50%) scale(1.2);
    transition: all 0.6s ease-out;
}

.reference-home .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 70;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 60%);
}

.reference-home .text {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    z-index: 80;
}


@media screen and (max-width: 920px) {

    .reference-home {
        overflow: hidden;
        position: relative;
        height: 22rem;
    }

}

.partneri {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    justify-content: space-around;
}

.partneri img {
    height: 2rem;
}

.bgltblu form label {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
}

.bgltblu form input[type="checkbox"] {
    width: auto;
    height: auto;
    padding: 0;
    margin-top: 0.2rem;
    flex: 0 0 auto;
}


/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.modal-box {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem 2rem 2rem;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
    padding: 0;
}

.modal-close:hover {
    color: #000;
}

.modal-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #24368F;
    color: #fff;
    font-size: 2rem;
    margin: 0 auto 1rem;
}