/* Global variables */
:root {
  --containerWidth: 1080px;
  /* This will depend on the project */
  --headerWidth: 100%;
  --headerBtnWidth: 182px;
  --headerPadding: 24px;
}

/* Header Styles */
.button.header-button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--headerBtnWidth);
  display: flex;
  justify-content: center;
  align-items: center;
}

#primary-menu {
  margin-right: calc(var(--headerBtnWidth) - var(--headerPadding));
}

.ff-below-the-header {
  margin-bottom: -79px !important;
  z-index: 9;
}

.page-id-32 .ff-below-the-header {
  border-top-color: #707070;
  border-bottom-color: #707070;
}

@media screen and (max-width: 1024px) {
  .ff-below-the-header {
    margin-bottom: -71px !important;
  }
}

/* Icon list */
.ff-icon-list li svg path:first-child {
  fill: #76b82a;
  color: #76b82a;
}

#main .ff-inline-icon-list ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}

#main .ff-inline-icon-list ul li {
  margin-bottom: 0;
}

/**
 * Home
 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #case-studies .case-study:last-child>.kt-inside-inner-col {
    background-size: 40% auto;
  }
}

#case-studies .case-study>.kt-inside-inner-col {
  background-size: 236px auto;
}

/**
 * Scroll Down Arrow
 */
.ff-scroll-down-arrow {
  animation: bounce 2000ms ease;
  animation-delay: 0;
  animation-iteration-count: infinite;
  animation-direction: forward;
}

/* Bounce Key Frames */
@keyframes bounce {
  0% {
    transform: translateY(0);
  }

  10% {
    transform: translateY(100%);
  }

  20% {
    transform: translateY(0%);
  }

  30% {
    transform: translateY(50%);
  }

  40% {
    transform: translateY(0%);
  }
}

/**
 * About
 */
body .question-card-inner {
  align-items: start;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .question-card-inner {
    flex-direction: column;
  }
}

.question-card {
  position: relative;
}

.question-card:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: calc(50% - 20px);
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 15px solid var(--global-palette8);
}

.ff-space-between .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wp-block-query .is-flex-container {
  column-gap: 18px;
}

.trademark {
  font-weight: 400;
}

.team-query-loop img {
  object-position: top center;
}

/**
 * Services
 */
.ff-accordion .kt-accodion-icon-side-left .kt-blocks-accordion-icon-trigger {
  margin-right: 30px;
}

@media screen and (max-width: 767px) {
  .ff-accordion .kt-accodion-icon-side-left .kt-blocks-accordion-icon-trigger {
    margin-right: 20px;
  }
}

/**
 * Case studies
 */
@media only screen and (max-width: 767px) {
  .single-case_studies #hero.kt-row-has-bg {
    background-size: 270px auto;
    background-position: 100% 94%;
  }
}

/**
 * Forms
 */
.ff-form form input::placeholder,
.ff-form form textarea::placeholder {
  color: var(--global-palette4);
}

@media only screen and (max-width: 767px) {
  .ff-form .kb-forms-submit {
    width: 100% !important;
  }
}

/**
 * Local SEO
 */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  #ff-local-cards .ff-vision-call>.kt-inside-inner-col {
    height: auto;
  }
}

/**
 * Others
 */
.page-id-742.content-style-unboxed .site {
  background-color: var(--global-palette8) !important;
}

.kadence-conversions-close {
  border-radius: 50%;
}

.popup-col-2 {
  position: relative;
}

.popup-col-2::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: var(--global-palette7);
  z-index: 99999999999999;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}

@media only screen and (max-width: 767px) {
  .popup-col-2::after {
    content: '';
    position: absolute;
    height: 50px;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--global-palette7);
    z-index: 99999999999999;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
  }
}

.post-read-time {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.post-read-time .bullet {
  font-size: 20px;
}