/****************************************************************
*
*   lessc style.less style.css
*
*   https://designschool.canva.com/blog/100-color-combinations/
*
*/
body {
  padding: 0;
  margin: 0;
  font-size: 100%;
  font-family: 'PT Sans', sans-serif;
  background-color: #f0f0f0;
}

.container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 60% 40%;
  gap: 10px;
  min-height: calc(100vh - 150px);
}

p {
  margin: 0.5em 0;
}

hr {
  background-color: #999;
  border: 0 none;
  color: #999;
  height: 1px;
  margin: 1.0em 0;
  width: 100%;
}

.title-home {
  box-sizing: border-box;
  margin: 0 auto;
  padding: 45px 0 50px 0;
  width: 100%;
  color: #93328e;
}

.title-home h1 {
  margin: 0;
  padding: 0;
  font-family: 'Comfortaa', cursive;
  font-weight: bold;
  font-size: 300%;
  text-align: center;
}

.title-home h3 {
  margin: 0;
  padding: 17px 0 0 0;
  font-size: 150%;
  font-weight: normal;
  text-align: center;
}

h3.page-title {
  margin: 0 0 1.5em 0;
  padding: 0.25em 0;
  font-size: 150%;
  font-weight: bold;
  text-align: center;
  background-color: #096EB0;
  color: white;
}

table {
  border-collapse: collapse;
  width: 100%;
  /*font-size: 0.9em;*/
}

thead th {
  background-color: #e0e0e0;
  text-align: left;
  padding: 8px;
  border-bottom: 2px solid #999;
  font-weight: bold;
  position: sticky;
  top: 0;
}

tbody td {
  border-bottom: 1px solid #ddd;
  padding: 6px 8px;
}

tbody tr:hover {
  background-color: #f0f0f0;
}

thead th {
  cursor: pointer;
  user-select: none;
}

thead th:hover {
  background-color: #d0d0d0;
}

thead th.sortable::after {
  content: ' ↕';
  font-size: 0.8em;
}

thead th.sort-asc::after {
  content: ' ↑';
}

thead th.sort-desc::after {
  content: ' ↓';
}

/* Apply this to the <th> or <td> of the narrow column */
.column-shrink {
  width: 1%;
  white-space: nowrap;
  /* Prevents text from wrapping to a second line */
}

.column-date {
  width: 145px;
  white-space: nowrap;
}

.add-button-hidden {
  display: none !important;
}

tbody tr.selected {
  background-color: #cce5ff;
}

tbody tr.placeholder {
  background-color: #ffffcc;
  font-style: italic;
}

.flash-message {
  box-sizing: border-box;
  width: 100%;
  color: white;
  padding: 0.5em;
  margin: 0.25em auto;
  font-size: 1.25em;
  text-align: center;
  background-color: #138d90;
  border-radius: 0;
}

.error {
  background-color: #fd3c3c;
}

.success {
  background-color: #ffb74c;
}

.t-form {
  color: #333;
}

.t-form label {
  color: #096EB0;
}

.t-form input[type=text],
.t-form input[type=password],
.t-form select {
  box-sizing: border-box;
  border: 1px solid #ddd;
  padding: 0.25em;
  font-size: 1.25em;
  width: 100%;
  color: #333;
  background-color: white;
  border-radius: 5px;
}

.t-form input[type=submit],
.t-form input[type=button] {
  box-sizing: border-box;
  border: 1px solid #2980b9;
  padding: 0.25rem 1rem;
  font-size: 1.25rem;
  /*width: 100%;*/
  border-radius: 5px;
  cursor: pointer;
  color: #2980b9;
  background-color: #f0f0f0;
}

.t-form input[type=submit]:hover,
.t-form input[type=button]:hover {
  background-color: #2980b9;
  color: white;
}

.t-form input[type=submit].del-button,
.t-form input[type=button].del-button {
  border: 1px solid #fd3c3c;
  color: #fd3c3c;
}

.t-form input[type=submit].del-button:hover,
.t-form input[type=button].del-button:hover {
  background-color: #fd3c3c;
  color: white;
}

.btn {
  box-sizing: border-box;
  border: 1px solid #2980b9;
  padding: 0.25rem 1rem;
  font-size: 1.25rem;
  border-radius: 5px;
  cursor: pointer;
  color: #2980b9;
  background-color: #f0f0f0;
}

.btn:hover {
  background-color: #2980b9;
  color: white;
}

.code {
  font-family: monospace;
  background-color: white;
  padding: 1em;
}

input[type=button].blue-btn {
  border: 1px solid #2980b9;
  padding: 0.25em;
  font-size: 1.25em;
  border-radius: 5px;
  cursor: pointer;
  color: #2980b9;
  background-color: #f0f0f0;
}

input[type=button].blue-btn:hover {
  background-color: #2980b9;
  color: white;
}

.sep__0_5 {
  height: 0.5em;
}


/**************************************************
                   nav
**************************************************/
nav {
  font-family: 'PT Sans', sans-serif;
  font-size: 100%;
}

.hover-transition {
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.nav-main {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 50px;
  background-color: #fff;
  /*border-bottom: 1px solid #ddd;*/
}

.nav-main li {
  list-style-type: none;
}

a {
  /*text-decoration: none;*/
  color: #84329B;
}

a:hover {
  text-decoration: underline;
}

.menu-item {
  margin: 0;
  padding: 0;
  text-align: left;
  color: #2980b9;
  background-color: white;
  display: block;
  float: left;
  cursor: pointer;
  /*border-bottom: 1px solid #ddd;*/
}

.menu-item a {
  box-sizing: border-box;
  margin: 0 0 0 0;
  padding: 15px 13px 0 13px;
  height: 50px;
  display: block;
  color: #2980b9;
  background-color: rgba(255, 255, 255, 0);
  text-decoration: none;
}

.menu-item a:hover {
  box-shadow: inset 0 0 5px rgba(41, 128, 185, 0.5);
}

.menu-item:hover .sub-menu {
  visibility: visible;
}

.active {
  border-bottom: 1px solid #2980b9;
}

.sub-menu {
  margin: 0 0 0 0;
  padding: 0;
  position: absolute;
  text-align: left;
  color: #2980b9;
  background-color: white;
  visibility: hidden;
  font-size: 100%;
  border: 1px solid #2980b9;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1), -2px 2px 2px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.sub-menu a {
  margin: 0;
  padding: 0.5em 13px;
  height: auto;
  display: block;
  color: #2980b9;
  background-color: rgba(255, 255, 255, 0);
  text-decoration: none;
  background-color: white;
}

.sub-menu a:hover {
  box-shadow: inset 0 0 5px rgba(41, 128, 185, 0.5);
}

.menu-item-right {
  margin-right: 5px;
  float: right;
}

.menu-item-right a {
  text-align: left;
  min-width: 150px;
}

.sub-menu-right a {
  text-align: left;
}

.dropdown:hover {
  cursor: default;
  background-color: white;
}