/* Box */
.box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.box-vertical {
  flex-direction: column;
}

.box-small {
  padding: 0.25em;
}

.box-medium {
  padding: 1em;
}

.box-large {
  padding: 3em;
}

.box-full {
  width: 100%;
}

.box-nocenter {
  align-items: flex-start;
  justify-content: flex-start;
}

/* Banner */
.banner {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  color: var(--text, black);
  background: var(--main, white);
}

.banner-title {
  padding-bottom: 0px;
  font-size: 1.6em;
  font-weight: bold;
}
.banner-subtitle {
  padding-top: 0px;
  font-size: 0.8em;
}

.banner a {
  color: var(--text);
  text-decoration: none;
}

/* Button */
.btn {
  padding: 0.5em 1em;
  color: var(--text, black);
  background: var(--main, white);
  border: 1px solid var(--secondary, lightgray);
  border-radius: 8px;
  box-shadow: -1px 2px var(--tertiary, darkgray);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--main, white);
  background: var(--bg-color, black);
}

.btn:hover {
  /* background: var(--tertiary, darkgray); */
  cursor: pointer;
  box-shadow: -2px 2.5px var(--tertiary, darkgray);
  transform: translate(1px, -1.5px);
}
.btn:active {
  box-shadow: 0px 0px;
  transform: translate(0px, 0px);
}

.btn-plain {
  border: 1px solid var(--secondary, lightgray);
  box-shadow: 0px 0px;
}
.btn-plain:hover {
  box-shadow: 0px 0px;
  transform: translate(0px, 0px);
}

.btn:disabled {
  color: gray;
  background: lightgray;
  border: 1px solid darkgray;
  box-shadow: 0px 0px;
  pointer-events: none;
}

.btn-small {
  width: 75px;
  height: 25px;
  font-size: 0.6em;
  font-weight: bold;
}

/* Card */
.card {
  display: flex;
  /* flex: 0 1 390px; Max width of 390px, doesn't grow only shrinks */
  max-width: 390px;
  min-height: 200px;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--secondary);
  box-shadow: -3px 5px var(--main);
  padding: 1em;
  margin: 1em;
  text-align: center;
  border-radius: 8px;
}

.card-wide {
  max-width: none;
  width: 50%;
}

.card-xwide {
  max-width: none;
  width: 75%;
}

.card-hov:hover {
  box-shadow: -5px 8px var(--main);
  transform: translate(3px, -3px);
}

.card-header {
  display: flex;
  width: 60%;
  align-content: center;
  justify-content: center;
  padding: 0px 2em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid var(--main);
}

.card-footer {
  width: 90%;
  padding-top: 1em;
  /* border-top: 1px solid var(--secondary); */
}

.card-plain {
  box-shadow: 0px 0px;
}
.card-plain:hover {
  box-shadow: 0px 0px;
  transform: none;
}

/* Profile Picture */
.profile {
  height: 50px;
  width: 50px;
}

.profile-round {
  border-radius: 100%;
}

.profile-large {
  height: 100px;
  width: 100px;
}

.profile-xlarge {
  height: 200px;
  width: 200px;
}

.profile-xxlarge {
  height: 300px;
  width: 300px;
}

/* Tag */
.tag {
  font-size: 12px;
  padding: 0em 1em;
  border: 1px solid var(--main);
  border-radius: 4px;
}

/* Table */
.table {
  width: 100%;
  border: 1px solid var(--secondary);
  border-collapse: collapse;
}

.table th,td {
  border-bottom: 1px solid var(--secondary);
  padding: 0.5em 1.5em;
}

.table-clickable {
  cursor: pointer;
}
.table-clickable:hover {
  background: darkgray;
}

.table-clear {
  border: 0px;
}
.table-clear th,td {
  border: 0px;
  padding: 0px;
  padding-bottom: 0.5em;
}
.table-clear-label {
  padding-right: 1em;
  text-align: right;
}
.table-clear-input {
  width: 66%;
}

.input {
  width: 50%;
  padding: 1.1em;
  border-radius: 5px;
  border: 1px solid var(--secondary);
}

.input-long {
  width: 100%;
}

.input:focus {
  outline: none !important;
  border: 2px solid var(--main);
  /* cursor: pointer; */
  box-shadow: -2px 2.5px var(--tertiary, darkgray);
  transform: translate(1px, -1.5px);
}

.overlay {
  display: none;
  position: fixed;
  left: auto;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  color: var(--text);
  background-color: rgba(0, 0, 0, 0.4);
}
.overlay-content {
  background-color: var(--main);
}

@keyframes fadein {
  from {opacity: 0%}
  to {opacity: 100%;}
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 60px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rbga(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  background-color: #f1f1f1;
  opacity: 0%;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {
  background-color: #ddd;
}