
.col-md-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 768px) {
    .col-md-2-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media (max-width: 576px) {
    .col-md-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/**
 * @Author: Waris Agung Widodo <user>
 * @Date:   2018-01-22T10:46:36+07:00
 * @Email:  ido.alit@gmail.com
 * @Filename: style.css
 * @Last modified by:   user
 * @Last modified time: 2018-01-26T11:08:52+07:00
 */

/* Splošna posodobitev za .form-check */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1px; /* Dodamo razmik med elementi */
    padding: 5px 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.form-check:hover {
    background-color: #f9f9f9; /* Svetlejša siva ob hoverju */
    border-radius: 5px;
}


/* Posodobitev za .form-check-input (checkbox) */
.form-check-input {
    width: 20px; /* Povečaj velikost za boljšo uporabniško izkušnjo */
    height: 20px;
    margin-right: 10px; /* Razmik od oznake */
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ced4da; /* Bolj subtilna obroba */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-check-input:checked {
    background-color: #007bff; /* Aktivna barva */
    border-color: #0056b3;
}

/* Posodobitev za .form-check-label */
.form-check-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 6px; /* Dodaten prostor med checkbox in tekstom */
}

.form-check-label:hover {
    color: #007bff; /* Modra barva ob hoverju */
}

.badge {
    background-color: rgba(214, 240, 255, 0.83); /* Svetlejša modra */
    color: #06121f; /* Temnejša modra za besedilo */
    font-weight: bold; /* Krepitev besedila za boljšo vidljivost */
}

.badge:hover {
    background-color: #007bff;
    color: #fff;
}

/* Akcija ribbon */
.akcija-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 100%;
}

.akcija-ribbon {
    background-color: #dc3545;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    width: 150px;
    position: absolute;
    top: 15px;
    right: -45px;
    transform: rotate(45deg);
    z-index: 10;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-transform: uppercase;
}


@media (max-width: 768px) {
    .form-check {
        flex-direction: column; /* Prilagodi za ozke zaslone */
        align-items: flex-start;
    }

    .form-check-input {
        margin-bottom: 5px; /* Postavi checkbox nad oznako */
    }

    .badge {
        margin-left: 0; /* Odstranimo razmik na mobilnih napravah */
        margin-top: 5px; /* Dodamo vertikalni razmik */
    }
}

.collapse a[data-toggle="collapse"] {
    display: inline-block;
    font-size: 14px;
    color: #007bff;
    font-weight: bold;
    padding: 5px 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.collapse a[data-toggle="collapse"]:hover {
    background-color: #e2e6ea;
    text-decoration: none;
}



#collapse-1 {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 20px;
}

.form-check-input:checked ~ .form-check-label {
    color: #0056b3;
    font-weight: bold;
}



html {
    scroll-behavior: smooth;
}

.c-header {
    min-height: 260px;
    background: url('../images/ozadje1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 90%;
    position: relative;
}

.c-header .mask {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
}

.search {
    margin-top: -30px;
}

.search input {
    padding-right: 35px;
}

.search .input-transparent {
    border: none;
    outline: none;
    background: transparent;
    font-size: 16pt;
}

.search .input-transparent::placeholder {
    font-weight: 200;
    color: #ccc;
}

.search .card {
    background-image: url('../images/icon/ios7-search.png');
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: 30px;
}


.shadow {
    box-shadow: 0 0 4px rgba(0, 0, 0, .05), 0 6px 10px rgba(0, 0, 0, .08);
}

.topic {
    list-style: none;
}

.topic li {
    width: 160px;
    height: 160px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.topic li a {
    font-size: 12px;
    color: #666;
    text-align: center;
    text-decoration: none;
    opacity: 0.8;
}

.topic li a:hover {
    text-decoration: none;
    opacity: 1;
}

.text-thin {
    font-weight: 200 !important;
}

.subtitle-section {
    font-size: 12px;
}

.btn-rounded {
    border-radius: 20px 20px 20px 20px;
    padding-left: 32px;
    padding-right: 32px;
    font-weight: 200;
}

.card-text.title {
    font-size: 12px;
}

.link-see-more {
    font-style: italic;
    color: #999;
    text-decoration: none;
}

.link-see-more:hover {
    color: #666;
    text-decoration: none;
}

.advanced-wraper {
    background: #fff;
    padding: 16px;
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    border-radius: 4px;
    z-index: 999;
}

.card-image-rounded {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    background: #ccc;
}

.card-image {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #f1f1f1;
}

.card-image img, .card-image-rounded img {
    width: 102%;
    height: 102%;
    margin-top: -1%;
    margin-left: -1%;
}

.collection .card-text {
}

.result-search .c-header {
    min-height: 160px;
}

.member-area .c-header {
    min-height: 40px;
}

.item p {
    font-size: 10pt;
}

.authors a {
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
}

.availability {
    text-align: center;
    overflow: hidden;
}

.availability .label {
    font-size: 7pt;
    color: #aaa;
}

.availability .value {
    font-size: 16pt;
    font-weight: 200;
}

.add-to-chart {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #606f7b;
    color: #f8fafc;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.add-to-chart .label {
    color: #f8fafc;
}

.availability:hover .add-to-chart {
    opacity: 1;
}

.availability:hover .availability-content {
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

.biblioPaging {
    text-align: center;
    border-top: 1px solid #dae1e7;
    padding-top: 20px;
}

.biblioPaging:first-child {
    margin-bottom: 1rem;
    border-bottom: 1px solid #dae1e7;
    border-top: none;
    padding-bottom: 20px;
    padding-top: 0px;
}

.biblioPaging .pagingList {
    display: inline-flex;
    justify-content: center;
    background: #dae1e7;
    border-radius: 20px;
}

.biblioPaging .pagingList b,
.biblioPaging .pagingList a {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-decoration: none;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
}

.biblioPaging .pagingList b {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 20px;
    min-width: 38px;
    box-shadow: 0px 0px 10px #007bff;
}

.biblioPaging .pagingList a {
    color: #3d4852;
    background-color: transparent;
}

.biblioPaging .pagingList a:hover {
    color: #007bff;
}

.biblioPaging .pagingList a.first_link {
    padding-left: 20px;
}

.biblioPaging .pagingList a.last_link {
    padding-right: 20px;
}

.sugestion {
    min-height: 80px;
    margin-top: 16px;
    padding-left: 60px;
}

.sugestion .title {
    font-weight: 600;
}

.sugestion .author {
    color: #839CB5;
}

.container-img {
    width: 60px;
    position: absolute;
    top: -10px;
    left: 10px;
    overflow: hidden;
    border-radius: 4px;
}

.sugestion .card-text {
    font-size: 12px;
}

.text-label {
    font-weight: bold !important;
}

/* Enter and leave animations can use different */
/* durations and timing functions.              */
.slide-fade-enter-active {
    transition: all .3s ease;
}

.slide-fade-leave-active {
    transition: all .5s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}

.slide-fade-enter, .slide-fade-leave-to
    /* .slide-fade-leave-active below version 2.1.8 */
{
    transform: translateX(10px);
    opacity: 0;
}

/* Card elevation */

.elevation-1 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.elevation-1:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.elevation-2 {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.elevation-3 {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.elevation-4 {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.elevation-5 {
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}

.page-member-area .memberButton,
.jsonResultLink,
.xmlResultLink {
    font-weight: 400;
    color: #007bff;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.jsonResultLink:hover,
.xmlResultLink:hover {
    color: #0056b3;
    text-decoration: none;
}

.jsonResultLink:focus,
.xmlResultLink:focus {
    text-decoration: none;
    box-shadow: none;
}

.jsonResultLink:disabled,
.xmlResultLink:disabled {
    color: #6c757d;
    pointer-events: none;
}

.biblioMarkFormAction {
    display: none;
}

.memberInfoHead {
    font-size: 24px;
    font-weight: bold;
    border-left: 4px solid #848484;
    padding: 2px 4px 2px 16px;
    margin-bottom: 16px;
}

.page-member-area .tagline {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding-bottom: 1.5rem;
}

.page-member-area .memberButton {
    background-color: #0074e7;
    color: white;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 200ms ease-in-out;
}

.page-member-area .memberButton:hover {
    background-color: #0085ff;
    box-shadow: 0 0 4px rgba(0, 0, 0, .05), 0 6px 10px rgba(0, 0, 0, .08);
}

.page-member-area .errorBox {
    color: #fd423d;
    padding: 1rem;
    background-color: rgba(255, 67, 61, 0.22);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.page-member-area .loginInfo {
    padding: 0.5rem 0;
}

.page-member-area .fieldLabel {
    font-weight: bold;
    padding: 0.2rem 0;
}

.page-member-area .form-control {
    width: 320px;
}

.librarian {
    display: flex;
    margin-bottom: 1.5rem;
    flex: 0 50%;
}

.span2 {
    width: 12rem;
}

.span2 div:first-child {
    padding: 2rem;
    background: #dae1e7;
    border-radius: 4px;
}

.span2 img {
    border-radius: 4px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12),
    0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.span8 {
    flex: 1;
    padding: 0 1rem 0 1rem;
}

.span8 .row-fluid {
    display: flex;
}

.span8 .row-fluid .key {
    flex: 0 0 100px;
    font-weight: bold;
}

.span8 .row-fluid .value {
    flex: 1;
}

.span8 .librarian-social {
    list-style: none;
    padding: 0;
    margin: 0;
}

#loginForm form {
    width: 20rem;
}

#loginForm .heading1 {
    font-weight: bold;
}

#loginForm .login_input input {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-bottom: 8px;
}

#loginForm .homeButton {
    display: none;
}

.loginButton {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#loginForm .loginButton {
    margin-top: 10px;
}

#loginForm .loginButton {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

#loginForm .loginButton:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

#adv-modal .modal-content,
#adv-modal .modal-footer {
    position: relative;
    z-index: 1;
}

#adv-modal .modal-content:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-image: url("../images/logo-big.png");
    background-repeat: no-repeat;
    background-size: 50%;
    background-position-x: 500px;
    background-position-y: 250px;
    z-index: 0;
    opacity: 0.5;
}

.attachList {
    padding: 4px 24px;
}

.attachList li {
    padding: 4px 0;
}

.comment-found {
    display: inline-block;
    margin-bottom: 8px;
}

.comments {
    padding: 8px 0;
    border-top: 1px dotted #cbd5e0;
}

.comments .comment-member {
    font-size: 10pt;
    font-weight: bold;
}

.comments .comment-content {
    color: #4a5568;
}

#vio {
    position: relative;
    width: 100%;
    text-align: center;
    z-index: 99999999999;
    background: #f56565;
    padding: 8px 0;
    color: #fff5f5;
}

#vio a {
    color: #2d3748;
}

#colorbox {
    border-radius: 5px;
}

