* {
  margin: 0px;
  padding: 0px;
  outline: 0px;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
  font-size: 14px;
  line-height: 1.3;
  font-family: 'Roboto', arial, sans-serif;
  color: rgb(0, 0, 0);
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  text-size-adjust: 100%;
}

p {
  margin: 10px 0;
}

p img {
  padding: 0px;
  max-width: 100%;
}

img.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignright {
  margin: 2px 0px 2px 7px;
  display: inline;
}

img.alignleft {
  margin: 2px 7px 2px 0px;
  display: inline;
}

.alignright {
  float: right;
  display: inline;
}

.alignleft {
  float: left;
  display: inline;
} 

.aligncenter, div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

table {
  /* table-layout: fixed; */
  width: 100%;
}

h1 {
  font-weight: 700;
  font-size: 2.25em;
}

a {
  font-weight: bold;
  color: #1746c7;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
}

a:focus {
  text-decoration: none;
}

a img {
  border: 0px;
}

ul {
  list-style: none;
}

/* h2 {
  display: inline-block;
  padding: 5px;
  letter-spacing: -0.5px;
  background-color: rgb(232, 238, 255);
} */

/* a > h2 {
  background-color: white;
  display: inline-block;
  letter-spacing: -0.5px;
  padding: 5px 0 0 0;
} */

/* a > h2:hover {
  text-decoration: underline;
} */

form {
  margin-top: 0;
}

input, textarea, select {
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(153, 153, 153);
  /* border-radius: 5px; */
  /* padding: 8px; */
}

input[type=password],
input[type=date],
input[type=text] {
  margin: 5px 0;
  /* height: 20px; */
  padding: 6px 12px;
  font-size: 14px;
  background-color: rgb(255, 255, 255);
  background-image: none;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.075) 0px 1px 1px inset;
}

table.login{
  text-align: left;
}

input[type=submit] {
  margin: 10px 0;
}

input[type=date] {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

textarea {
  overflow: auto;
}

.cl {
  display: block;
  height: 0px;
  font-size: 0px;
  line-height: 0;
  text-indent: -4000px;
  clear: both;
}

.notext {
  font-size: 0px;
  line-height: 0;
  text-indent: -4000px;
}

.left, .alignleft {
  float: left;
  display: inline;
}

.right, .alignright {
  float: right;
  display: inline;
}

.hidden {
  display: none;
}

#overlay {
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: transparent;
  position: fixed;
  z-index: 999;
}

#wrap {
  margin-bottom: -5px;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 55px;
  width: 100%;
  padding: 10px 0;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #aaa;
  box-shadow: 1px 1px 1px #ccc;
}

.logo-container a {
  padding-left: 20px;
  display: flex;
  align-items: center;
}

header h1 a {
  font-size: 18px;
  float: left;
  width: auto;
  text-align: left;
  color: black;
}

header h1 a:hover {
  text-decoration: none;
  color: #ebab2c;
}

header img {
  height: 20px;
  padding-right: 8px;
}

#mobile-menu {
  width: 100%;
  display: flex;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  align-self: center;
  flex-direction: row;
  float: right;
  padding-right: 10px;
}

#mobile-menu i {
  padding-left: 3px;
}

.search-field {
  float: left;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.search-field .blink {
  width: 180px;
  background-color: white;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 5px;
  padding: 8px;
}

input#filter {
  border-color: #aaa;
  padding: 8px;
}

.search-button {
  display: inline;
  /* width: 26px;
  height: 21px; */
  background: transparent;
  border: 0px;
  cursor: pointer;
  margin-top: 10px;
  /* margin-bottom: -9px; */
}

#mobile-logo {
  padding: 5px 20px;
  margin-top: 40px;
}

#mobile-logo .mobile-banner-text {
  vertical-align: bottom;
  max-height: 50px;
  display: block;
  margin: 0px auto;
  max-width: 100%;
}

html:not(.js) .soliloquy-container {
  display: none;
}

main {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  width: 100%;
  background-color: #fff;

}

nav {
  width: 200px;
  height: 100%;
  top: 55px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  float: left;
  position: sticky;
  align-self: flex-start;
}

body.admin-bar nav {
  top: 37px;
}

nav li {
  overflow: hidden;
  width: 100%;
}

nav li a {
  /* width: 100%; */
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 16px;
  color: #4d4d4f;
  background-color: #fff;
  font-weight: bold;
  padding: 15px;
}

