/* Global Style */
@import url("fonts.css");

body > div {
  padding: 2em;
}

.penelusuran {
    font-family: Barlow;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 48px;
    color: #9DA4AE;
}

.container-tipe, .container-pilihan {
  font-family: Barlow;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 20px;
  color: #344359;
  margin-bottom: 20px;
}

.circle {
    display: inline-block;
    padding: 0.7%;
    height: 44px;
    width: 44px;
    background-color: #E2E5EA;
    border-radius: 50%;
}

@media screen and (max-width:500px) {
    .circle {
        padding: 3%;
    }
}

@media screen and (max-width:1000px) {
    .circle {
        padding: 1%;
    }
}

.orange {
    background-color: #F3933A;
}

.btn-selanjutnya {
 
  line-height: 20px;
  color: #6129DA;
  padding: 14px 28px;
  border-color: #6129DA;
}
/* End Global Style */

/* Navbar */
#mainNav {
   height: 100px; 
   border-bottom: 1px solid #DDE0E6;
}

.navbar-brand {
    /*width: 300px;*/
    padding-top: 10px;
    border-right: 1px solid #DDE0E6;
}

.navbar-brand > img {
    max-height: 52px;
    width: auto;
}
.navbar-title {
    font-family: Poppins;
    font-style: normal;
    font-weight: bold;
    width: 106px;
    white-space: normal;
    line-height: 20px;
    margin-left: 14px;
}

.nav-item {
    /*padding: 0 21.5px !important;*/
    margin-right: 20px;
}

.nav-item a {
    font-family: Barlow;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

.nav-item.active a {
    color: #6129DA !important;
}   

.nav-item .caret-down {
  margin-left: 10px;
}

.navbar-custom-shadow {
  box-shadow: 0px 1px #ECEFF4;
}

#mainNav .mega-menu {
  left: 50%;
  top: 80%;
  box-shadow: 0px 4px 40px rgba(184, 191, 206, 0.25);
  border-radius: 4px;
}

#mainNav .mega-menu a {
  font-family: Barlow;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 18px;
}

#mainNav .mega-menu .col:first-child {
  border-right: 1px solid #DFE3EA;
}

/* overlay on focus  */
.dropdown-mega:after {
  content: '';
  /*z-index: 8888;*/
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: opacity .15s ease-in-out;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.7);
  pointer-events: none;
  overflow-y: hidden;
}

.dropdown-mega.show .nav-link {
  position: relative;
  z-index: 12;
}

.dropdown-mega.show:after {
  z-index: 888;
  opacity: 1;
  visibility: visible;
  position: fixed;
}
/* end overlay on focus  */

/* megamenu responsive */
@media only screen and (max-width: 1000px) {
  #mainNav .mega-menu {
    margin-bottom: 30px;
  }

  #mainNav .mega-menu .col:first-child {
    border-right: none;
  }

  .dropdown-mega.show:after {
    opacity: 0;
  }
}
/* end megamenu responsive */

/* modal pranala for mobile */
#modalPranala  .modal-title {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
}

#modalPranala .list-group .list-group-item a {
  font-family: Barlow;
  color: #232F42;
}


/* end modal pranala for mobile */


.btn-masuk {
    background-color: #6129DA !important;
    width: 115px;
    height: 48px;
    font-family: Poppins;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 2;
}

@media (max-width: 1000px) {
  .btn-masuk {
    display: block;
    width: 100%;
    margin-top: 10px;
  } 
}
/* End of Navbar */

/* Header */
header.masthead {
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%), 
                url("../images/image1.png");
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    color: #FFFFFF;
    padding-top: calc((100vh - 11vh)/6);
}

@media screen and (max-width: 1000px) {
    header.masthead {
        padding-top: 50px;
    }
}

@media screen and (max-width: 760px) {
    header.masthead {
        height: 900px;
    }
}


