/* layout.css */
/* Reduced version of Fix.css */

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    line-height: 1;
    font-family: sans-serif;
}

ul,
ol {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

li {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: inherit;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}

strong {
    font-weight: bold;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: 0;
    margin: 0;
    padding: 0;
    text-align: inherit;
    text-transform: inherit;
    font: inherit;
    -webkit-font-smoothing: inherit;
    letter-spacing: inherit;
    background: none;
    cursor: pointer;
    overflow: visible;
}

::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* General/Global Styling */

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

html,
body,
.layout {
    max-width: 100%;
    width: 100%;
}

.layout,
.menu,
.menu-link {
    transition: all .2s ease-out;
}

.layout {
    position: relative;
}

.layout.active .menu,
.layout.active .menu-link {
    left: 210px;
}

.layout.active .menu {
    width: 210px;
}


/* Header */

.header {
    position: relative;
    z-index: 100;
    display: block;
    margin: 0;
    padding: 0;
    /* padding-top: 0.5rem;*/
    text-align: center;
}

.mainContentSpot {
    position: absolute;
    z-index: 1;
}

.header h4 {
    margin: 0;
    margin-bottom: 1rem
}

.header img.logo,
.header img.eberspacher-logo {
    padding: 0.5rem 0;
}


/* Status Bar */

.statusbar {
    margin-left: 65px;
    padding: 0.5rem 1rem;
    text-align: left;
    display: flex;
    align-items: center;
}

.sb-item {
    display: inline-flex;
    align-items: center;
    vertical-align: baseline;
}

.sb-item:not(:first-of-type) {
    margin-left: 2rem;
}

.sb-item.message-notifier {
    align-items: center;
}

    .sb-item.message-notifier:hover {
        cursor: pointer;
    }

.sb-item img,
.sb-item span {
    height: 100%;
}

.sb-item img,
.sb-item span {
    height: 24px;
    padding-right: 0.5rem;
    line-height: 24px;
    font-size: 14px;
}

    .sb-item span > span {
        padding: 0;
    }

.spanHeaterStatus {
    padding: 0 0.5rem;
    border-radius: 5px;
    font-size: 14px;
}

.spanSendCount {
    margin-left: 0.5rem;
    padding: 0.125rem 1rem !important;
    vertical-align: baseline;
    border-radius: 3px;
    font-size: 0.8rem;
    text-align: center;
    text-transform: uppercase;
    line-height: 20px !important;
}


/* Menu Link */

.menu-link {
    width: 4rem;
    height: 3.5rem;
    /*padding: 2.6em 2em;*/
    padding-top:18px;
    padding-left:5px;
    font-weight:bold;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    font-size: 20px;
}

    .menu-link span,
    .menu-link span:before,
    .menu-link span:after {
        cursor: pointer;
        border-radius: 1px;
        height: 3px;
        width: 22px;
        position: absolute;
        display: block;
        content: '';
    }

        .menu-link span:before {
            top: -8px;
        }

        .menu-link span:after {
            bottom: -8px;
        }


/* Menu & Menu Items */

.menu {
    position: fixed;
    z-index: 20;
    width: 210px;
    margin-left: -210px;
    overflow-y: auto;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    -webkit-overflow-scrolling: touch;
}

    .menu .pure-menu,
    .menu .pure-menu ul {
        border: none;
        background: transparent;
    }

    .menu .pure-menu-heading {
        font-size: 110%;
        margin: 0;
    }

.pure-menu-item img {
    padding-right: 0.5rem;
    vertical-align: bottom;
}

.pure-menu-item a {
    padding: 0.6rem;
    padding-right: 0;
    border: none;
}

@media (min-height:400px) {
    .pure-menu-item a {
        padding: 0.8rem;
        padding-right: 0;
        border: none;
    }

}

@media (min-height:600px) {
    .pure-menu-item a {
        padding: 1rem;
        padding-right: 0;
        border: none;
    }
}
@media (min-height:800px) {
    .pure-menu-item a {
        padding: 1.8rem;
        padding-right: 0;
        border: none;
        font-size:20px;
    }
}

.is-hidden {
    display: none !important;
}


    /* Media Queries */

    @media screen and (min-width: 801px) {
        .statusbar {
            margin-left: 0px;
        }

        .layout {
            left: 0;
            padding-left: 210px;
        }

            .menu,
            .menu-link,
            .layout.active .menu-link {
                left: 210px;
            }

        .menu-link {
            z-index: 1000;
            position: fixed;
            display: none;
        }
    }


    @media screen and (max-width: 1076px) {
        .statusbar {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
        }

        .sb-item {
            display: block;
            width: 50%;
            flex-grow: 1;
        }

            .sb-item:not(:first-of-type) {
                margin: 0;
                margin-bottom: 0.125rem;
            }

            .sb-item:nth-of-type(2n) {
                text-align: right;
            }
    }

    @media screen and (max-width: 768px) {

        .menu-link {
            z-index: 1000;
            position: fixed;
            left: 0;
        }

        .header {
            padding: 0;
        }

            .header img {
                display: inline-block;
                margin: 0;
            }

        .sb-item img,
        .sb-item span {
            padding-right: 0.5rem;
            line-height: 20px;
        }

        .sb-item img {
            height: 1rem;
            width: auto;
        }

        .sb-item span {
            font-size: 1.0rem;
            letter-spacing: 1px;
        }
    }

    @media screen and (max-width: 414px) {
        .statusbar {
            flex-direction: column;
            align-items: flex-start;
        }

        .sb-item {
            width: 100%;
        }

            .sb-item:nth-of-type(2n) {
                text-align: left;
            }

            .sb-item .spanSendCount {
                padding: 0.125rem 0.5rem !important;
                font-size: 0.7rem;
            }
    }
