@import './default-base.css';

#content-container {
  position: absolute;
  top: var(--nav-top-height);
  right: 0;
  left: 0;
  bottom: 0;
  overflow: auto;
}

table a {
  text-decoration: underline;
}

.underline {
  text-decoration: underline;
}

.holder {
  display: flex;
  min-height: 100%;
  align-self: stretch;
}

.page-title {
  background-color: var(--light-grey);
  padding: 10px var(--padding);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.page-title:empty {
  display: none;
}

.flex-spaced-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-spaced-between-start {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.padded {
  padding: 0 var(--padding);
}

.padded-all-half {
  padding: var(--half-padding);
}

.padded-all {
  padding: var(--padding);
}

.white-button,
a.white-button,
.blue-button,
a.blue-button,
.green-button,
a.green-button,
.red-button,
a.red-button,
.transparent-button,
a.transparent-button {
  padding: 0 2em;
  border-radius: var(--radius);
  background-color: var(--white);
  font-size: 1.1em;
  height: 2.6em;
  line-height: 2.5em;
  cursor: pointer;
  display: inline-block;
  border: 1px solid var(--grey);
  align-items: flex-start;
  transition: background-color var(--transition) ease, color var(--transition) ease;
}

.white-button:hover {
  background-color: var(--lighter-blue);
  border-color: var(--lighter-blue);
  color: var(--white);
}

.green-button,
a.green-button {
  background-color: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.green-button:hover,
a.green-button:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
}

.blue-button,
a.blue-button {
  background-color: var(--lighter-blue);
  border-color: var(--lighter-blue);
  color: var(--white);
}

.red-button,
a.red-button {
  background-color: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.red-button:hover,
a.red-button:hover {
  background-color: var(--dark-red);
  border-color: var(--dark-red);
}

.blue-button:hover,
a.blue-button:hover {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
}

.transparent-button,
a.transparent-button {
  background-color: initial;
}

.transparent-button:hover,
a.transparent-button:hover {
  border-color: var(--lighter-blue);
  color: var(--lighter-blue);
}

.space-fit-vertical-column {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  flex-basis: 30%;
}

.fit-horizontal {
  flex: 1;
}

.action-buttons-wrapper {
  display: inline-flex;
  margin-left: auto;
  justify-content: flex-end;
}

.action-buttons-wrapper.wide {
  width: 22.6em;
}

.action-buttons-wrapper button,
.action-buttons-wrapper a {
  margin-left: 10px;
  align-self: center;
  white-space: nowrap;
}

.full-width {
  width: 100%;
}

.three-quarter-width {
  width: 75%;
}

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

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

.uppercase-text {
  text-transform: uppercase;
}

.capitalize-text {
  text-transform: capitalize;
}

.lowercase-text {
  text-transform: lowercase;
}

input[type='submit']:disabled,
input[type='button']:disabled,
button:disabled,
a.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bold {
  font-weight: 900;
}

.new-tab {
  background: url('/img/default/new-tab.svg') center no-repeat;
  padding: 0.37em;
  margin: 5px;
  display: inline;
}

.bg-even-odd:nth-child(even) {
  background-color: var(--light-grey);
}

.nowrap {
  white-space: nowrap;
}

.dragable-element {
  cursor: move;
}

.dragable-element.over {
  border-top: 5px dashed rgb(250, 62, 62);
  background-color: rgb(248, 172, 172);
}

.dragable-element.moving {
  opacity: 0.5;
}

.text-lighter-blue {
  color: var(--lighter-blue);
}

.read-only-input-table .input,
.read-only-input-table input {
  width: 100%;
  min-width: 100%;
  border: initial;
}

.read-only-input-table .input {
  pointer-events: none;
}

.warned-table,
.warned-table * {
  background-color: bisque;
}

.page-title h1 {
  display: inline;
}

.page-title h1 a[href] {
  color: var(--dark-green);
}

.page-title h1:not(:first-child)::before {
  content: "\279C";
  display: inline-block;
  font-size: 16px;
  text-align: center;
  width: 35px;
}

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

.readonly-select {
  pointer-events: none;
  color: #999;
}

.schedule-short-input {
  flex-grow: 0;
}

.warn-text-underlined {
  background-color: bisque;
  text-decoration: underline;
}
