@charset "UTF-8";

:root {
    --primary: #a90000;
    --secondary: #f5f5f5;
    --bg-color: #fffdea;
    --fg-color: #000000;
    --color-transition: 0.5s ease;
}

@font-face {
    font-family: 'editor-icons';
    src: url(../fonts/editor-icons.woff);
}

body {
    border-top: 5px solid var(--primary);
    color: var(--fg-color);
    background-color: var(--bg-color);
    margin: 0;
    font: 18px 'Times New Roman', serif;
}

header, 
nav, 
main, 
footer {
    max-width: 940px;
    margin: auto;
    clear: both;
    padding: 0 18px;
    position: relative;
    z-index: 0;
}

nav {
    z-index: 10;
}

footer {
  border-top: 1px solid var(--fg-color);
  margin-top: 30px;
  margin-bottom: 200px;
}

nav {
    height: 55px;
}

header {
    height: 280px;
    background: url(../img/schwan.png) no-repeat center center;
}

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

a:hover {
    color: var(--fg-color);
    border-color: var(--fg-color);
}

ul, ol {
    list-style-type: none;
    padding: 0;
    
}

nav > ul, nav > ul > li {
    display: block;
    float: left;
    color: var(--primary);
    font-weight: bold;
}

nav > ul.main-menu > li {
    padding: 0 18px 5px 0;
}

nav > ul.main-menu > li > .menu-item {
    padding-bottom: 5px;
}

nav > ul.main-menu > li > .menu-item.selected {
    border-bottom: 2px solid;
}

nav > ul.main-menu > li > ul.sub-menu > li > .menu-item.selected.active {
  border-bottom: 1px solid;
}

nav > ul.lang-selector {
    float: right;
}

nav > ul.lang-selector > li {
}

nav > ul.lang-selector > li > a.language {
    width: 24px;
    height: 25px;
    overflow: hidden;
    color: transparent;
    display: block;
}

nav > ul.lang-selector > li > a.language-de:before {
    content: url(/assets/img/lang/de.gif);
}

nav > ul.lang-selector > li > a.language-cz:before {
    content: url(/assets/img/lang/cz.gif);
}

nav ul.sub-menu {
    visibility: collapse;
    opacity: 0;
    background-color: var(--secondary);
    font-weight: normal;
    transition: visibility 0s ease 0.5s, opacity 0.5s ease;
    position: absolute;
    padding: 10px;
    border: 1px solid var(--primary);
    border-radius: 0px 5px 5px 5px;
    margin-top: 5px;
}

nav ul.sub-menu > li {
    padding: 5px 20px;
}

nav > ul.main-menu > li:hover > span.menu-item {
    color: var(--fg-color);
}

