@charset "UTF-8";


/* Menu Toggle Button for Main Menu */

button#menuToggleButton {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;

	cursor: pointer;

	border: none;
    outline: none;
    margin: 0 auto 0.5em auto;
    font: inherit;
    font-size: inherit;

    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;

	width: 7em;
	box-sizing: content-box;
}

	html[lang='de'] button#menuToggleButton {
		width: 9.4em;
	}

#menuToggleButton {
	display: inline-block;
	padding: 1em 1.5em 1em 1.5em;
	margin-bottom: 0.5em;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	line-height: 1;

	color: rgb(70,70,70);
	background-color: transparent;
	white-space: nowrap;
}

#menuToggleButton span.menuToggleButtonLabel {
	transition: all .2s ease-in-out;
}


/* hide for non-JS users; gets set to display: block again by JS */
#menuToggleButton {
	display: none;
}

button#menuToggleButton:focus {
	outline: solid 3px #333333;
	outline-color: #333333;
}

button#menuToggleButton:hover span.menuToggleButtonLabel,
button#menuToggleButton:active span.menuToggleButtonLabel,
button#menuToggleButton:focus span.menuToggleButtonLabel {
}

#menuToggleButton span#menuToggleButtonIcon:before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 1.1em;
	height: 1.1em;
	margin-right: 0.3em;
	background-image: url(../images/menu-icon-show.svg);
	background-repeat: no-repeat;
	background-position: center 0.1em;
	background-color: transparent;
}

#menuToggleButton span.menuToggleButtonLabel {
	display: inline-block;
	vertical-align: middle;
	text-align: left;
	width: 5em;
}

	html[lang='de'] #menuToggleButton span.menuToggleButtonLabel {
		width: 7.4em;
	}

	@media only screen and (min-width: 1130px),
	only screen and (min-width: 1060px) and (-webkit-min-device-pixel-ratio: 1.25),
	only screen and (min-width: 1060px) and ( min--moz-device-pixel-ratio: 1.25),
	only screen and (min-width: 1060px) and ( -moz-min-device-pixel-ratio: 1.25),
	only screen and (min-width: 1060px) and ( -o-min-device-pixel-ratio: 1.25/1),
	only screen and (min-width: 1060px) and ( min-device-pixel-ratio: 1.25),
	only screen and (min-width: 1060px) and ( min-resolution: 200dpi),
	only screen and (min-width: 1060px) and ( min-resolution: 1.25dppx) {
		
		a#menuToggleButton {
			display: none;
		}
	}

/* Arrows Up and Down (also used in TOC menu button) */

span.arrow-spin {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: middle;	
	
	background-image: url("../images/icon-angle-down.svg");
	background-size: 0.9em 0.9em;
	background-position: center center;
	background-repeat: no-repeat;
	
	transition: transform 0.5s ease;
	transform-origin: center;
	
}

#menuToggleButtonToc span.arrow-spin {
	margin-left: 0.4em;
}

#menuToggleButton.clickToHide span.arrow-spin,
#menuToggleButtonToc.clickToHide span.arrow-spin {
	transform: rotate(180deg);
	transform-origin: center;
}


/* Main Menu */

ul.main-menu {
	list-style: none;
	text-align: center;
	font-size: 1.2em;
	line-height: 1.25;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
	position: relative;
	
	background: #ffffff;
}

ul.main-menu > li {
	position: relative;
}

ul.main-menu > li > a {
	text-decoration: none;
	display: block;
	padding: 0.25em 0;
	position: relative;
}
/*
ul.main-menu:before {
	content: '';
	display: block;
	position: absolute;
	left: -10000px;
	right: -10000px;
	top: 50%;
	transform: translateY(-50%);
	height: 0.5em;
	pointer-events: none;
	z-index: -1;
	background-color: #333333;
}

ul.main-menu > li > a:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 0.5em;
	pointer-events: none;
	z-index: -1;
	background-color: #333333;
}
*/

ul.main-menu > li > a:before {
	background-color: transparent;
}

ul.main-menu > li:first-child > a:before {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

ul.main-menu > li:last-child > a:before {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

ul.main-menu > li > a > span.menu-item-label {
	display: inline-block;
	vertical-align: text-top;
	position: relative;
	z-index: 10;
	padding: 0 0.5em 0.3em 0.5em;
}

@media only screen and (min-width: 1170px),
		only screen and (min-width: 1100px) and (-webkit-min-device-pixel-ratio: 1.25) and (orientation: landscape),
		only screen and (min-width: 1100px) and ( min--moz-device-pixel-ratio: 1.25) and (orientation: landscape),
		only screen and (min-width: 1100px) and ( -moz-min-device-pixel-ratio: 1.25) and (orientation: landscape),
		only screen and (min-width: 1100px) and ( -o-min-device-pixel-ratio: 1.25/1) and (orientation: landscape),
		only screen and (min-width: 1100px) and ( min-device-pixel-ratio: 1.25) and (orientation: landscape),
		only screen and (min-width: 1100px) and ( min-resolution: 200dpi) and (orientation: landscape),
		only screen and (min-width: 1100px) and ( min-resolution: 1.25dppx) and (orientation: landscape) {
	
	.main-menu-container {
		text-align: left;
	}

	ul.main-menu {
		background: transparent;
	}
			
	ul.main-menu > li {
		display: inline-block;
	}
	
	ul.main-menu > li > a {
		padding: 1em 0.3em;
	}
			
	/*ul.main-menu > li.menu-item-about > a,
	ul.main-menu > li.menu-item-about > a > span{
		padding-left: 0;
	}*/
			
}


/* Active menu item */

.page-about ul.main-menu > li.menu-item-about > a:before,
.page-text ul.main-menu > li.menu-item-text > a:before,
.page-translation ul.main-menu > li.menu-item-translation > a:before,
.page-academia ul.main-menu > li.menu-item-academia > a:before,
.page-layout ul.main-menu > li.menu-item-layout > a:before,
.page-web ul.main-menu > li.menu-item-webdesign > a:before,
.page-workshops ul.main-menu > li.menu-item-workshops > a:before,
.page-contact ul.main-menu > li.menu-item-contact > a:before,
.page-prices ul.main-menu > li.menu-item-prices > a:before{
    content: '';
    display: block;
    opacity: 1;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 0.9em;
    width: 90%;
    height: 3px;
    z-index: -60;
    background-color: #333333;
}

/*
.page-text ul.main-menu > li.menu-item-text:after {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 250%;
	top: -100%;
	z-index: -100;

	background-image: linear-gradient(-45deg, #9542d9, #9542d9, #3988c8, #49ae44, #e4ce17, #e1a30a, #ec5007, #ec5007);
	background-size: 110% 110%;
	filter: blur(2px);	
}

.page-text ul.main-menu > li.menu-item-text {
	color: white;
}*/

/* Hover and focus effect */

ul.main-menu > li > a:after {
    content: '';
    display: block;
    opacity: 0;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 0.9em;
    width: 90%;
    height: 3px;
    z-index: -50;
    transition: opacity 0.2s ease-out;
    
    background-image: linear-gradient(45deg, #9542d9, #9542d9, #3988c8, #49ae44, #e4ce17, #e1a30a, #ec5007, #ec5007);
    background-size: 200% 200%;
    animation: prideflashloopbutton 4s ease infinite forwards;
}

ul.main-menu > li > a:hover:after,
ul.main-menu > li > a:active:after,
ul.main-menu > li > a:focus:after {
    opacity: 1;
}