/* Default Colours for the website */
/* For curved edges in images and boxes  */
/* Drop shadows for  images and boxes*/
/* Set custom font for the File more than one */

@font-face {
  font-family: FontName1;
  /* Customise this name for each custom font */
  src: url(/Sites/2706/_Layout/OpenSans-Light.ttf);
}
/* Set custom font for the File more than one */

@font-face {
  font-family: FontName2;
  src: url(/Sites/2706/_Layout/OpenSans-Regular.ttf);
}
@font-face {
  font-family: FontName3;
  src: url(/Sites/2706/_Layout/OpenSans-Semibold.ttf);
}
/*Will be the default font across the website*/

/*Main background image*/

body {
  background: url(/Sites/2706/_Layout/htmlBg.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.mainContents {
  background: url(/Sites/2706/_Layout/mainContents.png) center;
  margin-top: -20px;
}
.site-header {
  background-color: white;
}
.img {
  margin-bottom: -20px;
}
/* font*/

body {
  font: 12pt FontName2;
  color: #383838;
  text-align: centre;
}
.item em {
  color: white;
}
.item p.person {
  color: white;
}
.people p {
  text-align: center;
}
/*Navigation customisation */

/*Main Background*/

.navbar {
  background-color: #0e5616;
  margin-left: auto;
  margin-right: auto;
  -webkit-border-radius: 0 0 0 0;
  -moz-border-radius: 0 0 0 0;
  border-radius: 0 0 0 0;
}
/*Nav Main font size*/

.navbar-default .navbar-nav > li > a {
  font-size: 12pt;
  color: white;
  text-decoration: none;
}
.navbar-default .navbar-nav > li > a:hover {
  font-size: 12pt;
  color: #f6f0d8;
}
/*Nav drop down*/

.navbar-default .dropdown-menu li a {
  font-size: 12pt;
  color: #0e5616;
  text-decoration: none;
}
.navbar-default .dropdown-menu li a:hover {
  font-size: 12pt;
  color: white;
  background-color: #0e5616;
}
/*Text alignment in the navigation */

.navbar .navbar-collapse {
  text-align: center;
}
/*Sub text styling*/

.nav-sub-text {
  font-size: 10pt;
}
@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: white;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
    color: #d8b417;
  }
}
.slide-text p {
  text-align: center;
  padding-top: 25px;
}
.slide-text h2 {
  text-align: center;
  font: 18pt FontName3;
}
.border-right {
  border-right: 1px solid white;
}
/*Heading compo background color etc */

.heading h2 {
  font: 16pt FontName1;
  color: black;
  text-align: center;
}
/*Compo Title styling*/

.compoTitle {
  margin-top: 0px;
  margin-bottom: 10px;
  padding-top: 0px;
  padding-bottom: 0px;
}
.compoTitle {
  margin-top: 0px;
  margin-bottom: 10px;
  padding-top: 15px;
  padding-bottom: 0px;
  padding-left: 15px;
}
.compoTitle h2,
h1 {
  font: 22pt FontName2;
  color: #0e5616;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 20px;
}
h1 {
  font: 20pt FontName2;
  color: #c32634;
  text-align: center;
}
/*Header background*/

.header {
  border: none;
  background-image: url(/Sites/21/_Layout/NavBackground.jpg);
  background-position: bottom;
  background-repeat: repeat-x;
}
/*Header Image Details*/

