*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --select-border: #C4C4C4;
  --select-focus: #02FFF5;
  --select-arrow: #02FFF5;
}
body {
  margin: 0;
  scrollbar-gutter: stable both-edges;
}


p {
  margin: 0;
}
h2 a {
  color: #8A8A8A;
  text-decoration: none;
}

header,
main,
footer {
  width: calc(100% - 30px);
  padding: 15px;
  font-family: arial, helvetica, sans-serif;
  font-size: 14px;
  color: #777777;
  display: inline-block;
}
header {
  box-sizing: initial;
  background: #1D1D1D;
}
header img {
  float: left;
}
#main {
  width: calc(100% - 200px);
  height: 30px;
  float: right;
  overflow: hidden;
  color: #02FFF5;
  margin: 0 0 15px 0;
  text-transform: uppercase;
}
#main a {
  color: #02FFF5;
  text-decoration: none;
}
#main ul {
  display: flex;
  width: calc(100% - 30px);
  margin: 0;
  padding: 7px 15px;
  align-items: center;
}
#main li {
  padding: 0 0 0 10px;
  margin: 0 30px 0 0;
}
#main li:first-child {
  list-style-type: none;
  padding: 0;
}
#main li:last-child {
  margin: 0;
}
/*Form stuff*/
#formblock {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 15px 0 0 0;
  overflow: hidden;
}
#formblock2 {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 15px 0 0 0;
}
#formblock3 {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 15px 0 0 0;
  display: flex;
  justify-content: space-between;
}
.formintro {
  width: 100%;
  min-height: 36px;
  margin: 0 0 15px 0;
}
.formrow,
.candidateformrow,
.blockrow,
.formrow3,
.formrow2 {
  width: 100%;
  display: flex;
  min-height: 36px;
  align-items: center;
  margin: 0 0 15px 0;
  justify-content: space-between;
  flex-wrap: wrap;
}
.candidateformrow {
  align-items: flex-start;
}
.candidateformitem {
  width: calc(24% - 20px);
  background: #B3FFF5;
  border-radius: 5px;
  padding: 10px;
  align-self: stretch;
}
.blockrow {
  justify-content: flex-start;
  flex-wrap: nowrap;
}
.formrow2 {
  align-items: flex-start;
  justify-content: flex-start;
}
.formrow3 {
  display: block;
}
.buttonrow {
  width: 100%;
  display: flex;
  min-height: 36px;
  align-items: center;
  margin: 0 0 15px 0;
  flex-direction: row-reverse;
}
.formheader {
  width: 200px;
}
.candidateformheader,
.candidateformfield {
  width: 100%;
}
.candidateformheader {
  font-weight: bold;
}
.formerror {
  width: 150px;
}
.formerror2 {
  width: 100%;
}
.formfield {
  width: calc(100% - 400px);
}
.formfield2 {
  width: calc(100% - 200px);
}
.formfield3 {
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.displayform {
  width: 500px;
}
.activeform {
  width: 300px;
}
.displayform .formfield {
  width: 340px;
}
.displayform .formheader {
  width: 160px;
}
.activeform .formrow .formheader,
.activeform .formrow2 .formheader {
  width: 100px;
}
.activeform .formfield {
  width: 200px;
}
input[type=text],
input[type=password],
textarea {
  background-color: rgba(0, 0, 0, 0.1);
  min-width: 150px;
  border: 1px solid #C4C4C4;
  min-height: 34px;
  width: 100%;
}
.textdisplay {
  background-color: rgba(0, 0, 0, 0.1);
  min-width: 150px;
  border: 1px solid #C4C4C4;
  min-height: 34px;
  width: 100%;
  padding: 8px;
}
textarea {
  min-height: 68px;
}
input[type=text].salary {
  width: 150px;
  float: right;
}
input[type=text].salary2 {
  width: 150px;
  float: left;
}
input[type=text].idate {
  min-width: 0;
  width: 100px;
  float: left;
  margin: 0 0 0 15px;
}
input[type=text].itime {
  min-width: 0;
  width: 50px;
  float: left;
  margin: 0 0 0 15px;
}
input[type=text].ilen {
  min-width: 0;
  width: 50px;
  float: left;
  margin: 0 0 0 5px;
}

.button {
  float: right;
  background-color: #02FFF5;
  color: #FFFFFF;
  border: 0;
  text-transform: uppercase;
  padding: 5px;
  text-decoration: none;
}
.button::after {
  content: "\27A4";
  margin-left: 6px;
}

#formblock table {
  width: 100%;
}
#formblock th {
  background: #8A8A8A;
  color: #FFFFFF;
  text-align: left;
}
#formblock tr:nth-child(even) {
  background: #D9D9D9;
}
#formblock tr:nth-child(odd) {
  background: #8A8A8A;
  color: #FFFFFF;
}
#formblock tr:nth-child(even) a {
  color: #8A8A8A;
  text-decoration: none;
}
#formblock tr:nth-child(odd) a {
  color: #FFFFFF;
  text-decoration: none;
}
.checkbox {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: grid;
  grid-template-columns: 50% 50%;
}
.checkbox li {
  padding: 0 0 10px 0;
}
.rbl {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.rbl li {
  padding: 0 0 10px 0;
  display: flex;
}
.rbl li a {
  float: right;
  background-color: #02FFF5;
  color: #FFFFFF;
  border: 0;
  text-transform: uppercase;
  padding: 5px 25px 5px 5px;
  text-decoration: none;
  min-width: 135px;
  position: relative;
}
.rbl li a::after {
  content: "\27A4";
  position: absolute;
  right: 5px;
  bottom: 5px;
}
select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: transparent;
  border: none;
  padding: 0 1em 0 0;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  z-index: 1;
  outline: none;
}
select::-ms-expand {
  display: none;
}

