/**
 * Place your custom styles here.
 */

/* Effects */
a,
.view-poi .owl-prev:before,
.view-poi .owl-next:after,
.section-taonga,
.section-taonga.show,
.btn-default,
.poi-left .find-us-on .field .social-link,
.footer .block-mobile h2,
.footer .block-mobile h2.block-title:after,
.footer .block-mobile ul,
.poi-left .tgf-prev-button,
.poi-left .tgf-next-button,
.tgf-controls-container .tgf-pag-prev-button,
.tgf-controls-container .tgf-pag-next-button,
#get_directions_button {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.block-search .btn {
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  -ms-transition: background 0.3s ease-in-out;
  -o-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
}

/* General */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Titillium Web', sans-serif;
}

.browser-font-fix h1,
.browser-font-fix h2,
.browser-font-fix h3,
.browser-font-fix h4,
.browser-font-fix h5,
.browser-font-fix h6 {
  font-family: sans-serif;
}

h1,
h2 {
  font-weight: bold;
}

a {
  outline: 0 !important;
  color: #836a38;
}

a:hover {
  color: #666;
}

.btn-default,
#get_directions_button {
  background: #e7d3b6;
  border: 0;
}

.btn-default:hover,
#get_directions_button:hover {
  background: #ccc;
}

#error_text {
  clear: both;
  color: #a94442 !important;
  text-align: left;
  position: relative;
  top: 15px;
  background-color: #f2dede;
  border-radius: 5px;
  border: 1px solid #ebccd1;
  padding: 5px 8px;
}

/* Layout */
.main-container {
  margin: 20px auto 20px;
}

/*AM MOD*/
.page-node-14522 .main-container.container-fluid {
    width: 100%;
}

.page-node-14522 #gmap-auto1map-gmap0 {
    height: 750px !important;
}
/*END AM MOD*/

.front .main-container,
.page-node-14490 .main-container,
.node-type-point-of-interest .main-container {
  margin: 0 auto;
}

