:root {
    /**--fg-color: #efd574;
    --bg-color: #890101;
    --text-color: #202020;**/
    --fg-color: #f0ca73;
    --bg-color: #880e01;
    --text-color: #000;
}

* {
    margin: 0;
    padding: 0;
}

html {
    color: var(--text-color);
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: url('../img/background.jpg');
    background-size: auto 100%;
    background-attachment: fixed;
    width: 900px;
    margin: 150px auto;
}

main {
    background: var(--fg-color);
    margin-top: 20px;
}

header, main {
  box-shadow: 0 0 10px #000;
}

header {
    background: var(--bg-color);
}

header .logo {
    padding: 20px 50px;
    text-align: center;
}

.logo img{
    max-width: calc(100% - 40px);
}

nav {
    background: var(--bg-color);
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display : inline-block;
    #border-left: 1px solid var(--fg-color);
    padding: 0 15px;
    margin: 0 0 15px;
}

nav ul li:last-child, nav ul li:first-child {
    border-left: none;
}

nav ul li a {
    color: var(--fg-color);
    /**font-weight: bold;**/
    text-decoration: none;
}

nav ul li a:hover {
    color: #ffe300;
}

.inner, footer {
    padding: 20px 50px;
}


h1 {
    font-size: 24px;
}

h2 {
    font-size: 18px;
}

p {
    margin-bottom: 15px;
    line-height: 1.231;
    font-size: 13px;
}

ul {
    margin-left: 20px;
}

li {
    margin-bottom: 10px;
}

hr {
    border: none;
    border-bottom: 2px solid var(--bg-color);
    width: 250px;
    margin-bottom: 40px;
}

a {
    color: var(--bg-color);
    text-decoration: none;
}

a:hover {
    color: #b30101;
}

article {
    margin: 0 0 40px;
}

article h2 {
}

article h2 a, article h2 a:hover {
    color: var(--text-color);
    text-decoration: none;
}

article hr {
    border: none;
    border-bottom: 1px solid var(--bg-color);
    width: 300px;
    margin-bottom: 5px;
}

.wp-block-group__inner-container {
    overflow: auto;
}

article .date {
    color: #515050;
    font-size: 10px;
    margin-bottom: 10px;
}

article .meta {
    color: #515050;
    font-size: 0.9em;
    margin-top: 20px;
}

blockquote {
    background: #0000001F;
    border-left: 2px solid #ccc;
    padding: 5px 10px;
    margin: 15px 0;
    font-weight: 700;
}

blockquote p::before {
    content: "„";
}

blockquote p::after {
    content: "”";
}

blockquote cite {
    font-weight: normal;
}

blockquote cite::before {
    content:"- ";
}

.is-style-large cite::before {
    content: none;
}

.is-style-large cite em::before {
    content:"- ";
}

.front-page {
    background: url('../img/background-kacheln.jpg');
    background-size: cover;
}

.front-page .title {
    background: #890101;
    width: 1000px;
    height: 200px;
    padding: 20px 50px;
    margin: calc(50vh - 120px) auto 0;
    text-align: center;
    box-shadow: 0 0 10px #000;
}

.menu-sprachen-container {
    margin: 30px 0 20px;
}

.menu-sprachen-container ul {
    list-style-type: none;
}

.menu-sprachen-container ul li {
    display : inline-block;
    margin: 0 50px;
}

/***.menu-sprachen-container a {
    background-color: var(--fg-color);
    color: var(--bg-color);
    padding: 5px 10px;
    text-decoration: none;
    box-shadow: 0px 0px 5px #000;
}***/

#menu-item-10-de a {
  background: url('../img/de.png');
}

#menu-item-10-es a {
  background: url('../img/es.png');
}

#menu-item-10-en a {
  background: url('../img/gb.png');
}

#menu-sprachen .lang-item a {
  background-repeat: no-repeat !important;
  background-size: 50px 40px !important;
  width: 50px;
  height: 40px;
  display: block;
}

#menu-sprachen .lang-item a:hover {
  filter: grayscale(0.4);
}

#menu-sprachen .lang-item a img {
  display: none;
}

.pll-parent-menu-item {
    float: right;
}

.menu-item-has-children {
    position: relative;
    display: inline-block;
}

.menu-item-has-children::after {
    content: '▾';
    color: var(--fg-color);
}

