html * {
    font-family:"Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#zavarovanci-vrstestoritve .btn, #zavarovanci-vrstedejavnosti .btn {
    margin: 3px;
}

#search-form input.parsley-error {
    background-color: #F5C2C2;
    color: #D41E1E;
}
#search-form .parsley-errors-list.filled {
    display: block;
}
#search-form .parsley-errors-list {
    display: none;
    margin: 5px 0 20px 0;
    padding: 0;
    list-style-type: none;
    background-color: #FCEBEB;
    border: 1px solid #F5C2C2;
    width: 100%;
    float: right;
    clear: left;
}
#search-form .parsley-errors-list>li {
    color: #D41E1E;
    padding: 5px 10px;
}

/* =========================================================================
   Stili, preneseni iz EXT:ag_zzzs (Resources/Public/Css/style.css)
   ========================================================================= */

/* --- Filtri (ključne besede, vrste, enote) --- */
#bibliografija-kljucne, #indok-kljucne {
    display: block;
    height: auto;
    max-height: 12.5rem;
    overflow-y: auto;
    scrollbar-color: #3175D0 #F7FAFD;
    scrollbar-width: thin;
}
#bibliografija-kljucne::-webkit-scrollbar, #indok-kljucne::-webkit-scrollbar {
    width: 0.375rem;
    background-color: #F7FAFD;
}
#bibliografija-kljucne::-webkit-scrollbar-thumb, #indok-kljucne::-webkit-scrollbar-thumb {
    border-radius: 0.25rem;
    background-color: #3175D0;
}
#egradiva-vrste, #egradiva-podvrste {
    max-height: 100%;
    overflow-y: hidden;
}
#container-kljucne-besede, #indok-kljucne {
    width: 100%;
    margin-bottom: 2rem;
}
#container-kljucne-besede {
    display: none;
}

#bibliografija-kljucne-izbrane, #egradiva-vrste-izbrane, #egradiva-podvrste-izbrane, #indok-kljucne-izbrane,
#bibliografija-iskalnik-parametri {
    display: none;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #D9E2EC;
    border-bottom: 1px solid #D9E2EC;
}
#bibliografija-kljucne-izbrane button, #egradiva-vrste-izbrane button, #egradiva-podvrste-izbrane button, #indok-kljucne-izbrane button {
    border-color: transparent;
    background: linear-gradient(149.64deg, #3175D0 0%, #1F4F8F 108.36%);
    color: #fff;
}

#show-kljucne, #show-enote, #show-vrsta {
    display: block;
    float: left;
    width: 100%;
}
#show-enote, #container-enote, #show-vrsta, #container-vrsta {
    display: none;
}
#show-kljucne .show-kljucne-link, #show-enote .show-enote-link, #show-vrsta .show-vrsta-link {
    display: block;
    float: right;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-align: right;
}
#imenik-enote a:hover, #imenik-podenote a:hover {
    text-decoration: none !important;
}

/* --- Napredno iskanje (Bibliografija, Indok) --- */
#advanced-search-form {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}
#advanced-search-form label {
    width: 100%;
    margin-top: 0.375rem;
    font-weight: 700;
    text-align: right;
}
#advanced-search-form .row, #search-form .row {
    margin-bottom: 1rem;
}
#advanced-search-title {
    margin-bottom: 2rem;
    text-align: center;
}
@media (max-width: 767px) {
    #advanced-search-form label {
        text-align: left !important;
    }
}