.not-front .region-content {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.not-front .footer {
  margin-top: 0;
}

/* Header */
.navbar-toggle {
  display: none;
}

.nav-bar {
  font-size: 13px;
  background: #252525;
  color: #fff;
}

.navbar-btn {
  margin: 16px 0 0 0;
}

.navbar-collapse {
  float: right;
  margin-top: 20px;
}

.navbar-collapse .menu,
.navbar-collapse .region-navigation {
  float: left;
}

.block-header-social {
  padding: 0 10px 0 15px;
}

.block-header-social,
.block-language-switch {
  float: left;
  margin-top: 10px;
}

.block-language-switch p a {
  display: inline-block;
  width: 70px;
  height: 28px;
  background: #e7d3b6;
  color: #222;
  margin-left: 10px;
  text-align: center;
  line-height: 28px;
  border-radius: 5px;
}

.block-language-switch p a:hover {
  text-decoration: none;
  background: #ccc;
}

.block-header-social img {
  margin-right: 10px;
}

/* Top menu */
.navbar-nav > li > a {
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  color: #fff;
  background: none !important;
}

.navbar-nav > li > a:hover {
  color: #e7d3b6;
}

/* Carousel */
.flexslider {
  border: 0;
  margin: 0;
  border-radius: 0;
  background: none;
}

.flex-direction-nav a {
  height: 50px;
}

.flexslider .slides > li {
  float: none !important;
}

/* Pre content search block */
.front .pre-content {
  position: relative;
  top: -125px;
  margin-bottom: -50px;
  text-align: center;
  z-index: 1500;
}

.not-front .pre-content {
  position: relative;
  top: -70px;
  margin-bottom: -20px;
  text-align: center;
}

.front .block-search h4 {
  color: #fff;
  text-shadow: 1px 1px #000;
  text-align: left;
  font-size: 30px;
}

.block-search .dropdown {
  position: relative;
  top: 38px;
  z-index: 1000;
}

.block-search .input-group {
  display: block;
}

.block-search .form-type-select {
  width: 200px;
  float: left;
}

.block-search .form-type-select select {
  border: 1px solid #eee;
  border-right: 0;
  width: 100%;
  height: 40px;
  line-height: 34px;
  border-radius: 5px 0 0 5px;
  box-shadow: none;
  font-size: 13px;
  padding: 6px;
}

.block-search .form-type-textfield {
  width: 400px;
  float: left;
}

.block-search .form-type-textfield .form-text {
  padding: 6px;
  border: 1px solid #eee;
  width: 100%;
  height: 40px;
  border-radius: 0 5px 5px 0;
  box-shadow: none;
  font-size: 13px;
}

.block-search .btn {
  float: left;
  border-radius: 0;
  border: 0;
  background: #e7d3b6;
  padding: 7px 12px;
  height: 40px;
  border-radius: 5px;
  width: auto;
  margin-left: 10px;
}

.block-search .btn:hover {
  background: #ccc;
}

.block-search .input-group-addon {
  display: none;
}

.block-search .form-item {
  float: left;
  margin-bottom: 0;
}

.block-search .form-control:focus {
  box-shadow: none;
  border: 1px solid #eee;
}

.block-search .form-control.form-select:focus {
  border-right: 0;
}

.block-search .ajax-progress {
  display: none;
}

/*.node-type-point-of-interest #edit-field-coords {
 display: none;
}
*/

/* Front page */
.front-copy {
  text-align: justify;
}

.front-logo {
  text-align: center;
}

.front h1 {
  text-align: center;
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.front .field-name-body h3 {
  text-align: center;
  margin: 20px auto 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #ccc;
  width: 800px;
}

/* Footer */
.footer {
  background: #1b1b1b;
  color: #fff;
  border-top: 0;
}

.footer h2.block-title {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer a {
  color: #777;
}

.footer a:hover {
  color: #999;
  text-decoration: none;
}

.footer ul {
  padding-left: 0;
}

.footer ul li {
  list-style: none;
}

.footer ul li a {
  padding: 5px 0;
  display: block;
}

.footer .menu li a {
  padding: 5px 0;
  background: none;
}

.footer .block-find-us-on ul li img {
  margin-right: 10px;
}

.footer .view-sponsors-slider {
  padding: 5px 0;
}

.footer .view-sponsors-slider img {
  max-width: 170px;
}

/* Owl carousel */
.owl-carousel .owl-item img {
  transform-style: inherit;
}

.block-marae-of-interest {
  margin-top: 40px;
}

.block-marae-of-interest h2 {
  text-align: center;
  margin-bottom: 10px;
}

.owl-theme .owl-controls .owl-buttons div {
  background: none;
  border-radius: 0;
}

.block-marae-of-interest .view-poi .view-header {
  text-align: center;
  margin-bottom: 40px;
  font-size: 24px;
}

.view-poi .owl-prev {
  left: -40px;
  position: absolute;
  top: 50%;
  margin-top: -80px;
}

.view-poi .owl-next {
  position: absolute;
  right: -40px;
  top: 50%;
  margin-top: -80px;
}

.view-poi .owl-prev:before {
  color: #7c7c7c;
  content: "\f104";
  font-family: "FontAwesome";
  font-size: 100px;
}

.view-poi .owl-next:after {
  color: #7c7c7c;
  content: "\f105";
  font-family: "FontAwesome";
  font-size: 100px;
}

.view-poi .owl-prev:hover:before,
.view-poi .owl-next:hover:after {
  color: #333;
}

.view-poi .view-content {
  position: relative;
}

.view-poi .view-content .owl-item {
  text-align: center;
  padding: 0 20px;
}

.view-poi .view-content .owl-item .views-field-title {
  top: -50px;
  position: relative;
}

.view-poi .view-content .owl-item .views-field-title a {
  font-size: 20px;
  color: #fff;
  text-decoration: none !important;
}

.view-poi .view-content .owl-item .views-field-field-gallery-images a:hover {
  opacity: 0.8;
}

/* List page */
.page-node-14490 .main-container .col-sm-12 {
  padding-right: 0;
}

.page-node-14490 .footer {
  display: none;
}

.page-node-14490 h1 {
  display: none;
}

.block-list-poi {
  border-right: 1px solid #999;
  float: left;
  width: 27%;
  padding-right: 15px;
  overflow-y: auto;
  height: calc(100vh - 84px);
  height: -o-calc(100vh - 84px); /* opera */
  height: -webkit-calc(100vh - 84px); /* google, safari */
  height: -moz-calc(100vh - 84px); /* firefox */
}

.logged-in .block-list-poi {
  height: calc(100vh - 165px);
  height: -o-calc(100vh - 165px); /* opera */
  height: -webkit-calc(100vh - 165px); /* google, safari */
  height: -moz-calc(100vh - 165px); /* firefox */
}

.block-list-map {
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  float: right;
  width: 73%;
}


/*
.front .gmap-map {
  overflow: visible !important;
}
*/

.block-list-map .view-poi .view-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.block-list-poi .view-poi .view-content ul {
  padding-left: 0;
}

.block-list-poi .view-poi .view-content ul li.views-row {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
  list-style: none;
}

.block-list-poi .view-poi .view-content ul li.views-row .views-field-field-gallery-images {
  margin-bottom: 10px;
}

.block-list-poi .view-poi .view-content ul li.views-row .views-field-field-gallery-images a:hover {
  opacity: 0.8;
}

.block-list-poi .view-poi .view-content ul li.views-row .views-field-title {
  margin-bottom: 5px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
  display: block;
}

.block-list-poi .view-poi .view-content ul li.views-row .views-field-title a {
  color: #333;
}

.block-list-poi .view-poi .view-content ul li.views-row .views-field-field-type {
  float: right;
}

.block-list-poi .view-poi .view-content ul li.views-row .views-field-field-type .view-more {
  text-decoration: underline;
}

.gmap-popup {
  width: 250px;
}

.gmap-popup a {
  display: block;
}

.gmap-popup a:hover {
  text-decoration: none;
}

.gmap-popup h5 {
  color: #333;
  text-transform: uppercase;
  font-weight: bold;
  margin: 10px 0 5px;
}

.zest-bubble {
  width: auto !important;
  height: auto !important;
}

/*
#zest-search-form #edit-submit-button {
  display: none;
}
*/

.js-info-bubble-close {
  -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */
  filter: grayscale(100%);
}

/* Pagination */
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-radius: 0;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #e7d3b6;
  color: #333;
  border-color: #e7d3b6;
}

.pagination > li > a,
.pagination > li > span,
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  border-color: #e7d3b6;
  color: #333;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  background-color: #efefef;
  border-color: #e7d3b6;
  color: #333;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  display: none;
}

/* Point of Interest */
.poi-left {
  float: left;
  width: 30%;
  margin-bottom: 40px;
}

.poi-right {
  float: right;
  width: 68%;
  border-left: 1px solid #999
}

/* POI right map */
.block-poi-map {
  height: 700px;
  width: 68%;
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
}

.block-poi-map .view-poi .view-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* POI right marae nearby */
.block-marae-nearby {
  padding: 25px 45px;
  margin-top: 700px;
}

.block-marae-nearby h2 {
  margin-bottom: 30px;
  font-size: 28px;
}

.block-marae-nearby .view-poi .owl-prev {
  left: -30px;
  top: 50%;
  margin-top: -82px;
}

.block-marae-nearby .view-poi .owl-next {
  right: -30px;
  top: 50%;
  margin-top: -82px;
}

.block-marae-nearby .view-poi .owl-prev:before {
  font-size: 100px;
}

.block-marae-nearby .view-poi .owl-next:after {
  font-size: 100px;
}

.block-marae-nearby .view-poi .view-content .owl-item .views-field-title a {
  font-size: 16px;
}

.block-marae-nearby .view-poi .view-content .owl-item {
  padding: 0 20px;
}

/* POI left TGF */
.tgf-container.tgf-responsive .tgf-slides img {
  height: auto !important;
}

.tgf-pagination img {
  float: left;
  margin: 0 5px;
}

.tgf-container {
  position: relative;
  overflow: hidden;
}

.poi-left .tgf-prev-button {
  left: 0;
}

.poi-left .tgf-next-button {
  right: 0;
}

.poi-left .tgf-prev-button,
.poi-left .tgf-next-button {
  position: absolute;
  font-size: 0;
  color: #ccc;
  top: 50%;
  margin-top: -109px;
  z-index: 999;
  text-decoration: none !important;
}

.poi-left .tgf-prev-button:before {
  font-family: 'FontAwesome';
  content: '\f104';
  font-size: 80px;
  margin-left: 5px;
}

.poi-left .tgf-next-button:before {
  font-family: 'FontAwesome';
  content: '\f105';
  font-size: 80px;
  margin-right: 5px;
}

.poi-left .tgf-prev-button:hover,
.poi-left .tgf-next-button:hover {
  opacity: 0.8;
}

.tgf-controls-container {
  position: relative;
  margin-top: 10px;
}

.tgf-controls-container .tgf-pag-prev-button {
  left: 10px;
}

.tgf-controls-container .tgf-pag-next-button {
  right: 10px;
}

.tgf-controls-container .tgf-pag-prev-button,
.tgf-controls-container .tgf-pag-next-button {
  font-size: 0;
  color: #ccc;
  position: absolute;
  top: 50%;
  margin-top: -25px;
  z-index: 999;
  text-decoration: none !important;
}

.tgf-controls-container .tgf-pag-prev-button:before {
  font-family: 'FontAwesome';
  content: '\f104';
  font-size: 35px;
}

.tgf-controls-container .tgf-pag-next-button:before {
  font-family: 'FontAwesome';
  content: '\f105';
  font-size: 35px;
}

.tgf-controls-container .tgf-pag-prev-button:hover,
.tgf-controls-container .tgf-pag-next-button:hover {
  opacity: 0.8;
}

.tgf-controls-container .tgf-pagination img {
  cursor: pointer;
}

/* POI left section */
.poi-left .field-type-image {
  margin-bottom: 40px;
}

.poi-left h1 {
  font-size: 28px;
  margin: 0 0 20px 0;
}

.poi-left .field-group-div h3 {
  font-size: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ccc;
  margin: 15px 0 0 0;
}

.poi-left .field-group-format-wrapper {
  margin: 20px 0;
}

.poi-left .field-group-div h3 a {
  color: #333;
  display: block;
  position: relative;
  text-decoration: none;
}

.poi-left .field-group-div h3 a:hover {
  text-decoration: none;
}

.poi-left .field-group-div h3 a:after {
  content: '\f106';
  font-family: 'FontAwesome';
  position: absolute;
  right: 5px;
  font-size: 20px;
}

.poi-left .field-group-div.collapsed h3 a:after {
  font-family: 'FontAwesome';
  content: '\f107';
  position: absolute;
  right: 5px;
  font-size: 20px;
}

/* POI left about */
.poi-left .group-about h2 {
  display: none;
}

/* POI left find us on */
.poi-left .find-us-on {
  margin-top: 10px;
}

.poi-left .find-us-on  h3 {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  border-bottom: 0;
  font-size: 15px;
  text-transform: uppercase;
}

.poi-left .find-us-on .field {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.poi-left .find-us-on .field .field-item {
  display: none;
}

.poi-left .find-us-on .field .social-link {
  font-size: 0;
}

.poi-left .find-us-on .field .social-link:hover {
  opacity: 0.8;
}

.poi-left .find-us-on .field-name-field-poi-contact-facebook-link .social-link:before {
  content: "";
  display: inline-block;
  width: 33px;
  height: 33px;
  background: url("../images/icon-fb-white.png");
}

.poi-left .find-us-on .field-name-field-poi-contact-twitter-link .social-link:before {
  content: "";
  display: inline-block;
  width: 33px;
  height: 33px;
  background: url("../images/icon-twitter-white.png");
}

.poi-left .find-us-on .field-name-field-poi-contact-instagram .social-link:before {
  content: "";
  display: inline-block;
  width: 33px;
  height: 33px;
  background: url("../images/icon-instagram-white.png");
}

/* POI left contact details */
.poi-left .group-contact-details h2 {
  display: none;
}

.poi-left .group-contact-details .field-items .field {
  display: inline-block;
  vertical-align: top;
  width: 49%;
  margin: 3px 0;
  font-size: 13px;
}

.location-locations-display {
  display: none;
}

.poi-left .group-contact-details .field-items .field:nth-child(2n+1) {
  margin-right: 1%;
}

.poi-left .group-contact-details .field-items .field .field-label,
.poi-left .group-contact-details .field-items .field .field-items {
  display: inline-block;
  vertical-align: top;
}

.poi-left .group-contact-details .field-items .field .field-label {
  color: #836a38;
}

.poi-left .group-contact-details .field-items .field .field-items a {
  color: #333;
}

.poi-left .group-contact-details .field-items .field .field-items .field-item {
  display: inline-block;
  margin-right: 5px;
}

/* POI key information */
.poi-left .group-key-information .entity h2 {
  display: none;
}

.poi-left .group-key-information .field-items .field {
  display: inline-block;
  vertical-align: top;
  width: 49%;
  margin: 3px 0;
  font-size: 13px;
}

.poi-left .group-key-information .field-items .field:nth-child(2n+1) {
  margin-right: 1%;
}

.poi-left .group-key-information .field-items .field .field-label,
.poi-left .group-key-information .field-items .field .field-items {
  display: inline-block;
  vertical-align: top;
}

.poi-left .group-key-information .field-items .field .field-label {
  color: #836a38;
}

.poi-left .group-key-information .field-items .field .field-items a {
  color: #333;
}

.poi-left .group-key-information .field-items .field .field-items .field-item {
  display: inline-block;
  margin-right: 5px;
}

/* POI left taonga */
.poi-left .section-taonga {
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.poi-left .section-taonga.show {
  height: auto;
  opacity: 1;
}

.poi-left .section-taonga .field-type-image {
  margin-bottom: 20px;
}

/* POI left internet connectivity */
.poi-left .group-internet-connectivity .field {
  margin: 10px 0;
  font-size: 13px;
}

.poi-left .group-internet-connectivity .field .field-label,
.poi-left .group-internet-connectivity .field .field-items {
  display: inline-block;
  vertical-align: top;
}

.poi-left .group-internet-connectivity .field .field-label {
  color: #836a38;
}

/* POI left video */
.poi-left .group-video .field-item img {
  margin: 0 auto;
}

/* Contact us */
.highlighted .banner img {
  width: 100%;
}

.page-node-14481 .node-page h4 {
  margin-bottom: 30px;
}

.page-node-14481 .webform-client-form .btn-default {
  float: right;
  margin-top: 10px;
}

/* POI left print */
.poi-left .block-print {
  margin-bottom: 10px;
}

.poi-left .block-print p {
  float: right;
  margin: 0 0 0 20px;
  display: block;
}

.poi-left .print-btn,
.poi-left .direction-btn,
.print_button {
  color: #333;
  text-transform: uppercase;
  font-size: 13px;
}

.poi-left .print-btn:before,
.print_button:before {
  content: "";
  background: url("../images/icon-print.png");
  background-size: cover;
  display: inline-block;
  width: 18px;
  height: 16px;
  margin-right: 5px;
  position: relative;
  top: 2px;
}

.poi-left .direction-btn:before {
  content: "";
  background: url("../images/icon-map.png");
  background-size: cover;
  display: inline-block;
  width: 18px;
  height: 16px;
  margin-right: 5px;
  position: relative;
  top: 2px;
}

/* Get direction page */
.page-direct-marae h2 {
  margin: 10px 0 20px;
}

.page-direct-marae h3 {
  font-size: 20px;
}

.page-direct-marae .label {
  color: #836a38;
  font-size: 14px;
  width: 100px;
  display: inline-block;
  text-align: left;
  padding: 0;
}

.page-direct-marae .locfield_wrapper {
  margin-top: 10px;
}

#get_directions_button {
  border-radius: 4px;
  padding: 6px 12px;
  height: 34px;
}

.page-direct-marae #gmap_container {
  float: left;
  margin: 0 3% 30px 0;
  width: 55%
}

.page-direct-marae #text_directions_container {
  float: left;
  width: 42%;
}

