/* Colours:
    Orange : b7410E
    Yellowish: efc88b
    Brownish:  #6b2000;
    grey: 7c7c7c
    white: eee5e9
    and black.
    */

body {
    position: relative;
    margin-left: 5%;
    margin-right: 5%;
    background: #eee5e9;
    font-family: Georgia, 'Palatino', 'Times New Roman', Times, serif;
    font-size: 1rem;
    line-height: 1.5rem;
    overflow-x: hidden;
}

/* ----------------------------- Header styles ---------------------------- */
header.page-header {
    background-color: #efc88b;
    z-index: 2;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid #7c7c7c;
}


header.page-header a img, header.page-header a div, header.page-header nav {
    display: inline-block;
}

header.page-header a {
    text-decoration : none;
    vertical-align: middle;
}

header.page-header a img {
    padding-left: 1rem;
    padding-bottom: 0.5rem;
}

h1.tallHeading {
    padding: 0;
    margin: 0;
    color: #b7410e;
    font-family: 'Arial Rounded MT Bold', 'Helvetica Rounded', Arial, Helvetica, sans-serif;
    font-size: 3rem;
    letter-spacing: -0.1rem;
    text-align: center;
    line-height: 3.2rem;
}

h1.shortHeading {
    font-family: 'Arial Rounded MT Bold', 'Helvetica Rounded', Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0rem;
    line-height: 1.6rem;
    color: #b7410e;
    margin-top: -0.5rem;
    margin-bottom: -0.5rem;
    padding-left: 1rem;
}

header.page-header a h2 {
    color: #b7410e;
    font-family: 'Arial Rounded MT Bold', 'Helvetica Rounded', Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0rem;
    margin-top: -0.5rem;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.6rem;
}

nav.shortHeading ul {
    top: 0 !important;
    padding-right: 0.5rem;
}

nav.shortHeading ul li {
    padding: 0 !important;
    padding-left: 0.5rem !important;
    font-size: 0.9rem;
}

header.page-header nav ul {
    position: absolute;
    right: 0;
    top: 0.5rem;
    list-style: none;
    color: #7c7c7c;
    display: block;
    margin: 0;
}

header.page-header nav ul li {
    display: inline-block;
    padding: 1rem;
    padding-left: 0;
    font-family: 'Trebuchet MS', Helvetica, Tahoma, Geneva, sans-serif;
    color:  #7c7c7c;
}

header.page-header nav ul li a {
    text-decoration: none;
    color:  #b7410e;
    border-left: 1px solid #7c7c7c;
    padding-left: 1rem;
}

header.page-header nav ul li a:hover {
    text-decoration: none;
    color:  #7c7c7c;
}

.header-short {
     padding-top: 0.1rem;
     padding-bottom: 0.1rem;
     font-size: 1.1rem;
     letter-spacing: 0;
}

#hamburger {
    display: none;
}

#menuIcon {
    display: none;
}

/* ----------------------------- Common Styles ---------------------------- */

a {
    text-decoration: none;
    color: #707070;
}

a:hover {
    text-decoration: underline;
}

#cal a:hover {
    text-decoration: none;
}

article figure {
    margin: 0;
    background: #7c7c7c;
    border: 1px solid #b7410e;
    border-radius: 5px;
    text-align: center;
}

article figure.CentrePicture {
    width: 100%;
}

article figure.RightPicture {
    width: 50%;
    float: right;
    margin-left: 1rem;
}

article figure.LeftPicture {
    width: 50%;
    float: left;
    margin-right: 1rem;
}

article figure a img, article figure img {
    width: 100%;
    margin-top: 1%;
}

article figure figcaption {
    font-family: Helvetica, Arial, 'Trebuchet MS', 'geneva', sans-serif;
    margin-bottom: 0;
    letter-spacing: 0.1rem;
    font-size: 1rem;
    padding-left: 1rem;
    padding-bottom: 0.5rem;
}

figcaption a {
    color: #6b2000 !important;
}

#shade {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #acacac;
    opacity: 0.5;
    border-radius: 1rem;
}

main {
    padding-top: 2.3rem;
}

h1.gap {
    margin-top: 0.5rem !important;
}


