/**
Theme Name: DF
Author: Deutz
Author URI: https://www.deutz.com
Description: DF
Version: 1
Text Domain: df
Template: astra
*/

h1, h2, h3, h4, h5, h6 {
  em {
    color: var(--e-global-color-f43b1db);
    font-style: normal;
  }

  span {
    border: 1px solid var(--e-global-color-f43b1db);
    border-radius: 12px;
    color: var(--e-global-color-f43b1db);
    display: inline-block;
    font-size: 16px;
    line-height: 1em;
    margin-bottom: 2.5em;
    padding: 12px 20px;
    vertical-align: bottom;

    @media (min-width: 768px) and (max-width: 1024px) {
      margin-bottom: 1.5em;
    }

    @media (max-width: 767px) {
      margin-bottom: 1em;
    }
  }
}

.nomargin p:last-child {
  margin-bottom: 0;
}

.df-mainmenu .menu-link {
  background: var(--e-global-color-13d9a3b);
  border-radius: 12px;

  &:hover {
    background: var(--e-global-color-f43b1db);
  }

  &:not(:hover) {
    color: #fff !important;
  }
}

.df-burger, 
.df-close {
  transition: 0.3s;

  svg path {
    fill: currentColor !important;
  }
}

.df-swiper {
  .swiper {
    overflow: visible;
  }

  .elementor-swiper-button {
    align-items: center;
    background: #161f1b;
    border-radius: 20px;
    height: 56px;
    justify-content: center;
    width: 64px;
  }
}

.df-big-kpi-item {
  .elementor-counter .elementor-counter-number-wrapper {
    align-items: flex-end;
  }

  .elementor-counter-number {
    font-size: 112px;

    @media (max-width: 767px) {
      font-size: 91px;
    }
  }

  .elementor-counter-number-prefix,
  .elementor-counter-number-suffix {
    font-size: 32px;
    padding-bottom: 14px;

    @media (max-width: 767px) {
      font-size: 26px;
    }
  }
}

.kpi-bar-item:not(:last-child) {
  border-right: 2px solid rgba(255, 255, 255, 0.35);

  @media (max-width: 1024px) {
    border-bottom: 2px solid rgba(255, 255, 255, 0.35);
    border-right: 0;
    padding-bottom: 20px;
  }
}

.df-event-list {
  .elementor-icon-list-text {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;

    span {
      border: 1px solid #fff;
      border-radius: 6px;
      color: #fff !important;
      font-size: 12px;
      font-weight: normal;
      line-height: 1em;
      padding: 5px 10px;

      &::after {
        content: "\A";
        white-space: pre;
      }
    }
  }
}

#df-footer-menu {
  a {
    text-decoration: none;
  }

  ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;

    @media (max-width: 1024px) {
      text-align: center;
    }

    li {
      display: inline-block;
      margin-left: 20px;

      @media (max-width: 767px) {
        display: block;
        margin: 10px 0 0 0;
      }

      &:first-child {
        margin-left: 0;

        @media (max-width: 767px) {
          margin-top: 0;
        }
      }
    }
  }
}

.df-lang-switch {
  ul {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;

    li {
      font-size: 16px;
      text-transform: uppercase;

      a {
        color: #748F80;
        text-decoration: none;

        &.iron-lang-active {
          color: #fff;
        }
      }
    }
  }
}