/**
 * CSS Customization
 */

/* 1. Sidebar --------------------------------------------------------------- */

/* Sidebar */
.sidebar-menu {
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border-right: 1px solid var(--gray-4);
    background-color: var(--gray-2);
}

.sidebar-header {
    padding: 1.5rem 2rem;
    border-bottom: 0;
    background: var(--gray-2);
}

/* Sidebar logo */
.logo a {
    max-width: none;
}

/* Sidebar menu */
.main-menu {
    padding: 0;
    margin: 0;
    list-style: none;
    flex: 1 1 auto;
}

.metismenu li {
    padding: 0.5rem 1rem;
}

.metismenu li a,
.metismenu li li a {
    padding: 0.75rem;
    padding-left: 1.5rem !important;
    color: var(--gray-7);
    border-radius: 0.5rem;
    background: transparent;
    overflow: hidden;
    text-transform: initial;
}

.metismenu li a:after {
    top: 8.25px;
}

.metismenu li a i {
    color: inherit !important;
}

.metismenu li a span {
    margin-left: 0px;
}

.metismenu li:hover>a,
.metismenu li.active>a {
    background: var(--gray-3) !important;
    color: var(--gray-10) !important;
}

.metismenu li.active:not(:hover)>a[aria-expanded="true"] {
    background: transparent !important;
    color: var(--gray-10) !important;
}

.metismenu li ul {
    padding: 0.5rem 0 0 0;
}

.metismenu li ul li {
    padding: 0.5rem 0;
}

.metismenu li ul li:last-child {
    padding-bottom: 0;
}

.metismenu li ul li a {
    padding-left: calc(2.25rem + 15px) !important;
}

/* 2. Main Content ---------------------------------------------------------- */

/* Page Header */
.header-area {
    background-color: var(--gray-2);
    border-bottom: 1px solid var(--gray-4);
    padding: 1rem 1rem;
    min-height: 4rem;
}

@media (min-width: 576px) {
    .header-area {
        padding: 1rem 2rem;
    }
}

/* Page Header: Toggle Navbar */
.nav-btn {
    margin: 5px 2rem 5px 0;
}

.nav-btn span {
    background: var(--gray-7);
    box-shadow: none;
}

/* Page Title */
.page-title-area {
    background-color: var(--gray-2);
    border-bottom: 1px solid var(--gray-4);
    padding: 1rem 1rem 0;
}

.page-title {
    color: var(--quarx-blue);
}

@media (min-width: 576px) {
    .page-title-area {
        padding: 0 2rem;
    }
}

/* Page Title: breadcrumbs */
.breadcrumbs li:not(:last-child) a,
.breadcrumbs li:not(:last-child) span {
    color: var(--quarx-yellow)
}

.breadcrumbs li:last-child a:before {
    content: '';
    display: none;
}

/* Page Title: user menu */
.profile-picture-wrapper .profile-picture {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    line-height: 100px;
    text-align: center;
    font-size: 2.5rem;
}

.user-profile {
    margin: 1rem 0 0 0;
    width: 100%;
}

@media (min-width: 576px) {
    .user-profile {
        margin: 0;
        width: auto;
    }
}

/* Notifcations offset */
.notifications-holder {
    position: fixed;
    top: 1rem;
    right: 1rem;
}

@media only screen and (max-width: 767px) {
    .notifications-holder {
        top: auto;
        bottom: 1rem;
        max-width: calc(100% - 2rem);
    }
}

/* 3. Components ------------------------------------------------------------ */

/* 3.1 Forms ---------------------------------------------------------------- */

/* 3.1.1 Form labels */
label {
    display: block;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--gray-10);
}

.col-form-label {
    font-size: 1rem;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0.75rem;
}

.requiredField {
    font-weight: bold;
}

.asteriskField {
    display: inline-block;
    margin-left: 0.25rem;
}

/* 3.1.2 Form Controls */
.form-control {
    display: block;
    width: 100%;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--gray-10);
    background-color: var(--white);
    background-image: none;
    border: 1px solid var(--gray-4);
    border-radius: 0.5rem;
}

.form-control:focus {
    color: var(--gray-10);
    background-color: var(--white);
    border-color: var(--gray-3);
    outline: 0;
    box-shadow: 0 0 0 0.2rem var(--gray-2);
}

