/*------------------------------------------
                 Global
-------------------------------------------*/

*, html, body {
  padding: 0;
  margin: 0;
}

html {
  overflow-x: hidden !important;
}

a:active,
a:hover,
a:focus {
  text-decoration: none !important;
}

.clear {
  clear:both;
}

:focus {
  outline: none;
}


.fixed {
  position: fixed !important;
}

.hidden {
  display:none;
}

body.admin-bar #site-navigation {
  top:32px;
}
/*div#content {
    margin-top: 100px;
}

.home div#content {
    margin-top: 100px;
}*/

.flv-container {
  position:relative;
}

.flv-row {
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
}

.fixed-bg {
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.banner,
.banner > .vc_column-inner {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.banner.bottom,
.banner.bottom > .vc_column-inner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 75%;
}

.banner-small {
    background-position: 50% 75%;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 0;
}

.buttons {
  font-family: 'GBook';
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  font-size: 15px !important;
  text-transform: uppercase;
  margin-bottom: 10px!important;
  padding: 5px 10px !important;
  letter-spacing: 1px;
  box-shadow: none;
  border: 0;
  text-shadow: none !important;
  border-radius: 0;
}
.buttons button {
    text-shadow: none;
    background-image: none;
    font-family: "GRMedium";
}

.buttons:active,
.buttons:focus,
.buttons:hover  {
  box-shadow: none;
  border: 0;
  text-shadow: none;
}

.darkblue a,
button.darkblue {
  background-color: #004b67;
}

.darkblue a,
.darkblue a:focus,
.darkblue a:hover,
.darkblue a:visited {
  color: #fff !important;
}

.red a,
button.red  {
  background-color: #C20013;
}

.hentry {
  margin-bottom: 0 !important;
}


button.buttons,
.buttons.red a {

  line-height: 100%;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 10px!important;
  padding: 5px 10px !important;
  letter-spacing: 1px;
}

.grid-btn button {
  text-shadow: none;
  letter-spacing: 1px;
}

.removable-padding {
  padding: 3vh;
}

.p15 {
  padding: 15px;
}

a#scroll-to-top {
    z-index: 999;
}

.error404 section.error-404 {
    margin:100px 0;
    min-height: 26vh;
}

.error404 h1.page-title {
    text-align: center;
    color: #004b67;
}

.modal {
  position: relative !important;
  z-index: 9 !important;
}

.white-text,
.white-text p {
  color: #fff;
}

.white-text li {
  font-family: "GBook";
}

.white-text a {
    color: #fff !important;
    text-decoration: underline;
}

.raw-html {
  margin-bottom: 0 !important;
}


/*------------------------------------------
                 Typography
-------------------------------------------*/


@font-face {
	font-family: 'GRBold';
	src: url('/wp-content/themes/freedom/fonts/GothamRounded-Bold.eot');
	src: url('/wp-content/themes/freedom/fonts/GothamRounded-Bold.eot?#iefix') format('embedded-opentype'),
		url('/wp-content/themes/freedom/fonts/GothamRounded-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'GBook';
	src: url('/wp-content/themes/freedom/fonts/Gotham-Book.eot');
	src: url('/wp-content/themes/freedom/fonts/Gotham-Book.eot?#iefix') format('embedded-opentype'),
		url('/wp-content/themes/freedom/fonts/Gotham-Book.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'GRBook';
	src: url('/wp-content/themes/freedom/fonts/GothamRounded-Book.eot');
	src: url('/wp-content/themes/freedom/fonts/GothamRounded-Book.eot?#iefix') format('embedded-opentype'),
		url('/wp-content/themes/freedom/fonts/GothamRounded-Book.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'GBoldIta';
	src: url('/wp-content/themes/freedom/fonts/Gotham-BoldItalic.eot');
	src: url('/wp-content/themes/freedom/fonts/Gotham-BoldItalic.eot?#iefix') format('embedded-opentype'),
		url('/wp-content/themes/freedom/fonts/Gotham-BoldItalic.woff') format('woff');
	font-weight: bold;
	font-style: italic;
}

@font-face {
	font-family: 'GRMedium';
	src: url('/wp-content/themes/freedom/fonts/GothamRounded-Medium.eot');
	src: url('/wp-content/themes/freedom/fonts/GothamRounded-Medium.eot?#iefix') format('embedded-opentype'),
		url('/wp-content/themes/freedom/fonts/GothamRounded-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'GBookIta';
	src: url('/wp-content/themes/freedom/fonts/Gotham-BookItalic.eot');
	src: url('/wp-content/themes/freedom/fonts/Gotham-BookItalic.eot?#iefix') format('embedded-opentype'),
		url('/wp-content/themes/freedom/fonts/Gotham-BookItalic.woff') format('woff');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'GBold';
	src: url('/wp-content/themes/freedom/fonts/Gotham-Bold.eot');
	src: url('/wp-content/themes/freedom/fonts/Gotham-Bold.eot?#iefix') format('embedded-opentype'),
		url('/wp-content/themes/freedom/fonts/Gotham-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
}

@font-face {
  src:url("/wp-content/themes/freedom/fonts/ArcherPro-Medium.otf") format('opentype');
  font-family: "Archer";
}


h1 {
  text-transform: uppercase;
  font-family: "GRBold" !important;
  margin: 0;
  line-height: 1.2em;
}

h2 {
  text-transform: uppercase;
  font-family: "GRBold" !important;
  margin: 0;
  line-height: 1.2em;
}

h3.subheading {
  text-transform: uppercase;
  font-family: "GRBold" !important;
  margin: 0;
  line-height: 1.2em;
}

h3 {
    margin: 0;
    font-size: 21px !important;
}


h3, h4 {
  color: #51acb9;
}

p,
.text-container li {
  font-family: "GBook";
  color: #004b67;
  /*text-align: center;*/
  font-size: 11pt;
  line-height: 19pt;
}

.archer p,
.archer h3,
.archer a {
  font-family: "Archer";
  color: #004b67 !important;
  font-size: 21px !important;
  line-height: 1.5em;
  font-weight: normal;
  text-align: center;
}

.text-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 35px;
}

.text-container li {
  margin-bottom: 1em;
}

.flv-heading {
  text-align: center;
  font-family: "GRBold";
  margin: 0;
}

.flv-subheading {
  font-family: "Archer";
  font-size: 18px !important;
  color: #51acb9;
  font-weight: normal;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
}

h1.page-title {
    /*text-transform: none;*/
    color: #51acb9 !important;
}

.home-cols .flv-subheading {
  font-size: 25px !important;
}

a:hover {
  text-decoration: none !important;
}

.subheading a {
  color: #fff;
}
.subheading a:hover{
  color: #00b5be;
}
.long-h1 {
    display: block;
    max-width: 700px;
    margin: 0 auto;
}

/*------------------------------------------
                 Header
-------------------------------------------*/
.site-branding {
    display: none;
}

#logo img {
    min-width: 150px;
}


nav#site-navigation {
  background: #004b67;
  /*box-shadow: 0 3px 2px rgba(0,0,0,0.2);*/
  z-index: 10;
  position:fixed;
  top:0;
}


.menu-main-container {
  margin: 0 auto;
  max-width: 1020px;
  position: relative;
  min-height: 100px;
}

ul#primary-menu {
  position: absolute;
  bottom: 20px;
  width: 100%;
}

ul#primary-menu li a {
  font-family: 'GRMedium';
  /*letter-spacing: 2px;*/
  min-width: 80px;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0.5em 1em;
  text-align:center;
  transition: all linear 0.1s;
}
ul#primary-menu li a:visited {
  color: #fff;
}

