#gn-nav {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
}

#gn-bg {
	background-color: white;
	height: 70px;
	border-bottom: 1px solid #f0f0f0;
	box-sizing: border-box;
	z-index: 9999;
}

.admin #gn-bg {
	background-color: #fae6e6;
}

#gn-wrapper {
	margin: auto;
	width: 100%;
	max-width: 1080px;
	height: 70px;
	position: relative;
}

.gn-logo-wrapper {
	left: 15px;
	top: 0;
	position: absolute;
	z-index: 8888;
}

.gn-logo {
	background-image: url("../images/gjy-logo-h.svg");
	background-size: 180px 180px;
	background-position: left center;
	background-repeat: no-repeat;
	width: 180px;
	height: 70px;
}

#gn-item-container {
	position: absolute;
	right: 5px;
	top: 50%;
	box-sizing: border-box;
	display: inline-block;
	overflow: hidden !important;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	/*max-height: 376px;*/

	-webkit-transition: max-height 0.7s cubic-bezier(1, -0.01, 0.19, 0.84);
    -moz-transition: max-height 0.7s cubic-bezier(1, -0.01, 0.19, 0.84) 0s;
    -o-transition: max-height 0.7s cubic-bezier(1, -0.01, 0.19, 0.84) 0s;
	transition: max-height 0.7s cubic-bezier(1, -0.01, 0.19, 0.84) 0s;
}

.admin #gn-item-container {
	background-color: #fae6e6;
}

.gn-toggled #gn-item-container {
	max-height: 500px;
	/*height: 486px;*/
}

.gn-item-list {
	list-style: none;
	padding: 0;
	margin: 0;
	cursor: default;
}

.gn-item {
	display: inline-block;
}
.gn-item-link {
	text-decoration: none;
	font-size: 14px;
	font-weight: 400;
	color: black;
	padding: 10px;
	margin: 0 10px;
	display: block;

	-webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.gn-item-link:hover {
	color: #ED1F24;
}

.gn-item-link.selected {
	color: #ED1F24;
}

@media only screen and (max-width: 906px) {
	#gn-bg {
		height: auto;
		border: none;
	}

	#gn-wrapper {
		height: 50px;
	}

	.gn-logo {
		width: 150px;
		height: 50px;
		background-size: 150px 150px;
	}

	.gn-item {
		display: block;
	}

	.gn-item-link {
		padding: 10px 0;
		margin: 15px 0;
		font-size: 17px;
		font-weight: 400;
	}

	#gn-item-container {
		/*display: none;*/
		/*height: 0;*/
		max-height: 0px;
		top: 0;
		left: 0;
		width: 100%;
		position: relative;
		padding-top: 49px;
		transform: none;
		background-color: white;
		-webkit-overflow-scrolling: touch;
		border-bottom: 1px solid #f0f0f0;
	}

	#gn-item-container > * {
		transform: translateZ(0);
	}
}

#gn-toggle-button {
	outline: none;
	width: 25px;
	height: 50px;
	position: absolute;
	right: 20px;
	top: 0;
	cursor: pointer;
	background-image: url("../images/gn-menu-button.svg");
	background-repeat: no-repeat;
	background-size: 25px 25px;
	background-position: center;

	-webkit-transition: transform 0.7s cubic-bezier(1, -0.01, 0.19, 0.84);
    -moz-transition: transform 0.7s cubic-bezier(1, -0.01, 0.19, 0.84);
    -o-transition: transform 0.7s cubic-bezier(1, -0.01, 0.19, 0.84);
    transition: transform 0.7s cubic-bezier(1, -0.01, 0.19, 0.84);
}

@media (min-width: 907px) {
	#gn-toggle-button {
		display: none;
	}
}

#page.gn-toggled #gn-toggle-button {
	transform: rotate(-180deg);
	transform-origin: 50% 50%;
}