header.masthead h1 {
    font-family: Poppins;
    font-style: normal;
    font-weight: bold;
    font-size: 48px;
    line-height: 52px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

header.masthead p {
    font-family: Barlow;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    margin-top: 20px !important;
}

@media screen and (max-width: 650px) {
    header.masthead h1 {
        font-size: 6vw;
    }
}

@media screen and (max-width: 500px) {
    header.masthead h1 {
        font-size: 30px;
        line-height: 40px;
    }
}
  
header.masthead .title-pencarian {
    font-family: Poppins;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 20px;
}
@media screen and (max-width: 1000px) {
    header.masthead .title-pencarian {
        margin-top: 10px;
    }
}
.tab-pencarian a.active {
  /*display: inline-block;*/
  /*display: block;*/
  /*display: inline;*/
  padding:  13px 25px;
  background-color: #6129DA;
  margin: 0;
  color: #fff;
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  /*line-height: 48px;*/
  text-align: center;
  border-top-left-radius: 4px;
}

.tab-pencarian a {
  padding:  13px 25px;
  background-color: #EDF0F5;
  margin: 0;
  color: #98A2B0;
  font-weight: normal;
  font-family: Poppins;
  font-style: normal;
  font-size: 14px;
  border-top-right-radius: 4px;
  border-top-left-radius: 0;
}

.container-kata-kunci {
  background-color: #fff;
  padding: 30px 40px;
  width: 500px;
  border-radius: 4px;
}
@media screen and (max-width: 1000px) {
    .container-kata-kunci {
        width: 100%;
    }
}

.kata-kunci {
    /*width: 100%;*/
    /* height: 68px; */
    background-color: white;
    box-shadow: 0px 10px 30px #DCE0E3;
    border-radius: 4px;
    /* padding: 24px 10px; */
}

#search {
    width: 100%;
    border: 0;
    padding: 0px 10px 10px 20px;
    border-radius: 4px;
}

/* placeholder style */
#search::-webkit-input-placeholder {
    font-family: Barlow;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
}

/* remove oultine when click */
#search:focus {
    outline: none;
}

.kata-kunci p {
    font-size: 14px !important;
    color: #A8A9B1;
    padding: 10px 10px 0 20px;
    margin: 0px;
}

.masthead .selanjutnya {
    font-family: Barlow;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 48px;

    color: #FFBC0F;
    cursor: pointer;
}

.masthead .scroll-here {
    bottom: 0;
}

.masthead .scroll-here p {
  font-family: Barlow;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 26px;
}

.btn-cari {
    background-color: #6129DA;
    border-color: #6129DA;
    height: 68px;
    border-radius: 4px;
    font-family: Barlow;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
}

.btn-cari img {
    position: absolute;
    left: 20%;
}

/* End of Header */

/* Responsive Header */

/* u/ mobile */
@media only screen and (max-width: 1000px) {
  #mainNav {
    height: auto; 
  }

  .navbar-brand {
    border: 0;
  }
}
/* End of Responsive Header */

/* Berita dan Pengumuman */
.berita-pengumuman {
    margin: 0;
    /*padding: 2em;*/
    /*background-color: #F3F6F9;*/
}

.berita-pengumuman h1 {
    font-family: Poppins;
    font-style: normal;
    font-weight: bold;
    font-size: 30px;
}

.berita-pengumuman span {
    font-family: Barlow;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
}

.berita-pengumuman img {
    border-radius: 4px;
}

.berita-item {
    border-radius: 4px;
    width: 100%;
    background-size: cover;
}
.berita-newest {
    height: 500px;
}
.berita-other {
    height: 191px;
}

@media screen and (max-width: 1000px) {
    .berita-newest, .berita-other {
        height: 160px;
    }
}
.card-articles {
    background-color: white;
    box-shadow: 0px 20px 60px #F1F3F4;
    border-radius: 4px;
    margin-top: -120px;
    display: inline-block;
}

.card-articles .date {
    font-family: Barlow;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: 0.01em;
    color: #9196A0;
}

.card-articles .desc {
    font-family: Barlow;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #232F42;
}

.card-articles .next, .next-mini {
    font-family: Barlow;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #9DA4AE;
}

.card-articles .next-mini {
    color: #9DA4AE;
}

/* End of Berita dan Pengumuman */

/* Koleksi Terbaru */
.koleksi-terbaru {
    margin: 0;
    padding-bottom: 100px;
    background: no-repeat url(../images/buku_watermark.png);
    background-color: #F3F6F9;
    background-position: right bottom;
}

.koleksi-terbaru h3 {
    font-family: Poppins;
    font-style: normal;
    font-weight: bold;
    font-size: 30px;
}

.koleksi-terbaru span {
    font-family: Barlow;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
}

