﻿/*CHAT*/

.chat-window
{
    width: 87vw;
    height: 400px;
}

.chat-window-content
{
    overflow-y: scroll;
    overflow-x: hidden;
}

/*XS*/
@media (min-width: 0px)
{
    .chat-window
    {
        width: 87vw;
        height: 400px;
    }
}

/*SM*/
@media (min-width: 576px)
{
    .chat-window
    {
        width: 300px;
        height: 400px;
    }
}

/*CHAT*/




/* ---------------------------------------------------
    BOOTSTRAP BREAKPOINTS
----------------------------------------------------- */

.bsbreakpoint::before
{
    content: "";
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    right: 0;
    z-index: 999;
    padding: 2px 20px 2px 5px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    border-radius: 0.25rem 0 0 0;
}

@media (min-width: 0px)
{
    .bsbreakpoint::before
    {
        content: "XS";
    }
}

@media (min-width: 576px)
{
    .bsbreakpoint::before
    {
        content: "SM";
    }
}

@media (min-width: 768px)
{
    .bsbreakpoint::before
    {
        content: "MD";
    }
}

@media (min-width: 992px)
{
    .bsbreakpoint::before
    {
        content: "LG";
    }
}

@media (min-width: 1200px)
{
    .bsbreakpoint::before
    {
        content: "XL";
    }
}

@media (min-width: 1400px)
{
    .bsbreakpoint::before
    {
        content: "XXL";
    }
}

/* ---------------------------------------------------
    BOOTSTRAP BREAKPOINTS
----------------------------------------------------- */

.lds-ring
{
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ring div
    {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid #9C27B0;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #9C27B0 transparent transparent transparent;
    }

        .lds-ring div:nth-child(1)
        {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2)
        {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3)
        {
            animation-delay: -0.15s;
        }

@keyframes lds-ring
{
    0%
    {
        transform: rotate(0deg);
    }

    100%
    {
        transform: rotate(360deg);
    }
}

.spinner-container
{
    /*position: fixed;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader1
{
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    border-top: 3px solid #4287f5;
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation
{
    0%
    {
        transform: rotate(0deg);
    }

    100%
    {
        transform: rotate(360deg);
    }
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper
{
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar
{
    min-width: 250px;
    max-width: 250px;
    background: #454646;
    color: #fff;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100%;
    z-index: 10;
    overflow-y: auto;
}

    #sidebar.active
    {
        margin-left: -250px;
    }

    #sidebar::-webkit-scrollbar
    {
        width: 10px;
    }

    #sidebar::-webkit-scrollbar-track
    {
        background-color: transparent;
    }

    #sidebar::-webkit-scrollbar-thumb
    {
        background-color: gray;
        border-radius: 2px;
    }

.wrapper #content
{
    margin-left: 250px;
}

.wrapper #content.active
{
    margin-left: 0;
}

#sidebar .sidebar-header
{
    padding: 20px;
    background: #454646;
}

#sidebar ul.components
{
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul p
{
    color: #fff;
    padding: 10px;
}

#sidebar ul li a
{
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

    #sidebar ul li a:hover, ul li a.active
    {
        background: #1d1d1d;
    }

#sidebar ul li.active > a
{
    color: #fff;
    background: #1d1d1d;
}

#sidebar ul li a[data-toggle="collapse"]
{
    position: relative;
}

#sidebar ul li .dropdown-toggle::after
{
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a
{
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #454646;
}

ul.CTAs
{
    padding: 20px;
}

    ul.CTAs a
    {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }


/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content
{
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    min-height: 100vh;
    transition: all 0.3s;
    overflow: hidden;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px)
{
    #sidebar
    {
        margin-left: -250px;
    }

        #sidebar.active
        {
            margin-left: 0;
        }

    .wrapper #content
    {
        margin-left: 0;
    }

        .wrapper #content.active
        {
            margin-left: 250px;
        }

    #sidebarCollapse span
    {
        display: none;
    }
}

.displayonhovercontainer
{
    display: inherit;
}

    .displayonhovercontainer:hover .displayonhover
    {
        display: inline-block;
    }

.displayonhover
{
    display: none;
}

/* ---------------------------------------------------
    this is a workaround for the bootstrap dropdown menu
    to be centered on the button
----------------------------------------------------- */
.dropdown-menu-center[data-bs-popper]
{
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin: 10px;
}

.dropdown-pointer:has(+ .dropdown-menu.show)
{
    content: "";
    position: absolute;
    top: 50%;
    border: solid 15px transparent;
    border-bottom-color: #FFF;
    z-index: 9999;
    pointer-events: none;
}

.notifications::-webkit-scrollbar
{
    width: 10px;
}

.notifications::-webkit-scrollbar-track
{
    background-color: transparent;
}

.notifications::-webkit-scrollbar-thumb
{
    background-color: #cdcdcd;
    border-radius: 2px;
}

.tab-pane-borders
{
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-radius: 0px 0px 5px 5px;
    padding: 10px;
}