#cboxLoadedContent {
    padding: 10px;
}

#cboxOverlay {
    background: #404040;
}

#cboxTitle {
    font: 10pt/1.8 'Quicksand', sans-serif;
    font-weight: bold;
    padding: 15px 0;
    background: #000000;
    bottom: 0;
    color: #ffffff;
}

#cboxTopLeft,
#cboxTopRight,
#cboxBottomLeft,
#cboxBottomRight {
    width: 0;
    height: 0;
}

#cboxMiddleLeft,
#cboxMiddleRight {
    width: 0;
}

#cboxBottomCenter,
#cboxTopCenter {
    height: 0;
}

#languageMenuButton::after {
    display: none;
}

.s-chat {
    display: none;
    flex-direction: column;
    width: 320px;
    height: 480px;
    position: fixed;
    bottom: 16px;
    right: 16px;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 16px;
    overflow: hidden;
    z-index: 99;
}

.s-chat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: #EF6C00;
    z-index: 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.s-chat div,
.s-chat a,
.s-chat footer {
    position: relative;
    z-index: 10;
}

#show-pchat {
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 20;
    top: 0;
    right: 0;
    background-color: white;
    border-bottom-left-radius: 4px;
    cursor: pointer;
}

#show-pchat i {
    display: none;
}

#show-pchat:hover {
    opacity: .9;
}