.CompoBs_HeadingImage img {
  border: 3px solid white;
}
.rteText img.no-border-img {
  border-width: 0px;
}
p {
  color: #383838;
}
h1 {
  font: 24pt FontName3;
  color: #0e5616;
  text-align: left;
  padding-top: 10px;
  padding-bottom: 15px;
}
h2 {
  font: 14pt FontName2;
  color: #966b0a;
}
h3 {
  font: 14pt FontName2;
  color: #966b0a;
}
h4 {
  font: 16pt FontName1;
  color: #0e5616;
  font-weight: bold;
}
h4 a {
  color: #0e5616;
  font-weight: bold;
  text-decoration: underline;
}
h4 a:hover {
  color: #966b0a;
}
h6 {
  width: 100%;
  background-color: #0e5616;
  color: white;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
  font: 14pt FontName3;
  -webkit-border-radius: 12px 12px 12px 12px;
  -moz-border-radius: 12px 12px 12px 12px;
  border-radius: 12px 12px 12px 12px;
}
h5 {
  width: 100%;
  background-color: #e8e0b2;
  color: #383838;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
  font: 12pt FontName2;
  font-weight: bold;
  -webkit-border-radius: 12px 12px 12px 12px;
  -moz-border-radius: 12px 12px 12px 12px;
  border-radius: 12px 12px 12px 12px;
}
h5 a {
  color: #0e5616;
}
h5 a:hover {
  color: #36101e;
}
.contactform,
.contactmap {
  padding: 1px 10px 10px 10px;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 20px;
  padding-right: 20px;
}
h6 a:hover {
  color: #4a4b49;
}
a {
  color: #966b0a;
  font-weight: bold;
  text-decoration: underline;
}
a:hover {
  color: #0e5616;
}
.news {
  background: #e8e0b2;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 30px;
  text-align: center;
  -webkit-border-radius: 12px 12px 12px 12px;
  -moz-border-radius: 12px 12px 12px 12px;
  border-radius: 12px 12px 12px 12px;
}
.news a {
  color: #0e5616;
}
.news a:hover {
  color: #36101e;
}
.compo-id85632 {
  margin-top: 15px;
  margin-bottom: 15px;
}
.compo-id85647 {
  margin-bottom: 15px;
}
.compo-id85707 {
  margin-bottom: 15px;
}
.compo-id85708 {
  margin-bottom: 15px;
}
.compo-id85710 {
  margin-bottom: 15px;
}
.published {
  display: none;
}
.carousel {
  margin-top: 0px;
}
label.control-label {
  width: 200px;
  font-weight: normal;
}
.row {
  margin-bottom: 0px;
  margin-top: 0px;
}
.footer {
  background-color: #0e5616;
}
.compo-footer {
  height: 100px;
  background-color: #0e5616;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
  margin-top: 0px;
  color: white;
  font-size: 12pt;
  text-align: center;
}
.compo-footer p {
  text-align: center;
}
.copyright body {
  text-align: center;
  color: white;
  font-size: 10pt;
}
.compo-footer a {
  color: white;
  font: 13pt;
}
.Page_Type_Live {
  color: #0e5616;
}
/* RESPONSIVE
/*------------------------------------------------------*/

@media (max-width: 991px) {
  .slide-text h2 {
    font-size: 60px;
    line-height: 50px;
    margin-bottom: 20px;
  }
  .slide-text > p {
    font-size: 25px;
  }
}
/*---------- MEDIA 480px ----------*/

@media (max-width: 768px) {
  .slide-text {
    padding: 10px 50px;
  }
  .slide-text h2 {
    font-size: 28px;
    line-height: 40px;
    margin-bottom: 10px;
  }
  .slide-text > p {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
  }
  .control-round .carousel-control {
    display: none;
  }
}
@media (max-width: 480px) {
  .slide-text {
    padding: 10px 30px;
  }
  .slide-text h2 {
    font-size: 12px;
    line-height: 25px;
    margin-bottom: 5px;
  }
  .slide-text > p {
    font-size: 10px;
    line-height: 18px;
    margin-bottom: 10px;
  }
  .indicators-line > .carousel-indicators {
    display: none;
  }
}
/**/
/*Masonry Gallery*/

#masonry {
  column-count: 2;
  column-gap: 10px;
}
@media (min-width: 30em) {
  #masonry {
    column-count: 3;
    column-gap: 20px;
  }
}
@media (min-width: 40em) {
  #masonry {
    column-count: 4;
    column-gap: 10px;
  }
}
@media (min-width: 60em) {
  #masonry {
    column-count: 5;
    column-gap: 20px;
  }
}
@media (min-width: 75em) {
  #masonry {
    column-count: 6;
    column-gap: 30px;
  }
}
.gallery-m {
  background-color: none;
  display: inline-block;
  margin: 0 0 1em 0;
  width: 100%;
  cursor: pointer;
}
.gallery-m img {
  max-width: 100%;
  height: auto;
  width: 100%;
  margin-bottom: -4px;
  /*idk why but this fix stuff*/

}
.gallery-m.active {
  animation-name: active-in;
  animation-duration: 0.7s;
  animation-fill-mode: forwards;
  animation-direction: alternate;
}
.gallery-m.active:before {
  content: "+";
  transform: rotate(45deg);
  font-size: 48px;
  color: white;
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.85);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  text-align: center;
  line-height: 48px;
  z-index: 12;
}
.gallery-m.active img {
  animation-name: active-in-img;
  animation-duration: 0.7s;
  animation-fill-mode: forwards;
  animation-direction: alternate;
}
@keyframes active-in {
  0% {
    opacity: 1;
    background-color: white;
  }
  50% {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.9);
  }
  100% {
    opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
  }
}
@keyframes active-in-img {
  0% {
    opacity: 1;
    transform: translate(0%, 0%);
    top: 0;
    left: 0;
    max-width: 100%;
  }
  49% {
    opacity: 0;
    transform: translate(0%, -50%);
  }
  50% {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
  }
  100% {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    width: auto;
    max-height: 95vh;
    opacity: 1;
  }
}
