:root {
  font-family: var(--base-font);
  font-weight: 300;
  background-color: white;
  color: var(--text-color, black);
  font-size: 18px;
  --wrapper-spacing: .83333em;
}


body {
  margin: 0;
  background-color: white;
  padding-top: 4em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--emphasis-font);
  font-weight: 700;
}

h1 {
  font-size: .7778em;
  color: white;
  text-transform: uppercase;
  letter-spacing: .31em;
}

h2 {
  font-size: 1.77778em;
  line-height: 1.333em;
}

h3 {
  font-size: 1em;
  line-height: 1.7222em;
  color: var(--primary-color);
}

h4 {
  font-size: 1em;
  line-height: 1.7222em;
}

a {
  color: var(--primary-color);
  text-decoration: underline;

  &:hover {
    text-decoration: none;
  }
}

input[type="text"], input[type="password"], textarea, select {
  border: solid var(--primary-color) 1px;
  padding: 1.25em 1.5em;
  width: calc(100% - 3em);
  background-color: white;
  color: var(--text-color);
  font-size: .8888889em;
  line-height: 1em;
  border-radius: 1.6em;
  /*box-shadow: 0px 0px 3px 1px rgba(132, 162, 228, 0.80);*/
  position: relative;
  z-index: 1;

  &.condensed {
    padding: .5em 1em;
    width: calc(100% - 2em);
    border-radius: 1.25em;
  }

  &.icon {
    &:after {
      display: block;
      position: absolute;
      right: 1em;
      top: .5em;
      z-index: 2;
      content: " ";
      height: 2em;
      width: 2em;
      background-color: var(--primary-color);
      color: white;
      border-radius: 50%;
    }
  }
}

textarea {
  height: 1em;

}

select {
  appearance: none;
  background-image: var(--turndown-icon);
  background-position: calc(100% - 1em) center;
  background-repeat: no-repeat;
  padding: .75em 4em .75em 1.5em;
}

/************************
 * Utility Classes
************************/

button, .button {
  text-transform: uppercase;
  font-size: 1em;
  font-weight: 700;
  width: auto;
  height: 2.5em;
  border-radius: 5em;
  background-color: var(--secondary-color);
  color: var(--secondary-inverse-color);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 0;
  font-family: var(--base-font);
  line-height: 1em;
  cursor: pointer;
  transition: background-color .25s ease-in-out;
  padding: .75em 1em;

  &:hover {
    background-color: var(--secondary-hover-color);
  }

  &.secondary {
    background-color: var(--secondary-color);
    color: var(--secondary-inverse-color);

    &:hover {
      background-color: var(--secondary-hover-color);
    }
  }

  &.tertiary {
    background-color: var(--quaternary-color);
    color: var(--text-color);
  }

  &.text {
    font-size: .6667rem;
    font-weight: 400;
    background: transparent;
    text-align: left;
    display: inline-block;
    height: auto;
    width: auto;
    color: var(--primary-color);
    text-decoration: underline;
    padding: 0;
    min-height: 0;
  }

  &.icon {
    justify-content: flex-start;
    width: auto;
    padding: 1em 1.5em 1em .5em;
    height: 3em;
    margin: auto;
    border-radius: 1.5em;

    svg, img {
      margin-right: .5em;
    }
  }

  &.no-padding {
    padding: 0;
  }

  &.plain {
    width: auto;
    height: auto;
    background: transparent;
    display: inline-block;
    padding: 0;
    font-weight: 400;
  }

  &.load-more, &.loading-more {
    width: auto;
    min-width: 20em;
    margin: auto;
    height: auto;
    flex-direction: column;
    padding: .75em 3em;
    border-radius: 10em;
  }

  &.multi-row {
    height: auto;
  }

  svg {
    pointer-events: none;
  }
}

a.button {
  height: 1em;
}

.toggle-button {
  background-color: white;
  color: var(--text-color);
  border: solid black 1px;
  text-transform: none;
  text-align: left;
  font-size: .7777em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 4em;
  padding: 1.5em 1.5em 1.5em .5em;
  margin: .5em 0;
  border-radius: 2em;
  transition: all .25s ease-in-out;
  position: relative;
  cursor: pointer;

  &:hover {
    background-color: white;
  }

  &.active {
    border-color: var(--primary-color);
    color: white;
    background-color: var(--primary-color);

    .icon {
      background-color: white;
      border: solid white .5em;

      img, svg {

        path, circle {
          fill: var(--primary-color);
        }
      }
    }

    .turn-down {  
      img, svg {
        transform: rotate(180deg);
        border-width: 0;
        background: transparent;

        path {
          stroke: white;
        }
      }
    }
  }

  .icon {
    height: 2em;
    width: 2em;
    background-color: var(--primary-color);
    border: solid var(--primary-color) .5em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: .5em;
    border-radius: 2em;
    transition: all .25s ease-in-out;

    img, svg {
      height: 1.5em;
      width: 1.5em;
      transition: all .25s ease-in-out;
      position: relative;

      path, circle {
        fill: white;
        transition: all .25s ease-in-out;
      }
    }
  }

  .turn-down {
    position: absolute;
    top: calc(50% - .875em);
    right: 1em;

    img, svg {
      display: block;
      margin-right: 0;
      border-radius: 0;
      border-width: 0;
      background: transparent;
      transform: rotate(0deg);
      transition: all .25s ease-in-out;
      height: 1.75em;
      width: auto;

      path {
        stroke: var(--primary-color);
      }
    }
  }
}

.clear {
  border-top: solid var(--line-color) 1px;
  margin-top: 1em;
  margin-left: calc(var(--wrapper-spacing) * -1);
  margin-right: calc(var(--wrapper-spacing) * -1);
  padding: .25em var(--wrapper-spacing);
  width: auto;

  button {
    margin: 1em 0;
    text-transform: none;
  }

  &.large-screen {
    display: none;
  }
}

.tooltip-wrapper {
  position: relative;
  cursor: context-menu;

  .tooltip {
    background-color: var(--primary-color);
    padding: 1em 1.5em;
    color: var(--primary-inverse-color) !important;
    font-size: .7777rem;
    border-radius: .5em;
    max-width: 20em;
    position: absolute;
    top: calc(100% + 1em);
    left: -.25em;
    animation: fadeIn .25s forwards;
    z-index: 3;

    &.hide {
      opacity: 0;
      animation: fadeOut .25s forwards;
    }

    &:before {
      content: '';
      height: 1.25em;
      width: 1.25em;
      transform: rotate(45deg);
      background-color: var(--primary-color);
      position: absolute;
      top: -.6em;
      left: 25%;
    }

    h1, h2, h3, h4, h5, h6 {
      color: var(--primary-inverse-color) !important;
      text-transform: none !important;
      margin: .5em 0;
      padding: 0;
      font-size: 1em !important;
    }

    ul {
      padding-left: 1em !important;

      li {
        margin: 1em 0 !important;
        
      }
    }
  }
}

.loading-bar {
  position: relative;
  background-color: var(--background-color);
  height: .25em;
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100%;

  &:after {
    content: " ";
    display: block;
    width: 70%;
    top: -50%;
    height: 250%;
    position: absolute;
    animation: loading 2s linear infinite;
    z-index: 1;
    background: var(--highlight-color);
  }
}

.overflow-count {
  font-size: .77778em;
  font-weight: 500;
}

.skip-link {
  display: block;
  position: absolute;
  top: 0;
}

.skip-link:focus {
  left: .25em;
  top: .25em;
  padding: .5em;
  border-radius: 5px;
  background: var(--primary-color);
  color: var(--primary-inverse-color);
  z-index: 99;
}

.condensed {
  margin: 0;
  padding: 0;
}

@keyframes loading {
  from {
    left: -70%;
  }

  to {
    left: 100%;
  }
}

/************************
 * Leader Line
************************/

.leader-line {
  z-index: 2;
  transition: opacity .25s ease-in-out;
}

/************************
 * Page Header
************************/

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  font-size: .88889em;
  padding: var(--wrapper-spacing) var(--wrapper-spacing) 0em;
  position: fixed;
  top: 0;
  width: calc(100% - 2 * var(--wrapper-spacing));
  z-index: 11;
  background-color: white;
  transition: box-shadow .25s ease-in-out;

  &.scrolled {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  }

  &>a {
    img {
      height: 3.5em;
      width: auto;
    }
  }

  .nav-items {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 15;

    nav {
      display: none;
    }

    .nav-controls {
      color: var(--primary-color);
      height: 1.75em;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-end;
      margin-top: 8px;

      img {
        height: 100%;
        margin-right: .5em;
        padding-right: .5em;
        border-right: solid var(--primary-color) 1px;
      }

      button {
        background: transparent;

        &.profile {
          height: 2.375em;
          width: 2.375em;
          display: flex;
          justify-content: center;
          align-items: center;
          color: white;
          margin-right: .5em;

          &.default {
            &.logged-in {
              svg {
                circle {
                  fill: var(--primary-color);
                }

                ellipse, path {
                  fill: white;
                }
              }
            }
            svg {
              ellipse, path {
                fill: var(--primary-color);
              }
              circle {
                stroke: var(--primary-color);
                fill: white;
              }
            }
          }
        }

        &.nav {
          width: 2em;
          color: transparent;
          position: relative;
          border-width: 0;

          &:before {
            content: '&nbsp;';
            background-color: var(--primary-color);
            position: absolute;
            height: 2px;
            border-radius: 1px;
            width: 2em;
            top: -.6667em;
            left: 0;
          }

          &:after {
            content: '&nbsp;';
            background-color: var(--primary-color);
            position: absolute;
            height: 2px;
            border-radius: 1px;
            width: 2em;
            bottom: -.6667em;
            left: 0;
          }

          &.hamburger {
            border-radius: 1px;
            background-color: var(--primary-color);
            height: 2px;
          }

          &.close {
            background-color: transparent;
            height: 1.75em;

            &:after {
              transform: rotate(45deg);
              top: .8em;
            }

            &:before {
              transform: rotate(-45deg);
              top: .8em;
            }
          }
        }
      }
    }
  }
}

/************************
 * Page Footer
************************/

footer {
  padding-top: 2.25em;
  background-image: var(--footer-bg-image);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100%;
  background-color: var(--background-color);

  h2 {
    margin: 3em 1em 1em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-size: 1.333em;
    text-align: center;
  }

  .principles {
    background-color: var(--primary-color);
    color: white;

    svg {
      height: 5em;
      width: auto;
      
      path {
        fill: white;
        stroke: transparent;
      }
    }

    h2 {
      color: white;
      padding-top: 1.5em;
    }

    ul {
      margin: 0 1em;
      padding: 0;

      li {
        display: block;
        list-style-type: none;
        margin: 1em;
        padding: 1em;
        border-bottom: dotted white 1px;
        text-align: center;

        &:last-child {
          border-bottom-width: 0px;
        }

        h3 {
          font-size: 1em;
          text-align: center;
          text-transform: uppercase;
          color: white;
        }

        p {
          font-size: .888889em;
          line-height: 1.625em;
        }
      }
    }
  }

  .nav-links {
    display: none;

    li {
      a {
        font-size: 1rem;
      }
    }
  }

  .usage-warning, nav, .copyright, .nav-links {
    text-align: center;
    background-color: white;
    font-size: .777778em;
    line-height: 1.75em;
    margin: 0;
    padding: 1.25em var(--wrapper-spacing);
  }

  nav {
    padding-bottom: 1px;
    padding-top: 0;

    ul {
      margin: 0px;
      padding: 0px;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;

      li {
        margin: 0px;
        padding: 0px;
        list-style-type: none;

        &:last-child {
          a {
            border-right: 0px;
          }
        }

        a {
          padding: 0 .5em;
          border-right: solid var(--text-color) 1px;
        }

      }
    }
  }

  .copyright {
    padding-top: 1px;
  }
}

/************************
 * Navigation Menus
************************/

.nav-menu {
  padding: .75em 1.25em 1.25em;
  width: calc(100% - 2.5em);
  background-color: white;
  position: fixed;
  top: 4em;
  z-index: 12;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  animation: fadeInSlideDown .25s forwards;

  &.hide {
    animation: fadeOutSlideUp .25s forwards;
    opacity: 0;
    top: -4em;

    &.load {
      display: none;
    }
  }

  h2 {
    font-size: .88889em;
    font-weight: 300;
    margin-bottom: 0;
  }

  p {
    font-size: .66667em;
    margin: .25em 0;
  }

  nav {
    ul {
      margin: 0 0 1em 0;
      padding: 0;

      li {
        list-style-type: none;
        border-bottom: solid var(--line-color) 1px;
        padding: 1em 0;

        &:last-child {
          border-bottom-width: 0;
        }

        img, svg {
          margin-right: .75em;
        }

        svg {
          g, path {
            stroke: var(--primary-color);
          }
        }

        a {
          display: flex;
          color: var(--text-color);
          font-size: .8889em;
          text-decoration: none;
        }
      }
    }
  }

  .user-details {
    h2 {
      font-weight: 700;
      color: var(--primary-color);
    }

    ul {
      margin: 0;
      padding: 0;

      li {
        font-size: .7778em;
        list-style-type: none;

        h3 {
          font-size: 1em;
          color: var(--text-color);
          display: inline;
        }
      }
    }
  }

  .button {
    width: auto;
    display: inline-flex;
    padding-left: 1.5em;
    padding-right: 1.5em;
    margin-top: .5em;
  }
}

/************************
 * Full Width Template
************************/

.title-tab {
  padding: var(--wrapper-spacing);
  position: relative;
  background: linear-gradient(180deg, var(--top-bg-color) 0%, var(--top-bg-color) 68%, var(--bottom-bg-color) 68%, var(--bottom-bg-color) 100%);

  &:after {
    content: '';
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-image: var(--transition-bg-image), linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 68%, var(--bottom-bg-color) 68%, var(--bottom-bg-color) 100%);
    background-position: center 3em, center top;
    background-repeat: repeat-x, no-repeat;
    background-size: 2.13em, auto;
  }

  h1 {
    font-size: .66667em;
    font-weight: 300;
    padding: .75em 2em 2em;
    display: inline-block;
    background-color: var(--primary-color);
    border-radius: 8px;
  }
}

/************************
 * Contained Template
************************/

.outside {
  padding: 0px var(--wrapper-spacing);
  background-color: var(--background-color);

  .illustration-wrapper {
    display: none;
  }

  .sub-title {
    color: var(--primary-color);
    text-transform: uppercase;
    text-align: center;
    font-weight: 500;
    margin-bottom: .25em;
    margin-top: 0;
  }

  h2 {
    font-size: 1.3333em;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: .5em;
    display:flex;
    justify-content: center;
    align-items: center;

    .sprig-component {
      display: inline-block;

      .plain {
        padding: 0;
        
        svg {
          top: .2em;
        }
      }
    }

    .favorite-toggle {
      svg {
        path {
          fill: var(--favorite-color);
        }
      }
    }

    img, svg {
      height: 1.1em;
      width: 1.1em;
      position: relative;
      padding: 0 4px;

      &.target-icon {
        circle {
          fill: var(--tertiary-color);
        }

        path {
          fill: var(--tertiary-inverse-color);
        }
      }
    }
  }

  .tab-container {
    padding-bottom: 0;
  }
}

.container {
  padding: 0px var(--wrapper-spacing);
  background: white;
}


/************************
 * Login Page
************************/

.login-reset {
  background-color: var(--background-color);

  .intro {
    text-align: center;
    margin: 0;
    padding: 1em 1em 2em;

    h1 {
      color: var(--primary-color);
      font-size: 2.5em;
      line-height: 1.2em;
      letter-spacing: normal;
      text-transform: none;
      margin: 1em 0 0;
    }
  }

  .login-wrapper {
    max-width: 30em;
    margin: auto;
    margin-bottom: 5em;
    padding: 0 1em;

    label {
      font-weight: 500;
      margin: 1em 0 .5em;
      display: block;

      &.checkbox {
        font-size: .88889em;
      }
    }

    button {
      margin: 1em 0;
    }

    p {
      font-size: .88889em;
    }
  }
}

/************************
 * Home Page
************************/

.home {
  background-color: var(--background-color);

  .topper {
    background-image: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, var(--background-color) 50%, var(--background-color) 100%);
    background-position: center top;
    background-repeat: repeat-x;
    background-size: auto;
    text-align: center;

    img {
      width: 6em;
      height: auto;
    }
  }

  .intro {
    text-align: center;
    margin: 0;
    padding: 1em 1em 2em;

    h1 {
      color: var(--primary-color);
      font-size: 2.5em;
      line-height: 1.2em;
      letter-spacing: normal;
      text-transform: none;
      margin: 0;
    }

    p {
      line-height: 1.77778em;

      &.sub-title {
        font-size: 1.3333em;
        text-transform: uppercase;
        font-weight: 600;
        margin: 0;
      }
    }
  }

  .call-outs {
    display: flex;
    flex-direction: column;
    padding: 1em var(--wrapper-spacing);
    background-image: var(--swoop-bg);
    background-position: bottom center;
    background-size: 100%;
    background-repeat: no-repeat;
    margin: 0;

    .call-out-wrapper {
      position: relative;
      z-index: 0;
      margin-bottom: 2em;

      &:before {
        content: '';
        height: 9em;
        width: 9em;
        position: absolute;
        z-index: 0;
        border-radius: 10em;
        top: -1.5em;
        left: calc(50% - 4.5em);
        box-shadow: 0px 4px 15px 8px rgba(21, 21, 21, 0.15);
      }
    }

    .call-out {
      background-color: white;
      border-radius: 5px;
      box-shadow: 0px 4px 15px 8px rgba(21, 21, 21, 0.15);
      padding: 2em .5em;
      margin: 2em 0;
      text-align: center;
      position: relative;
      z-index: 1;

      .image-wrapper {
        height: 9em;
        width: 9em;
        margin: -5.5em auto 0;
        background-color: white;
        border-radius: 10em;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;

        img {
          height: auto;
          width: 6em;
        }
      }

      .sub-title {
        font-size: .7778em;
        margin: 0;
        margin-top: .75em;
        text-transform: uppercase;
      }

      h2 {
        font-size: 1.77778em;
        color: var(--primary-color);
        line-height: 1.1111em;
        margin: 0;
      }

      p {
        line-height: 2.2em;
        margin: 1em 0 1.5em;
      }
    }
  }  
  
  footer {
    .usage-warning, nav, .copyright, .nav-links {
      background-color: var(--background-color);
    }
  }
}