#show-pchat:before {
    font-family: Font Awesome\ 5 Free;
    content: "\f2d1";
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
}

.s-chat-header {
    font-size: 24px;
    font-weight: 300;
    color: #ebf8ff;
    line-height: 1.2;
}

.s-chat-content.text-center {
    position: relative;
}

.s-chat-content.text-center form {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 0 16px;
    margin-top: 4px;
}

.s-chat-content.text-center p:first-of-type {
    text-align: left;
    font-size: 14px;
    color: #FFE0B2;
    font-weight: 300;
    margin: 0 -16px;
    line-height: 1;
}

.s-chat-content.text-center hr {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 378px;
    z-index: 1;
}

.s-chat-content.text-center label {
    z-index: 10;
    position: relative;
    margin-top: 20px;
    font-size: 14px;
}

.s-chat-content.text-center input#message {
    z-index: 10;
    position: relative;
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin-bottom: 16px;
}

.s-chat-content input#message:focus,
.s-chat-content.text-center input#message:focus {
    color: #495057;
    background-color: #fff;
    border-color: #FFCC80;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255,204,128,.25);
}

.s-chat-content label {
    z-index: 10;
    position: relative;
}

.s-chat-content input#message {
    z-index: 10;
    position: relative;
    display: inline-block;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin-bottom: 8px;
}

