/*
  Theme Name: Trails SA
  Theme URI: http://www.thedistillery.co
  Description: A Bateaux Child Theme ( http://www.bateauxtheme.com ), heavily customised for the Trails SA website
  Author: Distillery
  Author URI: http://www.thedistillery.co
  Template: bateaux
  Version: 1.0.1
  Text Domain: bateaux-child

  By Anna White and Michael Kubler ( @kublermdk )
*/


/* Icon Font */

@font-face {
font-family: 'trailsSA';
src: url('font/icomoon.eot'); /* IE9 Compat Modes */
src: url('font/icomoon.eot') format('embedded-opentype'), /* IE6-IE8 */
     url('font/icomoon.woff') format('woff'), /* Pretty Modern Browsers */
     url('font/icomoon.ttf')  format('truetype'), /* Safari, Android, iOS */
     url('font/icomoon.svg') format('svg'); /* Legacy iOS */
}

/* ================================================================ */
/* Global styles */
/* ================================================================ */

h1 {
  font-weight: 100;
}

strong {
  font-weight: bold;
}

h5 {
  text-transform: uppercase;
}

.btx-table {
  margin-bottom: 20px;
}

.btx-table tbody {
  border: 0;
}

.btx-table td {
  padding: 0;
}

.btx-tab-nav {
  padding: 0 5%;
}

.btx-tab-nav .btx-tab-nav-title {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 20px;
}

.btx-bannertext {
  letter-spacing: 1px;
}

.btx-s-text-border {
  border-color: #516eff !important;
}

.btx-divider-line {
  border-top: 2px dotted #516eff !important;
  background: none !important;
}

.align-right {
  text-align: right;
}

.half-width {
  width: 50%;
  float: left;
}

.btx-item.btx-contactform--minimal select {
  -webkit-appearance: none ;
  margin-bottom: -6px;
  -moz-appearance: none ;
  appearance: none;
  text-indent: 0.01px;
  text-overflow: '';
  background: transparent url('images/select-arrow.png') no-repeat center right;
}

.btx-text-content-inner h2:first-child, .btx-text-content-inner h3:first-child, .btx-text-content-inner h4:first-child {
    margin-top: 0;
}

/* ================================================================ */
/* Trails SA icons */
/* ================================================================ */


.twf-canoeing-thin:before {
  font-family: 'trailsSA';
  content: '\e904';
}
.twf-cycling-thin:before {
  font-family: 'trailsSA';
  content: '\e903';
}
.twf-diving-thin:before {
  font-family: 'trailsSA';
  content: '\e901';
}
.twf-horseriding-thin:before {
  font-family: 'trailsSA';
  content: '\e906';
}
.twf-walking-thin:before {
  font-family: 'trailsSA';
  content: '\e90b';
}

.twf-campground:before {
  font-family: 'trailsSA';
  content: '\e900';
}
.twf-carpark:before {
  font-family: 'trailsSA';
  content: '\e902';
}
.twf-fireplace:before {
  font-family: 'trailsSA';
  content: '\e905';
}
.twf-lookout:before {
  font-family: 'trailsSA';
  content: '\e907';
}
.twf-picnic_area:before {
  font-family: 'trailsSA';
  content: '\e908';
}
.twf-shelter:before {
  font-family: 'trailsSA';
  content: '\e909';
}
.twf-toilet:before {
  font-family: 'trailsSA';
  content: '\e90a';
}
.twf-difficulty-0:before {
  font-family: 'trailsSA';
  content: '\e918';
}
.twf-difficulty-1:before {
  font-family: 'trailsSA';
  content: '\e90c';
}
.twf-difficulty-2:before {
  font-family: 'trailsSA';
  content: '\e913';
}
.twf-difficulty-3:before {
  font-family: 'trailsSA';
  content: '\e90f';
}
.twf-difficulty-4:before {
  font-family: 'trailsSA';
  content: '\e914';
}
.twf-difficulty-5:before {
  font-family: 'trailsSA';
  content: '\e90e';
}
.twf-hard:before {
  font-family: 'trailsSA';
  content: '\e90e';
}
.twf-elevation:before {
  font-family: 'trailsSA';
  content: '\e90d';
}
.twf-nearby:before {
  font-family: 'trailsSA';
  content: '\e910';
}
.twf-close:before {
  font-family: 'trailsSA';
  content: '\e911';
}
.twf-accommodation:before {
  font-family: 'trailsSA';
  content: '\e912';
}
.twf-events:before {
  font-family: 'trailsSA';
  content: '\e915';
}
.twf-food:before {
  font-family: 'trailsSA';
  content: '\e916';
}
.twf-transport:before {
  font-family: 'trailsSA';
  content: '\e917';
}



