:root {
  --main-bg-color: #F6F2EF;
  --main-nav-color: #23363C;
  --main-button-color: #E57D5F;
  --notify-color: #FFD13B;
  --table-color: #ffd13b00;
  --row-border-color: #555555;
  --border-highlight-color: #919191;
}

.aim-bg {
    background-color: var(--main-nav-color);
}

.brand {
    color: var(--main-bg-color);
    font-size: 24px;
    line-height: 31px;
}

.aim-box {
    display: flex;
    height: 85vh;
    width: 100%;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.aim-box-content {
    display: flex;
    flex-grow: 2;
    flex-direction: column;
    height: 100%;
    min-height: calc(100vh - 200px);
}

.aim-box-sidebar {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    padding: 0 20px 0 0;
}

.aim-button-group {
    display: flex;
}

.aim-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--main-button-color);
    color: white;
    padding: 10px 20px 10px 20px;
    height: 32px;
    border: none;
    white-space: nowrap;
    justify-content: center;
    flex: 1;
    flex-basis: auto;
    border-radius: 2px;
}

.aim-button-disabled {
    display: inline-flex;
    align-items: center;
    background-color: var(--main-button-color);
    color: white;
    padding: 10px 20px 10px 20px;
    height: 32px;
    border: none;
    white-space: nowrap;
    justify-content: center;
    flex: 1;
    flex-basis: auto;
    opacity: 0.5;
}

.aim-button-disabled {
    pointer-events: none;
}

.aim-button-a {
    text-decoration: none;
    color: white;
}

.aim-button-a:link {
    text-decoration: none;
    color: white;
}

.aim-button-a:hover {
    text-decoration: none;
    color: white;
}

.aim-button:hover {
    background-color: var(--main-nav-color);
}

.aim-dropdown {
    background-color: white;
    border: 1px solid var(--row-border-color);
    color: black;
    transition: 0.2s;
}

.aim-dropdown:hover {
    background-color: powderblue;
}

.big-button {
    height: 58px;
    min-width: 58px;
}

.bottom-border {
    border-bottom: 1px solid var(--row-border-color);
}

.vertical-padding {
    padding: 5px 0px;
}

button {
    border: none;
    background: none;
}

.flex-right {
    margin-left: auto;
}

.aim-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 100%;
    width: 80px;
    position: fixed;
    z-index: 1;
    top: 0;
    background-color: var(--main-nav-color);
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;
    font-size: 1.0em;
}

