:root {
  --color-black: #252525;
  --color-darkGrey: #585858;
  --color-grey: #8e8e8e;
  --color-lightGrey: #e9e9e9;
  --color-bgGrey: #f1f1f1;
  --color-borderGrey: #eaeef8;
  --color-primary: #c41e1e;
  --color-secondary: #fe0000;
  --color-primary-gradient: linear-gradient(
    to right,
    var(--color-secondary),
    var(--color-primary)
  );
  --color-emphasis: #fe0000;
  --color-primary-hover: #981717;
  --cut: 40px;
  --cut-sm: 30px;
  --radius-sm: 8px;
}

/* ==========================================================================
   Global
   ========================================================================== */
.color-primary-gradient {
  background-image: var(--color-primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
}

/* slider */
.slider-float-right .uk-slidenav-container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  top: -100px;
  display: flex;
  justify-content: end;
  right: unset !important;
}

.uk-lightbox-slidenav svg:last-child {
  display: none;
}

.gradient-underline {
  position: relative;
  display: inline-block;
}

.gradient-underline::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 2px;

  width: 100%;
  height: 8px;

  background: var(--color-primary-gradient);
  opacity: 0.6;
}

/* custom button icon */
.icon-phone-white {
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: 0px 50%;
  padding-left: 18px;
  margin-right: 10px;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M15.7061%2012.5332L12.0551%209.21369C11.8826%209.05662%2011.6558%208.97282%2011.4226%208.98003C11.1895%208.98724%2010.9683%209.08489%2010.8058%209.25231L8.65655%2011.4626C8.13922%2011.3638%207.09917%2011.0396%206.02859%209.97172C4.958%208.90024%204.63377%207.85751%204.53767%207.34378L6.7462%205.19364C6.91363%205.03119%207.01128%204.80998%207.01848%204.57681C7.02569%204.34364%206.94189%204.11681%206.78482%203.94433L3.46619%200.294312C3.30905%200.121292%203.09065%200.0163428%202.85738%200.00175297C2.62411%20-0.0128368%202.39434%200.0640823%202.21687%200.216174L0.2679%201.8876C0.112621%202.04344%200.0199401%202.25085%200.00743838%202.47049C-0.00603375%202.69503%20-0.262902%208.01378%203.86137%2012.1398C7.45933%2015.7368%2011.9662%2016%2013.2074%2016C13.3889%2016%2013.5002%2015.9946%2013.5299%2015.9928C13.7493%2015.9799%2013.9564%2015.8869%2014.1119%2015.7315L15.7824%2013.7816C15.9351%2013.6047%2016.0126%2013.3751%2015.9983%2013.1419C15.9841%2012.9086%2015.8792%2012.6902%2015.7061%2012.5332Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E");
}

.icon-phone-primary {
  display: inline-block;
  width: 16px;
  height: 16px;

  background-image: url("/images/icons/phone.svg");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: 0 50%;

  padding-left: 16px;
  margin-right: 8px;
  margin-bottom: -2px;
}
.uk-button-text {
  position: relative;
  padding-left: 35px;
  color: var(--color-primary) !important;
}
.uk-button-text::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 27px;
  border-bottom: 2px solid var(--color-primary);
}
a.uk-button {
  transition: all 0.3s ease;
}

a.uk-button:hover .btn-arrow-right {
  background-position: 2px 50%;
}