/* ================================================================ */
/* Colours */
/* ================================================================ */



.bg-white {
  background-color: rgba(255,255,255,0.8) !important;

}

.bg-white p, .bg-white label, .bg-white input, .bg-white select {
  color: #36214d !important;
}

input, select, textarea {
  font-size: 18px;
}

select {
  transform: translateY(5px);
}

/* Header styles */

.btx-navbar .btx-menu a {
  font-weight: 700 !important;
}

 @media (min-width: 1260px) {
   img.btx-navbar-logo--image {
    margin-top: 15px;
   }
 }

 /* ================================================================ */
 /* Footer */
 /* ================================================================ */


.btx-footer {
 font-size: 12px;
  font-weight: 700;
}

.btx-footer .btx-heading {
  margin-bottom: 20px;
  font-size: 12px;
}

.btx-footer a {
  font-weight: 700;
  color: #8e8d90 !important;
}
.btx-footer a:hover {
  color: white !important;
}

.newsletter .btx-form-container {
  background-color: #342f3a !important;
}
.newsletter label {
  margin-bottom: 0;
  color: #8e8d90 !important;
}

.newsletter input {
  font-size: 14px;
  font-weight: 500;
}

.newsletter input[type=submit] {
  width: 100%;
  height: 63px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
}

.btx-bottombar {
  background-color: #0b090d;
  min-height: 87px;
}

.footer-logos img {
  max-height: 35px;
  display: inline-block;
  margin-top: 25px;
}
.footer-logos img:first-child,
.footer-logos img:nth-child(2) {
  margin-right: 20px;
}
.footer-copyright {
  text-align: right;
  padding-top: 33px;
  padding-bottom: 33px;
  font-size: 12px;
}

@media (max-width: 767px) {
  .footer-logos, .footer-copyright {
    text-align: center;
  }
  .btx-layout-responsive .btx-footer-column {
    padding-bottom: 20px;
    padding-top: 20px;
  }
  .btx-layout-responsive .btx-footer-column:nth-child(3) {
    margin-top: -73px;
  }
}

/* ================================================================ */
 /* Home page */
 /* ================================================================ */


 .btx-bannertext-static {
  font-weight: 300;
  letter-spacing: 1px;
 }
 .intro-text {
   padding: 40px 25%;
 }
 .home-search input[type=submit], .home-search .submit {
   height: 76px;
   border-radius: 0;
   font-size: 16px;
   font-weight: 500;
 }

.home-search .submit {
  padding: 12.5px 24px;
  border-radius: 20px;
  border-width: 1px;
  color: #fff;
  background-color: #516eff;
  border-color: #516eff;
}
 .scroll-to-btn {
  position: absolute;
  top: -190px;
  z-index: 9999;
  left: 50%;
  transform: translateX(-50%);
 }