ul#primary-menu li a:hover {
    color: #dbecf4;
}

ul#primary-menu li.active > a {
  color: #51acb9 !important;
}

ul#primary-menu li a:hover {
  color: #51acb9;
  text-decoration: none !important;
}

ul#primary-menu li.active > a:visited {
  color: #fff;
}

ul#primary-menu ul.sub-menu {
    top:  2em;
    background: #004b67;
    padding: 2em 0 1em;
}

ul#primary-menu li:nth-child(4) {
    position: absolute;
    right: 180px;
}


a#logo {
  position: absolute;
  max-width: 150px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}
/*
a#logo img {
    transition: ease-out 0.3s;
}

a#logo:hover img {
    transform: scale(1.03);
}*/


/*------------------------------------------
                 Search Header
-------------------------------------------*/

#site-navigation form.search-form {
    position: absolute;
    right: 0;
    top: 60%;
    transform: translateY(-50%);
    height: 36px;
}


#site-navigation span.search-toggle-icon {
    position: absolute;
    right: 0;
    height: 36px;
    width: 36px;
    background: #51acb9;
    color: #fff;
    text-align: center;
    border-radius: 0 3px 3px 0;
    /*z-index:9;*/
}
@media (max-width: 768px) {
  #site-navigation form.search-form {
    top: 50%;
  }
  #site-navigation span.search-toggle-icon {
    border-radius: 3px
  }
}

#site-navigation span.search-toggle-icon i {
    padding-top: 7px;
    font-size: 20px;
}

#site-navigation input.search-submit {
    background: transparent;
    box-shadow: none;
    text-shadow:none;
    border: none;
    z-index: 1;
    position: relative;
}
#site-navigation #search-input {
  position:absolute;
  right:30px;
  z-index: -1;
  height:30px;
  border-radius: 3px 0 0 3px;
  /*width:0;*/
  /*opacity:0;*/
  background:#fff;
  border:none;
  text-shadow:none;
  box-shadow:none;
  transition: width ease-in-out 0.3s;
  color: #ccc;
  padding: 1.5em;
  font-size: 12px;
  max-width: 130px;
}


input#search-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #ccc;
  font-family: "GRMedium";
}
input#search-input::-moz-placeholder { /* Firefox 19+ */
  color: #ccc;
  font-family: "GRMedium";
}
input#search-input:-ms-input-placeholder { /* IE 10+ */
  color: #ccc;
  font-family: "GRMedium";
}
input#search-input:-moz-placeholder { /* Firefox 18- */
  color: #ccc;
  font-family: "GRMedium";
}

/*

#site-navigation .open #search-input {
  z-index: 1;
  opacity:1;
  width: 200px;
}

#site-navigation .open input.search-submit {
  z-index:999;
}
#site-navigation .open input.search-submit:hover {
  background: transparent;
  box-shadow: none;
  text-shadow:none;
}

#site-navigation .open span.search-toggle-icon {
  z-index: -998;
}*/


/*------------------------------------------
               Search Results
-------------------------------------------*/


.search-results .entry-summary {
  font-family: "GBook";
  color: #004b67;
  font-size: 15px;
}

.search-results #primary {
    width: 70%;
    float: left;
}

.search-results #secondary {
    width: 20%;
    float: left;
}

.search-results h1.page-title {
    font-family: "GBook";
    font-size: 15px;
    letter-spacing: 1px;
    color: #004b67;
}

.search-results h1.page-title span {
    text-transform: none;
    font-family: "GBook";
    font-size: 16px;
    font-weight: normal;
    letter-spacing:0;
    color: #111;
}

.search-results h2.entry-title {
    font-family: "GBook";
    letter-spacing: 1px;
    text-transform: none;
    font-weight: 100;
    font-size: 1.8em;
    margin-bottom: 0.5em;
}


.search-results p {
    font-family: "GBook";
    text-align: left;
    color: #004b67;
   }


.search-results article {
    margin:5em 0;
}


.search-results #main {
    margin-top: 5vh;
    min-height: 60vh;
}

.search-results .edit-link {
    display: none;
}

/* Sidebar */
aside#secondary {
  margin: 50px;
  padding: 0 30px;
  border-left: 1px solid #dbecf4;
}

aside#secondary .menu-main-container {
    margin: 0 auto 0 0  !important;
}

#secondary span.search-toggle-icon {
  display: none;
}

/*#secondary input#search-input {
    border-radius: 0;
    border: none;
    height: 50px;
    display: block;
    float: left;
    padding-left: 10px;
    background: transparent;
}

#secondary input.search-submit {
  border: none;
  text-shadow: none;
  box-shadow: none;
  border-radius: 0;
  float: right;
  width: 50px;
  height: 100%;
  background: #004b67;
}

#secondary form.search-form {
  height: 50px;
  max-width: 280px;
  position: relative;
  top: 0 !important;
  border: 1px solid #ddd;
}*/


#secondary h2.widget-title {
  text-transform: uppercase;
  font-weight: normal;
  font-family: "GRBook";
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom:1em;
  color: #004b67;
}


#secondary ul,
#secondary ul li {
  list-style-type: none;
  margin-left: 0;
}

#secondary ul li {
border-bottom: 1px solid #eee;
}

#secondary ul li a {
  display:block;
  font-size: 15px;
  font-family: "GBook";
  margin: 5px 0;
  transition: ease 0.2s;
  padding: 10px 10px 10px 0;
  transition: ease 0.2s;
  line-height: 2em;
}

#secondary ul li a:hover {
  padding-left:10px;
}

/* Testimonial Grid */

#testimonial-grid .tg-excerpt p {
    text-align: center !important;
}

#testimonial-grid .tg-text {
    padding: 5% 10% !important;
    min-height: 370px;
}

#testimonial-grid .tg-name {
    font-weight: 600;
    font-style: italic;
}

#testimonial-grid .tg-name p {
    text-align: center !important;
}

#testimonial-grid .tg-img {
    padding: 0 !important;
}

#testimonial-grid .tg-img .wpb_single_image {
    margin: 0 !important;
}

#testimonial-grid .tg-img figure {
    width: 100%;
    height: 100%;
}

#testimonial-grid .tg-img .vc_single_image-wrapper {
    width: 100%;
    height: 100%;
}

#testimonial-grid .tg-img img {
    width: 100%;
    height: auto !important;

    position: absolute;
    top: -35px;
    left: 0;
}

#testimonial-grid .vc-gitem-zone-height-mode-auto:before {
    min-height: 0;
}

@media (max-width: 767px) {
  #testimonial-grid .vc-gitem-zone-height-mode-auto:before {
      min-height: 0;
  }
}

#testimonial-grid .tg-text {
    position: relative;
}

#testimonial-grid .tg-img img {
    width: 100%;
    height: auto !important;
    position: relative;
    top: initial;
    left:  initial;
}

#testimonial-grid .vc_grid-item .vc_gitem-row-position-bottom {
 position:relative;
}

#testimonial-grid .tg-text {
    padding: 5% 10% !important;
    min-height: 300px;
}

