/*
Theme Name: raetia
Theme URI: https://www.restaurantraetia.ch
Author: Lapala web solutions
Author URI: http://www.lapala.ch
Description: Wordpress Theme Restaurant Raetia Jenins
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: raetia
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

raetia is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-80px);
    transform: translateX(-80);
  }
  
  50% {
    opacity: 0;
    -webkit-transform: translateX(-80px);
    transform: translateX(-80);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-80px);
    -ms-transform: translateX(-80px);
    transform: translateX(-80px);
  }
  
  50% {
    opacity: 0;
    -webkit-transform: translateX(-80px);
    -ms-transform: translateX(-80px);
    transform: translateX(-80px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(80px);
    transform: translateX(80);
  }
  
  50% {
    opacity: 0;
    -webkit-transform: translateX(80px);
    transform: translateX(80);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(80px);
    -ms-transform: translateX(80px);
    transform: translateX(80px);
  }
  
  50% {
    opacity: 0;
    -webkit-transform: translateX(80px);
    -ms-transform: translateX(80px);
    transform: translateX(80px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-family: BrooklynSamuelsFive-Bold;
	font-weight: 500;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td, th {
    padding: 10px 0;
}
td:nth-child(2) {
    vertical-align: bottom;
}

::selection {background: #FFF8ED; color: #000000;}
::-moz-selection {background: #FFF8ED; color: #000000;}

* {
    -webkit-tap-highlight-color:rgb(255,248,237); 
}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #000000 !important;
	font-family: BrooklynSamuelsFive-Light;
	font-size: 18px;
	line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: BrooklynSamuelsFive-Bold;
	clear: both;
}

h1 {
	font-size: 43px;
	line-height: 1.4;
	text-align: center;
	margin-top: 80px;
	margin-bottom: 50px;
}

h2 {
	font-size: 30px;
	line-height: 1.33;
	margin-bottom: 0px;
}

p {
	margin-bottom: 30px;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: url('images/bg_raetia.jpg') #fff;
    overflow-x: hidden;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
    margin: 0 16%;
    width: 68% !important;
}

.tabcontent h1 {
    margin-top: 40px;
	margin-bottom: 0px;
}

table h2 {
    padding: 0px !important;
    margin-bottom: 0;
    margin-top: 30px;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: #000000;
    display: inline-block;
    box-shadow: 0px -4px 0px -3px inset;
}

header a {
	color: #000000;
	box-shadow: none;
}

a:hover,
a:focus,
a:active {
	color: #FFF8ED;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

section#text-7 a {
    color: #000;
    display: inline-block;
}

a[href^="tel"] {
  color: inherit !important;
  text-decoration: none !important;
}

.resmio-button .btn {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 0px;
    box-shadow: 0px -4px 0px -3px inset !important;
    border-radius: 0 !important;
    display: inline !important;
	background: transparent !important;
    padding: 0;
    white-space: normal;
}

.resmio-button {
    margin-bottom: -20px;
}

#simplemodal-container a.modalCloseImg {
    box-shadow: none !important;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.site-header {
    top: 0px;
	left: 0;
    padding-top: 40px;
	padding-bottom: 20px;
	width: 100%;
    position: absolute;
    display: flex;
    align-items: center;
}

.site-header.small {
	padding-top: 20px;
	padding-bottom: 20px;
}

.site-header.sticky {
	position: fixed;	
	left: 0;
    top: 0;
    background: url(images/bg_raetia.jpg) #fff;    
	z-index: 99;
    padding-top: 20px;
}


.site-branding {
	background-image: url(images/Raetia_Logo.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
    height: 162px;
}

.site-branding:hover {
	background-image: url(images/Raetia_Logo_hell.svg);
	cursor: pointer;
}

.main-navigation {
}

nav#right-navigation {
    padding-right: 0;
}
.main-navigation ul {
	display: flex;
    justify-content: space-between;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
	font-size: 27px;
    line-height: 40px;
    margin-right: 13px;
    font-weight: bold;
}


.main-navigation a:last-child {
	margin-right: 0;
}

.sticky a {
    margin-top: 40px;
    margin-bottom: 40px;
}

.sticky .site-branding {
    height: 102px;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
    color: #FFF8ED;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
    box-shadow: 0px -4px 0px -2px inset;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.fb-icon {    
    visibility: hidden;
	position: relative;
    width: 40px;
}

.fb-icon:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: url('images/fb_icon.svg') no-repeat;
    background-size: contain;
    left: 0px;
	top: -20px;
    z-index: 999;
    visibility: visible;
}
.fb-icon:hover:after {
    background: url('images/fb_icon_hover.svg') no-repeat;
    background-size: contain;
}

/*---------------------
# Mobile Menu
------------------------*/
.toggle-nav {
    display:none;
}
.toggle-nav {
    width: 45px;
    height: 45px;
    float: right;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px;
    z-index: 99999;
}
.toggle-nav span, .toggle-nav span:before, .toggle-nav span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 5px;
    width: 35px;
    background: #000000;
    position: absolute;
    display: block;
    content: '';
    top: 20px;
    left: 5px;
}
.toggle-nav span:before {
  top: -10px;
    left: 0;
}
.toggle-nav span:after {
  bottom: -10px; 
    left: 0;
    top: initial;
}
.toggle-nav span, .toggle-nav span:before, .toggle-nav span:after {
  transition: all 500ms ease-in-out;
}
.toggle-nav.active span {
  background-color: transparent;
}
.toggle-nav.active span:before, .toggle-nav.active span:after {
  top: 0;
}
.toggle-nav.active span:before {
  transform: rotate(45deg);
}
.toggle-nav.active span:after {
  transform: rotate(-45deg);
}
.toggle-nav.light {
    background-color: rgb(255,248,237);
    box-shadow: 0 0 10px #000;
}
.toggle-nav.light.active {
    background-color: transparent;
    box-shadow: none;
}
.mobilemenu {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(images/bg_raetia.jpg) #fff;
    z-index: 99;
    padding-top: 100px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}
