@CHARSET "UTF-8";

/* External resources */

@import url(https://fonts.googleapis.com/css?family=Domine|Poppins);
/* Selected text */

*::selection, input::selection {
  background: #2A998B;
  color: #fff;
}

*::-moz-selection {
  background: #2A998B;
  color: #fff;
}

/** Default styles */
body {
  font-family: 'Poppins', sans-serif;
  font-size: 11pt;
  padding: 0;
  margin: 0;
  background: #fff;
  color: #3b484c;
  overflow-x: hidden;
}

hr {
  border: none;
  height: 1px;
  background-color: #cecece;
}

.button {
  text-decoration: none;
  text-transform: uppercase;
  padding: 6px 18px;
  color: #fff;
  background-color: #4ecdb2;
  display: inline-block;
  border-radius: 3px;
  transition: background 0.3s;
}

.button:hover {
  color: #fff;
  background-color: #2a998b;
}

a {
  color: #2a998b;
  transition: color 0.3s;
}

a:hover {
  color: #4ecdb2;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
}

a img {
  border: none;
}

div.clearfix {
  clear: both;
}

/* Wrapper */

.wrapper {
  width: 1000px;
  margin: 0 auto;
}

/* Top */

.top {
  padding: 10px 0px;
  background-color: #2a998b;
  color: #fff;
}

.top-left {
  width: 85%;
  float: left;
}

.top-left-box {
  display: inline-block;
  font-size: 9pt;
  padding: 0px 0px;
  margin-right: 1%;
  width: 23%;
}

.top-left-box a {
  color: #fff;
}

.top-right {
  width: 15%;
  float: right;
  text-align: right;
}

.top-right img {
  display: inline-block;
  vertical-align: -10px;
  margin-right: 10px;
}

.top-right img:hover {
  opacity: 0.7;
}

.font-size {
  display: inline-block;
}

.font-size span.font-btn:hover {
  cursor: pointer;
}

.font-btn[data-size="11"] {
  font-size: 11pt;
}

.font-btn[data-size="13"] {
  font-size: 13pt;
}

.font-btn[data-size="15"] {
  font-size: 15pt;
}

/* Header */

.header {
  padding: 10px 0px;
  background-color: rgba(255,255,255,0.75);
  z-index: 99999;
  position: relative;
}

/* Menu bar */

#menu-btn {

}

.navbar{
  height:auto;
  display: inline-block;
  float: right;
  width: 80%;
}

.navbar .wrapper {
  width: 100%;
}

.navbar ul {
  margin: auto;
  padding: 0;
  list-style-type: none;
  display: table;
}

.navbar li {
  display: table-cell;
  position:relative;
  text-align:center;
}

.navbar ul li a {
  cursor: pointer;
  font-size: 14pt;
  text-decoration:none;
  display: block;
  padding: 50px 10px;
  color: #3b484c;
  font-family:'Domine', sans-serif;
}

.navbar ul li a:hover, .selectedanchor, .navbar ul li a.current {
  color: #2a998b;
}

.css-menu-panel{
  position: absolute;

  left: 0;
  top: 100%;
  height:auto;
  margin: 10px 0 0 0;
  padding: 0px;
  z-index: 1000000;
  transform: scaleY(0);
  transition: transform 0.3s;
  -o-transition: transform 0.3s;
  -webkit-transition: transform 0.3s;
  -ms-transition: transform 0.3s;
  -moz-transition: transform 0.3s;
  transform-origin: 0 10px;
  -o-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
}

.navbar li:hover .css-menu-panel{
  transform: scale(1);
}

.navbar ul li .css-menu-panel a {
  background-color: rgba(255,255,255,0.75);
  padding: 20px;
  white-space: nowrap;
}

.navbar ul li .css-menu-panel a:hover{
  background-color: #2a998b;
  color: #fff;
}

/* Banner */

.banner {
  margin-top: -140px;
  z-index: 888;
  height: 800px;
}

a.button.mobile {
  display: none;
}

