html {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

body {
    width: 100%;
    overflow-x: hidden;
    min-height: 100%;
    color: #bd9c7a;
    margin: 0px;
    padding: 0px;
    background: url("/henndler/pix/background.jpg") fixed;
    background-size: cover;
    font-family: Verdana, Arial;

    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

body a {
    text-decoration: none;
    color: #d89e6a;

    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

body a:hover {
    color: #d89e6a !important;
}

.line {
    color: #8e8e8e;
}

.clear {
    clear: both;
}

.splitter {
    font-weight: bold;
}

.button {
    color: #ffa504;
    float: right;
    background-color: #332211;
    border: 1px solid grey;
    padding: 5px;
    cursor: pointer;

    /* Standard */
    transition-property: border;
    transition-duration: 0.2s;

    /* Firefox */
    -moz-transition-property: border;
    -moz-transition-duration: 0.2s;

    /* Opera */
    -o-transition-property: border;
    -o-transition-duration: 0.2s;

    /* Safari / Chrome */
    -webkit-transition-property: border;
    -webkit-transition-duration: 0.2s;
}

.button:hover {
    border-color: #332211;
}

.button.inactive {
    color: #b1a8a8;
    cursor: default;
    border: 1px solid #b1a8a8;
}

#page {
    position: relative;

    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

#header a,
#footer a {
    color: #ffa504;
}

#header,
#footer {
    background-color: #332211;
}

#spacer,
#header {
    position: relative;
    min-height: 45px;
}

#spacer{
    visibility: hidden;
}

#header{
    position: fixed;
    width: 100%;
    z-index: 10;
}

#spacer #logo img,
#header #logo img {
    width: 18vw;
    min-width: 180px;
    max-width: 300px;
}

#header .navigation {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 26px;
}

@media only screen and (max-width: 800px) {
    #header .navigation {
        display: none;
    }
}

#header .navigation .entry {
    display: inline-block;
}

#header .smartContainer {
    position: absolute;
    right: 15px;
    bottom: 5px;
    z-index: 5;
}

@media only screen and (min-width: 801px) {
    #header .smartContainer {
        display: none;
    }
}

#header .smartContainer .smartIcon {
    font-size: 35px;
    color: #ffa504;
    cursor: pointer;
}

#header .smartContainer .smartMenu {
    display: none;
    right: -2px;
    top: 35px;
    position: absolute;
    background-color: #332211;
}

#header .smartContainer .smartMenu .entry {
    border: 1px solid #bd9c7a;
}

#header .smartContainer .smartMenu .entry a{
    font-size: 20px;
    padding: 3px 10px;
    display: block;
    width: 100px;
}

#header .smartContainer .smartMenu .entry:nth-child(1n+2) {
    border-top: none;
}

#content {
    margin-bottom: 67px;
}

#content .subContent {
    background-color: #503518;
    margin: 20px;
    padding: 20px;
}

#content #service.subContent {
    background-color: transparent;
    width: auto;
    padding: 0px;
}

#content .subContent.sliderContent {
    padding: 10px;
}

#content .subContent .serviceBox {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

#content .subContent .serviceBox .serviceEntry {
    width: 350px;
    margin: 10px;
    padding: 10px;
    background-color: #503518;

    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

#content .subContent .serviceBox .serviceEntry:nth-child(odd) {
    margin-left: 0;
}

#content .subContent .serviceBox .serviceEntry:nth-child(even) {
    margin-right: 0;
}

#content .subContent .serviceBox .serviceEntry .image {
    padding: 10px 0px;
}

@media only screen and (max-width: 820px) {
    #content .subContent .serviceBox {
        display: block;
    }

    #content .subContent .serviceBox .serviceEntry {
        width: auto;
        margin: 10px 0;
    }
}

@media only screen and (min-width: 1040px) {
    #content #service.subContent {
        width: 1000px;
    }

    #content .subContent.sliderContent {
        width: 980px;
    }

    #content .subContent {
        margin: 20px auto;
        width: 960px;
    }
}

#content .subContent .image img {
    width: 100%;
}

#content .heading {
    color: #d89e6a;
    font-size: 20px;
}

#footer {
    padding: 10px;
    position: absolute;
    bottom: 0px;
    width: 100%;
}

#footer .links {
    text-align: center;
    font-size: 14px;
}

#footer .rights {
    text-align: center;
    font-size: 6px;
    margin-top: 4px;
}

@media only screen and (min-width: 730px) {
    #footer .links {
        font-size: 18px;
    }

    #footer .rights {
        font-size: 9px;
    }
}