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

.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;
    text-transform: lowercase;
}

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

/*
* 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;
}
.float-right {
    float: right;
}
.float-left {
    float: left;
}
.tooltip {
    display: block !important;
    z-index: 10000;
}

.tooltip .tooltip-inner {
    background: black;
    color: white;
    border-radius: 16px;
    padding: 5px 10px 4px;
}

.tooltip .tooltip-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    margin: 5px;
    border-color: black;
    z-index: 1;
}

.tooltip[x-placement^="top"] {
    margin-bottom: 5px;
}

.tooltip[x-placement^="top"] .tooltip-arrow {
    border-width: 5px 5px 0 5px;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-bottom-color: transparent !important;
    bottom: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
}

.tooltip[x-placement^="bottom"] {
    margin-top: 5px;
}

.tooltip[x-placement^="bottom"] .tooltip-arrow {
    border-width: 0 5px 5px 5px;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-top-color: transparent !important;
    top: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
}

.tooltip[x-placement^="right"] {
    margin-left: 5px;
}

.tooltip[x-placement^="right"] .tooltip-arrow {
    border-width: 5px 5px 5px 0;
    border-left-color: transparent !important;
    border-top-color: transparent !important;
    border-bottom-color: transparent !important;
    left: -5px;
    top: calc(50% - 5px);
    margin-left: 0;
    margin-right: 0;
}

.tooltip[x-placement^="left"] {
    margin-right: 5px;
}

.tooltip[x-placement^="left"] .tooltip-arrow {
    border-width: 5px 0 5px 5px;
    border-top-color: transparent !important;
    border-right-color: transparent !important;
    border-bottom-color: transparent !important;
    right: -5px;
    top: calc(50% - 5px);
    margin-left: 0;
    margin-right: 0;
}

.tooltip.popover .popover-inner {
    background: #f9f9f9;
    color: black;
    padding: 24px;
    border-radius: 5px;
    box-shadow: 0 5px 30px rgba(black, 0.1);
}

.tooltip.popover .popover-arrow {
    border-color: #f9f9f9;
}

.tooltip[aria-hidden="true"] {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.15s, visibility 0.15s;
}

.tooltip[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.15s;
}
.bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
    color: #f8ba2d;
    background-color: rgba(248, 186, 45, 0.16) !important;
}
.bg-menu-theme .menu-inner > .menu-item.active:before {
    background: #f8ba2d;
}
.select2 {
    width: 100% !important;
}
.select2-container {
    display: block !important;
}
.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important;
    padding: 0.46875rem 0.75rem !important;
    height: calc(2.25rem + 2px) !important;
}
.select2-selection--single .select2-selection__rendered,
.select2-selection--multiple .select2-selection__rendered {
    color: #697a8d !important;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding-left: 0 !important;
    height: auto !important;
    margin-top: -3px !important;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 31px !important;
    right: 6px !important;
}
.is-invalid .select2-selection {
    border-color: #ff3e1d !important;
    padding-right: 2.25 rem;
    /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e"); */
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
[type="search"] {
    outline-offset: 0px;
}
.swal2-container.swal2-top,
.swal2-container.swal2-center,
.swal2-container.swal2-bottom,
.swal2-container.swal2-top-end {
    z-index: 9999;
}
.form-control:focus,
.form-select:focus {
    border-color: #f8ba2d;
}
.nav-pills .nav-link.active,
.nav-pills .nav-link.active:hover,
.nav-pills .nav-link.active:focus {
    color: #f8ba2d;
    background-color: rgba(248, 186, 45, 0.16) !important;
    box-shadow: 0 2px 4px 0 rgb(248 186 45 / 40%);
    font-weight: bold;
}
.nav .nav-link:hover,
.nav .nav-link:focus {
    color: #f8ba2d;
}
.text-right {
    text-align: right;
}
.btn-outline-primary {
    color: #f8ba2d;
    border-color: #f8ba2d;
}
.btn-outline-primary:hover,
.btn-outline-primary:active {
    background-color: #f8ba2d;
    border-color: #f8ba2d;
    box-shadow: 0 2px 4px 0 rgb(248 186 45 / 40%);
}
.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text {
    border-color: #f8ba2d;
}
.btn-check:focus + .btn-outline-primary,
.btn-outline-primary:focus {
    background-color: #f8ba2d;
    border-color: #f8ba2d;
}
.btn-check:checked + .btn-outline-primary,
.btn-check:active + .btn-outline-primary,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show {
    color: #fff;
    background-color: #f8ba2d;
    border-color: #f8ba2d;
}
.vm--container {
    z-index: 1080 !important;
}
.vm--modal {
    overflow: revert !important;
}
.vm--modal .card {
    margin-bottom: 0;
}
.vgt-left-align.text-right {
    text-align: right !important;
}
.mr-2 {
    margin-right: 0.5rem !important;
}
.app-brand .layout-menu-toggle {
    background-color: #f8ba2d;
}
.menu-inner.py-1.ps {
    overflow-y: auto !important;
}
.bg-yellow {
    --bs-bg-opacity: 1;
    background-color: #f7df1e !important;
    color: black;
}
.bg-label-yellow {
    color: black;
    background-color: #f7eda5 !important;
}
