/* app css */

.card-header-tabs .nav-item .nav-link {
    color: gray;
}

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

#sidebar {
    width: 250px;
    position: absolute;
    transition: all .3s ease-out;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: white;
    color: #707070;
    z-index: 99;
    padding: 1rem 0.5rem 0.5rem;
}

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

#sidebar::-webkit-scrollbar-thumb {
    background-color: white;
    transition: all .3s;
    border-radius: 25px;
}

#sidebar:hover::-webkit-scrollbar-thumb {
    background-color: #ced9e1;
}

#copyright {
    color: black;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}

#contentWrapper {
    padding: 0rem 1rem;
    background-color: #f5f5f5;
    min-height: 100vh;
    width: calc(100% - 250px);
    position: absolute;
    top: 0;
    right: 0;
    transition: all .3s;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    bottom: 0;
}

#contentWrapper.active {
    width: 100%;
}

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

#sidebar ul.components {
    padding: 20px 0;
    font-size: 0.9em;
}

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

#sidebar ul li a {
    padding: 8px;
    margin-left: 6px;
    margin-right: 6px;
    font-size: 1em;
    font-weight: 700;
    display: block;
    color: inherit;
    transition: all 0.3s;
    text-decoration: none;
}

#sidebar ul li a:hover {
    color: #0067b3;
    background: #fff;
    text-decoration: none;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #0067b3 !important;
    background: #ffffff;
}

ul ul a {
    font-size: 0.75rem !important;
    padding-left: 30px !important;
    background: #ffffff;
}

a[data-toggle="collapse"] {
    position: relative;
}

.btn-top {
    position: fixed;
    bottom: 1rem;
    right: 1.5rem;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    visibility: hidden;
    z-index: 111;
}

.btn-top:focus {
    outline: none;
    box-shadow: none;
}

#sidebarHeader {
    font-family: 'Quicksand', 'sans-serif';
}

#navbarMain {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: #ffffff;
    z-index: 96;
    border: none;
    border-radius: .5rem;
    box-shadow: 0 0 15px -3px rgba(0, 0, 0, .1), 0 0 6px -2px rgba(0, 0, 0, .05);
}

#footer {
    height: 50px;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
    border-radius: .5rem;
    border-style: none;
    overflow: hidden;
}


/* icon  */

#sideArrowLeft {
    transition: all .5s;
}

#sideArrowLeft.active {
    transition: all .5s;
    transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
}

/* scroll custom */
.scroll-custom {
    overflow: auto;
    -webkit-overflow-scrolling: touch;

}

.scroll-custom::-webkit-scrollbar {
    width: 2px;
}

.scroll-custom::-webkit-scrollbar-thumb {
    background-color: white;
    transition: all .3s;
    border-radius: 25px;
}

.scroll-custom:hover::-webkit-scrollbar-thumb {
    background-color: #ced9e1;
}

@media (max-width: 768px) {

    .overlay {
        display: none;
        position: fixed;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 97;
        opacity: 0;
        transition: all 0.5s ease-in-out;
    }

    .overlay.active {
        display: block;
        opacity: .5;
    }

    #sidebar {
        position: fixed;
        left: -250px;
    }

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

    /* #sidebar.active {
        margin-left: 0;
    } */
    #contentWrapper {
        width: 100%;
    }

    /* #contentWrapper.active {
        width: calc(100% - 250px);
    } */
    #sidebarCollapse span {
        display: none;
    }

    #sideArrowLeft {
        transform: scaleX(-1);
    }
}

#pesertaContainer {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}