/**
 * @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
 */

@import url('../../../../css/core.css');

html {
    scroll-behavior: smooth;
}

.c-header {
    min-height: 460px;
    background: url('../images/slide1.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: static;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    border-radius: 4px;
    z-index: 999;
    border: 1px solid var(--opac-border);
    margin-top: 10px;
}

.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 {
    font-size: 12px;
}

.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: 28pt;
    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);
}

/* OPAC UGM-like refresh */
:root {
    --opac-bg: #f3f7fb;
    --opac-surface: #ffffff;
    --opac-primary: #0056a7;
    --opac-primary-dark: #003f79;
    --opac-text: #1f2d3d;
    --opac-muted: #6a7a8b;
    --opac-border: #d7e2ee;
}
/* penyebab layer menjadi double
/* body.bg-grey-lightest {
    background:
        linear-gradient(rgba(243, 247, 251, 0.85), rgba(243, 247, 251, 0.9)),
        url("../images/slide2.jpg") center top / cover no-repeat fixed !important;
    color: var(--opac-text);
} */

/* #slims-home {
    position: relative;
    background:
        linear-gradient(rgba(243, 247, 251, 0.88), rgba(243, 247, 251, 0.92)),
        url("../images/slide4.jpg") center top / cover no-repeat fixed;
    border-radius: 18px 18px 0 0;
    margin-top: 2rem;
    padding-top: 1.5rem;
} */

body.bg-grey-lightest {
    background: transparent !important;
}

#slims-home {
    background: transparent !important;
}

.top-reader-section {
    background: transparent !important;
}

.opac-video-panel {
    background: transparent;
    border: 1px solid rgba(215, 226, 238, 0.55);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(17, 50, 81, 0.08);
}

.opac-profile-video {
    width: 100%;
    max-height: 520px;
    border-radius: 12px;
    background: #000;
}

.c-header {
    min-height: auto;
    background: transparent;
}

.c-header .mask {
    display: none;
}

.opac-navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff !important;
    border-bottom: 1px solid var(--opac-border);
    box-shadow: 0 8px 24px rgba(17, 50, 81, 0.08);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.opac-navbar .nav-link {
    color: #2a3f56 !important;
    font-weight: 600;
}

.opac-navbar .navbar-brand .opac-brand-title {
    color: var(--opac-primary);
    font-weight: 700;
}

.opac-navbar .navbar-brand .opac-brand-subtitle {
    color: var(--opac-muted);
}

.search {
    margin-top: 24px;
}

.opac-search-card {
    border: 1px solid var(--opac-border) !important;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(16, 45, 72, 0.12) !important;
    background: var(--opac-surface);
    background-image: none !important;
}

.opac-search-title {
    margin-bottom: 6px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--opac-text);
}

.opac-search-subtitle {
    margin-bottom: 1rem;
    color: var(--opac-muted);
}

.search .input-transparent {
    border: 1px solid var(--opac-border);
    border-radius: 12px;
    background: #fff;
    font-size: 1rem;
    padding: 0.85rem 1rem;
}

.search .input-transparent::placeholder {
    color: #8c9aad;
    font-weight: 400;
}

.search .btn-primary {
    background: linear-gradient(135deg, #006ac9, #0056a7);
    border-color: #0056a7;
    border-radius: 10px;
    font-weight: 700;
}

.home-blue-panel,
.result-search .wrapper .card.item,
.result-search .col-md-3 > * {
    background: #fff;
    border: 1px solid var(--opac-border);
    border-radius: 14px;
}

.result-search .wrapper .card.item {
    box-shadow: 0 8px 24px rgba(21, 47, 73, 0.08);
}

.result-search .search-found-info,
.result-search .search-keyword-info {
    color: #334e68;
}

footer.py-4.bg-grey-darkest {
    background: #0f2c4a !important;
}

footer.py-4 .text-light,
footer.py-4 .text-grey-lighter,
footer.py-4 p,
footer.py-4 li a,
footer.py-4 h4,
footer.py-4 .mb-4 {
    color: #d4e1ee !important;
}

@media (max-width: 768px) {
    .opac-search-title {
        font-size: 1.4rem;
    }
}

.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 {
    float: right;
    text-decoration: none;
    padding-top: 16px;
    color: #718096;
}

.forgotButton:hover {
    text-decoration: none;
    color: #4299E1;
}
.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; 
    width: 100%; 
    display: block;
}

