/*
Theme Name: BlankSlate Child
Template: blankslate
*/

html {
  font-size: 90%
}

body {
  background: #f2f0e9;
  box-sizing: border-box;
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  text-wrap: pretty;
}

img {
  height: auto;

}

#wrapper {
  width: 100%;
  max-width: 1440px;
  margin: auto;
  background: #f2f0e9;
}

#header {
  text-align: center;
  width: calc(100% - 3em);
  max-width: 1280px;
  margin: 1em auto;
  padding: 1em;
  position: relative
}

#header img.logo,
#footer img.logo {
  width: 250px;
}

#header .nlhf {
  position: absolute;
  top: 1em;
  left: 1em;
  width: 270px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5em;
  text-align: left;
}

#header .nlhf img{
  width: 120px;
  display: block;
  margin-top: 1em;
}

#header .right-header {
  position: absolute;
  top: 1em;
  right: 1em;
  text-align: right;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5em
}

#header .right-header .social{
  display: block;
  margin-top: 10px;
}

#header .right-header .social img {
width: 40px;
  margin: 5px
}

#footer {
  text-align: center;
  position: relative;
  width: calc(100% - 3em);
  max-width: 1280px;
  margin: 1em auto 0;
  padding: 1em;
}

#footer .nlhf {
  position: absolute;
  top: 1em;
  right: 1.5em;
  text-align: right;
  width: 200px
}

#footer .nlhf h3 {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.4em;
  margin-bottom: 0.5em
}

#footer #copyright {
  margin: 2.5em auto;
  font-size: .85rem;
  line-height: 1.5em;
}

.entry-content {
  width: calc(100% - 3em);
  max-width: 1280px;
  margin: -2em auto 0;
  padding: 1em
}

.home .entry-content {
  margin-top: -8em;
}

.button {
  display: inline-block;
  text-transform: uppercase;
  padding: .75em 2em;
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 400px;
  margin: .5em 0;
  text-align: center;
  border-radius: 4px;
  box-shadow: 6px 7px 0 rgba(0,0,0, .1);
}

.home .half.right.cream-b.red.centre .button{
    max-width: 400px;
    line-height: 1.1em
}

.parent-pageid-29 .row.one .button, .page-id-29 .row.one .button{
  padding: .75em 2em;
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 300px;
}

#footer .button{
  min-width: 180px;
  padding: .5em 1em;
  font-size: 1.35rem;
  margin-bottom: 2em
}

.button:hover {
  box-shadow: 6px 7px 0 #000;
  color: #000
}

a {
  color: #24a5df
}

a.button{
  color: #fff;
  text-decoration: none;
}


a.button.red{
  color: #d66541;
}

a.button.blue{
  color: #24a5df;
}


/* typography */

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: .75em
}

h2 {
  font-size: 3rem;
  line-height: 1.4em;
  font-weight: 700;
}

.row h2 {
  margin-bottom: .5em
}

.row.content h2{
  max-width: 900px;
  margin: 1em auto;
  font-size: 2.5rem
}

.row.five h2 {
  text-transform: uppercase;
  font-size: 2.75rem;
  max-width: 900px;
  margin: 1em auto
}

.row.content h3 {
  font-size: 1.5rem;
  line-height: 1.4em;
  font-weight: 700;
  margin: 1em auto ;
  max-width: 900px;
}

.row.content h4, .row.content h5, .row.content h5 {
  font-size: 1.3rem;
  line-height: 1.4em;
  font-weight: 700;
  margin: 1em auto ;
  max-width: 900px;
}

p {
  font-size: 1.3rem;
  line-height: 1.6em;
  max-width: 900px;
  margin: 1em auto;
  font-weight: 600;
}

.row.content p{
  font-size: 1.2rem;
  line-height: 1.5em;
  font-weight: 400
}

.row.content p strong{
  font-weight: 800
}

.row.content hr{
  line-height: 1.6em;
  max-width: 900px;
  margin: 3em auto;
  height: 6px;
  border: 0px;
  background: #24a5df
  
}

