/*
    DEMO STYLE
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    /* color: #999; */
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

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

.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: rgba(0, 0, 0, 0.87);
    opacity: 0.8;
    color: #fff;
    transition: all 0.3s;
}

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

#sidebar .sidebar-header {
    padding: 20px;
    background: rgba(0, 0, 0, 0.87);
    opacity: 0.8;
}

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

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

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

#sidebar ul li a:hover {
    color: rgb(255 255 255 / 63%);
    background: rgba(0,0,0,.5);
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: rgba(0,0,0,.9);
}

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

.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: rgba(0,0,0,.85);
}

ul.CTAs {
    padding: 20px;
}

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

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

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

#content {
    width: calc(100% - 250px);
    padding-top: 0px;
    padding-left: 20px;
    padding-right: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

#content.active {
    width: 100%;
}

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

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #content {
        width: 100%;
    }
    #content.active {
        width: calc(100% - 250px);
    }
    #sidebarCollapse span {
        display: none;
    }
}

.btn-primary{
    background-color: #3282b8;
}
.btn-primary:hover{
    background-color: #3282b8;
}
.btn-primary:active{
    background-color: #3282b8;
}
.btn-primary:visited{
    background-color: #3282b8;
}
.btn-primary:focus{
    background-color: #3282b8;
}
.MuiFormControl-root { width: 100%; }
.MuiDialog-paper {
    top: 0;
    position: absolute!important;
}

a.disabled {
    pointer-events: none;
    cursor: default;
    color: #b5b5b5;
}

/* .mce-toolbar .mce-first { float: right; } */
/* Keep wide tables within the page; the menu overlays mobile content. */
@media screen {
    html.eduprime-dashboard, body.eduprime-dashboard {
        width: auto;
        min-height: 100%;
        margin: 0;
        border: 0;
    }
    body.eduprime-dashboard #content nav.navbar { display: flex !important; }
}
#content { box-sizing: border-box; min-width: 0; }
#content .row > [class*="col"] { min-width: 0; }
#content .MuiTableContainer-root,
.student-table-scroll { max-width: 100%; overflow-x: auto; }
.student-table-scroll { -webkit-overflow-scrolling: touch; }
.sidebar-close, .sidebar-backdrop { display: none; }
#sidebar { overflow-y: auto; }
#sidebarCollapse { flex: 0 0 auto; }
#content .navbar .container-fluid { gap: 8px; }
#content .navbar h2, #content .navbar h4 {
    flex: 1 1 160px;
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}
#content .navbar .container-fluid > div { max-width: 100%; }
#content .navbar .MuiButton-root { max-width: 100%; }
#content .navbar .MuiButton-label { white-space: normal; overflow-wrap: anywhere; }

@media (max-width: 768px) {
    #content, #content.active { width: 100%; }
    #sidebar { max-width: calc(100vw - 48px); opacity: 1; }
    #sidebar .sidebar-header { opacity: 1; }
    #sidebar.active ~ .sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 998;
        width: 100%;
        height: 100%;
        border: 0;
        padding: 0;
        background: rgba(0, 0, 0, 0.4);
    }
    .sidebar-close {
        display: block;
        margin: 12px 12px 0 auto;
        padding: 8px 12px;
        border: 1px solid currentColor;
        border-radius: 4px;
        color: inherit;
        background: transparent;
    }
    #content .navbar h2, #content .navbar h4 { font-size: 1.1rem; }
}