@media (min-width:1200px) {

  #testimonial-grid .vc-gitem-zone-height-mode-auto:before {
      padding-top: 290px !important;
  }

}

@media (max-width: 1199px) {
  #testimonial-grid .vc-gitem-zone-height-mode-auto:before {
      padding-top: 60% !important;
  }
}

@media (max-width: 767px) {

    #testimonial-grid .vc-gitem-zone-height-mode-auto:before {
        padding-top: 50vw !important;
    }

    #testimonial-grid .tg-text {
        min-height: 0;
    }
}


/* FAQS popup */

div#pum-447 .pum-title {
    display: none;
}

div#pum-447 h3 {
    font-size: 21px !important;
    padding: 1em 0;
}

div#pum-447 p {
    text-align: center !important;
}

div#pum-447 strong {
    font-family: "GRBold";
}

div#pum-447 .text-container {
    padding:  0 10px 20px;
}


button.pum-close.popmake-close {
    padding: 15px !important;
    font-size: 20px !important;
    font-family: "GRBold" !important;
    display: inline-block;
    height: 20px;
    background: #004c68 !important;
}

/*------------------------------------------
                 Footer
-------------------------------------------*/
#footer {
  /*margin-top: 50px;*/
  background: #fff;
}

#testimonial_carousel .carousel-control {
    display:none;
    background: none !important;
    width: 1em;
    color: #004b67 !important;
    opacity: 1;
}

#testimonial_carousel .carousel-inner {
    min-height: 120px;
}

.bottom-p {
  font-family: 'GBookIta';
  text-align: left;
}

.bottom-p span {
  font-family: 'GBoldIta';
}

.corporate #botspan {
  display: none;
}
span#botspan {
    display: block;
    font-size: 10px;
    text-transform: none;
}

div#site-info {
  width: 100%;
  background: #51acb9;
  position: relative;
}

div#site-info .flv-row {
  position: relative;
}

div#site-info p {
  font-family: 'GRMedium';
  display:inline-block;
  color: #fff;
  margin-bottom: 0;
  padding: 25px 0;
  font-size: 11px;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 0.5px;
}

div#site-info p a {
  color: #fff;
  text-decoration: none;
  transition: all linear 0.1s;
}

div#site-info p a.phone-no {
  font-family: "GRBold";
  font-size: 13pt;
  margin-right: 1em;
}

div#site-info p a:hover {
  color: #dbecf4;
}
#footer-logo {
    position: absolute;
    right: 0;
    bottom: 0;
    background: #004b67;
    max-width: 250px;
}
#footer-logo img {
    width: 100%;
}
#footer {
  border-top: 1px solid #51acb9;
  padding: 0;
}

#footer .flv-row {
  position: relative;
  max-width: 1080px;
}

#footer .buttons.darkblue {
    position: absolute;
    left: 0;
}

#footer #testimonial_carousel .buttons {
    top: -22px;
    padding: 0 !important;
    margin: 0 !important;
    display: block;
}

#footer #testimonial_carousel .buttons a {
    padding: 5px 10px 4px;
}

#footer #testimonial_carousel  {
    padding: 20px 0 0;
}

#footer #testimonial_carousel .item {
    position: relative;
}

#footer #testimonial_carousel .img-container {
    width: 150px;
    height: 100px;
    position: relative;
    overflow: hidden;
    display: inline;
    float: left;
    margin-right: 20px;
}

#footer #testimonial_carousel  img {
    width: 100%;
    height: auto;
    display: block;
    max-width: none;
}

#footer #testimonial_carousel  p {
  font-size: 15px;
  font-style: italic;
  max-width: 60%;
  float: left;
}
/*------------------------------------------
                 Home Content
-------------------------------------------*/
#hero {
    background-size: cover;
    background-position: 35% 50%;
}

/* for background-size:cover replacement on iOS devices */
@media only screen and (orientation: portrait) and (max-width: 320px), (max-width: 768px) {
    #hero {
      -webkit-background-size: auto 150%;
      background-attachment: scroll;
    }
}
@media only screen and (orientation: landscape) and (max-width: 320px), (max-width: 768px) {

    #hero {
      -webkit-background-size: 150% auto;
      background-attachment: scroll;
    }
}

#hero .heading {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -150px;
  z-index:2;
}

#hero .subheading  {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top:-60px;
  color: #fff !important;
  background: #004b67;
  padding:1em 3em 0.5em;
  z-index:1;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2.hero-title {
    background: #004b67;
    padding: 10px 30px;
    font-size: 23px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.shadow-bottom {
  box-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

.now-selling,
.village-completed,
.selling-soon ,
.opening-soon {
  position: relative;
}

.now-selling:before,
.village-completed:before,
.selling-soon:before,
.opening-soon:before {
  font-family: 'GRMedium';
  color: #fff;
  padding: 9px 10px 7px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: absolute;
  top: -5px;
  line-height: 1em;
  margin-left: 15px;
  font-size: 15px;
  font-weight: bold;
  z-index: 2;
}

.now-selling:before {
  content: "Now Selling";
  background: #C20013;
}

.home .now-selling:before,
.page-id-26 .now-selling:before  {
  content: "Stage One Selling now";
  background: #C20013;
}

.selling-soon:before {
  content: "Selling Soon";
  background: #004b67;
}

.opening-soon:before {
  content: "Opening Soon (2018)";
  background: #004b67;
}

.village-completed:before {
  content: "Village Completed";
  background: #51acb9;
}

.home-cols {
    margin: 10px auto !important;
}

.home-cols h3 {
    /*margin-bottom:10px;*/
}

.home-cols .wpb_text_column {
    margin-bottom: 20px !important;
}

.home-cols .buttons.red,
.home-cols .buttons.darkblue {
    margin-bottom: 10px !important;
    font-size: 15px !important;
    font-family: "GRMedium";
    margin-top: 10px;
    padding: 9px 20px 7px !important;
    border-radius: 2px !important;
}

.home-cols .buttons.red a,
.home-cols .buttons.darkblue a {
    display: inline-block;
    padding: 10px 15px !important;
    letter-spacing: 1px;
    border-radius: 2px !important;
    background: #2b352f;
    font-family: "GRBold" !important;
}

@media (max-width: 768px) {

  .home-cols .buttons.red a,
  .home-cols .buttons.darkblue a {
    display: block;
  }
}

.home-cols {
    margin: 20px 0 !important;
}
.home-cols .first-col {
    padding: 10px 0 !important;
}

.home-cols .first-col > .vc_column-inner {
background-position: center bottom !important;
background-repeat: no-repeat;
background-size: cover;
}

.home-cols #cambridge-oaks-flag {
    /* margin-top: -10px; */
    max-width: 250px;
    margin: -10px auto 0;
    height: 220px;
}

.home-cols h3.subheading {
    font-size: 40px !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 20px !important;
}


a.panel-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.home-cols .wpb_raw_html {
    margin: 0;
}

.home-cols .third-col {
   padding-left: 0 !important;
}
.home-cols .fourth-col {
   padding-right: 0 !important;
}

@media (max-width: 991px) {
  .home-cols .third-col {
     padding-right: 0 !important;
  }
  .home-cols .fourth-col {
     padding-left: 0 !important;
     margin-top: 10px !important;
  }
}

a.cover-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display:block;
    z-index:2;
}

.matamata-interest button.panel-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 0;
    border: 0;
    box-shadow: none;
    text-shadow: none;
    padding: 0;
}

