@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap');

:root {
    --sidebar-width: 280px;
    --devextreme-color: #158BFF;
    --font-size: 14px;
    /*--devextreme-color: #f05b41;*/
}

html {
    font-weight: 400;
    font-size: var(--font-size);
}

@media (min-width: 768px) {
    html {
        font-size: var(--font-size);
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    /*margin-bottom: 60px;*/
    /*background-color: #F4F5F7;*/
    min-height: 100vh;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

hr {
    color: #8d8d8d;
}

.fw-300 {
    font-weight: 300;
}

.fw-500 {
    font-weight: 500;
}

.bg-pattern-grid {
    background-image: url('/images/backgrounds/grid.png');
    background-color: #fffaf0b0;
}

a {
    color: var(--bs-dark);
    /*color: #f05b41;*/
}

.swiperAnexos {
    padding-top: 8px !important;
    padding-bottom: 16px !important;
}

.card.card-rounded {
    border-radius: 15px;
    box-shadow: none;
    border: none;
}

.dw-450 {
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.no-outline:focus {
    outline: none !important;
    box-shadow: none !important;
}

.multiline-text {
    white-space: pre-wrap;
}

.navbar .dropdown-menu {
    border: none !important;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

.dropdown-item svg {
    margin-right: 14px;
}

.breadcrumb-item {
    font-size: .75rem;
    font-weight: 600;
}

    .breadcrumb-item a {
        text-decoration: none;
    }

.showPreview {
    cursor: pointer;
}

.dot-small {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.blink {
    animation: blink-animation 1s linear infinite;
    -webkit-animation: blink-animation 1s linear infinite;
}

@keyframes blink-animation {
    30% {
        opacity: 0.25;
    }

    60% {
        opacity: 1;
    }
}

@-webkit-keyframes blink-animation {
    30% {
        opacity: 0.25;
    }

    60% {
        opacity: 1;
    }
}

.dropdown-toggle[aria-expanded="true"]:after {
    transform: rotate(180deg);
}

.dropdown-toggle:after {
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

/* Sidebar */

#main-wrapper {
    min-height: 100vh;
}

    #main-wrapper.sidebar-show > #body-wrapper {
        margin-left: 0;
    }

    #main-wrapper.sidebar-show > #sidebar {
        margin-left: calc(var(--sidebar-width) * -1);
    }

@media (min-width: 992px) {
    #body-wrapper {
        margin-left: var(--sidebar-width);
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
    }
}

#sidebarBackdrop {
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000085;
    display: block;
}

#main-wrapper.sidebar-show > #sidebarBackdrop {
    display: none;
}

@media (min-width: 992px) {
    #sidebarBackdrop {
        display: none;
    }
}

#sidebar {
    width: var(--sidebar-width);
    max-width: 80%;
    position: fixed;
    top: 0;
    height: 100%;
    border-right: 1px solid #e5eaef;
    background-color: #fff;
    color: var(--bs-dark);
    z-index: 10;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

    #sidebar .scroll-sidebar {
        overflow-y: auto;
        padding: 0 20px;
        height: calc(100vh - 80px);
    }

        #sidebar .scroll-sidebar::-webkit-scrollbar {
            width: 5px;
            height: 8px;
            background-color: transparent; /* or add it to the track */
        }

        #sidebar .scroll-sidebar::-webkit-scrollbar-thumb {
            background: transparent;
            border-radius: 8px;
        }

        #sidebar .scroll-sidebar:hover::-webkit-scrollbar-thumb {
            background: #888;
        }

    #sidebar ul.components {
        padding: 0;
    }

    #sidebar ul li {
        font-size: var(--font-size);
    }

        #sidebar ul li > ul {
            margin-left: 10px;
        }

            #sidebar ul li > ul li {
                font-size: 14px;
            }

        #sidebar ul li a {
            position: relative;
            color: var(--bs-dark) !important;
            padding: 10px 14px !important;
            padding: 10px;
            display: block;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 300;
            -webkit-transition: all 0.2s;
            -o-transition: all 0.2s;
            transition: all 0.2s;
        }

            #sidebar ul li a:hover {
                background-color: #ebf3fc;
                color: var(--devextreme-color);
            }

            #sidebar ul li a.active {
                background-color: #ebf3fc !important;
                color: var(--devextreme-color) !important;
                font-weight: 500;
            }

            #sidebar ul li a::after {
                margin-left: auto;
            }

.nav-small-cap {
    margin-top: 24px;
    font-size: 12px !important;
    font-weight: 700;
    padding: 3px 14px;
    line-height: 26px;
    text-transform: uppercase;
}

@media (min-width: 1200px) {
    #main-wrapper.sidebar-show > #body-wrapper {
        margin-left: var(--sidebar-width);
    }

    #main-wrapper.sidebar-show > #sidebar {
        margin-left: 0px;
    }

    #main-wrapper:not(.sidebar-show) > #body-wrapper {
        margin-left: 0;
    }

    #main-wrapper:not(.sidebar-show) > #sidebar {
        margin-left: calc(var(--sidebar-width) * -1);
    }
}

.brand-logo {
    min-height: 80px;
    padding: 0 34px;
    font-weight: 600;
}

.swiper-scrollbar-drag {
    cursor: pointer;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    background-color: #ffffff99;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.25s ease;
}

    #loader.fadeIn {
        opacity: 1;
        visibility: visible;
    }

/* Maps */

#map {
    z-index: 1;
}

.leaflet-bottom.leaflet-right {
    display: none;
}

/* Tables */
.table-py-0 td {
    padding-top: 0;
    padding-bottom: 0;
}
