/* component */

body {
    font-family: "Roboto", sans-serif;
    background-color: white;
}

.btn-blue {
    background-color: #1F5587;
    color: white;
}

.bg-blue {

    background-color: #1F5587;
}

.text-blue {
    color: #1F5587;
}

.bg-gray {
    background-color: #D2C9C9;
}

.bg-semi-gray {
    background-color: #D9D9D9;
}

.text-sm {
    font-size: 10px;
}

/* end component */

/* navbar */
.bg-transparent {
    display: none;
    background-color: transparent;
    position: fixed;
    width: 100%;
    z-index: 20;
}

.dropdown-menu {
    margin-right: 100px;
}

.nav-item a {
    font-weight: 500;
    color: white;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.56);
}

.btn-shadow {
    font-weight: 500;
    color: white;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.56);
}

.bg-transparent.scrolled {
    /* background-color: rgba(255, 255, 255, 0.714) !important; */
    display: inline;
    background-color: #1F5587 !important;
    /* display: inline; */

}

/* end navbar */

/* banner style */
.nav-text h3 {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 11;
    padding-top: 15%;
    color: white;
    font-weight: 500;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.56);
}

.banner-desc {
    height: 50px;
}

.small {
    font-size: 12px;
    text-align: center;
}

.banner-icon {
    background-color: #e5efe7ef;
    border: none;
    width: 18rem;
}

.banner-icon i {
    font-size: 60px;
    color: #699BF7;
    text-align: center;
}

.banner-wrap {
    position: relative;
    z-index: 11;
    bottom: 6rem;
}

.fa-solid.fa-arrow-right {
    font-size: 20px;
    color: white;
}

/* banner hover */
.banner-icon:hover {
    background-color: #1f5587c5;
    color: white;
}

.banner-icon:hover i {
    color: white;
}

.banner-icon:hover .btn-blue {
    background-color: #699BF7;
    color: white;
}

.kartu-news {
    width: 25rem;
}

.kartu-news img {
    width: 100%;
    height: 12rem;
    object-fit: contain;
}

/* end banner hover */

/* end banner style */
/* selamat style */

.logo-selamat {
    width: 8rem;
}

.selamat-body .card.mx-3.mt-3 {
    width: 18rem;
    height: 13rem;
    border: none;
}

.selamat-body .card {
    background-color: rgba(255, 255, 255, 0.41);
    color: white;
}

.container-selamat {
    height: 8rem;
}

.selamat-text-kecil {
    font-size: 13px;
}

.covers img {
    width: 250px;
    object-fit: cover;
}

/* end selamat style */

/* pencarian style */
.form-inputs {
    position: relative;
}

.form-inputs .form-control {
    height: 45px;
}

.form-inputs .form-control:focus {
    box-shadow: none;
    border: 1px solid #000;
}

.form-inputs button {
    position: absolute;
    right: 10px;
    top: 10px;
    border: none;
    background: none;
}

.card-subjek {
    width: 100%;
    height: 10rem;
}

.kartu {
    width: 33rem;
}

.card-img-top.img-fluid {
    width: 100%px;
    height: 300px;
    object-fit: cover;
}

.image-border {
    width: 6rem;
    height: 6rem;
}

.image-text h5 {
    font-size: 10px;
}

.image-border img {
    width: 4rem;
    height: 4rem;
}

.kecil {
    font-size: 10px;
}

.foto-visitor {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 100%;
}

.list-pengunjung {
    list-style-type: none;
}

/* end pencarian style */

/* populer */
.book-cover {
    width: 10rem;
    height: 14rem;
}

.cover-img {
    width: 8rem;

}

.cover-img img:hover {
    width: 80%;
}

.cover-title p {
    font-size: 10px;
}

/* end populer */

/* footer */

.col-md-2 ul {
    padding: 0;
}

.col-md-2 ul li {
    list-style-type: none;
}

.col-md-2 ul li a {
    color: black;
    text-decoration: none;
}

.footer-square-3 img {
    width: 5rem;
}

.footer-square-4 ul li {
    font-size: 10px;
}

.col-md-3.col-6.p-0.m-0 img {
    width: 120px;
}

.img-filter {
    filter: grayscale(0.4);
}

.img-filter:hover {
    filter: grayscale(1);
}

/* end footer */
@media only screen and (min-width: 501px) and (max-width: 768px) {
    .book-cover {
        width: 15rem;
        height: 18rem;
        margin: 5px;
    }

    .cover-img {
        width: 10rem;
    }

    .banner-wrap {
        position: static;
        display: flex;
        justify-content: center;
    }

    .banner-icon {
        background-color: #e5efe7ef;
        border: none;
        width: 100%;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .kecil {
        font-size: 10px;
    }

    .kartu {
        width: 13rem;
    }

    .kartu-news {
        width: 32rem;
    }

    .kartu-news img {
        width: auto;
        height: 12rem;
        object-fit: cover;
    }
}

/* jika layar > 760px */
@media only screen and (min-width: 0px) and (max-width: 500px) {
    .nav-text h3 {
        padding-top: 15%;
        font-size: medium;
    }

    .kecil-desc {
        font-size: 10px;
        margin-top: 5px;
    }

    .banner-wrap {
        position: static;
    }

    .banner-icon {
        background-color: #e5efe7ef;
        border: none;
        width: 100%;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .subjek-header h3 {
        font-size: 1rem;
    }

    .book-cover {
        width: 8rem;
        height: 12rem;
        margin: 5px;
    }

    #peta {
        width: 100px;
        height: 100px;
    }

    .cover-img {
        width: 7rem;
    }

    .kecil {
        font-size: 10px;
    }

    .kartu {
        width: 13rem;
    }

    .card-img-top.img-fluid {
        width: 100%px;
        height: 200px;
        object-fit: cover;
    }

    .kartu-news {
        width: 18rem;
    }

    .kartu-news img {
        width: 100%;
        height: 12rem;
        object-fit: contain;
    }


}


/* end layar */


/* carousel style */

#myCarousel {
    margin-top: 50px;
}

