/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
body {
    user-select: none;
    -moz-user-select: none;
}

.menu .app-brand.demo {
    height: 64px;
    margin-top: 12px;
}

.app-brand-logo.demo svg {
    width: 22px;
    height: 38px;
}

.app-brand-text.demo {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed
    .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu)
    .layout-page {
    padding-top: 74px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}
.docs-page
    .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu)
    .layout-page,
.docs-page
    .layout-menu-fixed.layout-wrapper:not(.layout-without-menu)
    .layout-page {
    padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
    display: block !important;
}

.demo-inline-spacing > * {
    margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir="rtl"] .rtl-only {
    display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
    #dropdown-variation-demo .btn-group .text-truncate {
        width: 231px;
        position: relative;
    }
    #dropdown-variation-demo .btn-group .text-truncate::after {
        position: absolute;
        top: 45%;
        right: 0.65rem;
    }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}
.layout-demo-placeholder img {
    width: 900px;
}
.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

/* Select2 */
.select2-results__group {
    opacity: 0.6;
}

/*  */
.text-elipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-wrap {
    text-wrap: nowrap;
}

.mw-100px {
    max-width: 100px !important;
}

/* Calendar */
.form-check-secondary .form-check-input:checked {
    background-color: #8592a3;
    border-color: #8592a3;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(133, 146, 163, 0.4);
}

.form-check-secondary .form-check-input[type="checkbox"]:indeterminate {
    background-color: #8592a3;
    border-color: #8592a3;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(133, 146, 163, 0.4);
}

.form-check-secondary.custom-option.checked {
    border: 2px solid #8592a3 !important;
    margin: 0;
}

.form-check-secondary.custom-option.checked .custom-option-body i,
.form-check-secondary.custom-option.checked .custom-option-header i {
    color: #8592a3;
}

.form-check-secondary.custom-option.custom-option-label.checked {
    background-color: rgba(133, 146, 163, 0.12);
    color: #8592a3;
}

.form-check-secondary.custom-option.custom-option-label.checked
    .custom-option-header
    span,
.form-check-secondary.custom-option.custom-option-label.checked
    .custom-option-title {
    color: #8592a3;
}

.form-check-success .form-check-input:checked {
    background-color: #71dd37;
    border-color: #71dd37;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(113, 221, 55, 0.4);
}

.form-check-success .form-check-input[type="checkbox"]:indeterminate {
    background-color: #71dd37;
    border-color: #71dd37;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(113, 221, 55, 0.4);
}

.form-check-success.custom-option.checked {
    border: 2px solid #71dd37 !important;
    margin: 0;
}

.form-check-success.custom-option.checked .custom-option-body i,
.form-check-success.custom-option.checked .custom-option-header i {
    color: #71dd37;
}

.form-check-success.custom-option.custom-option-label.checked {
    background-color: rgba(113, 221, 55, 0.12);
    color: #71dd37;
}

.form-check-success.custom-option.custom-option-label.checked
    .custom-option-header
    span,
.form-check-success.custom-option.custom-option-label.checked
    .custom-option-title {
    color: #71dd37;
}

.form-check-info .form-check-input:checked {
    background-color: #03c3ec;
    border-color: #03c3ec;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(3, 195, 236, 0.4);
}

.form-check-info .form-check-input[type="checkbox"]:indeterminate {
    background-color: #03c3ec;
    border-color: #03c3ec;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(3, 195, 236, 0.4);
}

.form-check-info.custom-option.checked {
    border: 2px solid #03c3ec !important;
    margin: 0;
}

.form-check-info.custom-option.checked .custom-option-body i,
.form-check-info.custom-option.checked .custom-option-header i {
    color: #03c3ec;
}

.form-check-info.custom-option.custom-option-label.checked {
    background-color: rgba(3, 195, 236, 0.12);
    color: #03c3ec;
}

.form-check-info.custom-option.custom-option-label.checked
    .custom-option-header
    span,
.form-check-info.custom-option.custom-option-label.checked
    .custom-option-title {
    color: #03c3ec;
}

.form-check-warning .form-check-input:checked {
    background-color: #ffab00;
    border-color: #ffab00;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 171, 0, 0.4);
}

.form-check-warning .form-check-input[type="checkbox"]:indeterminate {
    background-color: #ffab00;
    border-color: #ffab00;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 171, 0, 0.4);
}

.form-check-warning.custom-option.checked {
    border: 2px solid #ffab00 !important;
    margin: 0;
}

.form-check-warning.custom-option.checked .custom-option-body i,
.form-check-warning.custom-option.checked .custom-option-header i {
    color: #ffab00;
}

.form-check-warning.custom-option.custom-option-label.checked {
    background-color: rgba(255, 171, 0, 0.12);
    color: #ffab00;
}

