/* 

1. Variables
	- imports
	- colours
	- gradients
	- media queries
	- fonts
	- times
2. General
	2.1 Layout
	2.2 Forms
3. Banner
	3.1 Breadcrumbs
	3.2 Title 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-size: 1.1rem;
  font-weight: 400;
  line-height: 2.04rem;
  overflow-x: hidden;
}
body.modal {
  overflow: hidden;
  height: 100vh;
}
body.menu-open {
  overflow: hidden;
}
body.menu-open a {
  color: white;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

sup {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 0 0.2rem;
  transform: translateY(-0.75rem);
}

p, ul {
  letter-spacing: -0.02rem;
  margin-bottom: 2rem;
  color: #9d9d9c;
}
p.small, ul.small {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}
p.small li, ul.small li {
  line-height: 1.2rem;
  margin-bottom: 0.7rem;
}
.outer {
  position: relative;
}
.outer .inner {
  margin: 0 auto;
  width: calc(100vw - 320px);
}
.outer .inner.wide {
  width: calc(100vw - 160px);
}
.outer .inner.wide img {
  max-width: 100%;
  height: auto;
}
#banner {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  z-index: 101;
  font-family: "mrs-eaves", serif;
  font-weight: 400;
  font-style: normal;
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  #banner {
    top: 30px;
  }
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  .menu-open #banner {
    z-index: 995;
  }
}
#banner #website-title {
  position: absolute;
  top: 0rem;
  left: calc(50% - 160px);
  width: 320px;
  height: 23px;
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  #banner #website-title {
    top: 8px;
    left: 3rem;
    width: 240px;
    height: 23px;
  }
}
#banner #website-title a {
  display: block;
  text-indent: -9999px;
  position: relative;
  background-image: url("../images/DWP.png");
  background-size: contain;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  #banner #website-title a {
    background-image: url("../images/DWP-short.png");
    font-size: 4rem;
  }
}
#banner #primary-navigation {
  width: 70px;
  position: absolute;
  top: 0rem;
  left: 3rem;
  font-family: "owners-text", sans-serif;
  font-weight: 500;
  font-style: normal;
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  #banner #primary-navigation {
    display: none;
  }
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  .menu-open #banner #primary-navigation {
    display: block;
    position: fixed;
    top: 12rem;
    width: calc(100% - 8rem);
    z-index: 9999;
  }
}
#banner #primary-navigation li {
  margin-bottom: 1rem;
}
#banner #primary-navigation li.space-below {
  margin-bottom: 1.6rem;
}
#banner #primary-navigation li.current-page a:after {
  bottom: -3px;
  background-color: rgba(30, 27, 27, 0.075);
}
#banner #primary-navigation li a {
  position: relative;
  color: #9d9d9c;
  font-size: 1.1rem;
  letter-spacing: 0.15rem;
  line-height: 2rem;
}
#banner #primary-navigation li a:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 66.666%;
  transform: translateX(-50%);
  height: 2px;
  background-color: rgba(30, 27, 27, 0);
  transition-duration: 0.3s;
}
#banner #primary-navigation li a:hover:after {
  bottom: -3px;
  background-color: rgba(30, 27, 27, 0.1);
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  #banner #primary-navigation li a {
    font-size: 1.6rem;
    line-height: 3rem;
  }
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  #banner #primary-navigation li {
    display: block;
    width: 100%;
  }
}

#modules .module.columns a {
  color: #9d9d9c;
}
#modules .module.columns.module-1 {
  padding-top: 18rem;
}
#modules .module.columns.module-1 .inner {
  width: 66.667%;
  min-width: 320px;
}
#modules .module.columns .title h3 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 2.8rem;
}
#modules .module.columns .column {
  font-family: "owners-text", sans-serif;
}
#modules .module.columns .column p {
  color: #9d9d9c;
  font-size: 1.2rem;
  line-height: 2rem;
}
#modules .module.columns .column img {
  max-width: 100%;
  height: auto;
}
#modules .module.columns .two-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#modules .module.columns .two-columns .column {
  width: calc(50% - 24px);
  min-width: 320px;
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  #modules .module.columns .two-columns .column {
    width: 100%;
  }
}

#mobile-menu-link {
  display: none;
}
#mobile-menu-link a {
  display: block;
  width: 28px;
  height: 15px;
  text-indent: -99999px;
}
#mobile-menu-link a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #9d9d9c;
  pointer-events: none;
  transition-duration: 0.2s;
}
#mobile-menu-link a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #9d9d9c;
  pointer-events: none;
  transition-duration: 0.2s;
}
.menu-open #mobile-menu-link a:before {
  top: 40%;
  transform: rotate(45deg);
}
.menu-open #mobile-menu-link a:after {
  bottom: 40%;
  transform: rotate(-45deg);
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  #mobile-menu-link {
    display: block;
    position: absolute;
    top: 4rem;
    right: 3rem;
    z-index: 999999;
  }
}
#menu-modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 994;
}
#menu-modal .close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 28px;
  height: 28px;
  text-indent: -99999px;
  z-index: 10001;
}
#menu-modal .close:before, #menu-modal .close:after {
  width: 28px;
  height: 3px;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #9d9d9c;
  pointer-events: none;
}
#menu-modal .close:after {
  transform: translate(-50%, -50%) rotate(135deg);
}
.menu-open #menu-modal {
  display: block;
}

#carousel {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
}
#carousel #carousel-swiper {
  z-index: 100;
}
#carousel #carousel-swiper #carousel-slides {
  height: 100%;
}
#carousel #carousel-swiper #carousel-slides .swiper-slide {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
#carousel #carousel-swiper #carousel-slides .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
#carousel #carousel-swiper #carousel-slides .swiper-slide img.mobile {
  display: none;
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  #carousel #carousel-swiper #carousel-slides .swiper-slide img.mobile {
    display: block;
  }
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  #carousel #carousel-swiper #carousel-slides .swiper-slide img.non-mobile {
    display: none;
  }
}
#carousel #carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 102;
  width: 100%;
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  #carousel #carousel-nav {
    top: auto;
    bottom: 6rem;
    width: 120px;
    left: 50%;
    transform: translateX(-50%);
  }
}
#carousel #carousel-nav .panel-button {
  position: absolute;
  display: block;
  text-indent: -99999px;
  width: 30px;
  height: 45px;
  transform: scaleX(0.6);
  cursor: pointer;
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  #carousel #carousel-nav .panel-button {
    width: 20px;
    height: 30px;
  }
}
#carousel #carousel-nav .panel-button:after {
  content: "";
  width: 28px;
  height: 28px;
  border-top: 3px solid #9d9d9c;
  border-right: 3px solid #9d9d9c;
  position: absolute;
  top: 50%;
  left: 50%;
  transition-duration: 0.4s;
  transition-timing-function: ease-in-out;
}
@media only screen and (min-width: 1px) and (max-width: 620px) {
  #carousel #carousel-nav .panel-button:after {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }
}
#carousel #carousel-nav #button-prev {
  left: 2rem;
}
#carousel #carousel-nav #button-prev:after {
  transform: translate(calc(-50% + 1rem), -50%) rotate(-135deg);
}
#carousel #carousel-nav #button-prev:hover:after {
  transform: translate(calc(-50% - 0.25rem), -50%) rotate(-135deg);
}
#carousel #carousel-nav #button-next {
  right: 2rem;
}
#carousel #carousel-nav #button-next:after {
  transform: translate(calc(-50% - 1rem), -50%) rotate(45deg);
}
#carousel #carousel-nav #button-next:hover:after {
  transform: translate(calc(-50% + 0.25rem), -50%) rotate(45deg);
}
