.footer-cfgi {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding: 50px 14px 28px;
  width: 100%;
  background: #0d0d0d;

  @media (min-width: 576px) {
    padding-inline: 28px;
  }

  @media (min-width: 992px) {
    padding-inline: 28px;
  }
}

.footer-contain {
  display: flex;
  flex-direction: column;
  max-width: 1260px;
  width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  /*border-top: 2px solid rgba(255, 255, 255, 0.1);*/
}

.footer-cfgi .footer-top {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  gap: 15px;
  width: 100%;
  margin-bottom: 50px;
  /* padding-top: 50px; */
  /*<----*/

  /* @media (min-width: 992px) {   /*<----*/
  /*    padding: 50px 0 0;
    } */
}

.footer-cfgi .footer-top ul {
  list-style-type: none;
  padding: 0;
}

.footer-cfgi .footer-top ul li {
  list-style-type: none;
  padding-top: 10px;
}

.footer-cfgi .footer-top a {
  color: #ffffff !important;
  text-decoration: none;
}

.footer-cfgi .footer-top {
  display: flex;
  justify-content: space-between;
}

.footer-cfgi .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  padding-bottom: 16px;
  width: 100%;
  padding-inline: 24px;

  @media (min-width: 992px) {
    align-items: center;
    flex-wrap: nowrap;
    padding-top: 24px;
    padding-bottom: 0;
  }

  &::after {
    content: "-";
    flex: 1;
    display: block;
    height: 1px;
    order: 2;
    opacity: 0;

    @media (min-width: 992px) {
      display: none;
    }
  }

  > span {
    display: inline-block;
    flex: 1;
    order: 2;
    margin-top: 24px;
    text-align: center;

    @media (min-width: 992px) {
      flex: initial;
      order: 1;
      margin-top: 0;
    }

    > p {
      margin: 0;
    }
  }

  .icon-foot-contain {
    flex: 1 0 100%;
    order: 0;
    margin-top: 24px;

    @media (min-width: 992px) {
      flex: initial;
      order: 1;
      margin-top: 0;
    }
  }
}

.accord-social {
  display: none;
  gap: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.cfgi-icons {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.icon-foot-contain {
  display: flex;
  gap: 10px;
}

.footer-cfgi .icon-foot {
  display: inline-block;
  width: 48px;
  height: auto;
}

.cfgi-logo {
  flex: 1;
  order: 1;
  margin-bottom: -2px;

  @media (min-width: 992px) {
    flex: initial;
    width: auto;
    margin-bottom: 0;
  }

  svg {
    width: 84px;
    height: 27px;

    @media (min-width: 768px) {
      width: 109px;
      height: 35px;
    }
  }
}

.assure-left,
.assure-right {
  width: auto;
  height: 20.7667px;
  padding: 0;
}

.accord-body {
  display: none;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.accord-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.accord-header > h3 {
  font-size: 14px;
}

.footer-bottom > span > p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.token-info-icons {
  display: flex;
}

.foot-tokens-desktop {
  display: none;
}

.icon-foot-token {
  display: flex;
  width: 35px;
  margin: none;
}

.token-info-icons {
  gap: 10px;
}

.f-chev {
  transition: transform 0.3s ease;
}

.f-chev.rotate {
  transform: rotate(180deg);
}

.footer-top,
.footer-bottom {
  /* padding-inline: 1rem; */

  @media (min-width: 576px) {
    /* padding-inline: 2rem; */
  }

  /* @media (min-width: 992px) {
      padding: 0;
    } */
}

@media (min-width: 400px) {
  .accord-header > h3 {
    font-size: 16px;
  }

  .assure-left,
  .assure-right {
    width: auto;
    height: 40px;
  }

  .footer-bottom > span > p {
    font-size: 14px;
  }
}

@media (min-width: 992px) {
  .footer-cfgi {
    padding-inline: 24px !important;
  }

  .assure-left,
  .assure-right {
    width: auto;
    height: 50px;
  }
}

@media (min-width: 1200px) {
  .footer-cfgi .footer-top {
    flex-direction: row;
  }

  .accord-header {
    border: none;
    padding: 0;
    cursor: text;
  }

  .accord-body {
    display: block;
    border: none;
    padding: 0;
  }

  .accord-social {
    display: flex;
    flex-direction: column;
    border: none;
    padding: 0;
  }

  .community-foot {
    display: block;
    direction: rtl;
  }

  .footer-cfgi .f-chev {
    display: none;
  }

  .accord-header > h3 {
    font-size: 20px;
  }

  .foot-tokens-mobile {
    display: none;
  }

  .foot-tokens-desktop {
    display: block;
  }
}

@media (min-width: 1480px) {
  .assure-left,
  .assure-right {
    width: auto;
    height: 50px;
  }
}

.apexcharts-canvas .apexcharts-legend-series .apexcharts-legend-text {
  margin-left: 4px !important;
  padding-left: 0;
}