.activity-links .btx-feature-title a {
  font-size: 12px;
  color: white;
}
.activity-links .btx-icon--with-hover .twf {
  color: white;
  transition: color 0.3s ease;
  font-size: 64px;
}
.activity-links .btx-icon--with-hover:hover .twf {
  color: #516eff;
}
.activity-links .btx-feature-media {
  margin-bottom: 10px;
}
#regions:before {
  content: '';
  position: absolute;
  width: 1000px;
  height:1000px;
  background-image: url(images/abstract_dots.png);
  background-size: cover;
  top: 150px;
  right: -100px;
}
#regions .btx-section-wrapper:before {
  content: '';
  position: absolute;
  width:459px;
  height:1137px;
  background-image: url(images/gum_leaves.png);
  background-size: cover;
  bottom:-100px;
  left:0;
}
.region-tile .btx-media-wrapper-inner {
  overflow: hidden;
  background-color: #36214d;
  transition: background-color 0.5s ease;
}
#regions .btx-box {
  margin-bottom: 30px;
}
.region-tile:hover .btx-media-wrapper-inner {
  background-color: white;
}
.region-tile img {
  -webkit-transform: scale(1) translateZ(0);
  -moz-transform: scale(1) translateZ(0);
  -ms-transform: scale(1) translateZ(0);
  -o-transform: scale(1) translateZ(0);
  transform: scale(1) translateZ(0);
  -webkit-transition-property: all;
  -moz-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: .5s;
  -moz-transition-duration: .5s;
  transition-duration: .5s;
  -webkit-transition-timing-function: ease;
  -moz-transition-timing-function: ease;
  transition-timing-function: ease;
  opacity: 0.5;
  /*mix-blend-mode: multiply;*/
}
.region-tile:hover img {
  -webkit-transform: scale(1.1) translateZ(0);
-moz-transform: scale(1.1) translateZ(0);
-ms-transform: scale(1.1) translateZ(0);
-o-transform: scale(1.1) translateZ(0);
transform: scale(1.1) translateZ(0);
opacity: 1;
}
.region-tile .btx-image-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-50%,0);
  color: white;
  font-family: Lato;
  font-style: normal;
  text-transform: uppercase;
  width: 100%;
  font-weight: 700;
  transition: opacity 0.5s ease;
  opacity: 1;
}
.region-tile .btx-image-caption a {
  color: white;
}
.region-tile:hover .btx-image-caption {
  opacity: 0;
}

/* Home mobile styles */

@media (min-width: 768px) and (max-width: 960px) {
  #trail-activity-region-selector .btx-col-2 {
    width: 30%;
    margin-bottom: 0;
  }
  #trail-activity-region-selector .btx-col-5 {
    width: 35%;
  }
}

@media screen and (max-width: 960px) {
  input, select, textarea {
    font-size: 14px;
  }
  .home-search input[type=submit] {
    width: 100%;
    font-size: 14px;
    height: 68px;
  }
  .btx-bannertext .font-style-big {
    font-size: 28px !important;
  }
  .intro-text {
    padding: 20px 10%;
  }
  .intro-text .font-style {
    font-size: 14px !important;
  }

}
@media screen and (max-width: 767px) {
  .home-search input[type=submit] {
    width: 100%;
  }
  .home-search .btx-row > div {
    margin: 5px 0 !important;
  }
  .scroll-to-btn {
   top: -100px;
  }
  .btx-entry-media img {
    width: inherit;
  }
}

@media screen and (max-width: 480px) {
  .intro-text {
    padding: 0px 10%;
  }
}

/* ================================================================ */
/* Featured trails carousel */
/* ================================================================ */

.featured-trails-carousel .slick-list {
  padding-bottom: 20px;
}
.featured-trail-link {
  margin-top: -10px;
}
.featured-trail-link a {
  font-size: 14px;
  font-weight: bold;
}
.featured-trail-region {
  font-size: 12px;
  margin-top: -5px;
  margin-bottom: 5px !important;
}
.featured-trail-activities {
  position: absolute;
  bottom: -16px;
  width: 100%;
}
.featured-trail-activities .btx-icon {
  margin: 0 3px;
}
.featured-trail .btx-entry-inner {
  overflow:visible;
}
.featured-trail .btx-entry-body {
  background: white;
  min-height: 125px;
}

@media screen and (max-width: 480px) {
  .featured-trails-carousel .slick-list {
    overflow: visible;
  }
}

/* ================================================================ */
 /* Activities and Regions template */
 /* ================================================================ */


