/* 

1. Variables
	- imports
	- colours
	- gradients
	- media queries
	- fonts
	- times
2. General
	2.1 Layout
	2.2 Forms
3. Banner
4. Main Content
	4.1 Home / Carousel
5. Modules
6. News
7. Events
8. Footer
*/
/*
	1. Variables
*/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

a {
  text-decoration: none;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  font-size: 62.5%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: "proxima-nova", sans-serif;
  font-weight: 500;
}

.outer {
  position: relative;
}
.outer .inner {
  position: relative;
  width: calc(100vw - 100px);
  max-width: 135.8rem;
  margin: 0 auto;
}

#banner {
  border-top: 40px solid #27274F;
  background-color: #349DC2;
  padding: 4rem 0;
  position: relative;
  z-index: 9;
}
#banner #website-title {
  position: absolute;
  top: -208px;
  left: -20px;
  width: 37rem;
  height: 37rem;
  background-image: url("../images/floodpeople.png");
  background-repeat: no-repeat;
  background-size: contain;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #banner #website-title {
    width: 20rem;
    height: 20rem;
    top: -150px;
  }
}
#banner #website-title a {
  display: block;
  text-indent: -99999px;
  width: 100%;
  height: 100%;
}
#banner #hamburger {
  color: white;
  position: absolute;
  top: -16px;
  right: 0;
  z-index: 9999;
  display: none;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #banner #hamburger {
    display: block;
  }
}
#banner #hamburger a {
  text-indent: -99999px;
  display: block;
  width: 32px;
  height: 16px;
  border-top: 3px solid white;
  border-bottom: 3px solid white;
}
#banner #hamburger a:after {
  content: "";
  position: absolute;
  top: calc(50% - 1.5px);
  left: 0;
  width: 100%;
  height: 3px;
  background-color: white;
}
body.menu-open #banner #hamburger a {
  border: none !important;
}
body.menu-open #banner #hamburger a:before {
  content: "";
  position: absolute;
  top: calc(50% - 1.5px);
  left: 0;
  width: 100%;
  height: 3px;
  background-color: white;
  transform: rotate(-45deg);
}
body.menu-open #banner #hamburger a:after {
  transform: rotate(45deg);
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #banner #primary-navigation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #27274F;
    z-index: 9998;
  }
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  body.menu-open #banner #primary-navigation {
    display: block;
  }
}
#banner #primary-navigation ul {
  text-align: right;
  list-style-position: outside;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #banner #primary-navigation ul {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100vw;
  }
}
#banner #primary-navigation ul li {
  font-size: 2.2rem;
  font-weight: bold;
  display: inline-block;
  margin-left: 5rem;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #banner #primary-navigation ul li {
    text-align: center;
    display: block;
    margin-left: 0;
    margin-bottom: 2rem;
  }
}
#banner #primary-navigation ul li a {
  color: #27274F;
  transition-duration: 0.2s;
  position: relative;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #banner #primary-navigation ul li a {
    color: white;
  }
}
#banner #primary-navigation ul li a:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: white;
  transition-duration: 0.4s;
  opacity: 0;
}
#banner #primary-navigation ul li a:hover {
  color: white;
}
#banner #primary-navigation ul li a:hover:after {
  bottom: -4px;
  opacity: 1;
}

.large-button-link {
  display: block;
  max-width: 75%;
}
.large-button-link a {
  display: inline-block;
  padding: 2rem;
  border-radius: 5px;
  background-color: #CC2141;
  color: white;
  text-align: center;
  transition-duration: 0.2s;
  font-weight: bold;
}
.large-button-link a:hover {
  background-color: #27274F;
}

