/*
Theme Name: Landcap
Author: ThreeAM Web + IT
Author URI: https://threeam.com.au
Description: Custom Theme by ThreeAM Web + IT
*/

p {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

:root {
  --tateru-color-primary: #545E2E;
  --tateru-color-secondary: #DEE8D6;
  /* --tateru-color-offwhite: #EAEAEA; */
  --tateru-color-white: #ffffff;
  --tateru-color-grey: #424B4F;
  /* --tateru-color-darker-grey: #333333; */
  --tateru-color-black: #000000;

  --tateru-default-padding: 70px;
  --tateru-line-width: 0.85px;

  --tateru-primary-font: 'neue-haas-grotesk-display', sans-serif;
  --tateru-heading-font: 'larken', sans-serif;
  --tateru-subheading-font: 'larken', sans-serif;
  --tateru-button-font: 'larken', sans-serif;

  --tateru-body-color: var(--tateru-color-black);

  --tateru-site-top-padding: 170px;
  --tateru-megamenu-top-pos: 130px;
}

::selection {
  color: var(--tateru-color-white);
  background-color: var(--tateru-body-color);
}

/* Image with 'data' attribute is hidden */
img[data-lazy-src] {
  /* we set the opacity to 0 */
  opacity: 0;
}
/* Image without 'data' attribute is (or becomes) visible */
img.lazyloaded {
  /* prepare the future animation */
  -webkit-transition: opacity .5s linear 0.2s;
  -moz-transition: opacity .5s linear 0.2s;
  transition: opacity .5s linear 0.2s;
  /* we set the opacity to 1 to do the magic */
  opacity: 1;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--tateru-color-white);
  font-size: 14.5px;
  letter-spacing: 0.5px;
  line-height: 1.4;
  font-weight: normal;
  color: var(--tateru-body-color);
  font-family: var(--tateru-primary-font);
  -webkit-text-rendering: optimizeLegibility;
  max-width: 100vw;
  overflow-x: hidden;
}

body.mce-content-body {
  background-color: var(--tateru-color-white);
  color: var(--tateru-color-black);
}

body.disable-scroll {
  /* height: 100dvh;
  overflow: hidden */
}

a {
  color: var(--tateru-color-primary);
}

a:hover {
  /* color: #514B46; */
  color: var(--tateru-color-primary);
  text-decoration: none;
}

a:hover:not(.button) {
  opacity: 0.8;
}

.logo a:hover {
  opacity: 1;
}

.content,
.mce-content-body {
  word-wrap: break-word;
}
.content p,
p {
  margin-bottom: 25px;
}

.content p:last-child,
p:last-child {
  margin-bottom: 0;
}

p:empty {
  display: none;
}