/************************
 * Landing Pages
************************/

.landing {
  .intro {
    background-color: var(--background-color);
    padding: 0 var(--wrapper-spacing);
    text-align: center;

    .illustration-wrapper {
      display: none;
    }

    h1 {
      font-size: 1.7777em;
      color: var(--text-color);
      text-transform: none;
      letter-spacing: 0;
      margin-top: 0;
    }

    p {
      line-height: 1.444em;
      margin-bottom: 0;
      padding-bottom: 1em;

      &.sub-title {
        font-weight: 500;
        color: var(--primary-color);
        text-transform: uppercase;
        margin: 0;
        padding: 0;
      }
    }
  }

  .call-outs {
    background-color: var(--background-color);
    padding: var(--wrapper-spacing);

    .call-out {
      background-color: white;
      border-radius: 15px;
      padding: 0em 1em 1em;
      text-align: center;
      margin: 4em 0;
      background-image: var(--swoop-inverted), linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 55%, var(--primary-color) 55%, var(--primary-color) 100%);
      background-position: center 45%, center top;
      background-repeat: no-repeat, no-repeat;
      background-size: contain, auto;
      text-align: center;

      &:first-child {
        margin-top: 2em;
      }

      &.conclusion {
        background: none;
        background-color: transparent;

        h2 {
          font-size: 1.77778em;
          color: var(--primary-color);
          font-family: var(--emphasis-font);
          margin: 1em 0em;
        }

        p {
          font-size: 1.2222em;
          font-style: italic;
        }
      }

      a {
        color: var(--text-color);
        text-decoration: none;

        &:hover {
          h2 {
            text-decoration: underline;
          }
        }
      }

      h2 {
        color: white;
        margin: -1em 0 1em;
        font-size: 1.33333em;
        font-family: var(--base-font);
      }

      p {
        line-height: 1.6666em;
      }
      
      .icon {
        background: white;
        padding: .75em;
        border-radius: 50%;
        height: 2.5em;
        width: 2.5em;
        border: solid var(--primary-color) 5px;
        display: inline-block;
        position: relative;
        top: -2em;

        &.stroke {
          svg {
            path {
              stroke: var(--primary-color);
              fill: transparent;
            }
          }
        }

        svg {
          height: 100%;
          width: 100%;

          path {
            fill: var(--primary-color);   
            stroke: transparent;         
          }
        }
      }

      .image {
        border-radius: 50%;
        height: 9em;
        width: 9em;
      }

      .sub-title {
        color: var(--primary-color);
        font-weight: 700;
      }
    }
  }
}

/************************
 * Department Pages
************************/

.department {
  
  .key { 
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    font-size: .722222em;
    margin: 0 0 2em 0;

    &>span {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      margin-left: 1em;
      margin-right: .25em;
      font-weight: 500;

      .image-wrapper {
        margin-right: .25em;
        border-radius: 2rem;
        background-color: var(--secondary-color);
        height: 1.5rem;
        width: 1.5rem;
        display: flex;
        justify-content: center;
        align-items: center;

        svg {
          width: auto;
          margin-right: 0;

          g {
            stroke: white;
          }

          path {
            fill: white;
          }
        }
      }

      &.in-demand {
        .image-wrapper {
          background-color: var(--highlight-color);

          svg {
            g {
              stroke: transparent;
            }
          }
        }
      }
    }
  }

  .section-nav {
    position: relative;
    padding: 0 var(--wrapper-spacing);
    background-color: var(--background-color);

    button {
      width: 100%;;
    }

    .current-page {
      border-color: var(--primary-color);
      padding: 0 4em 0 1.5em;
      background-color: white;
      font-weight: 700;
      font-size: .888889rem;
      height: 3em;

      &.active {
        background: var(--primary-color);
      }
    }

    .section-pages {
      font-size: .77778em;
      border-radius: 1.75em;
      border: solid var(--primary-color) 1px;
      background-color: white;
      padding: 1.75em 0;
      margin: 0;
      box-shadow: 0px 0px 8px 4px rgba(163, 163, 163, 0.25);
      position: absolute;
      width: calc(100% - (2 * var(--wrapper-spacing)) - 2px);
      top: 6em;
      left: var(--wrapper-spacing);
      display: block;
      opacity: 1;
      z-index: 3;
      animation: fadeIn .25s forwards;

      &.hide {
        opacity: 0;
        animation: fadeOut .25s forwards;
      }

      li {
        list-style-type: none;
        margin: 0;
        padding: 0;

        a {
          color: var(--text-color);
          text-decoration: none;
          display: block;
          padding: 1em 2em;

          &.active, &:hover {
            background-color: var(--background-tint-color);
          }

          &:hover {
            text-decoration: underline;
          }

          &.active {
            font-weight: 700;
          }
        }
      }
    }

    p {
      font-size: .66667em;
      font-weight: 700;
      font-family: var(--emphasis-font);
      padding: 0 0 .5em;
      margin: 0;
    }

    select {
      width: 100%;
    }
  }

  .department-topper {
    .image-wrapper, h2, .tab-container {
      display: none;
    }
  }

  .intro {
    padding: var(--wrapper-spacing);
    background-color: var(--background-color);

    .image {
      border-radius: 50%;
      width: 100%;
      height: auto;
    }

    .sub-title {
      margin: .75em 0;
      font-size: .88889em;
      font-weight: 500;
      text-transform: uppercase;
    }

    .title {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      position: relative;

      &:after {
        content: '';
        height: 4.5em;
        width: 4.5em;
        border-radius: 50%;
        background-color: var(--primary-color);
        border: solid white 3px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
      }

      .icon, svg {
        z-index: 1;
        padding: 1em;
        flex-shrink: 0;
        flex-grow: 0;
        height: 3em;
        width: 3em;

        path {
          stroke: transparent;
          fill: var(--primary-inverse-color);
        }
      }

      h2 {
        color: var(--primary-color);
        position: relative;
        margin: 0;
        margin-left: .25em;
      }
    }

    h3 {
      font-size: .77778em;
      color: var(--text-color);
      margin-bottom: 0;
    }

    p {
      line-height: 1.55556em;
    }

    ul {
      color: var(--primary-color);
      padding-left: 1.5em;
      font-size: .77778em;

      li {
        line-height: 2em;
      }
    }
  }
  
  .tab-container {
    background-color: var(--background-color);
    padding: 0 var(--wrapper-spacing);

    .tab-bar {
      .tab {
        background-color: white;
      }
    }
  }

  .roles {
    &>h3 {
      color: var(--text-color);
      font-size: 1em;
      text-transform: uppercase;
      font-family: var(--base-font);
      font-weight: 500;
      line-height: 1em;
      text-align: center;
      margin: 2.5em 0 2em;
      border-bottom: dashed var(--line-color) 1px;
      position: relative;

      span {
        display: inline-block;
        padding: 0 1em;
        position: relative;
        top: .5em;
        background-color: var(--background-color);
      }
    }
  }
}

/************************
 * Role Search
************************/

.role-search {
  .container {
    h3 {
      font-size: 1em;
      margin-bottom: .25em;

      &+p {
        margin-top: .25em;
      }
    }

    .explore {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      flex-wrap: wrap;

      &.small-screen {
        display: flex;
      }

      &.large-screen {
        display: none;
      }

      h3 {
        margin-top: 0;
      }

      button {
        margin-left: 1em;
      }

      p {
        width: 100%;
        margin-top: 0;
      }
    }

    .overview {
      line-height: 1.72em;

      h3 {
        font-size: 1.7777em;
        text-transform: none;
        line-height: normal;
        margin-top: 0;
      }

      .illustration-wrapper {
        display: none;
      }

      .image-wrapper {
        background: linear-gradient(180deg, var(--background-color) 0%, var(--background-color) 50%, white 50%, white 100%);
        margin: calc(var(--wrapper-spacing) * -1);
        padding: var(--wrapper-spacing);

        img {
          width: 100%;
          height: auto;
          border-radius: 50%;
        }
      }

      .tagline {
        font-size: .88889em;
        font-family: var(--emphasis-font);
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 0;
      }
    }
  }

  #search-filters {
    h3 {
      font-family: var(--base-font);

    }
    #search-filter {
      svg {
        path, circle {
          stroke: white;
          fill: transparent;
        }
      }
    }
  }

  .controls {
    display: block;
    opacity: 1;
    position: absolute;
    z-index: 2;
    width: calc(100% - (2 * var(--wrapper-spacing)) - 1.5em);
    background-color: var(--background-tint-color);
    border: solid black 1px;
    border-radius: 25px;
    padding: var(--wrapper-spacing);
    margin-top: .5em;
    box-shadow: 0px 0px 8px 4px rgba(163, 163, 163, 0.25);
    animation: fadeIn .25s forwards;

    &.hide {
      opacity: 0;
      animation: fadeOut .25s forwards;
    }

    h3 {
      margin-top: .25em;
    }

    p {
      font-size: .88889em;
    }

    .filter-toggles {
      padding: 0;
      margin: 1.5em 0 0;
      display: flex;
      flex-direction: row;
      justify-content: stretch;
      align-items: flex-end;

      li {
        padding: 0;
        margin: 0;
        list-style-type: none;
        flex-grow: 1;
        flex-shrink: 1;

        button {
          background-color: transparent;
          border-radius: 0;
          color: var(--text-color);
          border-bottom: solid 1px var(--primary-color);
          font-weight: 300;
          text-transform: none;
          width: 100%;
          padding: 0;
          padding-bottom: 4px;
          line-height: 2em;
          font-size: .77778em;

          &.active {
            font-weight: 700;
            padding-bottom: 0;
            border-bottom-width: 5px;
          }
        }
      }
    }

    .filter-wrapper {
      .toggle-button {
        display: none;
        width: 100%;
      }

      .filter-options {
        display: none;
        padding-left: 3px;

        &.show {
          display: block;
        }

        .filter-option-list {
          max-height: 60vh;
          overflow-y: scroll;
          overflow-x: hidden;
          padding-left: .25em;
        }

        label {
          display: flex;
          flex-direction: row;
          font-size: .77778em;
          justify-content: flex-start;
          align-items: center;
          margin: 1.5em 0;

          input {
            margin-right: 2em;
            transform: scale(2);
            accent-color: var(--primary-color);
          }
        }
      }
    }
  }

  .summaries {
    filter: blur(0) grayscale(0);
    transition: filter .25s ease-in;

    .no-roles {
      border-radius: 0px 0px 5px 5px;
      border: solid .5px var(--line-color);
      box-shadow: 0px 0px 8px 8px rgba(141, 141, 141, 0.05);
      text-align: center;
      padding: 0 1em 3em;

      h3 {
        font-size: 1.77777em;
      }

      button {
        width: auto;
        padding-left: 4em;
        padding-right: 4em;
        margin: auto;
        margin-top: 2.5em;
      }
    }
  }

  .result-controls {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    font-size: .77778em;
    margin-top: 1em;

    .match-count {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      margin-right: auto;

      .key { 
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        font-size: .722222em;
        margin: 0;

        &>span {
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: flex-start;
          margin-left: 1em;
          margin-right: .25em;
          font-weight: 500;

          .image-wrapper {
            margin-right: .25em;
            border-radius: 2rem;
            background-color: var(--tertiary-color);
            height: 1.5rem;
            width: 1.5rem;
            display: flex;
            justify-content: center;
            align-items: center;

            svg {
              width: auto;
              margin-right: 0;

              g {
                stroke: white;
              }

              path {
                fill: white;
              }
            }
          }

          &.in-demand {
            .image-wrapper {
              background-color: var(--secondary-color);

              svg {
                g {
                  stroke: transparent;
                }
              }
            }
          }
        }
      }
    }

    .sort-display {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-end;
      cursor: pointer;
      overflow: hidden;

      &.active {
        svg {
          transform: rotate(180deg);
        }
      }

      svg {
        transition: transform .25s ease-in-out;
        transform: rotate(0deg);
        
        path {
          stroke: var(--primary-color);
        }
      }
    }

    .sort-options {
      opacity: 1;
      position: absolute;
      z-index: 2;
      width: auto;
      min-width: 12em;
      max-width: 15em;
      background-color: var(--background-tint-color);
      border: solid black 1px;
      border-radius: 25px;
      padding: 1.5em .75em;
      box-shadow: 0px 0px 8px 4px rgba(163, 163, 163, 0.25);
      animation: fadeIn .25s forwards;
      top: 3em;
      right: -.5em;
  
      &.hide {
        opacity: 0;
        animation: fadeOut .25s forwards;
      }

      ul {
        margin: 0;
        padding: 0;

        li {
          margin: 0 -.75em;
          padding: 0;
          list-style-type: none;
          overflow: hidden;
          display: block;

          label {
            width: 100%;
            padding: 1em 2em;
            display: block;
            cursor: pointer;
            position: relative;
            overflow: hidden;

            &:has(input:checked) {
              font-weight: 700;
              background-color: var(--quaternary-color);
            }
          }

          input {
            position: absolute;
            left: -2em;
            z-index: 0;
          }
        }
      }
    }
  }

  .load-more-wrapper {

    .loading-more {
      display: none;
      --tertiary-color: var(--secondary-color);
      --background-color: var(--secondary-hover-color);
      animation: loading-pulse 2s infinite;
    }

    &.loading {
      .load-more {
        display: none;
      }

      .loading-more {
        display: block;
      }
    }

    .load-more, .loading-more {
      &+p {
        font-size: .77778em;
        text-align: center;
      }
    }
  }
}

/************************
 * Role Detail Pages
************************/

