﻿body {
    font-family: Calibri, Helvetica, Arial, sans-serif;
    width: 95%;
    font-size: 16px;
    line-height: 20px;
    color: #666;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.grow {
    transition: all 0.3s ease;
}
    .grow:hover {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }

/* Centre page on screen*/
.content {
    max-width: 1200px;
    margin: auto;
    background: white;
    padding: 10px;
}

#jdimage {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 150px;
}

.banner {
    border: 0px solid green;
    position: relative;
    width: 100%;
    height: 150px;
    margin: 0 auto;
}

    .banner img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 150px;
        margin-top: 0px;
        margin-left: 0px;
        -webkit-transition: opacity 1s ease-in-out;
        -moz-transition: opacity 1s ease-in-out;
        -o-transition: opacity 1s ease-in-out;
        transition: opacity 1s ease-in-out;
    }

        .banner img.top:hover {
            opacity: 0;
        }

/*#rightimage.shrink:hover {
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
}*/

/* Links ---------------------- */
a {
    color: brown;
    text-decoration: underline;
    line-height: inherit;
}

    a:hover {
        color: black;
        font-weight:800;
    }

    a:focus {
        color: white;
        outline: none;
    }


img {
    border: 0px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 1px;
}

h1 {
    font-size: 40px;
    line-height: 40px;
}

h2 {
    font-size: 32px;
    text-shadow: 2px 2px 4px #000000;
    line-height: 42px;
}

h3 {
    font-size: 27px;
    line-height: 27px;
    /*text-shadow: 1px 1px 2px #000000;*/
}

h4 {
    font-size: 23px;
    line-height: 23px;
}

h5 {
    font-size: 17px;
    line-height: 17px;
}

h6 {
    font-size: 14px;
    line-height: 14px;
}

p.smallspacing {
    line-height: 0.9;
}

#title {
    font-family: "Comic Sans MS", serif;
}

section {
    background-color: aliceblue;
    color: black;
    width: 99%;
    margin-top: 4px;
    text-align: center;
    padding: 8px 8px;
    text-decoration: none;
    font-size: 16px;
}

.gradient {
    background-image: linear-gradient(180deg, #ffffff, #BCC6CC);
    width: 60%;
    margin: auto;
    box-shadow: 0px -2px 20px 2px rgba(0, 0, 0, 0.4);
}

/* HEADER nav bar */
.navHeader {
    background-color: steelblue;
    overflow: hidden;
}

    .navHeader a {
        float: left;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
    }

        .navHeader a:hover {
            background-color: #ddd;
            color: black;
        }

        .navHeader a.active {
            background-color: #04AA6D;
            color: white;
        }

/* FOOTER nav bar */
.navFooter {
    background-color: steelblue;
    overflow: hidden;
    
}

    .navFooter a {
        float: left;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
    }

        .navFooter a:hover {
            background-color: #ddd;
            color: black;
        }

        .navFooter a.active {
            background-color: #04AA6D;
            color: white;
        }

.button {
    background-color: #04AA6D; /* Green */
    background-image: linear-gradient(180deg, #ffffff, #2B547E);
    border: none;
    border-radius: 8px;
    color: black;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 4px 2px;
    cursor: pointer;
}

.alink {
    background-color: #04AA6D; /* Green */
    background-image: linear-gradient(180deg, #ffffff, #2B547E);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 22px;
    cursor: pointer;
    width: 250px;
    height: 30px;
    color: white;
    float: right;
    margin-top: -42px;
    margin-right: -10px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create two equal columns that sit next to each other */
.column2 {
    flex: 100%;
    max-width: 49%;
    padding: 0 2px;
    background-image: linear-gradient(180deg, #ffffff, #BCC6CC);
}

/* Create five equal columns that sit next to each other */
.column {
    flex: 20%;
    max-width: 19%;
    padding: 0 4px;
    border: 0px solid red;
}
/* Create 4 equal columns that sit next to each other */
.column4 {
    flex: 25%;
    max-width: 24%;
    padding: 0 4px;
}
/* Create 8 equal columns that sit next to each other */
.columnSmall {
    flex: 12%;
    max-width: 12%;
    padding: 0 4px;
    border: 0px solid red;
}
.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}

article {
    background-color: #fff;
    margin: -6em auto 10em auto;
    padding-top: 2em;
    width: 100%;
    box-shadow: 0px -2px 20px 2px rgba(0, 0, 0, 0.4);
}