.single-activities h1, .single-regions h1 {
  font-size: 56px;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
}
.single-activities .btx-page-title, .single-regions .btx-page-title {
  position: relative;
}
.tsa-page-title {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
}

.single-activities .btx-page-title-subtitle, .single-regions .btx-page-title-subtitle {
  font-family: 'Droid Serif', sans-serif;
  font-style: italic;
  font-weight: normal;
}

.single-activities .btx-page-title-content, .single-regions .btx-page-title-content {
  padding: 0;
}

.single-activities .btx-navbar, .single-activities .btx-navbar--mobile, .single-regions .btx-navbar, .single-regions .btx-navbar--mobile {
  background-color: transparent!important;
}

.single-activities .btx-content-header, .single-regions .btx-content-header {
  min-height: 470px;
}

.single-activities .btx-content--with-header > .btx-content-wrapper, .single-regions .btx-content--with-header > .btx-content-wrapper {
  padding-top: 0;
}
.single-activities .btx-content--with-header .btx-page-title, .single-regions .btx-content--with-header .btx-page-title {
  padding-top: 70px;
}

.single-activities .btx-lines, .single-activities .btx-lines:before, .single-activities .btx-lines:after, .single-regions .btx-lines, .single-regions .btx-lines:before, .single-regions .btx-lines:after {
  background-color: #ffffff !important;
}

.single-activities .btx-closed .btx-lines:before, .single-activities .btx-closed .btx-lines:after, .single-regions .btx-closed .btx-lines:before, .single-regions .btx-closed .btx-lines:after {
  background-color: #ffffff !important;
}

.single-activities .btx-navbar:not(.btx-navbar--minimal--full) .btx-menu > li > a, .single-regions .btx-navbar:not(.btx-navbar--minimal--full) .btx-menu > li > a {
  color: #ffffff;
}

#intro .btx-section-wrapper .btx-container:nth-child(2) {
  padding-top: 40px;
}

.category-pagination {
  background-color: rgba(255,255,255,0.2);
  padding: 20px 0;
  color: #ffffff;
  bottom: 0;
  position: absolute;
  width: 100%;
}

.category-pagination a {
  color: white;
}

.region-map {
  max-width: 80%;
}

@media screen and (max-width: 900px) {
  .tsa-page-title {
    bottom: 80px;
  }
  .single-activities h1, .single-regions h1 {
    font-size: 40px;
  }
  .single-activities .btx-page-title-subtitle, .single-regions .btx-page-title-subtitle {
    font-size: 16px;
  }
}

/* ================================================================ */
/* Search and Filter form */
/* ================================================================ */


.searchandfilter > ul {
  margin: 0;
  padding: 0;
}
.searchandfilter > ul > li {
  position: relative;
}
.searchandfilter h4 {
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-weight: 700;
  display: inline-block;
  padding-bottom: 20px;
  margin-bottom: -1px;
  line-height: inherit;
  border-bottom: 1px solid;
  text-transform: uppercase;
  font-size: 14px;
  border-color: #516eff !important;
  }
.searchandfilter h4:before {
  content: '';
  width: 100%;
  height: 1px;
  display: block;
  position: absolute;
  top: 59px;
  background: black;
  opacity: 0.1;
}
.searchandfilter label {
  margin-top: 30px;
}
.searchandfilter .sf-field-search label {
  width: 100%;
}
.searchandfilter .sf-input-text {
  background-color: #f5f5f5;
  border-radius: 0;
  border: 0;
  padding: 25px 20px;
}

/* Activity and Region filters */

.sf-input-checkbox {
  opacity: 0;
  position: absolute;
  position: absolute !important;
  left: -10000px;
}
.sf-input-checkbox, .sf-label-checkbox {
  display: inline-block;
  vertical-align: middle;
  margin: 5px;
  cursor: pointer;
}
.sf-label-checkbox {
  position: relative;
}
.sf-field-post-meta-activities_data li, .sf-field-post-meta-region_data li {
  display: inline-block !important;
}
.sf-field-post-meta-activities_data ul, .sf-field-post-meta-region_data ul {
  margin-top: 20px;
}

