.sidebar-aereo-titulo {
  border-top: 1px solid $gray-1;
  padding: 20px 0;

  .alterar-voo {
    display: flex;

    h3 {
      flex: 1;
      margin: 0;
    }

    span {
      flex: 0.3;

      a {
        background: $azul;
        background-position: 0% 50%;
        background-size: 300%;
        border: none;
        border-radius: 24px;
        color: $branco;
        cursor: pointer;
        text-align: center;
        transition: all 0.4s ease;
        transition-property: all;
        transition-duration: 0.4s;
        transition-timing-function: ease;
        transition-delay: 0s;
        display: block;
        font-size: 0.6875rem;
        font-weight: bold;
        padding: 7px 0;
        width: 79.69px;
        height: 29px;

        &:hover {
          @include bg-botao-hover();
        }
      }
    }
  }
}

.sidebar-aereo-box {
  background-color: $background-2;
  border-radius: 5px;
  margin-bottom: 20px;
  padding: 0 10px;
  position: relative;
  width: 100%;
  float: left;

  &:last-of-type {
    //border-bottom: 1px solid $gray-4;
  }

  .voo-descricao {
    position: relative;
    display: flex;
    justify-content: center;

    .aeroporto {
      padding: 20px 10px;
      width: 100%;

      p {
        font-size: rem(10);
        margin: 0;
        padding: 0;
        line-height: 24px;
        color: #878c9f;
        font-weight: 500;

        em {
          font-size: rem(16);
        }

        &.aeroporto {
          color: $azul;
          font-size: rem(22);
          line-height: 1;
          font-weight: bold;
        }
      }

      &.partida {
        text-align: left;
      }

      &.chegada {
        border-left: 1px solid $gray-4;
        text-align: right;
      }
    }

    .voo-arrow {
      border: 1px solid $gray-4;
      background: $background-2;
      border-radius: 100%;
      color: $azul;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 30px;
      width: 30px;
      position: absolute;
      left: calc(50% - 15px);
      top: calc(50% - 15px);
      z-index: 0;
    }
  }

  b {
    color: #878c9f;
    font-weight: 500;
  }

  .voo-header {
    border-bottom: 1px solid $gray-4;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    justify-content: center;

    p {
      font-size: rem(12);
      margin: 0 0 0 10px;
      padding: initial;
      color: #878c9f;
      font-weight: 500;
    }

    img {
      max-height: 25px;
    }
  }

  .voo-footer {
    border-top: 1px solid $gray-4;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    .icone {
      i {
        &.i {
          color: $gray-3;
        }

        &.n {
          color: $red-1;
        }

        &.s {
          color: $verde;
        }
      }
    }

    p {
      font-size: rem(12);
      margin: 0 0 0 10px;
      padding: initial;
      padding: 7px;

      b {
        font-weight: $bold;
      }

      em {
        font-weight: 500;
        color: #878c9f;
      }
    }
  }
}
