html {
  height: 100%;
}

body {
  height: 100%;
}

label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

form .form-short {
  padding-left: 0;
  padding-right: 0;
}

form .form-button button {
  border-radius: 0.1rem;
}

form .form-button {
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center;
}
.fc .fc-daygrid-event {
  border: 1px solid #2c7be5 !important;
  background-color: #2c7be5 !important;
}
.fc-event-time {
  font-weight: 600 !important;
  color: #fff !important;
}
.fc-event-title {
  color: #fff !important;
}

.fc .fc-day-today:not(.fc-popover) .fc-daygrid-day-frame {
  border: #fff !important;
}

.fc .fc-daygrid-day.fc-day-today {
  background-color: rgba(255, 220, 40, 0.15) !important;
}

.fc .fc-daygrid-day-top {
  justify-content: right !important;
}

.fc .fc-daygrid-event-dot {
  border-color: green !important;
}
.sales-card {
  border-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.card-title {
  font-size: 18px;
  font-weight: 500;
  padding: 20px 0 15px 0;
  color: #012970;
  font-family: "Poppins", sans-serif;
}
.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}
.card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}
.sales-card .card-icon {
  color: #0095d4;
  background: #f6f6fe;
}
.fc-hoverable-event .bkc-code,
.fc-hoverable-event .bkc-name {
  font-size: 10px;
}
.form-button button {
  padding: 0.1875rem 0.5rem;
}

form .form-desc {
  padding-left: 0;
}

#__overlay {
  /* background-color: rgba(0, 0, 0, 0.5); */
  background-color: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1069;
  display: none;
  overflow: hidden;
}

/*----------------------------------
* Popover
----------------------------------*/
.popover-body {
  padding: 0;
}

.__lookup_content tbody {
  cursor: pointer;
}

.__lookup_content td,
.__lookup_content th {
  padding: 0.1rem;
  font-size: small;
}

.__lookup_content {
  max-height: 10rem;
}

.popover {
  max-width: 100%;
}

/*----------------------------------
* Toolbar
----------------------------------*/
#toolbar button {
  font-size: 0.75rem;
}

@media (max-width: 340px) {
  #toolbar .custom-toolbar-button {
    max-width: 80px;
  }
}

@media (max-width: 576px) {
  .fc .fc-toolbar-title {
    font-size: 1rem;
  }
  .fc .fc-daygrid-day-number {
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    font-size: 0.5rem;
    margin: 0.25rem;
    border-radius: 50%;
  }
  .fc .fc-daygrid-event {
    font-size: 0.5833333333rem;
    padding: 0;
  }
}
@media (max-width: 767px) {
  .fc .fc-daygrid-event {
    font-size: 0.6944444444rem;
    padding: 0;
  }
  .fc .fc-day:not(.fc-popover) .fc-daygrid-dot-event .fc-event-time,
  .fc .fc-day:not(.fc-popover) .fc-daygrid-dot-event .fc-event-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block !important;
  }

  .info-card h6 {
    font-size: 20px;
    color: #012970;
    font-weight: 700;
    margin: 0;
    padding: 0;
  }
}
@media (min-width: 569px) {
  .fc-event-time {
    font-size: 12px !important;
  }
  .fc-event-title {
    font-size: 12px !important;
  }
  .fc-daygrid-event-dot {
    font-size: 12px !important;
  }
}
@media (min-width: 451px) and (max-width: 459px) {
  .fc .fc-daygrid-more-link {
    font-size: 11px !important;
    margin-top: -8px !important;
    color: #344050 !important;
  }
}
@media (min-width: 441px) and (max-width: 450px) {
  .fc .fc-daygrid-more-link {
    font-size: 10px !important;
    margin-top: -7px !important;
  }
}
@media (min-width: 317.6px) and (max-width: 440px) {
  .fc .fc-daygrid-more-link {
    font-size: 8px !important;
    margin-top: -7px !important;
  }
}
@media (min-width: 200px) and (max-width: 317.5px) {
  .fc .fc-daygrid-more-link {
    font-size: 6px !important;
    margin-top: -5px !important;
  }
}
@media (min-width: 768px) {
  .fc .fc-daygrid-event {
    font-size: 0.6944444444rem;
    padding: 0;
  }
  .fc .fc-daygrid-dot-event:hover,
  .fc .fc-daygrid-dot-event:focus {
    color: #8fa8fa !important;
    background-color: #8ab9f6 !important;
    border-color: #8ab9f6 !important;
  }
  .info-card h6 {
    font-size: 20px;
    color: #012970;
    font-weight: 700;
    margin: 0;
    padding: 0;
  }
  .card-table {
    height: 100vh;
  }
}

@media (max-width: 320px) {
  #toolbar .toolbar-button {
    margin-bottom: 0.5rem;
  }
}

#toolbar .placeholder {
  width: 75px;
  height: 26px;
}

/*----------------------------------
* Scrollbar
----------------------------------*/
/* width */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  border-radius: 25px;
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/*----------------------------------
* Main View
----------------------------------*/
.navbar-vertical {
  z-index: 1021;
}

#tree .list-group-item {
  border: 0px !important;
}

#tree {
  font-size: 0.75rem;
}

.content {
  display: flex;
  flex-flow: column;
  height: 100%;
}

.content .navbar {
  flex: 0 1 auto;
}

.content .dynamic-content {
  flex: 1 1 auto;
  overflow: hidden;
  display: flex;
  flex-flow: column;
  height: 100%;
}

.dynamic-content * {
  flex: 1 1 auto;
  overflow: hidden;
}

.datepicker.datepicker-dropdown {
  color: #5e6e82 !important;
}

.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-light {
  background: #fff;
  color: #9999b3;
  border-color: #d8e2ef;
  font-weight: normal;
}

.bootstrap-select > .dropdown-toggle.btn-light {
  background: #fff;
  color: #344050;
  border-color: #d8e2ef;
  font-weight: normal;
}