.item-available {
    background-color: #5bc0de; 
}

.item-onreserve {
    background-color: orange; 
}
.home-blue-panel {
    background: linear-gradient(135deg, #eef6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.12);
    padding: 1.75rem 1.5rem;
}

.home-blue-panel .subtitle-section {
    color: #334155;
}

.home-blue-panel .topic li {
    width: 160px;
    height: 160px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-blue-panel .topic li:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(30, 64, 175, 0.2);
}

.home-blue-panel .topic li a {
    color: #334155;
    opacity: 1;
    font-weight: 500;
}

.home-blue-panel .topic-illustration {
    width: 82px;
    height: 82px;
    padding: 8px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    border: 2px solid #93c5fd;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
    filter: saturate(1.25) contrast(1.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-blue-panel .topic li:hover .topic-illustration {
    transform: scale(1.06) rotate(-2deg);
    box-shadow: 0 10px 22px rgba(30, 64, 175, 0.28);
}

.services-feature {
    margin-top: 2.5rem;
}

.services-feature__grid {
    display: grid;
    grid-template-columns: 1fr;
}

.services-feature__media,
.services-feature__text {
    min-height: 320px;
}

.services-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-feature__text {
    background: #e9ecef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.75rem, 3vw, 3.5rem);
}

.services-feature__text h2 {
    color: rgba(0, 0, 204);
    font-size: clamp(1.7rem, 2.2vw, 2.45rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services-feature__text p {
    color: #1f2937;
    font-size: clamp(1rem, 1.05vw, 1.45rem);
    line-height: 1.6;
    max-width: 640px;
    margin-bottom: 0.5rem;
}

.services-feature__text a {
    color: #1f2937;
    font-size: clamp(1rem, 1.1vw, 1.4rem);
    text-decoration: none;
}

.services-feature__text a:hover {
    color: #0b79c8;
    text-decoration: underline;
}

@media (min-width: 992px) {
    .services-feature__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-feature__media,
    .services-feature__text {
        min-height: 420px;
    }
}

.services-feature--compact {
    margin-top: 1.2rem;
}

.services-feature--compact .services-feature__media,
.services-feature--compact .services-feature__text {
    min-height: 220px;
}

.services-feature--compact .services-feature__text {
    padding: clamp(1rem, 2vw, 2rem);
}

.services-feature--compact .services-feature__text h2 {
    font-size: clamp(1.35rem, 1.55vw, 1.85rem);
    margin-bottom: 0.5rem;
}

.services-feature--compact .services-feature__text p {
    font-size: clamp(0.92rem, 0.95vw, 1.05rem);
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

@media (min-width: 992px) {
    .services-feature--compact .services-feature__media,
    .services-feature--compact .services-feature__text {
        min-height: 280px;
    }
}




/* Home compact refinement for services section */
.services-feature--compact {
    margin: 1.2rem auto 0;
    max-width: 1140px;
    padding: 0 15px;
}

.services-feature--compact .services-feature__grid {
    gap: 10px;
}

.services-feature--compact .services-feature__media,
.services-feature--compact .services-feature__text {
    min-height: 160px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.services-feature--compact .services-feature__text {
    background: #f1f5f9;
    padding: clamp(0.75rem, 1.1vw, 0.95rem);
}

.services-feature--compact .services-feature__text h2 {
    color: rgba(0, 0, 204);
    font-size: clamp(0.98rem, 1.02vw, 1.12rem);
    line-height: 1.25;
    margin-bottom: 0.25rem;
}

.services-feature--compact .services-feature__text p {
    color: #475569;
    font-size: clamp(0.8rem, 0.82vw, 0.9rem);
    line-height: 1.35;
    margin-bottom: 0.2rem;
}

.services-feature--compact .services-feature__text a {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    color: #1f2937;
}

.services-feature--compact .services-feature__media img {
    transition: transform 0.28s ease;
}

.services-feature--compact .services-feature__media:hover img {
    transform: scale(1.01);
}

@media (min-width: 992px) {
    .services-feature--compact .services-feature__media,
    .services-feature--compact .services-feature__text {
        min-height: 185px;
    }
}

/* Services card layout (UGM-like) */
.services-feature {
    margin: 2.4rem 0 1rem;
}

.services-feature__container {
    padding-left: 0;
    padding-right: 0;
}

.services-feature__header {
    margin-bottom: 1.25rem;
}

.services-feature__header h3 {
    margin: 0;
    font-size: clamp(2rem, 2.7vw, 2.75rem);
    line-height: 1.2;
    color: #0f2547;
    font-weight: 700;
}

.services-feature__header p {
    margin: 0.7rem 0 0;
    max-width: 980px;
    color: #344968;
    font-size: clamp(1rem, 1.1vw, 1.35rem);
}

.services-feature__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.services-feature__card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #d7e1ee;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(14, 37, 61, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.services-feature__card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.services-feature__card-body {
    padding: 1.35rem 1.45rem 1.2rem;
}

.services-feature__card-body h4 {
    margin: 0 0 0.75rem;
    color: #0f2547;
    font-size: clamp(1.5rem, 1.7vw, 2rem);
    line-height: 1.25;
    font-weight: 700;
}

.services-feature__card-body p {
    margin: 0;
    color: #334968;
    font-size: clamp(1rem, 1vw, 1.2rem);
    line-height: 1.65;
}

.services-feature__card-body a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.05rem;
    color: #0d4dff;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
}

.services-feature__card-body a:hover {
    text-decoration: underline;
}

.services-feature--compact {
    margin-top: 2rem;
    max-width: none;
    padding: 0;
}

.services-feature--compact .services-feature__header h3 {
    font-size: clamp(1.95rem, 2.4vw, 2.45rem);
}

.services-feature--compact .services-feature__header p {
    font-size: clamp(0.98rem, 1.02vw, 1.12rem);
}

.services-feature--compact .services-feature__cards {
    gap: 1.2rem;
}

.services-feature--compact .services-feature__card img {
    height: 220px;
}

.services-feature--compact .services-feature__card-body h4 {
    font-size: clamp(1.4rem, 1.35vw, 1.8rem);
}

.services-feature--compact .services-feature__card-body p {
    font-size: clamp(1rem, 0.93vw, 1.08rem);
}

@media (min-width: 992px) {
    .services-feature__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ===== CUSTOM HIDAYAT STYLE ===== */

.hero {
  padding-top: 80px;
}

.hero-section {
  position: relative;
  height: 100vh;
  background: url('../images/perpus-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden !important;
  padding-top: 120px; /* INI KUNCI biar gak kepotong navbar */
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/perpus-bg.jpg') center/cover no-repeat;
  z-index: 0;

  /* animasi zoom */
  animation: zoomHero 8s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes zoomHero {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  margin-top: 40px; /* aman, tidak nabrak navbar */
  animation: fadeUp 1s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-logo {
  width: 200px;
  margin-bottom: 8px;
}

.hero-content h1 {
  font-size: 66px;
  font-weight: 600;
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;margin-top: 5px;

}

.hero-content h2 {
  font-size: 72px;
  color:#4DA3FF;
  margin-bottom: 30px;
  font-weight: 600;
}

/* SEARCH MINIMAL */
.search-minimal {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.search-input {
  width: 100%;
  padding: 16px 55px;
  border-radius: 50px;
  border: none;
  background: #ffffff; /* FIX: solid putih */
  font-size: 16px;
  color: #333;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: transparent !important;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: none !important;
  border: none !important;
}

.navbar-hidayat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  /* background: #dae1e7 !important; sekalian abu */
  /* padding: 0 30px; */
  padding: 14px 40px;
  transition: all 0.3s ease;

  backdrop-filter: blur(12px);
  /* background: rgba(255,255,255,0.92); */
  /* border-bottom: 1px solid rgba(0,0,0,0.05); */

  background: rgba(0, 0, 0, 0.4); /* gelap transparan */

}

.navbar-hidayat a {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
}

.navbar-hidayat a:hover {
  color: #2563eb !important;
}

/* BRAND */
.navbar-hidayat .navbar-brand {
  font-weight: 600;
  font-size: 16px;
}

/* MENU */
.navbar-hidayat .navbar-nav .nav-link {
  color: #2f2929 !important;
  font-weight: 500;
}

.navbar-hidayat .navbar-nav .nav-link:hover {
  color: #2f6fed !important;
}

/* ACTIVE */
.navbar-hidayat .nav-item.active .nav-link {
  color: #2f6fed !important;
}

/* RIGHT SIDE SPACING */
.navbar-hidayat .navbar-nav {
  align-items: center;
  gap: 20px;
}


/* BUTTON LOGIN (Masuk) */
.navbar-hidayat .btn-primary {
  background: #2563eb;
  color: #fff;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 20px;
  
}

.navbar-hidayat .nav-link[href*="login"] {
  margin-left: 10px;
  font-size: 16px;
  background: #2563eb;
  color: #fff !important;
  padding: 10px 28px; /* 🔥 FIX */
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.navbar-hidayat .nav-link[href*="login"]:hover {
  background: #1e4fd1;
  color: #fff !important;

  /* efek elegan */
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

/* MEMBER AREA */
.navbar-hidayat .nav-link[href*="member"] {
  border: 2px solid #2f6fed;
  color: #2f6fed !important;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 16px;
}

/* HOVER MEMBER */
.navbar-hidayat .nav-link[href*="member"]:hover {
  background: #2563eb;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.navbar-hidayat .nav-link {
  transition: all 0.2s ease;
  color: rgba(255,255,255,0.9) !important;
  /* efek agar teks "naik" */
  /* text-shadow: 0 2px 6px rgba(0,0,0,0.7); */
  font-weight: 500;
}

/* MENU KIRI */
.navbar-nav.mr-auto {
  display: flex;
  align-items: center;
  gap: 14px;/* atur jarak antar menu */
  margin-left: 20px;
}



/* garis bawah (hidden dulu) */
.navbar-nav.mr-auto .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #2563eb; /* biru */
  transition: width 0.3s ease;
}

/* saat hover */
.navbar-nav.mr-auto .nav-link:hover::after {
  width: 100%;
}

/* warna teks saat hover */
.navbar-nav.mr-auto .nav-link:hover {
  color: #2563eb;
}
/* WRAPPER KANAN */
.navbar-nav.ml-auto {
  display: flex;
  align-items: center;
  gap: 14px; /* 🔥 lebih rapat */
}

/* tombol login */
.navbar-nav.ml-auto .btn {
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 8px;
}

/* language (ID) */
.navbar-nav.ml-auto .nav-link {
  padding: 6px 8px;
}

.navbar-nav .nav-item {
  margin: 0 !important;
}

.navbar-nav .nav-link {
  margin: 0 !important;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.navbar-hidayat .nav-item.dropdown .nav-link {
  transition: all 0.3s ease;
}

.navbar-hidayat .nav-item.dropdown .nav-link:hover {
  color: #2563eb;
}

.navbar-nav.mr-auto .nav-item {
  margin-right: 12px;
}

.navbar-hidayat .dropdown-toggle {
  color: #ffffff !important;
  font-weight: 600;

  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}
/* body {
  padding-top: 0px;
    background: linear-gradient(#f1f5f9, #e5e7eb);
} */

body {
  background: transparent;
}

/* saat scroll */
body.scrolled .navbar-hidayat {
  padding: 8px 0;
  /* background: rgba(203, 213, 225, 0.95); abu lebih solid */
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
}

/* teks jadi gelap */
body.scrolled .navbar-hidayat .nav-link,
body.scrolled .navbar-hidayat .dropdown-toggle {
  color: #1f2937 !important;
  text-shadow: none;
}

.btn-login, .btn-member {
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-login:hover {
  background-color: #1d4ed8;
  color: #fff;
}

.btn-member:hover {
  background-color: #2563eb;
  color: #fff;
}

/* ===== FINAL HOVER CLEAN ===== */

.navbar-nav.mr-auto .nav-link {
  position: relative;
  padding: 6px 8px;
  font-size: 18px;
  transition: color 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* underline hidden */
.navbar-nav.mr-auto .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #2563eb;
  transition: width 0.3s ease;
}

/* hover effect */
.navbar-nav.mr-auto .nav-link:hover::after {
  width: 100%;
}

.navbar-nav.mr-auto .nav-link:hover {
  color: #2563eb !important;
}

/* ===== SEARCH BAR ===== */
.hero-search {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  min-width: 300px;
  width: 90%;          /* 🔥 lebih lega */
  max-width: 430px;    /* 🔥 tambah lebar */
  margin: 30px auto;
}

.search-box {
  position: relative;
  padding: 6px;
  border-radius: 60px;
  background: #ffffff; /* 🔥 FIX: tidak transparan */
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
  width: 100%;
  transition: all 0.3s ease;
}

.search-box i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

.search-box input {
  border: none;
  outline: none;
  background: #ffffff; /* 🔥 FIX */
  width: 100%;
  font-size: 16px;
  padding: 10px 18px 10px 45px;
  border-radius: 50px;
}

.search-input::placeholder {
  color: #888;
  white-space: nowrap;
}

.search-box:hover {
  box-shadow: 0 8px 25px rgb(0, 0, 204);
}

/* ===== GALLERY ===== */
.hero-gallery {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  bottom: 80px;
}

.hero-gallery img {
  width: 160px;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;

  /* posisi default (tenggelam) */
  transform: translateY(10px) scale(0.95);
  opacity: 1;

  box-shadow: 0 8px 20px rgba(0,0,0,0.2);

  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* yang timbul */
.hero-gallery img.active {
  transform: translateY(-25px) scale(1.05);
  box-shadow: 0 25px 45px rgba(0,0,0,0.35);
}


/* keluar (fade out halus) */
.hero-gallery img.leaving {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

.hero-gallery img:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.gallery-item {
  width: 200px;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* HOVER EFFECT */
.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

@keyframes showImage {
  0%   { opacity: 0; transform: translateY(20px); }

  10%  { opacity: 1; transform: translateY(0); }
  25%  { opacity: 1; }

  30%  { opacity: 0; transform: translateY(20px); }

  100% { opacity: 0; }
}
/* gambar 1 */
.hero-gallery img:nth-child(1) {
  animation-delay: 0s;
}

.hero-gallery img:nth-child(2) {
  transition-duration: 1.4s;
}

.hero-gallery img:nth-child(3) {
  transition-duration: 1.6s;
}

.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.img-modal img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.scroll-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #4da3ff, #2563eb);
  color: #fff;
  font-size: 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  z-index: 9999;
  transition: all 0.4s ease;
  opacity: 1;
  transform: translateY(0);
}

/* saat idle (hide) */
.scroll-btn.hide {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.scroll-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.6);
}
/* animasi panah */
#scrollIcon {
  display: inline-block;
  animation: floatArrow 1.5s ease-in-out infinite;
}


/* default (↓) */
#scrollIcon.down {
  animation: floatDown 1.5s ease-in-out infinite;
}

/* saat ↑ */
#scrollIcon.up {
  animation: floatUp 1.5s ease-in-out infinite;
}

/* keyframes gerakan */
@keyframes floatDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(6px); }
  100% { transform: translateY(0); }
}

@keyframes floatUp {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* =======================================
   FORCE NAVBAR TEXT WHITE (STRONG OVERRIDE)
======================================= */

.navbar-hidayat .navbar-nav .nav-link,
.navbar-hidayat .navbar-nav .nav-link.active,
.navbar-hidayat .navbar-nav .nav-item .nav-link,
.navbar-hidayat .dropdown-toggle,
.navbar-hidayat .nav-link {
  color: #ffffff !important;
}

.navbar-hidayat .nav-link,
.navbar-hidayat .dropdown-toggle {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}