.row.content .wp-caption{
  background: #fff;
}

@media only screen and (max-width: 1023px) {
  .desktop {
    display: none!important;
  }
}

@media only screen and (min-width: 1024px) {
  .mobile {
    display: none;
  }
}

.centre {
  text-align: center;
}


/*--------------------------------------------------------------# Blocks--------------------------------------------------------------*/

.row {
  margin-bottom: 2em;
  background: #e7e2d3;
  position: relative;

}

.fullwidth {
  margin-bottom: 1.5em;
  padding: 3em;
  text-align: center;
  background-position: center;
  background-size: cover;
}

.page-id-41 .fullwidth{
  background: #d66541;
}

.splitrow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2em;
  margin-bottom: 2em;
  min-height: 30em
}

.half {
  padding: 3em;
  position: relative;
  background-position: center !important;
  background-size: cover !important;
}



.half img,
.fullwidth img {
  object-fit: cover;
  width: calc(100% + 6em);
  height: calc(100% + 6em);
  margin-left: -3em;
  margin-top: -3em;
}

.splitrow.two .half h2, .splitrow.four .half.right h2{
  max-width: 330px;
  margin: auto;
  font-size: 3.75rem
}

.splitrow.four .half.left h2{
  max-width: 480px;
}

.splitrow.four .half.left p{
  max-width: 95%;
  margin-left: 0
}

.row.five img {
  width: 150px;
  margin: 1em auto 0;
}


.fullwidth iframe, .half iframe {
  width: calc(100% + 6em);
  height: 40em;
  margin-left: -3em;
  margin-top: -3em;
  margin-bottom: -3em;

}


.caption {
  position: absolute;
  bottom: 0px;
  left: 0px;
  background: #e7e2d3;
  padding: 1em;
  max-width: 600px;
  font-size: 1.2rem;
  line-height: 1.5em;
  text-align: left;
}

.row.six .fullwidth,
.row.three .fullwidth,
.splitrow.seven .half.right,
.splitrow.two .half.left {
  height: 40em;
}

.splitrow.seven .half.right a {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 300px;
  line-height: 1.3em
}

.row.repeater{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2em;
  min-height: 30em
}

.row ul{
  margin: 3em 0
}

.row ul{
  margin: 1em 0
}

.row li{
  list-style: disc;
  font-size: 1.3rem;
  line-height: 1.4em;
  margin: .15em 0;
  list-style-position: inside
}

.row.content li{
  list-style: disc;
  font-size: 1.2rem;
  line-height: 1.4em;
  margin: .15em 0;
  list-style-position: inside
}

.page-id-3 .row li{
  list-style: disc;
  font-size: 1.2rem;
  line-height: 1.5em;
  margin: .15em auto;
  list-style-position: outside;
  max-width: 900px;
  
}

.row.content  a{
  color: #d66541
}

.row.full{
  text-align: center;
  padding: 3em;
  position: relative
}

.page-id-428 .row.full, .page-id-3 .row.full{
  text-align: left;
  padding: 3em;
  position: relative
}

.row.full img{
border: 10px solid #fff;
}

.row.full .wp-caption{
  margin: 0 auto;
   max-width: 100%
}

.row.full .wp-caption-text{
  font-size: .9rem;
  text-transform: uppercase;
  color: #000000;
  margin: 0 auto 2em;
  padding: 0 1em 1em
}



/*--------------------------------------------------------------# Events--------------------------------------------------------------*/

.row.opendays{
    text-align: center;
   padding: 3em;
}

.row.opendays table{
  border: 3px solid #e7e2d3;;
  margin: auto;
  width: 100%;
  max-width: 1000px;
  background: #f2f0e9;
  font-weight: 700
}
.row.opendays table td, .row.opendays table th{
  border: 3px solid #e7e2d3;
  padding: .5em .5em;
  text-align: left;
  height: 70px;
  line-height: 1.4rem;
  vertical-align: top;
  width: 25%
}

.row.opendays table td.tickets, .row.opendays table th.tickets{
text-align: center!important;
  vertical-align: middle!
} 

