body{
    margin: 0;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    color: gray;
    font-size: medium;
}

input, textarea{
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

h1, h2, h3, h4, h5, h6{
    margin-top: 0;
    margin-bottom: 0;
    color: black;
}

h5{
    font-size: large;
}

p{
    margin-top: 7px;
    margin-bottom: 7px;
}

a{
    color: gray;
    cursor: pointer;
    cursor: hand;
}

a:hover, a.normal:hover{
    color: black;
    text-decoration: none;
}

a.nothing, a.nothing:hover{
    color: inherit;
    text-decoration: none;
}

div{
    margin: 0;
}

.pageEditor td{
    padding-left: 10px;
    border-top: solid thin lightgray;
}

hr{
    border: 0;
    height: 2px;
    background: linear-gradient(to left, rgba(0,0,0,0), rgb(159, 159, 159), rgba(0,0,0,0));
}

.center{
    text-align: center;
}

.menu{
    margin: 0;
    padding: 0;
    padding-top: 15px;
    text-align: center;
    border-top: thin solid transparent;
    height: 278px;
}

.main {
    width: 75%;
    margin: 0px auto;
    overflow-x: hidden;
}

.footer{
    width: 75%;
    margin: 0px auto;
}

.menu ul{
    margin: 0;
    padding: 0;
    margin-right: 10px;
    display: inline;
    position: relative;
    top: 175px;
    left: 15px;
}

.menu li{
    display: inline;
    margin-left: 0;
    margin-right: 15px;
    font-weight: bold;
    font-size: 27px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.menu a{
    color: white;
    text-decoration: none;
}

.menu li.selected{
    border-top: solid white;
    border-bottom: solid white;
}

.link-home{
    margin-top: 0;
    margin-left: 25px;
    float: left;
    display: inline;
    text-decoration: none;
    font-weight: bold;
    font-size: 22px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.link-home:hover{
    color: #f76266;
}

.header-outer{
    width: 100%;
    height: 300px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    margin-top: 0;
    color: white;
    border-bottom: solid thin gray;
}

#revision {
    background-image: url('headerimg-revision.png');
}

#revision .banner {
    background-color: #61CDF5;
}

#matdev {
    background-image: url('headerimg-matdev.png');
    background-color: #e3e3e3;
}

#matdev .banner {
    background-color: #f76266;
}

#projects {
    background-image: url('headerimg-projects.png');
}

#projects .banner {
    background-color: #57cf59;
}

#contact {
    background-image: url('headerimg-contact.jpg');
    background-position: center top;
}

#contact .banner {
    background-color: #d56bff;
}

#admin {
    background-image: url('headerimg-admin.jpg');
    background-position: center top;
}

#admin .banner {
    background-color: gray;
}

#blog-spring {
    background-image: url('headerimg-blog-spring.jpg');
    background-position: center;
}

#blog-summer {
    background-image: url('headerimg-blog-summer.jpg');
    background-position: center;
}

#blog-autumn {
    background-image: url('headerimg-blog-autumn.jpg');
    background-position: left center;
}

#blog-winter {
    background-image: url('headerimg-blog-winter.jpg');
    background-position: center;
}

#blog-spring .banner{
    background-color: #FFD700;
}

#blog-summer .banner{
    background-color: #FFD700;
}

#blog-autumn .banner{
    background-color: #FFD700;
}

#blog-winter .banner{
    background-color: #FFD700;
}

.banner{
    height: 7px;
}

.header-overlay{
    height: 300px;
    width: 100%;
}

.main-outer{
    border-top: solid thin lightgray;
    padding: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

.po4 {
    padding: 0;
    text-align: center;
}

.po4 p{
    margin-top: 0;
}

.po4 li {
    display: inline-block;
    width: 24%;
    vertical-align: top;
}

.po4 h3 {
    color: black;
}

.po4 a {
    text-decoration: none;
    color: gray;
}

.contact-types{
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 30px;
    color: black;
    font-weight: bold;
    text-align: center;
}

.contact-types a{
    font-weight: normal;
    font-size: 26px;
}

.contact-types hr{
    width: 500px;
}

.centre {
    text-align: center;
}

img.centre {
    display: block;
    margin: 20px auto;
}

.select {
    float: left;
    width: 49%;
}

.viewer {
    width: 49%;
    float: right;
    /*border-left: thin solid black;*/
}

.viewer p {
    margin: 5px 5px;
}

.select a, .viewer a {
    text-decoration: none;
    color: #61CDF5;
}

a.normal {
    text-decoration: underline;
    color: gray;
}

.select ul {
    list-style-type: none;
    padding: 0;
    margin-left: 1px;
    border-left: thin dotted;
}

.select .selected li {
    font-weight: normal;
}

.select .selected .selected {
    font-weight: bold;
}

.select ul.indent {
    list-style-type: none;
    padding: 0px 20px;
}

.selected {
    font-weight: bold;
    color: #61CDF5;
    text-decoration: none;
}

.footer-outer{
    background-color: #666666;
    color: white;
    padding: 5px 0;
    font-size: small;
    text-align: center;
    clear: both;
}

.footer a {
    text-decoration: none;
    color: lightgray;
}

.footer a:hover {
    color: white;
}

.title h1{
    font-size: 100px;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    text-align: center;
    text-shadow: 1px 1px 5px black;
    letter-spacing: -6px;
    color: white;
}

.preload{
    display: none;
}

.post{
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
}

.post p{
    margin-top: 7px;
    margin-bottom: 12px;
}

ul.ymSelect{
    padding: 0;
    margin: 0;    
}

.ymSelect li{
    display: inline;
    padding-right: 10px;
}

.notes-page{
    max-width: 100%;
    margin: 20px auto;
}

ul.pages{
    list-style-type: none;
    text-align: center;
    padding-left: 0;
    overflow-x: hidden;
}

.pages li{
    display: inline;
}

.blogFollower{
    position: fixed;
    top: 0;
    height: 51px;
    width: 100%;
    background-color: white;
    text-align: center;
    padding-top: 7px;
}