/* login */

@import url(https://fonts.googleapis.com/css?family=Roboto:300);

.login-container {
    background-image: url('/img/bg.png');
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.register-container {
    background-image: url('/img/bg.png');
    width: 100%;
    height: 150vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-page {
    width: 360px;
    padding: 8% 0 0;
    margin: auto;
}

.register-page {
    width: 500px;
    padding: 8% 0 0;
    margin: auto;
}

.form {
    position: relative;
    z-index: 1;
    background: #ffffffc5;
    border-radius: 5%;
    max-width: 500px;
    margin: 0 auto 100px;
    padding: 45px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.form input {
    font-family: "Roboto", sans-serif;
    outline: 0;
    background: #ffffff;
    width: 100%;
    border: 0;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
}

.form select {
    font-family: "Roboto", sans-serif;
    outline: 0;
    background: #ffffff;
    width: 100%;
    border: 0;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
}

.form button {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    outline: 0;
    width: 50%;
    border: 0;
    padding: 15px;
    color: #FFFFFF;
    font-size: 14px;
    -webkit-transition: all 0.3 ease;
    transition: all 0.3 ease;
    cursor: pointer;
}

.form button:hover,
.form button:active,
.form button:focus {
    background: #4136bc;
}

.form .message {
    margin: 15px 0 0;
    color: #b3b3b3;
    font-size: 12px;
}

.form .message a {
    color: #4CAF50;
    text-decoration: none;
}

.form .register-form {
    display: none;
}

.container:before,
.container:after {
    content: "";
    display: block;
    clear: both;
}

.container .info {
    margin: 50px auto;
    text-align: center;
}

.container .info h1 {
    margin: 0 0 15px;
    padding: 0;
    font-size: 36px;
    font-weight: 300;
    color: #1a1a1a;
}

.container .info span {
    color: #4d4d4d;
    font-size: 12px;
}

.container .info span a {
    color: #000000;
    text-decoration: none;
}

.container .info span .fa {
    color: #EF3B3A;
}

/* end login */

@media (max-width: 768px) {
    .carousel-inner .carousel-item>div {
        display: none;
    }

    .carousel-inner .carousel-item>div:first-child {
        display: block;
    }

    .banner {
        height: 50vh;
    }

    .b-foto {
        height: 50vh;
    }

    .nav-text h3 {
        position: absolute;
        margin: auto;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        padding-top: 30%;
        color: white;
        font-weight: 500;
        text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.56);
    }

    .kartu {
        width: 20rem;
    }

    .card-img-top.img-fluid {
        width: 100%px;
        height: 200px;
        object-fit: cover;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-start,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

@media (min-width: 768px) {

    .carousel-inner .carousel-item-right.active,
    .carousel-inner .carousel-item-next,
    .carousel-item-next:not(.carousel-item-start) {
        transform: translateX(25%) !important;
    }

    .carousel-inner .carousel-item-left.active,
    .carousel-item-prev:not(.carousel-item-end),
    .active.carousel-item-start,
    .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    }

    .carousel-item-next.carousel-item-start,
    .active.carousel-item-end {
        transform: translateX(0) !important;
    }

    .carousel-inner .carousel-item-prev,
    .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    }

}

/* end carousel style */


/* skeleton berita */

.content {
    height: 130vh;
}

.kotak-full {
    width: 100%;
    border-radius: 30px;
    height: 300px;
    background-color: gray;
}

.informasi {
    background-image: url('/img/bg-ukip.png');
    height: 120vh;
    width: 100%;
}

.heading {
    margin-top: 1000px;
}

.informasi-up {
    margin-top: 100px;
}


.ketersediaan {
    width: 100%;
    height: 70px;
    border: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
}



.details {
    border: 1px solid rgb(0, 106, 255);
}

.details a {
    text-decoration: none;
    color: rgb(0, 106, 255);
}

.sitasi {
    border: 1px solid black;
}

.sitasi a {
    text-decoration: none;
    color: black;
}

.ketersediaan h5 {
    font-size: 10px;
}

.detail-bg {
    background-color: white;
    padding-top: 100px;
}

.detail-cover img {
    width: 250px;
}

.start i {
    font-size: 10px;
}

#peta {
    width: 150px;
    height: 150px;
}

/* end skeleteon */

/* blank page */

@media only screen and (min-width: 0px) and (max-width: 700px) {

    .covers img {
        width: 130px !important;
    }

    .description h5 {
        font-size: 18px !important;
    }

    .description p {
        font-size: 10px;
    }

    .description .badge.bg-secondary.w-25 {
        width: 5px !important;
        padding: 1000px !important;
    }
}