.row.opendays table td.date, .row.opendays table th.date{
text-transform: uppercase;
  
} 

.row.opendays table th{
  background: #24a5df;
  color: #f2f0e9;
  padding: .5em 1em;
  text-transform: uppercase;
  font-size: 1.2em;
  height: 50px
}

.row.opendays td .button{
  width:100%!important;
  min-width: auto;
  max-width: 200px;
  font-size: 1em;
  text-align: center;
  margin: 0;
  box-shadow: 0 0 0 rgba(0,0,0, .1);
}

@media only screen and (max-width: 900px) {

  table {
    border: 0;
    background: none!important
  }

  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    display: block;
    margin-bottom: 1em;
    border: 1px solid;
     width: 100%!important;
  }
  
  table td {
    display: block;
    text-align: right!important;
    border: 0px solid #e7e2d3!important;
    border-bottom: 1px solid #24a5df!important;
    background: #f2f0e9;
    width: 100%!important;
    padding: 1em!important;
  }
  
  table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
    color: #000
  }
  
  table td:last-child {
    border-bottom: 0!important;
  }

  .row.opendays{
    text-align: center;
   padding: 1em;
}
}  

/*--------------------------------------------------------------# Gallery--------------------------------------------------------------*/

.row.gallery{
  text-align: center;
   padding: 3em;
}

.row.gallery h2 {
  max-width: 700px;
  margin: auto
}

.row.gallery ul{
  margin: 2em 0 0
}

.row.gallery li{
  display: inline-block;
  width: calc(25% - .5em);
    padding: .25em .5em
  
}

.row.gallery li img{
 width: 100%;
 border: 8px solid #fff; 
}

.row.gallery .iframe-c{
  display: flex;
  justify-content: center;
  margin-bottom: 2em
}

.iframe-c iframe{
  max-width: 900px;
  max-height: 600px;
  width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
  border: 8px solid #fff
}

@media only screen and (max-width: 1280px) and (min-width: 1024px) {

.row.gallery li{
  width: calc(33% - .75em);
} 
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {

.row.gallery li{
  width: calc(50% - .75em);
}
}  

@media only screen and (max-width: 767px) {

.row.gallery ul {
    margin: 1em -1.25em 0;
}
  
.row.gallery li{
  width: calc(50% - .5em);
  border-bottom: 0;
  padding: 0 .15em;
} 
.row.gallery li img {
    width: 100%;
    border: 4px solid #fff;
}  
}

.pswp {
    --pswp-bg: #e7e2d3!important;
    --pswp-placeholder-bg: #222;
    --pswp-root-z-index: 100000;
    --pswp-preloader-color: rgba(79, 79, 79, 0.4);
    --pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
    --pswp-icon-color:#24a5df!important;
    --pswp-icon-color-secondary: #fff!important;
    --pswp-icon-stroke-color: #24a5df!important;
}

.pswp__caption, .pswp__caption__exif {
    color: #24a5df!important;
}

/*--------------------------------------------------------------# Hero--------------------------------------------------------------*/

.hero-image {
  width: 100%;
  height: 200px;
  min-height: 300px;
  max-height: 400px;
  position: relative;
  margin-bottom: 2em;
  overflow: hidden;
}


.home .hero-image {
  height: calc(100vh - 400px);
  min-height: 550px;
  max-height: 600px;
  margin-top: -5em;
  margin-bottom: 0
}

.hero-image img.hero {
  width: 100%;
  height: 300px!important;
  object-fit: cover;
  object-position: center bottom;
}

.home .hero-image img.hero {
  width: 100%;
  height: 100%;
    max-height: 450px;
}
/*--------------------------------------------------------------# colour--------------------------------------------------------------*/

.blue {
  color: #24a5df;
}

.red {
  color: #d66541;
}

.white {
  color: #ffffff;
}

.black {
  color: #000000;
}

.blue-b {
  background: #24a5df;
}

.red-b {
  background: #d66541;
}

.cream-b {
  background: #e7e2d3;
}

.red .button{
  background: #d66541;
}



/*--------------------------------------------------------------# Navigation--------------------------------------------------------------*/
/*--------------------------------------------------------------# Header Menu--------------------------------------------------------------*/


#header #menu ul {
  display: block;
  list-style: none;
  margin: 0 auto 0;
  padding: .5em;
  background: rgb(242, 240, 233);
  text-align: center;
  z-index: 30;
  position: relative;
}



