/*
Theme name: WPP
Description: Custom Theme
*/

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
	background:white;
	font-family: 'Montserrat', sans-serif;
  font-weight: 400;
	font-size: 14px;
	margin:0;
	color: #535151;
  position: relative;
  letter-spacing: .05em;
  line-height: 1.2;
	-moz-osx-font-smoothing:grayscale;
	-webkit-font-smoothing:antialiased;
}

.cf:after { 
	content:"";
	display:table;
	clear:both;
}

.wc{
	width:100%;
	max-width: 1200px;
	min-width:320px;
  padding: 0 40px;
	margin:0 auto;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}


.wc > :not(.btn):last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.block {
  padding-top: 103px;
  padding-bottom: 103px;
}

.home .block h2 {
  font-size: 33px;
  padding-bottom: 25px;
}

.center{
  text-align: center;
}

p, h1, h2, h3, h4, h5, ul{
	margin:0;
}

h1, h2, h3, h4, h5 {
  font-family: 'Merriweather', sans-serif;
  font-weight: 300;
  font-style: italic;
  color: #34201c;
  letter-spacing: .025em;
}

h1 {
  font-size: 26px;
  padding-bottom: 46px;
}

h2 {
  font-size: 26px;
  padding-bottom: 46px;
}

h3 {
  font-size: 18px;
  padding-bottom: 10px;
}

p{
	line-height: 1.77;
	padding-bottom:16px;
  letter-spacing: normal;
}

a, a:focus{
   outline: 0;
}

a{
  color: #576ff7;
	font-weight:bold;
  text-decoration: none;
	transition:.3s color, .3s background;
	-webkit-transition:.3s color, .3s background;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent; /* For some Androids */
}

a:hover {
  color:#4153c0;
}

.btn {
  background: #e8d66f;
  display: inline-block;
  padding: 23px 40px;
  color: black;
  letter-spacing: .05em;
  margin: 4px 0;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  border: 0;
  transition: .3s background, .3s color;
}

.btn:hover {
  color: black;
  background: #e6c920;
}

.btn + .btn {
  margin-left: 10px;
}

.btn-secondary {
  border: 2px solid #e8d66f;
  background: white;
  padding: 21px 40px;
}

.btn-secondary:hover {
  background: #f0e9c4;
}


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

input{
  outline:none;
}

/*header styles*/

.top-header {
  height: 50px;
  background: #34201c;
  padding-top: 16px;
  font-weight: 600;
}

.top-header .get-in-touch {
  float: left;
  color: white;
}

.top-header .get-in-touch p{
  font-size: 11px;
  color: white;
  padding-bottom: 0;
}

.top-header .get-in-touch a {
  color: #e8d66f;
  padding-right: 13px;
}

.top-header .get-in-touch a:hover {
  color: #f1eccf;
}

.get-in-touch-mobile {
  float: left;
  display: none;
  position: relative;
  top: -2px;
}

.get-in-touch-mobile p a {
  color: #e8d66f;
  margin-right: 10px;
}

.top-header-right{
  float: right;
}

.lang-toggle {
  list-style-type: none;
  padding-left: 0;
  margin-top: 1px;
}

.lang-toggle a {
  font-size: 11px;
  color: #e8d66f;
}

.lang-toggle a:hover {
  color: #f1eccf;
}

.bottom-header {
  padding: 30px 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 50px;
  z-index: 99;
}

.logo{
  display: block;
  color: white;
  font-size: 20px;
  font-weight: 600;
  float: left;
  text-transform: uppercase;
}

.logo:hover {
  color: #ededed;
}

.logo span{
  font-size: 14px;
  font-weight: 400;
  display: block;
  margin-top: 4px;
}

.bottom-header-right {
  float: right;
  margin-top: 6px;
}

.main-nav{
  float: left;
}

.main-nav ul{
  padding: 0;
}

.main-nav li {
  display: inline-block;
  padding-left: 0;
  padding-right: 20px;
  position: relative;
}

.main-nav li:last-of-type {
  padding-right: 0;
}