/* --- Dobavitelji: izbirni seznami (šifre MP, artikli, pošte) --- */
#sifre-mp, #posta-mp, #artikli-mp {
    width: 37.5rem;
    max-width: calc(100vw - 2rem);
    height: 25rem;
    overflow-y: auto;
}
#search-form #myInput, #search-form #myInput2, #search-form #myInput3 {
    width: calc(100% - 1rem);
    margin: 0.5rem;
}
#search-form .item.hidden {
    display: none;
}
#search-form .main,
#sifre-mp .main-sifra, #artikli-mp .main-sifra, #artikli-mp [data-status] {
    cursor: pointer;
}
#sifre-mp li.item, #posta-mp li.item, #artikli-mp li.item {
    margin: 0 0.5rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid #D9E2EC;
}
#sifre-mp [data-status='closed'], #artikli-mp [data-status='closed'],
#sifre-mp [data-status='opened'], #artikli-mp [data-status='opened'] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0.5rem;
    padding: 0.75rem;
    border-bottom: 1px solid #D9E2EC;
    color: #0F172A;
    font-weight: 600;
}
#sifre-mp [data-status='opened'], #artikli-mp [data-status='opened'] {
    border-radius: 0;
    background-color: #EAF1FA;
    color: #123F7A;
}
#sifre-mp [data-status='closed']::before, #artikli-mp [data-status='closed']::before,
#sifre-mp [data-status='opened']::before, #artikli-mp [data-status='opened']::before {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: #3175D0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6 2.5v7M2.5 6h7'/%3E%3C/svg%3E") no-repeat center / 0.75rem;
    content: '';
}
#sifre-mp [data-status='opened']::before, #artikli-mp [data-status='opened']::before {
    background: #123F7A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M2.5 6h7'/%3E%3C/svg%3E") no-repeat center / 0.75rem;
}
@media (max-width: 991px) {
    #sifre-mp, #posta-mp {
        position: fixed !important;
        top: 5.625rem !important;
        right: 1rem !important;
        bottom: 6.25rem !important;
        left: 1rem !important;
        width: calc(100% - 2rem) !important;
        max-width: none;
        height: calc(100% - 17rem) !important;
        overflow-y: auto;
        transform: unset !important;
    }
}

/* --- Podrobnosti (Imenik, Egradiva, Zaposlitve) --- */
.api-vsebina-podrobnosti h3 {
    display: block;
    margin-bottom: 2rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid #D9E2EC;
}
.api-vsebina-podrobnosti h4 {
    display: block;
    padding: 0.625rem 0;
    font-size: 1.25rem;
}
.api-vsebina-podrobnosti table td:first-child {
    font-weight: 700;
}
.api-vsebina-podrobnosti *, .api-vsebina-podrobnosti p *, .api-vsebina-podrobnosti .domino-par-list *,
.api-vsebina-podrobnosti .domino-par--indent * {
    font-size: inherit;
}
.api-vsebina-podrobnosti .domino-par--indent {
    padding-left: 0;
}
.api-vsebina-podrobnosti .domino-attachment-link {
    display: flex !important;
    align-items: center;
}
.api-vsebina-podrobnosti .domino-attachment-link .domino-caption {
    display: flex !important;
    align-items: center !important;
}
.api-vsebina-podrobnosti .domino-attachment-link img,
.api-vsebina-podrobnosti .content-dodatno a img {
    display: none;
}
.content-dodatno {
    margin-bottom: 2rem;
}
.api-vsebina-podrobnosti .content-dodatno p {
    margin-bottom: 0;
    padding: 0.625rem 0;
}
.api-vsebina-podrobnosti .content-dodatno table {
    width: 100%;
    border: 1px solid #D9E2EC !important;
}
.api-vsebina-podrobnosti .content-dodatno table td {
    padding: 0.5rem;
}
.api-vsebina-podrobnosti .content-dodatno a {
    padding-right: 1rem;
    text-align: left !important;
}
.api-vsebina-podrobnosti .content-dodatno a span {
    display: inline-block !important;
}
.ul-content-dodatno {
    margin-bottom: 0;
}
.div_podrocje_dela {
    margin: 0.625rem 0;
    padding: 0.625rem 0;
    border-top: 1px solid #D9E2EC;
}

/* --- Tabele --- */
.zzzs-api tr.details + tr {
    background-color: #fff !important;
}
.zzzs-api .neuradno_besedilo {
    color: #D41E1E;
    text-align: right !important;
}
#egradiva-list_wrapper table {
    table-layout: auto;
}

/* --- Delovanje on-line --- */
#delovanje-online .badge, .legenda .badge {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    padding: 0;
    margin-right: 0.375rem;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
    position: relative;
    top: -0.125rem;
}
#delovanje-online .badge.bg-light, .legenda .badge.bg-light {
    border: 0.0625rem solid #ced4da;
}
#delovanje-online .fa-spinner {
    display: inherit;
    text-align: center;
}
#online .dates td, #online .dates td p, #delovanje-online td, #delovanje-online th {
    margin-bottom: 0;
    text-align: center;
}
#delovanje-online td:first-child, #delovanje-online th:first-child {
    text-align: left;
}
@media (max-width: 991px) {
    .legenda td {
        text-align: center;
    }
    .legenda td .text {
        display: block;
        width: 100%;
    }
}

/* --- eVloge: sklopi obrazca --- */
.zzzs-api .list-group-item {
    background-color: #F7FAFD;
}
