/************* BOOTSTRAP *************/
.offcanvas.show {
  z-index: 1051;
}

@media (max-width: 767px) {
  .w-auto {
    max-width: 100%;
  }
}


/************* GLOBAL *************/
body {
  font-family: 'Open Sans', sans-serif;
  position: relative;
}

.hidden {
  display: none;
}

.sg-sticky-top {
  top: 15px;
}

.btn-xl {
  padding: .7rem 3rem;
  font-size: 1.3rem;
  border-radius: .325rem;
}

@media (max-width: 767px) {
  .dropdown-menu[data-bs-popper].dropdown-menu-center {
    right: auto;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .dropdown-menu-center {
    max-width: 300px;
  }

  .small-xs {
    font-size: 90% !important;
  }
}

.h-opacity {
  opacity: 0.9;
  transition: ease 0.3s all;
}

.h-opacity:hover {
  opacity: 1 !important;
}

.h-shadow {
  transition: ease 0.3s all;
}

.h-shadow:hover {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.btn-orange {
    color: #000 !important;
    background-color: #ffd100 !important;
    border-color: #ffd100 !important;
}
.btn-orange:not(.disabled):hover {
    color: #000 !important;
    background-color: #fdd93a !important;
    border-color: #fdd93a !important;
}

.cta {
    transition: 0.2s;
}
.cta:hover {
    box-shadow: 5px 5px 0 #000 !important;
}
.cta.btn-primary,
.cta.btn-outline-primary {
    box-shadow: 3px 3px 0 #99caff;
}
.cta.btn-orange {
    box-shadow: 3px 3px 0 #000;
}


/************* SCROLL *************/
/* Works on Firefox */
body * {
  scrollbar-width: thin;
  scrollbar-color: #cccccc transparent;
}

/* Works on Chrome, Edge, and Safari */
body *::-webkit-scrollbar {
  width: 4px;
}

body *::-webkit-scrollbar-track {
  background: transparent;
}

body *::-webkit-scrollbar-thumb {
  background-color: #cccccc;
  border-radius: 20px;
  border: 3px solid #cccccc;
}


/************* CART *************/
@media (min-width: 768px) {
  #cartSummary {
    width: 420px;
  }
}

.position-sticky .summaryItem:not(:first-child) {
  border-top: 1px solid #eef2f7;
  padding-top: .75rem;
}


/************* SIDEBAR *************/
#offcanvasMenu {
  max-width: 250px;
}

#offcanvasMenu .offcanvas-body {
  background: linear-gradient(to right, #316ed3 0, #0093de 75%);
}

@media (min-width: 768px) {
  #offcanvasMenu {
    visibility: visible !important;
    transform: none;
  }

  #offcanvasMenu+main {
    margin-left: 250px;
  }
}

.sidebar .nav-item {
  margin-bottom: .2rem;
}

.sidebar .nav-item.active>.nav-link {
  background-color: rgba(0, 0, 0, .2);
}

.sidebar .nav-item .nav-link {
  color: #ffffff;
  cursor: pointer;
}

.sidebar .nav-item .nav-link:hover {
  background-color: rgba(0, 0, 0, .5);
}

.sidebar .nav-link {
  font-size: 0.95rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.4rem;
}

.sidebar .nav-link .sidebar-icon {
  margin-right: .3rem;
  opacity: 0.75;
}

.sidebar .nav-link .link-arrow {
  font-size: 0.875rem;
  opacity: 0.75;
}

.sidebar .nav-link .link-arrow {
  transition: all 0.2s ease;
}

.sidebar .nav-link[data-bs-toggle=collapse][aria-expanded=true] .link-arrow {
  transform: rotate(90deg);
}

.sidebar .nav-link+.multi-level {
  margin-top: .2rem;
  margin-left: 5px;
}

.sidebar .multi-level .nav-link {
  font-size: .85rem;
  padding: 0.45rem 0.6rem;
}

.sidebar .multi-level ul li {
  margin-left: 15px;
  position: relative;
  padding-left: 12px;
}

.sidebar .multi-level ul li::before {
  content: " ";
  position: absolute;
  width: 2px;
  background-color: #538cd7;
  top: 0px;
  bottom: -12px;
  left: 0px;
}

.sidebar .multi-level>ul>li:last-child::before {
  bottom: 16px;
}

.sidebar .multi-level ul li::after {
  content: " ";
  position: absolute;
  left: 0px;
  width: 12px;
  height: 2px;
  background-color: #538cd7;
  top: 17px;
}


/************* FORM *************/
.form-floating>.form-control,
.form-floating>.form-select {
  height: calc(3rem + 2px);
  padding-top: .625rem !important;
}

.form-floating>label {
  transition: ease .3s all;
  color: #818991;
  height: unset;
  padding: .8rem .75rem;
  z-index: 99;
  width: initial;
}

.form-floating>.form-control~label,
.form-floating>.form-select~label {
  transform: scale(.55) translateY(-1.2rem) translateX(1.15rem) !important;
  background-color: #fff;
  opacity: 1 !important;
  font-size: 23px;
  padding: 0 7px;
  border-radius: 10px;
  white-space: nowrap;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-select:focus~label {
  color: #3596ff;
}

.form-floating+.form-floating,
.form-check+.form-floating {
  margin-top: 1rem !important;
}

.form-floating>.form-control:read-only~label,
.form-floating>.form-control:disabled~label,
.form-floating>.form-select:disabled~label {
  box-shadow: 0 .125rem .15rem rgba(0, 0, 0, .2);
}

.form-floating>.form-control.form-control-sm {
  height: unset;
  padding-top: .75rem !important;
  padding-bottom: .4rem;
  font-size: 90%;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}


/************* BOX *************/
.sg-box {
  background-color: #fff;
  padding: 1rem 1.2rem;
  box-shadow: 0 0 35px 0 rgba(154, 161, 171, .2);
  position: relative;
  border-radius: .25rem;
}

.sg-box .title {
  font-size: 1.4rem;
}

.sg-box ul:last-child li:last-child {
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .sg-box {
    padding: 1.3rem 1.5rem;
  }
}


/************* TICKET *************/
.ticket-reply {
  word-break: break-word;
}

.ticket-reply p {
  margin-bottom: 0.6rem;
}

.ticket-reply p:last-child {
  margin-bottom: 0;
}

.ticket-reply hr {
  margin-bottom: 0px;
}

.ticket-reply hr+p {
  font-size: 9px;
  color: #6c757d;
}

.ticket-reply code {
  background: #eff4f7;
  color: #535666;
  border-radius: 5px;
  padding: 0.8rem 1rem;
  display: inline-block;
  white-space: break-spaces;
}

.ticket-reply blockquote {
  padding: 10px 15px;
  margin-bottom: 0.6rem;
  border-left: 5px solid #eee;
}

table.isDatatable {
    display: none;
}