.main-nav li a{
  color: white;
  font-size: 12px;
  text-transform: uppercase;
}

.main-nav li a:hover, .main-nav li.current-menu-item > a{
  color: #e8d66f;
}

.main-nav .menu-item-has-children > a:after {
  content: '\f107';
  font-family: 'FontAwesome';
  font-size: 14px;
  padding-left: 4px;
} 

.main-nav .sub-menu {
  list-style-type: none;
  padding-left: 0;
  position: absolute;
  top: 100%;
  left: -15px;
  background: black;
  border-radius: 4px;
  width: 170px;
  margin-top: 25px;
  opacity: 0;
  visibility: hidden;
  transition: .3s margin, .3s opacity, 0s visibility .3s;
}

.main-nav li:hover > .sub-menu{
  visibility: visible;
  margin-top: 15px;
  opacity: 1;
  transition-delay: 0s;
}

.main-nav .sub-menu:before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}

.main-nav .sub-menu:after {
  content: '';
  position: absolute;
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid black;
  left: 15px;
  bottom: 100%;
}

.main-nav .sub-menu li {
  display: block;
  padding: 0;
}

.main-nav .sub-menu li a {
  display: block;
  padding: 13px 15px 11px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.main-nav .sub-menu > li:last-of-type a {
  border-bottom: 0;
}

.main-nav .drop-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  padding: 15px;
  color: white;
  cursor: pointer;
  transition: .3s color;
}

.main-nav .drop-toggle.is-active {
  transform: rotate(180deg);
}

.nav-icon {
  display: none;
  float: right;
  width: 28px;
  height: 16px;
  position: relative;
  margin-top: 2px;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
  z-index: 10;
  margin-top: 15px;
}

.nav-icon:before {
  content: 'MENU';
  position: absolute;
  right: calc(100% + 10px);
  top: -1px;
  color: white;
  font-size: 14px;
}

.nav-icon span {
  display: block;
  position: absolute;
  height: 1px;
  width: 100%;
  background: #a7a7a7;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .3s ease-in-out; 
}
    
.nav-icon span:nth-child(1) {
  top: 0px;
  transform-origin: left center; 
}

.nav-icon span:nth-child(2) {
  top: 6px;
  transform-origin: left center;
}

.nav-icon span:nth-child(3) {
  top: 12px;
  transform-origin: left center; 
}

.nav-icon.open span:nth-child(1) {
  transform: rotate(45deg);
  top: -4px;
  left: 5px; 
}

.nav-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.nav-icon.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 16px;
  left: 5px;
}

.social-list{
  list-style: none;
  float: left;
  margin-left: 23px;
  padding-left: 23px;
  position: relative;
}

.social-list:before {
  content: '';
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: 0;
  width: 1px;
  background: rgba(255,255,255,.2);
}

.social-list li {
  display: inline-block;
  padding-right: 11px;
}

.social-list li:last-of-type {
  padding-right: 0;
}

.social-list a {
  color: white;
  font-size: 15px;
}

.social-list a:hover {
  color: #e8d66f;
}

/*French header style adjustments
*/

html[lang="fr-CA"] .logo {
  max-width: 375px;
}




/*Banner section*/

.banner-block {
  background: url('imgs/banner.jpg') center center / cover;
  padding: 275px 0;
  position: relative;
  display: block;
  max-height: 890px;
}

.banner-block h1 {
  color: white;
  font-size: 42px;
  max-width: 600px;
  padding: 0 0 30px 0;
  text-align: left;
  line-height: 1.25;
}

.banner-content{
  max-width: 600px;
  color: white;
  opacity: 0;
  position: relative;
  top: -20px;
  transition: 1s opacity, 1s top;
}

.banner-content .btn {
  position: relative;
  top: 10px;
  opacity: 0;
  transition: 1s opacity .4s, 1s top .4s, .3s color, .3s background;
}

.is-loaded .banner-content, .is-loaded .banner-content .btn {
  top: 0;
  opacity: 1;
}


/* about block */


.about-block .wc {
  background: url('imgs/bee-bg.jpg') no-repeat 98% center;
}

