:root {
    --bg-dark: rgb(45 59 72);
    --bg-success: #45b139;
    --bg-white: #fff;
}

body {
    font-family: Nunito, sans-serif !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #858796;
    text-align: left;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.bg-conecta {
    background-color: #AD170F !important;
    color: #ffffff !important;
}

.font-face {
    font-family: 'open_sansregular', sans-serif;
}

.transform-btn {
    background-color: beige;
    color: black;
    transform: rotate(-90deg);
    transform-origin: bottom 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 17px;
    padding-right: 17px;
    margin-left: -16px;
    margin-right: -16px;
}

    .transform-btn:hover {
        background-color: rgb(251 191 36);
        color: black;
    }

.bg-dark {
    background-color: var(--bg-dark) !important;
}

.btn-dark {
    color: var(--bg-white) !important;
    background-color: var(--bg-dark) !important;
    border-color: var(--bg-dark) !important
}


.btn-success {
    background-color: var(--bg-success) !important;
    border-color: var(--bg-success) !important;
}

.btn-menu-hover:hover {
    color: var(--bg-dark) !important;
    background-color: var(--bg-white) !important;
    border-color: var(--bg-success) !important;
}

.bg-success {
    background-color: var(--bg-success) !important;
    border-color: var(--bg-success) !important;
}

.btn-outline-success {
    /* background-color: var(--bg-success) !important;*/
    border-color: var(--bg-success) !important;
}

    .btn-check:active + .btn-outline-success, .btn-check:checked + .btn-outline-success, .btn-outline-success.active, .btn-outline-success.dropdown-toggle.show, .btn-outline-success:active {
        color: #fff;
        background-color: var(--bg-success) !important;
        border-color: var(--bg-success) !important
    }

        .btn-check:active + .btn-outline-success:focus, .btn-check:checked + .btn-outline-success:focus, .btn-outline-success.active:focus, .btn-outline-success.dropdown-toggle.show:focus, .btn-outline-success:active:focus {
            box-shadow: 0 0 0 .25rem rgba(25,135,84,.5)
        }

    .btn-outline-success:hover {
        color: #fff;
        background-color: var(--bg-success) !important;
        border-color: var(--bg-success) !important
    }

/*.table-responsive{overflow-x: auto -23px;-webkit-overflow-scrolling:touch; width: 25%;}*/

#sidebar-container {
    display: block;
    min-height: 100vh;
}

.link-menu {
    color: white;
}


/*.link-menu:hover {
        background-color: white;
        color: black !important;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }*/

#sidebar-container .menu .nav-link:hover {
    background-color: white;
    color: black !important;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

a[aria-expanded=true] > span.menu-arrow {
    transform: rotate(90deg);
}

a:not(.collapsed) > span.menu-arrow {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.menu-arrow {
    -webkit-transition: -webkit-transform .15s;
    transition: -webkit-transform .15s;
    transition: transform .15s;
    transition: transform .15s,-webkit-transform .15s;
    position: absolute;
    right: 30px;
    display: inline-block;
    font-family: 'Material Design Icons';
    text-rendering: auto;
    line-height: 1.5rem;
    font-size: 1.1rem;
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
}

.link-menu::selection {
    background-color: white !important;
}



#sidebar-container .logo {
    padding: .575rem;
}

#sidebar-container .menu {
    width: 15rem;
}

#content {
    overflow-y: auto;
    height: 100vh;
    padding-bottom: 5rem;
}

.avatar {
    max-width: 35px;
    margin-top: -15px;
    margin-bottom: -15px;
    margin-right: 5px;
}

.side-nav-second-level {
    padding-left: 1rem;
}


.bd-links {
    position: -webkit-sticky;
    position: sticky;
    top: 5rem;
    display: block !important;
    height: calc(100vh - 7rem);
    padding-left: .25rem;
    margin-left: -.25rem;
    overflow-y: auto;
}




    .bd-links::-webkit-scrollbar {
        -webkit-appearance: none;
    }

        .bd-links::-webkit-scrollbar:vertical {
            width: 12px;
        }

    .bd-links::-webkit-scrollbar-button:increment, .bd-links::-webkit-scrollbar-button {
        display: none;
    }



    .bd-links::-webkit-scrollbar-thumb {
        background-color: #73787c;
        border-radius: 8px;
        border: 1px solid #f1f2f3;
    }


    .bd-links::-webkit-scrollbar-track {
        border-radius: 10px;
    }

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.zindex {
    background-color: var(--bg-dark);
    z-index: 9999;
    opacity: 0.7;
}


