/*
Theme Name: Burley
Theme URI: https://wordpress.org/themes/twentytwentyone/
Template: twentytwelve
Author: Matthew King
Author URI: http://matthewking.co.uk
Description: Burley Partnership Theme
Requires at least: 5.3
Tested up to: 5.6
Requires PHP: 5.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwelve
Tags: one-column, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready

*/
@font-face {
  font-family: "DIN Light Regular";
  src: url("fonts/DINLightRegular.otf");
  font-weight: 500;
}

@font-face {
  font-family: "icomoon";
  src: url("fonts/icomoon/icomoon.eot");
  src: url("fonts/icomoon/icomoon.eot?#iefix") format("embedded-opentype"), url("fonts/icomoon/icomoon.ttf") format("truetype"), url("fonts/icomoon/icomoon.woff") format("woff"), url("fonts/icomoon/icomoon.svg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* =======================================================
*
* 	Template Style 
*	Edit this section
*
* ======================================================= */
body {
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  background: #fff;
  color: #353535;
  font-weight: 300;
  overflow-x: hidden;
}

body.offcanvas {
  overflow: hidden;
}

a {
  color: #d50951;
  -webkit-transition: 0.5s, ease;
  -o-transition: 0.5s, ease;
  transition: 0.5s, ease;
}

a:hover {
  text-decoration: none;
  color: #6f6f6f;
}

p,
ul,
ol {
  margin-bottom: 1.5em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #6f6f6f;
  font-family: "DIN Light Regular";
  font-weight: 400;
  margin: 0 0 30px 0;
}

figure {
  margin-bottom: 2em;
}

#page {
  min-height: calc(100vh - 189px);
}

@media screen and (max-width: 768px) {
  #page {
    min-height: calc(100vh - 324px);
  }
}

#header {
  position: relative;
  margin-bottom: 0;
  z-index: 9999999;
}

.sticky {
  position: fixed !important;
  top: 0 !important;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
}

@media screen and (max-width: 768px) {
  .sticky {
    position: relative !important;
    box-shadow: none;
  }
}

.sticky + #page {
  padding-top: 70px;
}

@media screen and (max-width: 768px) {
  .sticky + #page {
    padding-top: 0;
  }
}

.overlay {
  position: absolute !important;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.overlay-extra {
  background: rgba(0, 0, 0, 0.5);
}

.header-top {
  padding: 10px 0;
  background: #d50951;
}

.header-top .link a {
  margin-left: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.header-top .link a:first-child {
  margin-left: 0;
}

.header-top .link a:hover {
  color: white !important;
}

@media screen and (max-width: 768px) {
  .header-top .link {
    text-align: center;
  }
}

.header-top .social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-right: 15px;
  position: relative;
  -webkit-transition: 0.5s, ease-in-out;
  -o-transition: 0.5s, ease-in-out;
  transition: 0.5s, ease-in-out;
}

.header-top .social a:last-child {
  margin-right: 0;
}

.header-top .social a:hover, .header-top .social a:focus, .header-top .social a:active {
  text-decoration: none;
  color: white !important;
}

.header-top .social a:hover i, .header-top .social a:focus i, .header-top .social a:active i {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}

@media screen and (max-width: 768px) {
  .header-top .social {
    text-align: center !important;
  }
}

.cover,
.hero {
  background-position: center;
  position: relative;
  height: calc(100vh - 70px);
  width: 100%;
}

@media screen and (max-width: 768px) {
  .cover,
  .hero {
    height: calc(100vh - 115px);
  }
}

.cover-overlay {
  z-index: 1;
}

.cover-fixed {
  background-attachment: fixed;
}

@media screen and (max-width: 768px) {
  .cover-fixed {
    background-attachment: scroll;
  }
}

.cover {
  background-size: cover;
  position: relative;
}

@media screen and (max-width: 768px) {
  .cover {
    height: calc(100vh - 115px);
  }
}

.display-t {
  display: table;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 2;
}

.display-tc {
  display: table-cell;
  vertical-align: middle;
}

.display-tc h1 {
  color: #fff;
  line-height: 1.1em;
}

.cover-short,
.cover-short-wrapper {
  position: relative;
  height: 300px;
}

@media screen and (max-width: 1200px) {
  .cover-short,
  .cover-short-wrapper {
    height: 250px;
  }
}

@media screen and (max-width: 768px) {
  .cover-short,
  .cover-short-wrapper {
    height: 200px;
  }
}

.cover-short .display-tc,
.cover-short-wrapper .display-tc {
  display: table-cell;
  vertical-align: middle;
}

.spacer {
  height: 100px;
}

@media screen and (max-width: 768px) {
  .spacer {
    height: 0;
  }
}

#primary-menu ul {
  margin: 10px 0 0 0;
  padding: 0;
  list-style: none;
}