.role-detail {
  .container {
    h3 {
      font-size: .888889em;
      margin-bottom: .5em;
    }

    .overview {
      line-height: 1.72em;
      display: grid;
      grid-template-columns: 1fr;

      .image-wrapper {
        background: linear-gradient(180deg, var(--background-color) 0%, var(--background-color) 50%, white 50%, white 100%);
        margin: 0 calc(var(--wrapper-spacing) * -1);
        padding: var(--wrapper-spacing);
        grid-area: 1 / 1 / 2 / 2;

        img {
          width: 100%;
          height: auto;
          border-radius: 50%;
        }
      }

      .sprig-component {
        grid-area: 2 / 1 / 3 / 2;
        text-align: center;
      }

      .target-role {
        button {
          background-color: var(--secondary-color);
          color: var(--secondary-inverse-color);

          &.text {
            background-color: transparent;
            color: var(--primary-color);
          }

          &:hover:not(.text) {
            background-color: var(--secondary-hover-color);
          }

          &.targeted {
            svg {
              g, path {
                fill: var(--primary-inverse-color);
              }

              circle {
                fill: var(--primary-color);
              }
            }
          }
        }

        a {
          &.text {
            color: var(--primary-color);
            font-size: .66667rem;
            font-weight: 400;
            text-transform: uppercase;
          }
        }

        svg {
          g, path {
            fill: var(--primary-color);
          }
        }
      }

      h3 {
        grid-area: 3 / 1 / 4 / 2;
      }

      p {
        padding-bottom: 2em;
        margin-bottom: 2em;
        border-bottom: dashed var(--line-color) 1px;
        grid-area: 4 / 1 / 5 / 2;
      }

      ul {
        grid-area: 5 / 1 / 6 / 2;
        padding: 0;
        margin-bottom: 2em;

        li {
          font-size: .8889em;
          font-weight: 500;
          list-style-type: none;
          margin-bottom: 1.5em;
          line-height: normal;
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: flex-start;
          display: flex;
          align-items: center;
          justify-content: flex-start;

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

          .image-wrapper {
            height: 1.75em;
            width: 1.75em;
            display: flex;
            justify-content: center;
            align-items: center;
            background: var(--tertiary-color);
            border-radius: 2em;
            margin: 0;
            padding: 0;
            margin-right: 1em;
            flex-shrink: 0;
          }

          svg {
            height: 1.25em;
            width: auto;
            max-height: 1.25em;
            max-width: 1.25em;
              
              path {
                fill: white;
              }
          }

          &.stroke {
            svg {
              g {
                stroke: white;
              }

              path {
                fill: none;
              }
            }
          }

          &.in-demand {
            .image-wrapper {
              background-color: var(--favorite-color);
            }
          }

          strong {
            font-weight: 700;
            padding: 0 .3125em;
          }
        }
      }
    }

    .tab-container {
      h1, h2, h3, h4, h5, h6 {
        font-family: var(--base-font);
      }
    }

    .details {
      line-height: 1.94em;
      font-size: .88889em;

      h3 {
        color: var(--text-color);
        margin-bottom: 0;
        margin-top: 1.5em;
        text-transform: none;

        &+p, &+ul {
          margin-top: 0;
        }
      }

      ul {
        padding-left: 1.25em;
      }
    }

    .attributes {
      line-height: 1.94em;
      font-size: .777778em;
      margin-top: 3em;

      h3 {
        font-size: 1.143em;
        margin-bottom: .25em;
        text-transform: none;

        &+p, &+ul {
          margin-top: 0;
        }
      }

      ul {
        padding-left: 1.43em;
      }
    }

    .alignment, .next-steps {
      background-color: var(--background-color);
      border-radius: 5px;
      padding: 0em 1em 1em;
      margin-top: 4rem;

      button {
        line-height: 1.333333em;
      }

      hr {
        margin: 2em 0;
        border-width: .5px;
        border-color: var(--line-color);
      }

      h3 {
        text-align: center;
        color: var(--text-color);
        text-transform: none;
        margin-top: -1.5em;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      h4 {
        color: var(--primary-color);
        margin-bottom: 0;
      }

      h5 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;

        &.condensed {
          margin: .75em 0 .5em;
        }

        .count {
          background-color: var(--secondary-color);
          color: var(--secondary-inverse-color);
          height: 2.75em;
          width: 2.75em;
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items:center;
          margin-right: .75em;
          font-weight: 300;
        }

        a {
          display: block;
          margin-left: .5em;
          line-height: 1em;

          svg {
            path {
              fill: var(--tertiary-color);
            }
          }
        }
      }

      h6 {
        text-transform: uppercase;
        color: var(--primary-color);
      }

      h7 {
        font-size: .66667rem;
        font-weight: 500;
        font-family: var(--base-font);
        display: block;
        margin: 1em 0 .5em;
      }

      ul {
        font-size: .77778rem;
        padding-left: 1.43em;

        li {
          margin: .5em 0;

          span {
            font-size: .714285em;
          }
        }

        p {
          margin: .5em 0 .5em -1.43em;
          font-weight: 700;
        }
      }

      .icon {
        height: 4rem;
        width: 4rem;
        position: relative;
        left: calc(50% - 2rem);
        top: -2rem;
        box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.25);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--primary-color);

        img, svg {
          width: 100%;
          height: auto;
        }

        &.default {
          svg {
            circle {
              fill: var(--primary-color);
            }

            path {
              fill: white;
            }
          }
        }
      }

      .alignment-help {
        background-color: var(--tertiary-color);
        border-radius: 10em;
        margin-left: .5em;
        display: block;
        height: 1.5em;
        width: 1.5em;

        svg {
          path {
            fill: white;
          }
        }
      }

      .expand-interests {
        width: 100%;
        border-width: 0;
        color: var(--primary-color);
        background: none;
        font-size: .6667em;
        text-transform: uppercase;
        font-weight: 700;
        line-height: 1em;
        text-align: center;
        border-bottom: dotted var(--primary-color) 1px;
        border-radius: 0;
        position: relative;
        top: -1.25em;

        span {
          display: inline-flex;
          flex-direction: row;
          align-items: center;
          justify-content: center;
          padding: 0 .25em;
          position: relative;
          top: 1.25em;
          background-color: var(--background-color);

          svg {
            margin: 0 .5em 0 .25em;

            &:last-child {
              margin: 0 .25em 0 .5em;
            }
          }        
        }
      }

      .skill-alignment {
        border: solid var(--line-color) .5px;
        border-width: .5px 0;
        padding: .75em .25em;
        margin: 1em 0;
        font-weight: 700;
        font-size: .8888889em;
        display: flex; 

        svg {
          margin-right: .5em;
          path {
            fill: var(--favorite-color);
          }
        }
      }

      .overall {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        p {
          font-size: .8888889em;
          line-height: 1.5em;
        }

        .competency-alignment {
          font-size: 1.777778rem;
          margin-right: .5em;
        }
      }

      .domain-expanded {
        width: 100%;
      }

      .domain {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 1em;
        cursor: pointer;

        &.expanded {
          h6 {
            span {
              transform: rotate(180deg);
            }
          }

          &+.tasks {
            max-height: 500px;
            overflow: hidden;
          }
        }

        &.loading {
          .competency-alignment {
            animation: loading-pulse 2s infinite;
          }
        }

        h6 {
          color: var(--primary-color);
          font-size: .88889rem;
          text-transform: none;
          margin: 0;

          span {
            transform: rotate(0deg);
            transition: all .2s ease-in-out;
            display: inline-block;
            position: relative;
            top: 2px;

            svg {
              height: 1em;

              path {
                stroke: var(--primary-color);
              }
            }
          }
        }
      }

      .tasks {
        border-bottom: solid var(--line-color) .5px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        padding-bottom: 1em;

        &:last-child, &:last-of-type {
          border-bottom-width: 0;
        }

        .task-label {
          font-size: .666667rem;
          font-weight: 700;
          margin-top: 1rem;
        }

        .task {
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          align-items: flex-start;
          border-bottom: dotted var(--line-color) 1px;
          margin-bottom: .5em;

          &:last-child {
            border-bottom-width: 0;
          }

          p {
            font-size: .777778rem;
            font-weight: 300;
            font-style: italic;
            margin-top: 0;
          }

          .competency-alignment {
            background-color: transparent;
            color: var(--primary-color);
            height: 1.5em;
            width: auto;
            justify-content: flex-start;
            align-items: flex-end;
            margin-left: 1em;
          }
        }
      }

      .icon-alignment {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        margin: 0;
        padding: 0;

        li {
          list-style-type: none;
          padding: .25em;
          margin: 0;

          &.required {
            svg {
              path {
                stroke: var(--primary-color);
              }
            }
          }

          &.more {
            font-size: .75em;
            padding: .25em;
            position: relative;
            top: -1px;
            left: 3px;
            border: solid var(--line-color) 2px;
            border-radius: 5em;
            height: 1em;
            width: 1em;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: 600;

            em {
              font-style: normal;
              font-size: .75em;
              letter-spacing: -1px;
            }
          }

          svg {
            path {
              stroke: var(--line-color);
            }
          }

          span {
            position: absolute;
            display: block;
            z-index: 0;
            top: -9999vw;
          }
        }
      }

      .tooltip-wrapper {
        margin-bottom: 1em;
      }
    }

    .next-steps {
      .icon {
        img, svg {
          width: 2rem;
          height: 2rem;
        }

        svg {
          path {
            stroke: white;
          }
        }
      }
    }

    .preferences-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 10fr;
      gap: .25em;

      h6 {
        font-size: .555556rem;
        text-align: center;
        margin: 0;
        color: var(--text-color);
      }

      p {
        font-size: .77777rem;
        text-align: center;

        &:last-child {
          text-align: left;
        }

        span {
          font-size: 0;
        }

        svg {
          height: .8em;
          width: .8em;
          padding: .2em;
          border-radius: 50%;
          background-color: var(--tertiary-color);

          path {
            fill: white;
          }
        }

        &.no-match {
          svg {
            height: 1.2em;
            width: 1.2em;
            padding: 0;
            background-color: var(--tertiary-color);
            
            path {
              fill: var(--tertiary-inverse-color);
            }
          }
        }
      }

      &.overlap {
        svg {
          background-color: var(--tertiary-color);
        }
      }
    }

    .interest {
      margin: 1em 0;
      height: 4.25em;
      transition: height .2s ease-in-out, margin .2s ease-in-out;

      &.hidden {
        margin: 0;
        height: 0px;
        overflow: hidden;

        .me, .job {
          left: 50% !important;
        }

        .gap {
          left: 50% !important;
          width: 0% !important;
        }
      }

      .me, .job {
        background-color: var(--primary-color);
        color: white;
        font-size: .4444444rem;
        height: 2.5em;
        width: 2.5em;
        margin-left: -1.25em;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-transform: uppercase;
        position: relative;
        left: 50%;
        transition: left .5s ease-in-out;

        &:after {
          content: '';
          height: 12px;
          width: 3px;
          position: absolute;
          bottom: -12px;
          left: 50%;
          margin-left: -1.5px;
          background-color: var(--primary-color);
          z-index: 3;
        }
      }

      .job {
        background-color: var(--tertiary-color);

        &:after {
          background-color: var(--tertiary-color);
          top: -12px;
        }
      }

      .track {
        border-radius: 100px;
        background: linear-gradient(0deg, #D4D7D9 0%, #D4D7D9 100%), linear-gradient(90deg, #FFF -19.65%, #0D7BB5 100%);
        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25) inset;
        height: 10px;
        width: 100%;
        position: relative;
        margin: 2px 0;

        .gap {
          background: linear-gradient(0deg, #5F6465 0%, #5F6465 100%), linear-gradient(90deg, #FFF -19.65%, #0D7BB5 100%);
          height: 10px;
          position: absolute;
          left: 50%;
          width: 0%;
          transition: all .5s ease-in-out;

          &.round-left {
            border-top-left-radius: 100px;
            border-bottom-left-radius: 100px;
          }

          &.round-right {
            border-top-right-radius: 100px;
            border-bottom-right-radius: 100px;
          }
        }
      }
    }

    .next-steps {
      font-size: .777778em;
      line-height: 2em;

      h3 {
        font-size: 1.143em;
        color: var(--primary-color);
      }

      ul {
        padding-left: 1.43em;
      }
    }
  }
}

/************************
 * Dashboard
************************/

.dashboard {
  .overview {
    line-height: 1.72em;
    position: relative;
    margin: calc(var(--wrapper-spacing) * -1);
    padding: var(--wrapper-spacing);
    background-color: white;

    h2 {
      color: var(--primary-color);
      margin-bottom: 0;
      font-size: 1.777778em;
      text-align: left;
      padding-bottom: 0;
      margin-top: .5em;
    }

    p {
      font-size: 1.3333em;
      margin-top: .5em;
      padding-bottom: 1.125em;
      margin-bottom: 1.125em;
      border-bottom: dashed var(--line-color) 1px;
    }

    .image-wrapper {
      background: linear-gradient(180deg, var(--background-color) 0%, var(--background-color) 50%, white 50%, white 100%);
      margin: calc(var(--wrapper-spacing) * -1);
      padding: var(--wrapper-spacing);
      position: relative;
      text-align: center;

      img, svg {
        width: 100%;
        max-width: 22em;
        height: auto;
        border-radius: 50%;

        circle {
          fill: var(--primary-color);
        }
      }

      button {
        height: 2em;
        width: 2em;
        border-radius: 50%;
        position: absolute;
        right: 14vw;
        bottom: 14vw;
        background-color: var(--secondary-color);

        svg {
          height: 100%;
          width: 28px;
          overflow: visible;

          path {
            fill: white;
          }
        }
      }
    }

    .avatar-picker {
      border: solid var(--line-color) 1px;
      border-radius: 1.25em;
      padding: 1.5em;
      background-color: var(--background-tint-color);
      position: absolute;
      top: 90vw;
      left: 0;
      width: calc(100vw - 3em - 2 * var(--wrapper-spacing));
      z-index: 4;
      opacity: 1;
      display: block;
      animation: fadeIn .25s forwards;

      &.hide {
        opacity: 0;
        animation: fadeOut .25s forwards;
      }

      h3 {
        margin: 0 0 1em;
        padding: 0;
        font-size: .777778em;
        border-top-width: 0;
      }

      ul {
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;

        li {
          list-style-type: none;
          padding: 0;
          margin: 1em;
          width: calc((100% - 5em - 2px - 2 * var(--wrapper-spacing))/3);
          flex-grow: 1;
          flex-shrink: 1;
          display: block;
          position: relative;

          label {
            position: relative;
            width: 100%;
            display: flex;

            &:has(:checked) {
              svg, img {
                border-color: var(--primary-color);
              }
            }

            input {
              position: absolute;
              left: 50%;
              top: 50%;
              margin: 0;
            }

            svg, img {
              height: auto;
              width: 100%;
              position: relative;
              z-index: 1;
              border: solid transparent 5px;
              border-radius: 50%;
              transition: border .2s ease-in-out;
            }
          }

          .current-avatar {
            display: flex;
            justify-content: center;
            align-items: center;
            position: absolute;
            top: -.375em;
            right: -.375em;
            height: 1.75em;
            width: 1.75em;
            background-color: var(--primary-color);
            border-radius: 50%;
            z-index: 2;

            svg, img {
              height: 1em;
              width: 1em;

              path {
                fill: white;
              }
            }
          }
        }
      }

      button {
        margin-top: 1.5em;
        cursor: default;
      }

      .close-button {
        position: absolute;
        top: 1em;
        right: 1em;
        margin-top: 0;
      }
    }
  }

  .container {
    h1, h2, h3, h4, h5, h6 {
      font-family: var(--base-font);
    }

    section {
      .main-column {
        h3 {
          margin-bottom: .5em;
          margin-top: 1.5em;
          padding-top: 1.5em;
          border-top: solid var(--primary-color) 1px;

          &:first-child {
            margin-top: 0;
            padding-top: 0;
            border-width: 0;
          }

          .color-fill {
            svg {
              circle {
                fill: var(--tertiary-color);
              }
      
              path {
                fill: white;
              }
            }
          }

          svg {
            height: 1.5em;
            width: 1.5em;
            position: relative;
            top: .375em;

            path {
              fill: var(--tertiary-color);
            }

          }
        }

        ul {
          padding-left: 1em;

          li {
            line-height: 2.1em;
          }
        }

        p, li {
          font-size: .88889em;
        }
        
        .target-role {
          :hover {
            h4 {
              text-decoration: underline;
            }
          }

          a {          
            background-color: var(--background-tint-color);
            border-radius: .5em;
            padding: 1em;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1em;
            text-decoration: none;
            color: var(--text-color);

            img {
              grid-area: 1 / 1 / 2 / 2;
              border-radius: 50%;
              max-width: 100%;
            }

            h4 {
              grid-area: 1 / 2 / 2 / 4;
              display: flex;
              justify-content: flex-start;
              align-items: center;
              font-weight: 500;
              margin-bottom: .25em;
              line-height: 1.4em;
            }

            ul {
              grid-area: 2 / 1 / 3 / 4;
              display: flex;
              flex-direction: row;
              justify-content: flex-start;
              align-items: center;
              margin: 0;
              padding: 0;

              li {
                list-style-type: none;
                margin: 0;
                padding: 0;
                font-size: .66667em;
                display: flex;
                flex-direction: row;
                justify-content: flex-start;
                align-items: center;
                margin-right: 1.75em;

                .image-wrapper {
                  font-size: 1rem;
                  height: 1.5em;
                  width: 1.5em;
                  display: flex;
                  justify-content: center;
                  align-items: center;
                  border-radius: 2em;
                  background-color: var(--tertiary-color);
                  margin-right: .5em;

                  &.highlight {
                    background-color: var(--favorite-color);

                    svg {
                      height: 1em;

                      g {
                        stroke: transparent;
                      }
                    }
                  }

                  svg {
                    height: .8em;
                    width: auto;

                    path {
                      fill: white;
                    }

                    g {
                      stroke: white;
                    }
                  }
                }
              }
            }

            .alignment {
              grid-area: 3 / 1 / 4 / 4;
              display: flex;
              flex-direction: row;
              justify-content: flex-start;
              align-items: center;

              &.no-assessment {
                flex-direction: column;
                align-items: flex-start;

                p {
                  font-weight: 500;
                  color: var(--primary-color);
                }
              }

              .competency-alignment {
                font-size: 1.777778rem;
                margin-right: .5625em;
              }
            }
          }
        }

        .action-plan {
          display: flex;
          flex-direction: column;
          justify-content: flex-start;
          align-items: flex-start;
          list-style-type: none;
          padding-left: 0;

          li {
            list-style-type: none;
            margin-right: 1.5em;
          }
        }

        .assessments {
          list-style-type: none;
          margin: 0;
          padding: 0;

          li {
            display: flex;
            flex-direction: row;
            list-style-type: none;
            justify-content: flex-start;
            align-items: center;
            margin-bottom: .75em;

            .competency-alignment {
              margin-right: .5em;
            }
          }

        }

        .interest-list {
          .header-icon {
            display: flex;
            justify-content: flex-start;
            align-items: center;

            svg {
              margin-right: .5em;
              height: 2em;
              width: auto;

              path {
                fill: var(--primary-color);
              }
            }
          }

          ul {
            li {
              &.overflow {
                display: none;
              }
            }
          }
        }

        .button {
          display: inline-flex;
          padding-left: 1em;
          padding-right: 1em;
          width: auto;
        }
      }

      .tab-container {
        margin-top: 3em;
      }

    }

    .tips {
      h3 {
        color: var(--text-color);
        margin-top: 1.5em;
        padding-top: 1.5em;
        border-top: solid var(--primary-color) 1px;
      }

      p, li {
        font-size: .888889rem;
      }

      ul {
        padding-left: 1.5em;
        margin: 1em 0;

        li {
          padding-bottom: 1em;

          p {
            display: inline;
          }
        }
      }
    }
  }

  .header-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    svg {
      height: 2em;
      width: 2em;
      margin-right: .5em;

      path {
        fill: var(--primary-color);
      }
    }
  }
}

