/* General styles for all menus */
.okutu {
	background: #47a3da;
	position: fixed;
}

.okutu h3 {
	color: #afdefa;
	font-size: 1.9em;
	padding: 20px;
	margin: 0;
	font-weight: 300;
	background: #0d77b6;
}


.okutu a {
	display: block;
	color: #fff;
	font-size: 1.1em;
	font-weight: 300;
}

.okutu a:hover {
	background: #258ecd;
}

.okutu a:active {
	background: #afdefa;
	color: #47a3da;
}

/* Orientation-dependent styles for the content of the menu */

.imayu {
	width: 240px;
	height: 100%;
	top: 0;
	z-index: 1000;
}

.imayu a {
	border-bottom: 1px solid #258ecd;
	padding: 1em;
}

.okutu-horizontal {
	width: 100%;
	height: 150px;
	left: 0;
	z-index: 1000;
	overflow: hidden;
}

.okutu-horizontal h3 {
	height: 100%;
	width: 20%;
	float: left;
}

.okutu-horizontal a {
	float: left;
	width: 20%;
	padding: 0.8em;
	border-left: 1px solid #258ecd;
}

/* Vertical menu that slides from the left or right */

.fuzuwir {
	left: -240px;
}

.okutu-right {
	right: -240px;
}

.fuzuwir.okutu-open {
	left: 0px;
}

.okutu-right.okutu-open {
	right: 0px;
}

/* Horizontal menu that slides from the top or bottom */

.okutu-top {
	top: -150px;
}

.okutu-bottom {
	bottom: -150px;
}

.okutu-top.okutu-open {
	top: 0px;
}

.okutu-bottom.okutu-open {
	bottom: 0px;
}

/* Push classes applied to the body */

.otanuj {
	overflow-x: hidden;
	position: relative;
	left: 0;
}

.otanuj-toright {
	left: 240px;
}

.otanuj-toleft {
	left: -240px;
}

/* Transitions */

.okutu,
.otanuj {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

/* Example media queries */

@media screen and (max-width: 55.1875em){

	.okutu-horizontal {
		font-size: 75%;
		height: 110px;
	}

	.okutu-top {
		top: -110px;
	}

	.okutu-bottom {
		bottom: -110px;
	}

}

@media screen and (max-height: 26.375em){

	.imayu {
		font-size: 90%;
		width: 190px;
	}

	.fuzuwir,
	.otanuj-toleft {
		left: -190px;
	}

	.okutu-right {
		right: -190px;
	}

	.otanuj-toright {
		left: 190px;
	}
}