/*===========================================================================*/

/*  media quary:1000px  */

/*===========================================================================*/
@media screen and (max-width: 1000px) {



	/* Overlay style */
	.overlay {
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background: rgba(0,134,205,0.9);
		z-index:9999 !important;
	}

	/* Overlay closing cross */
	.overlay .overlay-close {
		width: 50px;
		height: 50px;
		position: absolute;
		right: 20px;
		top: 20px;
		overflow: hidden;
		border: none;
		background: url(/common_img/cross.png) no-repeat center center;
		background-size:100%;
		text-indent: 200%;
		color: transparent;
		outline: none;
		z-index: 100;
	}

	/* Menu style */
	/*.overlay nav {
		text-align: center;
		position: relative;
		top: 40%;
		height: 60%;
		font-size: 30px;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	}*/
	.overlay nav {
		text-align: center;
		position: relative;
		top: 35%;
		height: 60%;
		font-size: 24px;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	}
	.overlay ul {
		list-style: none;
		padding: 0;
		margin: 0 auto;
		display: inline-block;
		height: 100%;
		position: relative;
	}

	/*.overlay ul li {
		display: block;
		height: 20%;
		height: calc(100% / 5);
		min-height: 40px;
	}*/

	.overlay ul li {
		margin-bottom:15px;
		font-weight:bold;
	}

	.overlay ul li a {
		font-weight: 300;
		display: block;
		color: #fff;
		-webkit-transition: color 0.2s;
		transition: color 0.2s;
	}

	.overlay ul li a:hover,
	.overlay ul li a:focus {
		/*color: #e3fcb1;*/
	}

	#sub-lineup li{
		margin-bottom:0px !important;
		font-size:0.8em !important;
		font-weight:normal !important;
	}
	#sub-lineup li a:before{
		content: "\f105";
		color: #fff;
		font-family: "FontAwesome";
		padding: 0 7px 0 0;
	}

	/* Effects */
	.overlay-hugeinc {
		opacity: 0;
		visibility: hidden;
		-webkit-transition: opacity 0.5s, visibility 0s 0.5s;
		transition: opacity 0.5s, visibility 0s 0.5s;
	}

	.overlay-hugeinc.open {
		opacity: 1;
		visibility: visible;
		-webkit-transition: opacity 0.5s;
		transition: opacity 0.5s;
	}

	.overlay-hugeinc nav {
		-webkit-perspective: 1200px;
		perspective: 1200px;
	}

	.overlay-hugeinc nav ul {
		opacity: 0.4;
		-webkit-transform: translateY(-25%) rotateX(35deg);
		transform: translateY(-25%) rotateX(35deg);
		-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
		transition: transform 0.5s, opacity 0.5s;
	}

	.overlay-hugeinc.open nav ul {
		opacity: 1;
		-webkit-transform: rotateX(0deg);
		transform: rotateX(0deg);
	}

	.overlay-hugeinc.close nav ul {
		-webkit-transform: translateY(25%) rotateX(-35deg);
		transform: translateY(25%) rotateX(-35deg);
	}
}

	/*@media screen and (max-height: 30.5em) {
		.overlay nav {
			height: 70%;
			font-size: 34px;
		}
		.overlay ul li {
			min-height: 34px;
		}
	}*/