/* Acitvity toggles */

.sf-field-post-meta-activities_data .sf-label-checkbox {
  font-size: 0;
  color: white;
  margin-top: 10px;
}
.sf-field-post-meta-activities_data .sf-label-checkbox:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  padding: 2px;
  margin-right: 10px;
  text-align: center;
  background-color: #fff;
  font-family: 'trailsSA';
  border: 1px solid #36214d;
  color: #36214d;
  font-size: 30px;
  padding-top: 10px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.sf-field-post-meta-activities_data .sf-label-checkbox:hover:before {
  border: 1px solid #516eff;
  color: #516eff;
}
.sf-field-post-meta-activities_data .sf-input-checkbox:checked + .sf-label-checkbox:before {
  background: #516eff;
  border: 1px solid #516eff;
  color: #fff;
}
.sf-field-post-meta-activities_data input[value="97"] + .sf-label-checkbox:before {
  content: '\e90b';
}
.sf-field-post-meta-activities_data input[value="142"] + .sf-label-checkbox:before {
  content: '\e903';
}
.sf-field-post-meta-activities_data input[value="143"] + .sf-label-checkbox:before {
  content: '\e906';
}
.sf-field-post-meta-activities_data input[value="144"] + .sf-label-checkbox:before {
  content: '\e901';
}
.sf-field-post-meta-activities_data input[value="145"] + .sf-label-checkbox:before {
  content: '\e904';
}

/* Region toggles */

.sf-field-post-meta-region_data .sf-label-checkbox {
  padding: 10px;
  border: 1px solid #36214d;
  color: #36214d;
  background-color: #fff;
  border-radius: 2px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  margin-right: 10px;
  margin-top: 0px;
  transition: all 0.3s ease;
}
.sf-field-post-meta-region_data .sf-input-checkbox:checked + .sf-label-checkbox {
  background: #516eff;
  border: 1px solid #516eff;
  color: #fff;
}
.sf-field-post-meta-region_data .sf-label-checkbox:hover {
  border: 1px solid #516eff;
  color: #516eff;
}


/* Length slider */

.searchandfilter .meta-slider {
  height: 5px;
  max-width: 100%;
  border: none;
  box-shadow: none;
}
.searchandfilter .noUi-handle:after, .searchandfilter .noUi-handle:before {
  content: none;
}
.searchandfilter .noUi-horizontal .noUi-handle {
  box-shadow: none;
  width: 12px;
  height: 12px;
  top: -3px;
  left: -6px;
}
.searchandfilter .noUi-connect {
    background-color: #516eff;
}
.noUi-background {
    background: #ebebeb;
}

input[type=number] {
  border: none;
  -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0; /* Removes leftover margin */
}

input[type="number"]:hover,
input[type="number"]:focus {
  -moz-appearance: number-input;
}

.sf-meta-range-slider {
  font-size: 14px;
  font-family:'Droid Serif', sans-serif;
  font-style:italic;
}

.sf-meta-range-slider label:after {
    text-transform: none;
  content: 'km';
  font-size: 14px;

}

.sf-meta-range-slider label:first-child:before {
    text-transform: none;
  content: 'Length';
  font-size: 14px;

}

/* ================================================================ */
/* Filter Search Results */
/* ================================================================ */