.select {
  display: grid;
  grid-template-areas: "select";
  align-items: center;
  position: relative;
  min-width: 15ch;
  max-width: 30ch;
  border: 1px solid var(--select-border);
  border-radius: 0.25em;
  min-height: 34px;
  padding: 0 10px;
  font-size: 14px;
  cursor: pointer;
  line-height: 1.1;
  background-color: #E5E5E5;
}
.select::after {
  grid-area: select;
  background-color: #E5E5E5;
}
.select select {
  grid-area: select;
}
.select:not(.select--multiple)::after {
  content: "";
  justify-self: end;
  width: 0.8em;
  height: 0.5em;
  background-color: var(--select-arrow);
  -webkit-clip-path: polygon(100% 0%, 0 0%, 50% 100%);
          clip-path: polygon(100% 0%, 0 0%, 50% 100%);
}

select:focus-within {
  position: absolute;
  top: -1px;
  left: -10px;
  right: -20px;
  bottom: -1px;
  padding: 0 10px;
  border-radius: inherit;
  background-color: #E5E5E5;
  min-height: 34px;
}

.error {
  color: #02FFF5;
}

/* To Do List */
#chartblock {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
#todolist {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.todocol {
  width: 30%
}
.todolistlist {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.todolistlist li {
  padding: 15px;
}
.todolistlist li:nth-child(even) {
  background: #D9D9D9;
}
.todolistlist li:nth-child(odd) {
  background: #8A8A8A;
  color: #FFFFFF;
}
.todolistlist li:nth-child(even) a {
  color: #8A8A8A;
  text-decoration: none;
}
.todolistlist li:nth-child(odd) a {
  color: #FFFFFF;
  text-decoration: none;
}
.todolistlist li:nth-child(even) a.overdue,
.todolistlist li:nth-child(odd) a.overdue {
  color: #FF0000;
  text-decoration: none;
}
.todolistlist li.overdue2 {
  background-color: #FF00FF;
}

/* vac list */
#vacblock {
  width: 100%;
  margin: 20px 0 0 0;
}
#vacblock ul {
  margin: 15px 0 0 0;
  padding: 0;
  list-style-type: none;
}
#vacblock ul li {
  margin: 0 15px 0 0;
  display: inline-block;
}
#vacblock a {
  font-weight: bold;
  font-size: 16px;
}
.vacrow,
.vacrowalt {
  width: calc(100% - 30px);
  padding: 15px;
  background: #D9D9D9;
}
.vacrow {
  background: #8A8A8A;
  color: #FFFFFF;
}
.vacrow a {
  color: #FFFFFF;
}
.vacrowalt a {
  color: #8A8A8A;
}
.vacstatblock {
  width: 350px;
  float: right;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.blob2,
.blob {
  float: right;
  color: #FFFFFF;
  padding: 5px;
  min-width: 20px;
  font-size: 12px;
  text-align: center;
  margin: 0 0 0 5px;
  box-sizing: revert;
}
.blob2 {
  width: 50px;
}
.red {
  background: #CE1029;
}
.amber {
  background: #FF9C00;
}
.green {
  background: #31BD18;
}
.statblock {
  width: 100px;
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 5px 0;
}
@media screen and (min-width:950px) and (max-width:1100px) {
  #main ul {
    width: calc(100% - 10px);
    padding: 7px 5px;
  }
  #main li {
    padding: 0;
    margin: 0 25px 0 0;
  }
  #sub ul {
    width: calc(100% - 10px);
    padding: 5px;
    font-size: 12px;
  }
  #sub li {
    padding: 0 0 0 10px;
    margin: 0 20px 0 0;
  }
}
