/*
    DEMO STYLE
*/


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


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


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

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

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

#sidebar {
	width: 300px;
	position: fixed;
	top: 108px;
	left: 0;
	height: calc(100% - 138px);
	z-index: 999;
	transition: all 0.3s;
	color: #fff;
}

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

#sidebar .sidebar-header {
    padding: 20px;
}

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

#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: #343a40;
    background: #fff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #454d54;
}

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

.dropdown-toggle-sidebar::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #505962;
}

ul.CTAs {
}

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

a.sidebar-btn-light {
    background: #c7ccd1;
    color: #343a40;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.sidebar-btn {
	display: block;
	border-radius: 5px;
	margin-bottom: 5px;
	cursor: pointer;
	padding: 10px;
}

a.sidebar-lnk {
	font-size: 0.9em !important;
	cursor: pointer;
	color: #2471A3;
}

a.sidebar-lnk:hover {
	font-size: 0.9em !important;
	cursor: pointer;
}


.sidebar-card {
	border-radius: 0 !important;
	margin: 8px;
}

.sidebar-card-header {
	border-radius: 0 !important;
	margin: 2px;
	height: 32px;
	padding-top: 2px;
	padding-left: 10px;
	cursor: pointer;
	color: white;
}

.sidebar-card-header i {
	padding-top: 4px;
	cursor: pointer;
}


.sidebar-card-body {
	margin: 6px;
}

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

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

#content.active {
    width: 100%;
}

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

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

#contentnosidebar {
	padding: 20px;
	min-height: calc(100% - 138px);
	width: 100%;
	transition: all 0.3s;
	position: absolute;
	top: 108px;
	right: 0;
}