.banner h1, .banner h2 {
  color: #fff;
}

.banner h1 {
  font-size: 300%;
}

#page-slideshow img {
  max-width: none;
  position: absolute;
  left:50%;
  margin-left: -1000px;
}

.banner .wrapper {
  position: relative;
}

.overlay-3 {
  position: absolute;
  top: 175px;
  left: 0 !important;
  z-index: 70;
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 1);
  padding: 10px;
}

.overlay-2 h1 {
  font-size: 200%;
}

.overlay-2 {
  position: absolute;
  top: 500px;
  left: 0;
  height:240px;
  padding: 30px 60px;
  background-color: rgba(56, 205, 229, 0.75);
  z-index: 70;
}

.overlay-1 {
  position: absolute;
  top: 540px;
  right: 0;
  z-index: 9999;
  --height: 220px;
  --width: 220px;
}

.overlay-3 a img {
  transition: transform 0.3s, filter 0.3s;
}

.overlay-3 a:hover img {
  transform: scale(1.2);
  filter: hue-rotate(150deg);
}

/* Main */

h1,h2,h3 {
  font-family: 'Domine', serif;
  font-weight: normal;
  color: #40b598;
}

div.main {

}

/* Content Block */

.contentblock {
  background-color: #efefef;
  padding: 30px 0px;
  font-size: 0;
}

.contentblock-box {
  width: 30%;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  padding: 0px 1.51%;
  font-size: 11pt;
}

.contentblock-box a img, a.zoom img {
  transition: transform 0.3s, filter 0.3s;
  transform-origin: center center;
}

.contentblock-box a:hover img, a.zoom:hover img {
  transform: scale(1.2);
  filter: saturate(120%);
}

/* Content */

.content {
  padding: 20px 0px;
}

.content script+link+h1 {
  display:none;
}

.content>*:first-child,div.gallery-header>*:first-child {
  margin-top: 0;
}

.content td>*:first-child {
  margin-top: 0;
}

.content td>*:last-child {
  margin-bottom: 0;
}

/* News */

.latest-news {
  text-align: center;
}

.stories {
  padding: 10px 0px;
  text-align: center;
}

.story:nth-child(2), .story:nth-child(5){
  border-left: 1px solid #cecece;
  border-right: 1px solid #cecece;
}

.story {
  width: 32%;
  display: inline-block;
  vertical-align: top;
  margin-bottom: 20px;
}

.story img {
  padding: 10px 0px;
  max-width: 90%;
  height: 150px;
}

.article-list .post-outer {
  width: 30%;
  display: inline-block;
  vertical-align: top;
  margin-right: 2%;
}

.post-outer {
  width: 96%;
}

.post-outer img {
  max-width: 100%;
}

.entry div img {
  display: block;
}

/* Useful Links */

.useful-links {
  padding: 20px 0px;
  text-align: center;
}

.useful-links .wrapper {
  width: 94%;
}

/** Footer */

div.footer {
  padding: 30px 0px;
  background-color: #444b53;
  border-top: 10px solid #52ccb0;
}

div.footer a {
  color: #fff;
}

div.footer a:hover {

}

.footer-box {
  width: 24%;
  text-align: center;
  display: inline-block;
  color: #fff;
  vertical-align: top;
}

.footer-box:last-child {
  font-style: italic;
  font-size: 10pt;
}

/** gallery styles */

div.slideshow#image-gallery {

}

div#image-gallery a.slides-next, div#image-gallery a.slides-prev {
  background:#333;
  background: rgba(51,51,51,0.6);
  text-decoration: none;
  transition:padding 0.2s, background 0.2s;
  -o-transition:padding 0.2s, background 0.2s;
  -ms-transition:padding 0.2s, background 0.2s;
  -moz-transition:padding 0.2s, background 0.2s;
  -webkit-transition:padding 0.2s, background 0.2s;
  padding:0 5px;
}

div#image-gallery a.slides-next:hover, div#image-gallery a.slides-prev:hover {
  background: #333;
  padding:0 10px;
}

