/*
Theme Name: EinsteinTheme
Theme URI: http://www.andreasgregor.com
Description: Restaurant Einstein Theme
Author: AndreasGregorDesign
Author URI: http://www.andreasgregor.com
Version: 1


rot 7D0A16
blau 0071BB
*/


@import url('mini-reset.css');


body, html {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	font-family: 'europa', 'Helvetica', sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 21px;
	color: #444;
}

#bgpic {
	height: 100%;
	width: 100%;

	background-position:		top left;
	background-repeat:			no-repeat;

	-webkit-background-size:	cover;
	-moz-background-size:		cover;
	-o-background-size:			cover;
	background-size:			cover;
	-ms-behavior: url('backgroundsize.min.htc');

}

a img {
	border: none;
}

#logo {
	width: 180px;
	height: 180px;
	position: absolute;
	top: 70px;
	background: #fff;
	text-align: center;
	text-transform: uppercase;
	font-size: 15px;
	letter-spacing: 0.05em;
	z-index: 1000;
	color: #888;
}

#logo a {
	display: block;
	margin: 20px;
}








#navi {
	width: 180px;
	min-height: 160px;
	padding: 10px 0;
	position: absolute;
	top: 250px;
	background: #7D0A16;
	z-index: 1000;
}

#navi ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#navi ul li {
	margin: 0;
	padding: 0;
}

#navi ul li a {
	display:block;
	margin: 0 10px;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 1px solid #b36f76;
	line-height: 40px;
	font-size: 15px;
	transition: all 0.3s;
}

#navi ul li:last-child a {
	border-bottom: 0px solid #b36f76;
}

#navi ul li a:hover {
	background: #0071BB;
	border-left: 10px solid #0071BB;
	border-right: 10px solid #0071BB;
	border-bottom: 1px solid #0071BB;
	margin: 0;
	font-weight: 700;
	letter-spacing: 0.06em;
}

#navi ul li.current-menu-item > a,
#navi ul li.current-page-parent > a {
	font-weight: 700;
}

#navi ul li ul {
	display: none;
}

#navi ul li.current-menu-item ul,
#navi ul li.current-page-parent ul {
	width: 180px;
	height: 170px;
	padding: 10px 0 0 0;
	display: block;
	background: #0071BB;
	position: absolute;
	left: 0;
	top: 180px;
}

#navi ul li ul li a {
	color: #fff;
	text-transform: none;
	letter-spacing: 0em;
	border-bottom: 1px solid #69abd7;
	font-size: 16px;
}

#navi ul li ul li a:hover {
	background: #fff;
	border-left: 10px solid #fff;
	border-right: 10px solid #fff;
	border-bottom: 1px solid #fff;
	margin: 0;
	font-weight: 700;
	color: #000;
	letter-spacing: 0em;
}

#navi ul li ul li.current-menu-item > a {
	font-weight: 700;
}

#navi ul li ul li.current-page-ancestor a {
	font-weight: 300;
}






#teaser {
	width: 340px;
	height: 340px;
	padding: 10px;
	position: absolute;
	top: 70px;
	right: 0px;
	background-color: RGBA(255,255,255,0.9); 
	text-align: center;
	z-index: 100;
}

.rtl #teaser {
	right: auto;
	left: 0px !important;
}

#teaser h1 {
	font-size: 30px;
	line-height: 32px;
	color: #7D0A16;
	padding: 1em 0 10px 0;
	border-bottom: 2px solid #7D0A16;
}

#teaser p {
	font-size: 18px;
	line-height: 22px;
	padding: 0 0 0px 0;
	margin: 0;
}



#main {
	width: 100%;
	height: auto;
	position: relative;
	z-index: 100;
	background: #fff;
	padding: 0px;
	margin: -53px 0 0px 0;
	overflow: hidden;
}

.content {
	padding: 0px 10px 0px 10px;
}

.col4 {
	float: left;
	width: 25%;
	text-align: center;
}

.col2 {
	float: left;
	width: 50%;
}

.col3 {
	float: left;
	width: 33%;
}



.rtl .col4 {
	float: right;
}

.rtl .col2 {
	float: right;
}

.rtl .col3 {
	float: right;
}



h1 {
	font-weight: 300;
}

h3 {
	font-weight: 700;
}

strong, 
b {
	font-weight: 700;	
}

.col2 h1 {
	line-height: 36px;
	padding: 0 0% 1.5em 0%;
	margin: 0px 15% 1.5em 15%;
	border-bottom: 1px solid #7D0A16;
	text-align: center;
	font-weight: 300;
	font-size: 35px;
	color: #7D0A16;
}

