/* Search Form */
.m-50 {
  margin-top: 50px;
  background-color: #fff;
}

.search-bar {
  display: block;
  position: fixed;
  top: 55px;
  margin: auto;
  /* z-index: 1001; */
  width: 95%;
  padding: 10px;
}

#formsearch {
  display: none;
}

#searchbtn {
  box-shadow: none;
  padding: 8px 14px;
}

#searchbtn:hover {
  box-shadow: none;
}

.btn-search {
  background-color: #fff;
  border: 1px solid #ced4da;
  color: #0494e3;
}

.form-control:focus {
  border-color: #fafafa;
}
/* End Search Form */

/* KATEGORI */
.kategori {
  box-shadow: rgba(0, 0, 0, 0) 4px 0 5px -2px, rgba(0, 0, 0, 0) 0px 0px 0px 1px;
  padding: 50px 20px;
  background-color: #0494e3;
  color: white;
}

.kategori > h3 {
  padding-left: 10px;
  font-size: 20px;
}

.kategori ul {
  margin-top: 30px;
}

.kategori li {
  list-style-type: none;
  padding-left: 10px;
}

.kategori li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 13px;
}

.kategori li a:hover {
  font-weight: 700;
}
/* END KATEGORI */

/* FORUM */
.forum {
  background-color: #fafafa;
}

/* Button Buat Pertanyaan */

.btn-ask {
  padding: 10px;
  background-color: #0494e3;
  color: white;
  width: 40%;
  margin: 4% 0 2% 0;
  border: 1px solid grey;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.btn-ask a {
  color: white;
}

.btn-ask:hover {
  background-color: #048dd6;
  color: white;
}

/* Efek Button Diperbesar */

.btn-grow {
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.btn-grow:hover {
  transform: scale(1.1);
}

.card {
  width: 100%;
}
/* End Button Buat Pertanyaan */


/*//////////////////////////////////
Tombol Edit Kategori (ADMIN)
//////////////////////////////////*/
.btn-create-category {
  background-color: white;
  padding: 10px;
  margin-bottom: 5%;
  border: 1px solid rgb(136, 190, 218);
  border-radius: 10px;
  cursor: pointer;
}
.btn-create-category a {
  color: rgb(136, 190, 218);
}
.btn-create-category a:hover {
  text-decoration: none;
  color: white;
}
.btn-create-category:hover {
  background-color: rgb(136, 190, 218);
  color: white;
  -webkit-transition: 0.8s ease;
  transition: 0.8s ease;
  transform: scale(1.08);
  -webkit-transform: scale(1.08);
  width: 50%;
}

/* Kategori Button */
#category{
  color: white;
}

#judul_pertanyaan{
  width: 100%;
  border-radius: 5px;
  border: 1px solid rgb(112, 112, 112);
  padding: 3px;
}
/* Discussion */

body {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  text-align: left;
}

.mt-50 {
  margin-top: 50px;
}

.card {
  border-width: 0;
  transition: all 0.2s;
  margin-top: 20px;
  border-radius: 5px;
  border: #495057;
  border: 2px solid #afb2b4;
}

.text-truncate-container > p {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card:hover {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border: 2px solid #0494e3;
}

.card-body .title {
  color: #0494e3;
  font-size: 17px;
  font-weight: 600;
}

/* Animasi Underline Judul Pertanyaan */
.hover-underline {
  display: inline-block;
  position: relative;
  color: #0494e3;
}

.hover-underline:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #0494e3;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.card-body .isi-pertanyaan {
  font-size: 13px;
}

.btn-primary.btn-shadow {
  box-shadow: 0 0.125rem 0.625rem rgba(63, 106, 216, 0.4), 0 0.0625rem 0.125rem rgba(63, 106, 216, 0.5);
}

.btn.btn-wide {
  padding: 0.375rem 1.5rem;
  font-size: 0.8rem;
  line-height: 1.5;
  border-radius: 0.25rem;
}

.btn-primary {
  color: #fff;
  background-color: #3f6ad8;
  border-color: #3f6ad8;
}

.form-control {
  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;
}

.card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
}

.flex-truncate {
  min-width: 0 !important;
}

.d-block {
  display: block !important;
}

a {
  text-decoration: none !important;
  background-color: transparent;
}

.media img {
  width: 40px;
  height: auto;
}

.keyword {
  background-color: #fc8c74;
  border-radius: 5px;
  color: white;
  padding: 2px;
  font-size: 10px;
}

.keyword-title {
  font-size: 13px;
}

.footer-wave-path {
  fill: #fafafa;
}
.footer {
  background-color: #fff;
}

/* END FORUM */

@media (min-width: 480px) {
  .btn-ask {
    display: inline-block;
    margin-bottom: 30px;
  }
}
@media only screen and (max-width: 480px) {
  .btn-ask {
    display: inline-block;
    margin-bottom: 5vh;
    width: 50vw;
    margin-top: 5vh;
  }

  .btn-xs-kategori {
    margin-bottom: 0;
    background-color: #0494e3;
    color: white;
  }
  .padding-on-xs {
    min-width: 500px;
  }

  .navbar.padding-on-xs,
  #footer.padding-on-xs {
    min-width: 630px;
    width: calc(170px + 500px);
  }

  .list-keyword {
    margin-top: 10px;
  }

  .keyword-title {
    margin-bottom: 0;
  }

  footer img {
    width: 120px;
  }
}

@media (min-width: 992px) {
  .list-keyword {
    margin-top: 0;
  }
}

