/*BASIS - Styling for all pages*/
* {
  box-sizing: border-box;
}
html {
  font-size: 14px;
}
body {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  color: rgb(100, 30, 30);
}

.content {
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
}

nav {
  display: flex;
  justify-content: space-between;
}

header {
  background-color: rgb(230, 230, 230);
  padding: 20px;
}
main {
  background-color: rgb(100, 100, 100);
  padding: 20px;
}
footer {
  background-color: rgb(230, 230, 230);
  padding: 20px;
}
section {
  background-color: rgb(250, 250, 250);
  padding: 20px;
}

/*Element design*/
h1 {
  color: rgb(206, 3, 3);
}
h3 {
  color: rgb(206, 3, 3);
  font-weight: 300;
}
a {
  color: rgb(206, 30, 30);
  text-decoration: none;
}
a:hover {
  /*background-color: rgb(160,30,30);*/
  color: rgb(219, 81, 81);
  font-weight: lighter;
}

ul {
  list-style: none;
  padding-left: 0em;
}

li {
  display: flex;
  align-items: flex-start;
}

tr {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

textarea {
  white-space: pre-wrap;
}

/*Modal for confirmation of deletion*/
.background-cover {
  opacity: 0;
  display: none;
  z-index: 0;
  position: absolute;
  background-color: rgb(251, 249, 249);
  padding: 2rem;
  border: 2px solid rgb(215, 0, 0);
}
.background-cover.show {
  opacity: 1;
  display: flex;
}

label {
  content: '';
  display: inline-block;
  width: 120px;
  height: 30px;
  margin-right: 10px;
}
input {
  width: 300px;
}
.small {
  width: 80px;
}
select {
  width: 300px;
}

.form_col1 {
  width: 140px;
}
.flash {
  color: green;
  font-weight:bold
}



/* MODAL - STYLING */
.modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  width: 450px;
  padding: 1.3rem;
  min-height: 250px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 15px;
  z-index: 2;
}

.modal .flex {
  display: flex;
  align-items: center;
  justify-content: right;
  padding-right: 1rem;
  padding-top: 1.5rem;
}

.modal input {
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9em;
}

.modal p {
  font-size: 0.9rem;
  color: #777;
  margin: 0.4rem 0 0.2rem;
}

button {
  cursor: pointer;
  border: none;
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.5rem 0rem;
  font-weight: 300;
  background-color: #777;
  color: white;
  border-radius: 5px;
  text-align: center;
  font-size: 1em;
}

.btn-close {
  transform: translate(10px, -20px);
  padding: 0.5rem 0.7rem;
  
  background: #eee;
  border-radius: 50%;
}

.modal-container {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.hidden {
  display: none;
}
#btns-staff {
  display: none;
}
