.spinner {
  position: fixed;
  z-index: 99999;
  overflow: visible;
  margin: auto;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 40px;
  text-align: center;
}

.spinner:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(250, 250, 250, 0.75);
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #224180;
  border-radius: 100% !important;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.table tbody tr.group td {
  color: #496F8F;
  padding: 0 15px 2px !important;
  font-weight: 450;
  background-color: #f4f6f8;
  border-top: 1px solid #E6EBF1;
}

.table tbody tr.group td span.group-sub-title {
  font-size: 85%;
  color: #bbb;
  letter-spacing: 0.4px;
  font-weight: normal;
}

.table tbody tr.group td span.group-title {
  display: block;
  margin-top: -5px;
  color: #000;
  font-weight: bold;
}

.table tbody tr.sub-group td {
  color: #496F8F;
  padding: 3px 8px !important;
  font-weight: 450;
  background-color: rgba(251, 252, 253, 0.5);
  font-size: 13px;
  border-top: 1px solid #E6EBF1;
}

.table tbody tr.sub-group td span.group-sub-title {
  font-size: 0.85em;
  color: #bbb;
  letter-spacing: 0.4px;
  font-weight: normal;
}

.table tbody tr.sub-group td span.group-title {
  font-size: 0.9em;
  display: inline-block;
  margin-top: -5px;
  color: #496F8F;
}

.table tbody tr td.valign-middle {
  vertical-align: middle;
}

.table tbody tr td a {
  font-weight: 700;
  text-decoration: none;
  text-align: left;
}

.table tbody tr td a:hover, .table tbody tr td a:active, .table tbody tr td a:focus {
  font-weight: 700;
}

.table tbody tr td .btn-group {
  position: relative !important;
  width: 100%;
}

.table tbody tr td .btn-group a {
  font-weight: 400;
  text-decoration: none;
  text-align: left;
}

.table tbody tr td .btn-group a:hover, .table tbody tr td .btn-group a:active, .table tbody tr td .btn-group a:focus {
  font-weight: 400;
}

.table tbody tr td .btn-group:not(.bootstrap) .btn > i {
  position: absolute;
  right: 10px;
  top: 8px;
}

.table tbody tr.group-footer td {
  color: #519610;
  font-weight: 450;
  background-color: #f6f8fa;
  font-size: 14px;
  border-top: 1px solid #e0e5eb;
}

.table tbody tr.sub-group-footer td {
  color: #496F8F;
  font-weight: 450;
  background-color: rgba(251, 252, 253, 0.5);
  font-size: 14px;
  border-top: 1px solid #E6EBF1;
}

.table tfoot td {
  font-weight: 550;
  font-size: 14px;
  color: #000;
  border-top: 2px solid #E6EBF1 !important;
  border-bottom: 1px solid #E6EBF1 !important;
  padding: 10px !important;
  text-decoration: underline;
}

.table tfoot td span {
  text-decoration: underline;
}

.table.permission thead tr th {
  padding: 5px;
  font-weight: bold;
}

.table.permission tbody tr.main {
  background: #f5f6f7;
}

.table.permission tbody tr td {
  border: 0;
  padding: 5px;
}

.table.permission tbody tr td .app-checkbox.child label::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -20px;
  bottom: 9px;
  width: 17px;
  border: 1px dotted #aaa;
  border-top: 0 none transparent;
  border-right: 0 none transparent;
}

.table.dataTable thead th {
  padding: 10px 10px;
}

.table-filter {
  position: absolute;
  z-index: 1000;
}

.table-scrollable {
  min-height: calc(100vh - 330px);
}

div.dataTables_wrapper div.dataTables_filter input {
  margin-left: 0;
}

@media (max-width: 768px) {
  .table-filter {
    position: static;
  }
  .table-filter .form-control,
  .table-filter .btn {
    width: 100% !important;
  }
  .table-filter .dropdown-toggle,
  .table-filter .dropdown-menu.open {
    width: 100%;
  }
}

/*  FORM VALIDATION */
.form-group {
  position: relative;
}

.form-group.has-error .form-control {
  border-color: #fb434a;
}

.form-group.has-error .control-label {
  color: #fb434a;
}

.form-group.has-error .help-block-error {
  background: #fb434a;
  padding: 5px 8px;
  border-radius: 3px;
  margin-top: 7px;
  max-width: 300px;
  font-size: 85%;
  z-index: 1;
  color: #fff;
  display: inline-block;
}

