html{
  scroll-behavior: unset !important;
  background: #333;
}

body {
  /* disable text selection highlighting */
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

/* Multiple Modal Overlay  */
.modal.show{
  z-index: 1041;
  ~ .modal.show{
    z-index: 1043;
  }
}
.modal-backdrop.show {
  z-index: 1040;
  + .modal-backdrop.show{
    z-index: 1042;
  }
}
/* Multiple Modal Overlay  */

.menu_top{
  position: sticky;
  top: 0;
  z-index: 1040;
  padding: 5px;
  background: white;
  box-shadow: 0px 5px 15px #999;
}

#id-add {
  text-align: center;
  position: fixed;
  bottom: 15px;
  right: 10px;
  width: 3rem;
  height: 3rem;
  z-index: 5;
}

#id-install {
  text-align: center;
  position: fixed;
  bottom: 15px;
  right: 10px;
  width: 3rem;
  height: 3rem;
  z-index: 5;
  display: none;
}

.icon-bg{
  position: fixed;
  line-height: 3rem;
  bottom: 13px;
  right: 10px;
  z-index: -1;
  font-size: 3rem;
  color: #ffffff;
}

.icon-tambah{
  position: fixed;
  line-height: 3rem;
  bottom: 13px;
  right: 10px;
  font-size: 3rem; 
  color: #3b3b3b; 
}
 
.icon-install{
  position: fixed;
  line-height: 3rem;
  bottom: 13px;
  right: 10px;
  font-size: 3rem; 
  color: red;
}

.cls-tanggal {
  scroll-margin-top: 110px;
}

.list-jadwal {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 3px;
  font-size: 4vw;
  padding: 10px 10px 10px 5px;
  /* margin-bottom: 12px; */
}
.list-jadwal:nth-child(even) {
  background: #bababa33;
}
.tanggal{
  font-size: 5vw;
}
.masjid{
  font-weight: bold;
  font-size: 1.2rem;
  white-space: nowrap;
}
.masjidKotaKab{
  font-size: 1rem;
}
.narasumber{
  font-style: italic;
}
.catatan{
  font-size: 3.4vw;
}
.tema_kegiatan{
  font-size: 3.4vw;
}
.header_tgl_old{
  background-image: linear-gradient(to right, #737373, #a1a1a1); 
  color: white !important;
  box-shadow: none !important;
}
.header_tgl_new{
  background-image: linear-gradient(to right, #65b9bb, #d4d27a);
  color: white !important;
  box-shadow: none !important;
}
.header_tgl_now{
  background-image: linear-gradient(to right, #be3f3f, #f58594);
  color: white !important;
  box-shadow: none !important;
  font-weight: bold;
}
.accordion-button:not(.collapsed)::after {
  background-image: var(--bs-accordion-btn-icon) !important;
}
.accordion-body{
  /* padding: 1rem 0.5rem; */
  padding: 0;
}
.loading{
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: none !important;
}
.jadwal-kegiatan{
  width: 100%;
  border-left: 2px solid #c1c1c1;
  padding-left: 5px;
}
.kegiatan{
  /* color: red;
  text-shadow: 0px 0px 5px yellow; */
  padding-left: 10px;
  color: #cda517;
}

.cls-youtube{
  font-size: 2rem;
  color: red;
  line-height: 2rem;
}

#id-konten_modal_detail{
  margin-top: 10px;
  padding: 5px 20px;
  overflow: hidden;
}
#id-konten_modal_youtube{
  margin-top: 10px;
  padding: 5px 20px;
  overflow: hidden;
}
#id-konten_modal_donasi{
  margin-top: 10px;
  padding: 5px 20px;
  overflow: hidden;
  text-align: center;
}
.modal-title {
  line-height: 1;
}

.list-jadwal hr{
    margin: 2px;
}

#id-info_login{
  color: red;
  font-style: italic;
}

.label-flyer{
  position: absolute; 
  margin-top: -9px;
  margin-left: -5px;
  width: 15px; 
  height: 15px; 
  background: linear-gradient(to top left, transparent 0%, transparent 50%, #f32121 50%, #b53f3f 100%);
}

.icon-kanan{
  position: absolute;
  right: 14px;
}

span.select2-selection.select2-selection--single{
  padding: 5px;
  border-radius: 0px 5px 5px 0px;
  border-color: #dee2e6;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height:inherit;
}
span.select2-dropdown.select2-dropdown--below{
  border-color: #dee2e6;
  width:calc(100vw - 15px) !important;
  box-shadow: 0px 12px 20px #9d9d9d;
}
.select2-container--default .select2-results>.select2-results__options{
  max-height: 85vh;
}

#id-flier_modal_detail{
  width: 100%;
  display: none;
}
#id-embeded_video {
  position: relative;
}
#id-embeded_video #id-ratio_img {
  display: block;
  width: 100% !important;
  height: auto !important;
}
#id-embeded_video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.NAMA_MASJID{
  margin-top: 6px; 
  color: #555; 
  line-height: 0.5rem; 
  font-size:3.1vw;
}

.tab-pane {
  overflow: scroll;
  /* height: 74vh; */
}

#id-detail_modal {
  --bs-modal-margin: 0 !important;
}

#id-detail_modal .modal-content{
  height: 100vh;
}

.modal-dialog {
  margin-right: auto;
  margin-left: auto;
}

.cls-image_galeri {
  max-height: 70vh;
  max-width: 95%;
}
#id-btn_add_image_galeri{
  margin-top: -10px;
}

#id-konten_modal_galeri{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  margin-bottom: 10px;
}

.btn_close_image_galeri{
  margin-bottom: -32px;
  background-color: white;
  position: relative;
  left: 45%;
}

.tambah_gambar{
  position: relative;
  left: 43%;
}

.icon-add{
  font-size: 2rem; 
  color: #3b3b3b; 
  line-height: 35px;
}

#nav-tab{
flex-wrap: nowrap;
white-space: nowrap;
overflow-y: hidden;
overflow-x: scroll;
}

::-webkit-scrollbar { display: none; }

@media (min-width: 460px){
    .list-jadwal {
      font-size: 1rem;
    }
    .tanggal{
      font-size: 1.3rem;
    }
    .catatan{
      font-size: 0.9rem;
    }
    .tema_kegiatan{
      font-size: 0.9rem;
    }
    body{
      max-width: 460px;
      margin-left: auto;
      margin-right: auto;
      padding: 0 !important;
    }
    #id-add, #id-install, .icon-install, .icon-tambah, .icon-bg {
      right: calc(50vw - 220px);
    }
    .icon-kanan{
      position: absolute;
      right: inherit;
      margin-left: 430px;
    }
    span.select2-dropdown.select2-dropdown--below{
      width:calc(460px - 15px) !important;
    }
    .NAMA_MASJID{
      font-size:0.9rem;
    }
    .modal-dialog {
      max-width: 460px;
    }
}