﻿html {
    margin: 0;
    padding: 0;
    font-size:16px;
}

body {
    /*position: relative;*/
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 1.0rem;
    width: 100%;
    /* box-sizing: border-box; */
    margin: 0;
    padding: 0;
}

body.MenuOpen 
{
    overflow:hidden;
}

body.GalleryOpen 
{
    overflow:hidden;
}

body.GalleryOpen *
{
    /* Remove box shadows for scroll performance. */
    box-shadow: none!important;
}

#HeaderContainer
{
    box-sizing: border-box;
    padding: 0 0.5rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    height:4.5em;
    transform: scale3d(1,1,1) translateZ(0);
}

#HeaderMenu
{
    position: fixed;
    top: 0;
    right: 0;
}

#HeaderMenu .MenuIcon 
{
    width: 3.5em;
    height: 3.5em;
    padding: 0.25rem;
    cursor: pointer;
}

#HeaderMenu .MenuIcon:hover {
    opacity: 0.6;
}

#MenuContainer {
    opacity: 0;
    box-sizing: border-box;
    width: 320px;
    max-width: 100%;
    right:0;
    top: 4.5em;
    position: fixed;
    height: 100%;
    padding: 0px;
    box-sizing: border-box;
    box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
    z-index: 20;

    -moz-transform:translateX(350px);
    -o-transform: translateX(350px);
    -ms-transform: translateX(350px);
    -webkit-transform: translateX(350px);
    /*transform: translateX(350px);*/
    transform: translate3d(0, 0, 0) translateX(350px) scale3d(1,1,1) translateZ(0);

    -moz-transition: all 0.75s ease;
    -o-transition: all 0.75s ease;
    -webkit-transition: all 0.75s ease;
    transition: all 0.75s ease;
}

#MenuContainer.Open
{
    opacity: 1.0;
    -moz-transform:translateX(0px);
    -o-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
}

#MenuContainer > .SideMenuTop, #MenuContainer > .SideMenuBottom, #MenuContainer > .SideMenuContent
{
    margin: 0;
    font-weight: 400;
    position: absolute;
    left: 0;
    right: 0;
    box-sizing: border-box;
}

#MenuContainer > .SideMenuTop
{
    top: 0;
    height: 50px;
    font-size: 32px;
    padding: 5px 10px;
    border-bottom: solid 1px;
}

#MenuContainer > .SideMenuContent
{
    top: 50px;
    bottom: 6.5em;
    overflow: auto;
}

#MenuContainer > .SideMenuBottom
{
    bottom: 4.5em;
    height: 2em;
}

#MenuContainer ul
{
    margin: 0;
    padding: 0;
    list-style-type: none;
    border-left: solid 1px;
}

#MenuContainer li.MenuItem.HasChildren > ul
{
    display: none;
    margin-left: 8px;
}

#MenuContainer li.MenuItem.HasChildren.ShowChildren > ul {
    display: block;
}

#MenuContainer li.MenuItem > div
{
    padding: 10px;
    border-left: solid 10px;
    border-bottom: solid 1px;
    font-weight:bold;
    overflow:auto;
}

#MenuContainer a
{
    border-bottom: none;
}

a.MenuItemMore
{
    float: right;
    cursor: pointer;
    font-weight:normal;
}

.SideMenuClose
{
    float: right;
    font-family: 'Varela Round',sans-serif;
    cursor: pointer;
}

#ContentContainer
{
    position:relative;
    top: 5em;
    bottom: 0;
    overflow-y: auto;
    padding: 0 2% 2% 2%;
    left:0;
    right:0;
}

#ContentContainer.MenuOpen {

}

#SiteTitle
{
    font-family: Roboto;
    font-weight:100;
    padding:0;
    margin:0;
    font-size:3.5em;
}

#SiteTitle a:link, #SiteTitle a:visited, #SiteTitle a:hover, #SiteTitle a:active
{
    border:none;
}

a:link, a:visited
{
    text-decoration: none;
    border-bottom: 2px dotted;
}

img{
    max-width: 100%;
}

#SiteTitleUnique
{
    font-family: 'Varela Round';
    font-weight: 400;
}

#CrumbtrailContainer
{
    padding: 1em;
    margin: 1em 0;
    font-weight:bold;
    line-height: 2em;
    font-size: 0.8em;
}

#CrumbtrailContainer a.CurrentLink {
    font-weight: normal;
}

/*Media Queries*/

@media (max-width: 800px)
{
    #HeaderContainer {
        height: 4em;
    }

    #ContentContainer, #MenuContainer {
        top: 4em;
    }

    #SiteTitle {
        font-size: 3em;
    }

    #HeaderMenu .MenuIcon {
        width: 3em;
        height: 3em;
    }

    #MenuContainer > .SideMenuContent {
        bottom:6em;
    }

    #MenuContainer > .SideMenuBottom {
        bottom: 4em;
    }
}

@media (max-width: 600px)
{
    #HeaderContainer {
        height: 2.5em;
    }

    #ContentContainer, #MenuContainer {
        top: 2.5em;
    }

    #SiteTitle {
        font-size: 2em;
    }

    #HeaderMenu .MenuIcon {
        width: 2em;
        height: 2em;
    }

    #MenuContainer > .SideMenuContent {
        bottom:4.5em;
    }

    #MenuContainer > .SideMenuBottom {
        bottom: 2.5em;
    }
}

@-webkit-keyframes colour{
    0%{background-color:rgba(0, 150, 255, 0.85)}
    50%{background-color:rgba(0, 128, 218, 0.85)}
    100%{background-color:rgba(0, 150, 255, 0.85)}
}

@-moz-keyframes colour{
    0%{background-color:rgba(0, 150, 255, 0.85)}
    50%{background-color:rgba(0, 128, 218, 0.85)}
    100%{background-color:rgba(0, 150, 255, 0.85)}
}

@-ms-keyframes colour{
    0%{background-color:rgba(0, 150, 255, 0.85)}
    50%{background-color:rgba(0, 128, 218, 0.85)}
    100%{background-color:rgba(0, 150, 255, 0.85)}
}

@-o-keyframes colour{
    0%{background-color:rgba(0, 150, 255, 0.85)}
    50%{background-color:rgba(0, 128, 218, 0.85)}
    100%{background-color:rgba(0, 150, 255, 0.85)}
}

@keyframes colour{
    0%{background-color:rgba(0, 150, 255, 0.85)}
    50%{background-color:rgba(0, 128, 218, 0.85)}
    100%{background-color:rgba(0, 150, 255, 0.85)}
}