@charset "utf-8";

.unbreakable {
    white-space: nowrap !important;
}

main {
    margin-top: 4em;
}

.ui-nav-row.user + main {
    margin-top: 0;
}

.ui-nav-row .ui-form-field > input:not(:valid) {
    color: #666 !important;
    background: transparent !important;
}

.ui-nav-row .ui-form-field > input:hover,
#home .ui-form-field > input:focus {
    color: #000 !important;
    background: #f6f6f6 !important;
}

@media (min-height: 720px) {
    .ui-nav-row.user.fixed {
        box-shadow: 0 0 .2em rgba(0, 0, 0, .3);
    }
    .ui-nav-row.user.fixed + main {
        margin-top: 9em;
    }
    .ui-nav-row.user.fixed + main .black-tint {
        top: 8em !important;
    }
}

article {
    padding-top: 8em;
    padding-bottom: 8em;
}

article > header {
    margin-bottom: 8em;
    text-align: center;
    text-shadow: 0 .1em .1em #000;
}

article > header p {
    padding: 0 1em;
    margin-top: 2.5em;
    color: #eee;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5), rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
}

article .black-tint {
    position: fixed;
    top: 4em;
    left: 0;
    width: 100%;
    height: 20em;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));
    z-index: 0;
}

article .head-line-top, article .head-line-bottom {
    display: block;
    width: 12.5em;
    height: 1.25em;
    margin: 0 auto;
}

article .head-line-top {
    border-top: thin solid #32cd32;
}

article .head-line-bottom {
    border-bottom: thin solid #32cd32;
}

article footer {
    position: absolute;
    bottom: 0;
    padding: 1em;
    margin: 0 1em;
    background: #fff;
    border-top: thin solid #32cd32;
    border-radius: .5em .5em 0 0;
    box-shadow: 0 -.1em .3em rgba(0, 0, 0, .5);
}

/* SECTION */
section {
    vertical-align: top;
    margin: 1em;
    padding: 1em;
    background: #fff;
    border-radius: .5em;
    box-shadow: 0 .1em .3em rgba(0, 0, 0, .5);
}

@media (min-width: 960px) {
    section > header + p,
    section > header + aside + p {
        margin-top: 1.6em;
    }
}

section.d-blocked > strong {
    display: block;
    margin-top: 2em;
    color: #999;
}

section.d-blocked > header {
    border-bottom: thin solid #e9e9e9;
}

section.d-blocked > div {
    border-top: thin solid #e9e9e9;
}

section.d-blocked > div:first-of-type {
    border-top: 0;
}

section.d-blocked > div > h3 {
    margin-top: .625em !important;
    margin-bottom: .625em !important;
    white-space: nowrap;
}

section.d-blocked > div:first-of-type > h3 {
    margin-top: 0 !important;
}

section.d-blocked header + div:first-of-type > h3 {
    margin-top: .625em !important;
}

section.d-blocked > div > h3:before {
    content: '» ';
}

article.no-space.solid-section section {
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0;
}

article.no-space.solid-section section:first-of-type {
    border-radius: .5em .5em 0 0;
}

article.no-space.solid-section section:last-of-type {
    border-radius: 0 0 .5em .5em;
    margin-bottom: 1em;
}

/* TEXT */
article a {
    color: inherit;
    text-decoration: underline;
}

article a:hover {
    color: #228b22;
}

p {
    color: #222;
}

h1 {
    color: #fff;
}

h2,
h3 {
    color: #444;
}

h2 + p {
    color: #999;
}

time {
    font-weight: bold;
}

/* OVERRIDE BASE */
section + section {
    margin-top: 11em;
}

section[class*="grid-"] + section[class*="grid-"] {
    margin-top: 9em;
}

.no-space section + section {
    margin-top: 2em !important;
}

@media (min-width: 960px) {
    *[class*="float-"] + *[class*="float-"] {
        margin-top: 0 !important;
    }
}

/* TABLE */
table {
    display: table !important;
    width: 100%;
    margin-bottom: 1em;
}

aside + table,
header + table {
    margin-top: .8em;
    margin-bottom: .8em;
}

aside .image + .text > table {
    margin-top: 1em;
}

table tbody,
table tr {
    width: 100%;
}

table td {
    padding: .4em .8em;
    color: #333;
}

@media (max-width: 600px) {
    table td {
        padding: .4em;
    }
}

aside table td {
    padding: .5em 1em;
}

@media (max-width: 600px) {
    aside table td {
        padding: .25em;
    }
}

table.full-center {
    margin-left: -.8em;
    width: calc(100% + 1.6em);
}

table.two-columns td {
    vertical-align: top;
}

table.two-columns tr td:first-child {
    min-width: 33%;
    max-width: 50%;
    text-align: right;
    white-space: nowrap;
}

table.two-columns.last-nowrap tr td:first-child {
    white-space: normal;
}

table.two-columns.last-nowrap tr td:last-child {
    white-space: nowrap;
}

