header {
	width: 100%;
	padding:0px 0px;
	background-color: rgba(255,255,255,.9);
	position:fixed;
	z-index: 9999;
}

header .container {
	position: relative;
	text-align: center;
}



header .btn-flat {
	position: absolute;
	cursor: pointer;
	cursor: hand;
	color: #000 !important;
	top: 0px;
    right: 0px;
    box-shadow: none;
    width: 36px;
    height: 36px;
    line-height: 36px;
}

.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.8);
	left: 0px;
	top: 0px;
	z-index: 999;
	display: none;
	padding-top: 50px;
	border:10px solid white;

}

.open {
	display: block;
}

.overlay .close {
	display: none;
}

.overlay nav {
	text-align: center;
	position: relative;
	top: 50%;
	height: 60%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	background-color: transparent;
	box-shadow:none;
}

.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	position: relative;
}

.overlay ul li {
	display: block;
	height: 25%;
	height: calc(100% / 4);
	min-height: 34px;
	float: none;
}

.overlay ul li a {
	text-align: left;
	font-weight: 300;
	display: block;
	color: white;
  text-decoration:none;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
  text-transform:uppercase;
	font-size: 20px;
	font-family: 'Playfair Display', serif;
}
}

.overlay ul li a img {
	display: none;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	color: #dddddd;
}


@media (min-width: 768px) {

header {
	padding:10px 0px;
}

header .btn-flat {
	width: 56px;
    height: 56px;
	left: 50%;
	top: 50%;
	right: inherit;
   transform: translate(150px, -50%);
   line-height: 56px;
}

header .container img {
	margin: 0px auto;
}

.overlay {
	padding-top: 50px;
	border:20px solid white;
}


.overlay .close {
	display: block;
	position: absolute;
	right: 50px;
	top: 100px;
	color: #fff;
	cursor: pointer;
	cursor: hand;
}

.overlay .close i {
	font-weight: normal;
	font-size: 60px;
}

.overlay nav {
}

.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	position: relative;
}

.overlay ul li {
	height: calc(100% / 5);
	min-height: 54px;
}

.overlay ul li a {
	font-size: 40px;
}

.overlay ul li a img {
	display: inline-block;
	float: left;
	margin-right: 20px;
	margin-top: 5px;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	color: #dddddd;
}


}
