/*
    DEMO STYLE
*/
@import url("//fonts.googleapis.com/css?family=Roboto:400,100,300,500,700");

body {
    font-family: 'Roboto', sans-serif;
    background: #fafafa;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: .875rem;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

/*custom colors*/

.bg-primary{
    background-color: #425b76;
  }




.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    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: #fafafa;
    color: #33475b;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}
#sidebar .sidebar-header {
    padding: 20px;
    background: #fafafa;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

#sidebar ul.components {
    padding: 20px 0;
  /*  border-bottom: 1px solid #999;*/
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px 10px 10px 30px;
    font-size: 1rem;
    display: block;
}

#sidebar ul li a:hover {
    color: #33475b;
    background: #eaf0f6;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #425b76;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a, ul ul ul a {
    font-size: 0.9rem !important;
    padding-left: 40px !important;
    background: #eaf0f6;
}
/*
#admin #pageSubmenu li a{
    font-size: 0.9rem !important;
    padding-left: 50px !important;
    background: #eaf0f6;
}*/


button#sidebarCollapse{
    color: #fff;
    background: #425b76

}


a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

#admin #pageSubmenu li a{
    font-size: 0.9rem !important;
    padding-left: 50px !important;
    background: #eaf0f6;
}
/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: calc(100% - 250px);
    padding: 40px;
    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;
    }
}