nav > ul.main-menu > li:hover > ul.sub-menu {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

figure {
    display: grid;
    grid-auto-columns: min-content;
    margin: 5px 30px 10px 0;
}

figcaption {
    padding: 8px 0 8px 8px;
    max-width: 100%;
    border-bottom: 1px solid var(--primary);
    border-left: 1px solid var(--primary);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

a figcaption {
    transition: border-color var(--color-transition);
}

a:hover figcaption {
    border-color: var(--fg-color);
    transition: border-color var(--color-transition);
}

ul.pager {
    clear: both;    
    height: 25px;
    position: absolute;
    bottom: 50%;
    width: 100%;
}

article {
    width: 80%;
    margin: auto;
}

main > article {
    clear: both;
    padding: 35px 0;
    margin-bottom: 70px;
}

.fotos ol.dirlist li {
    display: inline-block;
}

.fotos ol.dirlist article {
    width: 100%;
}

.fotos > article {
    margin: auto;
    width: fit-content;
    margin-top: 70px;
    margin-bottom: 100px;
}

.fotos > article img {
    margin: auto;
    display: block;
    height: 400px;
}

.fotos ul.pager {
    position: static;
    margin-bottom: 40px;
}

.texte ol.dirlist {
    display: block;
    margin-left: 25%;
    width: fit-content;
}

ol.dirlist {
  margin: 0 0 60px 0;
  padding-top: 40px;
}

ol.dirlist > li {
    margin-bottom: 25px;
}

a.thumb img {
    width: 200px;
    height: 190px;
}

a.thumb figcaption {
    height: 85px;
    font-weight: normal;
}

a.thumb > figure {
    margin-top: 35px;
}

.gb-title {
    font-weight: bold;
    padding-left: 30px;
    display: block;
    margin-top: 10px;
}

.gb-date {
    padding-left: 30px;
    font-size: smaller;
    display: block;
}

.gaestebuch ol.dirlist > li {
      margin-bottom: 65px;
}

.gaestebuch ul.pager {
    bottom: calc(50% + 270px);
}

.gaestebuch form {
  margin-top: 30px;
}

.gaestebuch form fieldset {
    padding: 20px;
    border-width: 0 0 2px 2px;
    border-color: var(--primary);
    border-radius: 5px;
    transition: border-color var(--color-transition);
}

.gaestebuch form fieldset:focus-within {
    border-color: var(--secondary);
}

.gaestebuch form fieldset legend {
  margin: 0 0 5px 5px;
  color: var(--primary);
}

.gaestebuch form input,
.gaestebuch form textarea {
    box-sizing: border-box;
    width: 80%;
    padding: 10px;
}

.gaestebuch form button[type=submit]:focus,
.gaestebuch form button[type=submit]:hover,
.gaestebuch form input:focus,
.gaestebuch form textarea:focus,
.gaestebuch form .pell-editor:focus-within {
    outline: none;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

.gaestebuch form input,
.gaestebuch form textarea,
.gaestebuch form button[type=submit],
.gaestebuch form .pell-editor {
    border: 0;
    border-left: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    background-color: white;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: border-color var(--color-transition);
}

.gb-error a {
    display: block;
    font-weight: bold;
    margin: 0 0 30px 0;
    padding: 10px;
    border: 2px solid;
    width: fit-content;
    border-radius: 3px;
}

.teaser-header {
    font-weight: bold;
    font-size: large;
}   

.teaser-text {
    margin: 0px 0 25px 0;
    display: block;
    border-bottom: 1px solid var(--secondary);
}

.pull-right {
    float: right;
}

.prev {
    float: left;
    position: relative;
}

a.prev:before {
    content: '<';
    transform: scale(2, 8);
    display: block;
}

.next {
    float: right;
    right: 25px;
    position: relative;
}

a.next:before {
    content: '>';
    transform: scale(2, 8);
    display: block;
}

main[class$=-lyrik] > article h1 {
  margin: 40px 0 90px; 
}

main[class$=-lyrik] > article p {
  text-align: center;
}

main[class$=-lyrik] > article p[align=left] {
  text-align: left;
}

main[class$=-lyrik] > article p[align=right] {
  text-align: right;
}

.article-nav {
    margin: 0 0 25px 0;
    position: absolute;
    display: inline;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.article-nav .prev,
.article-nav .next {
    position: sticky;
    top: 50vh;
    margin-top: 30px;
}

.article-nav .back {
    position: relative;
    top: 100%;
    display: block;
    width: fit-content;
    margin: auto;
}

input[name="email"] {
    display: none;
}

p:empty {
    display: none;
}

.copy {
  font-size: smaller;
}

.pell-actionbar {
    background-color: var(--secondary);
    border-radius: 5px 5px 0 0;
}

.pell-button {
    letter-spacing: -2px;
    font-family: 'editor-icons';
    position: relative;
}

.pell-button .divider {
    cursor: default;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.pell-button .divider:before {
    content: ' ';
    display: block;
    border-left: 1px outset black;
    height: 18px;
    width: 0;
    margin: 6px auto;
}

button[type=submit] {
    padding: 10px;
    width: 200px;
    margin: 0;
    float: right;
    background-color: var(--secondary);
}

#validation-error {
    display: block;
    margin: 0 0 30px 0;
    padding: 10px;
    border: 1px solid;
    border-radius: 3px;
    color: var(--primary);
}

#validation-error p {
  margin: 5px;
}

.align-left {
    text-align: left !important;
}

.align-center {
    text-align: center !important;
}

.align-right {
    text-align: right !important;
}

.font-sm {
    font-size: 80%;
}

.font-lg {
    font-size: 120%;
}

div.background {
    padding: 110px;
    background-color: lightgray;
    background-blend-mode: screen;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
}

.raute {
  display: block;
  width: 5px;
  height: 5px;
  border: 2px solid var(--primary);
  border-radius: 2px;
  transform: matrix(1.0606, 2, -1.0606, 2, 0, 1);
}

table.dl {
  text-align: left;
  width: 100%;
}

table.dl td {
  vertical-align: top;
  padding-right: 20px;
  padding-top: 20px;
}

table.dl tr td:first-of-type {
  font-weight: bold;
}


