* { margin: 0; padding: 0; }

@media screen and (max-width : 977px) {

.container {
    position: relative;
    height: 100%;
    width: 100%;
    right: 0;
	padding: 0;
    -webkit-transition: right 0.4s ease-in-out;
    -moz-transition: right 0.4s ease-in-out;
    -ms-transition: right 0.4s ease-in-out;
    -o-transition: right 0.4s ease-in-out;
    transition: right 0.4s ease-in-out;
}

.container.open-sidebar { right: 240px; }

.swipe-area {
    position: absolute;
    width: 50px;
    right: 0;
	top: 0;
    height: 100%;
    background: transparent;
    z-index: 9;
}

#sidebar {
	display: block;
    background: #000043;
    position: fixed;
    width: 0;
	padding: 5px 0;
    height: 100%;
    right: -240px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
	-webkit-transition: width 0.3s ease-in-out;
    -moz-transition: width 0.3s ease-in-out;
    -ms-transition: width 0.3s ease-in-out;
    -o-transition: width 0.3s ease-in-out;
    transition: width 0.3s ease-in-out;
	z-index: 18;
	top: 0;
	box-shadow: rgba(0,0,0,0.4) -4px 0 5px;
}

#sidebar ul {
	position: fixed;
	width: 240px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#sidebar ul li {
    margin: 0;
	border-bottom: 1px solid #666;
}

#sidebar ul li a {
    padding: 10px 30px;
    /*font-size: 16px;*/
	line-height: 32px;
    /*font-weight: 600;*/
    color: #A0A0A0;
    text-decoration: none;
    display: block;
}

#sidebar ul li i {
	font-size: 2em;
	vertical-align: -3px;
}

#sidebar ul li a:hover,
#sidebar ul li a.active {
	color: #FFD782;
}

#sidebar.open-sidebar {
	display: block;
    background: #3f3f3f;
    position: absolute;
    width: 240px;
	padding: 20px 0;
    height: 100%;
    right: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#sidebar.open-sidebar ul {
	position: fixed;
	width: 240px;
    margin: 0;
    padding: 0;
    list-style: none;
	background: #3f3f3f;
}

#sidebar.open-sidebar ul li {
    margin: 0;
	background: #3f3f3f;
}

#sidebar.open-sidebar ul li a {
    padding: 10px 40px;
    font-size: 13px;
    font-weight: 100;
    color: rgb(141, 141, 141);
    text-decoration: none;
    display: block;
    -webkit-transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -ms-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}

#sidebar.open-sidebar ul li a:hover {
	color: #ffd782;
}

.main-content {
    width: 100%;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    position: relative;
}

.main-content .content{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
	padding: 0;
	width: 100%;
	-webkit-transition: opacity 0.4s ease-in-out;
    -moz-transition: opacity 0.4s ease-in-out;
    -ms-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
}

.main-content .content.open-sidebar{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
	padding: 0;
	width: 100%;
	opacity: 0.5;
	-webkit-transition: opacity 0.4s ease-in-out;
    -moz-transition: opacity 0.4s ease-in-out;
    -ms-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
}

#sidebar-toggle {
    background: transparent;
    display: block;
	right: 0;
    position: absolute;
	margin-top: 0;
    padding: 30px 15px;
    float: right;
	z-index: 12;
	top: 0;
	cursor: pointer;
}

#sidebar-toggle .bar {
    display: block;
    width: 36px;
    margin-bottom: 6px;
    height: 6px;
    background-color: #666;
    border-radius: 2px;
}

#sidebar-toggle:hover .bar, #sidebar-toggle:active .bar, #sidebar-toggle:focus .bar {
    background-color: #E0E0E0;
}

#sidebar-toggle .bar:last-child {
    margin-bottom: 0;
}

#sidebar-toggle.active-toggle .bar{
    display: block;
    width: 36px;
    margin-bottom: 6px;
    height: 6px;
    background-color: #ffcf06;
    border-radius: 2px;   
}

#sidebar-close {
    background: transparent none repeat scroll 0 0;
    color: rgb(141, 141, 141);
    display: block;
    float: right;
    padding: 0;
    position: absolute;
    right: 5px;
    top: 4px;
    z-index: 1000;
	cursor: pointer;
}

.close-button {
	width: 32px;
	height: 38px;
	overflow: hidden;
	/*text-indent: 16px;*/
	border: none;
	z-index: 1001;
	background: transparent;
	color: transparent;
	cursor: pointer;
	padding: 0;
}

.close-button::before,
.close-button::after {
	content: '';
	position: absolute;
	width: 6px;
	height: 100%;
	top: 0;
	left: 40%;
	background: #95a5a6;
	border-radius: 3px;
}

.close-button:active::before,
.close-button:hover::before,
.close-button:active::after,
.close-button:hover::after,
.close-button:focus::before,
.close-button:focus::after {
	background: #E0E0E0;
}

.close-button::before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.close-button::after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.mobile { display: none; }

}



@media screen and (min-width : 978px) {

.close-button, .swipe-area #sidebar, #sidebar ul, #sidebar-toggle .bar  { display: none; }
.container.open-sidebar { right: 0; }

.container {
    position: relative;
    height: 100%;
    width: 100%;
    right: 0;
	padding: 0;
	overflow: auto;
}

.main-content {
    width: 100%;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    position: relative;
}

.main-content .content{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
	padding: 0;
	width: 100%;
}

}