@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.jezik {
    position: absolute;
    top: 100px;
    left: 80%;
    margin-right: 5%;
}

.slika_jezika {
    display: inline-block;
    width: 50px;
}
.div_scroll{
    overflow-x: scroll;

}
.pozadinski_div{
    background-color: white;
    border-radius: 20px;
    margin-left: 5%;
    margin-right: 5%;
    padding: 5%;

}
.container_dobrodosli {
    text-align: center;
    width: 100%;
}

.container_dobrodosli span {
    display: block;
}

.text1_dobrodosli {
    background: lightgrey;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 20px;
    position: relative;
    animation: text 1s 1;
}

.text2_dobrodosli {
    font-size: 30px;
}

@keyframes text {
    0% {
        color: black;
        margin-bottom: -50px;
    }
    30% {
        letter-spacing: 25px;
        margin-bottom: -50px;
    }
    85% {
        letter-spacing: 8px;
        margin-bottom: -50px;
    }
}

.postavke_box {
    margin: 5%;
    width: 80%;
    display: grid;
    grid-template-columns: 200px 2fr;
    height: 800px;
}

.postavke_sadrzaj {
    background-color: white;
    margin: 0 10px;
    border: 1px solid green;
    border-radius: 20px;
}

.postavke_sadrzaj_sihterica {
    margin: 10px !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.postavke_sadrzaj_ured {
    margin: 10px !important;

}

.prikazi {
    display: block;
}

.sakrij {
    display: none;
}

.obavijesti_box_naslov {
    display: none;
    text-align: center;
    width: 70%;
    margin: auto;
    background-color: #f8d7da;
    padding: 10px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: bold;
    font-style: italic;
}

.obavijesti_box {
    display: block;
}

blink_obavijesti {
    -webkit-animation: 3s linear infinite obavijesti_blink;
/ / for android animation: 3 s linear infinite obavijesti_blink;
}

@-webkit-keyframes obavijesti_blink {
    0% {
        visibility: hidden;
    }
    20% {
        visibility: hidden;
    }
    100% {
        visibility: visible;
    }
}

@keyframes obavijesti_blink {
    0% {
        visibility: hidden;
    }
    20% {
        visibility: hidden;
    }
    100% {
        visibility: visible;
    }
}

blink {
    -webkit-animation: 1.5s linear infinite condemned_blink_effect;
/ / for android animation: 1.5 s linear infinite condemned_blink_effect;
}

.checkbox {
    -webkit-appearance: none;
    width: 40px;
    height: 20px;
    background-color: lightgrey;
    cursor: pointer;
    outline: none;
    border-radius: 10px;
}

.checkbox:checked {
    background-color: #00aa88;
}

.checkbox::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: grey;
    transition: .3s linear;
    border-radius: 10px;
}

.checkbox:checked::before {
    background-color: #00ffcc;
    margin-left: 21px;
}

