:root {
    --bs-blue: #007bff;
    --bs-indigo: #6610f2;
    --bs-purple: #7367f0;
    --bs-pink: #e83e8c;
    --bs-red: #ea5455;
    --bs-orange: #fd7e14;
    --bs-yellow: #ff9f43;
    --bs-green: #28c76f;
    --bs-teal: #20c997;
    --bs-cyan: #00cfe8;
    --bs-black: #4b465c;
    --bs-white: #fff;
    --bs-gray: rgba(75, 70, 92, 0.6);
    --bs-gray-dark: rgba(75, 70, 92, 0.8);
    --bs-gray-25: rgba(75, 70, 92, 0.015);
    --bs-gray-50: rgba(75, 70, 92, 0.03);
    --bs-primary: #7367f0;
    --bs-secondary: #a8aaae;
    --bs-success: #28c76f;
    --bs-info: #00cfe8;
    --bs-warning: #ff9f43;
    --bs-danger: #ea5455;
    --bs-light: #dfdfe3;
    --bs-dark: #4b4b4b;
    --bs-gray: rgba(75, 70, 92, 0.05);
    --bs-primary-rgb: 115, 103, 240;
    --bs-secondary-rgb: 168, 170, 174;
    --bs-success-rgb: 40, 199, 111;
    --bs-info-rgb: 0, 207, 232;
    --bs-warning-rgb: 255, 159, 67;
    --bs-danger-rgb: 234, 84, 85;
    --bs-light-rgb: 223, 223, 227;
    --bs-dark-rgb: 75, 75, 75;
    --bs-gray-rgb: 75, 70, 92;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 75, 70, 92;
    --bs-body-color-rgb: 111, 107, 125;
    --bs-body-bg-rgb: 248, 247, 250;
    --bs-font-sans-serif: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --bs-font-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-root-font-size: 16px;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 0.9375rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.47;
    --bs-body-color: #6f6b7d;
    --bs-body-bg: #f8f7fa;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dbdade;
    --bs-border-color-translucent: rgba(75, 70, 92, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 0.625rem;
    --bs-border-radius-2xl: 2rem;
    --bs-border-radius-pill: 50rem;
    --bs-link-color: #7367f0;
    --bs-link-hover-color: #685dd8;
    --bs-code-color: #e83e8c;
    --bs-highlight-bg: #ffecd9;
}

body {
    background: #f8f7fa;
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(75,70,92,0);
}

.text-muted {
    --bs-text-opacity: 1;
    color: #a5a3ae !important;
}

.bg-primary{
    background-color: var(--bs-primary) !important;
}

ul#pills-tab .nav-link {
    background-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
}

ul#pills-tab .nav-link > span {
    background-color: #f1f1f1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6f6b7d;
    border-radius: 0.375rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.125rem;
    font-weight: 500;
}

ul#pills-tab .nav-link.active > span {
    background-color: #7367f0;
    color: #fff;
}

ul#pills-tab .nav-link > p{
    color: #333;
    padding-left: 1rem;
    margin: 0px;
    font-size: .8rem;
}

ul#pills-tab .nav-link > p > span {
    color: rgba(196, 196, 196, 0.77);
    font-size: 1rem;
}

ul#pills-tab .nav-link > p > span {
    color: #5d596c;
    font-size: .9375rem;
    line-height: 1;
    font-weight: 500;
}

ul#pills-tab .nav-link > p > span.subtitulo {
    font-size: .8125rem;
    font-weight: 400;
    margin-top: 0.25rem;
    color: #a5a3ae !important;
}

.select2-container--default .select2-selection--single {
    height: 40px !important;
}

#sidebar .nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background: linear-gradient(72.47deg, #7367f0 22.16%, rgba(115, 103, 240, 0.7) 76.47%);
    box-shadow: 0px 2px 6px 0px rgba(115,103,240,.48);
    color: #fff !important;
}

