
* {
    margin: 0px;
    border: solid 0px;
    padding: 0px;

    font-family: Verdana, sans-serif;
    font-size: 14px;
}

body {
    min-height: 100vh;
    background: linear-gradient(to bottom, #406040 0%, #408040 24px, #408040 48px, #406040 198px, #406040 100%) no-repeat;
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none;
}

kb-page {
    display: block;

    margin: 24px 48px 24px 48px;
}

kb-header {
    position: relative;
    display: block;
    height: 320px;
    overflow: hidden;

    background-color: #000000;
}

kb-header img {
    position: absolute;
    top: -20px;
    width: 100%;

    vertical-align: bottom;
}

kb-navigation {
    display: block;
    height: 40px;

    border-left: solid 1px #000000;
    border-right: solid 1px #000000;
    padding-left: 10px;

    background: #000000;
}

kb-navigation ul {
    position: relative;
    list-style: none;

    background-color: #000000;
}

kb-navigation li {
    display: inline-block;

    margin-right: 20px;

    line-height: 40px;
    text-align: left;
}

.android kb-navigation {
    height: initial;
}

.android kb-navigation li {
    display: block;
}

kb-navigation li:nth-child(1) {
    margin-left: -5px;
}

kb-navigation a {
    display: inline-block;
    width: 100%;

    padding: 0px 5px;

    text-decoration: none;
    color: #ffffff;
}

kb-navigation a:hover {
    background-color: #9AAD74;
    color: #000000;
}

kb-navigation ul ul {
    position: absolute;
    display: none;

    padding-bottom: 4px;
}

kb-navigation ul ul ul {
    position: absolute;
    top: 0px;
    left: 140px;
    display: none;

    padding-top: 4px;
    padding-bottom: 4px;

    background-color: #202020;
}

kb-navigation ul ul ul ul {
    background-color: #404040;
}

.android kb-navigation ul ul, .android kb-navigation ul ul ul, .android kb-navigation ul ul ul ul {
    position: relative;
    left: initial;
}

.android kb-navigation ul ul {
    background-color: #202020;
}

.android kb-navigation ul ul ul {
    background-color: #404040;
}

.android kb-navigation ul ul ul ul {
    background-color: #606060;
}

kb-navigation li {
    position: relative;
    white-space: nowrap;
}

.show {
    display: block;
}

/*
kb-navigation li:hover > ul {
    display: block;
}
*/

kb-navigation li li {
    display: block;
    min-width: 125px;

    margin-right: 10px;
    padding: 0px 4px;

    line-height: 40px;
    text-align: left;
}

kb-navigation li li:nth-child(1) {
    margin-left: 0px;
}

kb-breadcrumb-search {
    display: block;
    height: 40px;

    border-left: solid 1px #000000;
    border-right: solid 1px #000000;
    padding-left: 10px;

    background-color: #406040;
    color: #ffffff;
}

.android kb-breadcrumb-search {
    height: initial;
}

kb-breadcrumb-search ul {
    display: inline-block;
    list-style: none;
}

kb-breadcrumb-search li {
    display: inline-block;

    padding: 0px 5px;

    line-height: 40px;
    text-align: center;
}

kb-breadcrumb-search a {
    display: inline-block;
    width: 100%;

    text-decoration: none;
    color: #ffffff;

    font-style: italic;
}

kb-breadcrumb-search a:hover {
    background-color: #9AAD74;
    color: #000000;
}

kb-content {
    display: block;

    border-left: solid 1px #000000;
    border-right: solid 1px #000000;
    padding: 10px;

    background-color: #ffffff;
}

kb-ueberschrift {
    display: block;

    margin-top: 24px;
    margin-bottom: 24px;

    color: #616161;

    font-size: 18px;
    font-weight: bold;
}

kb-ueberschrift:nth-child(1) {
    margin-top: 12px;
}

kb-unterueberschrift {
    display: block;

    margin-top: 24px;
    margin-bottom: 18px;

    text-align: center;
    background: linear-gradient(to bottom, transparent 0%, transparent 49%, #d1d1d1 50%, transparent 51%, transparent 100%);
    color: #616161;

    font-size: 14px;
    font-weight: bold;
}
kb-unterueberschrift span {
    display: inline-block;
    
    margin-left: -50%;
    padding: 0px 36px;
    
    background-color: white;
}

kb-text {
    display: block;
    margin: 10px 24px;
    
    line-height: 20px;
}

kb-text img {
    float: left;
    margin: 0px 40px 10px 0px;

    border-radius: 8px;
}

kb-text a {
    padding: 2px;
    
    background-color: #a0c0a0;
    color: black;
    
    text-decoration: none;
}

kb-text a:hover {
    background-color: 408040;
    color: white;
}

kb-clear-left {
    display: block;
    clear: left;
    max-height: 1px;

    font-size: 1px;
}

kb-galerie {
    display: block;

    margin: 0px 24px;
}

div.galeriedetail {
}


div.galeriedetail > div {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;

    background: silver;
}

div.galeriedetail img {
    max-width: 100%;
    max-height: 100%;
}

div.galeriedetail > div {
    display: none
}

input.galerieselekt {
    display: none;
}

label.galerieselekt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    float: left;

    width: 240px;
    height: 160px;

    margin: 8px 16px 8px 0px;
    border: solid 1px silver;
    border-radius: 8px;
    padding: 6px;

    text-align: center;

    cursor: pointer;
}

label.galerieselekt img {
    border-radius: 8px;
}

label.close {
    position: absolute !important;
    right: 0px !important;
    top: 0px !important;
    display: block !important;
    width: 60px !important;
    height: 60px !important;

    border-bottom-left-radius: 10px;
    padding: 3px 0px 0px 5px;

    background-color: gray;
    opacity: 0.5;

    cursor: pointer;
}

label.back {
    position: absolute !important;
    left: 0px !important;
    top: 50% !important;
    display: block !important;
    width: 60px !important;
    height: 60px !important;

    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 5px 0px 0px 10px;

    background-color: gray;
    opacity: 0.5;

    cursor: pointer;
}

label.forward {
    position: absolute !important;
    right: 0px !important;
    top: 50% !important;
    display: block !important;
    width: 60px !important;
    height: 60px !important;

    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 5px 0px 0px 10px;

    background-color: gray;
    opacity: 0.5;

    cursor: pointer;
}

label.close img, label.back img, label.forward img {
    width: 100%;
}

label.close:hover, label.back:hover, label.forward:hover {
    opacity: 1.0;
}

.med_description {
    position: absolute;
    z-index: 10;
    width: 100%;
    bottom: 0px;
    left: 0px;

    padding: 10px;

    text-align: center;
    background-color: #808080;

    color: #ffffff;
}

kb-calendar {
    display: block;
    width: 60%;

    margin: 0px auto;

    line-height: 20px;

    color: #303030;
}

kb-calendaryear {
    display: block;

    margin: 36px 0px;

    text-align: center;

    font-size: 30px;
}

kb-calendar img {
    display: block;
    float: left;

    margin-right: 24px;
    margin-bottom: 24px;
}

kb-calendar table {
    clear: left;
    width: 100%;

    margin: 36px 0px;
    border-collapse: collapse;
}

kb-calendar th, kb-calendar td {
    padding: 12px 0px;

    text-align: center;

    color: #404040;
}

kb-footer {
    display: block;

    padding: 4px 10px;

    background-color: #000000;
    color: #ffffff;

    font-size: 10px;
    text-align: center;
}

kb-counter {
    display: block;
    float: right;
    
    font-size: 10px;
}

@media screen and (max-width: 1024px) {
    kb-header {
        height: 240px;
    }
}

@media screen and (max-width: 640px) {
    kb-header {
        height: 160px;
    }
}