.btn-arrow-right {
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: 0px 50%;
  padding-left: 18px;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.btn-arrow-right--primary {
  background-image: url(/images/arrow-right--primary.svg);
}

.btn-arrow-right--secondary {
  background-image: url(/images/arrow-right.svg);
}
.cta-section {
  margin-bottom: -120px;
}
.footer {
  background-color: var(--color-black);
}

/* footer subnav custom icon */
.footerlist li {
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: 0px 50%;
  /* padding-left: 30px; */
}
.footerlist li a {
  padding: 6px 0;
}
/* navbar */
.uk-sticky .uk-logo {
  /* transition: all 0.4s ease-in-out; */
  /* transition: all 0.2s ease !important; */
}
.uk-sticky-below .uk-logo {
  width: 140px;
  bottom: 0;
}
/* Navbar icon colour */
.uk-navbar-parent-icon,
.uk-nav-parent-icon {
  color: var(--color-emphasis) !important;
}

/* headings */
.heading-line-left {
  display: inline-flex;
  align-items: center;
}
.heading-line-left::before {
  content: "";
  width: 35px;
  height: 2px;
  background-color: #c41e1e;
  margin-right: 13px;
}

/* corner mask */

.image-corner-mask img,
.image-corner-mask .tm-box-decoration-default::before {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
}

.corner-mask > .uk-card,
.corner-mask > .uk-tile,
.corner-mask {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}

.corner-mask--both .uk-card,
.corner-mask--both > .uk-tile,
.corner-mask--both > .uk-tile-primary,
.corner-mask--both > .uk-tile-secondary,
.corner-mask--both img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(
    var(--cut) 0,
    /* top-left cut starts */ 100% 0,
    /* top-right */ 100% calc(100% - var(--cut)),
    /* bottom-right cut start */ calc(100% - var(--cut)) 100%,
    /* diagonal of bottom-right cut */ 0 100%,
    /* bottom-left */ 0 var(--cut) /* finish top-left cut */
  );
}

.grid-corner-mask .el-image {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(
    var(--cut-sm) 0,
    100% 0,
    100% 100%,
    0 100%,
    0 var(--cut-sm)
  );
}

.card-medium {
  padding: 30px 24px !important;
}
.card-default-medium .uk-card-default {
  padding: 30px !important;
}
.corner-mask--sm {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(
    var(--cut-sm) 0,
    100% 0,
    100% 100%,
    0 100%,
    0 var(--cut-sm)
  );
}
.container-margin-left-none {
  margin-left: 0 !important;
}
/* ==========================================================================
   Navbar
   ========================================================================== */