nav li a:hover,
nav li.current-menu-item a:hover,
nav ul.sub-menu li a:hover {
  text-decoration: none;
  background: #eee;
}

nav li a:active {
  background-color: white;
}

nav i {
  padding-right: 8px;
  padding-left: 3px;
}

nav li:hover ul {
  display: block;
  position: relative;
}

nav li li a:hover,
nav li li.current_page_item a,
nav li li.current-menu-item a {
  background: url("images/arrow-orange.png") 8px 3px no-repeat !important;
}

nav li li.current_page_item a,
nav li li.current-menu-item a {
  font-weight: bold;
  color: #4d4d4f;
}

nav li.current-menu-ancestor a,
nav li.current-menu-item a {
  padding-left: 10px;
  border-left: 5px solid rgb(228, 160, 27);
  background-color: #eee;
}

nav li.current-menu-item ul.sub-menu,
nav li.current-menu-ancestor ul.sub-menu {
  display: block;
}

#menu-toggle {
  display: block;
}

#content {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  min-width: 0;
  width: 1080px;
  min-height: 75vh;
  float: right;
  padding: 30px 40px 60px 40px;
  border-left: 1px solid #aaa;
}

#content .head-image {
  margin-bottom: 24px;
  display: block;
}

#content h1 {
  margin-bottom: 15px;
  color: #000;
  letter-spacing: -0.5px;
}

#content p {
  font-size: 14px;
}

.full-width-content #content {
  width: 100%;
  float: none;
  display: inline;
}

.timecard-container {
  display: flex;
  flex-direction: row;
  width: 50%;
}

.timecard a {
  width: 180px;
  height: 100px;
  padding: 30px;
  font-size: 18px;
  font-weight: bold;
  /* white-space: nowrap; */
  margin-right: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: black;
  border: 1px solid #aaa;
  background-color: #fbfbfb;
  border-radius: 5px;
  box-shadow: 1px 1px 1px #ccc;
}

.timecard a:hover {
  background-color: #ffbb33;
  text-decoration: none;
}

.timecard a:active {
  background-color: #ebab2c;
  text-decoration: none;
}

.overview-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.overview-table {
  background-color: #fbfbfb;
  padding: 15px;
  margin: 20px 0;
  border: 1px solid #aaa;
  border-radius: 5px;
  box-shadow: 1px 1px 1px #ccc;
}

/* .overview-table tr:nth-child(even) {
  background-color: #eee;
} */

.overview-table h3 {
  padding-bottom: 12px;
}

.overview-table table,
.alert-table table {
  table-layout: auto;
  border-collapse: collapse;
}

.overview-table tr td,
.alert-table tr td {
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: 1px solid #aaa;
}

.schedule-table table {
  border-spacing: 0px;
  /* margin-top: 10px; */
  border: 1px solid #aaa;
  border-radius: 5px;
}

h2.stick,
.schedule-table h2 {
  top: 55px;
  position: sticky;
  background-color: #fff;
  padding: 10px 0;
  z-index: 99;
  height: auto;
}

.alert-table {
  display: flex;
  flex-direction: column;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #aaa;
  border-radius: 5px;
  background-color: #fbfbfb;
  box-shadow: 1px 1px 1px #ddd;
}

.alert-table table td,
.alert-table table th {
  padding: 10px;
}

footer {
  width: 100% !important;
  background-color: #eee;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  overflow: hidden;
  margin: auto;
  align-items: center;
}

.footer-container .contact-info {
  margin: 20px 0px;
  color: rgb(77, 77, 79);
  text-align: left;
}

.footer-container .contact-info a {
  color: rgb(77, 77, 79);
  font-weight: bold;
}

.misc-menu {
  display: inline;
  margin: 20px 0px;
}

.misc-menu ul li {
  display: inline;
  padding-left: 2px;
}

.misc-menu ul li:first-child {
  padding-left: 0;
}

.misc-menu ul li + li::before {
  content: "|";
  padding-right: 2px;
}

.misc-menu ul li a {
  font-weight: bold;
  color: rgb(77, 77, 79);
}

.misc-menu ul li a:hover {
  color: black;
}

.footer-container .search {
  margin: 20px 0;
  display: inline;
}

.navigation {
  display: block;
  padding: 15px 0px;
  float: left;
  width: 100%;
}