/************************
 * Profile & Action Plan
************************/

.profile, .action-plan {

  .overview {
    line-height: 1.72em;

    .image {
      display: none;
    }

    h2 {
      font-size: 1.77778em;
      color: var(--primary-color);
      margin-bottom: 0;
      padding-bottom: 0;
      text-align: left;
    }

    .title {
      font-size: 1.3333em;
      margin-top: .25em;
      margin-bottom: 0;
    }

    .link {
      font-size: .75em;
      margin-bottom: 2em;
      color: var(--primary-color);
    }
  }

  .tab-container {
    .tab-bar {
      border-width: 0;
      align-items: stretch;
      justify-content: flex-start;

      .tab {
        background-color: var(--primary-color);
        background: linear-gradient(180deg, rgba(13, 123, 181, 0.20) 60.98%, rgba(6, 44, 66, 0.20) 100%), var(--primary-color);
        color: white;
        min-height: 3em;
        width: auto;
        flex-shrink: 1;
        max-width: 20em;

        &:hover {
          background: linear-gradient(180deg, rgba(13, 123, 181, 0.20) 60.98%, rgba(6, 44, 66, 0.20) 100%), var(--primary-hover-color);
        }

        &.active {
          background: white;
          color: var(--primary-color);
        }
      }
    }
  }

  .container {
    h1, h2, h3, h4, h5, h6 {
      font-family: var(--base-font);
    }

    section {
      position: relative;
    }

    p:first-child {
      margin-top: 0;
      padding-top: 1em;
      font-weight: 700
    }

    ul+h3 {
      margin-bottom: .5em;
      margin-top: 1.5em;
      padding-top: 1.5em;
      border-top: solid var(--primary-color) 1px;      
    }

    h3 {
      margin-top: 1.5em;
      margin-bottom: .25em;
    }

    select {
      width: 100%;
      margin-bottom: 1em;
    }

    .instruction {
      margin-top: 0;
      font-size: .8888889em;
      margin-bottom: 2em;
    }

    .learning-resources {
      padding-bottom: 2.5em;

      h5 {
        margin-bottom: .5em;
      }
    }
  }

  .actions {
    border-bottom: solid var(--background-color) 4em;
  }

  .education-toggles {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;

    &>li.toggle-button {
      padding: 0;
      list-style-type: none;
      flex-grow: 1;
      flex-shrink: 1;

      &:has(.ed-type:checked) {
        border-color: var(--primary-color);
        color: white;
        background-color: var(--primary-color);
        padding-left: .5em;

        label {
          padding-left: 0;
  
          img, svg {
            background-color: white;
            border: solid white .5em;
            display: inline-block;
            border-radius: 3em;
            margin-right: .5em;
    
            path, circle {
              fill: var(--primary-color);
            }
          }
        }

        .turn-down {
          img, svg {
            margin-right: 0;

            path, circle {
              stroke: white;
            }
          }
        }
      }

      &:has(.show) {
        .turn-down {
          img, svg {
            transform: rotate(180deg);
          }
        }
      }

      label {
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        padding-left: 1.5em;
        align-items: center;
        border-radius: inherit;

        svg {
          display: none;
        }

        input {
          display: none;
        }
      }

      .turn-down {      
        img, svg {
          background: transparent;
          display: block;
          border-width: 0;
        }
      }
    }

    .education-areas {
      display: none;
      position: absolute;
      z-index: 2;
      width: calc(100% - 2.5em);
      background-color: var(--background-tint-color);
      border: solid black 1px;
      border-radius: 25px;
      padding: 1.25em;
      box-shadow: 0px 0px 8px 4px rgba(163, 163, 163, 0.25);

      p {
        color: var(--primary-color);
        font-weight: 700;
        margin: 0;
      }

      ul {
        margin: 0;
        padding: 0;

        li {
          margin: 0;
          padding: 0;
          list-style-type: none;
          
          label {
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            margin: 1.5em 0;
            color: var(--text-color);

            input {
              display: inline-block;
              margin-right: 2em;
              transform: scale(2);
              accent-color: var(--primary-color);
            }
          }
        }
      }

      &.show {
        display: block;
        position: absolute;
        top: 5em;
        left: 0em;
      }
    }
  }

  .clear {
    margin-top: 2em;
    margin-left: -1.25em;
    margin-right: -1.25em;
  }

  .preference-set {
    display: flex;
    flex-direction: row;
    margin-bottom: 1em;
    border: solid var(--primary-color) 1px;
    height: 3.5em;
    border-radius: 2em;
    padding: .25em;
    position: relative;

    &:has(*:focus) {
      box-shadow: 0px 0px 3px 3px rgba(178, 205, 219, 0.50);
    }

    &:after {
      content: '';
      height: 3.5em;
      width: 33%;
      background-color: var(--primary-color);
      border-radius: 1.75em;
      position: absolute;
      top: .25em;
      left: .25em;
      transition: left .2s ease-in-out;
      box-shadow: 0px 0px 3px 3px rgba(178, 205, 219, 0.50);
      z-index: 1;
    }

    &:has(input:nth-child(3):checked) {
      &:after {
        left: 33.333333%;
      }
    }

    &:has(input:nth-child(5):checked) {
      &:after {
        left: calc(66.666667% - .25em);
      }
    }

    label {
      position: relative;
      z-index: 2;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      padding: .5em 1.5em;
      text-align: center;
      flex-basis: 1em;
      flex-shrink: 0;
      flex-grow: 1;
      font-size: .777778em;
      cursor: pointer;
      transition: color .2s ease-in-out;
    }

    input { 
      position: absolute;
      left: -9999em;

      &:checked+label {
        color: white;
      }
    }
  }

  .interest-set {

    label {
      display: block;
      text-align: center;
      text-transform: uppercase;
      margin-bottom: 2em;
      font-size: .77778em;
    }

    .range-wrapper {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      position: relative;

      svg {
        height: 1.5em;
        width: 1.5em;

        path {
          fill: var(--primary-color);
        }
      }
    }

    input[type="range"] {
      width: 100%;
      -webkit-appearance: none;  /* Override default CSS styles */
      appearance: none;
      height: 10px;
      border-radius: 5px;
      background-color: var(--quaternary-color);
      transition: background-color 2s ease-in-out;
      margin: 0 .5em;
      position: relative;
      z-index: 5;
      opacity: 1;

      &::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: .25em;
        height: 1.5em;
        background: var(--tertiary-color);
        cursor: pointer;
        border-radius: .25em;
        border-width: 0;
        transition: .2s ease-in-out;
        opacity: 1;
        position: relative;
        z-index: 4;
      }
      
      &::-moz-range-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: .25em;
        height: 1.5em;
        background: var(--tertiary-color);
        cursor: pointer;
        border-radius: .25em;
        border-width: 0;
        transition: .2s ease-in-out;
        opacity: 1;
        position: relative;
        z-index: 4;
      }
    }

    .slider-ticks {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      position: relative;
      z-index: 3;
      top: -1em;
      width: calc(100% - 3.6em);
      margin: auto;

      .icon {
        background-color: var(--tertiary-color);
        height: 1.5em;
        width: 1.5em;
        position: absolute;
        z-index: 5;
        margin-left: -.75em;
        top: -1.75em;
        left: 0;
        border-radius: 50%;
        left: var(--progress);
        display: flex;
        justify-content: center;
        align-items: center;

        svg {
          height: 1.2em;
          width: 1.2em;

          path {
            fill: white;
          }
        }
      }

      &.tick-1 {
        &:after {
          background-image: var(--tick1);
        }
      }

      &.tick-2 {
        &:after {
          background-image: var(--tick2);
        }
      }

      &.tick-3 {
        &:after {
          background-image: var(--tick3);
        }
      }

      &.tick-4 {
        &:after {
          background-image: var(--tick4);
        }
      }

      &.tick-5 {
        &:after {
          background-image: var(--tick5);
        }
      }

      &.tick-6 {
        &:after {
          background-image: var(--tick6);
        }
      }

      &.tick-7 {
        &:after {
          background-image: var(--tick7);
        }
      }

      &.tick-8 {
        &:after {
          background-image: var(--tick8);
        }
      }

      &.tick-9 {
        &:after {
          background-image: var(--tick9);
        }
      }

      &.tick-10 {
        &:after {
          background-image: var(--tick10);
        }
      }

      span {
        width: 1px;
        height: 9px;
        background: black;
        opacity: 1;
        overflow: hidden;
        position: relative;
        z-index: 3;

        &:first-child, &:last-child {
          background: transparent;
        }
      }
    }
  }
}

/************************
 * Help Pages
************************/

.help {
  .outside {
    text-align: left;
    padding-bottom: 1em;

    h2 {
      text-align: left;
    }
    
    .sub-title {
      text-align: left;
    }
  }
  .container {
    section {
      h3 {
        font-size: 1em;
        margin-bottom: 0;

        &+p {
          margin-top: 0;
        }
      }

      h4 {
        font-size: 1em;
        margin-bottom: 0;

        &+p {
          margin-top: 0;
        }
      }

      p {
        line-height: 1.7222em;

      }
    }

    aside {
      background-color: var(--background-tint-color);
      border-radius: 5px;
      padding: 0em 1em 1em;
      margin-top: 4rem;

      h3 {
        text-align: center;
        color: var(--text-color);
        font-family: var(--base-font);
        text-transform: none;
        margin-top: -1.5em;
      }

      ul {
        padding: 0;
        margin: 0 -1em;

        li {
          font-size: .77778em;
          list-style-type: none;
          margin: 0;
          padding: 0 2em;

          &.active {
            background-color: white;

            a {
              border-width: 0;
              font-weight: 700;
            }
          }

          &:last-child {
            a {
              border-width: 0;
            }
          }

          &:has(+.active) {
            a {
              border-width: 0;
            }
          }

          a {
            text-decoration: none;
            display: block;
            margin: 0;
            padding: 1.5em 0;
            border-bottom: dashed var(--line-color) 1px;
          }
        }
      }

      .icon {
        height: 4rem;
        width: 4rem;
        position: relative;
        left: calc(50% - 2rem);
        top: -2rem;
        box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.25);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--primary-color);

        svg {
          height: 2rem;
          width: auto;

          path {
            stroke: white;
          }
        }
      }
    }

    .overview {
      line-height: 1.72em;

      .image-wrapper {
        background: linear-gradient(180deg, var(--background-color) 0%, var(--background-color) 50%, white 50%, white 100%);
        margin: calc(var(--wrapper-spacing) * -1);
        margin-bottom: 1em;
        padding: var(--wrapper-spacing);
        max-height: 25vw;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;

        img {
          width: 100%;
          height: auto;
        }
      }
    }
  }
}

/************************
 * Loading Indicator
************************/

#indicator {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--primary-color);
  padding: 0 1em;
  border-radius: 5px;
  color: white;
  height: 0;
  transition: height .25s ease-in, margin .25s ease-in;
  margin: 0;
  z-index: 4;

  &.loading {
    margin: 1.5em 0;
    height: 3.5em;
    transition: height .25s ease-in, margin .25s ease-in;

    &+.summaries {
      filter: blur(2px) grayscale(1);

      .role-summary {
        .image, .description, .attributes, .alignment {
          background-color: var(--quaternary-color);
          border-radius: 5px;

          * {
            opacity: 0;
          }
        }
      }
    }

    h3, .loading-bar {
      opacity: 1;
    }
  }

  h3 {
    font-size: 1em;
    color: white;
    margin: 0 1em 0 0;
    flex-grow: 1;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity .25s ease-in;
  }

  .loading-bar {
    opacity: 0;
    transition: opacity .25s ease-in;
  }
}

/************************
 * Action Buttons
************************/

.actions {
  padding: 1.5em var(--wrapper-spacing) 2.5em;
  display: flex;
  margin: 0 calc(var(--wrapper-spacing) * -1);
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;

  button, .button {
    flex-shrink: 1;
    width: auto;

    &.saving-changes {
      display: none;
      animation: loading-pulse 2s infinite;
      --tertiary-color: var(--secondary-color);
      --background-color: var(--secondary-hover-color);
    }
  }

  &.loading {
    button {
      display: none;

      &.saving-changes {
        display: block;
      }
    }
  }

  &+.success {
    font-size: .77778em;
    width: 100%;
    max-width: fit-content;
    text-align: right;
    padding: .75em 1.25em;
    background-color: var(--line-color);
    color: white;
    float: right;
    position: relative;
    top: -14.5em;
    border-radius: 5px;
    animation: disappear 5s forwards;
    animation-iteration-count: 1;
  }
}

/************************
 * Competency Alignment Bug
************************/

.competency-alignment {
  display: flex;
  flex-direction: column;
  background-color: var(--highlight-color);
  color: var(--text-color);
  justify-content: center;
  align-items: center;
  height: 3em;
  width: 3em;
  font-weight: 700;
  border-radius: 10em;
  font-size: .777778rem;
  flex-grow: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 2;

  span {
    display: block;
    font-size: .4em;
    text-transform: capitalize;
  }
}

.overall {
  position:relative;

  &.loading {
    &:before {
      font-size: 1.7777778em;
      content: '';
      background-color: transparent;
      background: conic-gradient(var(--primary-color) calc(-60% + 10%), var(--primary-color) 10%, white 0);
      border-radius: 50%;
      position: absolute;
      height: 3.5em;
      width: 3.5em;
      top: -.25em;
      left: -.25em;
      margin: auto;
      cursor: progress;
      z-index: 1;
      animation: spin 3s infinite linear;

    }
  }
}

/************************
 * Self-Assessment
************************/

.self-assessment {
  .domain {
    height: 5em;
    overflow: hidden;
    transition: all .25s ease-in-out;

    &.expanded {
      height: auto;

      span.turn-down {
        transform: rotate(180deg);
      }

      .competencies {
        opacity: 1;
      }
    }

    &>h4 {
      background-color: var(--primary-color);
      color: var(--primary-inverse-color);
      padding: 1em;
      margin: 0;
      display: flex;
      justify-content: space-between;

      &:hover {
        cursor: pointer;
      }

      span {  
        &.count {
          font-size: .7777778em;
          margin-left: 1em;
          margin-right: auto;
          font-weight: 300;
        } 

        &.turn-down {
          transform: rotate(0deg);
          transition: all .2s ease-in-out;
          display: inline-block;
          position: relative;
          top: 2px;

          svg {
            height: 1em;

            path {
              stroke: var(--primary-inverse-color);
            }
          }
        }
      }
    }

    .competencies {
      height: 0;

      .topic-label, .statement-label {
        display: none;
        font-weight: 600;
        margin: 2em 0 0;
        padding: 0;
      }

      .topic {
        &>h5 {
          font-size: .888889em;
          font-weight: 500;

          &:hover {
            cursor: pointer;
            text-decoration: underline;
          }
        }
      }

      .statements {
        .statement {
          background-color: var(--background-tint-color);
          padding: .75em;
          margin: .75em 0;

          h6 {
            font-size: .888889em;
            font-weight: 500;
            margin: 0;
          }


          label {
            font-size: .666667em;
            font-weight: 700;
            cursor: pointer;
          }
        }
      }
    }
  }
  
  .competency-set {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: 1em;
    --rating-width: 0%;
    counter-reset: rating-counter;

    &:has(.rating:nth-of-type(2) input:checked) {
      --rating-width: 37%;
    }

    &:has(.rating:nth-of-type(3) input:checked) {
      --rating-width: 60%;
    }

    &:has(.rating:nth-of-type(4) input:checked) {
      --rating-width: 79%;
    }

    &:has(.rating:nth-of-type(5) input:checked) {
      --rating-width: 100%;
    }

    &:before {
      content: '';
      width: calc(100% - 3em);
      height: .77778em;
      position: absolute;
      top: 0;
      left: 1.5em;
      background-color: var(--quaternary-color);
      box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.10) inset;
      margin-top: .5em;
      z-index: 0;
    }
    
    &:after {
      content: '';
      width: calc(var(--rating-width) - 3em);
      height: .77778em;
      position: absolute;
      top: 0;
      left: 1.5em;
      background: linear-gradient(90deg, #FFF -20%, var(--primary-color) 100%);
      box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.10) inset;
      margin-top: .5em;
      z-index: 1;
      transition: width .25s ease-in-out;
    }

    .rating {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      position: relative;
      counter-increment: rating-counter;
      width: 4em;

      &:has(input:checked) {
        label {
          &:before {
            background-color: var(--primary-color);
            color: var(--primary-inverse-color);
          }
        }
      }

      label {
        margin-top: 1.5em;
        position: relative;

        &:before {
          content: counter(rating-counter);
          position: absolute;
          top: -2.25em;
          left: 50%;
          margin-left: calc(-.75em - 3px);
          font-size: .88889rem;
          color: var(--tertiary-inverse-color);
          background-color: var(--tertiary-color);
          display: flex;
          align-items: center;
          justify-content: center;
          padding: .375em;
          border-radius: 5em;
          height: 1em;
          width: 1em;
          line-height: 1em;
          border: solid var(--primary-inverse-color) 3px;
          z-index: 2;
          transition: background-color .25s ease-in-out;
        }

      }
    }
  }
}