#header #menu li {
  display: inline-block;
}

.main-navigation ul ul a {}

#header #menu li {
  position: relative;
  padding: 1em 0
}

#header #menu li a:after {
  content: '•';
  margin: 0 .9em 0 1em
}

#header #menu li:first-of-type a:before {
  content: '•';
  margin: 0 .9em 0 1em
}

#header #menu a {
  text-decoration: none;
  color: #24a5df;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.25rem
}


#header #menu .menu-item-51 a {
  text-decoration: none;
  color: #d66541;


}

#header #menu a:hover span {
  border-bottom: 2px solid #24a5df;
}

#header #menu li.current-menu-item a span {
  border-bottom: 2px solid #24a5df
}

#header #menu li.menu-item-51.current-menu-item a span, #header #menu li.menu-item-51 a:hover span {
  border-bottom: 2px solid #d66541
}

@media only screen and (max-width: 1099px) {
#header #menu li a:after {
  content: '•';
  margin: 0 .5em 0 .6em
}

#header #menu li:first-of-type a:before, #header #menu li:last-of-type a:after {
  display: none
}

#header #menu a {
  font-size: 1.15rem
}
}
/*--------------------------------------------------------------# Footer Menu--------------------------------------------------------------*/
#footer-menu {
  width: 100%;
  font-weight: 600;
  position: absolute;
  text-align: left;
  margin-left: 0.5em
}



#footer-menu li {
  top: 0px;
  vertical-align: top;
  margin-bottom: 1.1em;
}

#footer-menu li a {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #24a5df;
  text-decoration: none;
}

#footer-menu li.current-menu-item a {
  border-bottom: 2px solid
}


#footer-menu li a:hover {
  border-bottom: 2px solid
}

@media only screen and (max-width: 1440px) and (max-width: 1024px) {}

@media only screen and (max-width: 1540px) {

  .footer_menu {
    padding: 3em 4em;

  }

}


@media only screen and (max-width: 1023px) {


  #footer{
    padding: 0 2em;
  }
  
  #footer-menu {
    display: block;
    padding: 2em 2em 1em;
    position: relative;
    text-align: center;
    background: #24a5df;
    margin-bottom: 2em;
    margin-left: 0
  }

 .mobile.social{
   margin-bottom: 2em
 } 

  .mobile.social img{
   margin: .5em
 }  

  #footer-menu li {
       padding: 0 0 1.25em;
    border-bottom: 1px solid #f2f0e9;
  }

    #footer-menu li:last-of-type {
       padding: 0 0 0;
    border-bottom: 0;
  }

#footer-menu li a {
    font-size: 1.3rem;
    color: #f2f0e9;
}
  
}

