/**
* panorama.svg
* fg: #ac9e81 (light browns)
* bg: #483023 (brown)
* @@@all icons in two colors: "fg" and "bg"
*/
:root {
    /* beige */
    /*--bg-color:     #ac9e81;*/
    --bg-color:     #ffeebb;
    --bg-gradient:  linear-gradient(#8a7c60, #ac9e81, #ac9e81, #8a7c60);
    /* brown */
    --fg-color:     #483023;
    --fg-gradient:  linear-gradient(#210, #432, #432, #210);
    /* green */
    --footer-border: #483023;
    --footer-foreground: #fcc;
    --footer-background: linear-gradient(#030, #050, #050, #030);
    --nav-border: var(--bg-color);
    --nav-foreground: var(--bg-color);
    --nav-background: var(--fg-color);

    --nav-border: #a00;
    --nav-foreground: #a00;
    --nav-background: #fff;

    --shadow-color: #000;
    --border-color: #fff;
    --header-height: 50px;
    --footer-height: 20px;
    --input-border: #483023;
    --input-readonly-border: #48302390;
    --input-color: #fff;
    --input-background: #fff;
    --input-hover-shadow: #483023;
    --button-color: #483023;
    --button-color-hover: #fff;
    --button-background: #eee;
    --button-background-hover: #483023;

    --dialog-body-background: #ffeebbe0;
    --dialog-border: #483023;
    --dialog-background: #ffeebb;
    --dialog-foreground: #483023;
    --z-index-header: 30;
    --z-index-footer: 20;
    --z-index-nav: 21;
    --z-index-nav-large-screen: 1;
    --z-index-dialog: 10;
    --z-index-dialog-large-screen: 999;
}

body, html {
    box-sizing: border-box;
    margin: 0;
    font-family: sans-serif;
    font-size: 14px; /*1rem*/
    font-style: normal;
}
body {
    color: var(--fg-color);
    background-color: var(--bg-color);
    padding: 0;
    min-width: 320px;
    min-height: 100vh;
}
body::after {
    content: ' ';
    display: block;
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    background-color: var(--bg-color);
    min-height: 100vh;
    width: 100%;
    margin-left: 0;

}
.body {
    display: block;
    color: var(--fg-color);
    min-height: 100vh;
    width: 100%;
    margin-left: 0;
}
header.admin-session {
    background-image: linear-gradient(#800, #a00, #a00, #800);;
    background-color: #a00;
}
header.admin-session::after {
    content: "!!! Administrations-Anmeldung !!!";
    display: block;
    width: 300px;
    /*top: 50px;*/
    left: calc(50% - 150px);
    position: fixed;
    z-index:9999;
    background: #d00;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1.4em;
    border: 1px solid #a00;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 3px 5px #000;
}
header, footer {
    position: fixed;
    left: 0;
    width: 100vw;
    display: block;
    overflow: hidden;
}

/** some header specific stuff */
header {
    z-index: var(--z-index-header);
    background-image: var(--fg-gradient);
    background-color: var(--fg-color);
    display: grid;
    grid-template-columns: 50px 1fr 40px 40px 20px;
    grid-template-areas: "logo search cart login";
    padding: 0;
    margin: 0;
    top: 0;
    height: var(--header-height);
    box-shadow: 0 2px 5px var(--shadow-color);
}
header.logged-in {
    grid-template-columns: 50px 1fr 40px 40px 40px 10px;
    grid-template-areas: "logo search cart account logout";
}

header .logo     { grid-area: logo; }
header .cart     { grid-area: cart; }
header .account  { grid-area: account; }
header .logout   { grid-area: logout; }
header .login    { grid-area: login; }
header form      { grid-area: search; }

header .account { display: none; }
header .logout { display: none; }
header .login { display: initial; }
header.logged-in .account { display: initial; }
header.logged-in .logout { display: initial; }
header.logged-in .login { display: none; }

/*
header * {
    display: inline-block;
    float: left;
    line-height: 20px;
    white-space: nowrap;
}
*/
header form {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 0px;
}
header form * {
    /* @@@ height issue (we want auto or custom height) */
    float: left;
    max-height: 32px;
    margin-top: 10px;
    font-size: 14px;
}
header form input {
    background: transparent;
    color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    line-height: 28px;
    padding: 0 5px;
    margin-top: 7px;
    background-color: #ffffcc10;
    box-shadow: 0 0 3px inset #000;
    text-shadow: 0 0 1px;
    transition: all .5s;
    font-size: 14px;
}
header form input:focus {
    background-color: #ffc;
    color: var(--fg-color);
    transition: all .5s;
}
header form label.icon.search {
    width: 35px;
    margin-left: -35px;
    margin-top: 10px;
}
header form input:focus + label.icon.search::before {
    background-image: url('/res/img/icons/search-brown.svg');
}

header .logo {
    background-image: url('/res/img/jueterbook-logo.svg');
    background-size: auto 70%;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-filter: drop-shadow( 1px 1px 2px #000 );
    filter: drop-shadow( 1px 1px 2px #000);
}

footer {
    z-index: var(--z-index-footer);
    bottom: 0;
    color: var(--footer-foreground);
    background-image: var(--footer-background);
    border-top: 4px solid var(--footer-border);
    box-shadow: 0 -2px 5px var(--shadow-color);
    color: #fcc; /*var(--bg-color);*/
    text-align: center;
    overflow: visible;
}
footer div {
    overflow: hidden;
}
footer input {
    display: none;
}
footer > div > label {
    display: none;
}
footer input[type="checkbox"] ~ div {
    margin: 0;
    padding: 0;
    margin-bottom: 0px;
}
footer nav {
    margin: 0 0 0 -80px;
    padding: 0;
    height: 28px;
    line-height: 28px;
}
footer input[type="checkbox"]:checked ~ div label .show,
footer input[type="checkbox"] ~ div label .hide {
    display: none;
}
footer input[type="checkbox"]:checked ~ div label .hide {
    display: initial;
}
footer a, footer label {
    text-decoration: none;
    color: var(--footer-foreground);
    text-shadow: 1px 1px 1px var(--shadow-color);
    border: 0;
    margin-right: 10px;
}
footer label {
    font-size: 9px;
    width: 100%;
    text-align: center;
    display: block;
    margin: 2px 0;
}
footer a:hover, footer label:hover {
    color: #fff;
}
footer::before {
    content: '';
    display: block;
    border-bottom: 1px dashed #ff9;
}
footer > label {
    left: calc(50% - 25px);
    display: block;
    width: 50px;
    height: 50px;
    margin-top: -50px;
    position: absolute;
    background-image: url('/res/img/jueterbook-nikolai-kirche.svg');
    background-size: 35px 50px;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-filter: drop-shadow(0 -2px 5px var(--shadow-color));
    filter: drop-shadow(0 -2px 5px var(--shadow-color));
}

.pagination {
    display: block;
    user-select: none;
}
.pagination ul {
    list-style: none;
    padding-left: 0;
}
.pagination ul li, .pagination ul li * {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}
.pagination ul li {
    margin: 2px;
    border: 1px solid #000;
    border-radius: 5px;
}
.pagination ul li span {
    cursor: not-allowed;
}
.pagination ul li a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    color: var(--fg-color);
}
.pagination ul li.active {
    background-color: var(--fg-color);
    color: var(--bg-color);
}
.pagination ul li.active a {
    color: var(--bg-color);
}
.pagination ul li:hover, .pagination ul li.active:hover {
    color: var(--fg-color);
    box-shadow: 0 0 2px var(--fg-color);
    background: #fff;
}
.pagination ul li.active:hover a {
    color: var(--fg-color);
}
.pagination ul li.select {
    display: none;
}

.navigation {
    user-select: none;
    position: fixed;
    left: 0;
    top: calc(var(--header-height) - 3px);;
    z-index: var(--z-index-nav);
    padding: 2px;
}
.navigation input[type="checkbox"], footer input[type="checkbox"] {
    display: none;
}
.navigation input[type="checkbox"] ~ nav {
    opacity: 0;
    max-height: 0px;
    overflow: auto;
    transition: all .2s;
    box-shadow: 2px 0 5px #000;

    border: 1px solid var(--nav-border);
    color: var(--nav-foreground);
    background-color: var(--nav-background);
}
.navigation input[type="checkbox"]:checked ~ nav {
    opacity: 1;
    max-height: calc(100vh - var(--header-height) - 40px); /*40px==."navigation label"-height*/
    transition: all .2s;
}
.navigation > nav {
    padding: 0 50px 0 20px;
}
.navigation > label {
    cursor: pointer;
    display: block;
    height: 40px;
    width: 40px;
    margin-top: -2px;
    margin-left: 10px;
    margin-bottom: -40px;
    text-shadow: 2px 2px 2px #000;
    background-image: url('/res/img/menu-bookmark.svg');
    background-position: top left;
    background-size: auto 40px;
    background-repeat: no-repeat;
    -webkit-filter: drop-shadow( 1px 1px 2px #000 );
    filter: drop-shadow( 1px 1px 2px #000);
}
nav li.active > a {
    font-weight:bold;
}
nav ul {
    padding: 0 10px;
}
nav > ul {
    padding: 0;
}
nav li {
    list-style: none;
    padding: 0 5px 0 5px;
    white-space: nowrap;
}
nav li label {
    display: inline-block;
    width: 10px;
    margin-right: -10px;
}
nav input ~ ul {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: all .2s ease-out;
}
nav input:checked ~ ul {
    height: auto;
    opacity: 1;
    transition: all .2s ease-out;
}
nav a {
    color: var(--nav-fg-color);
    margin-left: 10px;
}

.categories-path {
    display: block;
    text-align: left;
}
.categories-path > *:hover {
    text-decoration: underline;
}
.categories-path > * {
    color: var(--nav-foreground);
    margin-right: 5px;
    text-decoration: none;
}
.categories-path > *::after {
    content: '>';
    padding-left: 5px;
    text-decoration: none;
}
.categories-path > *:hover::after {
    text-decoration: none;
}
.categories-path > *:last-child::after {
    content: '';
}

.feedback-messages {
    overflow: hidden;
    line-height: 25px;
    margin: 10px 5px 10px 0px;
    padding: 0 5px; /*32px = 2px + 30px==."navigation label"-height*/
    color: #ffc;
}
.feedback-messages {
    background-image: linear-gradient(#974800, #b96a10, #b96a10, #b96a10, #974800);
}
.feedback-messages.errors {
    background-image: linear-gradient(#a00, #c00, #c00, #c00, #a00);
}
.feedback-messages.news {
    --background-image: linear-gradient(#005, #66f, #66f, #66f, #005);
    background-image: var(--footer-background);
    color: #fff;
}
.feedback-messages.news::before, .feedback-messages.news::after {
    position: inherit;
    width: 101%;
    margin-top: 1px;
    margin-bottom: 1px;
}

.feedback-messages::before, .feedback-messages::after, #cookie-banner > p::before, #cookie-banner > p::after {
    content: ' ';
    display: block;
    margin-left: -5px;
    position: absolute;
    border-bottom: 1px dashed #fcc;
    background: transparent;
    width: calc(100% - 70px);
}
.feedback-messages::after, #cookie-banner > p::after {
    margin-top: -2px;
}
.feedback-messages a {
    color: #ccf;
}

/**/
#cookie-banner {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    text-align: center;
    font-size: 16px;
    margin-left: 0px;
    background: var(--dialog-body-background);
    display: none;
}
#cookie-banner > p::after, #cookie-banner > p::before {
    width: 100vw;
}
#cookie-banner > p {
    color: #ffc;
    background-image: linear-gradient(#800, #c00, #c00, #800);
    margin: 0;
    margin-top: 30vh;
    line-height: 50px;
}
#cookie-banner > p a {
    color: #ffc;
}
#cookie-banner label.icon {
    border: 1px solid #000;
    border-radius: 3px;
    padding: 5px;
    margin-left: 20px;
    background: #ffc;
    color: #a00;
}
#cookie-banner label.icon:hover {
    background: #ffe;
    box-shadow: 0 0 2px #000;
}
#cookie-banner label.icon::before {
    display: inline-block;
    float: inherit;
    margin-bottom: -8px;
}

input#cookie-banner-switch[type="checkbox"]:checked + #cookie-banner {
    display: block;
}

/* */
@keyframes fmtimer {
    0%       { opacity: 1; height: auto; margin-top: 0; margin-bottom: 10px; overflow: visible; }
    90%      { opacity: 1; height: auto; margin-top: 0; margin-bottom: 10px; overflow: hidden; }
    99.999%  { opacity: 0; height: 0; margin-top: 0; margin-bottom: 0;  overflow: hidden; }
    100%     { display: none; opacity: 0; height: 0; margin-top: 0; margin-bottom: 0; overflow: hidden; }
}
/*, .feedback-messages::before, .feedback-messages::after*/
.feedback-messages {
    animation-name: fmtimer;
    animation-duration: 10s;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
    animation-delay: 0s;
    opacity: 0;
}
.feedback-messages.news /*, #cookie-banner*/ {
    animation-duration: 1000000s;
}
.social-links > a {
    display: block;
    height: 25px;
    width: auto;
    font-size: 12px;
}
/**
 * Temp. solution: fontawesome-icons adapter:
 */
.list .book {
    display: inline-block;
    min-width: 200px;
    height: 200px;
    margin: 0 5px 10px 5px;
    padding: 0;
    border: 1px solid #666;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
}
.list .book figure {
    background-position: center 10px;
    background-repeat: no-repeat;
    background-size: 100px auto;
    display: table-cell;
    line-height: 14px;
    height: 200px;
    vertical-align: bottom;
}
.list .book figure figcaption {
    width: 200px;
    min-height: 30px;
    margin-top: 170px;
    padding-bottom: 10px;
    padding-top: 3px;
    background-color: #666;
    color: #fff;
    font-size: .9em;
    transition: all .2s ease;
}
.list .book figure:hover figcaption {
    margin-bottom: 0px;
    margin-top: initial;
    transition: all .2s ease;
}
.dashboard {
    width: 100%;
}
.dashboard .category > h1 {
    color: var(--bg-color);
    height: 25px;
    line-height: 25px;
    font-size: 13px;
    margin: 0;
    padding: 0;
}

.dashboard .category h1::before, .dashboard .category h1::after {
    content: '';
    display: block;
    width: 35px;
    height: 25px;
    margin: 0;
    padding: 0;
    float: left;
    background-image: url('/res/img/dashboard-category.svg');
    background-size: auto 25px;
    background-position: left center;
}
.dashboard .category h1::after {
    background-position: right center;
    width: 80px;
}
.dashboard .category h1 span {
    display: block;
    margin: 0;
    padding-left: 30px;
    width: calc(100% - 200px);
    float: left;
    background: var(--fg-color);
}
.dashboard .category h1 {
    margin-bottom: 5px;
}
.dashboard .category {
    padding: 5px 0;
    margin: 0 10px 20px 10px;
    width: calc(100% - 30px);
    overflow-x: hidden;
}
.dashboard .category::after {
    content: '';
    display: block;
    position: absolute;
    width: 100px;
    height: 200px;
    margin-left: calc(100% - 130px);
    background-image: linear-gradient(to right, transparent, var(--bg-color), var(--bg-color));
}

.dashboard .category:first-of-type {
    margin-top: 20px;
}
.dashboard .category:last-of-type {
    margin-bottom: 20px;
}
.dashboard .list {
    overflow: hidden;
    white-space: nowrap;
    height: 200px;
    min-width: 100%;
    width: 150%;
    float: left;
}
.dashboard .list .book {
    float: left;
    white-space: nowrap;
}

header > *.icon {
    cursor: pointer;
}

/* future of ".icon" css implementation: */
.icon::before {
    content: '';
    display: block;
    float: left;
    height: 28px;
    width: 28px;
    background-size: auto 20px;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--bg-color);
}
header > *.icon::before {
    margin-bottom: -10px;
    margin-top: 10px;
    width: 100%;
    background-size: auto 28px;
}