.mobilemenu li {
    float: left;
    width: 100%;
    text-align: center;
}
.mobilemenu a {
    margin: 0 !important;
    line-height: 1.6;
    display: inline-block;
    position: relative;
    padding-top: 10px;
}

.mobilemenu li.menu-item-40 a:after {
    left: -3px;
}

.mobilemenu .menu-hauptmenu-links-container {
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
}

.mobilemenu .menu-hauptmenu-rechts-container {
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
}

.mobilemenu.active, .mobilemenu.active .menu-hauptmenu-rechts-container, .mobilemenu.active .menu-hauptmenu-links-container{
    transform: translateX(0);
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.home header {
	-webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

#content{
    margin-top: 260px;
	-webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
#page:before {
	-webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
#page:after {
	-webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
div#page {
    position: relative;
}
div#page:before {
    content: '';
    position: absolute;
	height: calc(100% - 100px);
    width: 690px;
    background: url(images/illustrationen-links.png) right top repeat-y;
    background-size: 100%;
    left: -600px;
    top: 100px;
    display: block;
	z-index: -1;
}
div#page:after {
    content: '';
    position: absolute;    
	height: calc(100% - 100px);
    width: 690px;
    background: url(images/illustrationen-rechts.png) left top repeat-y;
    background-size: 100%;
    right: -600px;
    top: 100px;
    display: block;
	z-index: -1;
}
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.entry-content p {
    padding: 0 8.333%;
	text-align: justify;
}
.entry-content h2 {
    padding: 0 8.333%;
    margin-top: 60px;
}
/*==================================================
 * Footer
 * ===============================================*/
 
#footerbox{
    margin-top: 200px;
}
#text-2, #text-5 {
    padding-top: 230px;
}
.site-footer h2, .site-footer p, .site-footer .textwidget {
    text-align: center;
    margin-top: 0;
}
.credits {
    font-size: 12px;
    margin-bottom: 20px;
    margin-top: 30px !important;
}

#footerbox:before {
    content: '';
    width: 100%;
    height: 160px;
    position: absolute;
    top: -120px;
    left: 0;
    background: url(images/reservieren-hinweis.svg) no-repeat center;
    background-size: contain;    
	z-index: 999;
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*==================================================
 * Lieferanten
 * ===============================================*/
.lieferbox {
    height: 200px;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
width: 100%;
}

.innerbox {
	width: 100%;
	min-width: 140px;
	height: 140px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.lieferanten a {
    display: initial;
    text-decoration: none;
	box-shadow: none;
}

.lieferanten a:hover .innerbox {
	opacity: 0.7;
}




/*==================================================
 * Slider Mod
 * ===============================================*/
.soliloquy-container {
	display: inline-block;
    margin-top: 50px !important;
    margin-bottom: 20px !important;
}

.soliloquy-container .soliloquy-pager {
    display: none;
}

.soliloquy-container .soliloquy-next {
    width: 50px !important;
    height: 50px !important;
    margin-top: -25px !important;
    right: -140px !important;
    background: rgb(255, 248, 237) url(images/right.svg) no-repeat scroll 60% 50% !important;
}

.soliloquy-container .soliloquy-prev {
    width: 50px !important;
    height: 50px !important;
    margin-top: -25px !important;
    left: -140px !important;
    background: rgb(255, 248, 237) url(images/left.svg) no-repeat scroll 40% 50% !important;
}

/*==================================================
 * BG Effect Schatten
 * ===============================================*/
.bg-effect, .soliloquy-wrapper {
    position: relative !important;
    border: 40px solid #FFF8ED !important;
}
.bg-effect:before, .bg-effect:after, .soliloquy-wrapper:before, .soliloquy-wrapper:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: -25px;
  left: -30px;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #000;
  -webkit-box-shadow: 0 15px 10px #000;
  -moz-box-shadow: 0 15px 10px #000;
  box-shadow: 0 15px 10px #000;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
.bg-effect:after, .soliloquy-wrapper:after
{
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: -30px;
  left: auto;
}

/*==================================================
 * Effect normal
 * ===============================================*/
.effect, #text-7 {
    position: relative;
    padding: 30px;
    background-color: #FFF8ED;
    margin-bottom: 20px;
}
.lieferbox:hover > img, #text-7 a:hover {
    opacity: 0.7;
}
.effect:before, .effect:after, #text-7:before, #text-7:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #000;
  -webkit-box-shadow: 0 15px 10px #000;
  -moz-box-shadow: 0 15px 10px #000;
  box-shadow: 0 15px 10px #000;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
