/* Margin */
.mb-0 {
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-1 {
  margin-bottom: 5px !important;
}

.mt-1 {
  margin-top: 5px !important;
}

.mb-2 {
  margin-bottom: 10px !important;
}

.mt-2 {
  margin-top: 10px !important;
}

.mb-3 {
  margin-bottom: 15px !important;
}

.mt-3 {
  margin-top: 15px !important;
}

.mb-4 {
  margin-bottom: 30px !important;
}

.mt-4 {
  margin-top: 30px !important;
}

.mb-5 {
  margin-bottom: 45px !important;
}

.mt-5 {
  margin-top: 45px !important;
}

.input-group[class*="col-"] {
  padding-right: 10px;
  padding-left: 10px;
  margin-bottom: 0;
}

.colon-before:before {
  content: ":";
  margin-right: 5px;
}

.table-complex td {
  font-size: 13px;
}

/* FONT CONFIGURATION */
@font-face {
  font-family: 'HelveticaNue';
  src: url("font/Helvetica/HelveticaNeue-LightCond.ttf");
}

* {
  letter-spacing: 1px;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 28px;
}

h1,
h2,
.fa,
.fas {
  font-weight: 700 !important;
}

label {
  font-size: 16px;
}

/* COLOR CONFIGURATION */
:root {
  --theme-deafult: rgb(185 28 28);
  --theme-primary: hsl(222.2 47.4% 11.2%);
  --theme-secondary: #f1d0d0;
}

.customizer-links {
  display: none;
}

.btn-primary:hover {
  background-color: var(--theme-secondary) !important;
}

.text-mute {
  color: #919092;
}

.card-primary {
  border: 1px solid var(--theme-deafult);
}

.card-primary .card-header {
  background-color: var(--theme-deafult) !important;
  color: #fff !important;
}

.bg-secondary {
  background-color: var(--theme-secondary) !important;
}

/*Dropzone*/
.dropzonebox {
  display: block;
  background: #cfcfcf;
  border-radius: 5px;
  border: 2px dashed #0064ac;
  border-image: none;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px;
  cursor: pointer;
  text-align: center;
}

.bootstrap-select>.dropdown-toggle,
.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle.bs-placeholder:active,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
  border: 1px solid #d1d3e2;
  background: white;
}

/*Tooltip*/
p.description {
  font-size: 0.7rem;
  color: black;
  margin-bottom: 0;
}

.popover {
  top: 20px !important;
}

div.popover-body {
  padding-bottom: 5px;
  padding-top: 5px;
}

img.poster {
  opacity: 1;
}

img.poster:hover {
  opacity: 0.5;
  transition: all 0.2s ease-in-out;
}

/*Pickadate*/
.picker__select--month,
.picker__select--year {
  padding: 0 !important;
}

/*Smart Wizard*/
body .sw>.tab-content {
  overflow: auto !important;
}

/*Datatables*/
table .table-action {
  display: block;
  margin-top: 0px;
}

table .table-action>a {
  display: inline-block;
  padding-right: 5px;
  border-right: 1px solid #ccc;
  margin-right: 5px;
  font-size: 12px;
}

table .action-btn {
  font-size: 16px;
}

table .table-action .btn-ico {
  width: 14px !important;
  height: 14px !important;
}