.about-block .about-content{
  float: left;
  max-width: 600px;
}

/* quote block */

.quote-block{
  background: url(imgs/quote1.jpg) center center / cover;
  padding: 175px 0;
}

.quote-block p{
  font-family: 'Merriweather', sans-serif;
  color: white;
  font-size: 28px;
  padding: 0;
  line-height: 1.2;
  text-shadow: 0 2px 2px rgba(0,0,0,.5);
}

.quote-block p span{
  color: #e8d66f;
  font-size: 13px;
  display: block;
  padding-top: 15px;
}

/* activity block */

.activities-block .wc{
  position: relative;
}

.activities-block h2 {
  border-bottom: 1px solid #ececec;
  margin-bottom: 30px;
}

.view-all{
  font-size: 12px;
  position: absolute;
  top: 22px;
  right: 40px;
  text-transform: uppercase;
}

.view-all:before {
  content: '';
  position: absolute;
  height: 15px;
  width: 15px;
  color: black;
  background: #e8d66f url('imgs/plus-icon.png') no-repeat center center / 5px 5px;
  border-radius: 50%;
  display: block;
  left: -25px;
  top: 0;
  text-align: center;
  transition: .3s background;
}

.view-all:hover:before {
  background-color: #e6c920;
}

.event-items {
  margin-bottom: -30px !important;
  overflow: hidden;
}

.event-item{
  margin-bottom: 30px;
}

@media screen and (min-width: 750px) {

  .event-item{
    float: left;
    width: calc((99.99% - 60px) / 3);
    margin-right: 30px;
  }

  .event-item:nth-of-type(3n) {
    margin-right: 0;
  }

  .event-item:nth-of-type(3n + 1) {
    clear: left;
  }

  .home .event-item:nth-of-type(4) {
    display: none;
  }

}

@media screen and (max-width: 749px) and (min-width: 500px) {

  .event-item{
    float: left;
    width: calc((99.99% - 30px) / 2);
    margin-right: 30px;
  }

  .event-item:nth-of-type(2n) {
    margin-right: 0;
  }

  .event-item:nth-of-type(2n + 1) {
    clear: left;
  }

  .home .event-item:nth-of-type(4) {
    display: block;
  }

}


.event-item img {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

.event-item h3 {
  font-size: 20px;
  padding-bottom: 5px;
}

.event-item h3 a {
  color: #34201c;
}

.event-item .date {
  color: #7c7a7a;
  font-size: 13px;
  display: inline-block;
  padding-bottom: 13px;
}

.event-item .read-more {
  font-size: 13px;
}

/* news block */

.news-block{
  background: #f6f6f6;
}

.news-block .wc{
  position: relative;
}

.news-block h2 {
  border-bottom: 1px solid #e1dede;
  margin-bottom: 30px;
}

.news-items {
  margin-bottom: -30px !important;
  overflow: hidden;
}

.news-item{
  margin-bottom: 30px;
}

@media screen and (min-width: 750px) {

  .home .news-item{
    float: left;
    width: calc((99.99% - 60px) / 3);
    margin-right: 30px;
  }

  .home .news-item:nth-of-type(3n) {
    margin-right: 0;
  }

  .home .news-item:nth-of-type(3n + 1) {
    clear: left;
  }

  .home .news-item:nth-of-type(4) {
    display: none;
  }

  .news-item{
    float: left;
    width: calc((99.99% - 30px) / 2);
    margin-right: 30px;
  }

  body:not(.home) .news-item:nth-of-type(2n) {
    margin-right: 0;
  }

  body:not(.home) .news-item:nth-of-type(2n + 1) {
    clear: left;
  }


}

@media screen and (max-width: 749px) and (min-width: 500px) {

  .news-item{
    float: left;
    width: calc((99.99% - 30px) / 2);
    margin-right: 30px;
  }

  .news-item:nth-of-type(2n) {
    margin-right: 0;
  }

  .news-item:nth-of-type(2n + 1) {
    clear: left;
  }

  .home .news-item:nth-of-type(4) {
    display: block;
  }

}


.news-title {
  display: block;
  position: relative;
  margin-bottom: 20px;
  text-align: center;
}

.news-title:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,.6);
  z-index: 1;
  transition: .3s background;
}