.effect:after, #text-7:after
{
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}

/*==================================================
 * Tabs
 * ===============================================*/
.responsive-tabs ul.responsive-tabs__list {
    margin: 0 !important;
}
.responsive-tabs .responsive-tabs__list__item {
    border-radius: 0 !important;
    color: #000 !important;
    width: 23.5%;
    margin-right: 2% !important;
    padding: 20px !important;
    border: none !important;
    background-color: #fff8ed !important;
    -moz-box-shadow: inset 0 -10px 10px -10px #000000;
    -webkit-box-shadow: inset 0 -10px 10px -10px #000000;
    box-shadow: inset 0 -10px 10px -10px #000000;
}
.page-id-11 .responsive-tabs .responsive-tabs__list__item {
    width: 23.5%;
}
.responsive-tabs .responsive-tabs__list__item--active, .responsive-tabs .responsive-tabs__list__item--active:hover {
    box-shadow: none;
}
.responsive-tabs .responsive-tabs__list__item:last-child {
    margin-right: 0 !important;
}

.responsive-tabs .responsive-tabs__panel {
    background: #FFF8ED !important;
    border: none !important;
    padding-bottom: 100px !important;
}


div#map_canvas {
    height: 800px;
}

.showmobile {
	display: none;
}

.illustration-single {
    text-align: center;
}

.illustration-single img {
    max-width: 60%;
    max-height: 200px;
}


.googlemap {
	margin-top: 40px;
}













/*==================================================
 * Popup Styling
 * ===============================================*/

.spu-box {
    background: url(images/bg_raetia.jpg) #fff !important;
}

.spu-close {
    font-size: 60px !important;
    color: #000 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.spu-container {
    padding: 50px !important;
}

.spu-content {
	font-size: 22px !important;
}

.spu-content h2, .spu-content h3 {
	margin-bottom: 30px !important;
}




/*==================================================
 * Media Queries
 * ===============================================*/
@media (max-width: 1600px) {
	div#page:after, div#page:before { background-size: 70%;}
}

@media (max-width: 991px) {
	/*Mobile Menu*/
	.site-branding { margin: 0 auto; float: none;}
	.toggle-nav, .mobilemenu.active { display:block;}
	.main-navigation ul { display: block;}
	#left-navigation, #right-navigation {display: none;}
}

@media (max-width: 768px) {
	.showmobile {display: block;}
	body, button, input, select, textarea {font-size: 16px;}
	h1 {font-size: 28px; line-height: 1.3;margin-top: 40px;margin-bottom: 25px;}
	h2 {font-size: 20px; line-height: 1.2;}
	.main-navigation a {font-size: 30px;}
	#text-2, #text-5 {padding-top: 0px;}
	#footerbox { margin-top: 0;}
	.entry-content p, .entry-content h2 {padding: 0;}
	div#page:before, div#page:after, #footerbox:before {display: none !important;}
	.bg-effect, .soliloquy-wrapper {
		position: relative !important;
		border: 20px solid #FFF8ED !important;
	}
	.bg-effect:before, .bg-effect:after, .soliloquy-wrapper:before, .soliloquy-wrapper:after {
		bottom: -5px;
		left: -10px;
	}
	.bg-effect:after, .soliloquy-wrapper:after {
		right: -10px;
		left: auto;
	}
	.soliloquy-container .soliloquy-prev {
		left: 10px !important;
		width: 30px !important;
		height: 30px !important;
		background-size: 50% !important;
		margin-top: -15px !important;
	}
	.soliloquy-container .soliloquy-next {
		right: 10px !important;
		width: 30px !important;
		height: 30px !important;
		background-size: 50% !important;
		margin-top: -15px !important;
	}
	.lieferbox {height: 130px;}
	.innerbox {height: 70px;}
	table { margin: 0; width: 100% !important;}
	footer#colophon { margin-top: 60px;}
	div#map_canvas {height: 400px;}
	.responsive-tabs .responsive-tabs__heading {
		border: none !important;
		color: #000 !important;
		background-color: #fff8ed !important;
		-moz-box-shadow: inset 0 -10px 10px -10px #000000;
		-webkit-box-shadow: inset 0 -10px 10px -10px #000000;
		box-shadow: inset 0 -10px 10px -10px #000000;
	}
	.responsive-tabs .responsive-tabs__heading--active, .responsive-tabs .responsive-tabs__heading--active:hover {box-shadow: none !important}
	.responsive-tabs .responsive-tabs__heading:after {border-top: 6px solid #000 !important;}
	.responsive-tabs__panel:first-child {display: none;}
	.content-area { margin-bottom: 30px;}
	
	.spu-container { padding: 30px !important;}
	.spu-content h2 {font-size: 28px;}
}