h1.entry-title {
	font-size: 18px;
	line-height: 18px;
	padding: 0 0 10px 0;
	margin: 10px 0px 40px 0px;
	border-bottom: 1px solid #bbb;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #444;
}

.col3 h1.entry-title:hover,
.col2 h1.entry-title:hover,
.col4 h1.entry-title:hover {
	color: #7D0A16;
	cursor: pointer;
}


h2 {
	line-height: 24px;
	padding: 0;
	text-align: left;
	font-weight: 700;
	font-size: 20px;
}

.col2 h2,
.col3 h2 {
	margin: 1.5em 10% 0.5em 10%;
}


.col4 h2 {
	font-size: 18px;
	text-align: center;
}


p {
	padding: 0;
	margin: 0 0 1em 0;
}

.col2 p,
.col2 ul,
.col3 p,
.col3 ul {
	padding: 0 10%;
}

.col2 ul li,
.col3 ul li {
	padding: 0 0 0.5em 0;
}

.col4 em,
.col3 em {
	font-size: 0.9em;
	line-height: 0.5em;
	font-style: normal;
}

b,
strong {
	font-weight: 700;
}

a {
	color: #0071BB;
	text-decoration: none;
}

a:hover {
	color: #7D0A16;
}

#page {
	padding: 130px 20% 0 230px;
	max-width: 50em;
}


.post-edit-link {
	display: none;
}


input[type=submit] {
	border: 0;
	background: #7D0A16 !important;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	text-align: center;
	transition: all 0.3s;
}

input[type=submit]:hover {
	background: #0071BB !important;
}










#lang_sel_list  {
	position: absolute;
	background-color: RGBA(255,255,255,0.45); 
	margin: 0;
	padding: 5px 10px 7px 10px;
	width: 160px;
}


#lang_sel_list  ul {
	list-style-type: none;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
	text-align: center;
}

#lang_sel_list  a.lang_sel_sel {
	display: none;
}

#lang_sel_list ul li {
	display: inline;
	margin: 0 10px 0 0;
	padding: 0;
	line-height: 1em;
}


#lang_sel_list ul li a {
	font-size: 0.8em;
	line-height: 1em;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #444;
}

#lang_sel_list ul li a:hover {
	color: #7D0A16;
}



#footer {
	background: #7D0A16;
	text-align: center;
	margin: 90px 0 0 0;
	padding: 10px 0 40px 0;
}

#footer a {
	color: #fff;
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

#footer ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#footer ul li {
	margin: 0;
	padding: 0 5px;
	display: inline;
}

.col4 iframe {
	/*height: 250px;*/
}

.col2 img {
	width: 100%;
	height: auto;
}


div.ngg-navigation {
	display: none !important;
}

div#resmio-restaurant-einstein {
	text-align: center;
}

div.ngg-gallery-thumbnail,
div.ngg-gallery-thumbnail-box {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	height: auto !important;
}

div.ngg-gallery-thumbnail a {
	display: block;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	height: auto !important;
	position: relative;
	background: #000;
}

div.ngg-gallery-thumbnail a img {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	height: auto;
	transition: all 0.5s;
}

div.ngg-gallery-thumbnail a:hover:after {
	content: '+';
	position: absolute;
	top: 40%;
	left: 40%;
	font-size: 10em;
	color: #fff;
}

div.ngg-gallery-thumbnail a:hover img {
	opacity: 0.7;
}

p.MsoNoSpacing span {
	font-family: 'europa', 'Helvetica', sans-serif !important;
	font-size: 16px !important;
	line-height: 21px !important;
	color: #444 !important;
}

p.MsoNoSpacing {
	margin: 0;
}

hr {
	border: 0px;
	border-bottom: 1px solid #BBBBBB;
}


.nf-field-container.halb {
	width: 50%;
	float: left;
	clear: none;
}

.nf-form-content hr.ninja-forms-field {
	margin: 40px 0;
}

.nf-response-msg p {
	font-size: 2em;
	margin-bottom: 4em;
	color: #7D0A16;
}

.home figure.wp-block-image.haman {
	position: absolute;
	left: 0;
	top: 350px;
}

.home figure.wp-block-image.haman figcaption {
	padding: 0;
	margin: 0;
}

.home figure.wp-block-image.haman figcaption a {
	background: #fff;
	display: block;
	padding: 1em;
	color: #7D0A16;
	font-weight: 700;
	text-transform: uppercase;
	transition: all 0.3s;
}

