/* 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/2818/_Layout/OpenSans-Light.ttf);
}
/* Set custom font for the File more than one */

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

/*Main background image*/

body {
  background: url(/Sites/2818/_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/2818/_Layout/mainContents.png) center;
  margin-top: -20px;
}
.TownTitle {
  font-size: 45pt;
  text-transform: uppercase;
  color: #4a4b49;
}
/* font*/

body {
  font: 12pt FontName2;
  color: black;
  text-align: centre;
}
.item em {
  color: white;
}
.item p.person {
  color: white;
}
.site-header {
  background-color: white;
}
/*Navigation customisation */

/*Main Background*/

.navbar {
  background-color: #3967a2;
  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;
}
.navbar a {
  color: white;
}
/*Nav Main font size*/

.navbar-default .navbar-nav > li > a {
  font-size: 13pt;
  color: white;
}
.navbar-default .navbar-nav > li > a:hover {
  font-size: 13pt;
  color: #eadb0b;
}
/*Nav drop down*/

.navbar-default .dropdown-menu li a {
  font-size: 13pt;
  color: #3967a2;
}
.navbar-default .dropdown-menu li a:hover {
  font-size: 13pt;
  color: #8d6708;
}
/*Text alignment in the navigation */

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

.nav-sub-text {
  font-size: 10pt;
}
.nav > li > a {
  padding: 10px 10px;
}
@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: #8d6708;
  }
}
.slide-text p {
  text-align: center;
  padding-top: 25px;
}
.slide-text h2 {
  text-align: center;
  font: 26pt 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: 24pt FontName2;
  color: #8d6708;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 0px;
}
/*Header background*/

.header {
  border: none;
  background-image: url(/Sites/2818/_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 {
  text-align: left;
}
h1 {
  font: 24pt FontName2;
  color: #8d6708;
  text-align: center;
}
h2 {
  font: 14pt FontName2;
  color: #c32634;
  text-align: left;
}
h3 {
  font: 14pt FontName2;
  color: #c32634;
  text-align: left;
}
h4 {
  font: 18pt FontName2;
  color: #3967a2;
  margin-top: 0px;
}
.compo-committee h2 {
  font: 18pt FontName2;
  color: #3967a2;
  margin-top: 0px;
}
h6,
.events h2 {
  width: 100%;
  background-color: #ececec;
  color: black;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
  font: 12pt FontName2;
  font-weight: bold;
}
h6 a,
.events h2 a {
  color: #3967a2;
  font-weight: bold;
  text-align: center;
}
h6 a:hover,
.events h2 a:hover {
  color: black;
  font-weight: bold;
  text-align: center;
}
h5 {
  width: 100%;
  background-color: #3967a2;
  color: white;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
  font: 12pt FontName1;
  font-weight: bold;
}
h5 a {
  color: white;
}
h5 a:hover {
  color: #647996;
}
.contactform,
.contactmap {
  padding: 1px 10px 10px 10px;
  height: 550px;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 20px;
  padding-right: 20px;
}
.contactform h2,
.contactmap h2 {
  font: 18pt FontName2;
  color: #3967a2;
  margin-top: 0px;
}
a {
  color: #8d6708;
  font-weight: bold;
  word-break: break-word;
}
a:hover {
  color: #3967a2;
}
.events h4 {
  font-size: 16pt;
  text-align: center;
}
.events p {
  text-align: center;
}
.minutes {
  background: #ececec;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  padding-right: 12px;
  text-align: left;
}
.news {
  background: #ececec;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
}
.news a {
  color: #00698e;
}
.news a:hover {
  color: #537900;
}
.news h4 {
  font-size: 16pt;
}
.carousel {
  margin-top: 0px;
}
.align-left {
  text-align: left;
}
label.control-label {
  width: 200px;
  font-weight: normal;
}
.row {
  margin-bottom: 0px;
}
.compo-footer {
  background-color: #8d6708;
  padding-top: -10px;
  padding-bottom: 12px;
  padding-left: 20px;
  padding-right: 25px;
  margin-top: 0px;
  text-align: right;
  color: white;
  font-size: 12pt;
}
.compo-footer p {
  text-align: right;
}
.copyright body {
  text-align: right;
  color: white;
  font-size: 12pt;
}
.compo-footer a {
  color: white;
  font: 12pt;
}
.Page_Type_Live {
  color: #3967a2;
}
/*Home page bricks*/

.compo-id105698 h5 {
  margin-top: -10px;
  font-size: 14pt;
}
.compo-id105698 h5 a:hover {
  color: #f6f0d8;
}
.compo-id105698 .cp_cp3_3_3_3_2_text h5,
.compo-id105698 .cp_cp3_3_3_3_4_text h5 {
  background-color: #8d6708;
}
/* 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;
  }
}