.s-chat-content .btn.btn-block {
    border: 1px solid #E65100;
    position: relative;
    z-index: 10;
    font-size: 14px;
    background-color: #EF6C00;
    color: #FFF3E0;
}

.s-chat-content .btn.btn-block:hover {
    background-color: #F57C00;
}

.s-chat-content:not(.text-center) {
    border-radius: 8px;
    background: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    height: 370px;
    margin: 8px 0;
    padding: 16px;
    font-size: 14px;
}

.s-chat-content #log {
    height: 270px;
    background-color: white;
    margin: -16px -16px 8px -16px;
    border-radius: 8px 8px 0 0;
    padding: 16px;
    border-bottom: 1px solid #e3e3e3;
    overflow-y: scroll;
}

.s-chat footer {
    font-size: 11px;
    padding: 16px;
    display: none;
}

.s-chat footer:not(.text-center) {
    font-size: 11px;
    padding: 0;
    display: block;
}

.remember_forgot {
    display: flex;
    justify-content: space-between;
}

.expand {
    margin: 0 -1.25rem -1.25rem -1.25rem;
}

.navbar-collapse.collapsing,
.navbar-collapse.collapse.show {
    background-color: #2d3748;
    padding: 16px;
    z-index: 99;
    border-radius: 4px;
    margin-top: 8px;
}


 .forgotButton {
    background-color: #e67a73;
    color: white;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 200ms ease-in-out;
    float: right;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
}

.forgotButton:hover {
    background-color: #c7392f;
    color: white;
    text-underline: none;
    text-decoration: none;
    box-shadow: 0 0 4px rgba(0, 0, 0, .05), 0 6px 10px rgba(0, 0, 0, .08);
}


.highlight{
	color:red;
}

.biblioPagingTop {
    display: none;
}

.grid-item {
    font-size: 12.04px;
    font-family: "Open Sauce One", sans-serif;
}

.grid-item--title {
	box-sizing: border-box;
    color: rgb(33, 33, 33);
    cursor: pointer;
    display: -webkit-box;
    line-height: 18.0667px;
    margin-bottom: 4px;
    max-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: pre-wrap;
    word-break: keep-all;
    -moz-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.grid-item .list-group-item {
    padding: .25rem .5rem;
    display: flex;
    justify-content: space-between;
}

.grid-item .list-group-item label {
    color: #6D7588;
    padding: 0;
    margin: 0;
}

img.not-available {
    filter: grayscale(.9);
}

.grid-item--menu {
    position: absolute;
    top: .5rem;
    right: .5rem;
    z-index: 10;
}

.grid-item--menu .dropdown-toggle {
    text-decoration: none;
    color: inherit;
}

.grid-item--menu .dropdown-toggle::after {
    display: none;
}

pre.sf-dump, pre.sf-dump .sf-dump-default {
    z-index: 888 !important;
}

.availability-item {
    color: white; 
    padding: 10px; 
    border-radius: 5px
}

.item-onloan, .item-notforloan  {
    background-color: #f00;
    display: block;
    min-width: 180px;
}

.item-available {
    background-color: #5bc0de;
    display: block;
    min-width: 180px;
}

a.add-to-chart-button   {
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background-color: #5bc0de;
    opacity: 1;
}

a.add-to-chart-button:hover   {
    text-decoration: none;
    color: #ffffff;
    background-color: #0056b3;
    opacity: 1;
}


.lcl_fade_oc.lcl_pre_show #lcl_overlay,
.lcl_fade_oc.lcl_pre_show #lcl_window,
.lcl_fade_oc.lcl_is_closing #lcl_overlay,
.lcl_fade_oc.lcl_is_closing #lcl_window {
    opacity: 0 !important;
}
.lcl_fade_oc.lcl_is_closing #lcl_overlay {
    -webkit-transition-delay: .15s !important;
    transition-delay: .15s !important;
}