#modules .module.embed {
  margin-bottom: 4rem;
}
#modules .module.embed iframe {
  display: block;
  margin: 0 auto;
}
#modules .module.introduction {
  padding: 11rem 0 9rem 0;
  background-color: rgba(52, 157, 194, 0.1);
  background-image: url("../images/flood-bg.png");
  background-size: cover;
}
#modules .module.introduction .inner {
  max-width: 802px;
  text-align: center;
  color: #27274F;
}
#modules .module.introduction .inner h2 {
  font-size: 3.2rem;
  line-height: 3.8rem;
  font-weight: bold;
  margin-bottom: 4rem;
}
#modules .module.introduction .inner p {
  font-size: 2.8rem;
  line-height: 3.6rem;
}
#modules .module.introduction .inner p strong {
  font-weight: bold;
}
#modules .module.introduction .inner p em {
  font-style: italic;
}
#modules .module.columns {
  padding: 4rem 0 0 0;
  color: #27274F;
}
#modules .module.columns img {
  max-width: 100%;
  height: auto;
}
#modules .module.columns a {
  color: #349DC2;
  text-decoration: underline;
}
#modules .module.columns a:hover {
  color: #27274F;
}
#modules .module.columns ul {
  margin-left: 2rem;
  list-style: disc outside;
}
#modules .module.columns h3 {
  font-size: 3rem;
  color: #27274F;
  font-weight: bold;
  margin-bottom: 2.2rem;
}
#modules .module.columns h4 {
  font-size: 2.4rem;
  font-weight: bold;
  color: #349DC2;
  margin-bottom: 2.2rem;
}
#modules .module.columns p, #modules .module.columns li, #modules .module.columns td {
  font-size: 2rem;
  line-height: 2.6rem;
}
#modules .module.columns p strong, #modules .module.columns li strong, #modules .module.columns td strong {
  font-weight: bold;
}
#modules .module.columns p {
  margin-bottom: 2.6rem;
}
#modules .module.columns p.alert-box {
  padding: 5px;
  width: 80%;
  margin: 50px auto;
  border: 2px solid #349dc2;
  background-color: rgba(52, 157, 194, 0.2);
  color: #27274f;
}
#modules .module.columns hr {
  border: none;
  border-top: 2px dotted #349DC2;
  margin: 4rem 0;
}
#modules .module.columns iframe {
  max-width: 100%;
  aspect-ratio: 5/4;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #modules .module.columns iframe {
    max-height: calc(80vw - 8rem);
  }
}
#modules .module.columns table {
  table-layout: fixed;
  border-collapse: collapse;
  margin-bottom: 4rem;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #modules .module.columns table {
    width: calc(100vw - 8rem);
  }
}
#modules .module.columns table tr td {
  background-color: rgba(52, 157, 194, 0.1);
  padding: 2rem;
  border-right: 2px solid white;
  word-break: break-word;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #modules .module.columns table tr td {
    min-width: 140px;
    font-size: 1.4rem;
    line-height: 1.6rem;
  }
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #modules .module.columns table tr td p, #modules .module.columns table tr td li {
    font-size: 1.4rem;
    line-height: 1.6rem;
  }
}
#modules .module.columns table tr:nth-child(odd) td {
  background-color: rgba(52, 157, 194, 0.3);
}
#modules .module.columns .single-column, #modules .module.columns .title-two-columns {
  max-width: 1080px;
}
#modules .module.columns .two-columns {
  display: flex;
  justify-content: space-between;
  max-width: 1080px;
  flex-wrap: wrap;
}
#modules .module.columns .two-columns .column {
  width: calc(50% - 24px);
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #modules .module.columns .two-columns .column {
    width: 100%;
  }
}
#modules .module.columns .two-columns .column img {
  max-width: 100%;
  height: auto;
}
#modules .module.tiles {
  padding: 4rem 0 8rem 0;
}
#modules .module.tiles .cols-3 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#modules .module.tiles .cols-3 .tile {
  width: calc(33.33333% - 24px);
  margin: 0 12px;
  cursor: pointer;
  transition-duration: 0.4s;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #modules .module.tiles .cols-3 .tile {
    width: 100%;
    margin: 12px 0;
  }
}
#modules .module.tiles .cols-3 .tile .image {
  width: 100%;
  overflow: hidden;
}
#modules .module.tiles .cols-3 .tile .image img {
  transform: scale(1);
  width: 100%;
  height: auto;
  transition-duration: 0.3s;
}
#modules .module.tiles .cols-3 .tile .description {
  background-color: #27274F;
  padding: 3rem 0;
  text-align: center;
}
#modules .module.tiles .cols-3 .tile .description h4 {
  padding: 0 2rem;
  font-size: 2.4rem;
  font-weight: bold;
}
#modules .module.tiles .cols-3 .tile .description h4 a {
  color: white;
}
#modules .module.tiles .cols-3 .tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.4);
}
#modules .module.tiles .cols-3 .tile:hover .image img {
  transform: scale(1.1);
}
#modules .module.testimonials {
  padding: 8rem 0 12rem 0;
  position: relative;
}
#modules .module.testimonials #testimonial-swiper.swiper {
  widows: 100vw;
  height: 80vh;
  position: relative;
}
#modules .module.testimonials #testimonial-swiper.swiper #testimonial-slides.swiper-wrapper {
  height: 100%;
  width: 100%;
  position: relative;
}
#modules .module.testimonials .testimonial {
  margin: 0 auto;
  position: relative;
}
#modules .module.testimonials .testimonial .message {
  padding-top: 4rem;
  margin: 0 auto;
  min-width: 320px;
  max-width: 640px;
  width: calc(100% - 32rem);
  font-size: 2rem;
  line-height: 3rem;
  color: #27274F;
  margin-bottom: 3rem;
  position: relative;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #modules .module.testimonials .testimonial .message {
    width: 100%;
    min-width: 0;
    font-size: 1.5rem;
    line-height: 1.75rem;
    margin-bottom: 2rem;
  }
}
#modules .module.testimonials .testimonial .message:before {
  content: "";
  position: absolute;
  top: 0;
  left: -16rem;
  width: 12rem;
  height: 8rem;
  background-image: url("../images/quote.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #modules .module.testimonials .testimonial .message:before {
    width: 3rem;
    height: 2rem;
    left: 0;
  }
}
#modules .module.testimonials .testimonial .message:after {
  content: "";
  position: absolute;
  bottom: -4rem;
  right: -16rem;
  width: 12rem;
  height: 8rem;
  transform: rotate(180deg);
  background-image: url("../images/quote.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #modules .module.testimonials .testimonial .message:after {
    width: 3rem;
    height: 2rem;
    right: 0;
    bottom: -7rem;
  }
}
#modules .module.testimonials .testimonial .message p {
  margin-bottom: 2rem;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #modules .module.testimonials .testimonial .message p {
    margin-bottom: 1rem;
  }
}
#modules .module.testimonials .testimonial .message p strong {
  font-weight: bold;
}
#modules .module.testimonials .testimonial .author {
  margin: 0 auto;
  min-width: 320px;
  max-width: 640px;
  width: calc(100% - 32rem);
  font-size: 1.8rem;
  line-height: 2.4rem;
  color: #27274F;
  font-style: italic;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #modules .module.testimonials .testimonial .author {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}