table {
  text-align: left;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

td, th {
  padding: 0.5em;
  border-bottom: 1px solid #f1f1f1;
}

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

@media only screen and (max-width:480px){
  .single .alignright,
  .single .alignleft {
    float:none;
  }
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.hidden-positioned-anchor {
  position: absolute;
  top: -115px;
  height: calc(100% + 115px);
  width: 100%;
  pointer-events: none;
  opacity: 0;
  filter: opacity(0);
  visibility: hidden;
}



@media screen and (max-width: 1200px) {
  .hidden-positioned-anchor {
    /* top: -91px;
    height: calc(100% + 91px); */
  }

  body {
    /* padding-top: 80px; */
  }
}

.wrapper {
  max-width: 1800px;
  margin: 0 auto;
}

.inner-wrapper {
  max-width: 1150px;
  margin: 0 auto;
}

@media screen and (max-width: 1290px) {
  .inner-wrapper {
    /* max-width: 1300px; */
    padding-left: var(--tateru-default-padding);
    padding-right: var(--tateru-default-padding);
    max-width: 100%;
  }
}

/*@media screen and (max-width: 2100px) {
  .wrapper {
    max-width: 1800px;
  }
}
*/
/*@media screen and (max-width: 1900px) {
  .wrapper {
    max-width: 1500px;
  }
}*/



/* @media screen and (max-width: 1200px) {
  .wrapper {
    max-width: calc(100% - 50px);
  }
} */

h1, .h1-style,
h2, .h2-style,
h3, .h3-style,
h4, .h4-style,
h5, .h5-style,
h6, .h6-style {
  font-family: var(--tateru-heading-font);
  /* font-family: var(--tateru-primary-font); */
  font-weight: normal;
}

.heading em {
  font-family: var(--tateru-heading-font);
}

.heading p {
  text-box-trim: none;
  text-box-edge: auto;
}

h1, .h1-style,
h2, .h2-style {
  font-size: 40px;
  line-height: 130%;
}

h3, .h3-style {
  font-size: 32px;
  line-height: 1.2;
}

h4, .h4-style {
  font-size: 24px;
  line-height: 1.3;
}

h5, .h5-style {
  font-size: 20px;
}

h6, .h6-style {
  font-size: 16px;
}

.heading {
  /* color: var(--tateru-color-primary); */
}

.heading h1.the-heading,
.heading h2.the-heading {
  margin-bottom: 35px;
  color: inherit;
}

.heading h3.the-heading {
  /* margin-top: 6px; */
  margin-bottom: 35px;
}

.heading .the-heading:not(:has(+ .button)) {
  margin-bottom: 0;
}


.heading .button:not(:last-child) {
  margin-right: 10px;
}



.overlay {
  width: 625px;
  max-width: max-content;
}

/* @media screen and (max-width: 1600px) {
  :root {
    --tateru-default-padding: 60px;
  }
} */

@media screen and (max-width: 1500px) {
  /* h1, .h1-style,
  h2, .h2-style {
    font-size: 32px;
    line-height: 120%;
  }
  
  h3, .h3-style {
    font-size: 26px;
    line-height: 1.4;
  }
  
  h4, .h4-style {
    font-size: 24px;
    line-height: 1.4;
  }
  
  h5, .h5-style {
    font-size: 17px;
  }
  
  h6, .h6-style {
    font-size: 15px;
  } */
}

@media screen and (max-width: 1200px) {
  h1, .h1-style,
  h2, .h2-style {
    font-size: 32px;
    line-height: 120%;
  }

  h3, .h3-style {
    font-size: 26px;
    line-height: 1.4;
  }
}


@media screen and (max-width: 1000px) {
  h1, .h1-style, h2, .h2-style {
    font-size: 25px;
    line-height: 120%;
  }

  h3, .h3-style {
    font-size: 21px;
    line-height: 1.4;
  }

  .heading:not(.dont-disable-breaks-on-mobile) .the-heading br {
    display: none;
  }
}

.wrapper.overlay-position-middle {
  justify-content: center
}

.wrapper.overlay-position-end {
  justify-content: flex-end;
}

.button {
  /* height: 35px; */
  /* line-height: 35px; */
  text-align: center;
  /* width: 178px; */
  font-size: 15px;
  /* letter-spacing: 0.2em; */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
  /* padding-left: 7px; */
  /* font-family: var(--tateru-button-font); */
  /* border-radius: 35px; */
  margin-left: -5px;
  margin-right: -5px;

  z-index: 1;
  overflow: hidden;
  /* background: var(--tateru-color-primary); */
  border: none;
  position: relative;
  /* padding-bottom: 5px; */
  font-weight: 400;
}

.button:hover {
  /* background-color: var(--tateru-color-secondary); */
  /* transform: scale(1.1); */
  /* opacity: 1 !important; */
}

.button::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
  height: 2px;
  background-color: var(--tateru-color-primary);
  width: calc(100% - 10px );
  transition: width 200ms ease-in-out 200ms;
}

.button:hover::after {
  /* bottom: 3px; */
  /* transition: width 200ms ease-in-out; */
  /* width: 100%; */
  /* left: 0;
  right: 0; */
}

.button-color-primary {
  /* border-color: var(--tateru-color-primary); */
  color: var(--tateru-color-primary);
  /* border-bottom-color: var(--tateru-color-primary); */
  transition: background-color 200ms ease-in-out;
}

.button-color-primary:hover {
  /* border-color: #fff; */
  /* background: #fff; */
  /* color: var(--tateru-color-black); */
  transition: 200ms;
}

.button-color-secondary {
  border-color: var(--tateru-color-white);
  background: transparent;
  color: var(--tateru-color-white);
}

.button-color-secondary:hover {
  border-color: var(--tateru-color-white);
  background: transparent;
  color: var(--tateru-color-white);
  opacity: 0.8;
}

.button-color-secondary-inverted {
  border-color: var(--tateru-color-black);
  background: transparent;
  color: var(--tateru-color-black);
}

.button-color-secondary-inverted:hover {
  color: var(--tateru-color-white);
  background: var(--tateru-color-black);
  border-color: var(--tateru-color-black);
}

/* .textmode-dark .button-color-primary:hover {
  background-color: #514B46;
} */


.button[disabled] {
  pointer-events: none;
  opacity: 0.3;
}

.content iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 2000px) {
  .wrapper {
    padding: 0 var(--tateru-default-padding);
  }
}