.elem, .elem * {
    box-sizing: border-box;
    margin: 0 !important;
}
.elem {
    display: inline-block;
    font-size: 0;
    width: 100%;
    border: 1px solid transparent;
    border-bottom: none;
    background: #fff;
    padding: 1px;
    height: auto;
    background-clip: padding-box;
}
.elem > span {
    display: block;
    cursor: pointer;
    height: 0;
    padding-bottom:	100%;
    background-size: cover;
    background-position: center center;
}

div.min-height {
    min-height:234px;
    overflow: hidden;
}

div.min-height-search-result {
    min-height:280px;
    overflow: hidden;
}


.lupaPodrocje {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    cursor: pointer;
}
.lupaPodrocje:hover {
    background-color: #6E6E6E;
    opacity: 0.2;
}

.kosarica {
    position: fixed;
    top: 550px;
    right: 10px;
    transform: translateY(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.kosarica .stevilo-izdelkov {
    font-size: 1.1rem; /* Povečamo velikost številke */
    font-weight: bold; /* Izpostavimo številko */
    background-color: red; /* Rdeče ozadje */
    color: white; /* Barva besedila številke */
    border-radius: 30%; /* Zaobljen okvir okoli številke */
    padding: 3px 4px; /* Notranji odmiki za številko */
    margin-left: 10px; /* Odmik od besede "Košarica" */
    border: 2px solid white; /* Bela obroba okoli številke */
    text-align: center; /* Centriranje številke */
    min-width: 30px; /* Minimalna širina za krog */
    line-height: 1.2; /* Boljša centriranost številke */
}

.kosarica a {
    color: white; /* Besedilo naj bo belo */
    text-decoration: none; /* Odstranimo podčrtanje */
}

.kosarica a:hover {
    color: white; /* Besedilo naj ostane belo pri hover */
    text-decoration: none; /* Odstranimo podčrtanje pri hover */
}

 .carousel-fill {
     height: -o-calc(100vh - 165px) !important;
     height: -webkit-calc(100vh - 165px) !important;
     height: -moz-calc(100vh - 165px) !important;
     height: calc(100vh - 165px) !important;
     width: auto !important;
     overflow: hidden;
     display: inline-block;
     text-align: center;
 }

.carousel-item {
    text-align: center !important;
}

.box1 {
    opacity: .8;
}

.centeredDiv {
    display: inline-block !important;
    text-align: right !important;

    width: 70% !important;
    display: inline-block;
    text-align: center;
}

.star {
    font-size: 1.3rem;
    color: gray;
    font-style: normal;
}
.star.full {
    color: orange;
    font-style: normal;
}
.star.half {
    color: orange;
    position: relative;
    display: inline-block;
    font-style: normal;
}
.star.half:before {
    content: "\f005";
    font-family: "Font Awesome 5 Free";
    color: orange;
    position: absolute;
    width: 52%;
    overflow: hidden;
    left: 0;
    font-style: normal;
}

 .navbar {
     transition: background-color 0.3s ease;
     background-color: rgba(0, 0, 0, 0.1); /* Prosojno, ko ni skrola */
 }
/* Temnejše ozadje, ko je skrol */
.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.7); /* Temnejše ozadje z 90% prosojnostjo */
}

input::placeholder {
    font-weight: bold !important;
    opacity: 0.3 !important;
    color: #151edb !important;
}





/* Gumb za zapiranje */
.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #555;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #000;
}

