/* Core layout and style */
html, body  {
    height: 100%;
}
.pageContainer {
    width: 100%;
}
.page {
    min-height: 100%;
    padding-top: 50px;
}
.fix {
    position: fixed;
    width: 100%;
    z-index: 100;
}

h1 {
    font-weight: 400;
    padding-bottom: 8px;
}
h2 {
    font-weight: 400;
    padding-bottom: 4px;
}
p {
    padding-bottom: 8px;
}
strong {
    font-weight: 400;
}
em {
    font-style: italic;
}

/* Colour scheme */
.colour1 {
    background: #406090;
    border-color: #ffffff;
    color: #ffffff;
}
.colour2 {
    background: #ffffff;
    border-color: #000000;
    color: #000000;
}
.colour3 {
    background: #ffffff;
    border-color: #406090;
    color: #406090;
}
.colour4 {
    background: #ffffff;
    color: #ff8000;
}
.positive {
    color: #006020;
}
.negative {
    color: #d00000;
}
.discontinued {
    color: #808080;
    text-decoration: line-through;
}
.hide {
    display: none;
}

/* Generic elements */
.hideOnLoad {
    display: none !important;
}
.templates {
    display: none;
    height: 0;
    overflow: hidden;
}
.close {
    cursor: pointer;
    float: right;
    margin: 20x;
}
.button {
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    display: inline-block;
    float: left;
    font-size: 17px;
    padding: 2px 4px;
    text-align: center;
    width: 25px;
}

/* Content area */
.content {
    padding: 4px;
    position: relative;
    width: 100%;
}
#content1 {
    display: block;
}
#content2 {
    display: none;
}

.overlay {
    background: rgba(0, 0, 0, 0.6);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
}
.overlay div {
    border-radius: 2px;
    background: #ffffff;
    color: #000000;
    padding: 8px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 120px;
    width: 140px;
}


/* Size-dependent */
.xsHide, .sHide {
    display: none;
}

@media (min-width: 480px) {
    .pageContainer {
        margin-left: auto;
        margin-right: auto;
        max-width: 1000px;
        position: relative;
    }
    .content {
        padding: 8px;
    }
    .xsHide {
        display: block;
    }
    .xsShow {
        display: none;
    }
}

@media (min-width: 720px) {
    .sHide {
        display: block;
    }
    .sShow {
        display: none;
    }
}