@keyframes loader {
    25% {
        color: #2ecc71;
    }
    50% {
        color: #f1c40f;
    }
    75% {
        color: #e74c3c;
    }
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes condemned_blink_effect {
    0% {
        visibility: hidden;
    }
    20% {
        visibility: hidden;
    }
    100% {
        visibility: visible;
    }
}

@keyframes condemned_blink_effect {
    0% {
        visibility: hidden;
    }
    20% {
        visibility: hidden;
    }
    100% {
        visibility: visible;
    }
}

input[type=file] {
    font-size: small;
}

input[type=button] {
    cursor: pointer;
    display: block;
    margin: auto;
    border-radius: 5px;

}

input[type=submit] {
    margin: auto;
    border-radius: 5px;
    padding: 5px 10px;
}

input[type=number], input[type=text], input[type=decimal], select, input[type=string], input[type=email], input[type=datetime], textarea {
    border-radius: 5px;
    border: 1px solid lightgrey;
    padding: 5px;
}

input[type=submit]:hover, input[type=button]:hover, button[type=button]:hover, .btn:hover {
    cursor: pointer;
    transform: rotateX(25deg);
    transition: 0.3s linear;
    box-shadow: 0 4px 4px 2px black;
    color: black;
}

.btn {
    cursor: pointer;
}

.btn:hover {
    cursor: pointer;
    transform: rotateX(25deg);
    transition: 0.3s linear;
    box-shadow: 0 4px 4px 2px black;
}

table.table-hover tr:hover td {
    cursor: pointer;
    transform: rotateX(15deg);
    transition: 0.2s linear;
    box-shadow: 0 5px 5px grey;
    color: black;
}

.middle {
    background-color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bar {
    width: 6px;
    height: 60px;
    background: white;
    display: inline-block;
    transform-origin: bottom center;
    animation: loading 1.5s ease-in-out infinite;
}

.bar1 {
    animation-delay: 0.1s;
}

.bar2 {
    animation-delay: 0.2s;
}

.bar3 {
    animation-delay: 0.3s;
}

.bar4 {
    animation-delay: 0.4s;
}

.bar5 {
    animation-delay: 0.5s;
}

.bar6 {
    animation-delay: 0.6s;
}

.bar7 {
    animation-delay: 0.7s;
}

.bar8 {
    animation-delay: 0.8s;
}

@keyframes loading {
    0% {
        transform: scaleY(0.1);
        background: #fff;
    }
    50% {
        transform: scaleY(1);
        background: #2ecc71;
    }
    100% {
        transform: scaleY(0.1);
        background: transparent;
    }
}

.textbox i {
    width: 26px;
    text-align: center;
}

.textbox input {
    border: none;
    outline: none;
    background: none;
    font-size: 18px;
    width: 80%;
    margin: 0 10px;
}

.login-box {
    width: 280px;
}

.login-box h2 {
    font-style: italic;
    font-size: 40px;
    border-bottom: 4px solid #4caf50;
    margin-bottom: 50px;
    padding: 13px 0;
}

.textbox {
    width: 100%;
    overflow: hidden;
    font-size: 20px;
    padding: 8px 0;
    margin: 8px 0;
    border-bottom: 1px solid #4caf50;
}

.middle {
    background-color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bar {
    width: 6px;
    height: 60px;
    background: white;
    display: inline-block;
    transform-origin: bottom center;
    animation: loading 1.5s ease-in-out infinite;
}

.bar1 {
    animation-delay: 0.1s;
}

.bar2 {
    animation-delay: 0.2s;
}

.bar3 {
    animation-delay: 0.3s;
}

.bar4 {
    animation-delay: 0.4s;
}

.bar5 {
    animation-delay: 0.5s;
}

.bar6 {
    animation-delay: 0.6s;
}

.bar7 {
    animation-delay: 0.7s;
}

.bar8 {
    animation-delay: 0.8s;
}

@keyframes loading {
    0% {
        transform: scaleY(0.1);
        background: #fff;
    }
    50% {
        transform: scaleY(1);
        background: #2ecc71;
    }
    100% {
        transform: scaleY(0.1);
        background: transparent;
    }
}

.btnn {
    width: 100%;
    color: black;
    background-color: #4caf50 !important;
    padding: 5px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 20px !important;
    font-style: italic;
    font-weight: bold;
}

.btnn:hover {
    transition: 3s linear;
    transform: scale(1.02);
    background-color: #4caf50 !important;
    border-color: black !important;

}

.textbox i {
    width: 26px;
    text-align: center;
}

.textbox input {
    border: none;
    outline: none;
    background: none;
    font-size: 18px;
    width: 80%;
    margin: 5px 10px;
    border-radius: 20px;
    padding: 0 10px;
    height: 35px;
}

.login-box {
    width: 280px;
}

.login-box h2 {
    font-style: italic;
    font-size: 40px;
    border-bottom: 4px solid #4caf50;
    margin-bottom: 30px;
    padding: 13px 0;
}

.textbox {
    width: 100%;
    overflow: hidden;
    font-size: 20px;
    padding: 8px 0;
    margin: 25px 0;
    border-bottom: 1px solid #4caf50;

}

.sve_slike {
    justify-content: center;
    align-content: center;
}

.slika_box:hover {
    z-index: 10;
    transform: scale(1.7);
    transition: all ease 0.1s;
}

.slika_box {
    cursor: pointer;
    display: inline-flex;
    margin: 10px 10px 0px 0px;
    width: 120px;
    height: 100px;
    position: relative;
    overflow: hidden;
    border: 2px solid;
    border-radius: 10px;
    background-color: lightgrey;
}

.slika {
    position: absolute;
    object-fit: cover;
    max-width: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.slika_dokumenti {
    object-fit: cover;
    max-width: 200px;
}

.slide_container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    width: 100%;
    height: 300vh !important;

}

html {
    overflow-y: visible; /* Hide vertical scrollbar */
    overflow-x: visible; /* Hide horizontal scrollbar */
}

.pokazivaci_ne {
    overflow-y: hidden; /* Hide vertical scrollbar */
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

.navigacija {
    display: block;
}

.slideshow {
    object-fit: cover;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: black;
    align-items: center;
    align-content: center;
    width: 100%;
    height: 90vh;
    margin: auto;
    border: 5px solid black;

}

.slideshow img {
    max-width: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
}

.w3-button {
    margin-left: 3%;
    margin-right: 3%;
    border: 2px solid white;
    position: fixed;
    margin-top: auto;
    margin-bottom: auto;
}

.w3-button:hover {
    border: 2px solid white;
    background-color: white !important;
}

#zavrsi_slideshow {
    z-index: 1;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 50px;
    margin-right: 5%;
    margin-bottom: 50px;
}

.pokazi {
    display: block;
}

.mySlides {
    transition: transform 0.4s ease-in-out;
    display: none;
    max-width: 100%;
    max-height: 100%;

}

#overlay {
    z-index: 20;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1) none 50% / contain no-repeat;
    cursor: pointer;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
}

#overlay.open {
    visibility: visible;
    opacity: 1;

}