.rating-key-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-start;
  float: right;
  position: absolute;
  right: 0;
  top: 4em;

  &.expanded {
    h4 {
      box-shadow: -2px 2px 6px #56565680;
    }

    .rating-key {
      padding: 2em;
      width: 35rem;
      max-width: 60vw;
      box-shadow: -2px 2px 6px #56565680;   
      z-index: 5;
      position: relative;   
    }
  }

  h4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--primary-inverse-color);
    margin: 0;
    padding: 1em;
    font-size: .555556em;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    cursor: pointer;
    position: relative;
    z-index: 6;
    box-shadow: -2px 2px 6px rgba(0,0,0,0);
    transition: all .25s ease-in-out;

    svg {
      display: block;
      background: var(--primary-inverse-color);
      border-radius: 10em;
      margin-bottom: .5em;

      path {
        fill: var(--primary-color);
      }
    }
  }
 
  .rating-key {
    text-align: left;
    padding: 2em 0;
    border-bottom-left-radius: 5px;
    background-color: var(--primary-color);
    color: var(--primary-inverse-color);
    width: 0;
    max-width: 0;
    box-shadow: -2px 2px 6px rgba(0,0,0,0);
    transition: all .25s ease-in-out;
    overflow: hidden;
    position: relative;
    z-index: 5;

    dl {
      margin: 0 0 0 2rem;
      width: 33rem;
      max-width: calc(60vw - 2rem);

      dt {
        position: relative;
        font-weight: 500;
        font-size: .888889rem;
        margin-bottom: .375em;

        &:before {
          top: -2px;
          left: -32px;
          position: absolute;
          content: attr(data-value);
          height: 1.33333rem;
          width: 1.33333rem;
          display: flex;
          justify-content: center;
          align-items: center;
          border-radius: 50%;
          font-weight: 600;
          font-size: .666667rem;
          padding: 0;
          min-width: 0;
          border: solid var(--primary-inverse-color) 1px;
          color: var(--primary-color);
          box-shadow: 0 2px 4px #52525280;
          background: var(--primary-inverse-color);
        }
      }

      dd {
        font-weight: 300;
        margin-left: 0;
        margin-bottom: 1.25em;
        font-size: .875em;

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

/************************
 * Role Summary
************************/

.role-summary {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  padding: var(--wrapper-spacing) var(--wrapper-spacing) 1.5em;
  margin-bottom: 1em;
  border-radius: 5px;
  background-color: white;
  border: solid var(--line-color) 1px;

  h1, h2, h3 {
    font-family: var(--base-font);
  }

  a {
    text-decoration: underline;

    &:hover {
      text-decoration: double underline;
    }
  }

  .image, .description, .attributes, .alignment {
    background-color: transparent;
    transition: background-color .2s ease-in-out;
    
    * {
      opacity: 1;
      transition: opacity .2s ease-in-out;
    }
  }

  .image {
    width: calc(100% + (2 * var(--wrapper-spacing)));
    position: relative;
    margin-top: calc(-1 * var(--wrapper-spacing));
    margin-left: calc(-1 * var(--wrapper-spacing));
    height: auto;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
  }

  .description {
    ul {
      margin: 0;
      padding: 0;

      li {
        list-style-type: none;
        margin: 0;
        padding: 0;
      }
    }

    .department {
      font-size: .7777em;
      font-weight: 700;
      margin: 1em 0 0;
      padding: 0;
      line-height: 1em;
      background: none;
      color: var(--text-color);
    }

    h1 {
      color: var(--primary-color);
      font-family: var(--base-font);
      font-size: 1em;
      margin: .25em 0;
      text-transform: none;
      letter-spacing: 0;

      .sprig-component {
        display: inline-block;
      }

      svg {
        height: 1.1em;
        width: 1.1em;
        position: relative;
        top: .2em;
      }
    }

    p {
      font-size: .888889em;
      line-height: 1.625em;
    }

    .attribute-icons {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      margin-top: 1em;

      .image-wrapper {
        height: 1.5em;
        width: 1.5em;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--tertiary-color);
        border-radius: 2em;
        margin-left: .25em;

        &.highlight {
          background-color: var(--favorite-color);

          svg {
            g {
              stroke: transparent;
            }
          }
        }

        &.favorite {
          background-color: transparent;
          svg {
            path {
              fill: var(--favorite-color);
            }
          }
        }

      }

      svg {
        height: .8em;
        width: auto;

        g {
          stroke: white;
        }

        path {
          fill: white;
        }
      }

      .favorite {
        margin-left: auto;

        svg {
          height: 1.5em;

          path {
            fill: var(--favorite-color);
          }
        }
      }
    }
  }

  .attributes {
    border: dashed var(--line-color) 1px;
    border-width: 1px 0 0 0;
    margin-top: 1em;
    padding-top: 1.5em;
    font-size: .77778em;
    line-height: 2.1em;
    padding-left: 1.5em;
  }

  .alignment {
    &.loaded {
      .alignment-criteria {
        .preferences {
          svg {
            opacity: 1;
          }

          p {
            &.overflow-count {
              opacity: 1;
            }
          }
        }
      }
    }

    h2 {
      text-transform: uppercase;
      font-size: .77778rem;
      border-bottom: solid var(--quaternary-color) 1px;
      padding-bottom: .5em;
      margin-bottom: 1em;
      font-weight: 500;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;

      svg {
        margin-left: .375em;
      }

      span {
        color: var(--primary-color);
        font-size: .714285em;
        text-transform: none;
        position: relative;
        top: 2px;
        left: 1em;
      }
    }

    .alignment-criteria {
      padding-top: .5em;

      h3 {
        color: var(--text-color);
        font-size: .77778rem;
        font-weight: 500;
        margin-bottom: .25em;

        span {
          visibility: hidden;
        }
      }

      .preferences {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        margin: 0;
        padding: 0;

        &.empty {
          font-size: .888889em;
        }

        &.loading {
          li {
            background-color: transparent;
            animation: loading-pulse 2s infinite;

            &:nth-child(1) {
              animation-delay: 250ms;
            }

            &:nth-child(2) {
              animation-delay: 500ms;
            }

            &:nth-child(3) {
              animation-delay: 750ms;
            }

            &:nth-child(4) {
              animation-delay: 1000ms;
            }

            &:nth-child(5) {
              animation-delay: 1250ms;
            }

            &:nth-child(6) {
              animation-delay: 1500ms;
            }

            &:nth-child(7) {
              animation-delay: 1750ms;
            }

            &:nth-child(8) {
              animation-delay: 2000ms;
            }

            &:nth-child(9) {
              animation-delay: 2250ms;
            }

            &:nth-child(10) {
              animation-delay: 2500ms;
            }
          }
        }

        li {
          list-style-type: none;
          padding: 0;
          margin: .125em;
          order: 2;
          background-color: var(--background-color);
          border-radius: 1em;
          height: 1.25em;
          width: 1.25em;
          border: solid white .125em;
          
          border-radius: 1em;
          

          &.aligned {
            order: 1;
          }

          &:nth-child(n+9) {
            display: none;
          }
  
          /* Add sequential delay to each list item */
          &:nth-child(1) svg { transition-delay: 0s; }
          &:nth-child(2) svg { transition-delay: 0.05s; }
          &:nth-child(3) svg { transition-delay: 0.1s; }
          &:nth-child(4) svg { transition-delay: 0.15s; }
          &:nth-child(5) svg { transition-delay: 0.2s; }
          &:nth-child(6) svg { transition-delay: 0.25s; }
          &:nth-child(7) svg { transition-delay: 0.3s; }
          &:nth-child(8) svg { transition-delay: 0.35s; }
          
          svg {
            height: .8em;
            width: .8em;
            padding: .2em;
            border-radius: 50%;
            background-color: var(--primary-color);
            opacity: 0;
            transition: opacity .25s ease-in-out;

            path {
              fill: white;
            }
          }

          &.no-match {
            svg {
              height: 1.2em;
              width: 1.2em;
              padding: 0;
              background-color: var(--primary-color);
              
              path {
                fill: var(--primary-inverse-color);
              }
            }
          }

          span {
            font-size: 0;
          }
        }

        p {
          font-size: .777778em;
          margin: 0;
          order: 3;
          display: inline-block;

          &.overflow-count {
            opacity: 0;
            transition: opacity .25s .4s ease-in-out;
            position: relative;
            top: -.125em;
          }
        }
      }

      .interests {
        height: 1em;
        border-radius: 1em;
        background-color: var(--background-color);
        border: solid var(--primary-color) 1px;
        position: relative;
        margin: 0;

        &.empty {
          background: none;
          border-width: 0;
          font-size: .888889em;
        }

        &.loading {
          border-color: var(--quaternary-color);
          background-color: var(--quaternary-color);
          animation: loading-pulse 2s infinite;
        }

        .fill {
          background-color: var(--primary-color);
          height: 1.33333333em;
          border-radius: .666666667em;
          font-size: .75em;
          color: white;
          display: flex;
          justify-content: center;
          align-items: center;
          position: absolute;
          top: 0;
          left: 0;
          width: 0;
          transition: all .2s ease-in-out;
        }
      }

      .competencies {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;

        &.empty {
          height: 1em;
          margin: 0;
          background: none;
          font-size: .888889em;
        }

        h3 {
          order: 2;
          margin: 0;
          line-height: 1.3em;
        }

        .competency-alignment {
          order: 1;
          margin-right: .5em;
        }
      }
    }
  }
}

/************************
 * Learning Resources
************************/

.learning-resources {
  .resource-group {
    border-bottom: solid var(--line-color) .5px;
    margin-bottom: 2em;
    padding-bottom: 2em;
  }

  .resource-header {
    display: grid;
    grid-template-columns: 1fr auto;

    h5 {
      grid-area: 2 / 1 / 3 / 2;
      font-size: 1.444444rem;
      color: var(--primary-color);
      margin: 0;
    }

    p {
      &.statement {
        grid-area: 1 / 1 / 2 / 2;
        font-size: .88888889rem;
        text-transform: uppercase;
        font-weight: 700;
        margin: 0;
      }
    }

    .alignment-status {
      grid-area: 1 / 2 / 3 / 3;
      display: flex;
      flex-direction: row;

      div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 1em;
        border-left: solid var(--line-color) .5px;

        h6 {
          margin: 0 0 .25em 0;
        }
      }

      ul {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        list-style-type: none;
        margin: 0;
        padding: 0;

        &.loading {
          li {
            animation: loading-pulse 2s infinite;

            &:nth-child(1) {
              animation-delay: 250ms;
            }

            &:nth-child(2) {
              animation-delay: 500ms;
            }

            &:nth-child(3) {
              animation-delay: 750ms;
            }

            &:nth-child(4) {
              animation-delay: 1000ms;
            }

            &:nth-child(5) {
              animation-delay: 1250ms;
            }

            &:nth-child(6) {
              animation-delay: 1500ms;
            }

            &:nth-child(7) {
              animation-delay: 1750ms;
            }

            &:nth-child(8) {
              animation-delay: 2000ms;
            }

            &:nth-child(9) {
              animation-delay: 2250ms;
            }

            &:nth-child(10) {
              animation-delay: 2500ms;
            }
          }
        }

        li {
          margin: .125em;
          border: solid var(--primary-color) 1px;
          border-radius: 2em;
          height: .5em;
          width: .5em;
          display: block;

          &.assessed {
            background-color: var(--primary-color);
          }
        }
      }
    }
  }
      
  p.domain-topic {
    font-size: .777778rem;
    margin: .5em 0 1.5em;
  }

  .learning-resource {
    background-color: var(--background-color);
    padding: 1em;
    display: grid;
    grid-template-columns: 2.5em auto 7.5em;
    column-gap: .75em;
    row-gap: 0;
    margin-bottom: 1em;

    img, svg {
      grid-area: 1 / 1 / 5 / 2;
      width: 2em;
      height: auto;
      background-color: var(--primary-color);
      padding: 1em;
      padding: .25em;

      path {
        fill: var(--primary-inverse-color);
      }
    }

    h6 {
      grid-area: 1 / 2 / 2 / 3;
      padding: 0;
      margin: 0;
      font-size: .888889rem;
      line-height: 1.5em;
    }

    p {
      grid-area: 2 / 2 / 3 / 3;
      font-size: .777778rem;
      margin: 0;
      line-height: 1.4em;

      &.publication-date {
        grid-area: 3 / 2 / 4 / 3;
      }
    }

    .add-to-action-plan {
      grid-area: 1 / 3 / 5 / 4;
      display: flex;
      align-items: center;
      justify-content: center;

      button {
        font-size: .777778rem;
        height: 4em;
      }
    }

    .action-plan-actions {
      grid-area: 1 / 3 / 5 / 4;
      display: flex;
      align-items: center;
      justify-content: flex-end;

      button {
        &.remove, &.complete {
          background: none;
          display: flex;
          flex-direction: column;
          height: auto;
          padding: 0 0 0 1em;
          border-radius: 0;

          .image-wrapper {
            svg {
              background: none;
              height: 1.25em;
              width: 1.25em;
              padding: .25em;
              transition: all .1s ease-in-out;

              path {
                fill: var(--favorite-color);
                transition: all .1s ease-in-out;
              }
            }
          }

          .action-label {
            font-size: .666667rem;
            color: var(--primary-color);
            text-transform: none;
            font-weight: 500;
          }
        }

        &:hover {
          &.remove {
            svg {
              opacity: 1;
            }
          }

          &.complete {
            .image-wrapper {
              box-shadow: none;
            }
          }

          .action-label {
            text-decoration: underline;
          }
        }

        &:active {
          &.complete {
            .image-wrapper {
              box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
            }
          }
        }

        &.remove {
          margin-left: 1em;
          border-left: solid var(--line-color) 1px;

          svg {
            opacity: .8;
          }
        }

        &.complete {
          .image-wrapper {
            background-color: #bbb;
            border-radius: 5em;
            line-height: .5em;
            box-shadow: inset 0 4px 2px rgba(0, 0, 0, 0.2);
            transition: box-shadow .1s ease-in-out;

            svg {
              path {
                fill: var(--primary-inverse-color);
              }
            }
          }

        }

        &.undo {
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: center;
          padding: .5em 0 0 0;

          .image-wrapper {
            background: none;
            border-radius: 0;

            svg {
              padding: 0;

              g {
                stroke: var(--primary-color);
              }
            }
          }

          .action-label {
            font-size: .555556rem;
          }
        }
      }
    }

    .add-to-action-plan, .action-plan-actions {
      .resource-status {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        .image-wrapper {
          background: var(--primary-color);
          border-radius: 5em;
          line-height: .5em;

          svg {
            height: 1em;
            width: 1em;
            padding: .5em;
            background: none;

            &.checkmark-icon {
              path {
                fill: var(--primary-inverse-color);
                stroke: none;
              }
            }

            g {
              stroke: var(--primary-inverse-color);
            }

            path {
              fill: transparent;
            }
          }
        }

        .status {
          font-size: .666667rem;
          font-weight: 500;
          color: var(--primary-color);
          margin-top: .5em;

        }

        .date {
          font-size: .666667rem;
          color: var(--primary-color);

        }
      }
    }
  }
}

/************************
 * Tab Container
************************/

.tab-container {
  padding-bottom: 1.5em;
  position: relative;

  &:has(#indicator) {
    min-height: 10em;
  }

  #indicator {
    position: absolute;
    width: calc(100% - (var(--wrapper-spacing) * 2.5));
  }

  .tab-bar {
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
    border-bottom: solid var(--primary-color) 1px;
    width: calc(100% + var(--wrapper-spacing));
    overflow: scroll;

    &>a {
      text-decoration: none;
    }

    .tab {
      background-color: var(--inactive-tab-color);
      padding: 1.5em 1em;
      border-top-right-radius: 8px;
      border-top-left-radius: 8px;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      margin-right: .1em;
      font-size: .77778em;
      flex-grow: 1;
      flex-basis: 1em;
      cursor: pointer;
      transition: all .2s ease-in-out;

      &:last-child {
        margin-right: 0;
      }

      &:hover {
        background-color: var(--inactive-tab-hover-color);
      }

      &.active {
        background-color: var(--primary-color);
        background: linear-gradient(180deg, rgba(13, 123, 181, 0.20) 60.98%, rgba(6, 44, 66, 0.20) 100%), var(--primary-color);
        color: white;
        font-weight: 700;
      }
    }
  }

  .tabs {
    padding: 1em 0 0;
    position: relative;
    z-index: 3;
  }
}

/************************
 * Search Field
************************/

.search {
  position: relative;

  input {
    z-index: 1;
    position: relative;
  }

  button {
    position: absolute;
    z-index: 2;
    top: .5em;
    right: .5em;
    font-size: 1em;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.25em;
    width: 2.25em;
    border-width: 0;
    line-height: 1em;

    svg {
      font-size: 1em;
      height: 1.75em;
      width: 1.75em;
      line-height: 1em;

      path {
        &.color-fill {
          fill: white;
        }

        &.color-stroke {
          stroke: white;
        }
      }
    }
  }
}

/************************
 * Popular & Role Pathway
************************/