#primary-menu ul ul {
  position: absolute;
  display: none;
  top: 100%;
  right: 0;
  z-index: 99;
}

#primary-menu ul li {
  position: relative;
  float: left;
}

#primary-menu ul li + li {
  background: url(images/divide.png) no-repeat left;
}

#primary-menu ul li:hover > ul {
  display: block;
}

#primary-menu ul a {
  position: relative;
  color: #6f6f6f;
  padding: 0.75em 0.75em;
  font-size: 18px;
  line-height: 18px;
}

@media screen and (max-width: 992px) {
  #primary-menu ul a {
    font-size: 16px;
  }
}

#primary-menu ul a:hover, #primary-menu ul a:focus {
  color: #d50951;
}

#primary-menu li.current_page_item a {
  color: #d50951;
}

@media (hover) {
  #primary-menu a:before {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 10px;
    left: 0;
    background-color: #999;
    visibility: hidden;
    transition: all 0.16s ease-in-out;
    margin-left: 15px;
  }
  #primary-menu a:hover:before {
    visibility: visible;
    width: 25%;
  }
}

#header-section {
  padding: 0;
  position: relative;
  left: 0;
  width: 100%;
  z-index: 1022;
  background: #fff;
}

.nav-header {
  position: relative;
  float: left;
  width: 100%;
}

#logo {
  position: relative;
  height: 130px;
  float: right;
  padding: 5px 0;
  transition: 0.3s;
}

@media screen and (max-width: 992px) {
  #logo {
    height: 100px;
  }
}

@media screen and (max-width: 768px) {
  #logo {
    width: 100%;
    height: 115px;
    padding: 5px 0;
    text-align: right;
  }
}

#logo #image_no_strap {
  display: none;
  height: 100%;
}

.logo-scrolled {
  height: 70px !important;
  padding-bottom: 0 !important;
}

.logo-scrolled #image_with_strap {
  display: none !important;
}

.logo-scrolled #image_no_strap {
  display: block !important;
}

#logo img {
  max-height: 100%;
  max-width: 100%;
}

#menu-wrap {
  position: relative;
  z-index: 2;
  display: block;
  float: left;
  margin-top: 75px;
  transition: 0.3s;
}

@media screen and (max-width: 992px) {
  #menu-wrap {
    margin-top: 40px;
  }
}

.menu-wrap-scrolled {
  margin-top: 12px !important;
}

h3 {
  font-size: 30px;
}

h2 {
  font-size: 60px;
  color: #fff;
  margin: 0;
}

.content-section {
  padding: 4em 0;
}

.well {
  border-width: 0;
  box-shadow: none;
  /*background-color: #fdfdfd;  bbb*/
  background-color: #bbabab;
	color:#fff;
}
.well h3 {
	color:#fff;
}
.well p a {
    color:#fff;
    text-decoration:underline;
}

.more-info-image-wrapper {
  overflow: hidden;
  position: relative;
}

.more-info-image {
  transition: all 2.5s ease 0s;
  overflow: hidden;
}

.more-info-zoom {
  transform: scale(1.05);
}

#activities {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.main-activity {
  background-color: #fff;
  padding:2px;
  font-family: "DIN Light Regular";
}

.main-activity .activity-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  height: 300px;
}

/*@media screen and (max-width: 992px) {
  .main-activity .activity-bg {
    height: 200px;
  }
}

@media screen and (max-width: 768px) {
  .main-activity .activity-bg {
    height: 180px;
  }
}*/

.main-activity h3 {
    color: #fff;
    margin: 0;
}

.main-activity .overlay {
  background: rgba(0, 0, 0, 0.3);
}

.main-activity .more-info-zoom + .overlay {
  background: rgba(0, 0, 0, 0.1);
}

