/*

    !!! DO NOT CHANGE - USE OVERRIDE RULES TO TWEAK LAYOUT / COLOURS !!!

*/
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

header {
    display:flex;
    padding:16px 32px;
    position: sticky;
    top:0;
    z-index:1;
    justify-content: space-between;
    align-items:center;
    background:#FFF;
}

header .logo {
    text-decoration:none;
    display:block;
    width:300px;
}

header .logo svg {
    display:block;
    width:300px;
}

.fixed-header main {
    padding-top: var(--header-height);
}

.fixed-footer main {
    padding-bottom: var(--footer-height);
}

footer {
    position: relative;
    top: 80px;
    font-size: 12px;
    padding: 0 0 10px 2px;
}

.fixed-footer footer {
    overflow: hidden;
    flex-shrink: 0;
    padding:32px;
}

header menu {
    display: flex;
    align-items: center;
}


.nav-icon {
    display:none;
}

.mobile-menu {
    display:none;
}

.logout {
    display: flex;
    text-decoration: none;
    width: 36px;
    height: 36px;
    background: var(--control-bg-1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 2px;
}

.logout:hover {
    background: var(--control-bg-1-hover);
}

.logout svg {
    display: block;
    fill: #FFFFFF;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-left: 3px;
}

@media screen and (max-width:960px) {

    menu.main {
        display:none;
    }

    .nav-icon {
	    display:flex;
	    width:36px;
	    height:36px;
	    background:#61b2ac;
	    align-items:center;
	    justify-content:center;
	    flex-direction:column;
	    border-radius:50%;
	    cursor:pointer;
	    transition:.5s;
	    margin-left:24px;
    }

    .nav-icon:hover {
	    background:#BA8266;
    }

    .nav-bar {
        width: 18px;
        height: 2px;
        background: #FFFFFF;
        margin: 3px;
        pointer-events: none;
    }

    .nav-close-bars {
        background: #fff;
        width: 20px;
        height: 2px;
        -webkit-transition: all .3s;
        transition: all .3s;
        margin: 3px 0;
    }

    .nav-close-bars:nth-of-type(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .nav-close-bars:nth-of-type(2) {
        transform:rotate(-45deg);
    }

    .nav-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        margin: auto auto auto 10px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        padding: 0;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 50%;
        transition: 0.7s;
        background:rgb(0 0 0 / 20%);
    }

    .nav-close svg {
        display:block;
        fill:#FFFFFF;
        width:20px;
        height:20px;
    }

    .nav-close:hover {
        background:#d8a935;
        cursor:pointer;
    }

    .mobile-menu.no-scrollbar {
	    display:flex;
        z-index: 1;
        align-items: flex-start;
	    background:#6D8368;
	    position:fixed;
	    top:0;
	    left:0;
	    width:100%;
	    height:100%;
	    flex-direction:column;
	    padding:32px 32px 32px 32px;
    }

    .mobile-menu a {
        display:block;
        font-size:1.4rem;
    }

    .mobile-menu a:hover {
        color:#d8a935;
    }

    .mobile-menu .logo {
        margin:0 0 32px 16px;
    }


    header {
        padding: 16px 16px;
    }
}

@media screen and (max-width:600px) {
    header .logo,
    nav {
        width:100%;
    }

    header {
        padding:0;
    }
    
    header .logo {
        padding:0 16px;
    }

    header nav {
        padding: 8px 16px;
    }

    header {
        width: calc(100% - 48px);
    }
}