/* Overlay style */

.overlay {
	position: fixed;
	width: 100%;
	min-height: 100%;
	top: 0;
	left: 0;
	background: #b9cc0c;
	z-index: 100000;
	overflow: auto;
}

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

/* Mmenu style */
.overlay #si-mmenu {
	text-align: center;
	position: relative;
	top: 50vh;
	left: 30vw;
	-webkit-appearance: none;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	margin-right: auto;
	margin-left: auto;
}

/* @group menu: map */

#map {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: space-between;
	justify-content: space-evenly;
	background-color: rgba(32, 70, 97, 0.06);
	max-width: 100vw;
	padding-bottom: 2vw;
}

#sa-mmenu #map {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: space-between;
	justify-content: space-evenly;
	max-width: 100vw;
	padding-bottom: 2vw;
	background-color: #b8cb0e;
}

#map li::first-line {
	color: #000;
} 

#map li .submap {
	padding-top: 5em;
}

#map ul {
	width: 15em;
	margin: 0;
	padding: 0;
}

#map li {
	list-style-type: none;
	list-style-position: outside;
	display: block;
	float: left;
	clear: left;
	margin: 0;
	padding: 0;
	text-align: left;
}

#map li a {
	color: #214561;
	text-transform: none;
	display: block;
	font: 0.9em/1.1em 'Merriweather Sans',jaf-bernino-sans, sans-serif;
}

#map li a.parent {
	color: #e5302d;
	text-transform: none;
	display: block;
	font: bold 0.9em/1.1em 'Merriweather Sans',jaf-bernino-sans, sans-serif;
}

#map li a:hover {
	color: #5e5244;
	text-decoration: none;
} 


#map li ul li a {
	padding: 0 11px;
	float: left;
	display: block;
	font: 0.7em/1em;
}

#map li ul li a:hover {
	color: #5e5244;
	text-decoration: none;
}

#map li ul.submap li a.parent {
	color: #000;
}

/* @end */

/* Effects */
.overlay-scale {
	visibility: hidden;
	opacity: 0;
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
	-webkit-transition: -webkit-transform 0.2s, opacity 0.2s, visibility 0s 0.2s;
	transition: transform 0.2s, opacity 0.2s, visibility 0s 0.2s;
}

.overlay-scale.open {
	visibility: visible;
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);	
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
	transition: transform 0.4s, opacity 0.4s;
}

/* Button */
button {
	font: 300 1.3rem urbana, nowayregular, jaf-bernino-sans, "Lucida Grande", "Trebuchet MS", Verdana, Arial, Helvetica, Geneva, sans-serif, urbana;
	text-transform: uppercase;
	padding: 0.5em 1em;
	border-bottom: 2px solid #fff;
	text-decoration: none;
	width: 100%;
	background-color: #fff;
	border-style: none;
	color: #6e6e70;
}

dsbutton:hover,
dsbutton:hover i {
	color: #de6a01;
}


@media screen and (max-width: 1425px) {

.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #b9cc0c;
	z-index: 100000;
}

.overlay nav {
	text-align: center;
	position: relative;
	top: 40%;
	height: 65%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.overlay .overlay-close {
	width: 20px;
	height: 20px;
	position: absolute;
	right: 20px;
	top: 20px;
	overflow: hidden;
	border: none;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
}
}

@media screen and (max-width: 640px) {

.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #b9cc0c;
	z-index: 100000;
}

.overlay .overlay-close {
	width: 20px;
	height: 20px;
	position: absolute;
	right: 20px;
	top: 20px;
	overflow: hidden;
	border: none;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
}

}

/* iphones */

@media only screen 
and (min-device-width: 320px) 
and (max-device-width: 667px)  {

/* Button */
——section button {
	font: 300 3rem urbana, nowayregular, jaf-bernino-sans, "Lucida Grande", "Trebuchet MS", Verdana, Arial, Helvetica, Geneva, sans-serif, urbana;
	text-transform: uppercase;
	padding: 0.5em 1em;
	border-bottom: 2px solid #fff;
	text-decoration: none;
	width: 100%;
	background-color: #fff;
	border-style: none;
	color: #6e6e70;
	text-align: center;
}

.overlay #ds-search {
	text-align: center;
	position: relative;
	top: 40vh;
	left: 10vw;
	-webkit-appearance: none;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	margin-right: auto;
	margin-left: auto;
}

.overlay #ds-search input {
	font-size: 1.5em;
	font-weight: 300;
	display: block;
	color: #303330;
	width: 80vw;
	height: 120px;
	-webkit-appearance: none;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	background-color: #fff;
}

.overlay .overlay-close {
	width: 120px;
	height: 120px;
	position: absolute;
	right: 60px;
	top: 60px;
	overflow: hidden;
	border: none;
	background: url(../img/cross-white.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
}

}