div#image-gallery * {
  padding:0;
  list-style:0;
}

div#image-gallery *:after, div#image-gallery *:before {
  display:none;
}

/*******************************************************************************
 ** Utility: 3-col responsive grid */

.col1,.col2,.col3 {
  padding: 4px 0;
  margin: 0;
}

.col1 {
  width: 24%;
  padding-left: 1%;
  float: left;
}

.col1.gapless {
  width: 25%;
  padding-left: 0;
}

.col2 {
  width: 49%;
  padding-left: 1%;
  float: left;
}

.col2.gapless {
  width: 50%;
  padding-left: 0;
}

.col3 {
  width: 74%;
  padding-left: 1%;
  float: left;
}

.col3.gapless {
  width: 75%;
  padding-left: 0;
}


.col4 {
  width: 100%;
  padding-left: 0;
}

.colthumb {
  float: left;
  width: 160px;
}

.colall {
  float: left;
  padding-left: 1%;
  width: calc(99% - 160px);
}

.col1:first-child, .col2:first-child {
  padding-left: 0;
}

/** Clears */

.clear:before,
.clear:after {
  display: table;
  content: ' ';
  clear: both;
}

/** Remove background in editor */

body.content {
  float: none;
  border-right: 1px solid #ddd;
  background: #fff;
}

/** Responsive 2, 3 and 4 column tables */

.content table.responsive3, .content table.responsive2, .content table.responsive4, .content table.responsive3 tbody, .content table.responsive2 tbody, .content table.responsive4 tbody, .content table.responsive4 tr {
  border: 0;
  border-spacing: 0;
  width: 100% !important;
}

.content table.responsive3 td {
  width: 32%;
  padding-left: 2%;
  border: 0;
  vertical-align: top;
}

.content table.responsive3 td:first-child {
  padding-left: 0;
}

.content table.responsive2 td {
  width: 48%;
  padding-left: 4%;
  border: 0;
  vertical-align: top;
}

.content table.responsive2 td:first-child {
  padding-left: 0;
}

.content table.responsive4 td {
  width: 25%;
  padding-left: 1%;
  border: 0;
  vertical-align: top;
  box-sizing: border-box;
}

.content table.responsive4 td:first-child {
  padding-left: 0;
}

/** Additional styles - delete/uncomment as needed */

/** coloured bullets

.content ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 40px;
}

.content ul li {
  position: relative;
  text-align: left;
}

.content ul li:before {
  content: '';
  position: absolute;
  left: -20px;
  top: 6px;
  top: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 15px;
  background: #006837;
}
*/

/** Email form presentation

.email-form-controls {
  margin-top: 10px;
  background: #e2e2e2;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
}

.email-form-controls .formandu-text,.email-form-controls .formandu-dropdown {
  width: 80%;
  margin: 0 auto;
  border: 1px solid #888;
  font-size: 12pt;
  color: #888;
  padding: 6px !important;
}

.email-form-controls .formandu-container {
  text-align: center !important;
  padding: 10px 0 0 0;
}

.email-form-controls .formandu-container button.formandu-button {
  font-size: 14pt;
  font-weight: bold;
  padding: 14px 50px;
}

*/

/** Blog presentation

div.blog-post {
  padding: 0 0 10px 0;
  margin: 0 0 10px 0;
  border-bottom: 2px solid #006837;
}

a.permalink[href*="/blog/"] {
  position: relative;
  text-decoration: none;
  background: #262261;
  color: #fff;
  border-radius: 4px;
  transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

a.permalink[href*="/blog/"]:hover {
  opacity: 0.7;
}

a.permalink[href*="/blog/"]:nth-of-type(1) {
  float: right;
  padding: 8px 25px 8px 8px;
}

a.permalink[href*="/blog/"]:nth-of-type(2), a.permalink[href*="/blog/"]:only-of-type {
  float: left;
  padding: 8px 8px 8px 25px;
}

a.permalink[href*="/blog/"]:nth-of-type(1):after {
  content: '';
  width: 0;
  height: 0;
  border-left: 6px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 0;
  top: 40%;
  top: calc(50% - 5px);
  right: 10px;
  padding: 0;
  position: absolute;
}

a.permalink[href*="/blog/"]:nth-of-type(2):after, a.permalink[href*="/blog/"]:only-of-type:after {
  border-right: 6px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 0;
  right: auto;
  left: 10px;
  content: '';
  width: 0;
  height: 0;
  top: 40%;
  top: calc(50% - 5px);
  right: 10px;
  padding: 0;
  position: absolute;
}

.blog-date {
  font-size: 9pt;
  margin-top: -0.5em;
  margin-bottom: 0.5em;
}

*/