@media screen and (min-width: 768px) {
  .search-results-col {
    padding-left: 60px;
  }
}
.trail-result {
  margin-bottom: 40px;
}
.trail-result-content {
  margin: 20px 0;
}
.trail-result p {
  margin-bottom: 18px;
}
.trail-result-img-wrapper {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.trail-result-img {
  padding-bottom: 100%;
  background: #ebebeb;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  display: block;
}
.trail-result-title {
  margin: 0;
}
.trail-result-title a {
  font-weight: bold;
  color: #36214d;
}
.trail-result-region {
  font-family: 'Droid Serif', sans-serif;
  font-style: italic;
  font-weight: normal;
}
.trail-result-distance {
  font-size: 12px;
  text-transform: uppercase;
  color: #516eff;
  letter-spacing: 1px;
}
.trail-result-info {
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: -5px !important;
}
.trail-result-info td {
  padding: 2px 0;
  vertical-align: middle;
}
.trail-result-info .btx-icon-normal {
  margin-right: 10px;
  margin-left: 20px;
}
.trail-result-info .btx-icon-normal i {
  font-size: 20px;
  transform: translateY(3px);
}

@media screen and (max-width: 767px) {
  .trail-result {
    text-align: center;
  }
  .trail-result-info {
    margin: 0 auto;
  }
  /*.trail-result-img-wrapper {
    max-width: 200px;
  }*/
}

/* ================================================================ */
/* Trail page */
/* ================================================================ */


.single-trails h1 {
  font-size: 30px;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding-top: 80px;
}

.single-trails .activity {
  text-transform: uppercase;
  opacity: 0.6;
}

.single-trails .btx-divider-line {
  border-top: 2px dotted #36214d !important;
}

.single-trails .btx-text-content-inner .widget a {
  color: #516eff;
}

.trail-region {
  font-family: 'Droid Serif', sans-serif;
  font-style: italic;
  font-weight: normal;
}

.trail-feature-icons {
  margin-top: 20px;
}
.trail-feature-icons .twf:after {
  background-color: #516eff;
}
.trail-feature-icons .btx-tooltip--bottom:after {
  top: 300%;
  background-color: #516eff;
}

.trail-feature-icons .btx-tooltip--bottom:before  {
  top: 300%;
  border-bottom-color: #516eff;
}
@media (max-width:767px) {
  .trail-feature-icons .btx-icon {
    font-size: 42px;
  }
}


/* Trail Map */

 @media (min-width: 768px) {
   .trail-info-col {
    margin-left: 50%;
    background-color: #f6f6f6;
    min-height: 100vh;
   }
   .trail-map-col {
     position: fixed;
     /*height: calc(100% - 116px);
     overflow: hidden;*/
     height: 100vh;
   }
   .trail-map-wrapper {
     height: calc(100% - 116px);
     overflow: hidden;
   }

   /* If logged in */
   body.with-admin-toolbar .trail-map-wrapper {
     height: calc(100% - 146px);
   }

   .single-trails footer {
     display: none;
   }
   .single-trails .btx-navbar-brand {
     position: fixed;
   }
   .trail-info-wrapper {
     float: right;
   }
 }

.trail-map-wrapper .btx-box-body {
  font-size: 0;
}

/* map toolbar */

.trail-tb-wrapper {
  height: 116px;
  width: 100%;
}
.trail-tb {
  height: 100%;
}
.trail-tb-wrapper div div {
  height: inherit;
}
.tb-col {
  width: 20%;
  float: left;
}
.tb-tool {
  position: relative;
  width: 100%;
  border-right: 1px solid #748bff;
  color: white;
  background-color: #516eff;
  text-align: center;
  padding: 20px 0;
  transition: background-color 0.5s ease;
}
.tb-col:last-child .tb-tool {
  border: none;
}
.tb-col.secondary-activity {
  display: none;
}
.up-arrow {
  opacity:0.5;
  transition: opacity 0.3s ease;
  padding-left: 5px;
}
.tb-tool-activity:hover, .tb-tool-elevation:hover {
  background-color: #748bff;
}

.tb-tool-activity:hover .up-arrow, .tb-tool-elevation:hover .up-arrow {
  opacity: 1;
}

.tb-icon {
  font-size: 36px;
  font-weight: 100;
  height: 30px !important;
}
.tb-title {
  color: white;
  font-size: 10px;
}
.tb-title span {
  display: block;
}

.tb-view {
  position: absolute;
  bottom: 0;
  height: 222px;
  background-color: white;
  width: 100%;
  -webkit-box-shadow: 0px -5px 40px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px -5px 40px 0px rgba(0,0,0,0.1);
  box-shadow: 0px -5px 40px 0px rgba(0,0,0,0.1);
  transform: translateY(100%);
  -webkit-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
     -moz-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
       -o-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
          transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000); /* easeOutQuart */
}
.tb-view.tb-view-nearby {
  height: 128px;
}
.tb-view.tb-view-elevation {
  /*height: 250px;*/
}
.tb-view.tb-view-activity {
  height: 160px;
}
.tb-view.tb-view-adtwinfo {
  width: 45%;
  position: fixed;
  height: 100%;
  right: 0;
}
@media (max-width: 768px) {
  .tb-view.tb-view-adtwinfo {
    width: 100% !important;
  }
}
.tb-view.tb-view-adwtinfo.open {
  transform: translateX(0%);
}
.tb-view.tb-view-adwtinfo.closed {
  transform: translateX(100%);
}
.tb-view.open {
  transform: translateY(0%);
}
.tb-view.closed {
  transform: translateY(100%);
}
.tb-view-inner {
  padding: 1em 2em;
}
.tb-view-title {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 200;
}
.tb-view-close {
  float: right;
  transform: translate3d(0.7em, 1.7px, 0);
  cursor: pointer;
}
.tb-toggles-wrapper {
  /*padding-top: 20px;*/
}
.tb-toggle {
  display: inline-block;
  margin-right: 15px;
  text-transform: uppercase;
  font-size: 12px;
  cursor:pointer;
}

