/* Navigation adjustments (removed the lock menu icon) */
.dropdown-icon-menu:hover > ul {
    height: 5.30rem;
}

/* Logo adjustments */
@media only screen and  (min-width: 992px) {
    .nav-function-minify:not(.nav-function-top) .page-sidebar .page-logo {
        padding: 0.5rem 0.8rem !important;
        width: 4.6875rem !important;
    }
    .nav-function-minify:not(.nav-function-top) .page-sidebar .page-logo .icon-logo {
        display: block;
    }
    .nav-function-minify:not(.nav-function-top) .page-sidebar .page-logo #svg-logo {
        display: none;
    }
}
.page-logo {
    padding: 0.60rem 1.4rem 0.42rem 0.8rem;
}
.page-logo #svg-logo {
    width: 100%;
}
.icon-logo {
    display: none;
}

@media only screen and (max-width: 767px) {
    .dataTables_filter,
    .dataTables_length {
        margin: 0 auto;
    }
}

/* Status badges */
.oa-status {
    display: inline-block;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 10px;
    -webkit-box-shadow: var(--box-shadow-status);
    box-shadow: var(--box-shadow-status);
    height: 10px;
    width: 10px;
}
.oa-success {
    background: #12ca93;
}
.oa-fail {
    background: #e95f6a;
}
.dataTables_empty {
    font-size: unset;
    padding: 0.75rem !important;

}


/* ------------------------------------ */
/*  CUSTOM CLASSES */
/* ------------------------------------ */
#overlay,.overlay {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.1);
  z-index: 4;
  cursor: pointer;
}

.overlay .load-error{
    text-align: center;
    width: 50%;
}

.overlay .load-error i{
    font-size: 50px;
}
.overlay .load-error span{
    display: block;
    text-shadow: 1px 1px 2px #fff, -1px -1px 2px #fff;
}

.swal2-shown {
    overflow: unset !important;
    padding-right: 0px !important;
}

@media only screen and (max-width: 767px) {
    .subheader {
        display: block !important;
    }
    .subheader-block {
        display: block;
        text-align: center;
    }
}

.toggle-password .fa-eye,
.toggle-password .fa-eye-slash{
  width: 16px;
}

.table td {
    vertical-align: middle;
}

select.custom-select {
    text-indent: unset;
}

ul.dtr-details li.text-right {
    text-align: unset !important;
}

/* Tables redesign */
table.dataTable {
    border-collapse: collapse !important;
}

.table-hover tbody tr:hover {
    -webkit-box-shadow: none;
            box-shadow: none;
    background-color: #f2f2f2;
}

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 {
  top: 50%;
  transform: translate(-50%, -50%);
  bottom: unset;
}

/* Input for device code */
#device-code,
#security-code {
    letter-spacing: 0.2rem;
}

/* Success Check & circle  */
.ss-success {
    border: 0.4rem solid rgba(var(--theme-rgb-success), 0.3);
    padding: 20px 25px;
}

.currency-flag {
    width: 48px;
    height: 32px;
}

.bg-trans-gradient {
  background: linear-gradient(250deg, #8c9fae, #8e8e8e);
}

.btn-search-close {
    right: 21px;
    top: 22px;
}

.info-card {
    height: 6rem;
}

.info-card img.cover{
  top: auto;
}

/* Select2 to be shown on Modal because now the dropdown is under the modal */
.select2-dropdown {
    z-index: 2060;
}

/* Highlight invalid select2 input */
.select2.is-invalid ~ .select2-container .selection .select2-selection {
    border-color: var(--theme-danger-500);
}

/* Fix Highlighting on long option texts */
.select2-container--default .select2-results__option[aria-selected="true"] {
    background: var(--theme-primary-10, var(--theme-primary-50));
    position: relative;
}
.select2-container--default .select2-results__option[aria-selected="true"] .select2-result-repository__meta {
    box-shadow: 0 6px 0 0px var(--theme-primary-10, var(--theme-primary-50)),
                0 -6px 0 0px var(--theme-primary-10, var(--theme-primary-50));
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--theme-primary);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] .select2-result-repository__meta {
    box-shadow: 0 6px 0 0px var(--theme-primary),
                0 -6px 0 0px var(--theme-primary);
}
.select2-result-repository,
.select2-result-repository__meta,
.select2-result-repository__title {
    background-color: inherit;
}

div.is-invalid {
  color: var(--theme-danger-500);
  font-size: 0.6875rem;
  margin-top: 0.325rem;
}

/* alert button */
.swal2-styled.swal2-confirm {
    background-color: var(--theme-primary-500);
}

/* center relative element */
.pos-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Border dashed */
.border-dashed {
    border-style: dashed;
}

.panel.panel-fullscreen {
    z-index: 2030;
}

@media only screen and (max-width: 992px) {
  .page-content-overlay {
    z-index: 3000;
  }
  .page-wrapper .page-sidebar {
    z-index: 3010;
  }
}

.swal2-container {
    z-index: 2040;
}

.select2-results__option[aria-disabled="true"] .select2-result-repository .select2-result-repository__avatar img {
    opacity:50%
}

.modal-content {
    word-wrap: anywhere;
}

/* 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;
}