.news-title:hover:after {
  background: rgba(0,0,0,.75);
}

.news-title h3 {
  color: white;
  font-size: 20px;
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  padding: 0 20px;
  margin-right: -50%;
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.news-item img {
  display: block;
  width: 100%;
}

.news-item .date {
  color: #7c7a7a;
  font-size: 13px;
  display: inline-block;
  padding-bottom: 13px;
}

.news-item .read-more {
  font-size: 13px;
}

/* main footer styles */

.main-footer {
  background: #34201c;
}

.footer-cols {
  overflow: hidden;
  margin-bottom: -30px !important;
}

.footer-col{
  float: left;
  width: calc((99.99% - 135px) / 4);
  margin-right: 45px;
  margin-bottom: 30px;
  color: white;
  font-size: 14px;
}

.footer-col:nth-of-type(4n){
  margin-right: 0;
}

.footer-col:nth-of-type(4n+1){
  clear: left;
}

.footer-col :last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

.footer-col h5{
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 600;
  color: white;
  font-size: 16px;
  margin-bottom: 35px;
  margin-top: 11px;
  border-bottom: 1px solid #4d3b38;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.footer-col p {
  color: #9e9fa1;
  font-size: 12px;
}

.footer-col a {
  color: #687efd;
}

.footer-col a:hover {
  color: #8f9ffc;
}

.footer-col ul{
  list-style-type: none;
  padding-left: 0;
}

.footer-col ul li {
  font-size: 12px;
  line-height: 1.77;
  padding-bottom: 5px;
}

.footer-col ul li a {
  color: #9e9fa1;
}

.footer-col ul li a:hover {
  color: #c8c8c8;
}

.footer-col .post-date {
  font-style: italic;
  display: block;
  font-size: 11px;
}

.bottom-footer{
  background: black;
  padding: 20px 0;
}

.bottom-footer p{
  padding-bottom: 0;
  color: #616161;
  font-weight: 600;
  font-size: 12px;
}

.page-banner {
  height: 105px;
}

html[lang="fr-CA"] .page-banner {
  height: 126px;
}

.page-title {
  background: #f6f6f6;
  padding: 50px 0;
  border-bottom:1px solid  #ddd;
}

.page-title h1 {
  font-size: 33px;
  padding: 0;
}

.main-content hr {
  height: 1px;
  display: block;
  background: #ececec;
  padding: 0;
  margin: 10px 0 25px;
  width: 100%;
  border: 0;
}

.main-content h2 {
  font-size: 25px;
  padding-bottom: 16px;
}

.main-content h3 {
  font-size: 23px;
  padding-bottom: 16px;
}

.main-content h4 {
  font-size: 20px;
  padding-bottom: 16px;
}

.main-content h5 {
  font-size: 18px;
  padding-bottom: 16px;
}

.main-content * + h2, .main-content * + h3, .main-content * + h4, .main-content * + h5 {
  padding-top: 15px;
}

.main-content ol, .main-content ul {
  padding-bottom: 16px;
}

.main-content li {
  line-height: 1.77;
  letter-spacing: normal;
  padding-bottom: 5px;
}

.main-content img {
  margin: 5px auto 20px;
}

.main-content .aligncenter {
  display: block;
  margin: 0 auto;
}

.main-content .alignleft {
  float: left;
  margin-right: 30px;
}

.main-content .alignright {
  float: right;
  margin-left: 30px;
}

.main-content .wp-caption {
  padding-bottom: 16px;
  display: inline-block;
}

.main-content .wp-caption img {
  margin-bottom: 5px;
}

.main-content .wp-caption-text {
  font-size: .9em;
  text-align: center;
}

.share-btns {
  border: 1px solid #ececec;
  padding: 15px 20px;
  list-style-type: none;
  background: #e8d66f;
  display: inline-block;
  margin-top: 4px;
}

.share-btns p {
  display: inline-block;
  color: #34201c;
  padding-bottom: 0;
}

.share-btns li {
  display: inline-block;
  padding: 0 0 0 8px;
}

.share-btns li a {
  color: #34201c;
}

.share-btns li a:hover {
  color: #695a57;
}

.garden-map {
  height: 250px;
  border-bottom: 1px solid #ddd;
}

.garden-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #ececec;
}