div.emp-results,
div.stu-results {
  margin-top: 0;
  margin-bottom: 30px;
}

.emp-results,
.sup-results {
  margin-bottom: 20px;
}

.emp-results-subtable,
.sup-results-subtable {
  /* background: red; */
}

#summer,
#staff {
  scroll-margin-top: -50px;
}

/* @font-face {
  font-family: linecons;
  src: url("//wp.stolaf.edu/wp-content/themes/st-olaf/fonts/linecons/linecons.eot?#iefix") format("embedded-opentype"), url("//wp.stolaf.edu/wp-content/themes/st-olaf/fonts/linecons/linecons.woff") format("woff"), url("//wp.stolaf.edu/wp-content/themes/st-olaf/fonts/linecons/linecons.ttf") format("truetype"), url("//wp.stolaf.edu/wp-content/themes/st-olaf/fonts/linecons/linecons.svg#linecons") format("svg");
  font-weight: normal;
  font-style: normal;
} */

@media (min-width: 1080px) {
  #content .sub-blocks {
    float: right;
  }

  #mobile-logo {
      display: none;
  }

  .mp-menu {
      display: none;
  }

  .mobile-menu {
      display: none;
  }

  .scroller {
      display: none;
  }

  .scroller, .scroller-inner {
      display: none;
  }

  nav {
    display: block;
  }
}

@media (max-width: 1080px) {
  body {
    overflow-x: hidden;
  }

  header {
    padding: 10px 0;
    /* height: 35px; */
  }

  .schedule-table h2 {
    text-align: center;
    top: 50px;
    padding: 15px 0;
  }

  #mobile-menu form {
    display: none;
  }

  .mobile-menu {
    display: inline;
    color: black;
  }

  .mobile-menu i {
    font-size: 30px !important;
  }


  #content .share {
      padding: 0px;
  }

  .slidedeck {
      z-index: 0 !important;
  }

  #wrap {
      overflow: visible !important;
  }

  main {
      padding: 0px;
      min-width: 300px;
  }

  #content {
      float: none;
      width: 900px;
  }

  table tbody {
    overflow-x: auto;
  }

  .news-title {
      margin-left: 10px;
  }

  .entry-title {
      margin-top: 10px;
      margin-left: 10px;
  }

  .entry-content {
      margin: 0px 10px;
  }

  nav {
    display: none;
    z-index: 1000;
    width: 200px;
    min-height: 0;
    height: auto;
    position: absolute;
    top: 50px;
    right: 0px;
    border-top: 1px solid #ddd;
    margin: 0;
  }

  nav li a {
    padding: 12px 15px;
    font-size: 1.25em;
    border-bottom: 1px solid #aaa;
  }

  #navigation {
      display: none;
  }

  .footer-container {
    font-size: 14px;
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-container .contact-info,
  .footer-container .misc-menu,
  .footer-container .search {
    margin: 10px 0;
  }

  .scroller {
      background-color: rgb(208, 144, 22);
      height: 40px;
      width: 100%;
      margin: 0px;
      top: 0px;
      left: 0px;
      position: fixed;
      z-index: 1;
  }

  .scroller-search input[type="text"],
  .blink input[type="text"] {
      float: right;
      margin-top: 3px;
      margin-right: 3px;
      height: 20px;
      padding: 6px 12px;
      font-size: 14px;
      background-color: rgb(255, 255, 255);
      background-image: none;
      border: 1px solid rgb(204, 204, 204);
      border-radius: 5px;
      box-shadow: rgba(0, 0, 0, 0.075) 0px 1px 1px inset;
  }

  #wrap {
      position: relative;
      overflow: hidden;
  }

  .responsive-shell {
      top: 0px;
      left: 0px;
      height: 100%;
  }

}

