.wrapper-preview-menu {
  @include clearfix();

  margin: 0 auto 0;
  padding: ($baseline*0.75);
  background-color: theme-color("primary");
  box-sizing: border-box;

  @media print {
    display: none;
  }

  .preview-menu {
    @extend %inner-wrapper;

    width: auto;
  }

  .preview-actions {
    @include padding-left(0);

    display: inline-block;
    margin-bottom: 0;

    .action-preview {
      display: inline-block;

      .action-preview-label {
        @include margin-right($baseline/2);

        display: inline-block;
        margin-bottom: 0;
        vertical-align: middle;
        color: theme-color("inverse");
      }

      .action-preview-select {
        @include margin-right($baseline);
      }

      .action-preview-username-container {
        display: none;

        .action-preview-username {
          vertical-align: middle;
          height: 25px;
        }
      }
    }
  }

  .preview-specific-student-notice {
    margin-top: ($baseline/2);
    font-size: 90%;
  }
}

.proctored_exam_status {
  // STATE: Fixed to viewport (used for scrolling)
  &.is-fixed {
    @extend %ui-depth4;

    box-shadow: 0 3px 3px $shadow-d1;
    position: fixed;
    top: 0;
    width: 100%;
  }

  .exam-timer {
    @include font-size(14);

    background-color: rgb(229, 234, 236);
    padding: $baseline ($baseline*2);
    border-left: 4px solid theme-color("primary");
    margin: 0 auto;
    color: theme-color("secondary");

    .exam-text {
      display: inline-block;
      width: calc(100% - 250px);
    }

    a {
      color: rgb(9, 121, 186);
    }

    .pull-right {
      color: theme-color("secondary");

      b {
        color: theme-color("dark");
      }
    }

    .turn_in_exam {
      margin-top: -6px;
    }

    &.low-time {
      color: theme-color("light");
      background-color: rgb(79, 88, 92);

      a {
        color: $white;
        text-decoration: underline;
      }

      .pull-right {
        color: theme-color("light");

        b {
          color: theme-color("inverse");
        }

        .exam-button-turn-in-exam {
          background-color: transparent;
          border: 1px solid theme-color("inverse");
          color: theme-color("inverse");

          &:hover {
            border: 1px solid theme-color("inverse");
            background-color: theme-color("inverse");
            color: theme-color("brand");
          }
        }
      }
    }

    &.warning {
      border-left-color: theme-color("warning");
    }

    &.critical {
      border-left-color: theme-color("danger");
      color: theme-color("inverse");
    }

    .exam-button-turn-in-exam {
      @extend %btn-pl-primary-base;
      @extend %t-action3;
      @extend %t-weight4;

      margin-right: $baseline;
      border: 0;
      background-image: none;
      padding: ($baseline/5) ($baseline*0.75);
      box-shadow: none;
      text-shadow: none;

      &:hover,
      &:focus {
        border: 0;
      }
    }
  }
}