table.two-columns.first-left tr td:first-child {
    text-align: left;
}

table.two-columns.last-right tr td:last-child {
    text-align: right;
}

table.two-columns tr td:last-child {
    min-width: 50%;
    max-width: 66%;
}

table.colored thead td {
    font-weight: bold;
}

table.colored tbody tr:nth-child(2n) {
    background: #f6f6f6;
}

table.colored tbody tr:hover {
    background: #e9e9e9;
}

table.first-td-fat tbody tr > td:first-of-type {
    font-weight: bold;
    white-space: nowrap;
}

table .td-img-icon-s img {
    height: 1.5em;
}

table .td-img-icon-m img {
    height: 2em;
}

/* ASIDE */
@media (max-width: 960px) {
    aside {
        margin: 1em -1em;
        background: #e9e9e9;
        border-top: thin solid #ccc;
        border-bottom: thin solid #ccc;
    }
}

@media (min-width: 960px) {
    aside:not(.docked) {
        position: absolute;
        width: 100%;
        left: 100%;
        margin-left: 2em;
        background: #fff;
        border-radius: .5em;
        box-shadow: 0 .1em .3em rgba(0, 0, 0, .5);
        overflow: hidden;
    }
    
    aside.docked {
        position: relative;
        left: auto;
        margin: 1em -1em;
        background: #e9e9e9;
        border-top: thin solid #ccc;
        border-bottom: thin solid #ccc;
    }
    
    aside.lift-up {
        margin-top: -7em;
    }
}

aside .text strong {
    display: block;
    font-size: 1.6em;
    padding: .625em;
    color: #555;
    font-weight: lighter !important;
}

aside .text p {
    color: #555;
}

aside .text p + strong {
    margin-top: 1.25em;
}

aside .text p:last-child {
    margin-bottom: 1em;
}

aside p {
    padding: 0 1em;
}

aside svg {
    width: 100%;
}

aside svg + table td {
    padding: .5em 0;
}

aside .text.chronic-chart td {
    text-align: center;
    border-right: thin solid #ccc;
}

aside .text.chronic-chart tr td:last-child {
    border-right: 0;
}

aside .text.sk-contact td,
aside .text.sk-data td {
    font-size: 1.25em;
    line-height: 1.6em;
    padding: .4em .8em;
}

aside .text.sk-contact tr:first-child td {
    font-size: 1.6em;
    line-height: 1.25em;
    padding: .625em .625em;
}

/* IMAGE */
.image.map {
    display: block;
}

.image img {
    width: 100%;
}

.image img.flipped-x {
    transform: scaleX(-1);
}

.image span {
    position: absolute;
    top: 1em;
    padding: .5em;
    color: rgba(255, 255, 255, .7);
    background: rgba(0, 0, 0, .5);
}

.image:not(.map) span {
    right: 0;
    border-radius: .5em 0 0 .5em;
    font-size: small;
}

.image.map span {
    top: .5em;
    left: .5em;
    border-bottom-right-radius: .5em;
    font-size: medium;
}

@media (min-width: 960px) {
    aside:not(.docked) .image img {
        border-radius: .5em;
        border: thin solid #fff;
    }
}

#wallpaper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover !important;
    z-index: -1;
}

/* SPECIAL */
.ui-form-button.login ul {
    position: absolute;
    top: 4em;
    right: 0;
    width: 25em;
    overflow: hidden;
    text-align: left;
    z-index: 1;
}

.ui-form-button.login li {
    display: block;
    padding: 1em;
    width: 100%;
    font-size: 1.2em;
    background: #fff;
    border: thin solid #fff;
    border-radius: .5em;
    border-top-right-radius: 0;
    box-shadow: 0 0 .2em rgba(0, 0, 0, .3);
}

.ui-form-button.login ul li a {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.ui-form-button.login ul li a:hover {
    color: #ccc;
}

.ui-form-button.login ul li.error {
    color: #fff;
    background: #a92222;
}

@media (max-width: 600px) {
    .ui-form-button.login ul {
        right: auto;
        left: 0;
    }
    
    .ui-form-button.login li {
        border-top-right-radius: .5em;
        border-top-left-radius: 0;
    }
}

*[data-dialog] .ui-form-half-space .ui-form-button,
*[data-dialog] .ui-form-half-space.ui-form-button {
    margin-right: -1em;
}

/* PAGES */
*[id*="page-custom-user-"] h2 {
    margin-top: 2em;
    padding: .8em;
    font-size: 1.2em;
    font-weight: lighter;
    color: #000;
    background: linear-gradient(#eee, #fff);
    border-top: thin solid #ccc;
    border-radius: .5em;
    text-shadow: 0 .1em .1em #999;
}

*[id*="page-custom-user-"] h2:first-of-type {
    margin-top: 0;
}

.mitglieder > span:last-child {
    display: block;
    font-size: .8em;
    color: #999;
}

.block {
    display: block !important;
}