.selling-soon.banner >
 .vc_column-inner {
    position: relative;
    z-index: 1;
}

.home-cols button.buttons.darkblue {
  font-size: 15px !important;
}

/* Matamata Register Interest Form */
.matamata-interest form {
  padding: 30px;
}
.matamata-interest form:after {
  clear: both;
}
.matamata-interest form p,
.matamata-interest form span,
.matamata-interest form select,
.matamata-interest form input {
    text-align: left !important;
    width: 100%;
    display: inline-block;
    margin-bottom: 10px;
    height: 40px;
    font-size: 14px;
    font-family: "GRMedium";
}

.matamata-interest form select,
.matamata-interest form input {
     padding-left: 10px;
     border-radius: 3px;
     border:2px solid #51ACB9;
}

.matamata-interest form textarea {
    max-height: 80px;
    padding: 5px 10px;
    font-size: 14px;
    font-family: "GRMedium";
    border:2px solid #51ACB9;
    margin-bottom: 20px;
}

.matamata-interest form input[type="submit"] {
    text-align: center !important;
    box-shadow: none;
    border: none;
    color: #fff;
    background: #004b67;
    transition: ease 0.3s;
    text-transform: uppercase;
    text-shadow: none;
    letter-spacing: 3px;
}

.matamata-interest form input[type="submit"]:hover,
.matamata-interest form input[type="submit"]:active,
.matamata-interest form input[type="submit"]:focus {
    background: #51ACB9;
}

img.callout-logo-svg {
    display: block;
    max-width: 260px;
    margin: 25px auto;
}

img.callout-logo-svg-co {
    max-width: 250px;
    text-align: right;
    display: block;
    margin: -10px auto 20px;
}

/*------------------------------------------
            Frequently Asked Questions
 ------------------------------------------*/


.questions {
    font-family: "GRBold";
    font-size:  14px;
}

.faq-button a {
    border-radius: 2px !important;
    font-family: "GRBold";
    letter-spacing: 1px;
    padding: 10px 20px !important;
}

/* Accordions */
.faq.accordions .vc_tta-panel-body,
.cambridge.accordions .vc_tta-panel-body,
.papamoa.accordions .vc_tta-panel-body {
    padding: 30px 0 !important;
}

.faq.accordions  div.vc_active > .vc_tta-panel-heading,
.cambridge.accordions  div.vc_active > .vc_tta-panel-heading,
.papamoa.accordions  div.vc_active > .vc_tta-panel-heading {
    background: transparent !important;
}

.faq.accordions .vc_tta-panel-heading,
.cambridge.accordions .vc_tta-panel-heading,
.papamoa.accordions .vc_tta-panel-heading {
    background: transparent !important;
}

.faq.accordions h4.vc_tta-panel-title span,
.cambridge.accordions h4.vc_tta-panel-title span,
.papamoa.accordions h4.vc_tta-panel-title span {
    color: #2b352f !important;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    font-family:"GRMedium";
}

/*------------------------------------------
              Royal slider
 ------------------------------------------*/
 .rsTmb {
     position:relative;
 }

 .rsTmb:before {
     position:absolute;
     width:auto;
     height:auto;
     top:50%;
     left:50%;
     transform:translate(-50%,-50%);
     font-family: "FontAwesome";
     content: "\f002";
     color: #fff;
     opacity: 0;
     transition: ease 0.2s;
     z-index: 99;
     font-size:2em;
 }

 .rsTmb:hover:before {
     opacity:1;
 }

 .rsTmb:after {
     transition: ease 0.2s;
     position:absolute;
     width:100%;
     height:100%;
     top:0;
     left:0;
     background:#004b67;
     opacity: 0;
     content:" ";
 }

 .rsTmb:hover:after {
     opacity: 0.6;
 }

 .rsPlayBtnIcon {
   background: url('/wp-content/uploads/2017/01/playbtn.png') !important;
   background-size: contain !important;
 }

/*------------------------------------------
                    About us
-------------------------------------------*/

/* Accordions */
.accordions h4 span {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "GBook"
}

.accordions h4 a {
    position: relative;
    display:inline-block !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.accordions h4 i:before,
.accordions h4 i:after {
    border-color: #fff !important;
}

.accordions div.vc_tta-panel-heading {
    background-color: #51acb9 !important;
    border-radius: 2px !important;
}


.accordions h4 i {
    z-index: 2;
    position: relative;
    margin-left: 10px;
    margin-bottom: 1px;
}

.accordions .vc_tta-panel-body {
    padding: 0 !important;
}

.accordions div.vc_active > .vc_tta-panel-heading {
    background-color: #004b67 !important;
}

div#about-img2 .vc_figure {
    width: 100% !important;
}

div#about-img2 .vc_figure div{
    width: 100% !important;
}

div#about-img2 img {
    width: 100% !important;
}

/* Simple Toggle */
.simple-toggle .vc_tta-panel-heading {
    border: none !important;
}

.simple-toggle h4 a {
    font-size: 16px;
    font-family:"GBook";
    color:  #004b67 !important;
}

.simple-toggle h4 a:hover {
    text-decoration: underline;
    color:  #004b67 !important;
}

.simple-toggle .vc_tta-panel-heading:hover {
    background: transparent !important;
}


.simple-toggle .vc_tta-panel-heading {
  background: transparent !important;
}
.simple-toggle  {
    margin-bottom: 40px !important;
}

.simple-toggle a {
    display: inline-block;
    max-width: 250px;
    margin: 0 auto;
    color: #fff !important;
    background: #004b67 !important;
    border-radius: 2px;
    font-family:"GRMedium" !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.simple-toggle a span {
    color: #fff !important;
}

/* People Grid*/

/* NEW */

.people-row .wpb_wrapper {
    background: #DEECF3;
}

.people-row .people-btn button {
    margin: 0 auto;
    max-width: 200px;
}
.people-row .person-name {
    font-family: "GRBold" !important;
    text-transform: uppercase;
    font-size: 21px !important;
}

.people-row h5.person-position {
    font-family:"archer";
    font-size: 17px;
    color:#004b67;
}

.people-row .people-btn button {
    font-family:"GRMedium";
    font-size: 20px;
    color:#fff !important;
    text-transform: uppercase;
    text-shadow: none;
    background: #004b67 !important;
    cursor: pointer;
    transition: all ease 0.2s;
}


.people-row .people-btn button:hover {
    background: #51acb9 !important;
}

/* People Pop up */

#pum-464 .pum-container,
#pum-462 .pum-container,
#pum-460 .pum-container,
#pum-458 .pum-container,
#pum-451 .pum-container {
    padding: 50px !important;
}

/* OLD */
.people-grid .vc_gitem-post-data-source-post_excerpt,
.people-grid .vc_gitem-post-data-source-post_title,
.people-grid .vc_gitem-post-data-source-post_excerpt p:nth-child(2) {
    margin-bottom: 0 !important;
}

.people-grid .vc_gitem-post-data h4 {
    text-align: center !important;
    font-family: "GBook";
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0;
}
.people-grid .vc_gitem-post-data p {
    font-size: 14px;
    font-family: "Archer";
    color: #fff;
    text-align: center;
 }


.people-grid .vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_excerpt p:first-child,
.people-grid .vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_excerpt p:nth-child(4) {
    display: none;
}

.people-grid .vc_btn3-container.vc_btn3-left {
    display: none;
}

