:root {
  --color-black: #252525;
  --color-darkGrey: #585858;
  --color-grey: #8e8e8e;
  --color-lightGrey: #f0efec;
  --color-bgGrey: #f1f1f1;
  --color-borderGrey: rgb(206, 208, 211, 0.7);
  --color-primary: #ac7845;
  --color-secondary: #c19366;
  --color-muted: #fbf4e6;
  --color-white: #ffffff;
  --color-emphasis: #c19366;
  --color-primary-hover: #9a6b3e;
  --space-x-sm: 10px;
}

/* ==========================================================================
   Global
   ========================================================================== */

@font-face {
  font-family: "Charter Bold";
  src: url("../fonts/Charter-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Charter Roman";
  src: url("../fonts/Charter-Roman.woff2") format("woff2");
}
@font-face {
  font-family: "Avenir Roman";
  src: url("../fonts/Avenir-Roman.woff2") format("woff2");
}
@font-face {
  font-family: "Avenir Medium";
  src: url("../fonts/Avenir-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Avenir Heavy";
  src: url("../fonts/Avenir-Heavy.woff2") format("woff2");
}
@font-face {
  font-family: "Avenir Black";
  src: url("../fonts/Avenir-Black.woff2") format("woff2");
}

/* body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
} */

strong {
  font-family: "Avenir Heavy", Calibri, "Trebuchet MS", sans-serif;
}
.text-bold {
  font-family: "Avenir Heavy", Calibri, "Trebuchet MS", sans-serif;
}

/* .grid-gap-xsm li {
  padding-left: var(--space-x-sm);
} */

/* text */
.text-emphasis-on-primary {
  color: var(--color-muted) !important;
}

.divider-muted::after {
  border-top-color: var(--color-muted) !important;
}

.grid-gap-xsm .uk-grid-small > * {
  padding-left: var(--space-x-sm);
}
.uk-offcanvas-close {
  color: #fff;
}
/* custom button icon */

.btn-text-mobile-left .uk-button-text {
  text-align: left !important;
}

.uk-button-default .uk-icon svg polyline {
  stroke: var(--color-primary) !important;
}

.bg-gradient-top-to-bottom {
}

.uk-tile-primary .uk-button-default {
}

/* Contact with Icon */

.button-text-with-icon a {
  background-repeat: no-repeat;
  background-position: -1px 2px;
  background-size: 18px 18px;
  padding-left: 26px;
  color: var(--color-darkGrey);
}
.phone-with-icon a {
  background-image: url(phone.svg);
}
.email-with-icon a {
  background-image: url(email.svg);
}
.map-with-icon a {
  background-image: url(map-pin.svg);
}

.text-shadow {
  text-shadow: rgba(0, 0, 0, 0.6) 0 0 24px;
}

/* Navbar icon colour */
/* .uk-navbar-parent-icon,
.uk-nav-parent-icon {
  color: var(--color-emphasis) !important;
} */

.accordion-steps .el-title span.step-title {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.grid-button-text .uk-button-text {
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  padding-right: 20px;
}
/* .button-text-arrow {
  white-space: nowrap;
  transform: translateY(-1px);
} */
.grid-button-text .uk-button-text::after {
  content: "";
  position: absolute;
  right: 0;
  top: calc(50% + 0px);
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background: url(arrow-right-primary.svg) no-repeat center;
  background-size: contain;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;

  will-change: transform;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.icon-text {
  font-family: inherit !important;
  font-weight: 500 !important;
  display: flex;
  align-items: flex-start;
  gap: 0.5em;

  color: inherit;
  line-height: inherit !important;
  margin-bottom: 0.5em !important;
}
.icon-text a {
  color: inherit !important;
}
.icon-text a:hover {
  color: var(--color-primary) !important;
}
.icon-text-reverse {
  color: white !important;
}
.icon-text-reverse a {
  color: white !important;
}
.icon-text-reverse a:hover {
  color: var(--color-secondary) !important;
}
.icon-text::before {
  content: "";
  display: block;
  flex: 0 0 1em;

  width: 1em;
  height: 1em;
  margin-right: 0; /* gap handles the spacing */

  margin-top: 0.2em;

  background-color: currentColor;

  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.icon-text-primary::before {
  background-color: var(--color-primary) !important;
}
.icon-text-reverse::before {
  background-color: var(--color-secondary) !important;
}

.icon-text.phone::before {
  -webkit-mask-image: url("phone.svg");
  mask-image: url("phone.svg");
}

.icon-text.cellphone::before {
  -webkit-mask-image: url("cell-phone.svg");
  mask-image: url("cell-phone.svg");
}

.icon-text.email::before {
  -webkit-mask-image: url("email.svg");
  mask-image: url("email.svg");
}

.icon-text.map::before {
  -webkit-mask-image: url("map.svg");
  mask-image: url("map.svg");
}

.checklist li {
  position: relative;
  padding-left: 34px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 18px;
  height: 18px;

  background: var(--color-emphasis);

  -webkit-mask: url(checkmark-01.svg) center / contain no-repeat;
  mask: url(checkmark-01.svg) center / contain no-repeat;
}
.checklist-reverse li::before {
  background: var(--color-muted) !important;
}

.image-subtle-border {
  position: relative;
}

.image-subtle-border::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.uk-table th {
  background-color: var(--color-muted);
}
/* ==========================================================================
   Navbar
   ========================================================================== */

.tile-large-left .uk-tile {
  padding-left: 50px;
}
/* ==========================================================================
   Home Page
   ========================================================================== */

/* HERO SECTION START */
.home-hero .uk-section {
  height: 100vh;
}
.intro-image-left {
  margin-right: 24px;
}
.service-overlay-01,
.service-overlay-02 {
  border-right: 2px solid #fff !important;
}

.section-full-overlays .tm-grid-expand > div {
  display: flex;
}

.section-full-overlays .tm-grid-expand > div > .uk-panel {
  flex: 1;
  height: 100%;
}

/* ==========================================================================
   Subpages
   ========================================================================== */

.subhero .uk-section {
  max-height: 100vh;
}

/* ==========================================================================
   Form
   ========================================================================== */
.ba-form-submit-btn {
  background: var(--color-primary) !important;
  letter-spacing: 2px !important;
  padding: 0 30px !important;
  color: white !important;
}
.upload-file-btn {
}

.hd-timeline-align-right > div:nth-child(n) > .hd-timeline-item-container {
  margin-left: calc((20px + calc(0.3 * 20px) + 4px) * 2 + 20px);
}
/*Adjust Responsive*/
/*large desktop*/
@media all and (min-width: 1200px) and (max-width: 1399px) {
  .uk-logo {
    width: 230px;
  }
  .uk-navbar-nav {
    gap: 30px;
  }
  .uk-navbar-nav li a {
    font-size: 14px;
  }
}

/*small desktop*/
@media all and (min-width: 960px) and (max-width: 1199px) {
  .intro-image-left {
    margin-right: unset;
  }
  .uk-logo {
    width: 160px;
  }
  .tm-header-mobile {
    height: 100px;
    padding-top: 20px;
  }
  .responsive-btn {
    line-height: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .responsive-btn--left {
    text-align: left;
  }
}

@media (max-width: 1199px) {
  .map-mobile-short iframe {
    max-height: 450px;
  }
  .hide-divider-mobile .uk-grid-margin::before {
    border-top: 0px !important;
  }
  .hide-divider-mobile .uk-grid-margin {
    margin-top: 70px !important;
  }
}

/*ipad*/
@media all and (min-width: 640px) and (max-width: 959px) {
  h3 {
    font-size: 30px;
  }
  .responsive-btn {
    line-height: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .responsive-btn--left {
    text-align: left;
  }
  /* navbar */
  .uk-nav-sub {
    text-transform: none !important;
    letter-spacing: 0;
  }
  .intro-image-left {
    margin-right: unset;
  }
  .service-overlay-01,
  .service-overlay-02 {
    border-right: unset !important;
    border-bottom: 2px solid #fff !important;
  }
  .section-full-overlays .uk-grid .uk-panel {
    min-height: 400px !important;
  }
  .uk-logo {
    width: 160px;
  }
  .tm-header-mobile {
    height: 100px;
    padding-top: 16px;
  }
  .footerlist .el-image {
    display: none;
  }
  .footer-contact .el-item .uk-grid {
    flex-direction: column;
    gap: 6px;
  }
  .project-overlay .uk-overlay-default {
    --uk-translate-y: 0px;
    opacity: 1;
  }
  .project-overlay .uk-position-bottom-left {
    --uk-translate-y: 0px;
    opacity: 1;
  }

  .image-ratio-change img {
    aspect-ratio: 16 / 9 !important;
  }
}
/* ipad and mobile */
@media (max-width: 959px) {
  .icon-text-mobile-center {
    justify-content: center;
    text-align: center;
  }
  .hd-timeline-align-right > div:nth-child(n) > .hd-timeline-item-container {
    margin-left: calc((20px + calc(0.3 * 20px) + 4px) * 2 + 0px);
  }
  .tile-large-left .uk-tile {
    padding-left: 20px;
  }
}
/*mobile*/
@media (max-width: 639px) {
  h3 {
    font-size: 30px;
  }
  .uk-h6 {
    font-size: 1rem;
  }
  .responsive-btn {
    line-height: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .responsive-btn--left {
    text-align: left;
  }
  .btn-text-mobile-left .uk-button-text {
    text-align: left !important;
  }
  .home-hero .uk-section {
    min-height: 700px !important;
  }
  .home-hero .uk-section .uk-position-cover {
    background-image: linear-gradient(
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.2) 40%,
      rgba(0, 0, 0, 0.9) 100%
    ) !important;
  }
  /* .home-hero .text-shadow {
    text-shadow: rgba(0, 0, 0, 1) 0 0 24px;
  } */
  .footerlist .el-image {
    display: none;
  }
  .footer-contact .el-item .uk-grid {
    flex-direction: column;
    gap: 6px;
  }

  /* navbar */
  .uk-nav-sub {
    text-transform: none !important;
    letter-spacing: 0;
  }
  .intro-image-left {
    margin-right: unset;
  }
  .section-full-overlays .uk-grid .uk-panel {
    min-height: 400px !important;
  }
  .service-overlay-01,
  .service-overlay-02 {
    border-right: unset !important;
    border-bottom: 2px solid #fff !important;
  }
  .uk-logo {
    width: 160px;
  }
  .tm-header-mobile {
    height: 100px;
    padding-top: 16px;
  }
  .project-overlay {
    min-height: 340px;
  }
  .project-overlay .uk-overlay-default {
    --uk-translate-y: 0px;
    opacity: 1;
  }
  .project-overlay .uk-position-bottom-left {
    --uk-translate-y: 0px;
    opacity: 1;
  }
  .form-container .uk-card {
    padding: 0px !important;
  }

  .subhero .uk-section {
    min-height: unset !important;
  }

  .image-ratio-change img {
    aspect-ratio: 16 / 9 !important;
  }

  .back-to-top {
    right: 20px;
    bottom: 30px;
  }
}

/* ==========================================================================
	Sitemap
   ========================================================================== */

.treeview a {
  color: var(--color-black);
}

.treeview a.selected {
  background-color: transparent;
  text-decoration: none;
  font-size: 16px;
}

.treeview .hover {
  color: var(--color-primary);
}

/* ==========================================================================
	Cookie Banner
   ========================================================================== */

body .cky-revisit-bottom-right {
  background-color: var(--color-emphasis) !important;
}
body .cky-btn-accept,
body .cky-btn-preferences,
body .cky-btn-reject {
  background: var(--color-primary) !important;
  color: #fff;
  border: 2px solid var(--color-primary) !important;
}
body .cky-btn-customize {
  border: 2px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
}
body .cky-btn-revisit-wrapper {
  background: var(--color-primary) !important;
}
