
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Work Sans'), local('WorkSans-Regular'), url(fonts/Work_Sans_400.woff2) format('woff2');
}

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Work Sans Bold'), local('WorkSans-Bold'), url(fonts/Work_Sans_700.woff2) format('woff2');
}

@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 900;
    src: local('Work Sans Black'), local('WorkSans-Black'), url(fonts/Work_Sans_900.woff2) format('woff2');
}

/* latin */
@font-face {
    font-family: 'Ubuntu Mono';
    font-style: normal;
    font-weight: 400;
    src: local('Ubuntu Mono'), local('UbuntuMono-Regular'), url(fonts/Ubuntu_Mono_400.woff2) format('woff2');
}

@font-face {
    font-family: 'Ubuntu Mono';
    font-style: normal;
    font-weight: 700;
    src: local('Ubuntu Mono Bold'), local('UbuntuMono-Bold'), url(https://fonts.gstatic.com/s/ubuntumono/v7/KFO-CneDtsqEr0keqCMhbC-BL9H1tY0.woff2) format('woff2');
}

* {
    box-sizing: border-box;

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

    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
}

body {
    background-color: #c0c0c0;
}

.page {
    display: table;
    width: 80%;
    min-width: 502px;

    margin: 24px auto;
    border-collapse: collapse;

    background-color: #ffffff;
}

.mobile .page {
    width: 100%;
    margin: 0px;
}

.pageheader {
    background: transparent url('images/header.png') repeat;
    text-align: center;

    overflow: hidden;
}

.pageheadertext {
    padding: 6px;

    background-image: url('images/header-text.png');
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgb(80,40,20);
    line-height: 5vw;

    font-size: 6vw;
    font-weight: bold;
    letter-spacing: 2vw;
}

.ie .pageheadertext {
    background-image: none;
    color: rgb(98,31,4);
}

.logopre {
    width: 100px;

    vertical-align: top;
}

.logoprebar {
    width: 100%;
    height: 15px;

    margin-top: 4px;
    background: transparent url('images/seperator.png');
}

.logo {
    width: 88px;
    height: 88px;

    background: transparent url('images/logo.jpg') no-repeat 4px 4px;
}

.breadcrumb {
    vertical-align: top;
}

.breadcrumbbar {
    height: 15px;

    margin: 4px 0px;

    background-image: url('images/seperator.png');
    color: rgb(255,255,255);
    text-align: right;
    line-height: 14px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 14px;
}

.breadcrumbtext {
    margin-top: 24px;
    padding-right: 16px;

    color: rgb(148,71,24);
    text-align: right;

    font-size: 20px;
    font-weight: bold;
    font-style: italic;
}

.navigation {
    padding-bottom: 24px;
    
    vertical-align: top;
}

.navigation ul {
    margin-top: 24px;

    list-style: none;
}

.navigation li:nth-child(2), .navigation li:nth-child(6), .navigation li:nth-child(9) {
    margin-top: 30px;
}

.navigation a {
    display: block;

    margin: 8px 4px;
    border-left: solid 10px;
    border-bottom: solid 2px;
    border-image: url('images/header.png') 10 10 repeat;
    padding-left: 6px;

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

.navigation a.rex-current, .navigation a:hover {
    border-image: url('images/header-text.png') 10 10 repeat;
}

@keyframes qualm {
    from { transform: scale(0.9); }
    70%  { transform: scale(1.02); }
    to   { transform: scale(1); }
}

.content {
    padding: 24px 16px 16px 32px;

    vertical-align: top;

    animation-name: qualm;
    animation-duration: 0.5s;
}

.article {
    padding-bottom: 18px;
    border-bottom: solid 4px black;
    border-image: url('images/seperator.png') 10 10 repeat;
    margin-bottom: 24px;
}

.articleend {
    clear: both;
}

.title, h4 {
    margin-bottom: 10px;

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

.text, p {
    margin-bottom: 10px;
}

.text a, .objektinfo a {
    color: rgb(148,71,24);

    font-weight: bold;
    text-decoration: none;
}

.text img {
    float: right;

    margin: 0px 0px 12px 12px;
}

.text ul {
    margin-left: 48px;
}

.externlink {
    display: block;

    margin: 10px 0px;

    color: rgb(148,71,24);

    font-family: 'Ubuntu Mono', monospace;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.objektinfo {
    float: right;
    margin: 8px 0px 24px 24px;
    border-collapse: collapse;
}

.objektinfo td {
    border: solid 1px silver;
    padding: 4px;
}

.objektinfo td:nth-child(1) {
    font-weight: bold;
}

input.galerieselekt {
    display: none;
}

label.galerieselekt {
    display: inline-block;

    width: 98px;
    height: 98px;

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

    text-align: center;

    cursor: pointer;
}

@keyframes galeriehover {
    from { opacity: 1.0; background-color: silver; }
    20%  { opacity: 0.0; background-color: silver; }
    to   { opacity: 1.0; background-color: transparent; }
}

label.galerieselekt:hover, a.galerielink:hover {
    animation: galeriehover 0.4s linear;
}

div.galeriedetail {
}

@keyframes galeriedetail {
    from { opacity: 0.5; height: 0vh; }
    to   { opacity: 1.0; height: 100vh; }
}

@keyframes galeriedetailhide {
    from { opacity: 1.0; }
    to   { opacity: 0.5; }
}

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

    background: silver;

    /*
    animation: galeriedetail 0.4s linear;
    animation-fill-mode: forwards;
    */
}

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

div.galeriedetail > div {
    display: none

    /*
    animation: galeriedetailhide 0.4s linear;
    animation-delay: 0.4s;
    animation-fill-mode: forwards;
    */
}

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;
}

.galerielink {
    display: inline-block;

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

    color: rgb(148,71,24);
    text-decoration: none;
}

.galerielink .image {
    width: 124px;
    height: 98px;
}

.galerielink .text {
    text-align: center;
}

