@import 'mixins_and_variables_and_functions';

.terms {
  .with-system-header &,
  .with-system-header.with-performance-bar &,
  .with-performance-bar & {
    margin-top: 0;
  }

  .terms-fade {
    background: linear-gradient(0deg, $white 0%, rgba($white, 0.5) 100%);
  }

  .content {
    padding-top: $gl-padding;
  }

  .gl-card {
    .gl-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      line-height: $line-height-base;

      .logo-text {
        width: 55px;
        height: 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      .navbar-collapse {
        padding-right: 0;
        flex-grow: 0;
        flex-basis: auto;

        .navbar-nav {
          margin: 0;
        }
      }

      .nav li {
        float: none;
      }
    }

    .panel-content {
      padding: $gl-padding;

      *:first-child {
        margin-top: 0;
      }

      *:last-child {
        margin-bottom: 0;
      }
    }

    .footer-block {
      margin: 0;
    }
  }
}
