html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* za Pageniation active color jebeni */
.page-item.active .page-link {
    color: #fff;
    background-color: #ff7800;
    border-color: #ff7800;
}

/* custom boje za view dugme */
.viewIcon {
    color: cornflowerblue;
}
.viewIcon:hover {
    color: #4f7fd5;
}
.viewIcon:active {
    color: #3c6dc3;
}

/* custom boje za dodaj dugme */
.dodajIcon {
    color: #198754;
}

    .dodajIcon:hover {
        color: #157347;
    }

    .dodajIcon:active {
        color: #146c43;
    }

/* custom boje za edit dugme */
.editIcon {
    color: #ffc600;
}
.editIcon:hover {
    color: #bf9600;
}
.editIcon:active {
    color: darkgoldenrod;
}

/* custom boje za delete dugme */
.deleteIcon {
    color: #dc3545;
}
.deleteIcon:hover {
    color: #bb2d3b;
}
.deleteIcon:active {
    color: darkred;
}

.inputLabel{
    margin-top:15px;
    margin-bottom:5px;
}

/* za custom CRUD forme */
.crudFrom {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    margin-top: 50px;
    margin-bottom: 75px;
    padding: 25px;
    padding-top: 45px;
    padding-bottom: 45px;
}


/* za statistiku */
.card {
    transition: all 0.3s ease;
    background-color: #2c333a;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
    background-color: #fff;
    color: #000;
}
.card-body .display-4 {
    transition: all 0.3s ease;
}
.card:hover .card-body .display-4 {
    transform: scale(1.1);
}

/* Za navbar dropdown overflow */
.dropdownFix {
    right: 0;
}

/* Responsive tabela */
@media(max-width: 1200px) {
    tr {
        border-bottom: solid 1px #fff;
    }

    th {
        display: none;
    }

    td {
        display: grid;
        grid-template-columns: auto;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    /* pošto je prvi TH za redni broj, ne vidi se */
    /*td:first-child{
    padding-top: 2rem;
    }*/

    /* ovo je zapravo prvi */
    td:nth-child(2) {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    td:last-child {
        padding-bottom: 2rem;
    }


    td::before {
        content: attr(data-cell);
        padding-top: 1rem;
        font-weight: 700;
    }
}