

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



#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    right: 0;
	margin-right:-250px;
    height: 100vh;
    z-index: 999;
    background: #CCC;
    color: #fff;
    transition: all 0.3s;
}

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

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

#sidebar ul.components {
    padding: 20px 0;
   
}

 

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

 

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

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

 

#sidebar ul.CTAs {
    padding: 20px;
}

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

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

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

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

#content {
   width: 100%;
   
   margin-left:auto
}
#sidebarCollapse{
	display:inline-block;
 
padding:5px 10px;
	border:solid 1px #333;
	border-radius: 5px;
	cursor: pointer
 
}
#content.active, #header.active, #SecNav.active {
 	width: calc(100% - 250px);
	 
}
#content.active, #header.active{
	
	margin-left: 0
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #7386D5;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #fff;
    color: #7386D5;
}

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


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

@media (max-width: 768px) {
	#SecNav{display:none}

	#content.active, #header.active {
 	width: 100%;
	 
}
 	
	#header{height:auto;padding:5px}
	.MainLogo{
		font-size:22px
	}
	#sidebar{
		width:100%;
		top:90px;
		height:auto;
		display:none
	}
	
	#sidebar ul li a{padding:5px}
	
	 
    #sidebar.active {
        display:block
    }
    #content {
        width: 100%;
    }
    
    #sidebarCollapse span {
        display: none;
    }
	 
}

 


 