.popular-pathway, .role-pathway {
  min-height: 15em;

  h4, h5, h6 {
    font-family: var(--base-font);
  }

  h4 {
    text-transform: uppercase;

    .favorite {
      display: inline-block;
      position: relative;
      top: .375em;

      svg {
        height: 1.5em;
        width: 1.3em;

        path {
          fill: var(--favorite-color);
        }
      }
    }
  }

  .pathway {
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    margin-left: calc(var(--wrapper-spacing) * -1);
    margin-right: calc(var(--wrapper-spacing) * -1);
    padding-left: var(--wrapper-spacing);
    padding-right: var(--wrapper-spacing);

    .pathway-level {
      border-right: solid 1px var(--line-color);
      border-top: solid 1px var(--line-color);

      &:first-child {
        h5 {
          border-left: solid 1px var(--line-color);
        }
      }

      &:last-child {
        border-right-width: 0;

        h5 {
          border-right: solid 1px var(--line-color);
        }
      }

      h5 {
        line-height: 1em;
        margin: 0;
        padding: .75rem;
        color: var(--primary-color);
        font-size: .7778rem;
        text-transform: uppercase;
      }
    }

    .pathway-roles {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: stretch;

      .column {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;

        &.col1 {
          padding-top: 10em;
          padding-bottom: 10em;
        }

        &.col2 {
          padding-top: 6em;
        }

        &.col3 {
          padding-top: 2em;
        }
      }

      .pathway-role {
        position: relative;

        &.crossover {
          h6 {
            background-color: var(--background-tint-color);
          }
        }

        &.source-role {
          h6 {
            background-color: var(--primary-color);
            color: white;
            border-color: black;
          }
        }

        h6 {
          border-radius: 5px;
          border: 0.5px solid #8F8F8F;
          border-top: solid 5px var(--primary-color);
          background: #FFF;
          opacity: .9;
          box-shadow: 0px 0px 6px 6px rgba(141, 141, 141, 0.05);
          margin: 1.5rem 2rem;
          padding: 1rem;
          text-align: center;
          font-size: .66667rem;
          font-weight: 500;
          line-height: 1.41em;
          min-width: 5.5rem;
          max-width: 10rem;
          height: 3rem;
          display: flex;
          justify-content: center;
          align-items: center;
          position: relative;
          z-index: 2;
        }

        .icons {
          position: absolute;
          z-index: 3;
          top: .9rem;
          left: 3rem;
          display: flex;
          flex-direction: row;
          justify-content: flex-start;
          align-items: flex-start;

          .image-wrapper { 
            margin-right: .25em;
            height: 1.388889em;
            width: auto;
            background-color: var(--tertiary-color);
            height: 1em;
            width: 1em;
            padding: .25em;
            border-radius: 2em;
            display: flex;
            align-items: center;
            justify-content: center;

            svg {
              g {
                stroke: white;
              }
            }

            &.highlight {
              background-color: var(--favorite-color);

              svg {
                g {
                  stroke: transparent;
                }

                path {
                  fill: white;
                }
              }
            }
          }
        }
      }
    }
  }
}

.role-pathway {
  .pathway-level {
    &:nth-child(2n) {
      .pathway-roles {
        padding-top: 2em;
      }
    }
  }
}

.role-pathway-printable {
  display: none;
}

/************************
 * Inline Icon
************************/

.inline-icon {
  &.primary {
    path {
      fill: var(--primary-color);
    }
  }

  &.secondary {
    path {
      fill: var(--secondary-color);
    }
  }

  &.tertiary {
    path {
      fill: var(--tertiary-color);
    }
  }

  &.highlight {
    path {
      fill: var(--highlight-color);
    }
  }

  &.favorite {
    path {
      fill: var(--favorite-color);
    }
  }
}

/************************
 * Feedback Form
************************/

.feedback-form {
  padding: var(--wrapper-spacing);
  background: rgba(255,255,255,.5);

  h2 {
    margin: 0 0 .5em;
    font-size: 1em;
    color: var(--primary-color);
    text-transform: uppercase;
  }

  p {
    font-size: .888889em;
    margin-top: .5em;
  }

  textarea {
    font-size: .888889em;
    font-weight: 300;
    font-family: var(--base-font);
    margin-bottom: 1.5em;
  }

  button {
    margin-left: auto;
  }
}


@keyframes fadeIn {
  0% {
    opacity: 0;
    display: none;
  }
  
  100% {
      opacity: 1;
      display: block;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    display: block;
  }

  100% {
      opacity: 0;
      display: none;
  }
}

@keyframes disappear {
  0% {
    opacity: 0;
    display: block;
  }

  10% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  99% {
    opacity: 0;
  }

  100% {
      opacity: 0;
      display: none;
  }
}

@keyframes fadeInSlideDown {
  0% {
    opacity: 0;
    display: none;
    top: -4em;
  }
  
  100% {
      opacity: 1;
      display: block;
      top: 4em;
  }
}

@keyframes fadeOutSlideUp {
  0% {
    opacity: 1;
    display: block;
    top: 4em;
  }

  100% {
      opacity: 0;
      display: none;
      top: -4em;
  }
}