/** Responsive views */

/** Desktop only (need to set width to page width + 1) */

@media (min-width: 1001px) {
  .only-desktop {
    display: auto !important;
  }
  .not-desktop {
    display: none !important;
  }
}

/** Too small for desktop (tablet) - set width to page width */
@media (max-width: 1000px) {
  .not-desktop {
    display: auto !important;
  }
  .only-desktop {
    display: none !important;
  }
  .overlay-1 {
     left: 0;
  }
  
.top-left-box {
  width: 100%;
  display: block;
  text-align: center;
  padding: 5px 0px;
  font-size: 16px;
  margin: -26px 0 0;
}


.wrapper {
  width: 100%;
}

.font-size {
  display: none;
}

.top-left-box {
  padding: 0px;
}

/*Navbar*/

.navbar{
  width:100%;
  height:auto;
}

.navbar ul {
  margin: auto;
  padding: 0;
  list-style: none;
  display: block;
}

.navbar li {
  display: block;
  position:relative;
  text-align:center;
}

.navbar ul li a{
  padding:10px 10px;
}

#nav-bar {
  display: none;
}

#menu-btn{
  text-align:center;
  width:100%;
  font-size:16pt;
  color:#000;
  margin:5px 0px;
  display:inline-block;
}

.css-menu-panel {
  display: none;
  transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
   width: 100%;
   position: static;
   opacity: 1;
}

a.button.mobile {
  display: block;
  text-align: center;
}

.header {
  text-align: center;
}

.banner {
  display: none;
}

}

/** Phone */
@media (max-width: 900px) {

.top-left {
  width: 100%;
  text-align: center;
}

.top-right{
  display: none;
}

.contentblock-box, .footer-box, .story {
  width: 96%;
  text-align: center;
  padding: 10px 2%;
}

  table.responsive3,table.responsive2,table.responsive4,
  table.responsive3 tbody,table.responsive2 tbody,table.responsive4 tbody,
  table.responsive3 tr,table.responsive2 tr,table.responsive4 tr {
    display: block;
  }
  table.responsive4 td,table.responsive3 td,table.responsive2 td {
    padding: 5px 0 0 0;
    display: block;
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
  }
  .col1 {
    width: 100%;
    padding-left: 0;
    float: none;
    text-align: center;
  }
  .col2 {
    width: 100%;
    padding-left: 0;
    float: none;
    text-align: center;
  }
  .col3 {
    width: 100%;
    padding-left: 0;
    float: none;
    text-align: center;
  }
  .col1.right, .col2.right, .col1.right+.col1 {
    text-align: center;
  }
}

@media (max-width: 700px) {
    .useful-links {
      display: none;
    }
}

/* Responsive Slideshow */

@media (max-width: 1000px) {
  #image-gallery,
  #image-gallery ul.carousel,
  #image-gallery ul li.slide,
  #image-gallery ul li.slide img {
    width: 100% !important;
    height: auto !important;
    min-width: 100% !important;
  }
  #image-gallery div.caption.reveal {
    position: static !important;
    display: block;
    background: none;
    color: inherit;
    top: 0;
  }
  #image-gallery a.slides-next,
  #image-gallery a.slides-prev {
    display: none !important;
  }
}
