html,
body {
  scrollbar-gutter: stable;
}
.m-xs {
    font-size: 0.875em;
}
.m-px-3 {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}
.m-px-5 {
  padding-right: 3rem !important;
  padding-left: 3rem !important;
}
.m-pe-5 {
  padding-right: 3rem !important;
}
.m-col-8 {
  flex: 0 0 auto;
  width: 66.66666667%;
}
.m-col-10 {
  flex: 0 0 auto;
  width: 83.33333333%;
}
.m-px-4 {
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
}
.m-mx-2 {
  margin-right: 0.5rem !important;
  margin-left: 0.5rem !important;
}
.m-mx-5 {
  margin-right: 3rem !important;
  margin-left: 3rem !important;
}
.m-p-3 {
  padding: 1rem !important;
}
.m-col-1 {
  flex: 0 0 auto;
  width: 8.33333333%;
}
.m-col-4 {
  flex: 0 0 auto;
  width: 33.33333333%;
}
.m-mt-5 {
  margin-top: 3rem !important;
}
.m-mt-1 {
  margin-top: 0.25rem !important;
}
.m-col-3 {
  flex: 0 0 auto;
  width: 25%;
}
.totopBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  width: auto;
}
.m-pb-2 {
    padding-bottom: 0.5rem !important;
}
.m-r-pb-2 {
    padding-bottom: 0rem !important;
}

.m-row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.m-row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}
.m-space-between {
  display: flex; 
  flex-direction: column; 
  justify-content: space-between;
}
.m-h-100 {
    height: 100% !important;
}
.m-mb-1 {
    margin-bottom: 0.25rem !important;
}

@media only screen and (max-width: 768px) {
  .m-xs {
    font-size: 0.75em;
  }
  .m-small {
    font-size: 1em;
  }
  .m-px-3 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    }
  .m-px-5 {
    padding-right: 0rem !important;
    padding-left: 0rem !important;
  }
  .m-pe-5 {
    padding-right: 0rem !important;
  }
  .m-col-8 {
    flex: 0 0 auto;
    width: 100%;
  }
  .m-col-10 {
    flex: 0 0 auto;
    width: 100%;
  }
  .m-px-4 {
    padding-right: 0rem !important;
    padding-left: 0rem !important;
  }
  .m-mx-2 {
  margin-right: 0rem !important;
  margin-left: 0rem !important;
  }
  .m-mx-5 {
    margin-right: 0rem !important;
    margin-left: 0rem !important;
  }
  .m-p-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .m-container {
    width: 100%;
    padding: 0;
    max-width: 100%;
  }
  .m-col-1 {
    flex: 0 0 auto;
    width: 16.66666667%;
    }
  .m-col-4 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .m-mt-5 {
    margin-top: 1.5rem !important;
  }
  .m-mt-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  .m-col-3 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .totopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 10px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    width: auto;
  }
  .m-text-start {
    text-align: left !important;
  }
  .m-col {
      flex: 1 0 0%;
  }
  .m-pb-2 {
    padding-bottom: 0rem !important;
  }
  .m-r-pb-2 {
    padding-bottom: 0.5rem !important;
  }
  .m-pt-2 {
      padding-top: 0.5rem !important;
  }
  .m-align-items-center {
      align-items: center !important;
  }

}




.main-container {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    height: -webkit-fill-available;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
  }

.fw-semibold { font-weight: 600; }
.fw-500 { font-weight: 500; }
.f-xs {font-size: 0.75rem;}

.comboinput {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: auto;
  border-radius: 10px;
  border-width: 0px;
  border-color: #e5e5ea;
  border-style: solid;
}

.comboinput-attach {
  position: relative;
  left: -11px;
  opacity: 0.5;
}

.comboinput-attach-solid {
  position: relative;
  left: -11px;
}

.category-btn {
  border-radius: 10px;
  border-width: 0.5px;
  border-color: lightgray;
  border-style: solid;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  font-size: 0.85rem;
}

.category-more-btn {
  border-radius: 10px;
  border-width: 0.5px;
  border-color: lightgray;
  border-style: solid;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  font-size: 0.85rem;
}

textarea::-webkit-scrollbar {
    background-color: transparent;
    border: none;
  }

textarea::-webkit-scrollbar-button {
    display: none;
  }

textarea::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  background-clip: content-box;
  border-left: 12px solid transparent;
  border-top: 10px solid transparent;
  border-bottom: none;
}

textarea::-webkit-scrollbar-track {
  border: none;
  background-color: transparent;
}

textarea::-webkit-scrollbar-corner {
  border: none;
  background-color: transparent;
}

.combo-ta:focus {
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}

.list-group-item-success:hover {
  background-color: rgb(20, 164, 77, 0.3);
}

.list-group-item-success:active {
  background-color: rgb(20, 164, 77, 0.4);
}

.imagecarousel {
  position: relative;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 10px;
}

.custom-accordion-button {
  --bs-btn-color: #9778f2;
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #9779F2;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #9779F2;
  --bs-btn-hover-border-color: #9779F2;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-font-weight: 600;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #9779F2;
  --bs-btn-active-border-color: #9779F2;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #9779F2;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #9779F2;
  --bs-gradient: none;
}

.custom-blur-25 {
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(25px);
  background-color: #fff;
}
.custom-blur-5 {
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
  background-color: #fff;
}
.custom-img-protected {
    pointer-events: none;
}
.btn-outline-secondary {
  --bs-btn-color: #6c757d;
  --bs-btn-border-color: #6c757d;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(108, 117, 125, .5);
  --bs-btn-hover-border-color: rgba(108, 117, 125, .5);
  --bs-btn-focus-shadow-rgb: 108, 117, 125;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #6c757d;
  --bs-btn-active-border-color: #6c757d;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #6c757d;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #6c757d;
  --bs-gradient: none;
}
