/*
    Sidemenu STYLE
*/

a,
a:hover,
a:focus {
    transition: all 0.3s;
}

.navbar {
    padding: .5rem;
    background: #fefefe;
    border: none;
    border-radius: 0;
    margin-bottom: 4rem;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.hide {
	visibility: hidden;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 250px;  /* If this changes, update it everywhere it appears in this file. */
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 998; /* 1 less than the skip to main content accessibility link */
    background: #fefefe;
    color: #0A5E33;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: .25rem;
    background: #0A5E33;
	 color: #fefefe;
}

#sidebar ul.menuitems {
    padding: 1.25rem 0;
    /*border-bottom: 1px solid #0A5E33;*/
}

#sidebar ul p {
    color: #222222;
    padding: .75rem;
}

#sidebar ul li a {
    padding: .75rem;
    display: block;
	 text-decoration: none;
}

#sidebar ul li a:hover {
    color: #fefefe;
    background: #0A5E33;
	 text-decoration: underline;
}

a[aria-expanded="true"] {
    color: #0A5E33;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 1.25rem;
    transform: translateY(-50%);
}

ul ul a {
    padding-left: 1.75em !important;
}

li#sidebarCollapse {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	cursor: pointer;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#body-content {
    width: calc(100% - 250px);
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

#body-content.active {
    width: 100%;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #body-content {
        width: 100%;
    }
    #body-content.active {
        width: calc(100% - 250px);
    }
    #sidebarCollapse span {
        display: none;  /* hides the text next to the hamburger */
    }
	 #mainmenu {
	     padding: 0 .5em .5em 0;
	 }
}

@media (min-width:769px) {
   #hide-on-large-displays {
       display: none;
	}
	#mainmenu {
		display: none;
	}

}