#modules .swiper-pagination .swiper-pagination-bullet {
  width: 26px;
  height: 26px;
  border: 3px solid #349DC2;
  background-color: white;
  opacity: 1;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #modules .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
  }
}
#modules .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #349DC2;
}
#modules .swiper-button-prev, #modules .swiper-button-next {
  top: auto;
  bottom: 0;
  color: #349DC2;
  border-color: #349DC2;
  z-index: 99;
}

#footer {
  background-color: #27274F;
  padding: 3rem 0 6rem 0;
}
#footer .inner {
  display: flex;
  justify-content: space-between;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #footer .inner {
    flex-wrap: wrap;
  }
}
#footer .inner p {
  margin-bottom: 2.2rem;
}
#footer .inner p strong {
  font-weight: bold;
}
#footer .inner p em {
  font-style: italic;
}
#footer .inner a {
  color: white;
}
#footer .inner a:hover {
  text-decoration: underline;
}
#footer #footer-logo {
  width: 240px;
  height: 240px;
  text-indent: -99999px;
  background-image: url("../images/floodpeoplefooter.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0 0 4rem 0;
  flex-shrink: 1;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #footer #footer-logo {
    width: 120px;
    height: 120px;
  }
}
#footer #footer-text {
  flex-shrink: 2;
  padding: 3rem 6rem 0 6rem;
  color: white;
  font-size: 1.6rem;
  line-height: 2.2rem;
  max-width: 540px;
}
#footer #flood-warning-service {
  flex-shrink: 1;
  position: relative;
  background: white;
  border-radius: 24px;
  width: 330px;
  height: 255px;
}
@media only screen and (min-width: 1px) and (max-width: 515px) {
  #footer #flood-warning-service {
    position: relative;
    top: auto;
    right: auto;
    width: 320px;
  }
}
#footer #flood-warning-service h4 {
  text-transform: uppercase;
  text-align: center;
  font-size: 1.9rem;
  margin-top: 1.2rem;
  color: #27274F;
  font-weight: 800;
}
#footer #flood-warning-service .link {
  width: 300px;
  margin: 135px auto 0 auto;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6rem;
}
#footer #flood-warning-service .link a {
  text-transform: uppercase;
  font-weight: 800;
  color: #349DC2;
  text-decoration: underline;
}
#footer #flood-warning-service .link a:hover {
  color: #27274F;
  border-bottom-color: #27274F;
}
#footer #flood-warning-service ul {
  padding-top: 5px;
  width: 300px;
  margin: 0 auto;
}
#footer #flood-warning-service ul li {
  display: block;
  float: left;
  width: 80px;
  margin: 0 10px;
  text-align: center;
  height: 20px;
  padding-top: 75px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
}
#footer #flood-warning-service ul li.flood-alert {
  background-image: url("../images/flood-alert.png");
}
#footer #flood-warning-service ul li.flood-alert.none {
  background-image: url("../images/none-severe-flood-warning.png");
}
#footer #flood-warning-service ul li.flood-warning {
  background-image: url("../images/flood-warning.png");
}
#footer #flood-warning-service ul li.flood-warning.none {
  background-image: url("../images/none-severe-flood-warning.png");
}
#footer #flood-warning-service ul li.severe-flood-warning {
  background-image: url("../images/severe-flood-warning.png");
}
#footer #flood-warning-service ul li.severe-flood-warning.none {
  background-image: url("../images/none-severe-flood-warning.png");
}
#footer #flood-warning-service ul li .warning-level {
  display: block;
  height: 25px;
  font-size: 1.1rem;
  text-transform: uppercase;
}
#footer #flood-warning-service ul li .count {
  display: block;
  font-size: 2rem;
  font-weight: 800;
}
#footer #flood-warning-service .sign-up {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 4.2rem;
}
#footer #flood-warning-service .sign-up a {
  display: block;
  width: 100%;
  padding: 1.7rem 0 2rem 0;
  text-align: center;
  background-color: #349DC2;
  border-radius: 0 0 24px 24px;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1.5rem;
  height: 1.5rem;
  font-weight: 700;
  color: white;
}
#footer #flood-warning-service .sign-up a:hover {
  color: #27274F;
  background-color: #349DC2;
}