.garden-item > :last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

.garden-item .info-address {
  margin-top: -13px;
  font-style: italic;
}

.garden-item .show-map {
  text-transform: uppercase;
  font-size: 11px;
  padding-left: 5px;
  font-style: normal;
}


.main-content .sidebar {
  float: right;
  width: 300px;
  border-left: 1px solid #ececec;
  padding-left: 40px;
  margin-left: 40px;
}

.main-content .content-container {
  float: left;
  width: calc(99.99% - 340px);
  overflow: hidden;
}

.main-content .widget {
  padding-bottom: 10px;
}

.main-content .widget h5 {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 35px;
  margin-top: 11px;
  border-bottom: 1px solid #ececec;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.main-content .widget ul {
  list-style-type: none;
  padding-left: 0;
}

.main-content .widget .post-date {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.main-content .gallery {
  overflow:  hidden;
}

.main-content * + .gallery {
  padding-top: 17px;
}

.main-content .gallery-item  {
  float: left;
  width: calc((99.99% - 60px) / 3);
  margin: 0 30px 30px 0;
  transition: .3s opacity;
}

.main-content .gallery-item:nth-of-type(3n) {
    margin-right: 0;
}

.main-content .gallery-item:nth-of-type(3n + 1) {
  clear: left;
}

.main-content .gallery-item:hover {
  opacity: .7;
}

.main-content table {
  margin-top: 4px;
  margin-bottom: 30px;
}

.main-content td {
  padding: 13px 10px;
  border: 1px solid #ececec;
}

.searchform {
  overflow: hidden;
  margin-bottom: 16px;
}

.searchform label {
  display: none;
}

.searchform input[type="text"] {
  display: block;
  width: 100%;
  border: 1px solid #ddd;
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
  height: 40px;
  line-height: 40px;
  padding: 0 10px;
  float: left;
  width: calc(99.99% - 40px);
}

.searchform input[type="submit"] {
  width: 40px;
  display: block;
  float: left;
  height: 40px;
  font-size: 0;
  background: #e8d66f url('imgs/search-icon.png') no-repeat center center / 18px 18px;
  border: 0;
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
  transition: .3s background;
}

.searchform input[type="submit"]:hover {
  background-color: #e6c920;
}

.subscribe p {
  padding-bottom: 0;
}

.subscribe input[type="submit"] {
  background: #e8d66f;
  display: inline-block;
  padding: 15px 20px;
  border-radius: 3px;
  color: black;
  letter-spacing: .05em;
  margin: -20px 0 20px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  border: 0;
  transition: .3s background, .3s color;
}

.subscribe input[type="submit"]:hover {
  color: black;
  background: #e6c920;
}

.widget .tagcloud {
  padding-bottom: 16px;
}

.widget .tag-cloud-link {
  background: #ececec;
  padding: 3px 6px;
  display: inline-block;
  margin-right: 3px;
  border-radius: 3px;
  text-transform: uppercase;
  color: black;
  margin-bottom: 6px;
}

.pagination {
  padding: 40px 0 0;
  display: block;
  border-top: 1px solid #ececec;
  margin-top: 40px;
}

.pagination span, .pagination a {
  padding-right: 5px;
}

.page-template-activities .page-title .wc, .page-template-past-activities .page-title .wc{
  position: relative;
}

.page-template-activities .page-title .view-all,  .page-template-past-activities .page-title .view-all{
  top: 15px;
}

/*form styles*/

.wpcf7-form p {
  padding: 0;
}

input[type="text"], input[type="tel"], input[type="email"]{
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 15px !important;
  height: 45px;
  line-height: 45px;
  display: block;
  width: 100%;
  margin-bottom: 17px;
  max-width: 400px;
}

select {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 15px;
  height: 45px;
  line-height: 45px;
  display: block;
  width: 100% !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: '';
  background: white url("imgs/select-arrow.png") no-repeat 97% center / 10px 6px;
  margin-bottom: 17px;
  max-width: 400px;
}

select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000; 
}