input {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.5rem;
    border: 1px solid var(--gray-4);
}

input:focus,
input:active,
textarea:focus,
textarea:active,
select:focus,
select:active {
    border: 1px solid var(--info);
    box-shadow: 0 0 0.4rem 0.2rem rgba(var(--info-light-rgb), 0.25);
}

input[type=file] {
    color: var(--gray-10);
    background-color: var(--white);
    border-color: var(--gray-3);
    outline: 0;
    box-shadow: 0 0 0 0.2rem var(--gray-2);
}

button:focus {
    outline: 0;
}

select,
select.form-control {
    color: var(--gray-10);
    border: 1px solid var(--gray-4);
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    background-color: var(--white);
}

textarea,
textarea.form-control {
    height: auto;
    color: var(--gray-10);
    background-color: var(--white);
    background-image: none;
    border: 1px solid var(--gray-4);
    border-radius: 0.5rem;
    padding: 12px 16px;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.5rem;
}

input::-webkit-input-placeholder {
    color: var(--gray-6) !important;
}

input:focus::-webkit-input-placeholder {
    color: var(--info) !important;
}

textarea::-webkit-input-placeholder {
    color: var(--gray-6) !important;
}

textarea:focus::-webkit-input-placeholder {
    color: var(--info) !important;
}

/* 3.1.2 Form Groups */
.input-group-append,
.input-group-prepend {
    overflow: hidden;
    border: 1px solid var(--gray-4);
    background-color: var(--gray-2);
    justify-content: center;
    align-items: start;
    z-index: 0;
}

.input-group-append {
    border-radius: 0 0.5rem 0.5rem 0;
}

.input-group-prepend {
    border-radius: 0.5rem 0 0 0.5rem;
}

.input-group-text {
    padding: 0.5rem;
    color: var(--gray-6);
    justify-content: center;
    background-color: var(--gray-2);
    border: 0 none;
    border-radius: 0;
    height: 2.5rem;
    min-width: 2.5rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    flex: 1 1 auto;
    width: 1%;
    z-index: 1;
    border-radius: 0;
}

.input-group input:focus,
.input-group input:active,
.input-group textarea:focus,
.input-group textarea:active,
.input-group select:focus,
.input-group select:active {
    z-index: 2;
}

.input-group input:first-child,
.input-group select:first-child,
.input-group textarea:first-child {
    border-radius: 0.5rem 0 0 0.5rem;
}

.input-group input:last-child,
.input-group select:last-child,
.input-group textarea:last-child {
    border-radius: 0 0.5rem 0.5rem 0;
}

.input-group span.select2:last-child .select2-selection {
    border-radius: 0 0.5rem 0.5rem 0;
}

.input-group span.select2.select2-container--open:last-child .select2-selection {
    border-radius: 0 0.5rem 0 0;
}

.input-group .select2-container--bootstrap.select2-container--focus .select2-selection,
.input-group .select2-container--bootstrap.select2-container--open .select2-selection {
    -webkit-box-shadow: 0 0 0.4rem 0.2rem rgba(var(--info-light-rgb), .6);
    box-shadow: 0 0 0.4rem 0.2rem rgba(var(--info-light-rgb), .6);
    border: 1px solid var(--info);
}

.select2-container--bootstrap .select2-dropdown {
    -webkit-box-shadow: -0.1rem 0.2rem 0.6rem rgba(var(--info-light-rgb), .6) !important;
    box-shadow: -0.1rem 0.2rem 0.6rem rgba(var(--info-light-rgb), .6) !important;
    border-color: var(--info) !important;
}

.form-control-lg {
    padding: 12px;
}

.custom-control {
    position: relative;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

.custom-control-input:checked~input[type="checkbox"] {
    background: var(--gray-2);
    border: var(--gray-4) 1px solid;
}

.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-control-label {
    margin-bottom: 0;
}

.custom-checkbox .custom-control-label {
    cursor: pointer;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: var(--info);
    border-color: var(--info);
}

.custom-control-input:checked~.custom-control-label::before {
    color: var(--white);
    background-color: var(--info);
}

.custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.25rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.25rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: var(--white);
    border: 2px solid var(--gray-4);
}

