/* ---- reset ---- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100%;
  height: 100%;
  min-height: 400px;
  min-width: 300px;
  /*overflow: hidden;*/
  font-family: "arial", sans-serif;
  font-size: 14px;
  color: #343434;
}
p, ul, ol {
  text-decoration: none; 
  font-size: 1em;
}
li {
  margin-left: 1em;
}
section {
  overflow: auto;
}
.end {
  padding-bottom: 500px !important;
}


img {
  display: block;
  width: 100%;
  height: auto;
}

/*** 
*
* Colour and Typography 
*
***/

strong {
  font-family: "arial", sans-serif;
  font-weight: bold;
  /*color: #FF7F00;*/
}
h1, h2 {
  font-family: "arial narrow", sans-serif;
}
h1 {
  text-decoration: none; 
  font-size: 2rem;
  /*color: #2C8EB3;*/
  margin-bottom: .5rem;
}
h2 {
  position: relative;
  font-size: 1.5rem;
  font-style: italic;
  /*color: #144E76;*/
  margin-bottom: .5rem;
}
h3 {
  font: 'arial', sans-serif;
  font-size: 1.25rem;
  font-style: italic;
  /*color: #144E76;*/
  font-weight: bold;
}
.header-underline {
  border-bottom: 1px solid #ec1e24;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.header-underline:before {
  content: "";
  height: 0;
  width: 0;
  border-bottom: 8px solid #ec1e24;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  position: absolute;
  left: 15px;
  bottom: -1px;
}
.header-underline:after {
  content: "";
  height: 0;
  width: 0;
  border-top: 8px solid #ec1e24;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  position: absolute;
  left: 15px;
  bottom: -8px;
} 
p {
  margin-bottom: 1em;
}
a {
  color: #8c0000;
  transition: all 0.25s ease;
}
a:hover,
a:focus {
  color: #DC2627;
}
button {
  border: none;
  background: #00adee;
  width: 100%;
  margin-bottom: 20px;
  padding: 10px 20px;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
    -webkit-transition: 0.25s; /* Safari */
  transition: 0.25s;
}
button:hover {
  background: #ff0000;
}
@media screen and (min-width: 640px) {
  html,
  body {
    font-size: 14px;
  }
  button {
    width: auto;
    margin: 0;
  }
}
.dropcap{
  color: #ff0000;
  font-weight: 400;
  float: left;
  font-size: 75px;
  line-height: 60px;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
  margin-bottom:-15px; 
}
.white-bg {
  background-color: #fff;
}
.red-bg {
  background-color: #ec1e24;
}
.dk-grey-bg {
  background-color: #212121;
}
.lt-grey-bg {
  background-color: #F6F6F6 !important;
}
.center {
  text-align: center;
}
.margin-center {
  display: block;
  margin:0 auto;
}
.float-left {
  float: left;
}
.float-right {
  float: right;
}
.clear-all {
  clear: both;
}
.flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: stretch;
}
.flex-center {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}
.flex-start {
  justify-content: flex-start;
}
.full-width {
  width: 100%;
}
h2.full-width:last-of-type {
  margin-bottom: 40px;
}
.text-center {
  text-align: center;
}
.wordbreak {
  word-break: break-all;
}
.spacer {
  margin-bottom: 40px;
}
.small-spacer {
  margin-bottom: 20px;
}
.center-spacer {
  margin: 0 auto !important;
}
.grey-border {
  border: 1px solid #8B8B8B !important;
}
cite {
  font-weight: bold;
}
.horizontal-rule {
  display: flex;
  width: 100%;
  height: 50px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #c3c3c3;
}
.horizontal-rule:before, .horizontal-rule:after {
  display: block;
  content: "";
  width:calc(50% - 100px);
  border-bottom: 1px solid #c3c3c3;
}
.sidebar-right h1 {
  padding: 20px 0 10px;
  font-size: 1.25em;
  text-align: center;
}
/*** 
*
* Content 
*
***/
#main-wrapper {
  width: 100%;
  height: auto;
  min-height: 100%;
  overflow: auto;
  position: relative;
  background: url(../images/pattern3.jpg);
  background-size: 200px 200px;
}
.col-2,
.col-3,
.col-4,
.col-3-2span {
  width: 100%;
  margin: 0 auto 30px;
}
.section-content {
  width: 100%;
  max-width: 1200px;
  margin: 0px auto;
  padding: 80px 20px;
  overflow: auto;
  /*background: #fff;*/
}
.sidebar-left {
  display: block;
  overflow: auto;
  width: 100%;
}
.sidebar-right {
  display: block;
  overflow: auto;
  width: 100%;
}
.sidebar-logo {
  max-width: 100px;
}
@media screen and (max-width: 599px) {
  .keyline {
    border-bottom: 1px solid #dadada;
    margin-bottom: 40px;
    padding-bottom: 80px;
  }
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 640px) {
  .section-content {
    padding: 80px 40px;
  }
  .col-4 {
    width: 50%;
    float: left;
    margin: 0;
  }
}
@media screen and (min-width: 800px) {
  .col-2 {
    width: 50%;
    float: left;
    margin: 0 0 20px 0;
  }
  .col-4 {
    width: 25%;
    float: left;
    margin: 0;
  }
  .col-3 {
    width: 33.33%;
    float: left;
    margin: 0;
  }
  .col-3-2span {
    width: 66.66%;
    float: left;
    margin: 0
  }
  .pad-right {
    padding-right: 15px;
  }
  .pad-left {
    padding-left: 15px;
  }
}
@media screen and (min-width: 1024px) {
  .sidebar-left {
    width: calc(100% - 200px);
    float: left;
    padding-right: 15px;
  }
  .sidebar-right {
    width: 200px;
    float: right;
    padding-left: 15px;
  }
  .sidebar-logo {
    max-width: 100%;
    padding: 0 0 15px;
  }
}
/* navigation */
nav.site-nav {
  position: fixed;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
  background-color: #fff;
  box-shadow: 0px 3px 4px rgba(0,0,0,.25);
  z-index: 9999;
}
.nav-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.branding {
  float: left;
  line-height: 0;
}
ul.nav-list {
  display: none;
  list-style: none;
  clear: both;
}
.branding img {
  max-width: 125px;
  line-height: 0;
}
.branding a {
  display: inline-block;
  padding: 10px 30px;
  text-decoration: none;
  color: #343434;
  transition: all 0.25s ease;
}
li.nav-item a {
  display: inline-block;
  padding: 31px 30px 32px;
  text-decoration: none;
  color: #343434;
  transition: all 0.25s ease;
}
li.nav-item a {
  width: 100%;
}
#showmenu {
  float: right;
  padding: 20px 30px;
  color: #343434;
  transition: all 0.25s ease;
  cursor: pointer;
}
ul.nav-list li.nav-item a:hover,
div.branding a:hover,
#showmenu:hover {
  background-color: #8B8B8B;
  color: #fff;
}
#showmenu {
  float: right;
  padding: 31px 30px 32px;
  line-height: 0;
}
ul.hide {
  display: none;
}
@media screen and (min-width: 880px) {
  ul.nav-list {
    display: inline-block;
    float: right;
    clear: none;
  }
  li.nav-item {
    margin: 0;
    float: left;
    line-height: 0;
  }
  #showmenu {
    display: none;
  }
  ul.hide {
    display: inline-block;
  }
}
nav .active {
  background: #F6F6F6;
}
section:first-of-type {
  padding-top: 63px;
}
section:last-of-type .section-content {
  padding-bottom: 60px;
  overflow: auto;
}
.screen-reader {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* body content */
.section-content {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 30px;
}
.banner {
  position: relative;
}
.top-image {
    max-height: 250px;
    overflow: hidden;
}
.top-image img {
  height: 250px;
  width: auto;
  margin: 0 auto;
}
.banner-offset {
  margin-top: -7%; 
}
.page-title {
  position: relative;
  max-width: 1024px;
  margin: 0 auto;
}
.page-title h1 {
  position: absolute;
  bottom: 0;
  left: 30px;
  background: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 10px 30px;
  margin: 0;
}
@media screen and (max-width: 600px) {
  .page-title h1 {
    position: initial;
    font-size: 1.5em;
    text-align: center;
    padding: 15px 15px 10px;
  }
}
.images-2,
.images-5 {
  width: 50%;
  float: left;
  padding: 10px
}
.images-2 img,
.images-5 img {
  margin-bottom: 10px;
}
@media screen and (min-width: 640px) {
  .images-5 {
    width: 25%;
    padding: 10px;
    float: left;
  }
}
@media screen and (min-width: 800px) {
  .images-5 {
    width: 16.666%;
    padding: 10px;
    float: left;
  }
}
.card {
  width: 100%;
}
.card img {
  margin-bottom: 20px;
}
.card h3 {
  margin-bottom: 0.5em;
}
.card-info {
  margin-bottom: 10px;
}
.card ul {
  margin-bottom: 20px;
}
.image-overlay-frame {
  position: relative;
  overflow: auto;
}
.image-overlay-frame img:last-of-type {
  position: absolute;
  top: 0;
  left: 0;
}
footer img.logo {
  background: #fff;
  float: left;
  width: 100%;
  max-width: 200px;
}
footer a {
  display: flex;
  background: #fff;
  align-items: center;
  padding: 10px 20px;
  border-radius: 20px;
  margin: 10px;
  width: calc(20% - 20px);
}
@media screen and (max-width: 799px) {
  footer a {
    width: calc(33.33% - 20px);
  }
}
.event {
  position: relative;
  padding-bottom: 60px;
}
.event button {
  position: absolute;
  bottom: 10px;
  right: 10px;
}
section li {
  margin-bottom: 10px;
}
.not-active {
  background-color: #dcdcdc;
}
.not-active:hover {
  background-color: #8c8c8c;
}
.slider-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  align-content: center;
  justify-content: center;
}
.slider-overlay-cta {
  position: fixed;
  width: 200px;
  left: calc(50% - 100px);
  top: calc(50% - 70px);
  padding: 15px 20px;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
}
.slider-overlay-cta h2 {
  color: #fff;
}
/*overrides*/

.icon {
  font-size: 5em;
  width: 100%;
  text-align: center;
  padding: 20px;
}
iframe.contact-form {
    border: 0;
    width: 100%;
    height: auto;
    min-height: 900px;
}
#slick-slider {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    -webkit-transition: opacity 1s ease;
}
#slick-slider.slick-initialized {
    visibility: visible;
    opacity: 1;    
}
.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    z-index: 999;
}
.slick-prev:before, .slick-next:before {
    font-family: 'slick';
    font-size: 20px;
    line-height: 1;
    opacity: .75;
    color: #343434;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: absolute;
    z-index: 999;
}
.slick-prev {
  left: -20px;
}
.slick-next {
  right: -20px;
}
.slick-slider img {
  padding: 0 20px;
}