.modal.ostali_uredjaji {
    border-radius: 30px;
}

.modal.telefoni {
    border-radius: 30px;

}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.back-to-top:hover {
    background-color: #fff;
    color: #333;
    transition: all 0.3s ease;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}

footer {
    width: 100%;
}

.modal-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}


@media only screen and (max-width: 767px) {

    /* CSS za prikaz na telefonima */
    .telefoni {
        display: none;
    }
}

@media only screen and (min-width: 768px) {

    /* CSS za ostale uređaje */
    .ostali_uredjaji {
        display: none;
    }
}

.preloader-wrapper {
    position: fixed;
    top: 60%;
    left: 42.5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-wrapper .spinner-layer {
    border-color: #4285f4;
}

.preloader-wrapper.active {
    display: block;
}

.preloader-wrapper.inactive {
    display: none;
}

/* prostor ispod preloadera */
.space-below-preloader {
    height: 100px;
}

.preloader-container {
    margin-top: 20px;
}

.space-below-preloader {
    height: 80px;
}

.ostali_uredjaji .page-footer {
    text-align: center;
}

.telefoni .page-footer {
    text-align: center;
}

.spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 60px;
    width: 60px;
    margin: 0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(0, 174, 239, .15);
    border-right: 6px solid rgba(0, 174, 239, .15);
    border-bottom: 6px solid rgba(0, 174, 239, .15);
    border-top: 6px solid rgba(0, 174, 239, .8);
    border-radius: 100%;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}


#link-drzave {
    color: black;
}

#link-naselja {
    color: black;
}

#link-gradova {
    color: black;
}

#link-stajalista {
    color: black;
}

#link-regiona {
    color: black;
}

/* CSS za razmak između navigacijske trake i kontejnera */
.spacer {
    height: 10px;
    /* Visina razmaka */
}

/* CSS za sticky navigation bar */
#navbar {
    position: -webkit-sticky;
    /* Za Safari */
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #ff5252;
    /* Boja pozadine navigacijske trake */
    padding: 10px 0;
    width: 100%;
    /* Dodavanje širine 100% */
    margin-bottom: 5%;
}

/* Dodatni stilovi za vezu unutar navigacijske trake */
#navbar a {
    margin: 0 10px;
    /* Dodavanje margine između veza */
    display: inline-block;
}

.btn:hover .waves-effect:hover {
    background-color: #cfd8dc;
    color: black;
}

        .btn:hover {
            background-color: #cfd8dc !important;
        }