.aim-menu-items {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.aim-menu-item {
    display: flex;
    flex-direction: column;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    margin-bottom: 20px;
}

.aim-menu-item:hover {
    color: var(--notify-color);
}

.aim-menu-icon {
    display: flex !important;
    justify-content: center;
    color: inherit;
    margin-bottom: 4px;
}

.aim-menu-text {
    text-align: center;
    font-size: 9px;
}

.aim-menu-toggle {
    display: flex;
    justify-content: center;
    width: 20%;
    position: relative;
    cursor: pointer;
}

.aim-list {
    margin-top: 50px;
    display: block;
}

.aim-table {
    background-color: var(--table-color);
    width: 100%;
}

.aim-table-clickable tr:hover {
    background-color: #ffde74;
}

.aim-table-title {
    display: block;
    font-size: 1.3em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.aim-table-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 7px;
    margin-bottom: 10px;
}

.aim-table-container {
    width: inherit;
}

.aim-table-container > table {
    padding-right: 5px;
}

.aim-image {
    width: 100%;
    height: 100%;
}

.aim-checkbox {
    display: grid;
    grid-gap: 0.5em;
    color: var(--color);
}

.aim-checkbox__control {
  display: inline-grid;
  width: 1.2em;
  height: 1.2em;
  border: 1px solid var(--row-border-color);
}

.aim-checkbox__control:hover {
    border: 1px solid var(--border-highlight-color);
}

.aim-checkbox__control svg {
  transition: transform 0.1s ease-in 25ms;
  transform-origin: bottom left;
}

.active-blue {
    color: #2a7fff;
}

.checkmark-visible {
  transform: scale(1);
}

.checkmark-hidden {
  transform: scale(0);
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.centered-text {
    text-align: center;
}

.clickable-text {
    color: var(--main-button-color);
}

.editor-button {
    height: 44px;
    min-width: 44px;
    font-family: verdana;
}

.icon-button-span {
    margin-left: 12px;
}

.icon-highlight:hover {
    color: var(--border-highlight-color);
}

.login_container {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.logged-in-container {
    margin-top: 50px;
    margin-left: 66px;
    margin-right: 50px;
    position: absolute;
    display: flex;
    flex-direction: column;
    width: calc(100vw - 180px);
    left: 80px;
    transition: 0.5s;
}

.login-table {
    text-align: right;
}

.flex-break {
    flex-basis: 100%;
    height: 0;
    margin-top: 5px;
    margin-bottom: 5px;
}

.float-right {
    float: right;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    z-index: 2;
}

.navbar-item {
    min-width: 140px;
    justify-content: flex-end;
}

.noselect {
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.mb20 {
    margin-bottom: 20px;
}

.mt20 {
    margin-top: 20px;
}

.ml5 {
    margin-left: 5px;
}

.min-width500 {
    min-width: 500px;
}

.page-control-input {
    position: absolute;
    width: 53px;
    left: 6px;
    text-align: right;
    opacity: 0;
}

.page-control-input:focus {
    opacity: 1;
}

.page-controls i{
    color: inherit;
}

.page-controls {
    display: flex;
    flex-direction: column;
    background-color: white;
}

.page-controls-wrapper {
    display: flex;
    flex-direction: column;
    right: 0px;
    bottom: 0px;
    border: 1px solid var(--row-border-color);
    min-width: 135px;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.page-button-wrapper {
    display: flex;
    justify-content: space-evenly;
}

.page-button {
    background-color: white;
    color: black;
}

.page-button:hover {
    color: var(--main-button-color);
}

.page-button.up {
    border-bottom: none;
}

.page-button.down {
    border-top: none;
}

.page-indicator {
    min-width: 53px;
    text-align: right;
    padding-right: 7px;
}

.page-label {
    display: flex;
    color: black;
    padding: 5px 5px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-counter {
    display: flex;
    color: black;
    padding: 5px 5px;
    align-items: center;
    width: 100%;
}

.count-color {
    background-color: var(--notify-color);
}

.disabled-color {
    background-color: lightgray;
    color: gray;
}

.page-color {
    background-color: white;
}

.image-background {
    background-color: darkgray;
}

.small-text {
    font-size: small;
}

.side-margin-10 {
    margin: 0 10px;
}

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

.top-margin-20 {
    margin-top: 20px;
}

.icon-button-right {
    padding-right: 12px;
}

.image-container {
    position: relative;
    display: flex;
    margin-left: 30px;
    height: 100%;
}

.image-content {
    position: relative;
    height: 95%;
}

.image-controls {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    float: right;
}

.horizontal-line {
    height: 0px;
    width: 100%;
    border: none;
    border-bottom: 2px solid black;
}

.selected-row {
    /*border: 1px dashed blue;*/
    /*background-color: #fcd13b !important;*/
    /*background-color: #9fc0e1 !important;*/
    background-color: rgba(159, 192, 225, 0.5) !important;
    /*box-shadow:0px 0px 0px 2px blue inset;*/

}


.selected-row-input {
    /*border: 1px dashed blue;*/
    /*background-color: #fcd13b !important;*/
    /*background-color: #9fc0e1 !important;*/
    background-color: rgba(159, 192, 225, 0.05) !important;
    /*box-shadow:0px 0px 0px 2px blue inset;*/

}

.fa-question-circle:hover {
    color: var(--main-button-color);
}

.tooltip-container {
    position: relative;
}

.tooltip-box {
    position: absolute;
    width: 370px;
    background: var(--row-border-color);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    bottom: 0px;
    left: -390px;
    display: none;
}

.tooltip-box.visible {
    display: block;
}

.highlighted-row {
    background-color: #fcd13b !important;
}

.highlighted-and-selected-row {
    /*background-color: rgba(175, 195, 197, 0.50) !important;*/
    background-color: rgba(221, 203, 114, 0.83) !important;
}

.highlighted-and-selected-row-input {
    /*background-color: rgba(175, 195, 197, 0.50) !important;*/
    background-color: rgba(221, 203, 114, 0.083) !important;
}

form {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-gap: 5px;
    margin-top: 26px;
}

.align-right {
    text-align: right;
}

body, .modal-body {
    background-color: var(--main-bg-color);
    font-family: 'Lexend Tera';
}

table a {
    text-decoration: none;
    color: inherit;
}

table a:link {
    text-decoration: none;
    font-weight: bold;
    /*color: white;*/
}

table a:hover {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

table {
    word-wrap: break-word;
}

table:last-child {
    width: 100%;
    font-size: 1em;
}

table.frontpage-table td {
    height: 46px;
    font-family: "Karla", Sans-serif;
}

td {
    padding: 5px;
}

tr {
    height: 16px;
}

th {
    font-weight: normal;
    user-select: none;
    white-space: nowrap;
}

table.frontpage-table td:first-child {
    padding-left: 36px;
}

table.frontpage-table th:first-child {
    padding-left: 36px;
}

thead {
    border-bottom: 1px solid var(--row-border-color);
}

tbody {
    font-family: "Karla", Sans-serif;
}

table.editor-table {
    border-collapse: separate;
    border-spacing: 0 5px;
    height: 100%;
}

table.editor-table thead th {
    padding: 0 10px;
}

table.editor-table tbody tr {
    background-color: white;
}

table.editor-table tbody td {
    border: 1px solid var(--row-border-color);
    border-width: 1px 0;
    padding: 0 10px;
}

table.editor-table tbody td:first-child {
    border-left-width: 1px;
    padding: 0 7px;
}

table.editor-table tbody td:last-child {
    border-right-width: 1px;
}

table.user-table {
    max-width: fit-content;
}

table.user-table td {
    min-width: 200px;
}

table.user-table th:last-child {
    text-align: end;
}

table.user-table td:last-child {
    text-align: end;
}

.numeric-cell {
    text-align: center;
}

.erin-inputfield{
    border: none;
    outline: none;
    height: 100%;
}

.erin-inputfield:focus {
    border: none;
    outline: none;
    background-color: #9fc0e1 !important;
}

td:focus-within.select-highlight {
    box-sizing: border-box;
    background-color: #fcd13b;
    transform: scale(1, 1.1);
}

.vertical-center {
    display: flex;
    align-items: center;
}

.align-right {
    text-align: right;
}

.progressbar {
    width: 85%;
    height: 45%;
    border-style: solid;
    border-width: 2px;
    background-color: var(--notify-color);
}

.progress {
    height: 100%;
    background-color: var(--main-button-color);
      border-radius: 0px;
}

.tbody .td {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    word-break: break-all;
    border: 1px solid var(--row-border-color);
    border-width: 1px 0;
    background-color: white;
}

.tbody {
    overflow-x: hidden;
}

.tr {
    margin:5px 0 0 5px;
}

/*.entity-tr {*/
/*}*/

.tr > :nth-child(1) {
    border-color: var(--main-bg-color);
    background-color: var(--main-bg-color) !important;
}

.tr > :nth-child(2) {
    border-left-width: 1px;
    margin-left: 5px;
    padding-left: 5px;
}

.tr > :last-child {
    border-right-width: 1px;
    margin-right: 10px;

}

.selection-table {
    border-collapse: separate;
    border-spacing: 0 5px;
    height: 100%;
}

.thead .th {
    padding: 0 10px;
}

.thead :first-child {
    padding: 0 23px;
}


.rowgroup {
    font-family: "Karla", Sans-serif;
}


.big-modal { 
    max-width: 50% !important;
}

.modal-container {
    height: 90vh;
}

.small-button {
    width: 20px;
    border-radius: 6px;
}

/*  SPINNER */

.spinner-parent {
  margin: auto;
}

.lds-spinner {
  vertical-align: middle;
  color: official;
  display: block;
  position: relative;
  width: 80px;
  height: 80px;
  margin: auto;
}

.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #000000;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}