.main-activity .main-activity-desc {
  position: absolute;
  padding: 15px;
  bottom: 0;
}

#gallery h3 {
  text-align: center;
}

.gallery-image {
  padding: 2px;
}

.gallery-image .gallery-image-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  height: 380px;
}

@media screen and (max-width: 1200px) {
  .gallery-image .gallery-image-bg {
    height: 320px;
  }
}

@media screen and (max-width: 992px) {
  .gallery-image .gallery-image-bg {
    height: 250px;
  }
}

@media screen and (max-width: 767px) {
  .gallery-image .gallery-image-bg {
    height: 400px;
  }
}

.gallery-image .desc {
  position: absolute;
  bottom: 0;
  padding: 15px;
  transition: all 0.3s ease 0s;
  display: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gallery-image .desc .gallery-name {
  font-family: "DIN Light Regular";
  color: #fff;
  font-size: 1.2em;
}

.gallery-image .desc .gallery-link {
  color: #fff;
}

.lazy {
  background-image: none !important;
  background-color: #6f6f6f;
}

.full-image img {
  width: 100%;
  height: auto;
}

#map {
  height: 400px;
  margin: 0 0 20px;
}

#footer {
  background: #d50951;
  padding: 2em 0 1em 0;
}

#footer .footer-section {
  padding-bottom: 15px;
}

#footer a {
  color: white;
}

#footer a:hover, #footer a:active, #footer a:focus {
  color: rgba(255, 255, 255, 0.7);
}

#footer p {
  margin-bottom: 0;
  color: #fff;
}

#footer .bolder {
  font-weight: 500;
  font-size: 1.1em;
}

#footer .footer-small p {
  font-size: 0.8em !important;
}

.btn {
  text-transform: uppercase;
  letter-spacing: 2px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  background: #6f6f6f;
  color: #fff;
  border: 1px solid transparent;
}

.btn:hover, .btn:active, .btn:focus {
  background: #d50951 !important;
  color: #fff !important;
  outline: none !important;
}

.btn-primary {
  background: #d50951;
  color: #fff;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary:disabled {
  background: #6f6f6f !important;
  color: #fff !important;
  outline: none !important;
}

.footer-section .btn {
  border-color: #fff;
}

.js .animate-box {
  opacity: 0;
}

.show {
  display: block;
}

#wrapper {
  overflow-x: hidden;
  position: relative;
}

.offcanvas {
  overflow: hidden;
}

.offcanvas #wrapper {
  overflow: hidden !important;
}

#page {
  position: relative;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.offcanvas #page {
  -moz-transform: translateX(calc(100vw));
  -webkit-transform: translateX(calc(100vw));
  -ms-transform: translateX(calc(100vw));
  -o-transform: translateX(calc(100vw));
  transform: translateX(calc(100vw));
}

.form-control {
  font-size: 16px !important;
}

.form-control:focus {
  border-color: #ccc;
  -webkit-box-shadow: 0 0 8px rgba(213, 9, 81, 0.2);
  box-shadow: 0 0 8px rgba(213, 9, 81, 0.2);
}

.form-inline .form-group {
  width: 100% !important;
  margin-bottom: 10px;
}

.form-inline .form-group .form-control {
  width: 100%;
  padding: 27px 20px !important;
}

@keyframes anim-rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.spinner {
  display: inline-block;
  animation: anim-rotate 2s infinite linear;
  letter-spacing: 0 !important;
}

#contact_form_results {
  text-align: center;
}

#contact_form_results .contact_form_error {
  color: red;
}

@media screen and (max-width: 768px) {
  #menu-wrap {
    display: none;
  }
}

#offcanvas-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 99;
  background: #fff;
  left: -100%;
  width: 100%;
  overflow-y: hidden !important;
  display: none;
}

@media screen and (max-width: 768px) {
  #offcanvas-menu {
    display: block;
  }
}

#offcanvas-menu ul {
  padding: 0;
  margin: 0;
}

#offcanvas-menu ul li {
  padding: 0;
  padding: 20px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  list-style: none;
}

#offcanvas-menu ul li a {
  font-size: 22px;
  color: #6f6f6f;
}

#offcanvas-menu ul li a:hover {
  color: #d50951;
}

#offcanvas-menu ul li > .sub-menu {
  margin-top: 9px;
  padding-left: 20px;
}

