/* Layout */
html.scroll-disabled,
body.scroll-disabled {
  overflow: hidden;
}
body {
    height: 100%;
}
html.scroll-disabled,
body.scroll-disabled {
  overflow: hidden;
}
div#container {
    min-height: calc(100vh - var(--footer-height));
    position: relative;
    padding: 0 var(--default-spacing);
    padding-top: calc(var(--content-margin-top) + var(--header-height));
    box-sizing: border-box;
}
header#header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    background: #fff;
    padding: calc(var(--default-spacing) - 3px) var(--default-spacing) var(--default-spacing) var(--default-spacing);
    height: var(--header-height);
}
#header,
#menu,
#header a,
#menu a {
    letter-spacing: 2%;
}
main#main {
}
#footer {
    height: 15px;
    padding: var(--default-spacing);
    background: #fff;
}

/* Header & menu */
#logo {
    flex-grow: 2;
    text-transform: uppercase;
}
#logo:hover a {
    color: var(--active-color);
}
#baseline {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
}
#menu_button {
    cursor: pointer;
    width: 22px;
    height: 13px;
    background: url('../img/menu.svg') no-repeat;
    background-size: 100%;
}
#menu {
    position: fixed;
    z-index: 100;
    top: -27px;
    left: 0;
    right: 0;
    /*transform: translateY(calc(-100%));*/
    /*background: #fff;*/
    padding: 0 var(--default-spacing) var(--default-spacing) var(--default-spacing);
    text-align: right;
    background: #fff;
}
#menu ul {
    display: flex;
    justify-content: left;
    text-transform: uppercase;
}
#menu ul li a.active,
#menu ul li a:hover {
    color: var(--active-color);
}
body.menu_expanded #menu {
    /*transform: translateY(0);*/
    top: 29px;
}
body.menu_expanded #menu_button {
    background: url('../img/close.svg') no-repeat center top;
    background-size: 15px;
}

@media only screen and (min-width: 768px) {
    #menu {
        transform: none;
        transition: 0.5s;
        left: unset;
        padding: 0;
        z-index: 100;
        top: calc(var(--default-spacing) - 3px);
        /*width: calc(50% - (var(--default-spacing) / 2));*/
        width: 50%;
        box-sizing: border-box;
    }
    #menu_button {
        display: none;
    }
    #logo {
        flex-grow: 0;
        box-sizing: border-box;
    }
    #logo .wrapper {
        display: inline-block;
        width: 150px;
    }
    #baseline {
        position: static;
        transform: none;
        flex-grow: 2;
    }
}

/* Message */
.cpnt_message {
    position: fixed;
    z-index: 10000;
    top: var(--default-spacing);
    left: 50%;
    transform: translateX(-50%);
    background: #deae1e;
    color: #fff;
    padding: 20px;
    width: auto;
    text-align: center;
}