/*--------------------------------------------------------------# Mobile Nav--------------------------------------------------------------*/
.cd-header {
  position: absolute;
  top: -20px;
  right: -20px;
  left: 0;
  height: 50px;
  width: 100%;
  z-index: 3000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cd-primary-nav-trigger {
  position: fixed;
  right: 0em;
  width: 90px;
  height: 90px;
  display: block !important;
  background: #24a5df;
}

body.admin-bar .cd-primary-nav-trigger  {
top: 44px }

.cd-primary-nav-trigger .cd-menu-icon {
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 50px;
  height: 5px;
  background-color: #f2f0e9;;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.cd-primary-nav-trigger .cd-menu-icon::before,
.cd-primary-nav-trigger .cd-menu-icon:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #f2f0e9;
  right: 0;
  -webkit-transition: -webkit-transform .3s, top .3s, background-color 0s;
  -moz-transition: -moz-transform .3s, top .3s, background-color 0s;
  transition: transform .3s, top .3s, background-color 0s;
}

.cd-primary-nav-trigger .cd-menu-icon::before {
  top: -14px;
}

.cd-primary-nav-trigger .cd-menu-icon::after {
  top: 14px;
}

.cd-primary-nav-trigger .cd-menu-icon.is-clicked {
  background-color: rgba(255, 255, 255, 0);
}

.cd-primary-nav-trigger .cd-menu-icon.is-clicked::before,
.cd-primary-nav-trigger .cd-menu-icon.is-clicked::after {
  background-color: #f2f0e9;;
}

.cd-primary-nav-trigger .cd-menu-icon.is-clicked::before {
  top: 0;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

.cd-primary-nav-trigger .cd-menu-icon.is-clicked::after {
  top: 0;
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}

.cd-primary-nav.is-visible:before {
  content: '';
  display: block;
  position: absolute;
  top: 2em;
  right: 0;
  height: 150px;
  width: 150px;
  max-width: 60%;
  background-size: contain;
  background-image: url('https://www.steamtugbrent.org/SteamTugBrent.png');
  background-repeat: no-repeat;
  left: 50%;
  transform: translateX(-50%);
}

.cd-primary-nav {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 200;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: auto;
  /* this fixes the buggy scrolling on webkit browsers - mobile devices only - when overflow property is applied */
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
  background-color: #eee9de;
  text-align: center !important;
  padding-left: 0;
  margin-left: 0;
  padding: 200px 30px 100px;
}

.cd-primary-nav.is-visible {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.cd-primary-nav ul {
  margin-top: 10px;
}

.cd-primary-nav li {
  margin: 8px auto;
  padding: 4px 0;
  width: 100%;
  max-width: 400px;
  text-transform: uppercase;
}

.cd-primary-nav li a {
  margin: 0px;
  padding: 10px 0;
  text-decoration: none;
  width: 100%;
  display: inline-block;
  font-weight: 500;
  font-size: 1.3rem;
  color: #24a5df !important;
  border: 2px solid #24a5df;
}

.cd-primary-nav li.current-menu-item a {
  background: #24a5df!important;
  color: #f2f0e9!important;
}

.cd-primary-nav li.menu-item-51 a {
  border: 2px solid #d66541;
  color: #d66541!important;
}

@media only screen and (max-width: 600px) {
  .cd-header {
    top: 0;
    left: 0;
  }

  .cd-primary-nav-trigger {
    width: 70px;
    height: 70px;
    border-radius: 0;
    right: 0;
    top: 0;
 }



  .cd-primary-nav-trigger .cd-menu-icon {
    width: 45px;
  }

}




/*--------------------------------------------------------------# Timeline--------------------------------------------------------------*/
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */

.row.timeline{
  padding: 4em 0;
}

#cd-timeline {
  position: relative;
  padding: 2em 0;

  margin: 0 auto;
  width: 90%;
  max-width: 1000px;

}
#cd-timeline::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 3px!important;
  background: #24a5df!important;
}
@media only screen and (min-width: 960px) {

  #cd-timeline::before {
    left: 50%;
    margin-left: -1px;
    width: 3px!important;
  }
}

.cd-timeline-block {
  position: relative;
  margin: 2em 0;
}
.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}
.cd-timeline-block:last-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 960px) {
  .cd-timeline-block {
    margin: 2em 0;
  }
  .cd-timeline-block:first-child {
    margin-top: 0;
  }
  .cd-timeline-block:last-child {
    margin-bottom: 0;
  }
}

.cd-timeline-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background-color: #24a5df;
  border-radius: 50%;
  margin-left: 3px;
  margin-top: 15px;
}
.cd-timeline-img img {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
  left: 50%;
  top: 50%;
  margin-left: -12px;
  margin-top: -12px;
}

@media only screen and (min-width: 960px) {
  .cd-timeline-img {
    width: 40px;
    height: 40px;
    left: 50%;
    margin-left: -20px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    top: 5px;
  }
.cd-timeline-img.is-hidden {
    visibility: hidden;
  }
.cd-timeline-img.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
  }
}