.people-grid .vc_grid-item,
.people-grid .vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_excerpt p:nth-child(2) {
    position:relative;
}

.people-grid .vc_grid-item-mini.vc_clearfix {
    position: relative;
}

.people-grid .vc_gitem-zone.vc_gitem-zone-c {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: ease 0.3s;
}


.people-grid .vc_grid-item:nth-child(odd) .vc_gitem-zone.vc_gitem-zone-c {
    background-color: rgba(0, 181, 190, 0.75) !important;

}


.people-grid .vc_grid-item:nth-child(even) .vc_gitem-zone.vc_gitem-zone-c {
    background-color:rgba(0, 77, 103, 0.75) !important;

}


.people-grid .vc_grid-item:hover .vc_gitem-zone.vc_gitem-zone-c  {
    padding-bottom: 10%;
}

.people-grid .vc_grid-item .open-grid .vc_gitem-zone.vc_gitem-zone-c  {
    padding-bottom: 10%;
}

.people-grid .vc_grid-item .vc_gitem-zone.vc_gitem-zone-c:after {
    position: absolute;
    bottom: -10px;
    left: 47.5%;
/*     transform: translateX(-50%); */
    transition: ease 0.25s;
    width:auto;
    height:auto;
    font-size:15px;
    content: "+";
    color: #fff;
    font-weight: bold;
    opacity: 0;
}

.people-grid .vc_grid-item:hover .vc_gitem-zone.vc_gitem-zone-c:after {
    bottom: 5px;
    opacity:1;
}

.people-grid .vc_grid-item  .vc_gitem-zone.open-grid.vc_gitem-zone-c:after {
  bottom: 5px;
  opacity:1;
  content: "-";
}

.vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_excerpt {
    overflow: hidden;
    height: auto;
}

p.people-content {
  /*opacity:0;*/
  font-family: "GBook" !important;
  font-size: 14px;
  /*transition: ease 0.3s;*/
  color: #fff;
  display:none;
  border: 1px solid transparent;
  margin-top: 1em;
}




/* New People Grid */
#desktop-people-grid {
  display:block;
}

#mobile-people-grid {
  display:none;
}
.mobile-new-people-grid .person-name h3,
.mobile-new-people-grid .position,
.mobile-new-people-grid .person-excerpt p,
.new-people-grid .person-name h3,
.new-people-grid .position,
.new-people-grid .person-excerpt p {
    color: #fff;
}

.mobile-new-people-grid .person-name h3,
.new-people-grid .person-name h3 {
    font-family:"GRMedium";
    text-transform: uppercase;
    font-size: 16px !important;
}

.mobile-new-people-grid .person-name,
.new-people-grid .person-name {
    margin-bottom: 0.5em !important;
}

.mobile-new-people-grid .position,
.new-people-grid .position {
    font-family: "Archer" !important;
    font-size: 14px;
    margin-bottom: 0.5em !important;
}


.mobile-new-people-grid .person-excerpt p,
.new-people-grid .person-excerpt p {
    font-family: "Gbook" !important;
    font-size: 13px;
}
.new-people-grid .vc_gitem_row.vc_row.vc_gitem-row-position-middle {
    top: 0 !important;
    transform: none !important;
}

.new-people-grid .vc-gitem-zone-height-mode-auto:before {
    padding-top: 75%;
}

@media (max-width: 1049px) {

  .new-people-grid .vc-gitem-zone-height-mode-auto:before {
      padding-top: 85%;
  }

}
@media (max-width: 1000px) {

  .new-people-grid .vc-gitem-zone-height-mode-auto:before {
      padding-top: 90%;
  }

}
@media (max-width: 980px) {

  .new-people-grid .vc-gitem-zone-height-mode-auto:before {
      padding-top: 98%;
  }

}


@media (max-width: 950px) {

    #desktop-people-grid {
      display:none;
    }

    #mobile-people-grid {
      display:block;
    }

}

#mobile-people-grid .person-image figure,
#mobile-people-grid .person-image figure > div,
#mobile-people-grid .person-image figure > div > img {
    width: 100%;
}


#mobile-people-grid .vc-gitem-zone-height-mode-auto.vc-gitem-zone-height-mode-auto-4-3:before {
    padding-top: 100% !important;
}
#mobile-people-grid .person-content {
    min-height: 261px;
}

@media (max-width: 768px) {
  #mobile-people-grid .vc_grid-item {
      width: 50%;
      float: left;
  }
}

@media (max-width: 540px) {
  #mobile-people-grid .vc_grid-item {
      width: 100%;
      float: none;
  }
  #mobile-people-grid .person-content {
      min-height: 0;
  }
}
/*---------------------------
            GRIDS
----------------------------*/


/* homes grid */
.house-grid .vc_grid-item {
    position:relative;
    margin-bottom: 30px;
}

.house-grid .vc_grid-item:before {
    position: absolute;
    top: -10px;
    /*line-height: 14px;*/
    left: 20px;
    width:  auto;
    height: auto;
    content: "One Bedroom Duplex";
    background: #C20013;
    color: #fff;
    font-family: "GRMedium";
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 10px 0;
    z-index:3;

}


.house-grid .vc_grid-item:nth-child(2):before {
  content: "Two Bedroom Duplex";
}

.house-grid .vc_grid-item:nth-child(3):before {
  content: "Three Bedroom Duplex";
}

.house-grid .vc_grid-item:nth-child(4):before {
  content: "Three Bedroom Stand-alone";
}

.house-grid .vc_grid-item:nth-child(5):before {
  content: "One Bedroom Apartment";
}

.house-grid .vc_grid-item:nth-child(6):before {
  content: "House Type Six";
}

.house-grid p {
    text-align: center;
}

.house-grid .vc_gitem-zone.vc_gitem-zone-a {
    background-size: contain;
    border: 1px solid #ecf3f5;
    border-bottom: 0;
}

.house-grid .vc_gitem-zone.vc_gitem-zone-c {
    border-top: 5px solid #004b67;
}

.house-grid .vc_gitem_row .vc_gitem-col {
  padding-top: 0 !important;
}

.house-grid .vc_gitem-post-data.vc_gitem-post-data-source-post_title {
    text-align:center;
    margin-bottom: 0;
}

.house-grid .vc_gitem-post-data.vc_gitem-post-data-source-post_title h3 {
    color: #004b67;
    text-transform: uppercase;
    font-family: "GRBold";
    margin-bottom: 0;
    text-align: center !important;
    font-size: 1.2em;
    padding-top: 1em;
}



/*.house-grid h3 {
    color: #004b67;
    text-transform: uppercase;
    font-family: "GRMedium";
    margin-bottom: 5px;
}*/

.house-grid .price p {
    color: #51acb9;
    display:none;
}

.house-grid .includes {
    margin-bottom: 30px !important;
    display:none;
}

.house-grid .includes p {
    font-style: italic;
    font-size: 13px;
    color: #51acb9;
}

.house-grid .vc_gitem-post-data.vc_gitem-post-data-source-post_excerpt {
    padding: 0 20px;
    margin-bottom: 0;
}

.house-grid .vc_gitem-post-data.vc_gitem-post-data-source-post_excerpt p:first-child {
    display: none;
}

.house-grid .vc_gitem-post-data.vc_gitem-post-data-source-post_excerpt p {
    color: #004b67;
    font-family: "GBook";
}

