body {
    font-family: Tahoma,Verdana,Segoe,sans-serif;
    color: #979796;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fjalla One' ,sans-serif;
}

#page-body li,
#page-body p,
#page-body h1,
#page-body h2,
#page-body h3,
#page-body h4 {
    text-align: left;
}

.button {
    display: inline-block;
    vertical-align: top;
    padding: 10px 4%;
    font-size: 18px;
    text-transform: uppercase;
    color: #FFF !important;
    background-color: #91bf56;
    transition: background-color 0.4s ease-in-out;
} /* theme colours done in main */

#page-body a[href$=".pdf"]{
    position:relative;
    display: inline-block;
    text-transform: capitalize;
}
#page-body a[href$=".pdf"]:before {
    content:"";
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background-image: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/Amps/app_files/img/pdf-green.svg');
    background-size: 40px 40px;
    background-repeat: no-repeat;
} /* theme colours done in main */

/* imitate sub-page styles as content for staff people */
.staff {
    position: relative;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    font-family: 'Fjalla One' ,sans-serif;
    font-size: 30px;
    line-height: 32px;
    font-weight: bold;
    width: 30.33%;
    padding-top: 20%;
    color: #659041;
    background-color: #91bf56;
    background-image:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/Amps/app_files/img/logo.svg');/*fallback*/
    background-repeat: no-repeat;
    background-size: 50% 50%;
    background-position: center 20%;
    box-sizing: border-box;
    border-bottom: 4px solid #659041;
    margin: 0.5%;
    overflow: hidden;
}
/** NEEDS 3 Paragraphs! **/
.staff p {
    margin:0;
}
.staff p:first-of-type,
.staff img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}
.staff p:nth-last-of-type(-n+2) {
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    z-index:3;
}
.staff p:nth-last-of-type(2) { /* white text - jobtitle/firstname */
    position: absolute;
    left:0;
    bottom: 23%;
    padding-bottom: 5px;
    color: #FFF;
    display: block;
    font-size: 20px;
    line-height:1;
    text-shadow: 1px 1px #000;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
    z-index:2;
}
.staff p:last-of-type { /* green on grey */
    position: relative;
    background-color: #efeded;
    padding-bottom: 10%;
    padding-top: 1%;
    z-index:1;
}

.contact-block {
    display: inline-block;
    vertical-align: top;
    width: 400px;
    padding: 10px 5px;
    border: 1px solid #e2e2e2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 1%;
}
.contact-block h4 {
    margin:0;
}
.contact-block table {
    width: 100% !important;
    border:0 !important;
    border-collapse: collapse;
}
.contact-block thead {
    color: #91bf56;
} /* theme colours done in main */
.contact-block td {
    padding-left: 5px;
    text-align: left;
}

.weather-block {
    display: inline-block;
    vertical-align: top;
    width: 48%;
    padding: 10px 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.small {
    font-size: small;
    font-weight: normal;
}
.dark {
    color: #343333;
}
.highlight {
    color: #91bf56;
} /* theme colours done in main */

.clear-float {
    clear:both;
}

img.display-left {
    float:left;
    margin-right:40px;
    margin-bottom:10px;
}

img.display-right {
    float:right;
    margin-left:40px;
    margin-bottom:10px;
}

@media screen and (max-width: 960px){
    .staff {
        font-size: 20px;
        line-height: 1;
    }
    .staff p:nth-last-of-type(2) {
        font-size: 16px;
    }
}
@media screen and (max-width: 760px){
    .staff {
        width: 48%;
        padding-top: 30%;
        font-size: 18px;
    }
    .staff p:nth-last-of-type(2) {
        bottom: 20%;
    }
    .staff p:last-of-type {
        padding-bottom: 20px;
    }
}
@media screen and (max-width: 700px) {
    #page-body table,
    #page-body tr {
        display: block;
        width: 100%;
    }
    #page-body tr {
        text-align: left;
        margin-bottom: 10px;
    }
    #page-body td {
        display: inline-block;
    }
    #page-body td:first-of-type {
        padding-right: 10px;
    }
}
@media screen and (max-width: 650px) {
    img.display-left,
    img.display-right {
        display: block;
        float:none !important;
        margin: 20px 0;
    }
    .contact-block {
        width: auto;
    }
}
@media screen and (max-width: 500px){
    .contact-block,
    .weather-block {
        width: 100%;
        margin: 0 auto;
    }
    .staff {
        display: block;
        width: 100%;
        padding-top: 60%;
        margin: 0;
        margin-bottom: 10px;
    }
    .staff p:nth-of-type(2){
        bottom: 18%;
    }
}