/*
 * Main brand
 */

.main-menu .navbar-header {
  background-color: #fff;
}

.main-menu .navbar-header .navbar-brand {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
}

.main-menu .navbar-header .modern-nav-toggle {
  margin-top: 0.5rem;
}

.main-menu .navbar-header .navbar-brand .brand-logo img {
  height: 35px;
  max-width: 177px;
  float: left;
  margin-top: 0.2rem;
  margin-left: 3px;
}

/*
 * DataTables
 */

.dataTables_length {
  text-align: right !important;
  margin-top: 0 !important;
}

.dataTables_length select {
  margin: 0 0.5rem 0 0.5rem;
}

.dataTables_filter {
  text-align: left !important;
  margin-top: 0 !important;
}

.table-datatable .checkbox label {
  font-size: 0 !important;
}

/*
 * Summernote
 */

.note-toolbar {
  padding: 10px 5px;
  border-bottom: 1px solid #e2e2e2;
  border-bottom-color: #e2e2e2;
  color: #727e8c;
  background-color: #f5f5f5;
  border-color: #ddd;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.note-btn {
  font-size: 0.8rem;
}

.note-dropdown-item {
  display: block !important;
}

.note-form-label {
  display: block;
  color: #475f7b;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
  width: 100%;
  margin-bottom: 10px;
}

.note-editor.note-frame .note-editing-area,
.note-editor.note-airframe .note-editing-area {
  font-family: sans-serif !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: #475f7b;
  overflow: hidden;
  background-color: #fff;
}

.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-reset,
.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select,
.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-reset,
.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select {
  margin: 3px 0;
}

.note-editor .note-toolbar .note-color-all .note-dropdown-menu,
.note-popover .popover-content .note-color-all .note-dropdown-menu {
  min-width: 347px;
}

.note-editor .note-toolbar .note-para .note-dropdown-menu,
.note-popover .popover-content .note-para .note-dropdown-menu {
  min-width: 240px;
  padding: 5px;
}

.note-btn-group .dropdown-toggle::after {
  margin-left: 0;
  vertical-align: 0;
  border: none;
}

.note-btn-primary:hover,
.note-btn-primary:focus,
.note-btn-primary.focus {
  color: #fff;
  text-decoration: none;
  border: inherit;
  border-radius: 0.267rem;
}

.note-modal-footer {
  height: 60px;
  padding: 10px 20px;
  text-align: center;
}

.note-modal-footer .note-btn {
  float: none;
}

.custom-select:disabled {
  background-color: #f2f4f4;
}

.text-disabled {
  color: #dfe3e7 !important;
}

/* add readonly ot select */

select[readonly] {
  background-color: #f2f4f4;
  opacity: 1;
}

select[readonly] option,
select[readonly] optgroup {
  display: none;
}

/* Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */

input[type=number] {
  -moz-appearance: textfield;
}

.alert-flash {
  box-shadow: -8px 12px 18px 0 rgba(25, 42, 70, 0.13);
  left: 260px;
  position: fixed;
  min-height: 4rem;
  border-radius: 0;
  padding: 0.9rem 2.2rem;
  line-height: 2.67rem;
}

.alert-flash .close {
  top: 8px !important;
  padding-right: 2.2rem !important;
}

@media (max-width: 1200px) {
  .alert-flash {
    left: 0;
  }
}

.badge.badge-up {
  position: absolute;
  top: 2px;
  right: 2px;
}

/*
 * Content wrapper
 */

html .navbar-sticky .app-content .content-wrapper {
  min-height: calc(100vh - 98px);
}

.scroll-top {
  bottom: 30px !important;
}

.table-responsive {
  overflow-x: scroll !important;
  padding-bottom: 1.5rem !important;
}

/*
 * Helpers
 */

.text-decoration-underline {
  text-decoration: underline;
}


