*{
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
}
*:focus, a:hover, a:active { outline: 0; }

body {
	margin: 0;
	padding: 0;
	min-height:100%;
	width: 100%;
}
br.clear{
	clear:both;
}
#wrapper {
	position: relative;
	margin:2em auto;
	padding: 0 25px;
	background-color: #d2ac67;
	max-width: 890px;
}
#languageselect { margin-bottom: 10px; }
#header { margin-top: 16px; }
#header, #nav, #aside {
	clear: left;
	float: left;
	text-align: right;
	width: 220px;
}
#panoramabild, #article, #languageselect {
	float: right;
	width: 600px;
	width: calc(100% - 285px);
}
#nav { padding-top: 17px; }
#panoramabild { max-width: 600px; }
#panoramabild img, article img { width: 100%; height: auto; }
#article { margin-bottom: 100px; }

/*ASIDE UND MENÜ*/
aside address {
	margin: 4em 10px 1em 1em;
	padding: 0;
	font-size: 15px;
	font-style:normal;
}
aside address a { font-size: 14px; }
aside address strong { font-size: 16px; }
aside a { font-size: 17px; }

nav ul { margin: 0; padding: 0; list-style: none; }
nav ul li { margin-left: 10px; }
nav ul li a { font-size: 24px; line-height: 140%; display: block; padding-right: 10px; transition: background-color 0.5s ease-out; text-decoration: none; }
nav ul li a:hover { background-color: #bf9d5e;}

nav ul li ul { margin-top: 0.25em; margin-bottom: 1em; }
nav ul li ul li a {
	padding-right: 32px;
	font-size: 18px;
	background: transparent url(/grafik/template/nav_ul_bg.png) no-repeat 175px center;
}
nav ul ul li a:hover, nav ul ul li.active a { background-image: url(/grafik/template/nav_ul_bg_over.png); }
nav ul ul li.active a:hover { background-image: url(/grafik/template/nav_ul_bg.png); }

aside a, nav ul li.active ul li a { text-decoration: none; }
nav ul ul li.active a:hover, nav ul li.active a, nav ul li.active ul li.active a { text-decoration: underline; }

aside div h3 { margin-bottom: -10px; }


aside div{
	margin: 3em 10px auto 0
}

#micheline-container { margin: 0!important; }
#micheline_sommeliere, #guide_micheline {
	display: block;
	height: auto;
	margin: 0 auto;
	width: 60%; max-width: 180px;
}
#micheline_sommeliere {
	cursor: pointer;
	margin-bottom: 18px;
}
@media screen and (min-width: 531px) and (max-width: 750px) {
	#micheline-container { text-align: center; }
	#micheline_sommeliere, #guide_micheline { display: inline-block; }
	#micheline_sommeliere { margin-bottom: 0px; margin-right: 7%; }
}
@media screen and (max-width: 500px) {
	#micheline-container { margin-bottom: 50px!important; }
}

#venezieatavola-logo {
	display: block;
	margin: 2em 0 0 1em;
}
#venezieatavola-logo img {
	display: block;
	height: auto;
	width: 100%;
}

/*ARTICLE*/
article {
	font-size: 17px;
	line-height: 135%;
}
article h1 {
	font-size: 34px;
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
	line-height: 1.2em;
}
article h2 {
	font-size: 16px;
	font-weight: bold;
}
article a.button, input[type="submit"] {
	display: inline-block;
	margin-left: 0;
	padding: 10px;
	background-color: #fff;
	color: #d2ac67;
	text-decoration: none;
	transition: background-color 0.25s ease-out;
}
article a.button:hover, input[type="submit"]:hover {
	background-color: #fcfcfc;
	color: #d2ac67;
}
article blockquote {
	background-color: #bf9d5e;
	margin: 1em 0;
	padding: 10px;
	border: 1px dotted #fff;
}

article .video-description {
	font-size: 0.85em; font-style: italic;
	text-align: center;
}

/* DIVPOPUP */
#popup-overlay, .popup-overlay {
	background: rgba(0,0,0,0.7);
	position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000;
}
#popup-container {
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	max-width: 750px; width: 100%;
	padding: 0 20px 0 10px;
	position: absolute; left: 50%; top: 50%; z-index: 1;
	transform: translate(-50%, -50%);
}
#popup-inner {
	background: #d2ac67;
	color: #FFF;
}
#popup-inner > * { 
	margin: 0;
	padding: 15px 20px;
}
#popup-title { 
	background: #d2ac67;
	color: #FFF;
	font-size: 1.6em;
}
#popup-content { 
	font-size: 1.05em;
	overflow-y: auto; overflow-x: hidden;
	max-height: 65vh;
}
#popup-content img {
	width: 100%;
	height: auto;
}
#popup-content > p:first-child { margin-top: 0; }
#popup-content > p:last-child { margin-bottom: 0; }
#popup-content p { line-height: 1.4em; }
#popup-content a {
	color: #000;
	text-decoration: underline;
}
#popup-content a.button	 {
	display: inline-block;
	margin-left: 0;
	padding: 10px;
	background-color: #d2ac67;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.25s ease-out;
}
#popup-content a.button:hover {
	background: #c39848;
	color: #FFF; 
}
#popup-content a:hover { color: #d2ac67; }
#popup-closer, .popup-closer {
	background: #FFF;
	border: 1px solid #000000;
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	height: 32px;
	padding: 2px 5px 8px;
	position: absolute; right: 4px; top: -18px; z-index: 1;
	text-align: center;
	width: 32px;
}
#popup-closer img { width: 100%; height: auto; }