.house-grid .hg-btn {
    bottom: 10px;
    position: absolute;
    width: 95%;
    margin: 0 auto;
}

.house-grid .hg-text {
  position: relative;
  min-height: 300px;
}

#filler {
  display: none;
}
#filler .vc_gitem-zone.vc_gitem-zone-a.vc_gitem-is-link {
    background-size: cover;
    border: none;
    background-repeat: no-repeat;
}

.house-grid #filler {
  display: inline-block;
}

.cambridge-oaks .house-grid #filler .vc_gitem-zone.vc_gitem-zone-c {
    border: none;
    background: #2b352f !important;
}

#filler .filler-text {
    color: #fff !important;
}

.house-grid #filler:before {
    display: none;
}

.house-grid #filler .filler-text {
    text-transform: uppercase;
    text-align: left !important;
    display: block;
}

.house-grid #filler h3.filler-text {
    color: #51acb8 !important;
    font-size: 28px !important;
    padding-top: 10px !important;
}

.house-grid #filler h5.filler-text {
    font-family:"GRMedium";
    margin-bottom: 0;
}

.house-grid #filler .filler-flag {
  background: url('/wp-content/themes/freedom/images/flag-panel.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  height: 120px;
  max-width: 300px;
  margin-left: auto;
  position: relative;
}

.house-grid #filler p.filler-text {
  text-transform: capitalize;
  font-size: 13px;
}

.house-grid #filler p.filler-text.address {
  font-family: "GRBold" !important;
}
.house-grid #filler .filler-flag p {
  display: block;
  text-align: left;
  font-family: "GRMedium";
  color: #fff !important;
  max-width: 80%;
  margin-left: auto;
  padding: 0;
  line-height: 1.5em;
  font-size: 13px;
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
}

.house-grid #filler .filler-flag p span {
    font-family: "GRBold";
    display:block;
    text-align: left;
    margin-left: auto;
}
#filler .vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_excerpt {
    padding: 0 0 15px;
    margin-left: auto;
    width: 90%;
}

#filler .vc_col-sm-12.hg-text.vc_gitem-col.vc_gitem-col-align- {
    padding: 0 !important;
}

#filler .vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_title {
    padding: 5px 30px 5px;
}



.house-grid .vc_btn3-container {
    margin-bottom:0;
}

.house-grid .hg-btn a {
    width: 100%;
    background: #004b67 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "GBook";
    color: #fff !important;
    font-size: 0.8em !important;
    border-radius: 2px !important;
    padding: 10px 20px !important;
    margin-bottom: 0;
    transition: ease-out 0.3s;
}

.house-grid .hg-btn a:hover {
    letter-spacing: 2px;
}

/* home single desktop */


.single-homes .pre-header {
    text-align: center;
}

.single-homes .pre-header h1 {
    color: #004b67;
}

.single-homes .pre-header p {
    max-width: 80%;
    margin: 1em auto;
}

.listing-single,
.home-single {
    position: relative;
    margin: 50px auto;
}

.listing-single .single-content,
.home-single .single-content{
    width: 50%;
    float:left;
    padding:30px 40px 20px;
    height: 100% !important;
}
.listing-single .single-content.right,
.home-single .single-content.right {
  /*background: #ecf3f5;*/
}
.listing-single .single-content.right h1,
.home-single .single-content.right h1 {
  color: #004b67;
  margin-bottom: 0;
  line-height:1.3em;
  font-size:25px;
}

.listing-single .single-content.right h4,
.home-single .single-content.right h4 {
  text-transform: uppercase;
  font-family: "Gbook";
  color: #51acb9;
  font-size:15px;
}

.single-content h4.future {
    font-size: 14px !important;
    font-family: "GRBold" !important;
    margin:  2em 0 1em;
}

.listing-single .single-content.right h4 {
  margin-bottom: 1em;
}

.listing-single .single-content.right span,
.home-single .single-content.right span {
  color: #004b67;
  font-style: italic;
  text-transform: none;
  font-size: 13px;
  line-height: 1em;
}
.listing-single .single-content.right p,
.home-single .single-content.right p {
  text-align:left;
}

/* left */




.home-single:before {
    position: absolute;
    top: -10px;
    left: 20px;
    width:  auto;
    height: auto;
    content: "Home Type one";
    background: #eb2025;
    color: #fff;
    font-family: "GBook";
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 10px 0;
}


.single-houses .home-single:before {
    display: none;
}


.single-content.left {
    padding: 0;
}

.main-image {
  max-height: 400px;
  min-height: 250px;
  background: #fff;
  overflow:hidden;
}

.main-image img {
  width: 100%;
}

.main-image img {
    vertical-align: bottom;
    display:inline;
}

.extra-image .owl-carousel.owl-drag .owl-item {
    max-height: 119px;
    overflow-y: hidden;
}
.extra-image .slides {
    margin: 0;
    /*list-style-type: none;
    display:flex;
    flex-wrap: nowrap;
    justify-content:center;*/
}
.owl-carousel .owl-item {
  min-height: inherit;
}

.owl-prev {
    position: absolute;
    top: 50%;
    left: 5px;
    color: rgba(255,255,255,0.9);
    font-size: 1.5em;
    transform: translateY(-50%);
    transition:  ease all 0.3s;
}

.owl-next {
    position: absolute;
    top: 50%;
    right: 5px;
    color: rgba(255,255,255,0.9);
    font-size: 1.5em;
    transform: translateY(-50%);
    transition:  ease all 0.3s;
}

.owl-nav i {
    color: #fff;
    transition: all ease 0.3s;
    text-shadow: 0 2px 5px rgba(0,0,0,0);
}

.owl-nav i:hover {
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}


.owl-next:hover {
    right: 7px;
}

.owl-prev:hover {
left: 7px;
}


.extra-image .slide {
    /*width: 33.33%;
    overflow: hidden;
    position: relative;*/
}

.extra-image  img {
    width: 100%;
    min-height: 120px;
    height: auto;
}

.single-content.left .attachments {
    background: #004b67;
    width:100%;
    position:relative;
    text-align:center;
    min-height: 200px;
}

.attch-cont {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}

.single-content.left .attachments i {
    color: #fff;
    font-size:2em;
    display:inline-block;
    vertical-align:top;
    margin-top:2px;
}

.single-content.left .attachments h6 {
    color: #fff;
    font-size:12px;
    max-width:230px;
    margin-top: 3px !important;
    margin-left:20px;
    text-align:left;
    display:inline-block;
    text-transform:uppercase;
    font-family:"Gbook";
    letter-spacing:1px;
}

.single-content.left .attachments .btns {
    margin-top: 20px;
}

.single-content.left .attachments .btns a,
.single-content.left .attachments .btns button {
    padding: 0.7em 0;
    color: #fff;
    transition: ease-out 0.2s;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    font-family: "GRBold";
    display: inline-block;
    min-width: 180px;
    box-shadow: none;
    border: 0;
    line-height: 1.5em;
}

.single-content.left .attachments .btns a:first-child {
    margin-right:10px;
    background: #86b1cf;
}

.single-content.left .attachments .btns button {
    background: #51acb9;
}

.single-content.left .attachments .btns a:first-child:hover {
    background: #5e8192;
}

.single-content.left .attachments .btns button:hover {
    background: #008990;
}

.single-content.left .attachments .btns a:nth-child(2) {
    background: #00b5be;
}


