#header {
	1height: 140px;
}
.head img { max-width: 100%; }

a, img {
	outline: none;
	border: none;
}

#header2 {
	display: none;
	position: relative;
	background: top left repeat-x url(images/logo_bg.png);
}

#logo2 {
	display: inline-block;
	position: absolute;
	left: 20px;
	top: 15px;
	margin: 0px;
	padding: 0px;
	border-radius: 5px;
	background-color: #fff;

	-webkit-box-shadow: 1px 1px 3px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    1px 1px 3px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         1px 1px 3px 0px rgba(50, 50, 50, 0.75);
}

#btn-menu, #btn-close, #head-title { display: none; }

.sidenav {
	margin: 0 auto;
	margin-left: 180px;
	padding: 20px 0 0;
	text-align: center;	
}

.sidenav a {
	color: #474747;
	display: block;
	text-decoration: none;
	text-align: center;
	vertical-align: bottom;
	min-width: 90px;
	margin: 2px 2px;
	font: normal 20px/45px Mitr;
}

.sidenav  a img {
	width: 65px;
	margin: 12px 0 10px;
}

.sidenav  a {
	display: block;
	cursor: pointer;
	padding: 0 5px;
	margin: 0;
}

.sidenav  a:hover ,
.sidenav  a.active {
	color: white;
	background-color: #86592d;
}

@media screen and (max-width: 900px) {
	.logo { width: 130px; }
}
@media screen and (max-width: 770px) {

	#header { display: none; }
	#header2 {
		display: block;
		position: fixed;
		left: 0; top: 0; width: 100%;
		z-index: 600;
		height: 55px;

		box-shadow: 0px 2px 7px 0px rgba(0,0,0,0.75);
	}
	#logo2 img { height: 55px;  }
	#logo2 {
		margin: 0px;
		padding: 0;
		left: 0;
		top: 0;
		background-color: transparent;
		box-shadow: none;
	}
	#btn-menu { display: inline-block; position: absolute; top: 15px; right: 12px; }
	#btn-menu img { height: 30px; }
	#head-title { 
		display: block; 
		margin: 14px 35px 0px 60px; 
		font: bold 20px/32px verdana;
		text-align: left;
		color: brown;
	}
	#header ul {
		margin: 0 auto;
		margin-left: auto;
	}

	.sidenav {
		#height: 100%; /* 100% Full-height */
		width: 220px;
		position: fixed; /* Stay in place */
		z-index: 7; /* Stay on top */
		top: 5px;
		right: -295px;
		background-color: #bf8040; /* Black*/
		color: #fff;
		overflow-x: hidden; /* Disable horizontal scroll */
		transition: 0.4s; /* 0.5 second transition effect to slide in the sidenav */
		padding: 50px 0px 40px;
		text-align: center;
		border-radius: 10px 0 0 10px;

		-webkit-box-shadow: -4px 2px 7px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: -4px 2px 7px 0px rgba(0,0,0,0.75);
		box-shadow: -2px 2px 7px 0px rgba(0,0,0,0.75);
	}

	#btn-close {
		display: inline-block;
		position: absolute;
		top: 0; right: 0;
		padding: 10px 20px;
		font: bold 22px arial;
		cursor: pointer;
		background: #86592d;
		border-radius: 0 0 5px 5px;
	}
	#btn-close:hover {
		background: #86592d;
	}
	.sidenav a { 
		min-width: 0;
		color: #fff;
	}
}