.icon.cart::after {
    content: attr(data-cart-item-count);
    display: block;
    position: absolute;
    margin: 14px 14px;
    text-shadow: 0 0 3px #fcc;
    color: #500;
    font-weight: bold;
    width: 14px;
    height: 14px;
    letter-spacing: -2px;
    line-height: 14px;
    font-size: 13px;
    text-align: center;
}

.icon.account::before  { background-image: url('/res/img/icons/user.svg'); }
.icon.apply::before    { background-image: url('/res/img/icons/apply.svg'); }
.icon.plus::before     { background-image: url('/res/img/icons/plus.svg'); }
.icon.cancel::before   { background-image: url('/res/img/icons/cancel.svg'); }
.icon.cart::before     { background-image: url('/res/img/icons/shopping-cart.svg'); }
.icon.delete::before   { background-image: url('/res/img/icons/delete.svg'); }
.icon.download::before { background-image: url('/res/img/icons/download.svg'); transform: rotate(180deg); }
.icon.logout::before   { background-image: url('/res/img/icons/logout.svg'); }
.icon.login::before    { background-image: url('/res/img/icons/login.svg'); }
.icon.search::before   { background-image: url('/res/img/icons/search.svg'); }
.icon.next::before     { background-image: url('/res/img/icons/next.svg'); }
.icon.back::before     { background-image: url('/res/img/icons/back.svg'); }
.icon.pdf::before      { background-image: url('/res/img/icons/pdf.svg'); }