.sub-menu {
    display: none;
    position: absolute;
    /**margin: 0;**/
    background-color: var(--fg-color);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.sub-menu a {
    color: var(--bg-color);
}

.sub-menu a:hover {
    color: #b30101;
}

.sub-menu li {
    border-bottom: 1px solid var(--bg-color);
    min-width: 200px;
    padding: 10px 10px;
    margin: 0;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu .lang-item {
    min-width: 0;
    padding: 5px;
}

.menu-item-has-children:hover .sub-menu {display: block;}

.content {
    overflow: auto;
}

.content h1, .content h2, .content h3, .content h4, .content h5 {
    margin-bottom: 15px;
}

.wp-block-image {
    margin-bottom: 0 !important;
}

.wp-block-image .alignleft {
    margin: 3px 0 0 0 !important;
}

.wp-block-image a:hover img {
    filter: grayscale(0.5);
}

.wp-block-image img, .wp-block-video video {
    /**box-shadow: 0 0 3px #000;
    margin: 0 -3px 0 3px;
    max-width: calc(100% - 6px) !important;**/
    min-width: 200px;
    max-width: 100%;
    height: auto;
}

.alignleft img{
    width: 200px !important;
}

.size-large img{
    width: 100%;
}

.wp-block-image figcaption, .blocks-gallery-caption {
    border-left: 3px solid var(--bg-color);
    color: #515050;
    padding: 0 0 0 10px;
    font-style: italic;
}

.wp-block-button a {
    background-color: var(--bg-color);
    color: var(--fg-color);
    padding: 5px 10px;
    margin: 5px 5px 15px;
    text-decoration: none;
    border-radius: 0;
    box-shadow: 0 0 2px #000;
}

.wp-block-button a:hover {
    box-shadow: 0 0 5px #000;
}


.wp-block-button.alignright {
    text-align: right;
}

.blocks-gallery-grid .blocks-gallery-item {
    margin: 0 !important;
}

.blocks-gallery-item .blocks-gallery-item__caption {
    color: var(--fg-color) !important;
    width: calc(100% - 20px) !important;
    padding: 10px !important;
    background: #8901018A !important;
    text-align: right !important;
    font-size: 0.9em !important;
}

.wp-block-gallery {
    margin-bottom: 30px !important;
}

.wp-block-gallery.alignleft {
    float: left !important;
    margin-right: 15px !important;
}

.wpcf7-form-control-wrap input, .wpcf7-form-control-wrap textarea, input.wpcf7-submit {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

footer {
    color: #00000051;
    width: 40%;
    padding: 20px 50px;
    margin: 0 auto;
    border-top: 1px solid #0000002E;
    text-align: center;
}

footer a {
    color: #00000051;
}

footer a:hover {
    color: #00000051;
}

.social-media-top {
    width: 80%;
    padding: 20px 50px;
    margin: 0 auto;
    text-align: center;
}

.social-media-top img {
  filter: opacity(0.8);
  width: 48px;
  height: auto;
  padding: 0 20px 0;
}

.social-media-top img:hover {
  filter: opacity(0.5);
  width: 48px;
  height: auto;
  padding: 0 20px 0;
}

.social-media img {
  filter: opacity(0.5);
  width: 32px;
  height: auto;
  padding: 0 10px 0;
}

.social-media img:hover {
  filter: opacity(0.8);
  width: 32px;
  height: auto;
  padding: 0 10px 0;
}

.toggle-nav {
    display: none;
    color: var(--fg-color);
}

@media only screen and (max-width: 980px) {
    body {
        background-size: contain;
        background-attachment:scroll;
        width: 100%;
    }
    header, main {
        width: 100%;
    }

    header {
        padding: 10px 0;
    }

    header .logo {
      padding: 0 !important;
    }

    main {
      margin-top: 133px !important;
    }

    nav {
        overflow: auto;
    }

    nav ul li {
        display: block !important;
        border-left: none;
    }

    nav ul li::before {
        content: "» ";
        color: var(--fg-color) !important;
    }

    .sub-menu {
        display: block !important;
        position: unset !important;
        background-color: unset !important;
        box-shadow: none;
    }

    .sub-menu li {
        padding: 0;
        margin: 15px 20px 0;
    }

    .sub-menu li::before {
        content: "» ";
        color: var(--fg-color) !important;
    }

    .sub-menu a {
        color: var(--fg-color) !important;
    }

    .menu-item-has-children::after {
        content: none;
    }

    .pll-parent-menu-item {
        float: unset;
    }

    .menu-sprachen-container ul li {
        display : block ruby;
        margin: 10px 50px;
    }

    .toggle-nav {
        display: inline-block !important;
        float: right;
        margin: 5px;
        font-size: 2em;
        transition: color linear 0.15s;
    }

    a.toggle-nav:link, 
    a.toggle-nav:visited,
    a.toggle-nav:hover, 
    a.toggle-nav:active {
        text-decoration: none;
        color: #fff;
    }

    #header-menu {
        display: none;
        width: 80%;
    }

    .inner {
        padding: 2px 5px;
    }

    hr {
        width: 100%;
    }

    .social-media-top {
      width: 100%;
      padding: 20px 0;
    }

    .social-media-top img {
      width: 38px;
      padding: 0 10px;
    }

    iframe {
      width: 400px !important;
      height: 518px !important;
    }

    footer {
      width: 100%;
      padding: 20px 0;
    }
}