.page-direct-marae #text_directions_container .adp-placemark {
  margin: 0;
}

/* Home page interactive map */
.front .gmap-gmap{
  width: auto !important;
  margin-top: 20px;
  /*-webkit-filter: saturate(21%); /* Safari 6.0 - 9.0 */
  /*filter: saturate(21%);*/
 }

/* Map page */
.page-node-14522 h1, .page-node-14522 #block-homepage-search-block-homepage-search-block h4 {
  display: none;
}

/* Home page popup */

/*.not-mobile.front #colorbox,
.not-mobile.front #cboxOverlay {
display: none !important;
}*/

/********************* Media queries *********************/

/* Print */
@media print {
  *:after {
    display: none;
  }

  .footer {
    display: none;
  }

  ul.nav-tabs {
    display: none;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 16px;
  }

  h6 {
    font-size: 14px;
  }

  .navbar-btn {
    margin: 16px 0;
  }

  .logo {
    margin-bottom: 20px;
  }

  .node-type-point-of-interest .block-search,
  .node-type-point-of-interest .navbar-collapse,
  .poi-left .block-print,
  .poi-left .find-us-on,
  .poi-right {
    display: none;
  }

  .poi-left {
    width: 100%;
  }

  .poi-left .field-group-div h3 {
    margin-top: 25px;
  }

  .poi-left .collapsible .field-group-format-wrapper {
    display: block !important;
  }

  .poi-left .group-address {
    display: block;
  }

  .poi-left .section-taonga {
    height: auto !important;
    opacity: 1 !important;
  }

  .poi-left .tgf-prev-button,
  .poi-left .tgf-next-button {
    display: none !important;
  }

  .tgf-controls-container {
    display: none;
  }

}

