@font-face {
  font-family: 'abeezee';
  src: url('/files/fonts/abeezee_cem.ttf') format('truetype');
}

@font-face {
  font-family: 'anton';
  src: url('/files/fonts/anton.ttf') format('truetype');
}

* {
  box-sizing: border-box;
}

html {
  font-size: 3vh;
}

body {
  font-family: 'abeezee';
  background-color: #fff5cf;
}

button {
  font-size: 1rem;
  background-color: #ffffff;
  box-shadow: none;
  border: 0;
  cursor: pointer;
}

button:disabled {
  opacity: 0.25;
  cursor: auto;
}

button:not(:disabled):hover {
  background-color: #fffe58;
}

.container {
  background-color: #91c480;
  height: 100vh;
  margin: auto;
  width: calc(4 / 3 * 100vh);
  border-radius: 1.5vh;
  padding: 3vh;
}

.container-inner {
  background-color: #ffffff;
  border-radius: 1.5vh;
  height: 85%;
  width: 100%;
  display: flex;
}

.stimulus {
  width: 80%;
  padding: 1.5vh;
}

.actions {
  flex: 1;
  padding: 3vh;
}

.actions-inner {
  background-color: #fefcf0;
  border: 1px solid #d6d4d5;
  width: 100%;
  height: 100%;
  padding: 1vh;
  position: relative;
}

.actions-inner button {
  border: 1px solid #d6d4d5;
  width: 100%;
  font-size: 0.8rem;
  padding: 1vh 0.5vh;
  margin-bottom: 1vh;
}

.footer {
  border-radius: 1.5vh;
  height: calc(15% - 3vh);
  margin-top: 3vh;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.copyright-footer {
  position: fixed;
  bottom: 0.2em;
  text-align: center;
  left: 0;
  right: 0;
  font-size: 0.6rem;
}

.prompt {
  width: 80%;
  background-color: #ffffff;
  border-radius: 1.5vh;
  display: flex;
  align-items: center;
  padding: 1.5vh;
}

.btn-exit {
  border-radius: 1.5vh;
  width: calc(20% - 3vh);
}

.item-id {
  font-size: 0.5rem;
  position: absolute;
  left: 1vh;
  right: 1vh;
  bottom: 1vh;
  text-align: right;
}

.container-inner-full {
  height: 100%;
  flex-direction: column;
  padding: 2vh;
  position: relative;
}

.auth-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 3vh 0;
  font-size: 0.7rem;
  gap: 0.6rem;
}

.auth-header-cell-left img {
  height: 7vh;
}

.auth-header-cell-right {
  text-align: center;
  display: flex;
}

.auth-header-cell-right img {
  height: 5vh;
  margin: auto;
}

.auth-content {
  background-position: left;
  background-repeat: no-repeat;
  background-size: contain;
  flex: 1;
  width: 100%;
  position: relative;
}

.icon-glass {
  position: absolute;
  right: 0.5vh;
  top: 1.2vh;;
}

input.search {
  height: 100%;
}

.auth-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 2vh 0;
}

.auth-actions-button-container {
  width: 20%;
}

.auth-actions-prompt {
  flex: 1;
  text-align: center;
  line-height: 7vh;
}

.auth-footer {
  font-size: 0.6rem;
}

.auth-actions button {
  width: 100%;
  font-size: 0.8rem;
  padding: 2vh 0.5vh;
  border-radius: 1.5vh;
  border: 0.5vh solid #91c480;
  position: relative;
}

.auth-actions-button-container-left button::after {
  content: "←";
  position: absolute;
  left: 2vh;
}

.auth-actions-button-container-right button::after {
  content: "→";
  position: absolute;
  right: 2vh;
}

input {
  font-family: 'abeezee';
  box-shadow: none;
  border: 1px solid #91c480;
  width: 100%;
  font-size: 0.7rem;
  padding: 1vh 5vh 1vh 0.5vh;
  border-radius: 1vh;
  
}

input [type=checkbox] {
  margin: auto;
  transform: scale(1.2);
}

select {
  font-family: 'abeezee';
  box-shadow: none;
  border: 1px solid #91c480;
  width: 100%;
  font-size: 0.7rem;
  padding: 1vh 0.5vh;
  border-radius: 1vh;
  cursor: pointer;
}

table {
  width: 100%;
  max-height: 100%;
  border-spacing: 0;
}

td, th {
  border: #cbcbcb 0.15vh solid;
  text-align: left;
  font-weight: normal;
  padding: 1vh;
}

th {
  background-color: #c1c1c1;
}

tr:first-child th:first-child {
  border-top-left-radius: 1.5vh;
}

tr:first-child th:last-child {
  border-top-right-radius: 1.5vh;
}

tr:last-child td:first-child {
  border-bottom-left-radius: 1.5vh;
}

tr:last-child td:last-child {
  border-bottom-right-radius: 1.5vh;
}

tr:nth-child(even) {
  background-color: #f5f5f5;
}

tr:hover {
  background-color: #daf1ff;
  cursor: pointer;
}

tr.selected {
  background-color: #9ad8ff;
  color: white;
}

.form-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2vh 5vh 2vh 0;
}

.form-field label {
  width: 40vh;
}

.popeye-modal {
  width: 120vh !important;
  border-radius: 1.5vh !important;
  padding: 3vh 5vh !important;
}

.popeye-close-modal {
  display: none;
}

nav {
  display: flex;
}

.location {
  flex: 1;
  text-align: center;
  cursor: pointer;
  border: 0.5vh solid #91c480;
  margin: 0 -0.25vh;
}

.location:first-child {
  border-radius: 1.5vh 0 0 1.5vh;
}

.location:last-child {
  border-radius: 0 1.5vh 1.5vh 0;
}

.location.active {
  cursor: auto;
  background-color: #fffe58;
}

.location:hover {
  background-color: #fffe58;
}