/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

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

.app-brand-logo.demo svg {
    width: 122px;
    height: 37px;
}

.app-brand-text.demo {
    font-size: 1.375rem;
}

.app-brand-logo.demo {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-flexbox;
    display: flex;
    width: 121px;
    height: 37px;
}

.app-brand-logo.dashboard-logo{
    width: 34px;
    height: 22px;
    color: #ffffff;
}

.menu .app-brand .app-brand-text {
    color: #ffffff;
}


/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 72px !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;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
    #dropdown-variation-demo .btn-group .text-truncate {
        width: 254px;
        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;
}

.menu-toggle::after {
    position: absolute;
    display: block;
    background-color: #cfcce4;
    content: "";
    inset-block-start: 50%;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m9 6l6 6l-6 6'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    transform: translateY(-50%);
    block-size: 1rem;
    font-size: 1.375rem;
    inline-size: 1.375rem;
}

.container-p-y:not([class^="pt-"]):not([class*=" pt-"]) {
    padding-top: 0.5rem !important;
}

/*
* responsive tables
*******************************************/
.table-responsive-stack tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}


.table-responsive-stack td,
.table-responsive-stack th {
    display:flex;
    /*      
       flex-grow | flex-shrink | flex-basis   */
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.table-responsive-stack .table-responsive-stack-thead {
    font-weight: bold;
    display:inline-block;
    padding-right: 15px;
    /* margin-bottom: 1em;*/
}

@media screen and (max-width: 768px) {
    .table-responsive-stack tr {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        border-bottom: 3px solid #ccc;
        display:block;

    }
    /*  IE9 FIX   */
    .table-responsive-stack td {
        float: left\9;
        width:100%;
    }
}

/* mobile pagination
******************************/


@media screen and (max-width: 575.98px) {
    #footerPaginator ul.pagination .page-link {
        padding: 0.5rem 0.15rem;
        min-width: calc(1.75rem + calc(0px * 2));
        font-size: 0.75rem !important;
        line-height: 1;
    }
}

@media screen and (max-width: 767px) {
    #footerPaginator ul.pagination {
        justify-content: center !important;
    }

    #footerPaginator .dt-info {
        text-align: center !important;
        margin-bottom: 1rem;
    }

    #footerPaginator .dt-info {
        font-size: 0.8125rem;
    }

}

.tblMostVisitedPages{
    font-size: 13px;
}

.input-group-text-calendar {
    cursor: pointer;
}

form .error{
    border-color: var(--bs-form-invalid-color) !important;
}

.select2-selection__rendered{
    display: block;
    padding: 0.422rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6f6b7d;
    appearance: none;
    background-color: #fff;
    background-clip: padding-box;
    border: var(--bs-border-width) solid #dbdade ;
    border-radius: var(--bs-border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

}

.select2-selection.select2-selection--single{
    border: none !important;
}

.select2-container .select2-selection--single{
    height: auto !important;
}


.was-validated select:invalid ~ .select2-container .select2-selection__rendered {
    border-color: #ff4c51;
    border-width: 2px;
}

a.jstree-anchor span.containerStatus {
  float: right;
  margin-top: 2px;
}

a.jstree-anchor {
  width: 100%;
  
}

.jstree-anchor span {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.repeater-wrapper, #rptAdd {
  padding: 10px;
}

.repeater-wrapper:nth-of-type(odd) {
    background-color: var(--bs-body-bg); /* light gray as example */
}