/* ----------------------------------------------------------
General Settings
---------------------------------------------------------- */


/* ----------------------------------------------------------
Style for PCs
---------------------------------------------------------- */
@media screen and (min-width: 1025px) {

	/* Menu */
	#menu-box {
		width: 100%;
		height:50px;
		display:block;
	}
	#menu {
		width: 100%;
		max-width:1400px;
		height:50px;
		margin: 0 auto 0;
		display: block;
	}
	#menu li{
		display: block;
		float: left;
		width: 16.6666667%;
		height:50px;
		margin: 0;
		padding: 0;
		font-family: 'Cinzel', serif;
		font-size:14px;
		font-weight:400;
		line-height:50px;
		border-right: 1px solid #999;
	}
	#menu li:first-child {
		border-left: 1px solid #999;
	}
	#menu li a {
		width:auto;
		height:50px;
		display: block;
		color: #fff;
		text-align: center;
		text-decoration: none;
		-webkit-transition: all 0.4s ease;
		-moz-transition: all 0.4s ease;
		-o-transition: all 0.4s ease;
		transition: all  0.4s ease;
		text-shadow:0px 0px 2px #000;
	}
	#menu li a:hover{
		color:#000;
		background-color: #fff;
		text-shadow:0px 0px 2px #fff;
	}

}

/* ----------------------------------------------------------
Style for iPad Pro
---------------------------------------------------------- */
@media screen and (min-width: 769px) and (max-width: 1024px) {

	/* Menu */
	#menu-box {
		width: 100%;
		height:auto;
		display:block;
	}
	#menu {
	width: 100%;
	height: auto;
	margin: 0 auto 0;
	display: block;
	border-top: 1px solid #444;
	border-left: 1px solid #444;
	background-image: url(../js/overlays/02.png);
	}
	#menu li{
		display: block;
		float: left;
		width: 33.3333333333333%;
		height:50px;
		margin: 0;
		padding: 0;
		font-size:14px;
		font-weight:400;
		line-height:50px;
		border-right: 1px solid #444;
		border-bottom: 1px solid #444;
	}
	#menu li a {
		width:auto;
		height:50px;
		display: block;
		color: #fff;
		text-align: center;
		text-decoration: none;
		-webkit-transition: all 0.4s ease;
		-moz-transition: all 0.4s ease;
		-o-transition: all 0.4s ease;
		transition: all  0.4s ease;
		text-shadow:0px 0px 2px #000;
	}
	#menu li a:hover{
		color:#000;
		background-color: #fff;
		text-shadow:0px 0px 2px #fff;
	}

}

/* ----------------------------------------------------------
Style for Smartphone
---------------------------------------------------------- */
@media screen and (max-width: 768px) {

	/* Menu */
	#menu {
		width:100%;
		height:auto;
		display: none;
		position:absolute;
		z-index:9997;
		top:73px;
		padding:1px 0 0 1px;
	}
	#menu li {
		width: 50%;
		display:block;
		padding:0 1px 1px 0;
		float: left;
	}
	#menu li a {
	display: block;
	padding: 10px 0px 10px;
	background-color:#f3f3f3;
	font-size:14px;
		line-height:1.4em;
		font-weight:normal;
		color:#333;
		text-align: center;
		text-decoration:none;
	}
	#toggle {
		position: absolute;
		width:50px;
		height:50px;
		display: block;
		background: #f3f3f3;
		top:23px;
		right:5px;
	}
	#toggle a{
		position: relative;
		padding: 0;
		text-indent:-9999px;
		line-height:50px;
		width:50px;
		height:50px;
		display: block;
		background-image:url(../img/header/menuicon.png);
		background-position:center center;
		background-repeat:no-repeat;
		background-size:80% 80%;
	}

}