@-webkit-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
  }
}
@-moz-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -moz-transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -moz-transform: scale(1.2);
  }

  100% {
    -moz-transform: scale(1);
  }
}
@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}
.cd-timeline-content {
  position: relative;
  margin-left: 60px;
  background: #f2f0e9;
  /* border-radius: 0.25em; */
  padding: 1em;
  /* box-shadow: 0 3px 0 #d7e4ed; */
  text-align:  left;
}
.cd-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-content h2 {
  color: #24a5df;
  font-style: normal;
  /* text-transform: uppercase; */
  display:  inline-block;
  font-size: 2.75rem;
  font-weight: 700;
  margin: 10px 0px;
}
.cd-timeline-content p, .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  font-size: 13px;
  font-size: 0.8125rem;
}
.cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  display: inline-block;
}
.cd-timeline-content p {
  margin: 1em 0;
  line-height: 1.5em;
  color: #24a5df;
  font-size: 1.3rem;
}

  .cd-timeline-content img {
    padding-bottom: 15px;
    max-width: 100%;
  }

.cd-timeline-content .cd-read-more {
  float: right;
  padding: .8em 1em;
  background: #acb7c0;
  color: white;
  border-radius: 0.25em;
}
.no-touch .cd-timeline-content .cd-read-more:hover {
  background-color: #bac4cb;
}
.cd-timeline-content .cd-date {
  float: left;
  padding: .8em 0;
  opacity: .7;
}
.cd-timeline-content::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 11px solid transparent;
  border-right: 11px solid #f2f0e9;
}

@media only screen and (min-width: 960px) {
  .cd-timeline-content {
    margin-left: 0;
    padding: 1.6em;
    width: 45%;
    padding: 40px;
  }
    .cd-timeline-content img {
  }
  .cd-timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #f2f0e9;
  }
  .cd-timeline-content .cd-read-more {
    float: left;
  }
  .cd-timeline-content .cd-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: #f2f0e9;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
    left: auto;
    right: 122%;
    text-align: right;
  }
.cd-timeline-content.is-hidden {
    visibility: hidden;
  }
.cd-timeline-content.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
    -moz-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
  }


  
}

@media only screen and (min-width: 960px) {
  /* inverse bounce effect on even content blocks */
.cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
    -webkit-animation: cd-bounce-2-inverse 0.6s;
    -moz-animation: cd-bounce-2-inverse 0.6s;
    animation: cd-bounce-2-inverse 0.6s;
  }
}
@-webkit-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100px);
  }

  60% {
    opacity: 1;
    -moz-transform: translateX(20px);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
    -moz-transform: translateX(-100px);
    -ms-transform: translateX(-100px);
    -o-transform: translateX(-100px);
    transform: translateX(-100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
    transform: translateX(20px);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -moz-transform: translateX(100px);
  }

  60% {
    opacity: 1;
    -moz-transform: translateX(-20px);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
    -moz-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    -o-transform: translateX(-20px);
    transform: translateX(-20px);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

@media only screen and (max-width: 1023px) {

.row.timeline {
    padding: 0;
}
  
.cd-timeline-content {
  margin-left: 0;
}

.cd-timeline-content h2 {
  font-size: 2.5rem;
  margin: 0;
}
.cd-timeline-content p {
  font-size: 1.2rem;
}

#cd-timeline::before{
  display: none;
}  

}

/*--------------------------------------------------------------# Cookie Policy--------------------------------------------------------------*/


#cmplz-document,.editor-styles-wrapper .cmplz-unlinked-mode {
    font-size: 14px;
    margin-top: 0;
   width: 100%;
  max-width: 1200px;
    text-align: left
}

#cmplz-document ul{
      font-size: 14px;
    margin: 1em auto!important;
   width: 100%;
  max-width: 900px;
  
}

.cmplz-dropdown, .cmplz-categories, #cmplz-document li{
  max-width: 900px!important;
  margin: auto!important
}