@media screen and (min-width: 1001px) {
  .background-desktop-left-top {
    background-position: left top !important;
  }

  .background-desktop-left {
    background-position: left !important;
  }

  .background-desktop-left-bottom {
    background-position: left bottom !important;
  }

  .background-desktop-right-top {
    background-position: right top !important;
  }

  .background-desktop-right {
    background-position: right !important;
  }

  .background-desktop-right-bottom {
    background-position: right bottom !important;
  }

  .background-desktop-center-top {
    background-position: center top !important;
  }

  .background-desktop-center {
    background-position: center !important;
  }

  .background-desktop-center-bottom {
    background-position: center bottom !important;
  }
}

@media screen and (max-width: 1000px) {
  .background-mobile-left-top {
    background-position: left top !important;
  }

  .background-mobile-left {
    background-position: left !important;
  }

  .background-mobile-left-bottom {
    background-position: left bottom !important;
  }

  .background-mobile-right-top {
    background-position: right top !important;
  }

  .background-mobile-right {
    background-position: right !important;
  }

  .background-mobile-right-bottom {
    background-position: right bottom !important;
  }

  .background-mobile-center-top {
    background-position: center top !important;
  }

  .background-mobile-center {
    background-position: center !important;
  }

  .background-mobile-center-bottom {
    background-position: center bottom !important;
  }

  .wrapper,
  .inner-wrapper {
    padding-left: calc( var(--tateru-default-padding) / 2 );
    padding-right: calc( var(--tateru-default-padding) / 2 );
  }
}

@media screen and (max-width: 700px) {
  .inner-wrapper,
  .wrapper {
    max-width: 100%;
    padding: 0 25px;
  }
}

.heading-align-center {
  text-align: center;
}

.heading-align-right {
  text-align: right;
}


blockquote:not(:last-child) {
  margin-bottom: calc(var(--tateru-default-padding) / 4);
}

blockquote {
  position: relative;
  padding-left: calc(var(--tateru-default-padding) / 4);
  border-left: 4px solid var(--tateru-color-primary);
  font-family: var(--tateru-subheading-font);
  font-size: 23px;
  line-height: 30px;
}

blockquote > p:first-child:before,
blockquote > p:last-child:after {
  content: "\201C";
  font-family: var(--tateru-subheading-font);
}


.project-status {
  display: inline-block;
  height: 27px;
  line-height: 27px;
  padding-left: 12px;
  padding-right: 12px;
  color: #fff;
  font-size: 15px;
  background-color: #666;
}

.project-status.available {
  background-color: var(--tateru-color-primary);
}