/* Iskalno polje */
.search-header {
    flex: 0 0 auto;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.search-header h2 {
    font-size: 24px;
    font-weight: 500;
    color: #007bff;
    margin-bottom: 15px;
}

.search-header .search-input {
    flex: 1;
    width: 100%;
    padding: 10px;
    font-size: 16pt;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
    height: 50px;
}

.search-header .search-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

/* Napredna iskalna polja */
.advanced-search-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5px;
    max-width: 700px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.advanced-search-button {
    position: absolute;
    top: 10px;
    right: -40px;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advanced-search-fields .form-group {
    margin-bottom: 2px;
}

/* Posamezna skupina polja */
.form-group {
    display: flex;
    align-items: center;
    gap: 10px;
}



/* Oznake */
.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    flex-basis: 100px;
    text-align: right;
}

/* Vnosna polja */
.form-group input {
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

/* Media query za ozke zaslone */
@media (max-width: 768px) {
    .advanced-search-fields {
        grid-template-columns: 1fr;
    }
}

.clear-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #999;
}

.clear-button:hover {
    color: #000;
}


.book-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.book-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    gap: 15px; /* Razmik med sliko in podrobnostmi */
    transition: background-color 0.3s ease;
}

.book-item:hover {
    background-color: #f9f9f9;
}

.book-link {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.book-image-container {
    flex-shrink: 0;
    width: 80px; /* Fiksna širina slike */
    height: auto;
    margin-right: 15px; /* Razmik med sliko in podrobnostmi */
}

.book-image {
    object-fit: cover; /* Ohranja razmerje slike */
    border-radius: 5px; /* Zaobljeni robovi */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.book-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1; /* Zavzame preostali prostor na desni */
}

.book-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #007bff;
}

.book-title:hover {
    text-decoration: underline;
}

.book-author,
.book-publisher,
.book-year {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.book-author {
    font-weight: 500;
}

.book-publisher,
.book-year {
    font-style: italic;
    color: #777;
}



.iskalnik-container {
    position: relative;
    margin: -20px auto;
    max-width: 700px;
}

.results-layer {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px;
    max-height: 400px;
    overflow-y: auto;
}




/* Sekcija za knjige in avtorje */
.books-section,
.authors-section {
    flex: 1; /* Enaka ĹĄirina za obe sekciji */
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%; /* Zavzame celotno viĹĄino */
}

/* Scrollable vsebina za sezname */
.books-section .scrollable-content,
.authors-section .scrollable-content {
    flex: 1; /* Zavzame preostalo viĹĄino sekcije */
    overflow-y: auto; /* NavpiÄni drsnik */
    padding-bottom: 10px; /* Dodatni razmik od dna */
    max-height: calc(100% - 60px); /* DinamiÄna viĹĄina glede na prostor */
}

/* Gumb na dnu */
.books-section .all-results,
.authors-section .all-results {
    margin-top: auto; /* Premakne gumb na dno */
    text-align: center;
    padding-top: 10px; /* Razmik od zadnjega zadetka */
}

.btn-all-results {
    display: inline-block;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background-color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-all-results:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}



/* Naslovi sekcij */
.books-section h3,
.authors-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}


.results-layer {
    display: flex;
    flex-direction: column; /* Privzeta postavitev - ena pod drugo */
    gap: 20px; /* Razmik med sekcijama */
}

/* Za zaslone širše od 700px */
@media (min-width: 700px) {
    .results-layer {
        flex-direction: row; /* Postavi sekciji vodoravno */
    }

    .books-section {
        flex: 2; /* Knjige zavzamejo 2/3 širine */
        max-width: 66.66%; /* Omeji na dve tretjini */
    }

    .authors-section {
        flex: 1; /* Avtorji zavzamejo 1/3 širine */
        max-width: 33.33%; /* Omeji na eno tretjino */
    }
}


.position-relative {
    position: relative;
}

.clear-btn {
    top: 50%;
    right: 65px; /* Prilagodi za desni gumb */
    transform: translateY(-50%);
    position: absolute;
    border: none;
    background: transparent;
    color: #6c757d; /* Barva, ki ustreza Bootstrap temi */
    padding: 0;
    cursor: pointer;
}

.clear-btn:hover {
    color: #000;
}

#keywords {
    background-image: url('../images/icon/ios7-search.png');
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: 30px;
}


.on-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.on-top-btn:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.on-top-btn:active {
    transform: scale(0.9);
}
