/* CSS Document */
/*
    menuBand.css
    
    2023-06-19
     > Move to @media screen and (orientation:landscape).
       > This needs to affect html font-size ONLY.
       > Desktop menu still needs size media query.
     > Size burger here.

*/
/* Fixed Heights */
#menuBand {
    height: 5rem;
}
/* Colours */
.logo-head {
    color: #0b5394;
}
#menuBand {
    background-color: #0293c6;
    background-color: #e2edf6;
}
#menu {
    background-color: #e2edf6;
}
#currentPage {
    color: orange;
}
/* /Colours */
/* MenuBand */
#menuBand {
    display: grid;
    grid-template-columns: max-content auto 6rem; /* 6rem to allow for img */
    position: fixed;
    width: 100%;
    z-index: 10;
    align-items: center;
    padding: 0.5rem;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}
#menuBand a {
    text-decoration: none; /*    text-transform: uppercase;*/
}
/* > LOGO  */
.logo {
    display: inline-flex;
    flex-direction: column;
}
.logo * {
    margin: 0;
}
.logo-head {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.logo-tag {
    font-family: 'Oswald', sans-serif;
    ;
    color: #ff9900;
    color: orange;
    text-transform: lowercase;
    font-size: 1rem;
}
.logo-tag {
    margin-top: -0.5rem;
}
/*
    SLM Logo
*/
.schoolLeadersMatterDiv {
    display: flex;
    flex-direction: column;
    font-family: 'Quicksand', sans-serif;
    text-align: end;
    padding-left: 1.5rem;
}
.schoolLeadersMatterDiv > * {
    margin: -0.15rem 0;
}
.school {
    color: #06acbe;
}
.leaders {
    color: #0097ca;
}
.matter {
    color: #016aa8;
}
#SLMmenu {
    /*    display: none;
    opacity: 0;*/
    font-size: 1.2rem;
}
/* > MENU */
#menu * {
    list-style-type: none;
}
#menu {
    display: none;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 5rem;
    /*    height: 75vh;
    overflow: auto;*/
    padding-right: 2rem;
    font-size: 2rem;
    flex-direction: row;
    justify-content: space-around;
}
#menu li {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: end;
    margin-top: 1rem;
    /*    margin-right: 1rem;
*/ font-family: 'Montserrat', sans-serif;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
}
#menu > li {
    justify-content: flex-end;
    text-transform: uppercase;
}
.submenu {
    display: flex;
    display: none; /* Mobile menu problem */
    flex-direction: column;
    text-transform: lowercase;
    text-align: right;
}
#burger {
    position: fixed;
    font-size: 72px;
    right: 2rem;
    top: 2rem;
}
/*
    Media.
    
    Bin
    @media screen and (orientation:landscape) {

*/
@media screen and (orientation:landscape) {
    #burger {
        font-size: 36px;
/*        right: 2rem;
        top: 2rem;*/
    }
}

@media (min-width: 1000px) {

    /* Colours */
    .submenu {
        background-color: #e2edf6;
    }
    #menu li a {
        color: #08639d;
    }
    #menu li a:hover {
        color: orange;
    }
    /* /Colours */
    .logo {
        margin: 0;
    }
    #menu, #submenu, #submenu li {
        margin: 0;
        padding: 0;
    }
    #menu {
        display: flex;
        flex-wrap: nowrap;
        position: relative;
        right: 0;
        top: 0;
        align-self: start;
        opacity: 1;
    }
    #menu li {
        font-size: 1.0rem;
        margin-top: 0;
        justify-content: center;
        align-items: center;
        /*        align-items: flex-start;
*/
    }
    #menu > li {
        margin: 1rem;
        /*        justify-content: center;
        align-items: flex-start;*/
    }
    /*    It looks like this bit needs to be hard coded for each expandible menu!     */
    li:hover ul#PublicationsSubmenu {
        visibility: visible;
        opacity: 1;
    }
    li:hover ul#ToolsSubmenu {
        visibility: visible;
        opacity: 1;
    }
    li:hover ul#ServicesSubmenu {
        visibility: visible;
        opacity: 1;
    }
    li:hover ul#WorkshopsSubmenu {
        visibility: visible;
        opacity: 1;
    }
    li:hover ul#BooksSubmenu {
        visibility: visible;
        opacity: 1;
    }    
    
    /*    /It looks like this bit needs to be hard coded for each expandible menu!     */
    .submenu {
        visibility: hidden;
        display: flex;
        position: absolute;
        top: 1rem;
        width: max-content;
        padding: 1rem;
        opacity: 0;
        transition: opacity 2s ease;
        text-transform: capitalize;
    }
    .submenu li {
        margin: 0;
        padding: 0.3rem;
    }
    #burger {
        display: none;
    }
}