.form-group.has-error .help-block-error:after {
  width: 0px;
  height: 0px;
  content: '';
  display: block;
  border-style: solid;
  border-width: 5px 5px;
  border-color: transparent transparent #fb434a;
  position: absolute;
  left: 20px;
  bottom: 30px;
  margin-left: -12px;
}

#form-login .form-group {
  position: relative;
}

#form-login .form-group.has-error {
  border-bottom: 0 !important;
}

#form-login .form-group.has-error .form-control {
  border-bottom: 2px solid #fb434a;
  margin-bottom: 0;
}

#form-login .form-group.has-error .control-label {
  color: #fb434a;
}

#form-login .form-group.has-error .help-block-error {
  background: #fb434a;
  padding: 5px 8px;
  border-radius: 3px;
  margin-top: 7px;
  max-width: 300px;
  font-size: 85%;
  z-index: 1;
  color: #fff;
  display: inline-block;
}

#form-login .form-group.has-error .help-block-error:after {
  width: 0px;
  height: 0px;
  content: '';
  display: block;
  border-style: solid;
  border-width: 5px 5px;
  border-color: transparent transparent #fb434a;
  position: absolute;
  left: 20px;
  bottom: 30px;
  margin-left: -12px;
}

#form-receipt-payment .has-error .help-block-error {
  background: transparent;
  padding: 5px 8px;
  border-radius: 3px;
  margin-top: 7px;
  max-width: 300px;
  font-size: 85%;
  font-weight: normal;
  z-index: 1;
  color: #fb434a;
  display: inline-block;
}

#form-receipt-payment .has-error .help-block-error:after {
  display: none;
}

.has-danger .select2-selection--single, .has-danger .select2-selection--multiple {
  border-color: #fb434a !important;
}

.modal-header {
  border-bottom: 0;
}

.modal-content {
  border: 9px solid rgba(197, 197, 197, 0.6);
  border-radius: 0;
  box-shadow: none;
}

.modal-content .btn-close-dialog {
  position: absolute;
  background-color: transparent;
  background-image: url(/images/close-btn.png?96a71e474c63d5a9c488bd771afe1210);
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  height: 24px;
  position: absolute;
  right: 15px;
  text-indent: -9999px;
  top: 15px;
  width: 24px;
  z-index: 999;
}

.modal .modal-header.primary {
  background: #4C87B9;
}

.modal .modal-header.primary > h4.modal-title {
  color: #fff;
  font-weight: bold;
}

.modal .modal-header.primary > .close {
  color: #fff;
}

.modal .modal-header.danger {
  background: #FA6776;
}

.modal .modal-header.danger > h4.modal-title {
  color: #fff;
  font-weight: bold;
}

.modal .modal-header.danger > .close {
  color: #fff;
}

.modal .modal-header.success {
  background: #26C281;
}

.modal .modal-header.success > h4.modal-title {
  color: #fff;
  font-weight: bold;
}

.modal .modal-header.success > .close {
  color: #fff;
}

.modal .modal-body.text-center .form-control {
  margin: 0 auto;
}

.modal .modal-footer.text-center {
  text-align: center;
}

.modal-backdrop, .modal-backdrop.fade.in {
  background-color: #222 !important;
}

#form-news .featured, #form-article .featured {
  width: 345px;
  height: 135px;
  border: 2px dashed #eee;
  border-radius: 4px;
  cursor: pointer;
  background-size: cover;
  background-position: center top;
}

#form-news .featured:hover, #form-article .featured:hover {
  border: 2px dashed #EDB13E;
  background-color: rgba(240, 240, 240, 0.2);
}

#form-news .featured.preview, #form-article .featured.preview {
  border: 0;
}

#form-company .logo {
  width: 125px;
  height: 52px;
  border: 2px dashed #eee;
  border-radius: 4px;
  cursor: pointer;
  background-size: cover;
  background-position: center top;
}

#form-company .logo:hover {
  border: 2px dashed #EDB13E;
  background-color: rgba(240, 240, 240, 0.2);
}

#form-company .logo.preview {
  border: 0;
}

#form-promotion .screen {
  width: 322px;
  height: 427px;
  border: 2px dashed #eee;
  border-radius: 4px;
  cursor: pointer;
  background-size: cover;
  background-position: center center;
}

#form-promotion .screen:hover {
  border: 2px dashed #EDB13E;
  background-color: rgba(240, 240, 240, 0.2);
}