.kutija {
    display: none;
    width: 100%;
}

.kutija_gorivo {
    font-size: small;
    display: none;
    width: 100%;
}

.btn-success {
    background-color: #00aa88;
}

.btn-success:hover {
    background-color: #00aa88;

}

#kutija_prijava {
    display: none;
}

.kutija1 {
    max-width: 100%;
}

.okidac:hover {
    box-shadow: 2px 0px 2px 2px black;
}

.box:hover {
    box-shadow: 2px 0px 2px 2px black;
    background-color: lightyellow;
}

.pic {
    float: left;
    max-width: 100px;
    max-height: 50px;
}

.picbig {
    position: relative;
    width: 0;
    display: flex;
    margin: 0 auto;
    -webkit-transition: width 0.3s linear 0s;
    transition: width 0.3s 0s;
}

.pic:hover + .picbig {
    width: 700px;

}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: red !important;
    font-size: 100px !important;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.naslovna {
    margin-left: 5%;
    width: 150px !important;
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}

.jedan {
    margin-top: -30px;
    max-width: 70%;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotateY(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotateY(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}

body {
    margin-left: 5%;
    margin-right: 5%;
    /*  background-image: url("../public/pozadina2.jpg")!important;*/
    background-color: lightgrey !important;
    overflow: scroll;

}

.form-control:hover {
    color: black !important;
    border-color: black !important;
    border-collapse: collapse !important;
}

.home1 {
    width: 50px;
    margin-left: 120px !important;

}

.home {
    width: 30px !important;
    margin-bottom: 5% !important;
}

.nav-item {
    margin-left: 10px;
}

.nav-link {
    border-radius: 10px;
}

.nav-link:hover {
    color: greenyellow !important;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: greenyellow;
}

.navbar-brand {
    border-radius: 10px;
    padding-left: 5px;
}

.navbar-brand:hover {
    color: greenyellow !important;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: greenyellow;
}

.navbar-toggler:hover {
    border-color: greenyellow !important;
    color: greenyellow !important;
    cursor: pointer;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: greenyellow;
}

.dropdown-item {
    color: black;
}

.dropdown-item:hover {
    background-color: #bfff80;
    color: black !important;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: black;
}

.dropdown-divider {
    border-color: green !important;
}

.dropdown-menu:hover {
    background-color: white;
}

.obavijesti tr {
    background-color: #f8d7da;

}

.obavijesti td {
    border-radius: 5px;
    box-shadow: 1px 1px 3px -2px red;
    font-size: xx-small;
    padding-left: 5px;
    line-height: 15px;
    overflow: hidden
}

.tablica1 {
    width: 100% !important;
    /*font-family: "serif";*/
    text-align: left;
    font-size: small;
    border-color: white;
}

.tablica1 th {
    /*text-transform: uppercase;*/
    text-align: left;
    height: 45px;
    /*background-color: #002233;*/
    background-color: #212F3C;
    color: #FFF;
    padding-left: 10px;
    padding-right: 10px;
    font-style: italic;
    border-radius: 10px;

}

.tablica1 tr {
    background-color: white;

}

.tablica1 td {
    border: 1px solid #e3e3e3;
    padding-right: 5px;
    padding-left: 5px;
    border-radius: 5px;

    /*box-shadow: 1px 1px 6px -2px green;*/
}

.tablica1 th {
    border: 1px solid #e3e3e3;
    padding-right: 5px;
    padding-left: 5px;
    border-radius: 5px;
    /*box-shadow: 1px 1px 6px -2px green;*/
}

.tablica1 td:hover {
    cursor: pointer;
}

.tablica1 tr:nth-child(odd) {
    background-color: #e7edf0;
}

.container {
    -webkit-animation-name: example;
    animation-duration: 0.5s;
}

@-webkit-keyframes example {
    0% {
        top: 50px;
    }
    100% {
        top: 0px;
    }
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    overflow-x: auto !important;

}

.open {
    display: block;
}

#ponuda {
    background-color: white;
    margin-left: 5% !important;
    margin-right: 5% !important;
    font-size: small;
    border: solid black 1px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
}

/*/////////////////////////////////////////////*/

@media (max-width: 480px) {

    .jezik {
        position: absolute;
        top: 150px;
        left: 600px;
        width: 300px;
    }

    .slika_jezika {
        display: inline-block;
        width: 50px;
    }

    .sve_slike {
        justify-content: center;
        align-content: center;
    }

    .obavijesti_box_naslov {
        text-align: center;
        width: 100%;
        margin: auto;
    }

    .obavijesti {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .ekran {
        display: none;
    }

    #ponuda {
        background-color: white;
        margin-left: 5% !important;
        margin-right: 5% !important;
    }

    .naslovna {
        margin-left: 5%;
        margin-top: 40px !important;
        -webkit-animation: spin 4s linear infinite;
        -moz-animation: spin 4s linear infinite;
        animation: spin 4s linear infinite;

    }

    .info {
        margin-left: 5%;
    }

    .jedan {
        max-width: 500px;
    }

    .odjava {
        width: 80px !important;
    }

    .home {
        width: 150px !important;
    }

    .home1 {
        margin-left: 5% !important;
        width: 80px !important;
    }

    .navbar-toggler-icon {
        width: 80px !important;
    }

    .navbar-brand {
        font-size: 40px !important;
        height: 60px;
        padding: 0px 5px 4px 5px !important;

    }

    .nav-link {
        margin-right: 5% !important;
        font-size: 30px !important;
        padding: 5px 5px !important;
    }

    .dropdown-item {
        font-size: 20px !important;
    }

    .navbar-toggler {
        width: 100px;
        height: 80px;
    }

    body {
        margin-left: 0 !important;
        margin-right: 0 !important;
        min-width: 1000px;
    }
    .pozadinski_div{
        background-color: white;
        border-radius: 20px;
        margin-left: 0;
        margin-right: 0;
        padding: 5% 0 5% 0;
        font-size: small;
        overflow-x: scroll;

    }
    .mobileMenu {
        position: fixed;
        top: 50px !important;
        bottom: 0;
        margin: auto;
        transform: translateX(-120%);
        transition: all ease 0.25s;
        overflow-x: auto !important;
    }

    .open {
        transform: translateX(0);
    }

}

/*/////////////////////////////////////////////*/

@media (min-width: 480px) and (max-width: 991px) {

    .jezik {
        position: absolute;
        top: 100px;
        left: 60%;
    }

    .obavijesti_box_naslov {
        text-align: center;
        width: 100%;
        margin: auto;
    }

    .obavijesti {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;

    }

    .mySlides {
        transition: transform 0.4s ease-in-out;
        display: none;
        max-width: 100%;
        max-height: 100%;

    }

    #ponuda {
        background-color: white;
        margin-left: 5% !important;
        margin-right: 5% !important;
    }

    .naslovna {
        margin-left: 5%;
        margin-top: 10px;
        -webkit-animation: spin 4s linear infinite;
        -moz-animation: spin 4s linear infinite;
        animation: spin 4s linear infinite;

    }

    .info {
        margin-left: 5%;
    }

    .home1 {
        width: 50px !important;
        margin-left: 5% !important;
    }

    .odjava {
        width: 65px !important;
    }

    .home {
        width: 25px !important;
    }

    .navbar-brand {
        font-size: 25px !important;
        height: 45px;

    }

    .nav-link {
        margin-right: 5% !important;
        font-size: 20px !important;
        padding: 5px 5px !important;

    }

    .dropdown-item {
        font-size: 15px !important;
    }

    .navbar-toggler-icon {
        width: 20px !important;

    }

    .navbar-toggler {
        width: 50px;
        height: 50px;
    }

    body {
        margin-left: 0;
        margin-right: 0;
        position: absolute;

    }
    .pozadinski_div{
        background-color: white;
        border-radius: 20px;
        margin-left: 0;
        margin-right: 0;
        padding: 5% 0 5% 0;
        font-size: small;
        overflow-x: scroll;

    }
    .mobileMenu {
        position: fixed;
        top: 20px !important;
        bottom: 0;
        margin: auto;
        transform: translateX(-120%);
        transition: all ease 0.25s;
        overflow-x: auto !important;

    }

    .open {
        transform: translateX(0);
    }

}