.custom-radio .custom-control-input:checked~.custom-control-label::before {
    background-color: var(--info);
    border-color: var(--info);
}

.custom-control-input:disabled~.custom-control-label::before {
    background-color: var(--gray-4);
}

.custom-select-font-size {
    font-size: 14px;
}

.custom-control-input:focus~.custom-control-label::before {
    box-shadow: none;
}

.custom-valid.custom-control-input.is-valid:checked~.custom-control-label::before,
.was-validated .custom-control-input:valid:checked~.custom-control-label::before {
    background-color: var(--success);
    border-color: var(--success);
}

.custom-control-input.is-invalid~.custom-control-label::before,
.was-validated .custom-control-input:invalid~.custom-control-label::before {
    background-color: var(--danger);
    border-color: var(--danger);
}

.custom-control-input:disabled~.custom-control-label {
    color: var(--gray-6);
}

.custom-control-input.is-valid~.custom-control-label::before,
.was-validated .custom-control-input:valid~.custom-control-label::before {
    background-color: var(--success-light);
    border: 2px solid var(--success-dark);
}

.section-block {
    margin: 16px 0px;
}

.section-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.parsley-errors-list.filled {
    margin-top: 10px;
    margin-bottom: 0;
    padding: 7px 29px;
    position: relative;
    background-color: var(--danger-light);
    color: var(--white);
}

.formset-row:not(:first-of-type) {
    border-top: 1px solid var(--gray-4);
}