/* ----------------------------- Footer styles ---------------------------- */
footer {
    border-top: 1px solid #7c7c7c;
    background-color: #efc88b; 
    width: 110%;
    display: inline-block;
    margin-left: -5%;
    margin-right: -5%;
    font-family: Helvetica, Tahoma, 'Geneva', 'Trebuchet MS', Arial, Verdana, sans-serif;
    font-size: 0.75rem;
    line-height: 1.1rem;
    color: #b7410e;
}

footer a:not(.heading) {
    color: #2c2c2c;
}

footer a.heading {
    color: #b7410e;
}

footer a:hover {
    text-decoration: underline;
}

footer a:visited :not(.heading) {
    color: #7c7c7c;
}

#copyNotice {
    position: absolute;
    bottom: 0.5rem;
    right: -5%;
}

footer nav {
    display: inline-block;
    height: 100%;
    padding-left: 0.75rem;
    vertical-align: top;
    width: 20%;
}

footer nav h1 {
    margin-bottom: 0.5rem;
}

footer nav a {
    display: block;
}

/* --------------------------------- Top Marker box --------------------------------------- */

#topMarker {
    display: block;
    position: fixed;
    bottom: 0;
    right: 0;
    background: #7c7c7c;
}

#topMarker a {
    text-decoration: none;
}

#topMarker h1, #topMarker h2 {
    text-align: center;
    font-family: Verdana, Helvetica, Tahoma, 'Geneva', 'Trebuchet MS', Arial,sans-serif;
    font-size: 2rem;
    font-weight: bold;
    line-height: 2rem;
    color: #b7410e;
    margin: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

#topMarker h2 {
    font-size: 0.75rem;
    font-weight: normal;
    line-height: 1rem;
    margin-top: -0.25rem;
    text-align: left;
}

#greyBox {
    display: none;
    background-color: #484848;
    opacity: 0.8;
    z-index: 3;
    position: fixed;
    top: 0;
    margin-left: -10%;
    margin-right: -10%;
    min-height: 100%;
    width: 110%;
}


.hidden {
    display: none;
}

.eventCard {
    display: block;
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    border: 1px solid #b7410e;
    border-radius: 3px;
    background-color: #efc88b;
}

/* ---------------------------------- Responsiveness ---------------------------------------- */
@media only screen and (max-width: 1024px )
{
    header.page-header nav ul li {
        padding: 1rem;
        padding-right: 0.5rem;
        padding-left: 0;
    }
    
    header.page-header nav ul li a {
        border-left: 1px solid #7c7c7c;
        padding-left: 0.5rem;
    }
    
    .header-short {
        font-size: 1rem;
    }  
}

@media only screen and (max-width: 740px )
{
    body {
        margin-left: 2.5%;
        margin-right: 2.5%;
    }

    header.page-header nav {
        display: block;
    }

    header.page-header nav ul {
        position: relative;
        top: 0;
        text-align: center;
        padding: 0;
    }

    header.page-header nav ul li {
        padding: 0;
        font-size: 0.9rem;
        line-height: 1.1rem;
    }
    
    header.page-header nav ul li a {
        border-left: 1px solid #7c7c7c;
        padding-left: 0.25rem;
    }
    
    header.page-header nav ul li:first-of-type a {
        border-left: none;
    }
    
    .header-short {
        font-size: 0.9rem;
        display: inline-block;
    }  

    h1.tallHeading {
        font-size: 2rem;
        line-height: 2.2rem;
    }

    h1.shortHeading {
        padding-left: 0.25rem;
    }

    nav.shortHeading {
        display: none !important;
    }

    nav.shortHeading ul {
        top: 0 !important;
    }
    
    nav.shortHeading ul li {
        padding: 0 !important;
        padding-left: 0.1rem !important;
        font-size: 0.75rem !important;
    }

    .right {
        display: none;
    }

    #menuIcon {
        position: absolute;
        top: 0.1rem;
        right: 0.1rem;
        display: block;
    }

    #menuIcon img {
        height: 100%;
    }

    #activities, #reports, #otherBits {
        display: none;
    }

    #cal.summary {
        display: none;
    }

    article figure.RightPicture {
        width: 100%;
        float: clear;
        margin-left: 0;
    }
    
    article figure.LeftPicture {
        width: 100%;
        float: clear;
        margin-right: 0;
    }
    
    footer {
        width: 110%;
        margin-left: -5%;
        margin-right: -5%;
    }
    
    #copyNotice {
        right: 0;
    }

   

}