@media (min-width: 992px) and (max-width: 1199px) {

    .odjava {
        width: 65px !important;
    }

    .jezik {
        position: absolute;
        top: 100px;
        left: 70%;
        margin-right: 5%;
    }

    .info {
        margin-left: 5%;
    }

    .obavijesti_box_naslov {
        text-align: center;
        width: 100%;
        margin: auto;
    }

    .obavijesti {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    #ponuda {
        background-color: white;
        margin-left: 5% !important;
        margin-right: 5% !important;
    }

    .home1 {
        width: 40px !important;
        margin-left: 5% !important;
    }

    body {
        margin-left: 0;
        margin-right: 0;
        position: absolute;

    }

    .nav-link {
        margin-left: 10px;
        margin-right: 10px;
        font-size: 20px !important;
        padding: 5px 1px !important;

    }

    .navbar-toggler-icon {
        width: 20px !important;

    }

    .navbar-toggler {
        width: 50px;
        height: 50px;

    }

    .mobileMenu {
        position: fixed;
        top: 70px !important;
        bottom: 0;
        margin: auto;
        transform: translateX(-120%);
        transition: all ease 0.25s;
        overflow-x: auto !important;

    }

    .open {
        transform: translateX(0);
    }
}

@media (min-width: 1200px)and (max-width: 1450px) {

    .jezik {
        position: absolute;
        top: 100px;
        left: 70%;
        margin-right: 5%;
    }

    .odjava {
        right: 0;
        width: 30px !important;
        margin-top: 5%;
    }

    .navbar-brand {
        font-size: 15px;
    }

    .home1 {
        width: 30px !important;
        margin-left: 5% !important;
    }

    body {
        width: 1160px !important;
    }

    .nav-link {
        font-size: 12px !important;
        margin-top: 5px;
        padding: 1px 1px !important;
    }
}