#offcanvas-menu ul li.current_page_item > a {
  color: #d50951;
}

#offcanvas-menu ul .sub-menu {
  display: block !important;
}

h3.staff-name {
  margin-bottom: 5px;
}

.staff-title {
  font-weight: 500;
  color: #d50951;
  font-size: 1em;
  margin-bottom: 30px;
}

.staff-quals {
  font-weight: 500;
  font-size: 0.6em;
  padding-left: 10px;
}

.nav-toggle {
  cursor: pointer;
  text-decoration: none;
}

.nav-toggle:hover, .nav-toggle:focus, .nav-toggle:active {
  outline: none;
  border-bottom: none !important;
}

.nav-toggle i {
  position: relative;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
  width: 30px;
  height: 2px;
  color: #6f6f6f;
  font: bold 14px/0.4 Helvetica;
  text-transform: uppercase;
  text-indent: -55px;
  background: #6f6f6f;
  transition: all 0.2s ease-out;
}

.nav-toggle i::before, .nav-toggle i::after {
  content: "";
  width: 30px;
  height: 2px;
  background: #6f6f6f;
  position: absolute;
  left: 0;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.nav-toggle i::before {
  top: -7px;
}

.nav-toggle i::after {
  bottom: -7px;
}

.nav-toggle:hover i::before {
  top: -10px;
}

.nav-toggle:hover i::after {
  bottom: -10px;
}

.nav-toggle.active i {
  background: transparent;
}

.nav-toggle.active i::before {
  top: 0;
  -webkit-transform: rotateZ(45deg);
  -moz-transform: rotateZ(45deg);
  -ms-transform: rotateZ(45deg);
  -o-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

.nav-toggle.active i::after {
  bottom: 0;
  -webkit-transform: rotateZ(-45deg);
  -moz-transform: rotateZ(-45deg);
  -ms-transform: rotateZ(-45deg);
  -o-transform: rotateZ(-45deg);
  transform: rotateZ(-45deg);
}

.nav-toggle {
  position: absolute;
  top: 40px;
  left: 0px;
  z-index: 9999;
  display: block;
  margin: 0 auto;
  display: none;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
}

@media screen and (max-width: 480px) {
  .col-xxs-12 {
    float: none;
    width: 100%;
  }
}

.row-bottom-padded-lg {
  padding-bottom: 7em;
}

@media screen and (max-width: 768px) {
  .row-bottom-padded-lg {
    padding-bottom: 2em;
  }
}

.row-top-padded-lg {
  padding-top: 7em;
}

@media screen and (max-width: 768px) {
  .row-top-padded-lg {
    padding-top: 2em;
  }
}

.row-bottom-padded-md {
  padding-bottom: 4em;
}

@media screen and (max-width: 768px) {
  .row-bottom-padded-md {
    padding-bottom: 2em;
  }
}

.row-top-padded-md {
  padding-top: 4em;
}

@media screen and (max-width: 768px) {
  .row-top-padded-md {
    padding-top: 2em;
  }
}

.row-bottom-padded-sm {
  padding-bottom: 2em;
}

@media screen and (max-width: 768px) {
  .row-bottom-padded-sm {
    padding-bottom: 2em;
  }
}

.row-top-padded-sm {
  padding-top: 2em;
}

@media screen and (max-width: 768px) {
  .row-top-padded-sm {
    padding-top: 2em;
  }
}

.nopadding {
  padding: 0 !important;
  margin: 0 !important;
}

.padding {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.border-bottom {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

@keyframes imageAnimation { 
  0% { opacity: 0; animation-timing-function: ease-in; }
  11.11% { opacity: 1; animation-timing-function: ease-out; }
  33.33% { opacity: 1 }
  44.44% { opacity: 0 }
  100% { opacity: 0 }
}
.slideshow li {
  list-style-type: none;
}
.slideshow li div {     
  position: absolute;
  top: 0px;
  left: 0px;
  color: transparent;
  background-size: cover;    
  opacity: 0;
  z-index: 0;
  animation: imageAnimation 18s linear infinite 0s; 
}

.slideshow li:nth-child(2) div {   
  animation-delay: 6s; 
}
.slideshow li:nth-child(3) div {   
  animation-delay: 12s; 
}