.form-check-warning.custom-option.custom-option-label.checked
    .custom-option-header
    span,
.form-check-warning.custom-option.custom-option-label.checked
    .custom-option-title {
    color: #ffab00;
}

.form-check-danger .form-check-input:checked {
    background-color: #ff3e1d;
    border-color: #ff3e1d;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 62, 29, 0.4);
}

.form-check-danger .form-check-input[type="checkbox"]:indeterminate {
    background-color: #ff3e1d;
    border-color: #ff3e1d;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 62, 29, 0.4);
}

.form-check-danger.custom-option.checked {
    border: 2px solid #ff3e1d !important;
    margin: 0;
}

.form-check-danger.custom-option.checked .custom-option-body i,
.form-check-danger.custom-option.checked .custom-option-header i {
    color: #ff3e1d;
}

.form-check-danger.custom-option.custom-option-label.checked {
    background-color: rgba(255, 62, 29, 0.12);
    color: #ff3e1d;
}

.form-check-danger.custom-option.custom-option-label.checked
    .custom-option-header
    span,
.form-check-danger.custom-option.custom-option-label.checked
    .custom-option-title {
    color: #ff3e1d;
}

.form-check-light .form-check-input:checked {
    background-color: #dbdee0;
    border-color: #dbdee0;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(219, 222, 224, 0.4);
}

.form-check-light .form-check-input[type="checkbox"]:indeterminate {
    background-color: #dbdee0;
    border-color: #dbdee0;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(219, 222, 224, 0.4);
}

.form-check-light.custom-option.checked {
    border: 2px solid #dbdee0 !important;
    margin: 0;
}

.form-check-light.custom-option.checked .custom-option-body i,
.form-check-light.custom-option.checked .custom-option-header i {
    color: #dbdee0;
}

.form-check-light.custom-option.custom-option-label.checked {
    background-color: rgba(219, 222, 224, 0.12);
    color: #dbdee0;
}

.form-check-light.custom-option.custom-option-label.checked
    .custom-option-header
    span,
.form-check-light.custom-option.custom-option-label.checked
    .custom-option-title {
    color: #dbdee0;
}

.form-check-dark .form-check-input:checked {
    background-color: #2b2c40;
    border-color: #2b2c40;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(43, 44, 64, 0.4);
}

.form-check-dark .form-check-input[type="checkbox"]:indeterminate {
    background-color: #2b2c40;
    border-color: #2b2c40;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(43, 44, 64, 0.4);
}

.form-check-dark.custom-option.checked {
    border: 2px solid #2b2c40 !important;
    margin: 0;
}

.form-check-dark.custom-option.checked .custom-option-body i,
.form-check-dark.custom-option.checked .custom-option-header i {
    color: #2b2c40;
}

.form-check-dark.custom-option.custom-option-label.checked {
    background-color: rgba(43, 44, 64, 0.12);
    color: #2b2c40;
}

.form-check-dark.custom-option.custom-option-label.checked
    .custom-option-header
    span,
.form-check-dark.custom-option.custom-option-label.checked
    .custom-option-title {
    color: #2b2c40;
}

.form-check-gray .form-check-input:checked {
    background-color: rgba(34, 48, 62, 0.5);
    border-color: rgba(34, 48, 62, 0.5);
    box-shadow: 0 0.125rem 0.25rem 0 rgba(34, 48, 62, 0.4);
}

.form-check-gray .form-check-input[type="checkbox"]:indeterminate {
    background-color: rgba(34, 48, 62, 0.5);
    border-color: rgba(34, 48, 62, 0.5);
    box-shadow: 0 0.125rem 0.25rem 0 rgba(34, 48, 62, 0.4);
}

.form-check-gray.custom-option.checked {
    border: 2px solid rgba(34, 48, 62, 0.5) !important;
    margin: 0;
}

.form-check-gray.custom-option.checked .custom-option-body i,
.form-check-gray.custom-option.checked .custom-option-header i {
    color: rgba(34, 48, 62, 0.5);
}

.form-check-gray.custom-option.custom-option-label.checked {
    background-color: rgba(34, 48, 62, 0.12);
    color: rgba(34, 48, 62, 0.5);
}

.form-check-gray.custom-option.custom-option-label.checked
    .custom-option-header
    span,
.form-check-gray.custom-option.custom-option-label.checked
    .custom-option-title {
    color: rgba(34, 48, 62, 0.5);
}

/* ? Prefix Select2 option default selected empty value as a placeholder */
.select2-selection__rendered[title^="- Select"] {
    color: #7e7f96 !important;
}

.layout-menu-collapsed .app-brand.demo {
    padding-left: 1rem;
    transition: padding-left 0.3s ease;
}