@keyframes loading-pulse {
  0% {
    background-color: var(--quaternary-color);
  }
  50% {
    background-color: var(--background-color);
  }
  100% {
    background-color: var(--quaternary-color);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}



@media (min-width: 480px) {

  /************************
  * Page Footer
  ************************/

  footer {
    padding-top: 3.75em;
  }

  /************************
   * Self-Assessment
  ************************/
  
  .self-assessment {    
    .competency-set {
  
      &:has(.rating:nth-of-type(2) input:checked) {
        --rating-width: 36%;
      }
  
      &:has(.rating:nth-of-type(3) input:checked) {
        --rating-width: 56%;
      }
  
      &:has(.rating:nth-of-type(4) input:checked) {
        --rating-width: 76%;
      }
    }
  }
}


@media (min-width: 640px) {

  /************************
  * Page Footer
  ************************/

  footer {
    padding-top: 6.5em;
  }

  /************************
   * Self-Assessment
  ************************/
  
  .self-assessment {    
    .competency-set {
  
      &:has(.rating:nth-of-type(2) input:checked) {
        --rating-width: 33%;
      }
  
      &:has(.rating:nth-of-type(3) input:checked) {
        --rating-width: 54%;
      }
    }
  }
}






@media (min-width: 768px) {

  body {
    padding-top: 0;
    background: var(--background-color);
  }

  /************************
   * Page Header
  ************************/
  
  header {
    padding-top: 0;
    border-top: solid white var(--wrapper-spacing);
    position: relative;
    width: auto;

    &.scrolled {
      box-shadow: none;
    }

    &>a {
      img {
        height: 5.5em;
      }
    }

    .nav-items {
      padding-top: .6em;
      background-color: white;

      nav {
        display: block;

        ul {
          margin: .2em 0 0;
          padding: 0;
          display: flex;
          flex-direction: row;
          justify-content: flex-end;
          align-items: center;

          li {
            list-style-type: none;
            padding: 0;
            margin: 0;
            display: inline-block;

            &.help {
              display: none;
            }

            a { 
              padding: .5em 0;
              margin: 0 1em;
              line-height: 1em;
              font-size: .88889em;
              color: var(--text-color);
              text-decoration: none;
              display: inline-block;
              text-align: center;

              &:has(svg), &:has(img) {
                border-left-width: 0;
                padding: 0;
              }

              svg, img {
                height: 3em;
                width: auto;
              }
            }

          }
        }
      }

      .nav-controls {
        margin-top: 0;

        img {
          border-width: 0;
          padding-right: 0;
          margin-right: 0;
        }

        button {
          &.profile {
            margin-top: 0;
            margin-right: 0;
          }
        }
      }

      .hamburger {
        display: none;
      }
    }
  }

  .role-search {
    header {
      .nav-items {
        ul {
          li.roles {
            a {
              border-bottom: solid var(--primary-color) 2px;
            }
          }
        }
      }
    }
  }

  .department, .departments {
    header {
      .nav-items {
        ul {
          li.departments {
            a {
              border-bottom: solid var(--primary-color) 2px;
            }
          }
        }
      }
    }
  }

  .dashboard {
    header {
      .nav-items {
        ul {
          li.dashboard {
            a {
              border-bottom: solid var(--primary-color) 2px;
            }
          }
        }
      }
    }
  }

  .action-plan {
    header {
      .nav-items {
        ul {
          li.action-plan {
            a {
              border-bottom: solid var(--primary-color) 2px;
            }
          }
        }
      }
    }
  }

  .help {
    header {
      .nav-items {
        ul {
          li.help {
            a {
              border-bottom: solid var(--primary-color) 2px;
            }
          }
        }
      }
    }
  }
  
  /************************
    * Page Footer
  ************************/

  footer {
    padding-top: 8.5em;

    .nav-links {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      margin: 0;
      padding: 3em 0 1em;

      li {
        padding: 0 2em;
        border-right: solid var(--line-color) 1px;
        line-height: 1em;
        list-style-type: none;

        &:last-child {
          border-right-width: 0;
        }
      }

    }

    .usage-warning, nav, .copyright, .nav-links {
      padding-left: calc((100vw - 720px) / 2);
      padding-right: calc((100vw - 720px) / 2);
    }
  }

  /************************
  * Navigation Menus
  ************************/

  .nav-menu {
    top: 4em;
    right: var(--wrapper-spacing);
    width: 20em;
    position: absolute;
  }

  /************************
   * Full Width Template
  ************************/
  
  .title-tab {  
    &:after {
      background-position: center 3.4em, center top;
    }
  
    h1 {
      font-size: .77778em;
      font-weight: 500;
      padding: .75em 3em 1.25em;
      display: inline-block;
      background-color: var(--primary-color);
      border-radius: 8px;
      letter-spacing: .15em
    }
  }
  
  /************************
  * Contained Template
  ************************/

  .outside {

    .sub-title {
      text-align: left;
      font-size: 1.33333em;
      padding-top: .5em;
    }

    h2 {
      text-align: left;
      padding-bottom: 2em;
      font-size: 1.5555556em;
      display: block;
      max-width: calc(100% - 14em);

      svg, img {
        top: .2em;
      }
    }
  }


  /************************
  * Home Page
  ************************/
 
  .home {
    .topper {  

      img {
        width: 8em;
      }
    }
  
    .intro {
      padding-left: calc((100vw - 720px) / 2);
      padding-right: calc((100vw - 720px) / 2);
    }

    .call-outs {
      flex-direction: row;

      .call-out-wrapper {
        flex-basis: 10em;
        flex-grow: 1;
        margin: 1em;
      }

      .call-out {
        height: calc(100% - 8em);
        display: flex;
        flex-direction: column;

        .button {
          margin-top: auto;
        }
      }
    }
  }

  /************************
   * Landing Pages
  ************************/
  
  .landing {
    .intro {
      text-align: left;

      p {
        line-height: 2.22em;
      }
    }

    .call-outs {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;

      .call-out {
        width: 40%;
        flex-grow: 1;
        margin: 2em .5em;
      }
    }
  }
  
  /************************
  * Role Detail Pages
  ************************/

  .role-detail {
    .container {
      .overview {
        padding-top: 1.5em;
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-column-gap: 1em;
        position: relative;

        h3 {
          grid-area: 1 / 2 / 2 / 3;
        }

        p {
          padding-bottom: 1em;
          margin-bottom: 1em;
          margin-top: 0;
          grid-area: 2 / 2 / 3 / 3;
        }

        ul {
          grid-area: 3 / 2 / 4 / 3;

          li {
            margin-bottom: 1em;
          }
        }

        .image-wrapper {
          grid-area: 1 / 1 / 5 / 2;
          background: none;
          margin: 0;

          img {
            margin-bottom: 2.5em;
          }
        }

        .sprig-component {
          grid-area: none;
          position: absolute;
          top: -10em;
          right: 0;
        }
      }

      .tab-content {
        &.grid {
          display: grid;
          grid-template-columns: 2fr 1fr;
          grid-gap: 1em;

          .details {
            grid-area: 1 / 1 / 2 / 2;
          }

          .attributes {
            grid-area: 2 / 1 / 4 / 2;
            margin-top: 0;
          }

          .alignment {
            grid-area: 1 / 2 / 3 / 3;
            margin-top: 2rem;

            &+.next-steps {
              grid-area: 3 / 2 / 4 / 3;
            }
          }

          .next-steps {
            grid-area: 1 / 2 / 2 / 3;
          }
        }
      }
    }
  }
  
  /************************
  * Role Search Pages
  ************************/

  .role-search {
    .container {
      .overview {
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-column-gap: 1em;
        padding: calc(2 * var(--wrapper-spacing)) 0;
        position: relative;

        .tagline {
          grid-area: 2 / 2 / 3 / 3;
        }

        h3 {
          grid-area: 3 / 2 / 4 / 3;
        }

        .summary {
          grid-area: 4 / 2 / 5 / 3;
        }

        .image-wrapper {
          padding: 0;
          grid-area: 1 / 1 / 6 / 2;
          background: none;
          margin: 0;
        }
      }
    }

    .result-controls {
      flex-direction: row;

      .match-count {  
        .key { 
          display: flex;
          flex-direction: row;
          justify-content: flex-start;
          align-items: center;
          font-size: .722222em;
          margin-left: 2em;

          &>span {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            margin-left: 1em;
            margin-right: .25em;
            font-weight: 500;

            .image-wrapper {
              margin-right: .25em;
              border-radius: 2rem;
              background-color: var(--tertiary-color);
              height: 1.5rem;
              width: 1.5rem;
              display: flex;
              justify-content: center;
              align-items: center;
  
              svg {
                width: auto;
                margin-right: 0;
              }
            }
  
            &.in-demand {
              .image-wrapper {
                background-color: var(--favorite-color);
              }
            }
          }
        }
      }
    }

    .summaries {
      .no-roles {
        button {
          padding-left: 10em;
          padding-right: 10em;
        }
      }
    }
  }
  
  /************************
  * Dashboard
  ************************/

  .dashboard {
    .overview {
      display: grid;
      grid-template-columns: 1fr 2fr;
      column-gap: 2em;
      row-gap: 0;
      background: linear-gradient(180deg, var(--background-color) 0%, var(--background-color) 50%, white 50%, white 100%);
      margin: 0 calc(var(--wrapper-spacing) * -1);
      padding: 0 var(--wrapper-spacing);

      h2 {
        margin-bottom: 0;
        padding-bottom: 0;
        margin-top: .5em;
      }

      .avatar {
        grid-area: 1 / 1 / 4 / 2;
        background: none;
        margin: 0;
        padding: 0;

        button.edit {
          right: 4.5vw;
          bottom: 4.5vw;
        }
      }

      .avatar-picker {
        top: 30vw;
        left: var(--wrapper-spacing);
        max-width: 40em;

        ul {
          display: grid;
          grid-template-columns: repeat(6, 1fr);
          gap: 1.5em;

          li {
            width: auto;
            margin: 0;
          }
        }

        form {
          button {
            width: auto;
            padding-left: 2em;
            padding-right: 2em;
            float: right;
          }
        }
      }

      h2 {
        grid-area: 1 / 2 / 2 / 3;
      }

      .title {
        grid-area: 2 / 2 / 3 / 3;
        padding-bottom: 0;
        border-width: 0;
        margin-top: .25em;
      }
    }

    .container {
      &>section {
        display: grid;
        grid-template-columns: 1fr 2fr;
        column-gap: 2em;
        row-gap: 0;

        .tips {
          grid-area: 1 / 1 / 2 / 2;

          ul {
            li {
              line-height: 1.2em;
            }
          }
        }

        .main-column {
          grid-area: 1 / 2 / 2 / 3;
          margin-top: -12vw;
          position: relative;

          .target-role {
            a {
              display: grid;
              grid-template-columns: repeat(5, 1fr);
              column-gap: 1em;
              row-gap: 0;

              img {
                width: 100%;
                height: auto;
                grid-area: 1 / 1 / 5 / 2;
              }

              h4 {
                grid-area: 2 / 2 / 3 / 4;
                margin: 0 0 .25em 0;
              }

              ul {
                grid-area: 3 / 2 / 4 / 4;
              }

              .alignment {
                grid-area: 1 / 4 / 5 / 6;

                .competency-alignment {
                  font-size: 1.33333rem;
                }
              }
            }
          }
        }

        .sprig-component {
          grid-area: 2 / 1 / 3 / 3;
        }
      }
    }
  }

  /************************
   * Profile & Action Plan
  ************************/
  
  .profile, .action-plan {
    .outside {
      display: block;
      padding-bottom: 0;
    }

    .overview {
      display: grid;
      grid-template-columns: 1fr 5fr;
      column-gap: 1.5em;
      margin-bottom: 1.5em;

      .image {
        display: block;
        width: 100%;
        grid-area: 1 / 1 / 6 / 2;

        svg {
          width: 100%;
          height: 100%;
        }

        &.default {
          svg {
            circle {
              fill: var(--primary-color);
            }
          }
        }
      }

      h2 {
        padding-bottom: 0;
        grid-area: 2 / 2 / 3 / 3;
        margin-top: .25em;
      }

      .title {
        grid-area: 3 / 2 / 4 / 3;
        margin: 0;
      }

      .link {
        grid-area: 4 / 2 / 5 / 3;
        margin: 0;
      }
    }
  
    .tab-container {
      .tab-bar {
        .tab {
          font-size: .888889em;
        }
      }
    }
  
    .container {
      p:first-child {
        padding-top: 2em;
      }

      select {
        width: auto;
        margin-right: 1em;
      }
    }

    .education-toggles {
      width: 60vw;
    }
  }

  /************************
   * Help Pages
  ************************/
  
  .help {
    .outside {  
      h2 {
        padding-bottom: 1em;
      }
    }
    .container {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 1em;

      .overview {
        grid-area: 1 / 1 / 2 / 3;

        .image-wrapper {
          margin-bottom: 0;
        }
      }

      section {
        grid-area: 2 / 1 / 3 / 2;

        h3 {
          margin-top: 0;
        }
      }

      aside {
        grid-area: 2 / 2 / 3 / 3;
        margin-top: 2rem;
      }
    }
  }

  /************************
   * Self-Assessment
  ************************/
  
  .self-assessment {    
    .competency-set {
  
      &:has(.rating:nth-of-type(2) input:checked) {
        --rating-width: 31%;
      }
    }
  }

  /************************
   * Tab Container
  ************************/
  
  .tab-container {
    .tab-bar {
      width: auto;
      overflow: auto;

      .tab {
        margin-left: 1em;

        &:first-child {
          margin-left: 0;
        }
      }
    }
  }

  /************************
  * Learning Resources
  ************************/

  .learning-resources {
    .learning-resource {
      grid-template-columns: 5em auto 15em;

      img, svg {
        width: 3em;
        padding: 1em;
      }

      .add-to-action-plan {
        button {
          height: inherit;
          font-size: inherit;
        }
      }
    }
  }
}






@media (min-width: 960px) {

  :root {
    --layout-padding: 1em;
  }

  /************************
   * Utility Classes
  ************************/

  .clear {
    &.small-screen {
      display: none;
    }

    &.large-screen {
      display: block;
    }
  }
  
  /************************
    * Page Footer
  ************************/

  footer {
    padding-top: 11.5em;
    
    .usage-warning, nav, .copyright, .nav-links {
      padding-left: var(--layout-padding);
      padding-right: var(--layout-padding);
    }

    .principles {
      ul {
        li {
          &:last-child {
            margin-bottom: 0;
          }
        }
      }
    }
  }

  /************************
  * Contained Template
  ************************/

  .outside {
    display: grid;
    grid-template-columns: auto 4fr;
    padding-bottom: 1.5em;
    grid-column-gap: 1em;

    .illustration-wrapper {
      display: block;
      grid-area: 1 / 1 / 5 / 2;
    }

    .sub-title {
      grid-area: 2 / 2 / 3 / 3;
    }

    h2 {
      grid-area: 3 / 2 / 4 / 3;
      padding-bottom: 0;
    }
  }

  /************************
  * Home Page
  ************************/
 
  .home {
  
    .intro {
      padding-left: calc((100vw - 920px) / 2);
      padding-right: calc((100vw - 920px) / 2);
    }

    .call-outs {
      background-position: center center;

      .call-out {
        padding: 2em;
      }
    }
  }

  /************************
   * Landing Pages
  ************************/
  
  .landing {
    .intro {
      display: grid;
      grid-template-columns: auto 4fr;
      grid-column-gap: 1em;

      h1 {
        grid-area: 3 / 2 / 4 / 3;
      }

      p {
        grid-area: 5 / 1 / 6 / 3;

        &.sub-title {
          grid-area: 2 / 2 / 3 / 3;

        }
      }

      .illustration-wrapper {
        grid-area: 1 / 1 / 5 / 2;
        display: block;
        max-width: 7em;

        svg {
          width: 100%;
          height: auto;
        }
      }
    }
  }

  /************************
   * Department Pages
  ************************/
  
  .department {
    background: var(--background-color);

    .section-nav {
      margin: 0 var(--layout-padding);
      text-align: left;
    }

    .tab-container {
      padding: 0;
    }

    .department-topper {
      text-align: center;

      .image-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: -5.25em auto 0;
        background: var(--primary-color);
        height: 4em;
        width: 4em;
        padding: 1em;
        border-radius: 50%;
        border: solid white .5em;
        position: relative;

        &.stroke {
          svg {
            g, path {
              stroke: var(--primary-inverse-color);
              fill: transparent;
            }
          }
        }

        svg, img {
          height: 100%;
          width: auto;

          g, path {
            stroke: transparent;
            fill: var(--primary-inverse-color);
          }
        }
      }

      h2 {
        padding-bottom: 1em;
        display: block;
      }

      .tab-container {
        padding: 0 var(--layout-padding);

        .tab-bar {
          border-width: 0;
          
          .tab {
            background: linear-gradient(180deg, rgba(13, 123, 181, 0.20) 60.98%, rgba(6, 44, 66, 0.20) 100%), var(--primary-color);
            color: white;
            position: relative;
            z-index: 1;
            min-height: 4em;
            flex-grow: 1;
            flex-basis: 1em;
            font-family: var(--base-font);

            &:hover {
              background: linear-gradient(180deg, rgba(13, 123, 181, 0.20) 60.98%, rgba(6, 44, 66, 0.20) 100%), var(--primary-hover-color);
            }

            &.active {
              background: white;
              color: var(--primary-color);
              filter: drop-shadow(0px -5px 3px rgba(0, 0, 0, 0.15));
              z-index: 3;
            }
          }
        }
      }
    }

    .wrapper {
      background-color: white;
      margin: 0 var(--layout-padding);
      box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
      border-radius: 0 0 15px 15px;
      padding: 2em 2em 0;
      position: relative;
      z-index: 2;
      margin-bottom: 7.25em;

      .tab-container {
        .tab-bar {
          .tab {
            flex-shrink: 1;
            padding: 1.5em 6em;
          }
        }

        .tab-content {
          .key { 
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            align-items: center;
            font-size: .722222em;

            &>span {
              display: flex;
              flex-direction: row;
              align-items: center;
              justify-content: flex-start;
              margin-left: 1em;
              margin-right: .25em;
              font-weight: 500;
  
              .image-wrapper {
                margin-right: .25em;
                border-radius: 2rem;
                background-color: var(--tertiary-color);
                height: 1.5rem;
                width: 1.5rem;
                display: flex;
                justify-content: center;
                align-items: center;
    
                svg {
                  width: auto;
                  margin-right: 0;
                }
              }
    
              &.in-demand {
                .image-wrapper {
                  background-color: var(--favorite-color);
                }
              }
            }
          }
        }
      }
    }
  
    .intro {
      background: none;
      display: grid;
      grid-template-columns: 1fr 2fr;
      grid-column-gap: 1em;
      grid-row-gap: 0;
      margin-bottom: 2em;

      .image {
        grid-area: 1 / 1 / 7 / 2;
      }
  
      .sub-title {
        grid-area: 1 / 2 / 2 / 3;
        margin: 0;
      }
  
      .title {
        grid-area: 2 / 2 / 3 / 3;
  
        &:after {
          display: none;
        }
  
        .icon, svg {
          display: none;
        }
  
        h2 {
          margin-left: 0;
        }
      }
  
      h3 {
        grid-area: 4 / 2 / 5 / 3;
        margin-top: 0;
      }
  
      p {
        grid-area: 3 / 2 / 4 / 3;
      }
  
      ul {
        grid-area: 5 / 2 / 6 / 3;
      }
    }
    
    .tab-container {
      background: none;

      .tab-bar {
        .tab {
          background: var(--inactive-tab-color);

          &:hover {
            background: var(--inactive-tab-hover-color);
          }

          &.active {
            background-color: var(--primary-color);
            background: linear-gradient(180deg, rgba(13, 123, 181, 0.20) 60.98%, rgba(6, 44, 66, 0.20) 100%), var(--primary-color);
          }
        }
      }
    }
  
    .roles {
      &>h3 {
        span {
          background-color: white;
        }
      }
    }
  }

  /************************
   * Role Summary
  ************************/
  
  .role-summary {
    display: grid;
    grid-template-columns: auto 2fr 1fr;
    grid-column-gap: 1em;
    grid-row-gap: 0;
    padding: var(--wrapper-spacing);

    img.image {
      grid-area: 1 / 1 / 4 / 2;
      width: 16em;
      height: auto;
      margin-bottom: calc(-1 * var(--wrapper-spacing));
      border-radius: 5px 0 0 5px;
      object-fit: cover;
    }

    .description {
      grid-area: 1 / 2 / 2 / 3;

      .attribute-icons {
        float: right;
        margin-top: 0;

        .image-wrapper {
          &.favorite {
            margin-left: .25em;
          }
        }
      }

      h1, .department {
        clear: left;
        float: left;
        max-width: calc(100% - 4em);
      }

      .department { 
        margin-top: 0;
      }

      p {
        clear: both;
        padding-top: .5em;
      }
    }

    .attributes {
      grid-area: 1 / 3 / 4 / 4;
      border-width: 0 0 0 1px;
      padding-top: 0;
      padding-left: 2em;
      margin: 0;
    }

    .alignment {
      grid-area: 3 / 2 / 4 / 3;

      h2 {
        margin-bottom: 0;
      }

      .alignment-criteria {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;

        div {
          margin-top: 0;
        }

        h3 {
          margin: .5em 0 0;
        }

        .preferences {

          li {
            font-size: .8em;
            margin-top: 0;
          }
        }

        .alignment-competencies {
          div.competencies {
            margin-top: .5em;
          }
        }
      }
    }
  }

  /************************
   * Role Search
  ************************/
  
  .role-search {  
    #search-filter {
      display: none;
    }

    .container {
      .overview {
        .illustration-wrapper {
          display: block;
          position: absolute;
          top: -7em;
          right: 4em;
          height: 11em;
          width: auto;

          svg {
            height: 100%;
            width: auto;
          }
        }
      }

      .explore {
        &.small-screen {
          display: none;
        }

        &.large-screen {
          display: flex;
          margin-top: 2em;
        }
      }
    }

    .controls {
      display: block !important;
      position: relative;
      border-width: 0;
      padding: 0;
      background: none;
      box-shadow: none;
      width: 100%;

      .filter-toggles {
        display: none;
      }

      .filter-wrappers {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
      }

      .filter-wrapper {
        position: relative;
        flex-grow: 1;
        margin-right: .5em;

        &:last-child, &:nth-last-child(2) {
          .filter-options {
            right: 0;
            left: auto;
          }
        }

        &:last-child {
          margin-right: 0;
        }

        .toggle-button {
          display: flex;
        }

        .filter-options {
          border: solid black 1px;
          border-radius: 25px;
          background: var(--background-tint-color);
          box-shadow: 0px 0px 8px 4px rgba(163, 163, 163, 0.25);
          padding: .75em;
          position: absolute;
          top: 4em;
          left: 0;
          width: 50vw;
          max-width: 25em;

          p {
            font-weight: 700;
            font-size: .777778em;
            color: var(--primary-color);
          }
        }
      }
    }
  }
  
  /************************
  * Dashboard
  ************************/

  .dashboard {
    .outside {
      display: block;
      padding-bottom: 0;
    }

    .container {
      .main-column {
        .preference-list {
          display: grid;
          grid-template-columns: 1fr 1fr;
        }
      }
    }
  }

  /************************
   * Profile
  ************************/
  
  .profile {
    .education-toggles {
      width: 60vw;
    }
  }

  /************************
   * Self-Assessment
  ************************/
  
  .self-assessment { 
    .domain {  
      &.expanded {  
        .competencies {
          opacity: 1;
        }
      }
  
      .competencies {
        display: grid;
        grid-template-columns: 1fr 2fr;
        column-gap: 1em;
        row-gap: .5em;
        margin-left: 7px;
        opacity: 0;
        transition: all .25s ease-in-out;

        .topic-label {
          display: block;
          grid-area: 1 / 1 / 2 / 2;
        }

        .statement-label {
          display: block;
          grid-area: 1 / 2 / 2 / 3;
        }
  
        .topic {
          grid-column-start: 1;
          grid-column-end: 2;
          padding: 0;
          background-color: var(--background-tint-color);
          margin-top: .75em;
          position: relative;
  
          &>h5 {
            padding: 1.25em 1.75em;
            margin: 0;
            filter: drop-shadow(0px 1px 4px rgba(0, 0, 0, 0));
            transition: all .25s ease-in-out;
  
            &:after {
              content: '';
              position: absolute;
              top: 50%;
              margin-top: -.4em;
              right: 0.2em;
              height: 1em;
              width: 1em;
              background-color: var(--background-tint-color);
              transform: rotate(45deg);
              transition: all .1s ease-in-out;
            }

            &:hover {
              cursor: pointer;
            }
  
            &.active {
              font-weight: 600;

              &:after {
                right: -.4em;
              }
            }
          }
  
          &:has(.active) {
            filter: drop-shadow(0px 1px 4px rgba(0, 0, 0, 0.25));
          }
        }
        
        .statements {
          grid-column-start: 2;
          grid-column-end: 3;
          grid-row-start: 2;
          grid-row-end: 20;
        }
      }
    }

    .competency-set {
  
      &:has(.rating:nth-of-type(2) input:checked) {
        --rating-width: 31%;
      }
  
      &:has(.rating:nth-of-type(3) input:checked) {
        --rating-width: 53%;
      }
    }
  }

  /************************
   * Tab Container
  ************************/
  
  .tab-container {  
    .tabs {
      padding: 1.5em 0 1.5em;
    }
  }

}






@media (min-width: 1024px) {

  /************************
  * Page Footer
  ************************/

  footer {
    padding-top: 12.5em;
  }

  
  /************************
  * Contained Template
  ************************/

  .outside {
    padding-top: .75em;
  }
  
  /************************
  * Role Detail Template
  ************************/

  .role-detail {
    .container {
      .tab-content {
        &.grid {
          grid-template-columns: 2fr 3fr 2fr;

          .details {
            grid-area: 1 / 2 / 4 / 3;
          }

          .attributes {
            grid-area: 1 / 1 / 4 / 2;
          }

          .alignment {
            grid-area: 1 / 3 / 3 / 4;

            &+.next-steps {
              grid-area: 3 / 3 / 4 / 4;
            }
          }

          .next-steps {
            grid-area: 1 / 3 / 2 / 4;
          }
        }
      }
    }
  }
  
  /************************
  * Dashboard
  ************************/

  .dashboard {
    .container {
      &>section {
        .main-column {
          .target-role {
            a {
              grid-template-columns: repeat(6, 1fr);

              &:has(.no-assessment) {
                h4 {
                  grid-area: 2 / 2 / 3 / 4;
                }

                ul {
                  grid-area: 3 / 2 / 4 / 4;
                }
              }

              h4 {
                grid-area: 2 / 2 / 3 / 5;
              }

              img {
                grid-area: 1 / 1 / 5 / 2;
              }

              ul {
                grid-area: 3 / 2 / 4 / 5;
              }

              .alignment {
                grid-area: 1 / 5 / 5 / 7;

                &.no-assessment {
                  grid-area: 1 / 4 / 5 / 7;
                  align-items: center;
                }

                .competency-alignment {
                  font-size: 1.777778rem;
                }
              }
            }
          }
          .interest-lists {
            display: grid;
            grid-template-columns: repeat(3,1fr);
            gap: 1em;

            .interest-list {
              h4 {
                font-size: .888889em;
              }
            }
          }
        }
      }
    }
  }

  /************************
   * Profile & Action Plan
  ************************/
  
  .profile, .action-plan {
    .overview {
      grid-template-columns: 1fr 7fr;
    }

    .education-toggles {
      width: auto;
      flex-direction: row;

      li {
        &.toggle-button {
          margin-right: .25em;
          padding-right: 2.25em;

          &:last-child {
            .education-areas {
              &.show {
                right: 0;
                left: auto;
              }
            }
          }

          &:nth-last-child(2) {
            .education-areas {
              &.show {
                right: 0;
                left: auto;
              }
            }
          }
        }
      }

      .education-areas {
        min-width: 25em;


      }
    }

    .profile-selections {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2em;

      &:has(.interest-set) {
        column-gap: 3em;
      }

      .preference-set, .interest-set {
        margin-bottom: 0;
      }
    }
  }

  /************************
   * Self-Assessment
  ************************/
  
  .self-assessment {    
    .competency-set {
  
      &:has(.rating:nth-of-type(2) input:checked) {
        --rating-width: 30%;
      }
    }
  }

}







