@mixin border-radius($pixels) {
  border-radius:#{$pixels};
  -moz-border-radius:#{$pixels};
  -webkit-border-radius:#{$pixels};
  -o-border-radius:#{$pixels};
  -ms-border-radius:#{$pixels};
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.announcement {
  // Remove padding here!
  margin-bottom: 24px; // Optional: space between banner and tiles
  .banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 24px;
    background: #E9F2FE;
    border-radius: 8px;
    width: 100%; // Ensures it fills the container
    box-sizing: border-box;
    .banner-content {
      flex: 1 1 auto;
      display: flex;
      align-items: flex-start;
      padding: 6px 12px;
      .banner-text {
        font-family: 'Atlassian Sans', Arial, sans-serif;
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        color: #292A2E;
      }
    }
    .banner-button {
      white-space: nowrap;
      margin-left: auto;
      background: #1868DB;
      border-radius: 4px;
      color: #fff;
      padding: 0 12px;
      height: 32px;
      display: flex;
      align-items: center;
      cursor: pointer;
      border: none;
      .button-content {
        display: flex;
        align-items: center;
        gap: 6px;
        .button-label {
          font-family: 'Atlassian Sans', Arial, sans-serif;
          font-weight: 500;
          font-size: 14px;
          line-height: 20px;
          color: #fff;
        }
      }
    }
  }
}

#custom-header {
  background-color:#0052CC;
  padding:25px 0;;
  position:relative;
  .logo-container {
    float:left;
    img {
        max-height:40px;

    }
  }
  nav {
    float:right;
    & > a {
      margin-right: 30px;
    }
    & > a, .show-updates-dropdown {
      color: #FFF;
      font-size: .875rem;
      display:inline-block;
    }
  }
  .updates-dropdown {
    right: 0px;
  }

  @media screen and (min-width: 900px) {
    nav > a {
      position:relative;
      top:1px;
    }
    .show-updates-dropdown {
      color: #172B4D !important;
      background-color: #FFAB00;
      transition: background-color .15s ease-in;
      padding: 7px 12px;
      border-radius: 4px;
      &:hover {
        background-color: rgb(255, 196, 0);
      }
    }
  }

  @media screen and (max-width: 900px) {
    text-align:center;
    padding-left:5%;
    padding-right:5%;
    padding-bottom:18px;
    .logo-container {
      float:none;
      display:block;
      margin-bottom:18px;
      max-width:none;
      .logo {
        max-width:325px;
        display:inline-block;
      }
    }
    nav {
      float:none;
    }
    nav > a, .updates-dropdown-container {
      float:none;
    }
  }

  @media screen and (max-width: 475px) {
    nav {
      & > a {
        margin-right:20px;
      }
      & > a, .show-updates-dropdown {
        font-size:13px;
      }
    }
    .logo-container .logo {
      max-width:70%;
    }
    nav > a:nth-child(1):before {
      content:none;
    }
  }
}

#custom-footer {
  padding:25px 0;
  color:#505F79;
  font-size:14px;
  background-color:#F4F5F7;
  .logo {
    display:inline-block;
    img {
      height:30px;
    }
  }
  & > div {
    position:relative;
    top:2px;
  }
  .meta {
    float:right;
    opacity:.5;
    margin-left:20px;
    line-height:30px;
  }
  .links {
    float:right;
    line-height:30px;
    a {
      color:#505F79;
      display:inline-block;
      margin-left:20px;
      &:hover {
        color:#505F79;
      }
      &:first-of-type {
        margin-left:0px;
      }
    }
  }

  @media screen and (max-width: 880px) {
    overflow:hidden;
    & > div {
      top:0px;
    }
    .links {
      margin-left:0px;
    }
    .meta {
      float:left;
    }
    .logo {
      display:none;
    }
  }

  @media screen and (max-width: 600px) {
    text-align:center;
    font-size:13px;
    line-height:20px;
    .meta, .links {
      float:none;
    }
    .links {
      margin-bottom:5px;
    }
  }
}