@media (min-width:1200px) {

  /* Layout */
  .node-type-page .container-fluid,
  .page-user .container-fluid {
    width: 1170px;
  }

  .node-type-page .nav-bar .container-fluid,
  .page-user .nav-bar .container-fluid {
    width: auto;
  }

  .node-type-page.page-node-14490 .container-fluid {
    width: auto;
  }

}

@media (min-width:768px) and (max-width:1024px) {

  /* General */
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 16px;
  }

  h6 {
    font-size: 15px;
  }

  /* Top menu */
  .navbar-nav > li > a {
    padding: 15px 10px;
  }

  /* Front page */
  .view-poi .view-content .owl-item .views-field-title a {
    font-size: 16px;
  }

  /* Pagination */
  .pagination .pager-ellipsis.disabled {
    display: none;
  }

  /* List page */
  .block-list-poi .view-poi .view-content ul li.views-row .views-field-title {
    font-size: 16px;
  }

  .block-list-poi {
    width: 44%;
  }

  .block-list-map {
    width: 56%;
  }

  /* Detail page */
  .poi-right {
    width: 55%;
  }

  .block-poi-map {
    width: 55%;
  }

  .poi-left {
    width: 43%;
  }

  .poi-left .group-contact-details .field-items .field {
    width: 100%;
    margin: 0 0 5px 0 !important;
  }

  .poi-left .group-key-information .field-items .field {
    width: 100%;
    margin: 0 0 5px 0 !important;
  }

  .block-marae-nearby .view-poi .view-content .owl-item {
    padding: 0 5px;
  }

  .block-marae-nearby .view-poi .view-content .owl-item .views-field-title a {
    font-size: 14px;
  }

  .poi-left h1 {
    font-size: 24px;
  }

}