select::-ms-expand {
  display: none; 
}

textarea {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  height: 150px;
  display: block;
  width: 100%;
  margin-bottom: 17px;
}

.wpcf7-form-control.wpcf7-radio,
.wpcf7-form-control.wpcf7-checkbox {
    padding-top: 4px;
}

.wpcf7-radio input,
.wpcf7-checkbox input {
  display: none;
}

.wpcf7-form-control:not(.btn) {
  padding-bottom: 9px;
  display: block;
}

.wpcf7-radio .wpcf7-list-item-label,
.wpcf7-checkbox .wpcf7-list-item-label {
  padding-left: 32px;
  position: relative;
  cursor: pointer;
 /* margin: 0 15px 8px 0;*/
  display: inline-block;
}

span.wpcf7-list-item {
  margin: 0 15px 8px 0;
}

.wpcf7-radio .wpcf7-list-item-label:before,
.wpcf7-checkbox .wpcf7-list-item-label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid #ddd;
  background: white url('imgs/checkbox.svg') no-repeat top center / 0 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.02);
  transition: .3s background, .3s border;
}

.wpcf7-radio input:checked + .wpcf7-list-item-label:before,
.wpcf7-checkbox input:checked + .wpcf7-list-item-label:before {
  background: #576ff7 url('imgs/checkbox.svg') no-repeat center center / 9px 7px;
  border: 0;
}


input[type="file"]{
  border: 1px dashed #ddd;
  background: white;
  padding: 15px;
  width: 100%;
  display: block;
  margin: 2px 0 17px 0;
}

/*form validation*/

.wpcf7-form-control-wrap {
  position: relative;
  display: block;
}

.wpcf7-not-valid-tip {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  width: 200px;
  background: white;
  text-align: center;
  padding: 5px;
  box-sizing:border-box;
  z-index: 9;
  border: 1px solid #e5e2e2;
  border-radius: 3px;
  font-size: 12px;
  box-shadow: 1px 1px 3px rgba(0,0,0,.1);
  transition-delay: 0s;
  white-space: normal;
  pointer-events: none;
  font-size: 15px !important;
}

.wpcf7-not-valid-tip:after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 10px;
  width: 0; 
  height: 0; 
  border-left: 8px solid transparent;
  border-right: 8px solid transparent; 
  border-bottom: 8px solid white;
}

.wpcf7-not-valid-tip:before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 8px;
  width: 0; 
  height: 0; 
  border-left: 10px solid transparent;
  border-right: 10px solid transparent; 
  border-bottom: 10px solid #e5e2e2;
}

.wpcf7-not-valid-tip.hide-me {
  opacity: 0;
  visibility: hidden;
  transition: .3s opacity, 0s visibility .3s;
}

.wpcf7-not-valid {
  border: 1px solid red !important
}


div.wpcf7-validation-errors {
  border: 0;
  color: red;
}

div.wpcf7-response-output {
  margin-top: 10px;
  margin: 10px 0 0;
  padding: 0;
}

div.wpcf7-mail-sent-ok {
  border: 0;
}

/*comment styling*/

.comments {
    border-top: 1px solid #ececec;
    padding-top: 20px;
    margin-top: 37px;
}

.comments input, .comments textarea {
  margin-bottom: 0;
}

.comments input[type="submit"] {
  background: #e8d66f;
  display: inline-block;
  padding: 23px 40px;
  color: black;
  letter-spacing: .05em;
  margin: 4px 0;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  border: 0;
  transition: .3s background, .3s color;
}

.comments input[type="submit"]:hover {
  color: black;
  background: #e6c920;
}

.main-content .commentlist {
  list-style-type: none;
  padding-left: 0;

}

.main-content .commentlist ol{
  padding-left: 20px;
}

.main-content .commentlist li {
  padding-bottom: 15px;
}