.formset-row .delete-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.add-row {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.formset-errors .alert {
    margin: 0;
}

.formset-errors .alert ul {
    margin: 0;
    list-style-type: disc;
    padding-inline-start: 25px;
}

.formset-errors .alert ul li {
    list-style-type: disc;
}

/* 2.3 Form controls */

select.form-control:not([size]):not([multiple]) {
    line-height: 18px;
    height: auto;
}

.form-control {
    line-height: 18px;
    height: auto;
}

.form-control:focus {
    border-color: var(--info) !important;
}

.form-control[readonly] {
    pointer-events: none;
    cursor: not-allowed;
}

.input-group>.form-control {
    height: 36px;
}

.input-group>.textarea.form-control {
    min-height: 150px;
}

.form-group div>.invalid-feedback,
.input-group~div>.invalid-feedback {
    margin-top: 0.75rem;
    display: block;
}

.custom-checkbox.is-invalid~.invalid-feedback {
    display: block;
}

label.col-form-label:empty {
    padding: 0;
}

/* 3.1.x Select 2 */
.select2-container--bootstrap {
    flex: 1 1 auto;
    height: auto;
    width: 1% !important;
}

.input-group>.select2-container--bootstrap .select2-selection {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.5rem 1rem;
    box-shadow: none;
    border: 1px solid var(--gray-4);
    height: calc(2.5rem + 2px) !important;
}

.is-invalid~.select2 .select2-selection {
    border-color: var(--danger);
}

.is-invalid~.select2 .select2-selection--single .select2-selection__arrow b {
    border-color: var(--danger) transparent transparent;
}

/* 3.2 Buttons -------------------------------------------------------------- */
.btn {
    padding: calc(0.625rem - 1px) calc(1.125rem - 1px);
    font-size: 0.875rem;
    line-height: 1.71428571;
    border-radius: 0.5rem;
}

/* Button sizes */
.btn-xs {
    padding: calc(0.125rem - 1px) calc(0.625rem - 1px);
}

.btn-sm {
    padding: calc(0.375rem - 1px) calc(0.875rem - 1px);
}

.btn-md {
    padding: calc(0.875rem - 1px) calc(1.375rem - 1px);
}

.btn-lg {
    padding: calc(1.125rem - 1px) calc(1.625rem - 1px);
}

.btn-xl {
    padding: calc(1.375rem - 1px) calc(1.875rem - 1px);
}

/* Outline info button*/
.btn-outline-info {
    color: var(--info);
    background-color: transparent;
    border-color: var(--info);
}

.btn-outline-info:hover {
    color: var(--white);
    background-color: var(--info);
    border-color: var(--info);
}

.btn-outline-info.focus,
.btn-outline-info:focus {
    color: var(--white);
    background-color: var(--info);
    border-color: var(--info);
    box-shadow: 0 0 0 1px var(--info);
}

/* Outline success button*/
.btn-outline-success {
    color: var(--success);
    background-color: transparent;
    border-color: var(--success);
}

.btn-outline-success:hover {
    color: var(--white);
    background-color: var(--success);
    border-color: var(--success);
}

.btn-outline-success.focus,
.btn-outline-success:focus {
    color: var(--white);
    background-color: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 0 1px var(--success);
}


/* Outline warning button*/
.btn-outline-warning {
    color: var(--gray-10);
    background-color: transparent;
    border-color: var(--warning);
}

.btn-outline-warning:hover {
    color: var(--gray-10);
    background-color: var(--warning);
    border-color: var(--warning);
}

.btn-outline-warning.focus,
.btn-outline-warning:focus {
    color: var(--gray-10);
    background-color: var(--warning);
    border-color: var(--warning);
    box-shadow: 0 0 0 1px var(--warning);
}

/* Outline danger button*/
.btn-outline-danger {
    color: var(--error);
    background-color: transparent;
    border-color: var(--error);
}

.btn-outline-danger:hover {
    color: var(--white);
    background-color: var(--error);
    border-color: var(--error);
}

.btn-outline-danger.focus,
.btn-outline-danger:focus {
    color: var(--white);
    background-color: var(--error);
    border-color: var(--error);
    box-shadow: 0 0 0 1px var(--error);
}


/*--- btn outline light --*/

.btn-outline-light {
    color: var(--gray-5);
    background-color: transparent;
    border-color: var(--gray-5);
}

.btn-outline-light:hover {
    color: var(--gray-10);
    background-color: var(--gray-5);
    border-color: var(--gray-5);
}

.btn-outline-light.focus,
.btn-outline-light:focus {
    color: var(--gray-10);
    background-color: var(--gray-5);
    border-color: var(--gray-5);
    box-shadow: 0 0 0 1px var(--gray-5);
}


/*--- btn outline-dark --*/

.btn-outline-dark {
    color: var(--gray-10);
    background-color: transparent;
    border-color: var(--gray-10);
}

.btn-outline-dark:hover {
    color: var(--white);
    background-color: var(--gray-10);
    border-color: var(--gray-10);
}

.btn-outline-dark.focus,
.btn-outline-dark:focus {
    color: var(--white);
    background-color: var(--gray-10);
    border-color: var(--gray-10);
    box-shadow: 0 0 0 1px var(--gray-10);
}

/* Social buttons */
.btn-facebook {
    color: var(--white);
    background-color: #3c73df;
    border-color: #3c73df;
}

.btn-google-plus {
    color: var(--white);
    background-color: #eb5e4c;
    border-color: #eb5e4c;
}

.btn-twitter {
    color: var(--white);
    background-color: #2caeff;
    border-color: #2caeff;
}

.btn-instagram {
    color: var(--white);
    background-color: #9361fa;
    border-color: #9361fa;
}

.btn-pinterest {
    color: var(--white);
    background-color: #c8232c;
    border-color: #c8232c;
}


/*--- cropper document btn --*/

.docs-buttons .btn,
.docs-data .input-group {
    margin-bottom: 5px;
}


/* Link buttons */
.btn-link {
    color: var(--info);
}

.btn-link:hover {
    text-decoration: none;
}

.btn-primary-link {
    color: var(--success) !important;
}

.btn-brand-link {
    color: var(--warning) !important;
}

.btn-secondary-link {
    color: var(--danger) !important;
}

/* 3.2 Cards ---------------------------------------------------------------- */
.card {
    border-radius: 0.5rem;
}

.card .card-header {
    padding: 1.5rem;
    line-height: 2.25;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-4);
    background-color: var(--white);
}

.card>.card-header:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.card>.card-header:last-child {
    border-bottom: 0;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.card .card-header .card-header__action {
    display: block;
    margin: 0 0 0 0.5rem;
    text-align: right;
    float: right;
}

.card .card-body {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--gray-4);
}

