/* For MENU */

@media only screen and (max-width: 768px)
{
	.bar1, .bar2, .bar3, .bar4
	{
		width: 20px;
		height: 2px;
		background-color: #3e3e3e;
		margin: 3px 0;
	}
	#menuBar { cursor: pointer; width: 20px; float:right; overflow:hidden; padding:1% 1% 0px 0px; }
}
@media only screen and (min-width: 800px)
{
	.bar1, .bar2, .bar3, .bar4
	{
		width: 25px;
		height: 2px;
		background-color: #3e3e3e;
		margin: 3px 0;
	}
	#menuBar { cursor: pointer; width:25px; padding:1% 1% 0px 0px; float:right; overflow:hidden; }
}
@media only screen and (min-width: 1200px)
{
	.bar1, .bar2, .bar3, .bar4
	{
		width: 30px;
		height: 2px;
		background-color: #3e3e3e;
		margin: 4px 0;
	}
	#menuBar { cursor:pointer; width:30px; margin:30px 1.7% 0px 0px; padding:0; float:right; overflow:hidden; }
}

.sidenav
{
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #d2d2d2;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a
{
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: #000;
    display: block;
    transition: 0.3s
}

.sidenav a:hover, .offcanvas a:focus
{
    color: #00008B;
}

.closebtn
{
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 34px !important;
    margin-left: 50px;
	font-family: verdana;
}

@media screen and (max-height: 450px)
{
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/* For Theme Switch */

.themeSection { padding: 15px; }
.switch
{
	position: relative;
	display: inline-block;
	width: 40px;
	height: 18px;
}

.switch input
{ 
	opacity: 0;
	width: 0;
	height: 0;
}

.slider
{
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #3e3e3e;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 34px;
}

.slider:before
{
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	background-color: #fff;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 50%;
}

input:checked + .slider
{
	background-color: #2196F3;
}

input:focus + .slider
{
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before
{
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}