@media only screen and (min-width: 768px) {
  .point > .row {
    min-height: 520px;
  }
  .margin-forum {
    padding: 0 30px;
  }
}

@media (min-width: 992px) {
  .list-keyword {
    margin-top: 0;
  }
  .search-bar {
    width: 95%;
  }
}


/*//////////////
Tombol Tambah (ADMIN)
//////////////*/
#tombol-tambah {
  background: white;
  color: rgb(136, 190, 218);
  border-radius: 10px;
  border: 2px solid rgb(136, 190, 218);
  font-size: 15px;
  padding: 5px 5px;
  width: 100%;
  margin-bottom: 5%;
}
#tombol-tambah:hover {
  color: white;
  background: rgb(136, 190, 218);
  -webkit-transition: 0.8s ease;
  transition: 0.8s ease;
  transform: scale(1.08);
  -webkit-transform: scale(1.08);
  width: 100%;
}
#tombol-simpan {
  width: 30%;
  padding: 5px 20px;
  margin-left: 35%;
  border-radius: 10px;
  letter-spacing: 2px;
  background: rgb(0, 179, 125);
  border: none;
}
#tombol-simpan:hover {
  background: rgb(0, 133, 93);
}

/*//////////////
Action Button
//////////////*/
.btn-edit-category{
  background  : none;
  border: none;
  padding: 2%;
  font-size: 15px;
  margin-left: 5%;
}
.btn-edit-category:hover{
  color: rgb(228, 225, 72);
}

.btn-delete-category {
  background  : none;
  border: none;
  padding: 2%;
  font-size: 15px;
}
.btn-delete-category:hover{
  color: rgb(168, 83, 83);
}
/*//////////////
Modal Edit
//////////////*/
.footer-modal{
  display: flex;
  justify-content: center;
  padding: 2%;
}
#tombol-simpan-edit {
  width: 40%;
  padding: 5px 20px;
  margin-left: 2%;
  border-radius: 10px;
  letter-spacing: 2px;
  background: rgb(0, 179, 125);
  border: none;
}
#tombol-simpan-edit:hover {
  background: rgb(0, 133, 93);
}
.btn-close{
  border-radius: 10px;
  padding: 5px 20px;

}
.modal-dialog{
  height: auto;
  overflow: hidden;
}
.modal-content{
  position: relative;
}
/*//////////////
Modal Konfirmasi 
//////////////*/
#konfirmasi-modal .modal-dialog .modal-content {
  background-color: white;
  color: white;
  border-radius: 10px;
  box-shadow: 0px 2px 10px white;
}
#konfirmasi-modal .modal-dialog .modal-content .modal-header .modal-title {
  margin-left: 35%;
  color: rgb(216, 178, 178);
}
#konfirmasi-modal .modal-dialog .modal-content .modal-header .close {
  color: white;
}
#tombol-hapus {
  border-radius: 10px;
}

.modal-footer {
  border: none;
}
.tombol-batal {
  border-radius: 10px;
  margin-right: 2%;
  padding: 2px 10px;
}
.tombol-batal:hover {
  color: black;
}
.text-delete{
    color: black;
    font-size: 20px;
    font-weight:700;
}

.delete:hover {
  color: black;
}

/*//////////////
Anonymous Fitur
//////////////*/
/* .input-anon{
  display: flex;
  margin-bottom: -5%;
}
.label-anon{
  width: 300%;
} */
.check-anon{
  margin-left: 0;
}

/*/////////////////////////////////////
Keyword
//////////////////////////////////////*/
.filter-keywords{
  font-size: 15px;
  padding: 5px;
  background: rgb(0, 169, 236);
  color: white;
  border-radius: 5px;
  margin-left: 1%;
  cursor: pointer;
}
.filter-keywords:hover{
  background: rgb(0, 121, 168);
}
h5 a:hover{
  text-decoration: none;
  color: white;
}
.keyword-ket{
  margin-top: 2%;
  text-align: justify;
  font-size: 12px;
}
.filter-keywords [data-role="remove"] {
  margin-left: 2px;
  cursor: pointer;
}
.filter-keywords [data-role="remove"]:after {
  content: "x";
}
.filter-keyword [data-role="remove"]:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.filter-keyword [data-role="remove"]:hover:active {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
}

#kategori {
  min-width: 250px;
  max-width: 250px;
  transition: all 0.3s;
}

#kategori.active {
  margin-left: -250px;
}

#forum {
  width: 100% !important;
}

#kategori ul li a {
  padding: 2px;
  font-size: 1em;
  display: block;
}

@media (max-width: 768px) {
  #kategori {
    min-width: 170px;
    max-width: 170px;
    transition: all 0.3s;
  }
  #kategori {
    margin-left: -170px;
  }
  #kategori.active {
    margin-left: 0;
  }
  #sidebarCollapse span {
    display: none;
  }
}



/* //////////////////////////////////
Tombol Edit Kategori (ADMIN)
//////////////////////////////////*/
/* .btn-create-category{
  background-color: white;
  padding: 10px;
  margin-bottom: 5%;
  border: 1px solid rgb(136, 190, 218);
  border-radius: 10px;
  cursor: pointer;
}
.btn-create-category a{
  color: rgb(136, 190, 218);
}
.btn-create-category a:hover{
  text-decoration: none;
  color: white;
}
.btn-create-category:hover{
  background-color: rgb(136, 190, 218);
  color: white;
  -webkit-transition: 0.8s ease;
  transition: 0.8s ease;
  transform: scale(1.08);
  -webkit-transform: scale(1.08);
  width: 50%;
} */