table .table-action>a:last-child {
  margin-right: 0;
  border-right: 0;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting_desc_disabled:after {
  bottom: 0.5em !important;
}

.sticky-col {
  position: sticky;
  left: 0px;
  background-color: #f5f5f5 !important;
  min-width: 250px;
  z-index: 2;
}

.dark-only .sticky-col {
  background-color: #1d1e26 !important;
}

.scroll_helper {
  position: sticky;
  top: 60px;
  width: 100%;
  overflow: auto;
  height: 20px;
  margin-bottom: 15px;
  z-index: 3;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .simplebar-offset {
  height: 100vh !important;
  padding-bottom: 100px;
}

.sidebar .nav-item .nav-link span {
  font-size: 18px !important;
}

.sidebar .sidebar-heading {
  font-size: 12px !important;
}

.sidebar-toggled .sidebar .nav-item .nav-link span {
  font-size: 16px !important;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item {
  font-size: 14px;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item {
  padding: 0.5rem;
}

.elipsis_text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.img-profile {
  object-fit: cover;
}

/*Draggable table - jQui*/
.ui-sortable-handle>td:nth-child(1) {
  cursor: move;
}

/* BORDER COLOR */

/* DARK */
.border-top-dark {
  border-top: 0.25rem solid var(--ast-global-color-6) !important;
}

.border-left-dark {
  border-left: 0.25rem solid var(--ast-global-color-6) !important;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.border-bottom-dark {
  border-bottom: 0.25rem solid var(--ast-global-color-6) !important;
}

.border-right-dark {
  border-right: 0.25rem solid var(--ast-global-color-6) !important;
}

/* PRIMARY */
.border-top-primary {
  border-top: 0.25rem solid var(--ast-global-color-2) !important;
}

.border-left-primary {
  border-left: 0.25rem solid var(--ast-global-color-2) !important;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.border-bottom-primary {
  border-bottom: 0.25rem solid var(--ast-global-color-2) !important;
}

.border-right-primary {
  border-right: 0.25rem solid var(--ast-global-color-2) !important;
}

/* SUCCESS */
.border-top-success {
  border-top: 0.25rem solid var(--ast-global-color-12) !important;
}

.border-left-success {
  border-left: 0.25rem solid var(--ast-global-color-12) !important;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.border-bottom-success {
  border-bottom: 0.25rem solid var(--ast-global-color-12) !important;
}

.border-right-success {
  border-right: 0.25rem solid var(--ast-global-color-12) !important;
}

/* WARNING */
.border-top-warning {
  border-top: 0.25rem solid var(--ast-global-color-3) !important;
}

.border-left-warning {
  border-left: 0.25rem solid var(--ast-global-color-3) !important;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.border-bottom-warning {
  border-bottom: 0.25rem solid var(--ast-global-color-3) !important;
}

.border-right-warning {
  border-right: 0.25rem solid var(--ast-global-color-3) !important;
}

/* INFO */
.border-top-info {
  border-top: 0.25rem solid var(--ast-global-color-7) !important;
}

.border-left-info {
  border-left: 0.25rem solid var(--ast-global-color-7) !important;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.border-bottom-info {
  border-bottom: 0.25rem solid var(--ast-global-color-7) !important;
}

.border-right-info {
  border-right: 0.25rem solid var(--ast-global-color-7) !important;
}

/* DANGER */
.border-top-danger {
  border-top: 0.25rem solid var(--ast-global-color-4) !important;
}

.border-left-danger {
  border-left: 0.25rem solid var(--ast-global-color-4) !important;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.border-bottom-danger {
  border-bottom: 0.25rem solid var(--ast-global-color-4) !important;
}

.border-right-danger {
  border-right: 0.25rem solid var(--ast-global-color-4) !important;
}

.sidebar .nav-item .nav-link {
  color: var(--ast-global-color-1);
}

.sidebar .nav-item .nav-link:hover {
  color: var(--ast-global-color-0);
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item:hover,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item:hover {
  background-color: #FDD6C7;
  color: #EF3E33;
}

/* Image Edit Container */
.img_edit_container {
  position: relative;
  height: 195px;
  width: 195px;
  overflow: hidden;
}

.img_edit_container img {
  width: 100%;
  height: 195px;
  object-fit: cover;
}

.img_edit_container::before {
  position: absolute;
  transition: 0.5s;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  content: "Click to change image";
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 230px;
  opacity: 0;
  text-align: center;
}

.img_edit_container:hover::before {
  opacity: 1;
}

.image_changer {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  position: absolute;
  opacity: 0;
  transition: 500ms;
}

.image_changer:hover {
  opacity: 1;
  font-size: larger;
  cursor: pointer;
}

/* 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;
}

#my_loader,
#my_loaderz {
  position: fixed;
  height: 100vh;
  width: 100vw;
  z-index: 9999999;
  top: 0px;
  left: 0p;
  background-color: rgba(0, 0, 0, .95);
  display: flex;
  align-items: center;
  justify-content: center;
}

#my_loader .my_icon {
  animation: spin 5s linear infinite;
}

.login_timer {
  position: fixed;
  background-color: var(--ast-global-color-0);
  top: 0px;
  left: 0px;
  z-index: 9999;
  height: 2px;
  transition: 2s;
  width: 0%;
}

.dropdown-toggle.disabled:after {
  display: none;
}

.row_active:last-child {
  border-bottom: 2px solid #f2f2f2;
}

.my_input_group_icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* HIDE FETCH ERP BUTTON */
.select2-results__group {
  font-weight: bold !important;
  background: #f1f1f1;
  font-size: 18px;
}

body.dark-only .select2-results__group {
  background: #181818;
}

body.dark-only input[readonly] {
  background-color: #1e1f20 !important;
  cursor: not-allowed;
}

.img_viewer {
  cursor: pointer;
}

.my_img_preview {
  overflow: hidden;
  position: fixed;
  z-index: 9999;
  width: 0px;
  height: 0px;
  transition: 0.1s;

  top: 50%;
  left: 50%;
}

.my_img_preview.show_preview {
  width: 100vw;
  height: 100vh;
  top: 0%;
  left: 0%;

}

.my_img_preview .img_container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  width: 100vw;
  height: 100vh;
}

.close_preview_img {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 28px;
  color: white !important;
  cursor: pointer;
}

.select2-selection--single {
  height: 38px !important;
}

div.dropify-wrapper {
  background-color: transparent;
}

body.dark-only div.dataTables_wrapper div.dataTables_length {
  text-align: left;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 0px;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input[type="search"] {
  border-color: #ced4da;
}

.select2 {
  border: 1px solid #ced4da;
  border-radius: 5px;
}

.text-right {
  text-align: right;
}

.my_pointer:hover {
  cursor: pointer;
}

.my_disabled:hover {
  cursor: not-allowed;
  opacity: 0.5;
}

.my_question:hover {
  cursor: help;
}

.icon_small {
  width: 14px;
  height: 14px;
}

.input-money {
  text-align: right;
}

.table_filter .input-group-addon {
  background: #e9e9e9;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
}

#btn_open_filter {
  float: right;
  border: 1px solid #cdcdcd;
  display: inline-flex;
  align-items: center;
}

#btn_open_filter.filtered {
  background-color: #dbdbdb;
}

#btn_open_filter::after {
  content: 'Filter';
  margin-left: 5px;
}

#btn_open_filter.filtered::after {
  content: 'Filtered';
  margin-left: 5px;
}

.filter_desc_row_2 {
  font-size: 16px !important;
}

pre.my_elipsis {
  background-color: transparent;

  overflow: hidden;
  white-space: pre-wrap;
  text-overflow: ellipsis;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  min-width: 350px;

  padding: 0px;
  margin: 0px;
}

body.dark-only .office_selector,
body.dark-only .card-footer {
  background-color: inherit !important;
}

body.dark-only .office_selector label {
  background-color: #1d1e26 !important;
}

body.dark-only table th,
body.dark-only table td,
body.dark-only .btn-air-light {
  color: #f0f0f0 !important;
}

body.dark-only tfoot {
  background-color: inherit !important;
  border-top: 3px double #f0f0f0 !important;
}

body.dark-only .for-dark {
  display: inline-block;
}

pre {
  margin: 0px;
  padding: 0px;
  font-family: inherit;
  background-color: inherit !important;
}

#detail th {
  font-weight: 700 !important;
  text-align: center;
  vertical-align: middle !important;
  background-color: #f1f1f1;
  color: #262932;
}

.detail-table th {
  width: 15%;
}

.hidden {
  display: none;
}

/*MASTER*/
.mst-page-title {
  font-size: 24px !important;
  margin-bottom: 0;
  color: #1e2f65;
}

.customizer-contain {
  top: 0 !important;
  box-shadow: 0px 3px 9px 0px rgb(112 109 106) !important;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.customizer-contain .customizer-body {
  max-height: calc(100vh - 78px) !important;
}

.switch-state {
  background-color: #959494;
}

.text-muted {
  color: #c5c5c5 !important;
}