@media (min-width:768px) and (max-width:992px) {

  /* Header */
  .navbar-header {
    float: none;
    text-align: center;
  }

  .navbar-header .pull-left {
    float: none !important;
    display: inline-block;
  }

  .navbar-collapse {
    margin-top: 0;
  }

}

@media (min-width:768px) {

  /* Pre content search block */
  .pre-content .block-search {
    display: inline-block;
  }

  /* Not front search block */
  .region-content .block-search {
    margin: 0 0 30px 0;
    display: block;
  }

  .region-content .block-search .form-type-select {
    width: 30%;
  }

  .region-content .block-search .form-type-textfield {
    width: 50%;
  }

  .region-content .block-search .btn {
    width: 18%;
    margin-left: 2%;
    border-radius: 0;
    padding: 0;
  }

  .region-content .block-search .form-type-select select {
    width: 100%;
    border-radius: 0;
  }

  .region-content .block-search .form-type-textfield input {
    width: 100%;
    border-radius: 0;
  }

}

@media (max-width:767px) {

  .page-node-14522 #gmap-auto1map-gmap0 {
    height: 350px !important;
  }

  /* Layout */
  .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* General */
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 16px;
  }

  h6 {
    font-size: 15px;
  }

  input,
  select {
    font-size: 16px !important;
    letter-spacing: -0.5px;
    padding: 3px !important;
  }

  /* Layout */
  .front .main-container {
    margin-top: 20px;
  }

  /* Header */
  .navbar-header {
    float: left;
  }

  .block-header-social {
    display: none;
  }

  .block-language-switch {
    margin: 5px 20px 0 0;
  }

  /* Menu */
  .navbar-collapse {
    border: 0;
    box-shadow: none;
    margin-top: 25px;
  }

  .navbar-collapse #sidr-wrapper-0 {
    float: right;
  }

  .navbar-collapse #sidr-wrapper-0 #sidr-0-button {
    text-decoration: none !important;
  }

  .navbar-collapse #sidr-wrapper-0 #sidr-0-button:before {
    content: "\f0c9";
    font-family: "FontAwesome";
    font-size: 26px;
    color: #fff !important;
  }

  .sidr-open .navbar-collapse #sidr-wrapper-0 #sidr-0-button:before {
    content: "\f00d";
    font-family: "FontAwesome";
    color: #fff !important;
  }

  .sidr .sidr-inner {
    padding: 20px;
    list-style: none;
  }

  .sidr .sidr-inner .sidr-class-leaf a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #666;
    color: #fff;
  }

  .sidr .sidr-inner .sidr-class-leaf a:hover {
    text-decoration: none;
    color: #999;
  }

  /* Pre content search block */
  .pre-content {
    top: 0 !important;
    margin: 30px 0 0 0 !important;
    z-index: 9 !important;
  }

  .pre-content h4 {
    display: none;
  }

  .block-search .form-item {
    float: none;
    width: 84%;
  }

  .block-search .form-type-textfield {
    float: left;
    margin-top: 10px;
  }

  .block-search .input-group .form-control {
    float: none;
  }

  .block-search .form-type-textfield .form-text {
    border-radius: 5px 5px 5px 5px;
    border: 1px solid #ccc;
  }

  .block-search .form-type-select select {
    border: 1px solid #ccc;
  }

  .pre-content .block-search .form-type-select select {
    border-radius: 5px 5px 5px 5px !important;
  }

  .block-search .form-control.form-select:focus {
    border: 1px solid #ccc;
  }

  .block-search .btn {
    margin-top: 10px;
    padding: 7px;
    width: 14%;
    margin-left: 2%;
  }

  .block-search .dropdown {
    top: 0;
  }

  /* Left search block */
  .region-content .block-search {
    margin-bottom: 20px;
  }

  .region-content .block-search .btn {
    border-radius: 0;
  }

  .region-content .block-search .form-type-select select {
    border-radius: 0;
  }

  .region-content .block-search .form-type-textfield input {
    border-radius: 0;
  }

  /* Front page */
  .front .field-name-body h3 {
    width: auto;
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 20px;
  }

  .front-logo {
    display: none;
  }

  .block-marae-of-interest {
    margin-top: 20px;
  }

  .front-copy {
    text-align: left;
  }

  /* Front page owl carousel */
  .block-marae-of-interest .view-poi .view-header {
    margin-bottom: 30px;
  }

  .view-poi .view-content .owl-item .views-field-title a {
    font-size: 16px;
  }

  /* Footer */
  .footer {
    margin-top: 20px;
    padding-top: 15px;
  }

  .footer .block-mobile {
    border-bottom: 1px solid #888;
  }

  .footer .block-mobile ul {
    height: auto;
    opacity: 1;
    margin: 0 0 20px 0;
  }

  .footer .block-mobile.inactive ul {
    height: 0;
    opacity: 0;
    margin: 0;
  }

  .footer .block-mobile.inactive ul li {
    display: none;
  }

  .footer .block-mobile h2.block-title {
    cursor: pointer;
    position: relative;
    margin: 0;
    padding: 20px 0;
  }

  .footer .block-mobile.inactive h2.block-title:after {
    content: '\F067';
    font-family: 'FontAwesome';
    position: absolute;
    right: 0;
  }

  .footer .block-mobile h2.block-title:after {
    content: '\F068';
    font-family: 'FontAwesome';
    color: #fff;
    position: absolute;
    right: 0;
  }

  .footer .block-mobile h2.block-title:hover,
  .footer .block-mobile h2.block-title:hover:after {
    color: #999;
  }

  .footer .block-find-us-on {
    border-bottom: 1px solid #888;
  }

  .footer .block-find-us-on h2 {
    display: none;
  }

  .footer .block-find-us-on ul {
    margin-bottom: 15px;
  }

  .footer .block-find-us-on ul li {
    display: inline-block;
  }

  .footer .block-find-us-on ul li a {
    font-size: 0;
  }

  /* List page */
  .page-node-14490 .main-container .col-sm-12 {
    padding-right: 15px;
  }

  .block-list-poi {
    width: 100%;
    float: none;
    border: 0;
    height: auto !important;
    padding: 0;
    overflow: visible;
  }

  .block-list-map {
    width: 100%;
    float: none;
    position: static;
  }

  .block-list-map .view-poi .view-content {
    position: static;
    height: 300px;
    margin-bottom: 30px;
  }

  .block-list-poi .view-poi .view-content ul li.views-row {
    max-width: 600px;
    margin: 0 auto 30px;
  }

  .block-list-poi .view-poi .view-content ul li.views-row .views-field-title {
    font-size: 18px;
  }

  /* Details page */
  .poi-left {
    float: none;
    width: 100%;
  }

  .poi-right {
    border-left: 0;
    float: none;
    width: 100%;
  }

  .block-poi-map {
    position: static;
    height: 300px;
    width: 100%;
  }

  .block-poi-map .view-poi .view-content {
    position: static;
    height: 300px;
  }

  .block-marae-of-interest {
    padding: 0;
  }

  .poi-left .print-btn,
  .poi-left .direction-btn {
    padding: 15px 0;
    display: block;
  }

  /* Get direction page */
  .locfield_wrapper {
    display: block;
  }

  #get_directions_button {
    margin: 0 0 20px 0;
  }

  .page-direct-marae #gmap_container {
    float: none;
    margin: 0 0 30px 0;
    width: 100%
  }

  .page-direct-marae #text_directions_container {
    float: none;
    width: 100%;
  }

}