@media (min-width: 1450px)and (max-width: 1550px) {
    .navbar {
        width: 100%;
        margin: auto;
        display: flex;
        text-align: center;
        justify-content: space-between;
        align-items: center;
    }

    .jezik {
        position: absolute;
        top: 100px;
        left: 70%;
        margin-right: 5%;
    }

    .home1 {
        margin-left: 5% !important;
    }

    .odjava {
        right: 0;
        width: 35px !important;
    }

    body {
        width: 1330px !important;

        margin-left: 5%;
        margin-right: 5%;
    }

    .nav-link {
        font-size: 14px !important;
        margin-top: 5px;
        padding: 5px 1px !important;

    }

}

@media (min-width: 1550px)and (max-width: 1850px) {
    .navbar {
        width: 100%;
        margin: auto;
        display: flex;
        text-align: center;
        justify-content: space-between;
        align-items: center;
    }

    .jezik {
        position: absolute;
        top: 100px;
        left: 70%;
        margin-right: 5%;
    }

    .home1 {
        margin-left: 5% !important;
    }

    .odjava {
        position: relative;
        right: 0;
        width: 35px !important;
    }

    body {
        margin-left: 5%;
        margin-right: 5%;
    }

    .nav-link {
        font-size: 14px !important;
        margin-top: 5px;
        padding: 5px 1px !important;

    }

}

