/* General styling for pages */
body {
    background-color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    color: #2e2c2a;
}

h3, h2, h1 {
    font-family: 'Fahkwang', sans-serif;
}

h4 {
    font-size: 23px;
}


/* Styles for header */

header {
    background-color: #47718a;
    overflow: hidden;
    border-bottom: 3px solid #2e2c2a;
    border-top: 3px solid #2e2c2a;
    display: flex;
    justify-content: center;
}

header img {
    width: 100px;
    margin: 15px 0px 0px 0px;
}


header h1 {    
    color: #2e2c2a;
    padding: 20px 20px 0 20px;
    font-size: 35px;   
}

.motto p {
    font-style: italic;
    color: #b1b0ae;
    margin-left: 90px;
    margin-top: -10px;
}

.headerItem {
    text-align: center;
}

/* Styles for nav bar */


ul {
    margin: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav a:link {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
}

nav a:hover, .hiddenMenu:hover a {
    color:  #8d8c8a;
    text-shadow: 3px 3px 6px #2e2c2a;
}

nav a:visited {
    color: #fff;
}

nav a:active {
    color: #d8da76;
    text-shadow: 3px 3px 6px #2e2c2a;
}

.topnav {
    background-color: #214459;
}

nav ul li .selected {
    background-color: #47718a;
    padding: 10px;
}

nav ul li a {
    display: block;
    padding: .8rem 2%;
    border-top: 1px solid #2e2c2a;
}


/* Styles for Hamburger Nav Menu */

nav button {
    margin: .2rem 2%;
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    display: inline-block;
}

button:focus {
    outline: 0;
}

nav p {
    color: #fff;
    font-size: 1.3rem;
    display: inline-block;
    margin: 0;
}

nav button:hover, nav p:hover {
    color:  #8d8c8a;
    text-decoration: none;
}

.wholeHamburger{
    text-align: center;
    overflow: hidden;
    border-bottom: 2px solid #2e2c2a;
}

li.currentPage {
    background-color: #47718a;
}

nav ul.hide {
    display: none;
}

/* Styles for Footer */

#copyright, #currentDate {
    color: #fff;
    text-align: center;
}

footer {
    background-color: #214459;
    overflow: hidden;
    padding: 10px 5px;
    border-bottom: 3px solid #2e2c2a;
    border-top: 3px solid #2e2c2a;
}

/* Styles for Preston Weather Page */

#sky {
    width: 97%;
    margin: 0 1.5%;
}

.pageTitle {
    text-align: center;
    font-size: 40px;
}

#weatherbox {
    background-color: #47718a;
    position: absolute;
    left: 5%;
    top: 10%;
    padding: 10px 30px;
    border: 2px solid #214459;
    color: #fff;
    font-size: 2.5vw;
}

#bigImage {
    position: relative;
}

h4 {
    color: #2e2c2a;
    text-shadow: 3px 3px 8px #fff;
}

.articleBox {
    background-color: #8d8c8a;
    border: 2px solid #2e2c2a;
    width: 96.7%;
    margin: 5% 1.5%;    
}

#articleTitle {
    margin: 2% 2%;
    font-size: 25px;
}

#authorByline {
    margin: 2% 5%;
    font-size: 15px;
}

#articlePic {
    width: 95%;
    margin: 0 2.5%
}

#articleBody {
    margin: 2% 2%;
}

#PrestonMap {
    width: 95%;
    margin: 0 2.5%;
    border: 2px solid #2e2c2a;
}

#contactArea {
    background-color: #47718a;
    overflow: hidden;
    border-bottom: 3px solid #2e2c2a;
    border-top: 3px solid #2e2c2a;
    padding-bottom: 10px;
}

#contactArea p {
    color: #fff;
}

#column1 {
    float: left;
    margin: 2.5%;
}

#column2 {
    float: right;
    margin: 2.5%;
}

#columns {
    width: 100%;
}

.hidden {
    display:none;
}

/* Styles for Weather Gallery */

h2 #weatherHeader {
    margin-left: 20px;
    color: #214459;
}

.galleryPic {
    width: 100%;
    border-bottom: 1px solid #2e2c2a;
}

.galleryBox {
    width: 100%;
    border: 1px solid #2e2c2a;
    margin: 1.5em;
}

figure figcaption {
    padding: 10px;
}

#picGallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#weatherHeader {
    margin-left: 20px;
    color: #214459;
}

/* Styles for Thank-You Page */

#thankYouBox {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#thankYouBox h2, p {
    text-align: center;
}

#thankYouImage img {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
    display: block;
}


/* Styles for Storm Center Page */

form {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#textBox {
    width: 99%;
    height: 50px;
}

#shareHeading {
    text-align: center;
}