@media (max-width: 750px) {
  header {
    /* height: 35px; */
  }
  h1 {
    font-size: 1.5em;
  }
  h2 {
    font-size: 1.2em;
  }
  .logo-container a {
    padding-left: 10px;
  }
  /* #mobile-menu {
    padding-right: 10px;
  } */
  #content {
    width: 100%;
    margin: 10px 0;
    padding: 10px 20px;
    /* font-size: 12px; */
  }
  .overview-header {
    flex-direction: column;
    padding-bottom: 15px;
  }
  .alert-table,
  .overview-table {
    font-size: 16px;
    overflow: auto;
  }
  .alert-table tr th,
  .overview-table tr th {
    display: none;
  }
  .overview-table tr td,
  .alert-table tr td {
    display: block;
    border: none;
    padding-top: 2px;
    padding-bottom: 2px;
  }
  .overview-table td:first-child,
  .alert-table td:first-child {
    font-weight: bold;
    padding-top: 8px;
  }
  .emp-results-subtable td:first-child,
  .sup-results-subtable td:first-child {
    font-weight: normal;
  }

  .overview-table.biweekly-staff td:nth-of-type(2)::before,
  .overview-table.old-jobs-stu td:nth-of-type(2)::before,
  .overview-table.future-jobs-stu td:nth-child(2)::before {
    font-weight: bold;
    font-size: 12px;
    color: #4d4d4f;
    content: "Supervisor: ";
    padding-right: 5px;
  }

  .overview-table .exempt-results td:nth-child(2)::before {
    font-weight: bold;
    color: #4d4d4f;
    content: "Supervisor: ";
    padding-right: 5px;
  }

  .overview-table.old-jobs-stu td:nth-of-type(3)::before,
  .overview-table.student-emp td:nth-of-type(3)::before,
  .overview-table.student-sup td:nth-of-type(3)::before,
  .overview-table.future-jobs-stu td:nth-child(3)::before {
    font-weight: bold;
    font-size: 12px;
    color: #4d4d4f;
    content: "Start Date: ";
    padding-right: 5px;
  }
  .overview-table.old-jobs-stu td:nth-of-type(4)::before,
  .overview-table.student-emp td:nth-of-type(4)::before,
  .overview-table.old-jobs-bw td:nth-of-type(4)::before,
  .overview-table.student-sup td:nth-of-type(4)::before,
  .overview-table.future-jobs-stu td:nth-child(4)::before {
    font-weight: bold;
    font-size: 12px;
    color: #4d4d4f;
    content: "End Date: ";
    padding-right: 5px;
  }
  .overview-table.old-jobs-stu td:nth-of-type(5)::before,
  .overview-table.student-sup td:nth-of-type(5)::before,
  .overview-table.student-emp td:nth-of-type(5)::before,
  .overview-table .emp-results-subtable td:nth-child(4)::before,
  .overview-table .sup-results-subtable td:nth-child(4)::before,
  .overview-table.future-jobs-stu td:nth-child(5)::before {
    font-weight: bold;
    font-size: 12px;
    color: #4d4d4f;
    content: "Rate: ";
    padding-right: 5px;
  }
  .overview-table.admin-student td:nth-child(1)::before,
  .alert-table td:nth-child(3)::before {
    font-weight: bold;
    font-size: 12px;
    color: #4d4d4f;
    content: "Period: ";
    padding-right: 5px;
  }
  .alert-table td:nth-child(4)::before,
  .overview-table.cur-cards td:nth-child(2)::before {
    font-weight: bold;
    font-size: 12px;
    color: #4d4d4f;
    content: "Due: ";
    padding-right: 5px;
  }
  .overview-table.admin-student td:nth-child(3)::before,
  .overview-table.cur-cards td:nth-child(4)::before,
  .alert-table td:nth-child(5)::before,
  .overview-table.cur-cards.exempt-list td:nth-child(3)::before {
    font-weight: bold;
    font-size: 12px;
    color: #4d4d4f;
    content: "Status: ";
    padding-right: 5px;
  }
  .alert-table td:nth-child(2)::before,
  .overview-table.student-emp td:nth-child(2)::before,
  .overview-table.student-sup td:nth-child(2)::before,
  .overview-table.biweekly-sup td:nth-child(2)::before {
    font-weight: bold;
    font-size: 12px;
    color: #4d4d4f;
    content: "Employee: ";
    padding-right: 5px;
  }
  .overview-table.student-emp td:nth-child(6)::before,
  .overview-table.biweekly-sup td:nth-child(3)::before {
    font-weight: bold;
    font-size: 12px;
    color: #4d4d4f;
    content: "Current Hours: ";
    padding-right: 5px;
  }
  .overview-table.cur-cards td:nth-child(3)::before,
  .overview-table.prev-cards td:nth-child(2)::before,
  .overview-table.admin-student td:nth-child(2)::before {
    font-weight: bold;
    font-size: 12px;
    color: #4d4d4f;
    content: "Total Hours: ";
    padding-right: 5px;
  }
  .overview-table.student-emp td:nth-child(7)::before,
  .overview-table .sup-results-subtable td:nth-child(3)::before,
  .overview-table .emp-results-subtable td:nth-child(3)::before {
    font-weight: bold;
    font-size: 12px;
    color: #4d4d4f;
    content: "Account: ";
    padding-right: 5px;
  }
  .overview-table tr:not(:last-child),
  .alert-table tr:not(:last-child) {
    border-bottom: 1px solid #aaa;
  }
  .overview-table tr td:last-child,
  .alert-table tr td:last-child {
    padding-bottom: 15px;
  }
  .overview-table tr td:first-child,
  .alert-table tr td:first-child {
    padding-top: 15px;
  }

  /* .sup-results tr th,
  .emp-results tr th {
    border: none;
  } */

  .overview-table .sup-results td:nth-child(2)::before,
  .overview-table .emp-results td:nth-child(2)::before {
    font-weight: bold;
    /* font-size: 12px; */
    color: #4d4d4f;
    content: "StuID: ";
    padding-right: 5px;

  }
  .overview-table .sup-results td:nth-child(3)::before,
  .overview-table .emp-results td:nth-child(3)::before,
  .overview-table .exempt-results td:nth-child(3)::before {
    font-weight: bold;
    /* font-size: 12px; */
    color: #4d4d4f;
    content: "EmpID: ";
    padding-right: 5px;
  }
  .overview-table .emp-results td:nth-child(4)::before {
    font-weight: bold;
    /* font-size: 12px; */
    color: #4d4d4f;
    content: "On Hold?: ";
    padding-right: 5px;
  }
  .overview-table .emp-results td:nth-child(5)::before {
    font-weight: bold;
    /* font-size: 12px; */
    color: #4d4d4f;
    content: "FA Hold?: ";
    padding-right: 5px;
  }
  .overview-table .sup-results td:nth-child(4)::before,
  .overview-table .emp-results td:nth-child(6)::before {
    font-weight: bold;
    /* font-size: 12px; */
    color: #4d4d4f;
    content: "TimePref: ";
    padding-right: 5px;
  }
  .overview-table .sup-results-subtable td:nth-child(2)::before,
  .overview-table .emp-results-subtable td:nth-child(2)::before {
    font-weight: bold;
    font-size: 12px;
    color: #4d4d4f;
    content: "Dates: ";
    padding-right: 5px;
  }
  .overview-table .emp-results-subtable td:nth-child(5)::before,
  .overview-table .sup-results-subtable td:nth-child(5)::before {
    font-weight: bold;
    font-size: 12px;
    color: #4d4d4f;
    content: "Hours: ";
    padding-right: 5px;
  }

  .overview-table .exempt-results td:nth-child(1)::before {
    font-weight: bold;
    /* font-size: 12px; */
    color: #4d4d4f;
    content: "Name: ";
    padding-right: 5px;
  }

  .timecard-container {
    flex-direction: column;
    width: 100%;
  }
  .timecard-container a {
    margin: 10px 0;
    width: auto;
  }
  table.login td {
    display: block;
    margin: 0;
  }
  table.login p {
    margin-bottom: 0;
  }
  table.login input#username,
  table.login input#password {
    margin-bottom: 10px;

  }
  textarea.addedmsg,
  textarea.comments,
  textarea#comments,
  textarea#rejectedmessage,
  input#jobtitle,
  input#onholdmessage {
    max-width: 100%;
  }

  /* tr td.notes-cell {
    display: block;
  } */
}

@media print {
  *, html, body, #content, .overview-table {
    /* height: 100% !important; */
    /* width: 100% !important; */
    overflow-y: visible !important;
    overflow-x: visible !important;
  } 

  #content {
    border-left: none !important;
  }

  .overview-table th,
  .overview-table td {
    font-size: 0.5em !important;
  }
  
  header {
      display: none !important;
  }

  #wrap main .scroller {
      display: none !important;
  }

  .banner-image {
      display: none !important;
  }

  #mobile-logo {
      display: none !important;
  }

  #navigation {
      display: none !important;
  }

  nav {
      display: none !important;
  }

  #stobanner {
      display: none !important;
  }

  footer {
      display: none;
      width: 100% !important;
  }
}