.icon.email::before    { background-image: url('/res/img/icons/email.svg'); }
.icon.at::before       { background-image: url('/res/img/icons/at.svg'); }
.icon.facebook::before { background-image: url('/res/img/icons/facebook.svg'); }
.icon.twitter::before  { background-image: url('/res/img/icons/twitter.svg'); }
.icon.stumbleupon::before { background-image: url('/res/img/icons/stumbleupon.svg'); }
.icon.reddit::before   { background-image: url('/res/img/icons/reddit.svg'); }
.icon.linkedin::before { background-image: url('/res/img/icons/linkedin.svg'); }
.icon.whatsapp::before { background-image: url('/res/img/icons/whatsapp.svg'); }
.icon.telegram::before { background-image: url('/res/img/icons/telegram.svg'); }


.icon.share::before {
    background-size: auto 14px;
    background-position: 9px 5px;
}
.icon.share {
    padding: 0;
    margin-left: 14px;
    width: 120px;
    height: 24px;
    line-height: 24px;
    border-radius: 10px;
    display: block;
    margin-bottom: 10px;
    text-align: left;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
}
.content-container .external-links .social-links .icon.share {
    filter: sepia(.6);
}
.content-container .external-links .social-links a.share:hover {
    color: #fff;
    filter: sepia(0) drop-shadow(4px 4px 4px #000);
}
.icon.share.at          { background: #444444; }
.icon.share.facebook    { background: #3b5998; }
.icon.share.twitter     { background: #55acee; }
.icon.share.stumbleupon { background: #eb4823; }
.icon.share.reddit      { background: #ff5700; }
.icon.share.linkedin    { background: #4875b4; }
.icon.share.whatsapp    { background: #35be4a; }
.icon.share.telegram    { background: #2aabee; }

.icon.next>span, .icon.next::before {
    float: right;
}

.field-group {
    width: 100%;
    min-height: 42px;
    line-height: 42px;
    display: block;
    float: none;
}
.field-group > * {
    margin-bottom: 7px;
    margin-right: -2px;
    float: left;
    display: inline-block;
    height: 28px;
    border: 1px solid var(--input-border);
}

.field-group > *[readonly] {
    border: 1px solid var(--input-readonly-border);
}
.field-group select {
    height: 34px;
}
.field-group > textarea {
    font-family: sans-serif;
    font-size: 13px;
    font-style: normal;
    line-height: 18px;
}

.field-group > input:hover, .field-group > input:focus,
.field-group > textarea:hover, .field-group > textarea:focus,
.field-group > select:hover, .field-group > select:focus {
    color: #000;
    border-color: #000;
    box-shadow: 0 0 2px var(--input-hover-shadow);
}

/*.field-group > button, .field-group > .button, .field-group > input[type="submit"] {*/
button, .button, input[type="submit"] {
    color: var(--button-color);
    background-color: var(--button-background);
    display: inline-block;
    text-decoration: none;
    border: 1px solid var(--input-border);
    line-height: 34px;
    padding: 2px 5px 0 5px;
    min-width: 105px;
    /*border-radius: 5px;*/
}

/*.field-group > button:hover, .field-group > .button:hover, .field-group > input[type="submit"]:hover {*/
button:hover, .button:hover, input[type="submit"]:hover {
    color: var(--button-color-hover);
    border-color: var(--button-color-hover);
    background-color: var(--button-background-hover);
}
/*.field-group > button:hover::before, .field-group > .button:hover::before, .field-group > input[type="submit"]:hover::before {*/
button:hover::before, .button:hover::before, input[type="submit"]:hover::before {
    -webkit-filter: drop-shadow( 0 0 1px var(--button-color-hover) );
    filter: drop-shadow( 0 0 1px var(--button-color-hover) );
}
.field-group > label {
    font-weight: bold;
}
.field-group > input, .field-group > textarea, .field-group > select {
    background-color: var(--input-background);
}
.field-group > textarea {
    resize: none;
}
.field-group > * {
    line-height: 28px;
    padding: 2px 5px;
}
.field-group > textarea {
    height: 84px;
}
.field-group > *:only-child {
    border-radius: 5px;
}
.field-group > *:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.field-group > *:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.dialog {
    color: var(--bg-color);
    background: var(--dialog-body-background);
    position: fixed;
    z-index: var(--z-index-dialog);
    width: 100%;
    height: calc(100vh - 71px);
    top: 0;
    left: 0;
    padding-top: 100px;
    padding-left: 50%;
    display: none;
}
input[type="checkbox"]:checked + .dialog {
    display: block;
}
.dialog > div {
    width: 620px;
    margin-left: -310px;
    background-color: var(--dialog-background);
    border: 10px solid var(--dialog-border);
    color: var(--dialog-foreground);
    border-radius: 10px;
    box-shadow: 0 0 15px #000;
    overflow: hidden;
    padding: 0;
}
.dialog div.dialog-content {
    width: calc(100% - 20px);
    min-height: 100px;
    margin: 5px;
    padding: 5px;
    border: 1px dashed var(--dialog-foreground);
}
.dialog div.dialog-buttons {
    margin: 0 5px 0 0;
    line-height: 34px;
    min-height: 34px;
    width: auto;
}
.dialog::after {
    background-image: url('/res/img/lesezeichen.png');
    background-repeat: no-repeat;
    background-position: 3px 0;
    background-size: auto 70px;
    position: fixed;
    width: 60px;
    height: 70px;
    top: 90px;
    /*right: 20%;*/
    margin-left: 260px;
    content: '';
    font-size:;
    text-align: center;
    padding-top: 14px;
    color: #f00;
    font-size: 2em;
    font-weight: bold;
    text-shadow: -1px 1px 1px #000;
}
.dialog.login::after, .dialog.logout::after {
    content: '?';
}
.dialog div.dialog-buttons {
    background: var(--dialog-border);
    height: 50px;
    margin: 0 0 -7px 0;
    padding: 0;
}
.dialog div.dialog-buttons * {
    margin: 6px 0 0 0;
    background-color: var(--dialog-background);
}
.dialog div.dialog-buttons label:hover, .dialog div.dialog-buttons label:hover span {
    background-color: transparent;
}
.dialog div.dialog-buttons label:hover::before {
    -webkit-filter: drop-shadow( 0 0 1px var(--dialog-background) );
    filter: drop-shadow( 0 0 1px var(--dialog-background) );
}
.field-group > .readonly {
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    padding: 0 3px
}

.hidden, .hide, input[type="hidden"] { display: none !important; }
.left  { float: left; }
.right { float: right; }

.text-left  { text-align: left; }
.text-right { text-align: right; }
.text-center  { text-align: center; }

.wr10  { width:  10%; }
.wr20  { width:  20%; }
.wr30  { width:  30%; }
.wr40  { width:  40%; }
.wr50  { width:  50%; }
.wr60  { width:  60%; }
.wr70  { width:  70%; }
.wr80  { width:  80%; }
.wr90  { width:  90%; }
.wr100 { width: 100%; }
.wa10  { width:  10px; }
.wa20  { width:  20px; }
.wa30  { width:  30px; }
.wa40  { width:  40px; }
.wa50  { width:  50px; }
.wa60  { width:  60px; }
.wa70  { width:  70px; }
.wa80  { width:  80px; }
.wa90  { width:  90px; }
.wa100 { width: 100px; }
.wa110 { width: 110px; }
.wa120 { width: 120px; }
.wa130 { width: 130px; }
.wa140 { width: 140px; }
.wa150 { width: 150px; }
.wa160 { width: 160px; }
.wa170 { width: 170px; }
.wa180 { width: 180px; }
.wa190 { width: 190px; }
.wa200 { width: 200px; }
.wa210 { width: 210px; }
.wa220 { width: 220px; }
.wa230 { width: 230px; }
.wa240 { width: 240px; }
.wa250 { width: 250px; }
.wa260 { width: 260px; }
.wa270 { width: 270px; }
.wa280 { width: 280px; }
.wa290 { width: 290px; }
.wa300 { width: 300px; }
.wa310 { width: 310px; }
.wa320 { width: 320px; }
.wa330 { width: 330px; }
.wa340 { width: 340px; }
.wa350 { width: 350px; }
.wa360 { width: 360px; }
.wa370 { width: 370px; }
.wa380 { width: 380px; }
.wa390 { width: 390px; }
.wa400 { width: 400px; }

.hr10  { height:  10%; }
.hr20  { height:  20%; }
.hr30  { height:  30%; }
.hr40  { height:  40%; }
.hr50  { height:  50%; }
.hr60  { height:  60%; }
.hr70  { height:  70%; }
.hr80  { height:  80%; }
.hr90  { height:  90%; }
.hr100 { height: 100%; }
.ha10  { height:  10px; }
.ha20  { height:  20px; }
.ha30  { height:  30px; }
.ha40  { height:  40px; }
.ha50  { height:  50px; }
.ha60  { height:  60px; }
.ha70  { height:  70px; }
.ha80  { height:  80px; }
.ha90  { height:  90px; }
.ha100 { height: 100px; }
.ha110 { height: 110px; }
.ha120 { height: 120px; }
.ha130 { height: 130px; }
.ha140 { height: 140px; }
.ha150 { height: 150px; }
.ha160 { height: 160px; }
.ha170 { height: 170px; }
.ha180 { height: 180px; }
.ha190 { height: 190px; }
.ha200 { height: 200px; }
.ha210 { height: 210px; }
.ha220 { height: 220px; }
.ha230 { height: 230px; }
.ha240 { height: 240px; }
.ha250 { height: 250px; }
.ha260 { height: 260px; }
.ha270 { height: 270px; }
.ha280 { height: 280px; }
.ha290 { height: 290px; }
.ha300 { height: 300px; }
.ha310 { height: 310px; }
.ha320 { height: 320px; }
.ha330 { height: 330px; }
.ha340 { height: 340px; }
.ha350 { height: 350px; }
.ha360 { height: 360px; }
.ha370 { height: 370px; }
.ha380 { height: 380px; }
.ha390 { height: 390px; }


.stop-float {
    float: none;
    clear: both;
}
.col1  { width: 10%; }
.col2  { width: 20%; }
.col3  { width: 30%; }
.col4  { width: 40%; }
.col5  { width: 50%; }
.col6  { width: 60%; }
.col7  { width: 70%; }
.col8  { width: 80%; }
.col9  { width: 90%; }
.col10 { width: 100%; }

.field-group .col1  { width: calc(10% - 12px); }
.field-group .col2  { width: calc(20% - 12px); }
.field-group .col3  { width: calc(30% - 12px); }
.field-group .col4  { width: calc(40% - 12px); }
.field-group .col5  { width: calc(50% - 12px); }
.field-group .col6  { width: calc(60% - 12px); }
.field-group .col7  { width: calc(70% - 12px); }
.field-group .col8  { width: calc(80% - 12px); }
.field-group .col9  { width: calc(90% - 12px); }
.field-group .col10 { width: calc(100% - 12px); }

.field-group select.col1  { width: calc(10%); }
.field-group select.col2  { width: calc(20%); }
.field-group select.col3  { width: calc(30%); }
.field-group select.col4  { width: calc(40%); }
.field-group select.col5  { width: calc(50%); }
.field-group select.col6  { width: calc(60%); }
.field-group select.col7  { width: calc(70%); }
.field-group select.col8  { width: calc(80%); }
.field-group select.col9  { width: calc(90%); }
.field-group select.col10 { width: calc(100%); }

.content-container {
    margin: 0;
    padding: 10px 0 0 50%;
    width: 100%;
    margin-top: var(--header-height);
     /* additional space to get the bottom content scrolled into visible area
        and over the top of Nikolaikriche!! */
    margin-bottom: calc(70px + var(--footer-height));
    float: left;
}
.content-container .content {
    /*width: 1000px;*/
    width: calc(100% - 305px - 160px);
    margin: 0 0 0 -500px;
    padding: 0 5px 80px 5px;
}
.content-container .content::before {
    /* this pseudo element cuts area, where the bookmark icon of the menu
       overlaps */
    content: ' ';
    display: none;
    float: left;
    margin-top: -10px;
    height: 40px;
    width: 50px;
}
/*.content-container .partners {*/
.external-links {
    display: block;
    width: 150px;
    max-width: 150px;
    float: right;
    text-align: center;
}
.external-links h2 {
    font-size: 16px;
}
.important-links img {
    width: auto;
    height: 13px;
}
.external-links .partners .jueterbog {
    background-image: url('/res/img/partners/jueterbog.png');
    line-height: 15px;
    background-position: center top;
}
.external-links .partners .morten {
    background-image: url('/res/img/partners/morten-hofrichter-net.svg');
    line-height: 15px;
    background-position: center top;
}
.external-links .partners a {
    display: block;
    float: none;
    overflow: hidden;
    margin-left: 14px;
    margin-bottom: 10px;
    width: 120px;
    max-height: 140px;
    background-size: auto 100px;
    background-position: top center;
    background-repeat: no-repeat;
    text-align: center;
    line-height: 220px;
    overflow: hidden;
    padding-top:100px;
}
.external-links .rankings a {
    display: inline-block;
    margin-bottom: 5px;
}
.external-links .rankings a img {
    max-width: 80%;
}
.external-links .widget_container_social_badge {
    text-align: center;
    min-height: 170px;
}
.external-links .widget_container_social_badge::before {
    content: 'Lade Trustami-Informationen...';
    display: block;
    position: absolute;
    z-index: 0;
    width: 71px;
    margin-top: 9px;
    padding: 50px 10px 0 10px;
    font-size: 10px;
    margin-left: 29px;
    border: 1px solid;
    height: 100px;
}
.external-links .widget_container_social_badge iframe, .external-links .trustami {
    filter: grayscale(.6);
}
.external-links .widget_container_social_badge iframe:hover, .external-links .trustami:hover {
    filter: grayscale(0) drop-shadow(4px 4px 4px #000) !important;
    transition: all .3s;
}

.content-container .external-links .social-links a {
    filter: sepia(.8);
    transition: filter .3s;
}
.content-container .external-links a.jueterbog {
    filter: sepia(0);
}
.content-container .external-links a:hover {
    color: #a00;
    filter: sepia(0) drop-shadow(4px 4px 4px #000);
    transition: all .3s;
}
.categories-path {
    margin-left: 50px;
}
@media screen and (min-width: 1024px) {
    .content-container {
        padding-left: 0;
    }
    .content-container .content {
        margin-left: 305px;
        float: left;
    }
    .navigation input[type="checkbox"] ~ nav {
        opacity: 1;
        height: calc(100vh - var(--header-height) - 45px); /*40px==."navigation label"-height*/
        max-height: 100vh;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .navigation {
        z-index: var(--z-index-nav-large-screen);
    }
    .navigation > label {
        display: none;
    }
    .categories-path {
        margin-left: unset;
    }
}
@media screen and (max-width: 1024px) {
    .content-container {
        padding-left: 0;
    }
    .content-container .content {
        width: calc(100% - 10px); /* padding */
        margin-left: 0;
    }
    .content-container .content::before {
        display: block;
    }
    .content-container .external-links {
        display: none;
    }
    .feedback-messages {
        margin: 60px 5px 10px 50px;
    }
    .feedback-messages::before, .feedback-messages::after {
        width: calc(100% - 55px);
    }

}
@media screen and (min-width: 640px) {
    footer > label {
        height: 40px;
        width: 460px;
        left: calc(50% - 230px);
        margin-top: -44px;
        background-image: url('/res/img/jueterbook-panorama.svg');
        background-size: auto 40px;
        background-position: bottom center;
        background-repeat: no-repeat;
    }
}
@media screen and (max-width: 640px) {
    .dialog {
        padding: 0;
        height: 100vh;
        z-index: var(--z-index-dialog-large-screen);
    }
    .dialog > div {
        margin-top: 20px;
        width: calc(100% - 20px);
        margin-left: 0px;
    }
    .dialog::after {
        top: 9px;
        right: 10px;
        left: unset;
    }
    /*
    footer input[type="checkbox"] ~ div {
        margin: 0;
        padding: 0;
        margin-bottom: -28px;
        transition: margin-bottom .2s;
    }
    footer input[type="checkbox"]:checked ~ div {
        margin-bottom: 0px;
        transition: margin-bottom .2s;
    }
    footer > div > label {
        display: block;
    }*/
}
@media screen and (max-width: 480px) {
    .field-group > *:only-child, .field-group > *:first-child, .field-group > *:last-child {
        border-radius: 5px;
        display: block;
        float: none;
        clear: both;
        width: 100%;
    }
    .field-group.dialog-buttons .button {
        float: unset;
        clear: unset;
        width: auto;
        display: inline-block;
    }
    .field-group.dialog-buttons .button.right {
        float: right;
    }
    .field-group > input, .field-group > textarea {
        padding: 2px 0 2px 5px;
        max-width: calc(100% - 7px);
    }
    .field-group label {
        border: 0;
        height: 15px;
        line-height: 15px;
        padding-top: 0;
        padding-bottom: 0;
    }
    button, .button, input[type="submit"], .field-group label.button {
    /*.field-group > label.button, .field-group > input[type="submit"] {*/
        border: 1px solid var(--input-border);
        height: 34px;
        line-height: 34px;
        padding: 2px 5px 0 5px;
        max-width: calc(100% - 12px);
    }
    .field-group > label::before {
        height: 34px;
    }
    .navigation {
        width: 90%;
    }
    .field-group .col1  { width: calc(100% - 12px); }
    .field-group .col2  { width: calc(100% - 12px); }
    .field-group .col3  { width: calc(100% - 12px); }
    .field-group .col4  { width: calc(100% - 12px); }
    .field-group .col5  { width: calc(100% - 12px); }
    .field-group .col6  { width: calc(100% - 12px); }
    .field-group .col7  { width: calc(100% - 12px); }
    .field-group .col8  { width: calc(100% - 12px); }
    .field-group .col9  { width: calc(100% - 12px); }
    .field-group .col10 { width: calc(100% - 12px); }
    .field-group select.col1  { width: calc(100%); }
    .field-group select.col2  { width: calc(100%); }
    .field-group select.col3  { width: calc(100%); }
    .field-group select.col4  { width: calc(100%); }
    .field-group select.col5  { width: calc(100%); }
    .field-group select.col6  { width: calc(100%); }
    .field-group select.col7  { width: calc(100%); }
    .field-group select.col8  { width: calc(100%); }
    .field-group select.col9  { width: calc(100%); }
    .field-group select.col10 { width: calc(100%); }
}
@media screen and (max-width: 640px) {

    .pagination ul li.page {
        display: none;
    }
    .pagination ul li.select {
        display: inline-block;
        border: none;
    }
    .pagination .field-group {
        width: 102px;
    }
    .pagination .field-group select {
        max-width: 50px;
        min-width: 50px;
        width: 50px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        float: left;
        clear: none;
        margin-right: 0px;
        display: inline-block;
        padding-top: 0;
        height: 30px;
        line-height: 30px;
    }
    .pagination .field-group input {
        max-width: 50px;
        min-width: 50px;
        width: 50px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        float: left;
        clear: none;
        margin-left: -1px;
        display: inline-block;
        padding-top: 0;
        height: 30px;
        line-height: 30px;
    }

    .pagination ul li, .pagination ul li * {
        width: auto;
    }
}

@media screen and (min-width: 1600px) {
    body {
        padding-left: 50%;
        width: 100%;
        background: #eee;
    }
    body::after {
        min-height: 100vh;
        width: 1590px;
        margin-left: calc(50% - 795px);
        box-shadow: 0 0 5px #000;
    }
    div.body {
        min-height: 100vh;
        width: 1600px;
        margin-left: -800px;
    }
    header, footer {
        left: unset;
        width: 1600px;
    }
    .navigation {
        left: unset;
    }
    .dialog {
        width: 1600px;
    }
}
@media screen and (max-height: 480px) {
    .dialog {
        height: 100vh;
        padding-top: 0;
        z-index: var(--z-index-dialog-large-screen);
    }
    .dialog > div {
        margin-top: 0px;
    }
    .dialog::after {
        display: none;
    }
}