/* pretty photo */
.pp_left,
.pp_right,
.pp_bottom,
.pp_content,.pp_middle {
    background: none !important;
}

.pp_details,
.pp_bottom {
    display: none;
}

.owl-item a {
    display: block;
}

/* How it works */
.modal-contents
 h3 {
    text-transform: uppercase;
    margin-bottom: 15px;
}

.modal-contents img {
    width: 100%;
    margin-bottom: 30px;
}
.nch-lb-icon-exit {
    background: transparent;
}

.nch-lb-exit-inner {
    background: #004B67;
    padding: 7px;
    border-radius: 0 0 0 2px;

}
.nch-lb-exit-inner .nch-lb-icon-exit {
    color: #fff;
    vertical-align: bottom;
    text-align: center;
    padding: 0;
    margin: 0;
    width: 30px;
    height: 30px;
    line-height: 100%;
    font-size: 26px;
}

.nch-lb-media.nch-lb-media-html {
    box-shadow: 0 3px 40px rgba(0,0,0,0.3) !important;
    background: #ecf3f5;
}
.nch-lb-media.nch-lb-media-html::-webkit-scrollbar {
  width: 2px;  /* for vertical scrollbars */
}

.nch-lb-media.nch-lb-media-html::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.nch-lb-media.nch-lb-media-html::-webkit-scrollbar-thumb {
  background: #51ACB9;
}
/*------------------------------------------
                Media Query
-------------------------------------------*/

@media screen and (max-width: 1140px) {
  .menu-main-container,
  .container,
  .flv-row {
    max-width: 90% !important;
    margin: 0 auto !important;
  }


}

@media screen and (max-width: 1024px) {
    #responsive-menu-container #responsive-menu-wrapper {
        margin-top: 50%;
    }
    #responsive-menu-container li.responsive-menu-item {
      margin-bottom: 1.5em;
      font-family: "Gbold";
      text-transform: uppercase;
      letter-spacing: 2px;
    }
    body button#responsive-menu-button {
      left:5%;
      background: transparent;
      box-shadow: none;
    }


    body button#responsive-menu-button:hover {
      background: transparent;
    }
  /* Hero */
  #hero .heading {
    font-size:23px !important;
    min-width: 55% !important;
    margin-top: -120px !important;
  }
/*
  #hero .subheading {
    font-size:14px !important;
    margin-top: -40px !important;
  }*/
  #hero p.subheading {
      padding: 1.8em 1.5em 1em;
      margin-top: -55px !important;
  }

  div#site-info p {
    font-size: 9px;
  }

  /* home single */
  .home-single .single-content {
    width: 100%;
  }


  /* Footer */

  #footer .cols img {
      max-width: 150px;
  }

  aside#secondary #search-2 {
      display: none;
  }

}


@media (max-width: 960px) {

  #shiftnav-toggle-main,
  .shiftnav-toggle-mobile {
    display: block !important;
    position: fixed !important;
  }
}
@media (max-width: 960px) {
  ul#primary-menu {
    display: none;
  }

  button#responsive-menu-button {
    position: fixed !important;
    top:25px !important;
  }

  body.admin-bar button#responsive-menu-button {
    top: 55px !important;
  }

  div#responsive-menu-wrapper {
    margin-top: 25%;
  }

  #site-info a.phone-no {
    display:none;
  }
  #footer-logo {
    display: none;
  }

}

@media (max-width: 768px) {


  #site-navigation form.search-form {
    top: 50% !important;
  }

  body.admin-bar button#responsive-menu-button {
    top: 70px !important;
  }

  /* Header */
  .admin-bar #site-navigation {
    top: 46px !important;
  }

  #masthead form.search-form input#search-input {
    /*display:none;*/
  }

/*
  #masthead span.search-toggle-icon {
    width: 50px;
    height: 50px;
  }

  #masthead span.search-toggle-icon i {
    padding-top: 8px;
    font-size: 2em;
  }*/


  /* Hero */
  #hero .heading {
    font-size:18px !important;
  }

  #hero .subheading {
    font-size:10px !important;
  }

  /* Content */

  .people-grid .vc_grid-item.vc_clearfix.vc_col-sm-3.vc_grid-item-zone-c-bottom.vc_visible-item {
      width: 50%;
  }




  section#primary {
    width: 100% !important;
}

aside#secondary {
    width: 100% !important;
    padding-left: 0;
    border-left: 0;
    margin: 50px 0 35px 35px !important;
}


}

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

 /* Header */
 #wpadminbar {
   position: fixed;
 }
  /* Hero */
  #hero .heading,
  #hero .subheading {
    display: none;
  }

  /* Content */

  .people-grid .vc_grid-item.vc_clearfix.vc_col-sm-3.vc_grid-item-zone-c-bottom.vc_visible-item {
      width: 100%;
  }

  /* home single */
  .single-content.left .attachments .btns a:first-child {
      margin-right:  0;
      margin-bottom: 10px;
  }

  .home-single .single-content.right h4 {
      margin-bottom: 1em;
  }

  .home-single .single-content.right h1 {
      margin-top: 1.5em;
  }

  /* Grid min height + spacing */

  .vg-single .wpb_wrapper {
    margin-bottom:  15px;
  }

  .ppm-grid .excerpt,
  .village-grid .excerpt {
      min-height: initial !important;
  }

  /* Modal Contents */
  .modal-contents .wpb_single_image{
      display: none;
  }
  .modal-contents h3 {
       margin-top: 1em;
   }

  /* Footer */

  div#site-info p {
    font-size: 9px;
  }
  #footer {
    display:none;
  }
}.ts-modal-white-inner div#contact-form input,
.ts-modal-white-inner div#contact-form textarea {
    background: #fff;
}
.ts-modal-white-inner div#contact-form input[type="submit"] {
    background: #004B67 !important;
}

@media screen and (max-width: 600px) {
  #site-navigation form.search-form {
      right: 15px;
  }

  #admin-bar {
    display: none;
  }

  div#hero {
      display: none;
  }
  #site-info p {
    text-align: center !important;
  }
}

h3.shiftnav-menu-title.shiftnav-site-title {
    display: none;
}

nav.shiftnav-nav ul li a {
    font-family: "GRMedium";
}

#shiftnav-toggle-main .shiftnav-toggle-burger, #shiftnav-toggle-main.shiftnav-toggle-main-entire-bar:before {
    padding: 40px 50px !important;
}
a.shiftnav-target.shiftnav.shiftnav-nojs.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item > .shiftnav-target:hover,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-active > .shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-in-transition > .shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu > li.shiftnav-sub-accordion.current-menu-ancestor > .shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu > li.shiftnav-sub-shift.current-menu-ancestor > .shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-highlight li.menu-item > .shiftnav-target:active,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-on-hover li.menu-item > .shiftnav-target:hover {
    background: #004b67 !important;
}

.shiftnav.shiftnav-skin-standard-dark,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu {
    background: #2b352f;
}