#form-promotion .screen.preview {
  border: 0;
}

#form-promotion .slip {
  width: 350px;
  height: 180px;
  border: 2px dashed #eee;
  border-radius: 4px;
  cursor: pointer;
  background-size: cover;
  background-position: center center;
}

#form-promotion .slip:hover {
  border: 2px dashed #EDB13E;
  background-color: rgba(240, 240, 240, 0.2);
}

#form-promotion .slip.preview {
  border: 0;
}

#form-news .featured {
  width: 345px;
  height: 135px;
  border: 2px dashed #eee;
  border-radius: 4px;
  cursor: pointer;
  background-size: cover;
  background-position: center top;
}

#form-news .featured:hover {
  border: 2px dashed #EDB13E;
  background-color: rgba(240, 240, 240, 0.2);
}

#form-news .featured.preview {
  border: 0;
}

#form-product .featured {
  width: 240px;
  height: 240px;
  border: 2px dashed #eee;
  border-radius: 4px;
  cursor: pointer;
  background-size: cover;
  background-position: center top;
}

#form-product .featured:hover {
  border: 2px dashed #EDB13E;
  background-color: rgba(240, 240, 240, 0.2);
}

#form-product .featured.preview {
  border: 0;
}

#form-dealer .avatar {
  width: 200px;
  height: 200px;
  border: 2px dashed #eee;
  border-radius: 4px;
  cursor: pointer;
  background-size: cover;
  background-position: center top;
}

#form-dealer .avatar:hover {
  border: 2px dashed #EDB13E;
  background-color: rgba(240, 240, 240, 0.2);
}

#form-dealer .avatar.preview {
  border: 0;
}

.ui-select-bootstrap .ui-select-choices-row.active.disabled > span, .ui-select-bootstrap .ui-select-choices-row.disabled > span {
  color: #aaa;
}

.ui-select-bootstrap .ui-select-choices-row > span {
  border-bottom: 1px solid #e4e4e4;
  padding: 8px 20px;
}

.ui-select-highlight {
  color: #192536;
  font-weight: bold;
}

.form-control {
  max-width: 400px;
}

.form-control.\--full {
  max-width: 100%;
}

.control-label {
  display: block;
}

.form-inline .form-group {
  margin-right: 15px;
}

.form-inline .form-group label {
  margin-bottom: 5px;
}

.form-body table.form th {
  background-color: #f8f9f9;
  width: 230px;
}

.form-body table.form th label {
  margin-top: 10px;
}

.form-body table.form th .helptext {
  font-weight: normal;
  color: #777;
}

.editable-controls.form-group {
  margin-right: 0 !important;
}

.editable-input.form-control {
  max-width: 90px !important;
  text-align: right !important;
}

.flexbox-container {
  height: calc(100vh - 200px);
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  text-align: center;
  -webkit-box-align: center;
          align-items: center;
}

.dataTables_filter {
  width: 100%;
}

.dataTables_filter input {
  width: 100% !important;
}

.datatable-custom-filter {
  width: 100%;
}

.default-cursor {
  cursor: default !important;
}

.swal2-popup {
  font-size: 100% !important;
  padding: 20px 25px !important;
  width: 30em !important;
  margin-top: 12% !important;
}

.swal2-popup .swal2-styled:focus {
  box-shadow: none !important;
}

.swal2-popup #swal2-content {
  text-align: left !important;
  font-size: 16px !important;
}

.swal2-popup .swal2-actions, .swal2-popup .swal2-buttonswrapper {
  margin: 0 !important;
  margin-top: 15px !important;
  display: block !important;
}

.swal2-popup .swal2-actions .swal2-confirm, .swal2-popup .swal2-buttonswrapper .swal2-confirm {
  background-color: transparent !important;
  color: #ef4836 !important;
  font-weight: bold !important;
  font-size: 15px !important;
  float: right !important;
  padding: 10px 3px !important;
}

.swal2-popup .swal2-actions .swal2-confirm:hover, .swal2-popup .swal2-buttonswrapper .swal2-confirm:hover {
  background: transparent !important;
}

.swal2-popup .swal2-actions .swal2-cancel, .swal2-popup .swal2-buttonswrapper .swal2-cancel {
  background-color: transparent !important;
  color: #6bb6e7 !important;
  font-size: 15px !important;
  font-weight: bold !important;
  float: right !important;
  padding: 10px 3px !important;
}

