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

.fixed-table-container {
    border-radius: 6px;
    /* border: 1px inset #d9dee3; */
    -webkit-box-shadow: inset 0px 0px 0px 1px #d9dee3;
    -moz-box-shadow: inset 0px 0px 0px 1px #d9dee3;
    box-shadow: inset 0px 0px 0px 1px #d9dee3;
}

.fixed-table-body {
    border-radius: 6px;
}

.bg-animated {
    background-color: transparent;
    animation-name: bg-highlight;
    animation-duration: 7s;
}

.bg-animated-primary {
    background-color: rgba(105,108,255,.10);
    animation-name: bg-highlight-primary;
    animation-duration: 7s;
}

@keyframes bg-highlight {

    from {
        background-color: #ffff00;
    }

    to {
        background-color: transparent;
    }
}

@keyframes bg-highlight-primary {

    from {
        background-color: #ffff00;
    }

    to {
        background-color: rgba(105,108,255,.10);
    }
}

[preload] {
    background-color: rgba(255,255,255,0.2);
    position: fixed;
    min-width: 100% !important;
    min-height: 100vh;
    top: 0px;
    left: 0px;
    z-index: 1000000;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    backdrop-filter: blur(0px);
    transition-duration: .2s;
}

.active-blur {
    backdrop-filter: blur(5px);
}

.dropdown.bootstrap-select.form-control .btn-close {
    position: absolute;
    right: 40px;
    top: 10px;
}

    .dropdown.bootstrap-select.form-control .btn-close:hover {
        color: var(--bs-primary) !important;
        position: absolute;
        right: 40px;
        top: 10px;
        background: transparent url("data:image/svg+xml,%3Csvg width='150px' height='151px' viewBox='0 0 150 151' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpolygon id='path-1' points='131.251657 0 74.9933705 56.25 18.7483426 0 0 18.75 56.2450278 75 0 131.25 18.7483426 150 74.9933705 93.75 131.251657 150 150 131.25 93.7549722 75 150 18.75'%3E%3C/polygon%3E%3C/defs%3E%3Cg id='🎨-%5BSetup%5D:-Colors-&amp;-Shadows' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Artboard' transform='translate%28-225.000000, -250.000000%29'%3E%3Cg id='Icon-Color' transform='translate%28225.000000, 250.500000%29'%3E%3Cuse fill='red' xlink:href='%23path-1'%3E%3C/use%3E%3Cuse fill-opacity='1' fill='%23696cff' xlink:href='%23path-1'%3E%3C/use%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center/0.8em auto no-repeat;
    }

.pulse-danger {
    background-color: #ffe4e4;
    animation-name: color-danger;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

.pulse-primary {
    background-color: var(--bs-info);
    animation-name: color-primary;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

    .pulse-primary:hover {
        animation-name: color-primary;
        animation-duration: 1s;
        animation-iteration-count: infinite;
    }

.pulse-warning {
    background-color: var(--bs-warning);
    animation-name: color-warning;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

@keyframes color-danger {
    0% {
        background-color: #ffe4e4;
    }

    50% {
        background-color: #ffc8c8;
    }

    100% {
        background-color: #ffe4e4;
    }
}

@keyframes color-warning {
    0% {
        background-color: var(--bs-warning);
    }

    50% {
        background-color: whitesmoke;
    }

    100% {
        background-color: var(--bs-warning);
    }
}

@keyframes color-primary {
    0% {
        background-color: var(--bs-info);
    }

    50% {
        background-color: var(--bs-primary);
    }

    100% {
        background-color: var(--bs-info);
    }
}

@keyframes color-info-dark {
    0% {
        background-color: var(--bs-secondary);
    }

    50% {
        background-color: var(--bs-info);
    }

    100% {
        background-color: var(--bs-secondary);
    }
}