.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item > .shiftnav-target {
    border-color: rgb(38, 47, 41);
    /*background-color: #2c362f;*/
}
span.shiftnav-panel-close {
    background: none !important;
}
.cambridge-oaks a.shiftnav-target.shiftnav.shiftnav-nojs.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item > .shiftnav-target:hover,
.cambridge-oaks .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-active > .shiftnav-target,
.cambridge-oaks .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-in-transition > .shiftnav-target,
.cambridge-oaks .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target,
.cambridge-oaks .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu > li.shiftnav-sub-accordion.current-menu-ancestor > .shiftnav-target,
.cambridge-oaks .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu > li.shiftnav-sub-shift.current-menu-ancestor > .shiftnav-target,
.cambridge-oaks .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-highlight li.menu-item > .shiftnav-target:active,
.cambridge-oaks .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-on-hover li.menu-item > .shiftnav-target:hover {
    background: #51acb9 !important;
    border: none;
}
.papamoa-sands a.shiftnav-target.shiftnav.shiftnav-nojs.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item > .shiftnav-target:hover,
.papamoa-sands .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-active > .shiftnav-target,
.papamoa-sands .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-in-transition > .shiftnav-target,
.papamoa-sands .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target,
.papamoa-sands .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu > li.shiftnav-sub-accordion.current-menu-ancestor > .shiftnav-target,
.papamoa-sands .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu > li.shiftnav-sub-shift.current-menu-ancestor > .shiftnav-target,
.papamoa-sands .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-highlight li.menu-item > .shiftnav-target:active,
.papamoa-sands .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-on-hover li.menu-item > .shiftnav-target:hover {
    background: #549f99 !important;
    border: none;
}

#our-villages h2.vc_custom_heading.flv-heading {
    max-width: 700px;
    margin: 0 auto;
}

div#totop {
    display: block;
    position: fixed;
    bottom: 20%;
    right: 0;
    z-index: 999999;
}

div#totop i {
    font-size: 2em;
    color: #fff;
    background: #004b67;
    padding: 0.3em 0.5em;
    border-radius: 4px 0 0 4px;
    transition: all ease 0.3s;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

div#totop i:hover {
    background: #51acb9;
    cursor: pointer;
}

@media (max-width: 600px) {
    html #shiftnav-toggle-main~#wpadminbar {
        top: 0 !important;
    }
    #shiftnav-toggle-main .shiftnav-toggle-burger,
    #shiftnav-toggle-main.shiftnav-toggle-main-entire-bar:before {
        position: fixed !important;
        /*top: 50px;*/
        padding: 40px 50px !important;
    }

}
@media (max-width: 400px) {

    #shiftnav-toggle-main .shiftnav-toggle-burger,
    #shiftnav-toggle-main.shiftnav-toggle-main-entire-bar:before {
        padding: 40px 35px !important;
    }


      div#totop {
          bottom: 10%;
      }
}

@media screen and (orientation:landscape)
and (max-width: 768px) {
  div#shiftnav-toggle-main {
    display:none;
  }
}

@media screen and (orientation:landscape)
and (max-width: 700px) {
  div#hero {
      display: none;
  }


  div#totop {
      bottom: 10%;
  }

  .cambridge-oaks .menu-childsite-main-container,
  .papamoa-sands .menu-childsite-main-container {
    display:none;
  }
}


@media (max-width: 768px) {


  form.search-form {
      /*margin-top: 5px;*/
      margin-right: -20px;
  }
}

@media (max-width: 500px) {


form.search-form {
    margin-top: 5px;
    margin-right: -20px;
}

form.search-form input[type='text'] {
    max-width:50px !important;
    padding-left: 10px !important;
}

form.search-form input[type='text']::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: transparent !important;
}
form.search-form input[type='text']::-moz-placeholder { /* Firefox 19+ */
  color: transparent !important;
}
form.search-form input[type='text']:-ms-input-placeholder { /* IE 10+ */
  color: transparent !important;
}
form.search-form input[type='text']:-moz-placeholder { /* Firefox 18- */
  color: transparent !important;
}
}

.shiftnav-open #shiftnav-toggle-main.shiftnav-toggle-icon-x .shiftnav-toggle-burger .fa:before,
.shiftnav-open #shiftnav-toggle-main.shiftnav-toggle-main-entire-bar.shiftnav-toggle-icon-x:before {
  display: none !important;
}

/* Device Landscapes */


/* ----------- iPhone X ----------- */
@media only screen
  and (min-width: 375px)
  and (max-width: 812px)
  and (-webkit-min-pixel-ratio: 3)
  and (orientation: landscape) {
    #hero {
display: none !important;
    }
}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */
@media only screen
  and (min-width: 414px)
  and (max-width: 736px)
  and (-webkit-min-pixel-ratio: 3)
  and (orientation: landscape) {
    #hero {
display: none !important;
    }
}

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */
@media only screen
  and (min-width: 375px)
  and (max-width: 667px)
  and (-webkit-min-pixel-ratio: 2)
  and (orientation: landscape) {
    #hero {
display: none !important;
    }
}

/* ----------- iPhone 5, 5S, 5C and 5SE ----------- */
@media only screen
  and (min-width: 320px)
  and (max-width: 568px)
  and (-webkit-min-pixel-ratio: 2)
  and (orientation: landscape) {
    #hero {
display: none !important;
    }
}

/* ----------- iPhone 4 and 4S ----------- */
@media only screen
  and (min-width: 320px)
  and (max-width: 480px)
  and (-webkit-min-pixel-ratio: 2)
  and (orientation: landscape) {
    #hero {
display: none !important;
    }
}

/* ----------- Galaxy S3 ----------- */
@media screen
  and (max-width: 320px)
  and (max-height: 640px)
  and (-webkit-pixel-ratio: 2)
  and (orientation: landscape) {
    #hero {
display: none !important;
    }
}

/* ----------- Galaxy S4, S5 and Note 3 ----------- */
@media screen
  and (max-width: 320px)
  and (max-height: 640px)
  and (-webkit-pixel-ratio: 3)
  and (orientation: landscape) {
    #hero {
display: none !important;
    }
}

/* ----------- Galaxy S6 ----------- */
@media screen
  and (max-width: 360px)
  and (max-height: 640px)
  and (-webkit-pixel-ratio: 4)
  and (orientation: landscape) {
    #hero {
display: none !important;
    }
}

/* ----------- Google Pixel ----------- */
@media screen
  and (max-width: 360px)
  and (max-height: 640px)
  and (-webkit-pixel-ratio: 3)
  and (orientation: landscape) {
    #hero {
display: none !important;
    }
}

/* ----------- Google Pixel XL ----------- */
@media screen
  and (max-width: 360px)
  and (max-height: 640px)
  and (-webkit-pixel-ratio: 4)
  and (orientation: landscape) {
    #hero {
display: none !important;
    }
}

/* ----------- HTC One ----------- */
@media screen
  and (max-width: 360px)
  and (max-height: 640px)
  and (-webkit-pixel-ratio: 3)
  and (orientation: landscape) {
    #hero {
display: none !important;
    }
}

/* ----------- Windows Phone ----------- */
@media screen
  and (max-width: 480px)
  and (max-height: 800px)
  and (orientation: landscape) {
    #hero {
display: none !important;
    }
}

@media (max-width: 600px) {
  .freedom-corporate.admin-bar #content {
      margin-top: 155px !important;
  }
  .freedom-corporate #content {
      margin-top: 110px !important;
  }
}



.wpcf7-response-output {
    margin: -20px 0 0 0 !important;
    color: #1d440c !important;
    font-family: "GRBook" !important;
    border: 0 !important;
    background: rgba(57, 143, 20, 0.22) !important;
    padding: 10px 20px !important;
}