.main-content .commentlist .avatar {
  margin: 0;
  border-radius: 50%;
}

.main-content .comment-meta {
  color: #8c8a8a;
  font-size: .9em;
}

.main-content .comment-meta a {
  font-weight: 400;
  color: inherit;
}

.main-content .commentlist p {
  padding-bottom: 10px;
}




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

  .banner-block {
    padding: 189px 0 150px;
  }

  .block {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .page-title {
    padding: 45px 0;
  }

  .home .block h2, .page-title h1 {
    font-size: 30px;
  }

}

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

  .logo {
    font-size: 18px;
  }

  html[lang="fr-CA"] .logo {
    max-width: 288px;
  }

  .logo span {
    font-size: 12px;
  }

  .bottom-header-right {
    margin-top: 4px;
  }

  .main-nav li {
    padding-right: 10px;
  }

  .social-list li {
    padding-right: 8px;
  }

  .page-banner {
    height: 100px;
  }

  html[lang="fr-CA"] .page-banner {
    height: 118px;
  }


}


@media screen and (min-width: 1051px) {

  .main-nav .sub-menu {
    display: block !important;
  }
}

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

  .nav-icon {
    display: block;
  }

  html[lang="fr-CA"] .nav-icon {
    margin-top: 23px;
  }

  .bottom-header-right {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top:100px;
    right: 0;
    width: 200px;
    background: rgba(0,0,0,.75);
    height: calc(100vh - 100px);
    transition: .3s height, .3s top, .3s opacity, .3s transform, 0s visibility .3s;
    transform: translateX(-15px);
    overflow-y: auto;
    margin-top: 0;
  }

  html[lang="fr-CA"] .bottom-header-right {
    top: 118px;
    height: calc(100vh - 118px);
  }

  .mobile-nav-is-active .bottom-header-right {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
    transform: none;
  }

  .main-nav {
    float: none;
    width: 100%;
    margin: 0;
  }

   .main-nav li {
    display: block;
    padding: 0;
  }

  .main-nav a {
    display: block;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 15px;
  }

  .main-nav .sub-menu > li:last-of-type a {
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .main-nav .menu-item-has-children > a:after {
    display: none;
  }

  .main-nav .sub-menu {
    opacity: 1;
    position: static;
    visibility: visible;
    margin-top: 0 !important;
    display: none;
    width: 100%;
  }

  .main-nav .sub-menu:before, .main-nav .sub-menu:after {
    display: none;
  }

  .main-nav .drop-toggle {
    display: block;
  }

  .bottom-header-right .social-list {
    padding: 20px;
    margin: 0;
    float: none;
  }

  .bottom-header-right .social-list:before {
    display: none;
  }

  .main-content .content-container {
    display: block;
    margin: 0;
    width: 100%;
    float: none;
    padding-bottom: 40px;
  }

  .main-content .sidebar {
    float: none;
    width: 100%;
    border-top: 1px solid #ececec;
    border-left: 0;
    padding-top: 40px;
    margin-left: 0;
    padding-left: 0;
  }


}

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

  .about-block .about-content {
    max-width: 100%;
    position: relative;
    z-index: 2;
    float: none;
  }

  .about-block .wc {
    background-position: center center;
    position: relative;
  }

  .about-block .wc:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background: rgba(255,255,255,.8);
  }

  .block {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .page-title {
    padding: 35px 0;
  }

  .home .block h2, .page-title h1 {
    font-size: 28px;
  }

  .banner-block h1 {
    font-size: 35px;
  }

  .banner-block {
    padding: 160px 0 110px;
  }

  .footer-col {
    width: calc((99.99% - 90px) / 2);
  }

  .footer-col:nth-of-type(2n) {
    margin-right: 0;
  }

  .footer-col:nth-of-type(2n + 1){
    clear: left;
  }

  .main-content h2 {
    font-size: 23px;
    padding-bottom: 16px;
  }

  .main-content h3 {
    font-size: 21px;
    padding-bottom: 16px;
  }

  .main-content h4 {
    font-size: 18px;
    padding-bottom: 16px;
  }

  .main-content h5 {
    font-size: 17px;
    padding-bottom: 16px;
  }

}


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

  .btn {
    padding: 19px 24px;
  }

  .btn-secondary {
    padding: 17px 24px;
  }

  .wc {
    padding-left: 30px;
    padding-right: 30px;
  }

  .quote-block {
    padding: 125px 0;
  }

  .top-header {
    height: 40px;
    padding-top: 11px;
  }

  .get-in-touch {
    display: none;
  }

  .get-in-touch-mobile {
    display: block;
  }

  .bottom-header {
    padding: 19px 0;
    top: 40px;
  }

  .banner-block h1 {
    font-size: 30px;
  }

  .banner-content {
    max-width: 370px;
  }

  .banner-block {
    padding: 127px 0 79px;
  }

   .view-all {
    position: relative;
    left: 25px;
    right: auto;
    top: 0;
    display: inline-block;
    margin-top: 33px;
  }

  .page-template-activities .page-title .view-all,  .page-template-past-activities .page-title .view-all{
    top: 0;
    margin-top: 25px;
  }

  .event-item h3, .news-item h3 {
    font-size: 18px;
  }

  .bottom-header-right {
    top:78px;
    height: calc(100vh - 78px);
  }

  .page-banner {
    height: 78px;
  }

  html[lang="fr-CA"] .nav-icon {
    margin-top: 25px;
  }


  html[lang="fr-CA"] .bottom-header-right {
    top: 99px;
    height: calc(100vh - 99px);
  }


  html[lang="fr-CA"] .page-banner {
    height: 99px;
  }


}


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

  .footer-col {
    width: 100%;
    margin-right: 0;
  }

  .main-content .gallery {
    padding-bottom: 9px;
  }

  .main-content * + .gallery {
    padding-top: 17px;
  }

  .main-content .gallery-item  {
    margin: 0 5px 5px 0;
    width: calc((99.99% - 10px) / 3);
  }

  .main-content .alignleft {
    margin: 0 auto;
    float: none;
    display: block;
  }

  .main-content .alignright {
    margin: 0 auto;
    float: none;
    display: block;
  }


}

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

  .wc {
    padding-left: 20px;
    padding-right: 20px;
  }

  .block {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .page-title {
    padding: 25px 0;
  }

  .home .block h2, .page-title h1 {
    font-size: 22px;
  }

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

  .btn + .btn {
    margin-left: 0;
    margin-top: 8px;
  }

  .logo {
    max-width: 180px;
    font-size: 16px;
  }

  .logo span {
    font-size: 10px;
  }

  .nav-icon {
    margin-top: 21px;
  }

  .nav-icon::before {
    font-size: 12px;
    top: 0;
  }

  .banner-block {
    padding: 120px 0 52px;
  }

  .banner-block h1 {
    font-size: 23px;
  }

  .quote-block {
    padding: 100px 0;
  }

  .quote-block p {
    font-size: 24px;
  }

  .bottom-header-right {
    top:92px;
    height: calc(100vh - 92px);
  }

  .page-banner {
    height: 92px;
  }

  .main-content h2 {
    font-size: 21px;
    padding-bottom: 16px;
  }

  .main-content h3 {
    font-size: 18px;
    padding-bottom: 16px;
  }

  .main-content h4 {
    font-size: 17px;
    padding-bottom: 16px;
  }

  .main-content h5 {
    font-size: 16px;
    padding-bottom: 16px;
  }

}

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


   html[lang="fr-CA"] .nav-icon {
    margin-top: 19px;
  }

   html[lang="fr-CA"] .nav-icon::before {
    display: none;
  }

  html[lang="fr-CA"] .logo {
    max-width: 239px;
    font-size: 14.5px;
  }

  html[lang="fr-CA"] .nav-icon {
    margin-top: 20px;
  }


  html[lang="fr-CA"] .bottom-header-right {
    top: 88px;
    height: calc(100vh - 88px);
  }


  html[lang="fr-CA"] .page-banner {
    height: 88px;
  }


}

