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

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: 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 {
    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);
}

.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; 
}

.bg-kreasi-navbar {
    background-color: #015e33;
}

.bg-kreasi-footer {
    background-color: #015e33;
}

.bg-kreasi-home {
    background-color: #80ce03;
}

.bg-kreasi-topnav {
    background-color: #303030;
}

/* ===== NAVBAR WRAPPER ===== */
.kreasi-header-wrapper {
    background: #65C85E;
    padding: 12px 0;
}

.kreasi-header-inner {
    display: flex;
    align-items: center;      /* semua elemen sejajar vertikal */
    justify-content: space-between;
    width: 95%;
    margin: auto;
}

/* ===== LOGO ===== */
.kreasi-brand {
    display: flex;
    align-items: center;
}

.kreasi-logo {
    height: 45px;
    margin-right: 10px;
}

.kreasi-brand-text {
    color: white;
    font-weight: bold;
    line-height: 1.1;
}

/* ===== SEARCH BAR ===== */
.kreasi-search-container {
    flex-grow: 1;
    margin: 0 40px;
    max-width: 650px;   /* atur sesuai selera, bisa 750px atau 700px */
}


.kreasi-search-box {
    background: white;
    height: 48px;
    border-radius: 7px;
    padding-left: 30px;
    display: flex;
    align-items: center;    /* icon + input center */
    position: relative;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.kreasi-search-icon {
    position: absolute;
    left: 10px;
    font-size: 18px;
    color: #2e6b2e;
}

.kreasi-search-input {
    width: 100%;
    border: none;
    background: transparent;
    color: #444;
    font-size: 15px;
}

.kreasi-search-input:focus { outline: none; }

/* ===== ADVANCED SEARCH BUTTON ===== */
.kreasi-adv-btn {
    background: white;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
}

/* ===== RIGHT SIDE (Advance Search + Bahasa + More) ===== */
.kreasi-right {
    display: flex;
    align-items: center;
    gap: 15px;   /* jarak antar elemen kanan */
}

/* ===== LANGUAGE & MORE MENU ===== */
.kreasi-lang,
.kreasi-more {
    display: flex;
    align-items: center;
}

.kreasi-lang .dropdown-toggle,
.kreasi-more .dropdown-toggle {
    padding: 6px 12px;
    display: flex;
    align-items: center;
    color: white;
    font-size: 20px;
}

/* hilangkan arrow bootstrap */
.kreasi-lang .dropdown-toggle::after,
.kreasi-more .dropdown-toggle::after {
    display: none !important;
}

.kreasi-lang .flag-icon {
    font-size: 20px;
}

.kreasi-lang .dropdown-menu {
    min-width: 150px;
    margin-top: 8px;
}

.kreasi-lang .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* FIX SEARCH BAR BOOTSTRAP OFFSET */
.kreasi-search-container * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.kreasi-search-box {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.kreasi-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
    font-weight: bold;
    color: white;
}

.kreasi-brand-text .line-1 {
    font-size: 16px;
}

.kreasi-brand-text .line-2 {
    font-size: 18px;
}



/* ==========================================================
   HEADER WRAPPER
   ========================================================== */
.kreasi-header-wrapper {
    background: #65C85E;
    padding: 12px 0;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000 !important;
}

.kreasi-header-inner {
    width: 95%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ==========================================================
   LOGO + BRAND TEXT
   ========================================================== */
.kreasi-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.kreasi-logo {
    height: 45px;
    margin-right: 10px;
}

.kreasi-brand-text {
    color: white;
    font-weight: bold;
    line-height: 1.1;
}

.kreasi-brand-text .line-1,
.kreasi-brand-text .line-2 {
    display: block;
    font-size: 15px;
}


/* ==========================================================
   SEARCH BAR
   ========================================================== */
.kreasi-search-container {
    flex-grow: 1;
    margin: 0 30px;
    display: flex;
    align-items: center !important;
}

.kreasi-search-form {
    width: 100%;
}

.kreasi-search-box {
    background: white;
    height: 46px;
    border-radius: 8px;
    padding-left: 40px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.kreasi-search-icon {
    position: absolute;
    left: 12px;
    font-size: 18px;
    color: #333;
}

.kreasi-search-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #333;
}

.kreasi-search-input:focus {
    outline: none;
}


/* ==========================================================
   RIGHT MENU SECTION
   ========================================================== */
.kreasi-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Button */
.kreasi-adv-btn {
    background: white;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 14px;
    color: #333;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* ==========================================================
   DROPDOWN MENU FIX
   ========================================================== */
.kreasi-lang .dropdown-menu,
.kreasi-more .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute !important;
    right: 0;
    top: 45px !important;
    min-width: 180px;
    transform: translateY(0);
    z-index: 999999 !important;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.kreasi-lang.show .dropdown-menu,
.kreasi-more.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.kreasi-lang .dropdown-item,
.kreasi-more .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}


/* ==========================================================
   MORE MENU (ELLIPSIS)
   ========================================================== */
.kreasi-more .dropdown-toggle {
    font-size: 22px;
    color: white;
    display: flex;
    align-items: center;
}

.kreasi-more .dropdown-toggle::after {
    display: none !important;
}


/* ==========================================================
   RESPONSIVE FIX
   ========================================================== */
@media (max-width: 992px) {
    .kreasi-header-inner {
        flex-wrap: wrap;
    }

    .kreasi-search-container {
        order: 3;
        width: 100%;
        margin-top: 10px;
        margin-bottom: 5px;
    }

    .kreasi-right {
        order: 2;
        width: 100%;
        justify-content: flex-end;
    }
}

/* Perbaikan posisi dropdown titik tiga */
.kreasi-more .dropdown-menu {
    margin-top: 20px !important;      /* naikkan sedikit */
    top: 100% !important;             /* pastikan tepat di bawah tombol */
    transform: translateY(-4px) !important;
}

/* Geser dropdown titik-tiga ke kiri */
.kreasi-more .dropdown-menu {
    right: 0 !important;         /* kunci posisinya ke kanan tombol */
    left: auto !important;       /* pastikan tidak pakai posisi kiri */
    transform: translateX(-10px) !important;  /* geser ke kiri */
}

/* Geser dropdown Bahasa ke kiri agar tidak tertutup */
.kreasi-lang .dropdown-menu {
    right: 0 !important;                  /* posisikan ke kanan tombol */
    left: auto !important;                /* jangan pakai posisi kiri */
    transform: translateX(-20px) !important;   /* geser ke kiri */
}

/* FIX hidden input agar tidak ikut hilang akibat flexbox */
.kreasi-search-form input[type="hidden"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


/* ========================
   HOME PAGE - KOLEKSI CARD
======================== */

.collection-wrapper {
    padding: 20px;
    margin-top: 10px;
}

.collection-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.collection-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.collection-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px 18px;
    border-left: 4px solid #4CAF50;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: 0.2s;
}

.collection-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.collection-title-text a {
    font-size: 17px;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

.collection-title-text a:hover {
    text-decoration: underline;
}

.collection-author,
.collection-year {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

/* ICON */
.collection-author i,
.collection-year i {
    margin-right: 5px;
}

/* Responsive */
@media (min-width: 768px) {
    .collection-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .collection-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================
   HOME LAYOUT (3 COLUMN)
===================================== */

.home-container {
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    gap: 25px;
    padding: 20px;
}

/* LEFT SIDEBAR */
.left-menu {
    background: #fafafa;
    border-radius: 8px;
    padding: 15px;
}

/* CENTER CONTENT */
.collection-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.collection-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.collection-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.collection-title-text a {
    font-size: 17px;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

.collection-title-text a:hover {
    text-decoration: underline;
}

.collection-author,
.collection-year {
    font-size: 14px;
    color: #555;
    margin-top: 4px;
}

.collection-author i,
.collection-year i {
    margin-right: 5px;
}

/* RIGHT JOURNAL */
.journal-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.journal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.journal-logo {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .home-container {
        grid-template-columns: 1fr;
    }

    .right-journal {
        order: 3;
    }
}

/* ================================
   SIDEBAR MODERN
   ================================ */

.sidebar-wrapper {
    width: 240px;
    background: #ffffff;
    padding: 20px 18px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 90px;
    height: fit-content;
}

.sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: #2b7a2f;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 12px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    font-size: 15px;
    color: #3a3a3a;
    font-weight: 500;
    border-radius: 8px;
    transition: 0.25s ease-in-out;
}

.sidebar-menu li a i {
    font-size: 17px;
    color: #2b7a2f;
}

.sidebar-menu li a:hover {
    background: #e6f6e6;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    color: #1e6b28;
    transform: translateX(4px);
}

.sidebar-menu li a:hover i {
    color: #1e6b28;
}


/* JUDUL */
.journal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

/* GRID 2 KOLOM */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* CARD WRAPPER */
.journal-grid a {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #f2f2f2;
    transition: all 0.25s ease;
}

/* ANIMASI HOVER */
.journal-grid a:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

/* GAMBAR LOGO */
.journal-logo {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

/* RESPONSIVE HP → 1 KOLOM */
@media (max-width: 600px) {
    .journal-grid {
        grid-template-columns: 1fr;
    }
}


/* =============================
   RESPONSIVE SIDEBAR (HP MODE)
   ============================= */

/* Tampilkan tombol menu hanya di HP */
.mobile-menu-toggle {
    display: none;
    background: #2b7a2f;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 12px;
    width: fit-content;
    cursor: pointer;
}

/* HP MODE */
@media (max-width: 768px) {

    /* Tombol menu muncul */
    .mobile-menu-toggle {
        display: block;
    }

    /* Sidebar berubah jadi offcanvas slide */
    .sidebar-wrapper {
        position: fixed;
        left: -260px;  
        top: 0;
        height: 100vh;
        width: 240px;
        padding: 20px;
        background: #fff;
        box-shadow: 3px 0 12px rgba(0,0,0,0.2);
        z-index: 999;
        transition: all 0.35s ease;
        border-radius: 0;
    }

    /* Jika aktif -> tampil */
    .sidebar-wrapper.active {
        left: 0;
    }

    /* Konten utama turun sedikit */
    .content-wrapper {
        margin-left: 0 !important;
    }
}

/* Sparkline grafik mini */
.visitor-graph {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
}


/* ============================
      FOOTER CUSTOM
============================= */

.custom-footer {
    background: #1aa53d;
    padding: 35px 20px;
    text-align: center;
    color: white;
    margin-top: 40px;
    border-top: 5px solid #145422;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;

    /* Animasi masuk */
    animation: fadeFooter .7s ease-out;
}

.footer-icon img {
    width: 60px;
    height: auto;
    display: block;
    margin-bottom: 8px;
    animation: fadeIcon .9s ease-out;
}

.visitor-graph {
    width: 100%;
    max-width: 250px;
    height: 50px;
    margin: 0 auto;
}

.footer-text {
    font-size: 15px;
    line-height: 1.6;
}

.footer-text small {
    opacity: 0.85;
    display: inline-block;
    margin-top: 5px;
}

/* Animasi */
@keyframes fadeFooter {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIcon {
    from { opacity: 0; transform: scale(.8); }
    to   { opacity: 1; transform: scale(1); }
}

/* MOBILE RESPONSIVE */
@media (max-width: 600px) {
    .custom-footer {
        padding: 30px 15px;
        gap: 12px;
    }

    .footer-icon img {
        width: 50px;
    }

    .footer-text {
        font-size: 14px;
    }
}

/* Hapus ruang kosong SLiMS default */
body, html {
    padding: 0;
    margin: 0;
}

/* Konten utama jangan memberikan jarak besar */
.main, #content, .main-content, .container, .home-container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Footer menempel rapat */
.custom-footer {
    margin: 0 !important;
    padding-top: 18px;
    padding-bottom: 18px;
}

/* Hilangkan ruang putih setelah footer jika ada */
footer, .footer {
    margin: 0 !important;
    padding: 0 !important;
    height: auto;
}

/* Pastikan footer berada di bagian paling bawah */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.custom-footer {
    margin-top: auto !important;
}

body {
    padding-top: 80px !important; /* sesuaikan jika header lebih tinggi */
}

.collection-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 5px;
}

.collection-year i,
.collection-gmd i {
    margin-right: 4px;
}

.collection-gmd {
    background: linear-gradient(90deg, #05c4a4, #04b2d1);
    color: rgb(255, 255, 255);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
}


/* Pagination style */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 15px;
}

.pagination a,
.pagination span {
  padding: 6px 14px;
  border-radius: 50px;
  background: #e5e9ee;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s;
}

.pagination a:hover {
  background: #d1d9e1;
}

/* Active page */
.pagination .active {
  background: #007bff;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 10px #007bff88;
}

/* WRAPPER */
.modern-pagination {
    margin: 25px 0;
    padding: 10px 20px;
    background: #e9edf1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
}

/* LINK UMUM */
.modern-pagination a {
    text-decoration: none;
    font-size: 14px;
    color: #333;
}

/* TOMBOL (Berikutnya, Hal. Akhir, dll) */
.modern-pagination .page-btn {
    padding: 6px 10px;
    border-radius: 6px;
}

/* NOMOR HALAMAN */
.modern-pagination .page-number {
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: transparent;
    transition: 0.2s;
}

/* NOMOR HALAMAN — HOVER */
.modern-pagination .page-number:hover {
    background: #d0d7dd;
}

/* NOMOR HALAMAN — AKTIF */
.modern-pagination .page-number.active {
    background: #0d6efd;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.pagination-container-wrapper {
    text-align: center;
    width: 100%;
}


.has-sub .submenu {
    display: none;
    list-style: none;
    padding-left: 20px;
}

.has-sub:hover .submenu {
    display: block;
}

.submenu li a {
    padding: 5px 0;
    display: block;
    color: #444;
    text-decoration: none;
}

.submenu li a:hover {
    color: #007b5e; /* warna hover */
}


.lampiran-box {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid #e5e9ef;
    box-shadow: 0 2px 7px rgba(0,0,0,0.05);
}

.lampiran-box ul,
.lampiran-box div {
    margin: 0;
    padding: 0;
}

.lampiran-box li,
.lampiran-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.lampiran-box li:last-child,
.lampiran-item:last-child {
    border-bottom: none;
}

.lampiran-box i {
    font-size: 18px;
    margin-right: 10px;
    color: #4a90e2;
}

.lampiran-box .locked i {
    color: #ff6666;
}

.lampiran-box a {
    color: #0066cc;
    text-decoration: none;
    font-size: 15px;
}

.lampiran-box a:hover {
    opacity: 0.8;
}


.lampiran-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 15px;
}

.lampiran-card {
    border: 2px solid #0aaa4f;
    border-radius: 18px;
    padding: 20px 10px;
    text-align: center;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
}

.lampiran-title {
    font-weight: 700;
    font-size: 16px;
    color: #0a4fa3;
    margin-bottom: 20px;
}

.lampiran-btn {
    background: #07b251;
    padding: 10px 22px;
    color: white;
    border-radius: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.lampiran-btn:hover {
    opacity: 0.85;
}

.lampiran-btn.locked {
    background: #777;
    cursor: not-allowed;
}

.lampiran-icon {
    font-size: 18px;
    margin-right: 6px;
}

/* RESPONSIVE HP */
@media(max-width: 768px){
    .lampiran-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 480px){
    .lampiran-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.sidebar-container {
    padding-left: 0 !important;
    margin-left: -150px; /* bisa disesuaikan */
}


/* ============================
   PROFILE MENU – MINIMALIST MODERN
============================ */
.nav-profile {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.nav-profile-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

.nav-profile-img:hover {
    transform: scale(1.05);
}

/* Dropdown wrapper */
.nav-profile-menu {
    min-width: 210px !important;
    border-radius: 10px !important;
    padding: 0 !important;
    overflow: hidden;
}

/* Header bagian atas dropdown */
.nav-profile-header {
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e6e6e6;
}

.nav-profile-header .greet {
    font-size: 12px;
    color: #888;
}

.nav-profile-header .name {
    font-size: 15px;
}

/* Item dropdown */
.nav-profile-menu .dropdown-item {
    padding: 10px 15px !important;
    font-size: 14px;
    color: #333;
    transition: 0.2s;
}

.nav-profile-menu .dropdown-item:hover {
    background: #f0f0f0;
}

/* Tombol login (jika belum login) */
.nav-login-btn {
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #333 !important;
    border: 1px solid #e0e0e0;
    transition: 0.3s;
}

.nav-login-btn:hover {
    background: #fafafa;
    border-color: #d0d0d0;
}


.nav-login-gradient {
    padding: 7px 16px;
    background: linear-gradient(135deg, #ffffff, #dddddd);
    border-radius: 10px;
    color: #00492b;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.25s ease;
}

.nav-login-gradient:hover {
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}