.tb-toggle.active .btx-p-brand-color {
  background-color: #516eff;
  color: white
}
.tb-toggle .btx-icon {
  margin-right: 5px;
}
.tb-toggle .twf {
  font-size: 21px;
}
.tb-toggle:hover .btx-p-brand-color {
  background-color: #516eff;
  color: white
}

h1.mapInfoHeading {
  padding-top: 0;
  margin-top: 0;
}
.mapInfoContent {
  padding-bottom: 20px;
}

.mapInfoContent ul { font-weight: normal; }
.mapInfoContent strong {font-weight: bolder; }

.btx-custom_a-font {
  margin: 0;
}
@media (max-width: 768px) {
  #wpgmza_map { width: 95% !important;}

}

/* ADTW Listing */
.adtw-listing {
  display: none;
}
#adtw-template {
  display: none;
}
.adtw-listing .btx-tab-body {
  padding-right:5%;
  padding-left:5%;
  padding-bottom:40px;
  min-height:350px;
}
.adtw-listing .btx-tab-content {
  display: none;
}
.adtw-listing .btx-tab-content.active {
  display: block;
}
.adtw-listing .btx-background-overlay {
  opacity:0.9;
}
.adtw-listing .btx-blog-content {
  margin: 0px -5px;
  position: relative;
  height: 270.85px;
}
.adtw-listing article {
  margin-bottom: 10px;
  padding: 0px 5px;
  /*position: absolute; */
  left: 0px; 
  top: 0px;
}
.adtw-listing .btx-entry-author {
  text-transform: none;
}

/* ADTW Info */
#adtwinfo {
  z-index: 50;
  overflow: auto;
}
.single-trails #adtwinfo h1 {
  padding-top: 20px;
}

body.with-admin-toolbar #adtwinfo {
  padding-top: 32px;
}

.adtw-booking {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid #516eff;
  background-color: #516eff;
  padding: 8px 20px;
  text-transform: uppercase;
}

a.adtw-booking:focus,
a.adtw-booking:active,
.adtw-booking:hover {
  background-color: transparent;
  color: #516eff;
}

/* Print styles */
@media print {
  header.btx-header,
  .btx-noprint,
  .single-trails .btx-gallery {
    display: none;
  }
  .adtw-listing {
    display: none !important;
  }
  .single-trails h1 {
    padding-top: 0;
  }
  /* Layout */
  .trail-map-col {
    position: absolute;
    top: 0;
    width: 100%;
    height: 500px;
  }
  .trail-map-wrapper {
    height: 100%;
  }
  .trail-info-col {
    width: 100%;
    margin-top: 516px;
    margin-left: 0;
  }
}