/*--------------------------------------------------------------# Responsive--------------------------------------------------------------*/

@media only screen and (max-width: 1023px) {

 
  h1 {
    font-size: 2.5rem;
    line-height: 1.45em;
    margin-bottom: 1em;
}

  h2 {
    font-size: 2.5rem;
    line-height: 1.4em;
    font-weight: 700;
}

 .splitrow.two .half h2, .splitrow.four .half.right h2 {
    font-size: 3rem;
} 

 .row.five h2 {
    font-size: 2.15rem;
    margin: 0 auto 1em;
} 

#footer {
  width: calc(100% - 3em);
  max-width: 1280px;
  margin: -2em auto 0;
  padding: 1em
}



  #header img.logo,
  #footer img.logo {
    width: 200px
  }



  #header .right-header {
    position: relative;
    top: 0;
    right: 0;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.4em;
    background: #f2f0e9;
    margin-top: 10px!important;
    padding: 1em;
    z-index: 10
  }

   #header .right-header br {
    content: "&nbsp;" !important;
}

   #header .right-header br::after {
    content: " /";
    white-space: pre;
}

.row, .fullwidth {
    position: relative;
}

  
  .splitrow {
    display: block;
    margin-bottom: 2em;
  }
.half, .fullwidth {
  padding: 2em;
}
.fullwidth iframe, .half iframe {
  width: calc(100% + 4em);
  height: 35em;
  margin-left: -2em;
  margin-top: -2em;
  margin-bottom: -2em;

}

.page-id-37 .half.map{
  padding-bottom: 0px!important;
   height: 39em;
}  

.page-id-37 .half iframe{
  margin-top: 2em;
  margin-bottom: 2em;
  
}  
  
  .row.repeater{
  display: block;
  margin-bottom: 2em;
  min-height: 30em
}

    .row.repeater .half{
  padding-bottom: 0px;
  margin-top: 3em
}

  .splitrow .right {
    display: block;
    margin-top: 2em;
  }
  

.half img, .fullwidth img {
    width: calc(100% + 4em);
    height: calc(100% + 4em);
    margin-left: -2em;
    margin-top: -2em;
} 

.repeater .half img{
      width: 100%;
    height: 100%;
    margin: 0 auto 3em
}

.row li {
    list-style: none;
    font-size: 1.2rem;
    border-bottom: 1px solid;
    padding: .25em 0
}  

.button {
  min-width: 270px;
}


#footer .nlhf {
    position: relative;
    top: auto;
    right: auto;
    margin: 3em auto;
    text-align: center;
    width: 250px;
}

#footer .nlhf h3 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.7rem;
    line-height: 1.2em;
    margin-bottom: 1em;
  width: auto;
}  

#footer #copyright {

  font-size: .85rem;
  line-height: 1.5em
}  

}

@media only screen and (max-width: 768px) {

  .entry-content {
    width: calc(100% - 1em);
    max-width: 1280px;
    margin: -2em auto 0;
    padding: .5em;
}

.home .entry-content {
    margin-top: -4em;
}  

  #header {
    height: 320px;
    width: 100%;
  }  

   .splitrow {
    margin-bottom: 1em;
  }

   .splitrow .right {
    display: block;
    margin-top: 1em;
  }

  .row.repeater{
    margin-top: 0;
    margin-bottom: 1em 
  }

.half, .fullwidth {
  margin: 0px
}

.row, .fullwidth {
    margin-bottom: 1em
}  

.home .row.three .fullwidth{
  height: auto;
  background: #f2f0e9
}  
  
  .row.repeater .half{
  padding-bottom: 0px;
  margin-top: 1em
}
  
  #header .nlhf {
    position: absolute;
    top: -1.25em;
    left: .5em;
  }

  #header .nlhf img {
    width: 80px
  }
  
.button{
  font-size: 1.25rem;
  line-height: 1.25em;
  width: 100%
}
  #footer {
  width: 100%;
  margin: -1.5em 0 0;
}
  
}  
