/*
** Special Heading
*/
.bg-maincolor{
  .special-heading{
    &.underline{
      &:after{
        background-color: #f9b03e;
      }
    }
  }
}
.text-center{
  .special-heading.underline{
    &::after{
      left: 50%;
      transform: translateX(-50%);
    }
  }
  &.text-xl-left{
    .special-heading.underline {
      &::after{
        left: 0;
        transform: none;
      }
      @media (max-width: 1199px){
        &::after{
          left: 50%;
          transform: translateX(-50%);
        }
      }
    }
  }
  &.text-lg-left{
    &::after{
      left: 0;
      transform: none;
    }
    @media (max-width: 991px){
      &::after{
        left: 50%;
        transform: translateX(-50%);
      }
    }

  }
  &.text-md-left{
    .special-heading.underline {
      &::after{
        left: 0;
        transform: none;
      }
      @media (max-width: 767px){
        &::after{
          left: 50%;
          transform: translateX(-50%);
        }
      }
    }
  }
}
.special-heading {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.15;
  position: relative;
  margin-bottom: 0;
  margin-top: 0;
  letter-spacing: 1px;

  &.above{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: unset;
  }

  @media (max-width: 575px) {
    font-size: 30px;
  }

  &.underline{
    padding-bottom: 26px;
    &:after{
      content:"";
      background-color: $colorMain;
      width: 30px;
      height: 3px;
      position: absolute;
      bottom: 0;
      left: 0;
    }
    &.text-center{
      &::after{
        left: 50%;
        transform: translateX(-50%);
      }
      &.text-xl-left{
        &::after{
          left: 0;
          transform: none;
        }
        @media (max-width: 1199px){
          &::after{
            left: 50%;
            transform: translateX(-50%);
          }
        }
      }
      &.text-lg-left{
        &::after{
          left: 0;
          transform: none;
        }
        @media (max-width: 991px){
          &::after{
            left: 50%;
            transform: translateX(-50%);
          }
        }
      }
      &.text-md-left{
        &::after{
          left: 0;
          transform: none;
        }
        @media (max-width: 767px){
          &::after{
            left: 50%;
            transform: translateX(-50%);
          }
        }
      }
    }
  }

  &.text-lowercase {
    font-size: 62px;
    font-weight: 300;
    margin-bottom: 0;
    line-height: 1.1;
  }
  &.big,
  &.text-uppercase {
    font-size: 64px;
    font-weight: 900;
    line-height: 0.8;
  }
  &.big {
    margin-top: 0.65em;
    margin-bottom: 0.65em;
  }
  @media (max-width: 1600px) {
    &.big,
    &.text-lowercase,
    &.text-uppercase {
      font-size: 42px;
      line-height: 1;
    }
  }

  &.text-center + p {
    text-align: center;
  }

  &.small {
    line-height: 1;
    font-size: 20px;
    letter-spacing: unset;
  }

}