.fondo {
    background-image: url('../img/fondo.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
}

@media (max-width: 768px) {

    #sidebar-container {
        display: none;
    }



    #sidebar-container {
        background-color: var(--bg-dark);
        z-index: 9999;
        position: absolute;
        top: 60px;
        opacity: 0.9;
    }

    #btn-collapse:checked ~ * .tab-content {
        display: none;
    }
}

@font-face {
    font-family: 'open_sansregular';
    src: url('../webfonts/OpenSans-Regular-webfont.eot');
    src: url('../webfonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('../webfonts/OpenSans-Regular-webfont.woff2') format('woff2'), url('../webfonts/OpenSans-Regular-webfont.woff') format('woff'), url('../webfonts/OpenSans-Regular-webfont.ttf') format('truetype'), url('../webfonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


/*//////////////////////////////////////////////////////*/

#sidebar {
    min-width: 160px;
    max-width: 160px;
    background: #3445b4;
    color: #fff;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
}

    #sidebar .h6 {
        color: #fff;
    }

    #sidebar.active {
        margin-left: -160px;
    }

    #sidebar h1 {
        margin-bottom: 20px;
        font-weight: 700;
        font-size: 30px;
    }

        #sidebar h1 .logo {
            color: #fff;
        }

            #sidebar h1 .logo span {
                font-size: 14px;
                color: #44bef1;
                display: block;
            }

    #sidebar ul.components {
        padding: 0;
    }

    #sidebar ul li {
        font-size: 16px;
    }

        #sidebar ul li > ul {
            margin-left: 10px;
        }

            #sidebar ul li > ul li {
                font-size: 14px;
            }

        #sidebar ul li a {
            padding: 10px 0;
            display: block;
            color: rgba(255, 255, 255, 0.6);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

            #sidebar ul li a span {
                color: #ffc629;
            }

            #sidebar ul li a:hover {
                color: #ffffff;
            }

        #sidebar ul li.active > a {
            background: transparent;
            color: rgba(255,255,255,.5);
        }

@media (max-width: 991.98px) {
    #sidebar {
        margin-left: -160px;
    }

        #sidebar.active {
            margin-left: 0;
        }
}

#sidebar .custom-menu {
    display: inline-block;
    position: absolute;
    top: 60px;
    right: 0;
    margin-right: -20px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
    #sidebar .custom-menu {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

#sidebar .custom-menu .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
}

    #sidebar .custom-menu .btn i {
        margin-right: -40px;
        font-size: 14px;
    }

    #sidebar .custom-menu .btn.btn-primary {
        background: transparent;
        border-color: transparent;
    }

        #sidebar .custom-menu .btn.btn-primary:after {
            z-index: -1;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            content: '';
            -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            transform: rotate(45deg);
            background: #ffc629;
            border-radius: 10px;
        }

        #sidebar .custom-menu .btn.btn-primary:hover, #sidebar .custom-menu .btn.btn-primary:focus {
            background: transparent !important;
            border-color: transparent !important;
        }


.img-profile {
    height: 2rem;
    width: 2rem;
}

.sidebar-divider {
    border-top: 1px solid rgba(255,255,255,.15);
}

@media (max-width: 991.98px) {
    #sidebarCollapse span {
        display: none;
    }
}

.my-a {
    margin-top: .20rem !important;
    margin-bottom: .20rem !important;
}

#exoconecta i, #exoconecta small {
    color: #000;
}

    #exoconecta i, #exoconecta small:hover {
        color: #AD170F;
    }

#exoconecta {
    background-color: #ffc629 !important;
    color: #ffffff !important;
    margin: 0.5rem;
    transition: transform 0.3s ease;
}

    #exoconecta:hover {
        background-color: #ffc629 !important;
        color: #ffffff !important;
        margin: 0.5rem;
        transform: scale(1.03);
    }

.bg-exo {
    background-color: #ffc629 !important;
    color: #000 !important;
    border-color: transparent !important;
}