.btn-primary:hover, .btn-primary {
    color: #fff;
    background-color: #7367f0;
    border-color: #7367f0;
}

.btn-primary-dark:hover, .btn-primary-dark {
    color: #fff;
    background-color: #6258cc;
    border-color: #6258cc;
}



main{
    max-width: 100%;
}

#main {
    overflow: hidden;
    width: calc(100% - 2rem);
    position: relative;
    margin: auto;
}

.link-dark {
    color: #6f6b7d !important;
}

#top {
    width: calc(100% - 2rem);
    margin: 1rem auto;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(165,163,174,.3);
}

.principal {
    width: calc(100% - 280px);
    left: 280px;
    position: absolute;
}

.btn-primary {
    color: #fff;
    background-color: #7367f0;
    border-color: #7367f0;
}

label {
    margin-bottom: 0.25rem;
    font-size: 0.8125rem;
    color: #5d596c;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.37;
    color: #5d596c;
}

h3, .h3 {
    font-size: calc(1.2875rem + 0.45vw);
}

#sidebar{
    width: 280px;
    height: 100vh;
    position: fixed;
    transition: .3s width;
    z-index: 1000;
}

#sidebar .logo, body.sidebar-close #sidebar:hover {
    max-width: 100%;
    width: 50%;
    margin: auto;
    display: block;
}

.select2-container {
    max-width: 100%;
}

.error-message{
    color: var(--bs-danger);
}

#sidebar{
    transition: .5s all;
    left: -280px;
    width: 280px;
}


body.sidebar-open #sidebar{
    left: 0px;
    overflow: auto;
}
body.sidebar-open #sidebar {
    scrollbar-color: transparent transparent;
}
body.sidebar-close #sidebar .nav-item > span{
    opacity: 0;
    font-size: 0px;
    display: inline-block;
}

body.sidebar-close #sidebar .nav-item .nav-link span {
    opacity: 0;
    font-size: 0px;
    display: inline-block;
}

body.sidebar-open #sidebar .nav-item > span, body.sidebar-close #sidebar:hover{
    opacity: 1;
    font-size: initial;
}

body.sidebar-open #sidebar .nav-item .nav-link span, body.sidebar-close #sidebar:hover{
    opacity: 1;
    font-size: initial;
}

body.sidebar-close #sidebar .logo {
    max-width: 100%;
    width: 100% !important;
    margin: auto;
    display: block;
}

body.sidebar-close #sidebar:hover{
    width: 280px !important;
}

body.sidebar-close #sidebar:hover .nav-item > span{
    opacity: 1;
    font-size: initial;
}

body.sidebar-close #sidebar:hover .nav-item .nav-link span{
    opacity: 1;
    font-size: initial;
}

@media (min-width: 800px) {
    body.sidebar-close .principal{
        width: 100%;
        left: 0%;
        position: absolute;
    }
}

@media (max-width: 800px) {


    body.sidebar-open #sidebar-sombra {
        position: fixed;
        width: 100vw;
        height: 100vh;
        background-color: rgb(51 51 51 / 30%);
        z-index: 1000;
        overflow: auto;
    }

    #sidebar .nav-item > span{
        opacity: 0;
        font-size: 0px;
        display: inline-block;
    }

    #sidebar .nav-item .nav-link span {
        opacity: 0;
        font-size: 0px;
        display: inline-block;
    }

    #sidebar:hover .nav-item > span{
        opacity: 1;
        font-size: initial;
    }

    #sidebar:hover .nav-item .nav-link span{
        opacity: 1;
        font-size: initial;
    }

    .principal {
        width: 100%;
        left: 0%;
        position: absolute;
    }
    #top {
        width: calc(100% - 1rem);
    }
    #main {
        width: calc(100% - 1rem);
    }


    #sidebar .logo {
        max-width: 100%;
        width: 100% !important;
        margin: auto;
        display: block;
    }
}