.home figure.wp-block-image.haman:hover figcaption a,
.home figure.wp-block-image.haman figcaption a:hover {
	color: #fff;
	background: #7D0A16;
}




div.wp-block-group.menue h3 {
	padding: 0 0 1rem 0;
}

div.wp-block-group.menue h3 {
	padding: 1rem 0 1rem 0;
}

div.wp-block-group.menue em {
	float: right;
}


div.nf-form-cont.menue h2 {
	padding: 1.5rem 0 0rem 0;
}

div.nf-form-cont.menue div.nf-field-label {
	width: 100%;
}

div.nf-form-cont.menue label {
	font-weight: normal;
}

div.nf-form-cont.menue label span:not(.ninja-forms-req-symbol) {
	float: right;
}

div.nf-form-cont.menue input[type='number'] {
	width: auto;
}

div.nf-form-cont.menue input[type='number']::after {
	content: 'ddddddddddddddd';
}


#teaser div.wp-block-buttons {
	justify-content: center;
	width: 340px;
	margin: 1rem 0 1rem -10px;
	background-color: RGBA(255,255,255,0.9);
	padding: 10px;
}

.wp-block-button__link {
	border-radius: 0;
	background: #0071BB;
	font-weight: bold;
	width: 100%;
	display: block;
	
}

.wp-block-button__link:hover {
	transition: background-color 0.3s;
	background: #7D0A16;	
}


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

	body {
		margin-top: -1px;
		padding-top: 1px;
	}

	#lang_sel_list  {
		position: relative;
		z-index: 1000;
		float: right;
		margin-top: 20px;
		padding: 0px;
		width: auto;
		background: none;
	}

	.rtl #lang_sel_list  {
		float: left;
	}

	#lang_sel_list ul li {
		display: block;
		margin: 0px 0px 0 0;
		line-height: 1.3em;
	}

	#lang_sel_list ul li a {
		font-size: 0.9em;
		margin: 0 0 1px 0;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: #444;
		background-color: RGBA(255,255,255,0.45); 
		display: block;
		padding: 5px 10px;
	}	

	#bgpic {
		position: absolute;
		top: 0;
		height: 410px;
		width: 100%;
	}


	#logo {
		position: relative;
		top: auto;
		overflow: hidden;
		margin-top: 20px;
	}

	#navi {
		position: relative;
		top: auto;
	}

	#page {
		padding: 50px 3%;
		max-width: 150em;
	}

	#page article p,
	#page article h2,
	#page article h3 {
		padding: 0px 5%;
	}	

	.page-parent #navi,
	.page-child #navi {
		background: #0071BB;
	}

	.page-parent #navi ul li.current-menu-item ul,
	.page-child #navi ul li.current-page-parent ul {
		padding: 0px 0 0 0;
	}

	#navi ul li.current-menu-item ul,
	#navi ul li.current-page-parent ul {
		height: auto;
		left: 0;
		top: 0px;
	}

	#navi ul li ul li:first-child {
		display: block;
		background: #7D0A16;
	}	
	
	#navi ul li ul li:first-child a {
		border: none;
	}

	#teaser {
		width: auto;
		height: auto;
		padding: 10px;
		position: relative;
		top: auto;
		right: auto;
		background: none;
	}

	.rtl #teaser {
		left: auto;
	}


	#main {
		margin: 0px 0 0px 0;
	}
	
	.rtl .col4,
	.rtl .col2,
	.rtl .col3 {
		float: none;
	}

	.col2,
	.col3,
	.col4 {
		width: auto;
		float: none;
		border-top: 2px solid #7D0A16;
		margin-top: 80px;
	}	


	
	.home figure.wp-block-image.haman {
		position: static;
		margin: 20px 0;
	}
	
	.home figure.wp-block-image.haman figcaption a {
		line-height: 2em;
	}

	div.nf-form-content {
		padding: 0 !important;
	}
	
	div.nf-form-cont.menue {
		padding: 0rem 5% !important;
		font-size: 0.5rem !important;
	}

	div.nf-form-cont.menue * {
		font-size: 1rem !important;
		font-family: 'europa', 'Helvetica', sans-serif;
	}

	div.nf-form-cont.menue h2 {
		padding: 1.5rem 0 0rem 0 !important;
	}

	div.nf-form-cont.menue p {
		padding: 0rem 0 0rem 0 !important;
	}	
	
}