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

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family) !important;
}
html, body{
  background: #f7f7f7;
}

/* ===========Global CSS======== */
.btn.btn-primary{
  background: var(--main-color) !important;
  border-color: var(--main-color) !important;
}

header{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
}
header a.nav-link{
  border-bottom: 2px solid transparent;
  color: white !important;
  margin-left: 5px;
}
header .nav-link.active{
  border-bottom: 2px solid white;
}
header .nav-link:hover{
  border-bottom: 2px solid white;
}
header .navbar{
     background-image: url("../images/HEADER.png");
  background-repeat: no-repeat;
  background-size: cover;
  /*  background-image: url("../images/color_nav_bar.png");
  background-repeat: no-repeat;
  background-size: cover;
  */
}
footer{
  background: var(--main-color);
  color:white;
}
.page-title{
  border-left: 3px solid var(--main-color);
  padding-left: 10px;
  margin-bottom: 15px;
}
img.img{
  width: 100%;
  max-width: 100% !important;
  height: auto;
}
.rounded-circle{
  border: 2px solid var(--main-color);
}
a{
  color: #555;
  text-decoration: none !important;
}
a:hover{
  color: black;
}
.btn.btn-primary, .card{
  border-radius: 0px !important;
}
.btn{
  border-radius: 0px !important;
}
ul{
  list-style: none;
}
.btn-link{
  padding: 0;
  color: #eee;
}
.btn-link:hover{
  text-decoration: none;
  color: white;
}
#navbarSupportedContent.mobile{
  position: fixed;
  left: 0px;
  top: 0px;
  background: black none repeat scroll 0% 0%;
  bottom: 0px;
  width: 75%;
  padding: 20px;
}
/* ===========END Global CSS======== */

/* ========Slide CSS=========== */
#slide {
margin-top: 6.5rem;

}

#slide img {
  height: 400px;

}


/* ========End Slide CSS=========== */

/* ========Home CSS=========== */
#home{
  margin-top: 3rem;
}
#home .news-time{
  font-size: .7rem;
  color: var(--grey-color);
}
#home .content-item{
  margin-bottom: 2rem;
}
/* ========End Home CSS=========== */


/* ========Data Statistik CSS============== */
#stats{
  margin-top: 6.5rem;
}
#stats .img-wrapper{
  padding: .6rem 1.3rem;
}
#stats img.img{
  max-width: 130px !important;
}
#stats .title{
  font-size: .8rem;
  font-weight: 700 !important;
  padding: 0 2px;
}
#stats .btn{
  width: 50%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
#stats .row > [class*='col-'] .card {
  height: 215px;
}
#stats .row > [class*='col-'] .card .card-body {
  padding: 0 !important;
}
/* ========End Data Statistik CSS============== */


/* ========Stat Detail CSS=============== */
#stat-detail{
  margin-top: 6rem;
}
/* ========End Stat Detail CSS=============== */


/* ===========Table CSS================+ */
#table *{
  font-size: 12px;
}
#table #sidebar{
  
  width: 20vw;
  height: 100vh;
  background: #2e2e2e;
  position: fixed;
  overflow-y: auto;
}
#table #sidebar.mobile{
  z-index: 3;
  width: 70vw;
}
#table #overlay{
  content: '';
  width: 100%;
  height: 100vh;
  top: 0;
  right: 0;
  background: rgba(0,0,0,.22);
  z-index: 1;
  position: absolute;
}
#table #sidebar.hide{
  display:none;
}
#table #right.full{
  margin-left: 0;
  width: 100%;
}
#table #right{
  position: fixed;
  height: 100vh !important;
  margin-left: 20vw;
}
#table #right footer{
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}
#table #right #header{
  position: absolute;
  top: 0;
  width: 100%;
  background: var(--main-color);
}
#table #table-content{
  margin-top: 53px;
  /*padding: 1rem;*/ 
  overflow-y: auto;
  width: 100vw;
  height: calc(100vh - 110px);
}
#table #sidebar .btn-link{
  width: 100%;
  text-align: left;
  font-size:18px;
}

#table #sidebar .btn-link:hover{
  width: 100%;
  text-align: left;
  font-size:18px;
    color: #0887fe;
}

#table #sidebar ul li.parent{
  border-bottom: 1px dashed white;
  padding: 5px 10px;
  color: white;
  font-size:16px;
}


#table #sidebar ul li.parent ul{
  margin-left: 10px;
  margin-top: 5px;
}
#table #sidebar li.child a{
  color: white;
  font-size:18px;
  
}

#table #sidebar li.child a:hover{
  color: #0887fe;
  font-size:18px;
  
}


/*tambahan */
#table #sidebar .search-container{

  padding: 10px;

}

#table #sidebar .card-title{
  margin-left: 0px;
  font-size:18px;
}

#table #sidebar .card{
  background-color:#2e2e2e;
  border-bottom: 1px dashed white;
  padding: 5px 5px;
  color: white;
  font-size:18px;
}

#table #sidebar .card p{
  font-size:18px;
}



#table #sidebar .search{
  background-color:#2e2e2e;
  border-bottom: 1px dashed white;
  padding: 5px 5px;
  color: white;
  font-size:18px;
}


#table #sidebar .card a{
  color: white;
  font-size:18px;
}

#table #sidebar .card a:hover{
  color: #0887fe;
  font-size:18px;
}



/* ===========END Table CSS================+ */


/* ===========Kantor CSS================ */
#kantor{
  margin-top: 6.5rem;
}
#kantor .sosial{
  background: white;
  border: 1px solid rgba(0,0,0,.125);
  font-size:18px;
}
#kantor .sosial div:not(:last-child){
  border-right: 1px solid rgba(0,0,0,.125);
}
#kantor .sosial div{
  cursor: pointer;
  width: 25%;
  padding: 3px;
  text-align: center;
  text-transform: uppercase;
}
#kantor .sosial div:hover{
  opacity: .8;
}
#kantor #links li{
  padding: 20px 15px;
}
#kantor #links li:not(:last-child){
  border-bottom: 1px solid rgba(0,0,0,.125);
}
/* ===========End Kantor CSS================ */



/* =============Peta CSS================ */
#peta{
  margin-top: 6.5rem;
  margin-bottom: 1.4rem;
}
#peta .peta-item{
  margin-bottom: 1.4rem;
}
#peta .desc-wrapper{
  position: relative;
}
#peta .desc-wrapper .button-wrapper{
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
}
#peta .desc-wrapper .button-wrapper .btn{
  width: 100% !important;
}
/* =============END Peta CSS================ */


/* ================Detail News===================== */
#detail-news{
  margin-top: 6.5rem;
  margin-bottom: 30px;
}
/* ================END Detail News===================== */


/* ===============Responsive CSS================== */
@media (min-width: 768px) {
  #stats .row > .col-md-4 .card {
    height: 270px;
  }
}
/* ===============END Responsive CSS================== */