.card>.card-body:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.card>input~.card-body:first-of-type>fieldset:first-child>.card-header:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.card .card-body:last-child {
    border-bottom: 0;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.card .card-footer {
    padding: 1.5rem;
    line-height: 2.25;
    font-size: 1rem;
    border: 0 none;
    background-color: var(--white);
}

.card .card-footer:empty {
    display: none !important;
}

.card .card-footer:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.card .card-footer:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.card>fieldset>.card-header {
    border-radius: 0;
}

.card>fieldset:first-of-type>.card-header:first-of-type {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.card.module-card [class^="ti-"],
.card.module-card [class*=" ti-"] {
    line-height: inherit;
}

/* 3.4 Tables --------------------------------------------------------------- */
.table-quarx__wrapper {
    position: relative;
    padding: 0;
    overflow-x: auto;
}

.table-quarx__wrapper-scroller {
    margin-right: 10.5rem;
    overflow-x: auto;
    overflow-y: visible;
}

.table.table-quarx thead th,
.table.table-quarx tbody td {
    vertical-align: middle;
    font-size: 1rem;
    line-height: 2rem;
}

.table.table-quarx thead th {
    text-transform: uppercase;
    vertical-align: middle;
    font-weight: bold;
}

.table.table-quarx tr th,
.table.table-quarx tr td {
    border: 0 none transparent !important;
    height: 3.5rem;
    white-space: nowrap;
    background-color: inherit;
}

.table.table-quarx tbody tr:nth-of-type(odd) {
    background-color: var(--gray-2);
}

.table.table-quarx tbody tr:hover {
    background-color: var(--gray-4);
}

.table.table-quarx tbody tr.table-quarx__routable-row td:not(:last-child) {
    cursor: pointer;
}

.table.table-quarx thead th.table-quarx__wide-cell {
    width: 100%;
}

.table.table-quarx tr th.table-quarx__sticky-cell,
.table.table-quarx tr td.table-quarx__sticky-cell {
    position: absolute;
    top: auto;
    right: 0;
    width: 10.5rem;
}

.table.table-quarx tbody tr td.table-quarx__sticky-cell .table-quarx__actions-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.table.table-quarx tbody tr td.table-quarx__sticky-cell .btn {
    display: block;
}

.table.table-quarx>tbody>tr>td.table-quarx__sticky-cell .btn~.btn {
    margin-left: 0.5rem;
}

.table-quarx__pagination {
    justify-content: flex-end;
    margin: 0;
}

/* 3.x Icons ---------------------------------------------------------------- */
.ti-fw {
    width: 1.28571429em;
    text-align: center;
}

/* 3.x Dividers ------------------------------------------------------------- */
.divider {
    border-bottom: 1px solid var(--gray-4);
    width: 100%;
}

/* 3.x Slim Scroll Bar ------------------------------------------------------ */
.slimScrollBar {
    background-color: var(--black) !important;
}

/* 3.x Select2 -------------------------------------------------------------- */
.select2-container--open .select2-dropdown--below {
    border-radius: 0 0 0.5rem 0.5rem;
}

/* 3.x Select2 -------------------------------------------------------------- */
.splitphonenumber-wrapper .splitphonenumber-field:not(:last-child) {
    border-radius: 0;
}

.splitphonenumber-wrapper .splitphonenumber-field+.splitphonenumber-field {
    flex: 1 1 auto;
    margin-left: -1px;
}

/*
splitphonenumber-field
splitphonenumber-wrapper {
    border-radius: 0 0 0.5rem 0.5rem;
}
*/

/* 4. Utilities ------------------------------------------------------------- */

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.rounded {
    border-radius: 0.25rem !important;
}

.rounded-top {
    border-top-left-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
}

.rounded-sm {
    border-radius: 0.125rem !important;
}

.rounded-top-sm {
    border-top-left-radius: 0.125rem !important;
    border-top-right-radius: 0.125rem !important;
}

.rounded-md {
    border-radius: 0.50rem !important;
}

.rounded-top-md {
    border-top-left-radius: 0.50rem !important;
    border-top-right-radius: 0.50rem !important;
}

.rounded-lg {
    border-radius: 0.75rem !important;
}

.rounded-top-lg {
    border-top-left-radius: 0.75rem !important;
    border-top-right-radius: 0.75rem !important;
}

.cursor-pointer {
    cursor: pointer;
}

.list-group-item:first-child {
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}

.list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
}
