/* Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.  */
html {-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}

/*----------- apply a natural box layout model to all elements --------------*/
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* ----- BANNER TOP ----- */

.banner {
    height: 50px;
    line-height: 50px;
    background: #EC9A29;
    text-align: center;
    font-size: 12px;
}

/* ----- HEADER ----- */

header, h1 {
    font-size: 30px;
    text-transform: uppercase;
}

header,
nav,
main,
footer {
    max-width: auto;
    margin: 0 auto;
}

h1 {
    font-size: 2rem;
}

h2 {
    color: #536878;
}

h1, h2, p {
    margin: 0;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #808080;
}

header img {
    width: 100px;
    height: auto;
    display:block;
}

/* ----- NAV ----- */

nav button {
    margin: .2rem 2%;
    background-color: transparent;
    border: none;
    font-size: 1.6rem;
    color: #fff;
}

nav {
    background-color: #536878;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li a {
    display: block;
    padding: .8rem 2%;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(0,0,0,0.3);
}

nav ul li.active a {
    background-color: rgba(0,0,0,0.2);
    color: #fff;
}

nav ul li a:hover {
    background-color: rgba(0,0,0,0.4);
}

nav ul.hide {
    display: none;
}


/*----- MAIN -----*/

.clearfix:after {
    content: "";
    display: table;
    clear: both;
  }

.box{
    display: block;
    margin: 10px auto;
    border: 1px dashed #000;
    padding: 15px;
    background-color: #bbbbbb;
    color: #0C1618;
    font-family: 'Montserrat', sans-serif;
  }

.stats {
    position: absolute;
    top: 18px;
    right: 18px;
    background: radial-gradient(#eee, #4567aa);
    border: 3px solid #ccc;
    border-radius: 1em;
    padding: .5rem;
    box-shadow: 0 0 30px #111;
    opacity: .8;
}

.img-principal {
    border: 3px solid #ccc;
    border-radius: 1em; 
    width: 100%;
    height: 300px;
}

.stats h2 {
    font-size: 15px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px black;
}

.stats p {
    font-size: 10px;;
}

.five-day {
    display: block;
    flex-wrap: wrap;
    font-size: 17px;
    text-align: center;
    flex-direction: row;    
}

.fiveday-box{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    margin-left: auto;
    margin-right: auto;
 }

 .fas {
    font-size:15px;
    padding: 0.5rem; 
}

.fas p {
    margin-top: 20px;
}

.grid-article {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 1em;
}

.h2-article {
    font-size: 40px;
    grid-column: 1/7;
    grid-row: 1/2;
    text-align: left;
}

.p-article {
    grid-column: 1/8;
    grid-row: 2/5;
    font-size: 18px;
}

.img-article {
    grid-column: 1/8;
    grid-row: 5/8;
    width: 100%;
    height: 400px;
    border: 1px solid rgb(124, 124, 124);
}

.h2main {
    text-align: center;
    font-size: 20px;
    margin: 1.5rem;
    text-transform: uppercase;
}

.herodiv {
    margin: 10px auto;
    position: relative;
}
 h1, h2, p {
    margin: 0;
}

table, th, td {
    border: 1px solid black;
    text-align: center;
    
  }

  table {
    width: 60%;
          
  }
.center {
   margin-left: auto;
   margin-right: auto;
}

.five_day_title{
    font-size: 30px;
    color: #536878;
}

/*  EVENT PRESTON */

.current {
    display: block;
    background: #e0e0e0;
    padding: 20px;
    margin-top: 5px;
    border-left: 5px solid #536878;
    margin-left: auto;
   margin-right: auto;
}
.current-events {
    
}

.events {	
    display: block;
    background: #e0e0e0;
    border-left: 5px solid #536878;
    margin:auto;
    margin-left: 30%;
    margin-right:30%;
}
/*----- FOOTER PAGE -----*/

  .gmap {
    grid-column: 1/5;
    grid-row: 1/2;
    margin-left: auto;
    margin-right: auto;
    width:200px; 
    height:150px;
    border: 3px solid #ccc;
    border-radius: 1em;
}

.navlinks li {
    font-size: 12px;
    list-style:none;
    text-align: left;
}