.card-koleksi {
    border-radius: 4px;
    background-color: #fff;
    height: 350px;
    background-image: url("../images/card_book_background.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    padding-bottom: 20px;
}

@media screen and (max-width: 500px) {
    .card-koleksi {
        height: 250px;
    }
}
.card-koleksi .card-title-koleksi {
    font-family: Barlow;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #2F3D52;
    padding: 0 1rem 1rem 1rem;
}

@media screen and (max-width: 1000px) {
    .card-koleksi .card-title-koleksi {
        padding-right: 5px;
    }
}

.card-koleksi .card-title-koleksi.active {
    color: #4071EF;
}

.card-koleksi-judul {
    margin-top: auto;
}
.card-koleksi-judul.active {
    border-bottom: 5px solid #4071EF;;
}

.card-koleksi-judul img {
    max-width: 40px;
    max-height: 40px;
    margin-top: 5%;
    margin-right: 5px;
}

.card-koleksi-judul h4 {
    font-family: Barlow;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    color: #344359;
    margin: 5px;
}

.card-koleksi-judul p {
    font-family: Barlow;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    color: #7C7F89;
    margin: 5px;
}
/* End Koleksi Terbaru */


/* Galeri Foto & Video */
  .galeri-foto {
      /*padding-bottom: 100px;*/
  }

  .galeri-foto h3 {
      font-family: Poppins;
      font-style: normal;
      font-weight: bold;
      font-size: 30px;
  }

  .galeri-foto span.description {
      font-family: Barlow;
      font-style: normal;
      font-weight: normal;
      font-size: 16px;
  }

  .galeri-foto-container {
    display: grid;
    grid-template-columns: 500px 1fr 1fr;
    grid-template-rows: 202px 202px;
    grid-gap: 4px;
  }

  .galeri-foto-container img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
  }

  .galeri-foto-container .konten-1 {
    grid-row: 1/3;
  }
/* End Galeri Foto & Video */

/* Statistik */
.statistik {
  /*margin-bottom: 0 !important;
  margin-top: 0 !important;*/
}

.statistik-card {
    background-color: #2A3D81;
    border-radius: 8px;
}

.statistik-card h3 {
    font-family: Poppins;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
}

.statistik-card .description {
    font-family: Barlow;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 20px;
    color: #A2ABC9;
}

.statistik-card h4 {
    font-family: Poppins;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
}

.card-statistik {
    background: #304389;
    border: 1px solid #44589E;
    box-sizing: border-box;
    border-radius: 4px;
    text-align: left;
    width: 100%;
    min-width: 160px;
}

.card-statistik > img, .card-statistik > div {
  display: table-cell;
  height: 100%;
  vertical-align: middle;
  padding-right: 10px;
}

.card-statistik h5 {
    font-family: Barlow;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    margin: 0;
}

.card-statistik p {
    font-family: Barlow;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    /*line-height: 28px;*/
    margin: 0;
}

.card-statistik.alamat {
  min-width: 280px;
}
/* End Of Statistik */

/* Footer */
.footer {
    margin: 0;
    /*padding: 100px 0 30px 0;*/
}

.footer .name {
    font-family: Barlow;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 48px;
    color: #8D97A2;
}
/* End of Footer */

/* Footer responsive */

@media only screen and (max-width: 600px) {
  .footer .name {
    text-align: center;
    line-height: 1.5;
  }

  .footer .name span {
    display: block;
  }
}

/* End of Footer responsive */


/* Halaman Login */
.water-mark-buku-login {

}
/* End of Halaman Login */

/* Pagination */
.pagination{
	text-align:center;
	margin:0;
	float:left;
}

.pagination a{
	display:inline-block;
	padding:5px 10px;
	margin:0;
	font-size:10px;
	font-weight:600;
	text-decoration:none;
	color:#111;
	border:1px solid #AAA;
	cursor:pointer;
}

.pagination li a {
    border-radius: 4px;
    line-height: 23px;
    font-size: 12px;
    font-family: "Barlow";
    margin-right: 2px;
}

.pagination li a.current {
    background: #6129DA;
    color: #fff;
    border: 1px solid #6129DA;
}

.pagination a:hover{
	background-color: #6129DA;
	color:#fff;
}

.pagination a:active { 
	color:#111111;
	background-color:#EAEAEA;
}

.click-button {
    cursor: pointer;
}

/* button up*/
#btn_up {
  width: 60px;
  height: 60px;
  transform: scale(0);
  position: fixed;
  right: 3%;
  bottom: 3%;
  border-radius: 50%;
  box-shadow: 0px 10px 20px rgba(121, 131, 147, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 1, 1);
}

#btn_up.animate {
  transform: scale(1);
}
/* end button up*/