@media (max-width:480px) {

  .page-node-14522 #gmap-auto1map-gmap0 {
    height: 350px !important;
  }

  /* General */
  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 16px;
  }

  h5 {
    font-size: 15px;
  }

  h6 {
    font-size: 14px;
  }

  /* Header */
  a.logo img {
    max-width: 170px;
  }

  .block-language-switch p a.active {
    display: none;
  }

  .navbar-collapse {
    margin-top: 15px;
  }

  /* Pre content search block */
  .block-search .btn {
    font-size: 0;
    margin-top: 10px;
  }

  .block-search .btn:before {
    font-family: "FontAwesome";
    content: "\f002";
    font-size: 18px;
  }

  /* List page */
  .block-list-poi .view-poi .view-content ul li.views-row {
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  /* Details page */
  .poi-left h1 {
    font-size: 22px;
  }

  .block-marae-nearby h2 {
    font-size: 20px;
    margin: 20px 0;
  }

  .poi-left .group-contact-details .field-items .field {
    width: 100%;
    margin: 0 0 3px 0 !important;
  }

  .poi-left .group-key-information .field-items .field {
    width: 100%;
    margin: 0 0 3px 0 !important;
  }

  /* Owl carousel */
  .view-poi .view-content .owl-item,
  .block-marae-nearby .view-poi .view-content .owl-item {
    padding: 5px;
  }

}

/*RL: EDGE css fix for Neil... */
body.edge .js-info-bubble-close {
  right: 3px !important;
  top: 3px !important;
}

.webform-progressbar {

  display: none !important;

}