.swal2-popup .swal2-actions .swal2-cancel:hover, .swal2-popup .swal2-buttonswrapper .swal2-cancel:hover {
  background: transparent !important;
}

.swal2-popup .swal2-actions .swal2-cancel:after, .swal2-popup .swal2-buttonswrapper .swal2-cancel:after {
  content: '|';
  font-weight: normal;
  color: #eee;
  margin-left: 15px;
}

.disable, .disable > a, [readonly] {
  cursor: not-allowed !important;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
  background-color: #eee;
}

.form-control[disabled]:hover, .form-control[readonly]:hover, fieldset[disabled] .form-control:hover {
  background-color: #eee;
}

.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:focus, .dropdown-menu > .disabled > a:hover {
  color: #ccc;
}

.form-control[disabled], fieldset[disabled] .form-control {
  cursor: not-allowed;
}

.input-group .form-control[disabled]:hover, .input-group .form-control[readonly]:hover, .input-group fieldset[disabled] .form-control:hover {
  cursor: default !important;
}

.input-group.showtime-timepicker .form-control {
  cursor: pointer !important;
}

.tags {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 550;
  background-color: rgba(0, 0, 0, 0.05);
}

.border-left {
  border-left: 1px solid #e5e5e5;
}

.border-right {
  border-right: 1px solid #e5e5e5;
}

.search-group {
  background-color: #f9f9f9;
  padding: 10px 0px 15px;
}

.text-muted {
  color: #bbb;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button;
}

.line-through {
  text-decoration: line-through !important;
}

.italic {
  font-style: italic;
}

/* vue cloak on loading page */
[v-cloak] {
  display: none;
}

@media print {
  .footer, .toolbar, .sidebar, .no-print {
    display: none !important;
  }
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-control {
  border-color: #ddd;
}

.note-toolbar-wrapper {
  height: auto !important;
}

.tt-suggestion {
  color: #00447c;
}

.m-portlet__foot.m-portlet__foot--fit {
  border-top: 1px solid #eee;
}

.m--font-secondary {
  color: #aaa;
}

/* here you can put your own css to customize and override the theme */
img.datatable-loading {
  height: 22px;
  position: relative;
  top: -2px;
}

span.help-block.help-block-error {
  font-size: .8em;
  font-weight: 600;
}

label.control-label {
  font-size: .9em;
  font-weight: 600;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}

.page-header.navbar .page-logo {
  margin-left: -10px;
  width: 255px;
}

.page-header.navbar .page-logo .company-title {
  color: #fff;
  padding: 15px 0 10px 5px;
  font-weight: 600;
  display: inline-block;
  width: 150px;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
  margin-left: 35px;
}

.page-header.navbar .page-logo img.logo-default {
  margin-top: 8px;
  position: absolute;
}

.page-sidebar-closed.page-sidebar-closed-hide-logo .page-header.navbar .page-logo {
  width: 55px;
}

.border-left-dashed {
  border-left: 1px dashed #eee;
}

.page-sidebar .page-sidebar-menu > li.heading > h3, .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li.heading > h3 {
  font-size: 12px;
  font-weight: bold;
  text-shadow: 1px 1px 2px #333;
  color: #80b6bb;
}

.input-group-addon {
  background-color: #f0f1f5;
}

.input-group-addon > i {
  color: #7e899c;
}

.input-xsmall {
  width: 100px !important;
}

tr.cancel td {
  color: #ddd;
}

tr.cancel td:first-child, tr.cancel td:last-child, tr.cancel td .btn-group * {
  font-style: normal;
}

.void {
  background-image: url(/images/void.png?3f48a043bd8fb5cd45c9adb91632b539);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 45%;
  z-index: 1;
  position: absolute;
  width: 80%;
  height: 300px;
  opacity: .2;
}

.popover-wrapper form {
  box-shadow: 5px 5px rgba(102, 102, 102, 0.1);
  padding: 0;
  border-radius: 0 !important;
  top: -60px !important;
}

.mt-widget-2 {
  margin-bottom: 15px;
}

.mt-widget-2 .mt-body .mt-body-description {
  overflow: hidden;
  height: 40px;
}

.btn-doc-action {
  width: calc(100% - 25px);
}

.payment-method .btn {
  padding: 6px 40px;
}

.payment-method .btn.active {
  color: #fff !important;
  font-weight: bold;
  background-color: #5796df !important;
  border-color: #5796df !important;
}