/* Navbar with toolbar on top right */
.tm-toolbar {
  padding-top: 0 !important;
}
/* .uk-navbar-left {
  padding-bottom: 15px;
} */
.uk-navbar-left .uk-logo {
  position: absolute;
  left: 0;
  bottom: 15px;
}
.toolbar-buttons .uk-button {
  /* border-radius: var(--radius-sm); */
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.tm-header .uk-navbar-container,
.uk-sticky .uk-navbar-container {
  transition:
    padding 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    min-height 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.uk-navbar-left .uk-logo {
  position: absolute;
  left: 0;
  bottom: 0 !important;

  transform-origin: left bottom;
  transform: translateY(-15px) scale(1);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    bottom 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.uk-sticky-below .uk-logo {
  width: unset !important;
  transform: translateY(-6px) scale(0.58); /* 140/240 */
}
@media (min-width: 1200px) and (max-width: 1399px) {
}
.uk-navbar-left .uk-logo img {
  display: block;
}

/* ==========================================================================
   Home Page
   ========================================================================== */

/* HERO SECTION START */
.hero-column-image > .uk-panel {
  width: 570px;
  height: 674px;
  margin: 0 auto;
}
.card-with-shadow {
  background-color: #fff;
  width: fit-content;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.card-black-radius {
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: var(--radius-sm);
}
footer {
  color: var(--color-darkGrey);
}
.text-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}
.text-with-icon img {
  height: 18px;
  width: auto;
}
.text-with-icon strong {
  font-weight: 600 !important;
}
.hero-floating-card-top .uk-width-expand {
  padding-left: 10px !important;
}
.hero-floating-card-bottom {
  width: 340px !important;
}

.grid__text-with-icon .el-item > .uk-grid {
  display: flex;
  align-items: center;
}
.grid__text-with-icon--item .uk-width-expand {
  padding-left: 10px !important;
}
.grid__text-with-icon--item .uk-width-expand .el-title {
  margin-top: 4px !important;
}

.services-overlay {
  transition: all 0.4s ease-in-out;
}
.services-overlay h3 {
  line-height: 1.2;
  text-transform: uppercase !important;
}
.services-overlay .uk-overlay {
  padding-bottom: 10px;
}

.services-overlay .uk-overlay .uk-margin-top {
  margin-top: 0 !important;
}
.services-overlay .el-content,
.services-overlay .el-link {
  opacity: 0;
  transition: all 0.4s ease-in-out;
  height: 0px;
}
.services-overlay .el-link {
  color: transparent;
  padding-top: 10px;
  padding-bottom: 10px;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
}
.services-overlay:hover .uk-overlay {
  padding-bottom: 24px;
}

.services-overlay:hover .el-content,
.services-overlay:hover .el-link {
  opacity: 1;
  height: auto;
}

.services-overlay:hover .el-content {
  padding-top: 10px;
  padding-bottom: 16px;
}

.services-overlay:hover .el-link {
  color: var(--color-darkGrey);
}

.services-overlay {
  position: relative;
  overflow: hidden;
}

.services-overlay:hover .uk-overlay-default::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.process-timeline-default .hd-timeline-line {
  width: 2px;
  border-width: 2px;
  border-style: dashed;
  background-color: transparent !important;
}
.process-timeline .hd-timeline-line {
  width: 2px;
  border-width: 2px;
  border-style: dashed;
  background-color: transparent !important;
  left: calc(20px + calc(6px) + 7px / 2);
}
.process-timeline .el-title {
  font-weight: 200 !important;
}
.process-timeline .el-content h3 {
  text-transform: uppercase !important;
  margin-bottom: 0px !important;
}
.process-timeline-default .el-title {
  font-weight: 200 !important;
}
.process-timeline .el-content p {
  margin-top: 0px !important;
}
.process-timeline .el-timeline-icon,
.process-timeline-default .el-timeline-icon {
  border-width: 6px !important;
}
.process-timeline-default .el-timeline-icon {
  left: calc(50% - 20px - 4px - calc(8px)) !important;
}
.process-timeline > div:nth-child(2) > .hd-timeline-item-container > .el-item {
  margin-top: 20px !important;
}
.process-timeline .hd-timeline-item-container {
  bottom: 20px;
  margin-left: calc((20px + calc(6px) + 7px) * 2 + 10px) !important;
}
.process-timeline .hd-timeline-item-container .uk-first-column {
  width: 20% !important;
  max-width: 80px !important;
}
.process-timeline .hd-timeline-item-container > .el-item > .uk-grid {
  display: flex;
  align-items: center;
}
.process-timeline {
  margin-left: -20px !important;
}
.process-timeline .hd-timeline-line {
  height: calc(100% - 60px);
  /* depends on the height of last item */
}

.process-timeline-full {
  margin-left: unset;
}
.process-timeline-full .hd-timeline-line {
  left: calc(50% + 2px);
}
.testimonial__text-with-icon {
  margin-top: 18px;
}
.testimonial__text-with-icon img {
  margin-right: 6px;
  margin-bottom: 1px;
  opacity: 0.8;
}

/* ==========================================================================
   Form
   ========================================================================== */
.ba-form-submit-btn {
  background-image: var(--color-primary-gradient) !important;
  font-size: 16px !important;
  line-height: 46px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  padding: 0 30px !important;
  border-radius: 50px !important;
}
.cta-column-text {
  padding-top: 30px;
  padding-bottom: 30px;
  padding-right: 56px;
  padding-left: 56px;
}

/*Adjust Responsive*/
/*large desktop*/
@media all and (min-width: 1200px) and (max-width: 1399px) {
  .uk-logo img {
    max-width: 180px;
  }
  .uk-sticky-below .uk-logo {
    width: 140px;
    bottom: 0 !important;
  }
  .uk-sticky-below .uk-logo img {
    max-width: 140px;
  }
  .uk-sticky-below .uk-logo {
    width: unset !important;
    transform: translateY(-5px) scale(0.9); /* 140/240 */
  }

  .hero-floating-card-top {
    right: -20px !important;
  }
  .hero-floating-card-bottom {
    left: 40px !important;
  }
}

/*small desktop*/
@media all and (min-width: 960px) and (max-width: 1199px) {
  .image-ratio-change img {
    aspect-ratio: 16 / 9 !important;
  }
  .hero-floating-card-top {
    right: -20px !important;
  }
  .hero-floating-card-bottom {
    left: 30px !important;
  }
  .cta-column-text {
    padding-right: 40px;
    padding-left: 40px;
  }
  .uk-sticky-below .uk-logo {
    width: unset !important;
    transform: unset !important;
  }
}

/*ipad*/
@media all and (min-width: 640px) and (max-width: 959px) {
  .image-ratio-change img {
    aspect-ratio: 16 / 9 !important;
  }
  .button--longtext {
    line-height: 20px;
    padding-top: 13px;
    padding-bottom: 13px;
  }
  /* navbar */
  .uk-nav-sub {
    text-transform: none !important;
    letter-spacing: 0;
  }
  .hero-column-image {
    padding: 0px 20px 0 50px;
  }
  .hero-floating-card-bottom {
    width: 280px !important;
  }
  .heading-line-centre-s {
    display: block;
  }
  .heading-line-centre-s::before {
    display: none;
  }
  /* Services Overlay Mobile */
  .services-overlay .el-link {
    color: transparent;
    padding-top: 10px;
    padding-bottom: 10px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
  }
  .services-overlay .uk-overlay {
    padding-bottom: 24px;
  }

  .services-overlay .el-content,
  .services-overlay .el-link {
    opacity: 1;
    height: auto;
  }

  .services-overlay .el-content {
    padding-top: 10px;
    padding-bottom: 16px;
  }

  .services-overlay .el-link {
    color: var(--color-darkGrey);
  }

  .services-overlay .uk-overlay-default::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 62%, rgba(0, 0, 0, 0.9));
    pointer-events: none;
  }

  .process-timeline .hd-timeline-item-container > .el-item > .uk-grid {
    display: flex;
    align-items: start;
  }
  .process-timeline {
    margin-left: -20px !important;
  }
  .process-timeline .hd-timeline-item-container {
    bottom: 10px;
  }

  .process-timeline .hd-timeline-line {
    height: calc(100% - 50px);
    /* depends on the height of last item */
  }
  .process-timeline-full .hd-timeline-line {
    left: calc(20px + calc(6px) + 7px / 2);
  }
  .process-timeline .el-content h3 {
    margin-top: -6px !important;
  }
  .process-timeline-default .el-timeline-icon {
    left: -2px !important;
  }
  .cta-column-text {
    padding-top: 20px;
    padding-left: 60px;
    padding-right: 40px;
  }
  .cta-section-bg {
    padding-top: 60px !important;
  }
  .uk-sticky-below .uk-logo {
    width: unset !important;
    transform: unset !important;
  }
}

/*mobile*/
@media (max-width: 639px) {
  .image-ratio-change img {
    aspect-ratio: 16 / 9 !important;
  }
  .button--longtext {
    line-height: 20px;
    padding-top: 13px;
    padding-bottom: 13px;
  }
  /* navbar */
  .uk-nav-sub {
    text-transform: none !important;
    letter-spacing: 0;
  }

  .hero-column-image {
    padding: 0px 10px 0 40px;
  }
  .hero-floating-card-top {
    right: -30px !important;
    top: 0px !important;
    padding: 16px !important;
  }
  .hero-floating-card-top .uk-grid {
    align-items: center;
  }
  .hero-floating-card-top .el-title {
    font-size: 1rem;
  }
  .hero-floating-card-bottom {
    left: 12px !important;
    bottom: 36px !important;
    width: 280px !important;
  }
  .heading-line-centre-s {
    display: block;
  }
  .heading-line-centre-s::before {
    display: none;
  }

  /* Services Overlay Mobile */
  .services-overlay .el-link {
    color: transparent;
    padding-top: 10px;
    padding-bottom: 10px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
  }
  .services-overlay .uk-overlay {
    padding-bottom: 24px;
  }

  .services-overlay .el-content,
  .services-overlay .el-link {
    opacity: 1;
    height: auto;
  }

  .services-overlay .el-content {
    padding-top: 10px;
    padding-bottom: 16px;
  }

  .services-overlay .el-link {
    color: var(--color-darkGrey);
  }

  .services-overlay .uk-overlay-default::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
  }

  .process-timeline .hd-timeline-item-container > .el-item > .uk-grid {
    display: flex;
    align-items: start;
  }
  .process-timeline {
    margin-left: -20px !important;
  }
  .process-timeline .hd-timeline-item-container {
    bottom: 10px;
  }

  .process-timeline .hd-timeline-line {
    height: calc(100% - 60px);
    /* depends on the height of last item */
  }

  .process-timeline .el-content h3 {
    margin-top: -6px !important;
  }
  .process-timeline-default .el-timeline-icon {
    left: -2px !important;
  }
  .cta-column-text {
    padding-top: 20px;
    padding-left: 60px;
    padding-right: 40px;
  }
  .cta-section-bg {
    padding-top: 60px !important;
  }
  .uk-sticky-below .uk-logo {
    width: unset !important;
    transform: unset !important;
  }
}

/* ==========================================================================
	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;
}