@media (min-width: 1280px) {

  :root {
    --layout-padding: calc((100vw - 1200px) / 2);
  }
  
  /************************
  * Page Header
  ************************/
 
  header {
    padding-left: var(--layout-padding);
    padding-right: var(--layout-padding);
  }
  
  /************************
    * Page Footer
  ************************/

  footer {
    padding-top: 16.5em;

    h2 {
      margin-bottom: 2em;
    }

    .principles {
      h2 {
        margin-top: 1.25em;
      }

      ul {
        display: flex;
        flex-direction: row;
        padding-left: var(--layout-padding);
        padding-right: var(--layout-padding);
        padding-bottom: 3em;

        li {
          flex-basis: 10em;
          flex-grow: 1;
          border-bottom-width: 0;
          margin-right: 0;
          margin-left: 0;
          padding: .5em 3em 1em;

          &:nth-child(2n) {
            border: dotted white 1px;
            border-width: 0px 1px;
          }

          &:last-child {
            border-right-width: 0;
          }
        }
      }
    }
  }

  /************************
  * Navigation Menus
  ************************/

  .nav-menu {
    right: var(--layout-padding);
  }
  
  /************************
  * Contained Template
  ************************/

  .outside {
    padding-left:  var(--layout-padding);
    padding-right:  var(--layout-padding);
  }

  .container {
    border: solid var(--background-color) 1px;
    border-width: 0;
    padding: 0 calc(2 * var(--wrapper-spacing));
    margin: 0 var(--layout-padding) 5.5em;
    box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.02);
    border-radius: 0px 0px 15px 15px;
  }
  
  /************************
  * Full Width Template
  ************************/

  .title-tab {
    padding-left:  var(--layout-padding);
    padding-right:  var(--layout-padding);
  }


  /************************
  * Home Page
  ************************/
 
  .home {
    .topper {  
      img {
        width: 9em;
      }
    }

    .call-outs {
      flex-direction: row;
      padding-left: var(--layout-padding);
      padding-right: var(--layout-padding);
      background-position: center -5em;

      .call-out-wrapper {
        flex-basis: 10em;
        flex-grow: 1;
        margin: 2.5em;

        &:first-child {
          margin-left: 0;
        }

        &:last-child {
          margin-right: 0;
        }

        .call-out {
          padding: 2em 4em;
        }
      }
    }
  }

  /************************
   * Landing Pages
  ************************/
  
  .landing {
    .title-tab {
      padding-left:  var(--layout-padding);
      padding-right:  var(--layout-padding);
    }

    .intro {
      padding-left:  var(--layout-padding);
      padding-right:  var(--layout-padding);
      text-align: left;
      padding-top: 1em;
    }

    .call-outs {
      padding-left:  var(--layout-padding);
      padding-right:  var(--layout-padding);
      padding-bottom: 5.5em;

      .call-out {
        width: calc(33.33% - 3em);
        flex-grow: 0;
        flex-shrink: 0;

        &.conclusion {
          flex-grow: 1;
        }
      }
    }
  }
  
  /************************
  * Role Search
  ************************/

  .role-search {
    .container {
      padding-bottom: 1.2222em;

      .overview {
        .illustration-wrapper {
          top: -8em;
          height: 13em;
        }
      }
    }

    .result-controls {
      .match-count {  
        .key {
          margin-left: 3em;

          &:last-child {
            margin-left: 1.5em;
          }

          svg { 
            margin-right: .5em;
          }
        }
      }
    }
  }

  
  /************************
  * Role Detail Template
  ************************/

  .role-detail {
    .container {
      .tab-content {
        &.grid {
          grid-template-columns: 5fr 10fr 6fr;
          grid-gap: 2em;
        }
      }
    }
  }
  
  /************************
  * Dashboard
  ************************/

  .dashboard {
    .overview {
      margin: 0;
      grid-template-columns: 1fr 3fr;
      padding: 0 calc(var(--wrapper-spacing) * 2);

      .image-wrapper {
        button.edit {
          right: 2.25em;
          bottom: 2.25em;
        }
      }

      .avatar-picker {
        top: 15em;
      }
    }

    .container {

      &>section {
        grid-template-columns: 1fr 3fr;

        .main-column {
          margin-top: -6em;

          .preference-list {
            grid-template-columns: 1fr 1fr 1fr;
          }
        }
      }
    }
  }

  /************************
   * Profile & Action Plan
  ************************/
  
  .profile, .action-plan {

    .education-toggles {
      width: auto;
      flex-direction: row;

      &>li {
        &.toggle-button {
          label {  
            svg {
              height: 1.25em;
              width: 1.25em;
            }
          }
        }
      }
    }

    .actions {
      margin: 0 calc(var(--wrapper-spacing) * -2);
      padding: 1.5em calc(var(--wrapper-spacing) * 2) 2.5em;
      border-bottom-width: 0;
  
      &+.success {
        top: -9.5em;
      }
    }
  }

  /************************
   * Help Pages
  ************************/
  
  .help {
    .container {
      padding-bottom: 3em;

      .overview {
        .image-wrapper {
          background: none;
          margin-top: calc(var(--wrapper-spacing) * 2);
        }
      }
    }
  }

  /************************
   * Popular & Role Pathway
  ************************/

  .popular-pathway, .role-pathway {
    .pathway {
      margin: 0;
      padding: 0;
    }
  }
  
  .role-pathway {
    .pathway {
      overflow-y: auto;
      flex-direction: column;

      .pathway-level {
        border-right-width: 0;

        &:nth-child(2n) {
          .pathway-roles {
            padding-top: 0;
            padding-left: 2em;
          }
        }

        h5 {
          border: solid 1px var(--line-color);
          border-width: 0 1px;
        }
      }

      .pathway-roles {
        flex-direction: column;
        padding-bottom: 2em;

        .column {
          flex-direction: row;
          justify-content: center;

          &.col1, &.col2, &.col3, &.col4, &.col5, &.col6 {
            padding: 0;
          }

          &.col1 {
            padding-left: 0;
          }
          
          &.col2 {
            padding-left: 5em;
            padding-top: 2em;
          }

          &.col3 {
            padding-left: 10em;
            padding-top: 2em;
          }

          &.col4 {
            padding-left: 2.5em;
            padding-top: 2em;
          }
          
          &.col5 {
            padding-left: 7.5em;
            padding-top: 2em;
          }

          &.col6 {
            padding-left: 0em;
            padding-top: 2em;
          }
        }
      }
    }
  }

  /************************
  * Feedback Form
  ************************/

  .feedback-form {
    border: solid var(--background-color) 1px;
    border-width: 0;
    padding: calc(2 * var(--wrapper-spacing));
    margin: 0 var(--layout-padding) 4em;
    box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.02);
    border-radius: 15px;
  }
}





@media (min-width: 1440px) {


  :root {
    --layout-padding: calc((100vw - 1400px) / 2);
  }

  /************************
  * Page Footer
  ************************/

  footer {
    padding-top: 23vw;
  }
  
  /************************
  * Dashboard
  ************************/

  .dashboard {
    .container {

      &>section {
        .main-column {
          margin-top: -8em;
        }
      }
    }
  }
}





@media (min-width: 1600px) {

  :root {
    --layout-padding: calc((100vw - 1600px) / 2);
  }

  /************************
  * Home Page
  ************************/
 
  .home {
    .call-outs {
      background-position: center -10em;
    }
  }
  
  /************************
  * Dashboard
  ************************/

  .dashboard {
    .container {

      &>section {
        .main-column {
          margin-top: -9.5em;
        }
      }
    }
  }

}


@media (min-width: 2000px) {

  /************************
  * Home Page
  ************************/
 
  .home {
    .call-outs {
      background-position: center -12vw;
    }
  }

}

@media print {
  body {
    padding-top: 0;
    text-align: left;
  }

  header {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
  }

  .title-tab {
    &:after {
      display: none !important;
    }

    h1 {
      color: var(--text-color) !important;
      padding: 0;
    }
  }

  .skip-link, .nav-items, .nav-controls, #search-filters {
    display: none !important;
  }

  #content, .intro {
    text-align: left !important;
  }

  .call-outs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    .call-out {
      width: calc(33.33% - 3em) !important;
      border: solid var(--primary-color) 1px;
      margin-right: .5em !important;

      &:first-child {
        margin-top: 0 !important;
      }

      &:last-child {
        margin-right: 0 !important;
      }
    }
  }

  .outside {
    h2, .sub-title {
      text-align: left !important;
      justify-content: flex-start;
    }
  }

  .department {
    .intro {
      background: none;
      display: grid;
      grid-template-columns: 1fr 2fr;
      grid-column-gap: 1em;
      grid-row-gap: 0;
      margin-bottom: 2em;

      .image {
        grid-area: 1 / 1 / 7 / 2;
      }
  
      .sub-title {
        grid-area: 1 / 2 / 2 / 3;
        margin: 0;
      }
  
      .title {
        grid-area: 2 / 2 / 3 / 3;
  
        &:after {
          display: none;
        }
  
        .icon, svg {
          display: none;
        }
  
        h2 {
          margin-left: 0;
        }
      }
  
      h3 {
        grid-area: 4 / 2 / 5 / 3;
        margin-top: 0;
      }
  
      p {
        grid-area: 3 / 2 / 4 / 3;
      }
  
      ul {
        grid-area: 5 / 2 / 6 / 3;
      }
    }

    .section-nav {
      display: none;
    }
    
    .tab-container {
      .tab-bar {
        display: none;
      }
    }
  }
  
  .role-summary {
    break-inside: avoid;
    display: grid;
    grid-template-columns: auto 2fr 1fr;
    grid-column-gap: 1em;
    grid-row-gap: 0;
    padding: var(--wrapper-spacing);

    img.image {
      grid-area: 1 / 1 / 4 / 2;
      width: 16em;
      height: auto;
      margin-bottom: calc(-1 * var(--wrapper-spacing));
      border-radius: 5px 0 0 5px;
      object-fit: cover;
    }

    .description {
      grid-area: 1 / 2 / 2 / 3;

      .attribute-icons {
        float: right;
        margin-top: 0;

        .image-wrapper {
          &.favorite {
            margin-left: .25em;
          }
        }
      }

      h1, .department {
        clear: left;
        float: left;
        max-width: calc(100% - 4em);
      }

      .department { 
        margin-top: 0;
      }

      p {
        clear: both;
        padding-top: .5em;
      }
    }

    .attributes {
      grid-area: 1 / 3 / 4 / 4;
      border-width: 0 0 0 1px;
      padding-top: 0;
      padding-left: 2em;
      margin: 0;
    }

    .alignment {
      grid-area: 3 / 2 / 4 / 3;

      h2 {
        margin-bottom: 0;
      }

      .alignment-criteria {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;

        div {
          margin-top: 0;
        }

        h3 {
          margin: .5em 0 0;
        }

        .preferences {
          li {
            font-size: .8em;
            margin-top: 0;
          }
        }

        .alignment-competencies {
          div.competencies {
            margin-top: .5em;
          }
        }
      }
    }
  }

  .role-detail {
    .container {
      .overview {
        padding-top: 1.5em;
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-column-gap: 1em;
        position: relative;

        h3 {
          grid-area: 1 / 2 / 2 / 3;
        }

        p {
          padding-bottom: 1em;
          margin-bottom: 1em;
          margin-top: 0;
          grid-area: 2 / 2 / 3 / 3;
        }

        ul {
          grid-area: 3 / 2 / 4 / 3;

          li {
            margin-bottom: 1em;

            &.in-demand {
              svg {
                path {
                  fill: var(--favorite-color);
                }
              }
            }

            svg {
              path {
                fill: var(--primary-color);
              }
            }
          }
        }

        .image-wrapper {
          grid-area: 1 / 1 / 5 / 2;
          background: none;
          margin: 0;

          img {
            margin-bottom: 2.5em;
          }
        }

        .sprig-component {
          grid-area: none;
          position: absolute;
          top: -10em;
          right: 0;
        }
      }

      .tab-content {
        &.grid {
          display: grid;
          grid-template-columns: 2fr 1fr;
          grid-gap: 1em;

          .details {
            grid-area: 1 / 1 / 2 / 2;
          }

          .attributes {
            grid-area: 2 / 1 / 4 / 2;
            margin-top: 0;
          }

          .alignment {
            grid-area: 1 / 2 / 3 / 3;
            margin-top: 2rem;

            &+.next-steps {
              grid-area: 3 / 2 / 4 / 3;
            }
          }

          .next-steps {
            grid-area: 1 / 2 / 2 / 3;
          }
        }
      }

      .preferences-grid {
        p {
          svg {
            path {
              fill: var(--tertiary-color);
            }
          }
        }
      }

      .interest {
        .me {
          border: solid var(--primary-color) 1px;

          &:after {
            border: solid var(--primary-color) 1px;
          }
        }

        .job {
          border: solid var(--tertiary-color) 1px;

          &:after {
            border: solid var(--tertiary-color) 1px;
          }
        }

        .track {
          .gap {
            border: solid var(--text-color) 1px;
          }
        }
      }
    }
  }

  .learning-resources {
    .resource-header {
      .alignment-status {
        ul {
          li {
            &.assessed {
              border-width: 3px;
            }
          }
        }
      }
    }
  }

  .leader-line {
    display: none !important;
  }

  .dashboard {
    .overview {
      display: grid;
      grid-template-columns: 1fr 2fr;
      column-gap: 2em;
      row-gap: 0;
      margin: 0 calc(var(--wrapper-spacing) * -1);
      padding: 0 var(--wrapper-spacing);

      h2 {
        margin-bottom: 0;
        padding-bottom: 0;
        margin-top: .5em;
      }

      .avatar {
        grid-area: 1 / 1 / 4 / 2;
        background: none;
        margin: 0;
        padding: 0;

        button.edit {
          display: none !important;
        }
      }

      .avatar-picker {
        display: none !important;
      }

      h2 {
        grid-area: 1 / 2 / 2 / 3;
      }

      .title {
        grid-area: 2 / 2 / 3 / 3;
        padding-bottom: 0;
        border-width: 0;
        margin-top: .25em;
      }
    }

    .container {
      section {
        .main-column {
          .target-role {
            a {
              display: grid;
              grid-template-columns: repeat(5, 1fr);
              column-gap: 1em;
              row-gap: 0;
              border: solid var(--line-color) 1px;

              img {
                width: 100%;
                height: auto;
                grid-area: 1 / 1 / 5 / 2;
              }

              h4 {
                grid-area: 2 / 2 / 3 / 4;
                margin: 0 0 .25em 0;
              }

              ul {
                grid-area: 3 / 2 / 4 / 4;
              }

              .alignment {
                grid-area: 1 / 4 / 5 / 6;

                .competency-alignment {
                  font-size: 1.33333rem;
                }
              }
            }
          }
        }
      }
    }
  }

  .profile {
    .interest-set {
      input[type="range"] {
        border: solid var(--line-color) 1px;

        &::-moz-range-thumb {
          border: solid var(--tertiary-color) 1px;
        }
      }

      .slider-ticks {
        .icon {
          border: solid var(--tertiary-color) 1px;

          svg {
            path {
              fill: var(--tertiary-color);
            }
          }
        }
      }
    }
  }

  .self-assessment {
    .competency-set {
      .rating {
        &:has(input:checked) {
          label {
            &:before {
              border: solid var(--primary-color) 2px;
            }
          }
        }
      }
    }
  }

  footer {
    padding-top: 2em;

    .principles {
      ul {
        display: flex;
        flex-direction: row;

        li {
          flex-basis: 10em;
          flex-grow: 1;
          flex-shrink: 1;
          border-bottom-width: 0;
        }
      }
    }
  }

  .role-pathway {
    display: none;
  }

  .role-pathway-printable {
    display: block;
    
    h4, h5, h6 {
      font-family: var(--base-font);
    }

    h4 {
      text-transform: uppercase;

      .favorite {
        display: inline-block;
        position: relative;
        top: .375em;

        svg {
          height: 1.5em;
          width: 1.3em;

          path {
            fill: var(--favorite-color);
          }
        }
      }
    }

    .pathway {
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: stretch;
      margin: 0;
      padding: 0;

      .pathway-level {
        border-right-width: 0;
        border-top: solid 1px var(--line-color);

        &:first-child {
          h5 {
            border-left: solid 1px var(--line-color);
          }
        }

        &:last-child {
          border-right-width: 0;

          h5 {
            border-right: solid 1px var(--line-color);
          }
        }

        &:nth-child(2n) {
          .pathway-roles {
            padding-top: 0;
            padding-left: 0;
          }
        }

        h5 {
          line-height: 1em;
          margin: 0;
          padding: .75rem;
          color: var(--primary-color);
          font-size: .7778rem;
          text-transform: uppercase;
          border: solid 1px var(--line-color);
          border-width: 0 1px;
        }

        .pathway-roles {
          display: flex;
          flex-direction: row;
          justify-content: flex-start;
          align-items: center;

          p {
            font-weight: 600;
            color: var(--primary-color);
            text-transform: uppercase;
          }

          .pathway-role {
            position: relative;

            &.crossover {
              h6 {
                background-color: var(--background-tint-color);
              }
            }

            &.source-role {
              h6 {
                background-color: var(--primary-color);
                color: white;
                border-color: black;
              }
            }

            h6 {
              border-radius: 5px;
              border: 0.5px solid #8F8F8F;
              border-top: solid 5px var(--primary-color);
              background: #FFF;
              opacity: .9;
              box-shadow: 0px 0px 6px 6px rgba(141, 141, 141, 0.05);
              margin: 1.5rem 2rem;
              padding: 1rem;
              text-align: center;
              font-size: .66667rem;
              font-weight: 500;
              line-height: 1.41em;
              min-width: 5.5rem;
              max-width: 10rem;
              height: 3rem;
              display: flex;
              justify-content: center;
              align-items: center;
              position: relative;
              z-index: 2;
            }

            .icons {
              position: absolute;
              z-index: 3;
              top: .9rem;
              left: 3rem;
              display: flex;
              flex-direction: row;
              justify-content: flex-start;
              align-items: flex-start;

              .image-wrapper { 
                margin-right: .25em;
                height: 1.388889em;
                width: auto;
                background-color: var(--tertiary-color);
                height: 1em;
                width: 1em;
                padding: .25em;
                border-radius: 2em;
                display: flex;
                align-items: center;
                justify-content: center;

                svg {
                  g {
                    stroke: white;
                  }
                }

                &.highlight {
                  background-color: var(--favorite-color);

                  svg {
                    g {
                      stroke: transparent;
                    }

                    path {
                      fill: white;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

/* Task expansion/collapse styles */
.tasks-transitioning {
  transition: max-height 0.3s ease-in-out;
}

.tasks-collapsed {
  max-height: 0px;
  overflow: hidden;
}

.tasks-expanded {
  max-height: 1000px; /* Adjust based on content needs */
  overflow: visible;
}