/* Font face*/
@font-face {
	font-family: Futura;
	src: url(../fonts/FuturaLightBT.ttf);
}

@font-face {
	font-family: Futura;
	src: url(../fonts/FuturaMediumBT.ttf);
	font-weight: bold;
}

@font-face {
	font-family: Futura;
	src: url(../fonts/FuturaLightItalicBT.ttf);
	font-style: italic;
}

@font-face {
	font-family: Futura;
	src: url(../fonts/FuturaLightItalicBT.ttf);
	font-style: oblique;
}

/* General style */
body {
	font-family: "Futura", Tahoma, Geneva, sans-serif;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;

	/* No selectable items */
	-webkit-touch-callout: none;				/* iOS Safari */
	-webkit-user-select: none;					/* Chrome/Safari/Opera */
	-khtml-user-select: none;					/* Konqueror */
	-moz-user-select: none;						/* Firefox */
	-ms-user-select: none;						/* Internet Explorer/Edge */
	user-select: none; 							/*  */
}

a:focus {
    outline: 0;
}

.default-top-header-padding {
	padding-top: 75px;
}

#page-wrapper {
	display: table;
	width: inherit;
	height: -moz-calc(100% - 75px);
	height: -webkit-calc(100% - 75px);
	height: calc(100% - 75px);
}

#page-container {
	display: table-cell;
	vertical-align: middle;
	padding: 0 20px 20px;
}

/* Header style */
#header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: calc(100% - 40px);
	padding: 20px;
	height: 20px;
	background-color: #fff;
	z-index: 100;
}

#header div {
	height: inherit;
}

#title, #menu, #submenu {
	float: left;
}

#options {
	float: right;
}

#title {
	min-width: 150px;
	width: calc((100% - 840px)/2);
}

#title a {
	width: inherit;
	text-decoration: none;
	font-size: 11pt; /*14.66px*/ /*0.92em*/
	color: #000;
	cursor: pointer;
}

#menu {
	width: 500px;
}

#options-gallery, #options-flipbook, #options-news {
	float: right;
}

#menu-list, #submenu-list, #options-gallery, #options-flipbook, #options-news {
	height: inherit;
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 9pt; /*12px*/ /*0.753em*/
	cursor: default;
}

#menu-list, #submenu-list{
	padding-left: 20px;
}

#menu-list li, #submenu-list li, #options-gallery li, #options-flipbook li, #options-news li {
	display: inline-block;
	margin-right: 10px;
	vertical-align: middle;
	cursor: pointer;
}

#menu-list li, #submenu-list li {
	color: #666;
}

#menu-list li a, #submenu-list li a {
	color: inherit;
	text-decoration: none;
}

#submenu-sound-image {
	max-height: 20px;
}

#submenu-sound-image img {
	width: 20px;
	height: 20px;
}

#submenu-sound-tip-text {
	vertical-align: middle;
}

#menu-list li.menu-hover:hover, #submenu-list li.menu-hover:hover {
	color: #000;
}

#menu-list li.selected-menu-element, #submenu-list li.selected-menu-element {
	font-weight: bold;
	color: #000;
	margin-bottom: -1px; /* Corrects bold font height diff to normal font. */
}

#tip-text-gallery, #tip-text-flipbook, #tip-text-news {
	margin-right: 5px !important;
}

#next-gallery, #prev-gallery, #next-flipbook, #prev-flipbook, #next-piece-news, #prev-piece-news {
	margin-right: 3px !important;
}

/* Media queries */

@media (max-width: 1251px){
	
	#menu {
		width: initial;
	}
}

@media (max-width: 1115px){

	.default-top-header-padding {
		padding-top: 0;
	}

	#page-container {
		vertical-align: initial;
	}

	#page-wrapper {
		height: -moz-calc(100% - 160px);
		height: -webkit-calc(100% - 160px);
		height: calc(100% - 160px);
	}

	#header {
		position: initial;
		height: initial;
		overflow: auto;
	}

	#title {
		width: 100%;
		padding-bottom: 5px;
		margin-bottom: 5px;
		border-bottom: 1px solid black;
	}

	#title a {
		font-size: 13pt;
	}

	#menu, #submenu, #options {
		font-size: 9pt;
	}

	#menu {
		width: initial;
	}

	#menu-list {
		padding-left: 0;
	}
}

@media (max-width: 945px){

	.menu-responsive {
		width: 100% !important;
		padding-bottom: 5px;
		margin-bottom: 5px;
		border-bottom: 1px solid black;
	}

	.submenu-list-responsive {
		padding-left: 0 !important;
	}
}