.popup-overlay { display: none; }
.popup-inner {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 20px;
	width: 100%;
}
.popup-inner > * {
	background: #FFF;
	box-sizing: border-box;
	font-size: 1.05em;
	color: #000;
	max-width: 500px;
	padding: 20px;
	position: relative; z-index: 1;
}
.popup-inner > * > div {
	max-height: 80vh;
	overflow-x: hidden; overflow-y: auto;
}
.popup-closer {
	border: 1px solid #666;
	right: -16px; top: -16px;
}
.popup-closer img { width: 100%; height: auto; }

	/*BUTTON*/
.buttonrequest, #buttonback, .buttonback { margin-top: 2em; }

input[type="submit"] { cursor: pointer; border: none; margin-left: 150px;  }


#languageselect {
	text-align: right;
	font-size: 12px;
	margin-top: 15px;
	color: #FFF;
}
#languageselect a {
	color: #fff;
	text-decoration: none;
	text-transform: lowercase;
}
#languageselect a:hover { text-decoration: none; }

#copyright {
	position: relative;
	left:-21px;
	bottom:4px;
	/*float:left;*/
	font: 10px Arial, Helvetica, sans-serif;
	padding: 4px 0 0 3px;
	width:290px;
	height:103px;
	line-height:180px;
	overflow: hidden;
	background: #d2ac67 url(/grafik/template/body_bg.png) no-repeat left bottom; /* TODO: remove '..' at all links*/
}
#copyright a { text-decoration: none; }
#copyright a:hover { text-decoration: underline; }

#impressum {
	bottom:0;
	font: 10px Arial, Helvetica, sans-serif;
	padding-bottom:8px;
	position:absolute;
	right: 10px;
	text-align:right;
}
#impressum a{
	text-decoration:none;
}
#impressum a:hover{
	text-decoration:underline;
}

/* Offer */

/*MOBILE MENU*/
#nav ul li ul { display: none; }
#nav ul li.active ul { display: block; }
#showmenu {
	display: none; 
	position: absolute; 
	right: 45px;
	top: 70px;
	z-index: 2;
}
#showmenu button {
	border: none;
	background-color: #D9B36B;
	color: #FFF;
	cursor: pointer;
	font-size: 1.75em;
	line-height: 0;
	padding-left: 9px;
	width: 50px; height: 50px;
}
#showmenu button:hover { background-color: #B39357; }

#wieserresidences {
	display: block;
	margin-top: 1em;
}
/*RESPONSIVE*/
@media only screen and (max-width: 910px) {
	#panoramabild, #article, #languageselect { margin-right: 10px; }
	#panoramabild {
		height: auto;
		overflow: hidden;
	}
}
@media only screen and (max-width: 750px) {
	#wrapper { margin-top: -16px; }
	
	#showmenu { display: block; }
	#logo img { width: 125px; height: auto; }
	#nav {
		background-color: #d2ac67;
		border-top: 1px solid #fff;
		font-size: 1.25em;
		height: calc(100% - 151px);
		left: -750px; 
		position: absolute;
		text-align: center;
		transition: left 1s ease-in-out;
  		-webkit-transition: left 1s ease-in-out;
  		-moz-transition: left 1s ease-in-out;
  		-o-transition: left 1s ease-in-out;
  		width: 100%;
  		z-index: 100;
	}
	#nav.mobilemenu { left: 0; }
	#nav ul { display: block; background-color: #d2ac67; }
	#nav ul li { font-size: 1.25em; margin: 0; margin-bottom: 15px; }
	#nav ul li ul { display: block; margin-bottom: 0; }
	#nav ul li ul li a { font-size: 0.65em; font-weight: normal; text-decoration: none; }
	#nav ul li a {
		font-size: 28px;
		font-weight: 600;
		padding-right: 0;
		text-decoration: none;
	}
	#nav ul li ul li a, nav ul ul li.active a { background: none; }
	#languageselect { 
		padding-right: 15px;
		width: 100%;
	}
	#header, #aside {
		clear: none;
		float: none;
		padding-left: 20px;
		text-align: left;
	}
	#panoramabild {
		margin-right: 0; 
		margin-bottom: 20px;
		max-width: 100%;
		left: 0;
		padding-right: 0;
	}
	#panoramabild img { width: 100vw; }
	#panoramabild, #article, #aside { width: 100%; }
	
	#venezieatavola-logo {
		margin: 2em auto 0;
		max-width: 250px;
	}
	
	#article {
		float: none;
		margin-bottom: 50px;
		padding: 0 20px;
	}
	#time, #adress { display: inline-block; }
	
	#footer { padding-bottom: 100px; }
	body.showmobilemenu #panoramabild, body.showmobilemenu #article, body.showmobilemenu #aside, body.showmobilemenu #footer, body.showmobilemenu .jquery-lightbox-move { display: none; }
	fieldset label {
		display: block; 
		float: none!important;
		text-align: left!important;
		width: 100%!important; max-width: 140px;
	}
	article .inputxl { width: 100%!important; max-width: 350px; }
}
@media only screen and (max-width: 600px) {
	#panoramabild { margin-right: 0; }
}
@media only screen and (max-width: 500px) {
	#time, #adress { display: block; margin: 0 0 10px 0; }
}