:root {
  --dialog-body-color: rgb(255, 255, 255, 0.9);
  --dialog-text-color: black;
  --app-height: 100%;
}
* {
  box-sizing: border-box;
}

.hidden {
  display: none;
}

#logout {
  display: none;
}

html {
  height: 100vh;
  margin: 0;
  padding: 0;
}

body {
  display: grid;
  height: var(--app-height);
  width: 100vw;
  margin: 0;
  padding: 0;
  grid-template-rows: 6vh auto 5vh;
  grid-template-columns: auto auto auto;
  grid-template-areas:
    "pg-nav pg-nav pg-nav"
    ". content-container ."
    ". . credits";
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: rgb(97, 192, 240);
  background-image: radial-gradient(
    ellipse at bottom right,
    transparent 25%,
    rgba(0, 0, 0, 0.45) 78%,
    rgba(0, 0, 0, 0) 60%
  );
  background-size: cover;
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(155, 155, 155, 0.5);
  border-radius: 20px;
  border: transparent;
}

/*======================
          Nav Bar
  ======================*/

.custom-toggler.navbar-toggler {
  border-color: white;
}

.custom-toggler .navbar-toggler-icon {
  background-image: url(/resources/img/buttons/nav-menu-bars.svg);
}
.nav-row {
  grid-area: pg-nav;
  margin-bottom: 1vh;
}

/*======================
     Main Content Area
  ======================*/

.container {
  display: grid;
  grid-area: content-container;
  grid-template-areas: "content-div";
  align-items: center;
  align-content: center;
  min-height: 80vh;
  margin-right: auto;
  margin-left: auto;
  padding-left: 0px;
  padding-right: 0px;
  max-width: fit-content;
  width: inherit;
}

#content {
  grid-area: content-div;
  display: grid;
  grid-template-areas: "page-content";
  align-content: space-around;
  align-items: center;
  justify-content: center;
  width: inherit;
  justify-items: center;
}

.home-splash {
  display: block;
  width: 12em;
  padding: 0px;
}

.logo-title {
  font-size: 32px;
  font-weight: bold;
  font-style: oblique;
  color: #212529db;
  text-shadow: #f8f9fa 1px 1px 2px;
  -webkit-font-smoothing: antialiased;
  text-align: center;
}

#content-loading {
  grid-area: content-div;
}

.form-group:not(.uname-form-group) {
  margin-bottom: 5px !important;
}
.form-control {
  font-size: 1rem !important;
  font-weight: 400;
}

.input-group-text {
  font-size: 1rem !important;
}

.loading-status {
  display: block;
  position: absolute;
  left: 50%;
  height: 50px;
  width: 50px;
  margin: -50px 0 0 -65px;
}

.loading-status span {
  position: absolute;
  display: block;
  bottom: 10px;
  width: 25px;
  height: 20px;
  -webkit-animation: status-bars 1.5s infinite ease-in-out;
  animation: status-bars 1.5s infinite ease-in-out;
}

.loading-status span:nth-child(2) {
  left: 27px;
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.loading-status span:nth-child(3) {
  left: 54px;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.loading-status span:nth-child(4) {
  left: 81px;
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.loading-status span:nth-child(5) {
  left: 108px;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

@keyframes status-bars {
  0% {
    height: 20px;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    background: transparent;
  }
  25% {
    height: 60px;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    background: rgb(97, 192, 240);
  }
  50% {
    height: 20px;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    background: transparent;
  }
  100% {
    height: 20px;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    background: transparent;
  }
}

@-webkit-keyframes status-bars {
  0% {
    height: 20px;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    background: transparent;
  }
  25% {
    height: 60px;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    background: rgb(97, 192, 240);
  }
  50% {
    height: 20px;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    background: transparent;
  }
  100% {
    height: 20px;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    background: transparent;
  }
}

.bottom-right {
  grid-area: credits;
  position: absolute;
  padding: 5px;
  bottom: 0;
  right: 0;
  font-size: 18px;
  color: rgba(229, 227, 213, 1);
  text-shadow: #000 1px 1px 1px;
  -webkit-font-smoothing: antialiased;
}

/*======================
        Modal Styling
  ======================*/

#result-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  background-color: #666666b5;
  white-space: normal;
  display: grid;
  grid-template-areas:
    "tp tp tp"
    "lp mc rp"
    "bp bp bp";
  grid-template-rows: 1fr max-content 1fr;
  grid-template-columns: 1fr max-content 1fr;
}

#modal-content-div {
  grid-area: mc;
  display: grid;
  background-color: var(--dialog-body-color);
  border-width: 3px;
  border-style: solid;
  border-radius: 25px;
  grid-template-areas:
    "tc"
    "mf";
  grid-template-rows: auto auto;
  min-width: 22em;
}

#result-modal-content {
  display: grid;
  grid-area: tc;
  padding: 3em;
  text-align: center;
  grid-template-areas:
    "mh"
    "mb";
  grid-template-rows: auto auto;
}

#result-modal-header {
  grid-area: mh;
  height: 65px;
}

#result-modal-body {
  grid-area: mb;
}

.result-modal-no-border {
  border: 0px solid black;
}

.result-modal-normal {
  border-color: black;
}

.result-modal-bad {
  border-color: #c12830;
}

.result-modal-good {
  border-color: #73ae43;
}

.result-modal-warning {
  border-color: #ff9531;
}

#result-modal-footer {
  display: grid;
  grid-area: mf;
  grid-template-areas:
    "em"
    "br";
  grid-template-rows: auto auto;
}

#result-modal-error-div {
  grid-area: em;
  max-height: 81px;
}

#result-modal-button-container {
  grid-area: br;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  align-content: flex-end;
  gap: 5px;
  padding: 2px;
  justify-content: space-between;
}

.result-modal-button {
  border-radius: 5px;
  border-style: solid;
  border-color: black;
  border-width: thin;
  margin-left: 10px;
  margin-right: 10px;
}

.is-hidden {
  display: none !important;
}

/*============================================
              Global Table Styles
               Responsive Table
  ============================================*/

div.divbkgrnd {
  display: grid;
  padding-top: 25px;
  background-color: rgba(229, 227, 213, 0.7);
  border-radius: 25px;
  -moz-border-radius: 25px;
  border: 0px solid #000000;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.45);
  padding-right: 25px;
  padding-left: 25px;
  margin-top: 1vh;
  margin-right: auto;
  margin-left: auto;
  width: 92vw;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "cntls"
    "cntr" "tbl-btns";
}

.tablecontainer {
  grid-area: cntr;
  grid-template-rows: auto;
  grid-template-areas: "tble";
  height: calc(var(--app-height) - 31vh);
  max-height: calc(var(--app-height) - 31vh);
  margin-bottom: 10px;
  overflow-x: hidden;
  overflow-y: auto;
}

.controls {
  grid-area: cntls;
  display: flex;
  flex-direction: row-reverse;
}

#attendee-table-btn-row {
  grid-area: tbl-btns;
}

table.responsive-table thead th,
table.filtered-responsive-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.display_off,
#user-id-header {
  display: none;
}

table.responsive-table,
table.filtered-responsive-table {
  overflow-y: auto;
  overflow-x: hidden;
  grid-area: tble;
  width: 100%;
  white-space: nowrap;
  font-size: clamp(100%, 1rem + 1vw, 16px);
}

table thead tr th {
  text-align: left;
  position: sticky;
  top: 0px;
  background-color: rgb(178 193 192);
}

.fixed_headers-head,
table,
tr td {
  border-collapse: collapse;
}

tfoot {
  height: 100px;
  display: table-footer-group;
}

.table-striped > tbody > tr:not(.filter-hidden):nth-child(odd) {
  background-color: #f9f9f9;
}

.table-striped > tbody > tr:not(.filter-hidden):nth-child(even) {
  background-color: #b7b7b7;
}

.responsive-table > tbody > tr:not(.filtered-odd):nth-child(odd),
.responsive-table > tbody > tr:not(.filtered-even):nth-child(odd) {
  background-color: #f9f9f9;
}

.responsive-table > tbody > tr:not(.filtered-odd):nth-child(even),
.responsive-table > tbody > tr:not(.filtered-even):nth-child(even) {
  background-color: #b7b7b7;
}

.filtered-odd {
  background-color: #f9f9f9;
}

.filtered-even {
  background-color: #b7b7b7;
}

.table-hover > tbody > tr:hover {
  background-color: powderblue;
}

table.responsive-table tr td,
table.filtered-responsive-table tr td {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 5px;
}

.responsive-table thead tr #arrived-header,
.filtered-responsive-table thead tr #arrived-header {
  text-align: center;
}

.responsive-table thead tr td.col-cmd,
.filtered-responsive-table thead tr td.col-cmd {
  text-align: center;
}

.responsive-table th#commands-header,
.filtered-responsive-table th#commands-header {
  text-align: right;
}

.responsive-table thead tr #attendee-city-header.display_on,
.responsive-table tbody tr #arrived.display_on,
.filtered-responsive-table thead tr #attendee-city-header.display_on,
.filtered-responsive-table tbody tr #arrived.display_on {
  display: grid;
  margin: 0;
  padding: 0;
  height: 20px;
  justify-content: center;
}

.responsive-table tbody tr td.col-arrived,
.filtered-responsive-table tbody tr td.col-arrived {
  text-align: center;
}

.responsive-table tbody tr td.col-cmd,
.filtered-responsive-table tbody tr td.col-cmd {
  text-align: right;
}

.responsive-table tbody tr#attendee-email-header,
.filtered-responsive-table tbody tr#attendee-email-header {
  display: table-cell;
}

.responsive-table tbody tr #email,
.filtered-responsive-table tbody tr #email {
  display: table-cell;
}

.responsive-table tbody tr #attendee-type,
.filtered-responsive-table tbody tr #attendee-type {
  display: table-cell;
}

.table-message-row {
  display: grid;
  align-items: center;
}

#table-message {
  font-weight: bold;
  font-size: clamp(13px, 2vw, 17px);
}

.filter-hidden {
  display: none;
}

/*============================================
              Global Table Styles
                Card ViewTable
  ============================================*/

table.card-view-table {
  border: 0;
  font-size: medium;
  width: 100%;
}

table.card-view-table caption {
  font-size: 1.3em;
}

table.card-view-table thead {
  border: none;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

table.card-view-table tr {
  border-bottom: 3px solid #ddd;
  display: block;
  margin-bottom: 0.625em;
}

table.card-view-table td.display_on {
  border-bottom: 1px solid #ddd;
  display: block;
  font-size: 0.8em;
  text-align: right;
}

table.card-view-table td.display_on::before {
  content: attr(data-label);
  float: left;
  font-weight: bold;
  text-transform: uppercase;
}

.card-view-table thead tr #attendee-email-header {
  display: block;
}

.card-view-table thead tr #attendee-type-header {
  display: block;
}

.card-view-table tbody tr #email {
  display: block;
}

.card-view-table tbody tr #attendee-type {
  display: block;
}

.card-view-table tbody tr #arrived {
  display: block;
  justify-content: right;
}
/*============================================
              End Global Table Styles
  ============================================*/

/*============================================
              Global Button Styles
  ============================================*/

.inline-submit-button {
  color: #ffffff;
  background-color: #007bff;
  border-width: 2px;
  border-color: #007bff;
  border-style: solid;
  border-radius: 0px 5px 5px 0px;
  float: right;
  max-width: 60px;
  cursor: pointer;
  padding: 2px;
}

.inline-submit-button:hover {
  border-width: 2px;
  border-color: black;
  border-style: solid;
}

.inline-submit-button:disabled {
  background-color: rgba(229, 227, 213, 1);
  border: none;
}

.btn-group,
.btn-row {
  display: flex;
  grid-area: btn-row;
  float: right;
  bottom: 0;
  align-items: flex-end;
}

.table-btn-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1em;
  margin-right: 0;
}

button:not(.navbar-toggler, .inline-submit-button, .menu-btn, .btn-secondary) {
  /* border: none; */
  border-radius: 5px 5px 5px 5px;
  background-color: #007bff;
  color: #ffffff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 400;
  height: 40px;
  padding: 0px 20px;
}

.btn-add {
  float: right;
  margin-bottom: 5px;
}

.btn-prev:not(.hidden) {
  display: inline;
}

.btn-payment-submit {
  color: #ffffff;
  background-color: #0051ff;
  border-color: #000000;
  border-width: thin;
  float: right;
  min-width: 80px;
  height: 50px;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 17px;
}

.cancel-btn,
.close-btn,
.btn-close,
.btn-cancel,
.btn-close-modal {
  border: solid thin #007bff;
  border-radius: 5px 5px 5px 5px;
  background-color: #ffffff;
  color: #007bff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 400;
  height: 40px;
  padding: 0px 20px;
  pointer-events: auto;
}

.btn-cancel-payment {
  color: #fff;
  background-color: #6c757d;
  border-color: #000000;
  border-width: thin;
  float: right;
  min-width: 80px;
  height: 50px;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 17px;
}

.delete_fg_button,
.add_fg_button {
  background-color: #6c757d;
  border: none;
  border-radius: 0px 5px 5px 0px;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.5;
  padding: 0 5px;
}

.btn-payment-submit:hover {
  color: #000000;
  background-color: #007bff;
}

.btn-cancel-payment:hover {
  color: #000000;
  background-color: #848e97;
}

.result-modal-button:disabled,
.btn-submit:disabled,
.btn-update-attendee:disabled,
.btn-delete-attendee:disabled,
.btn-next:disabled,
.btn-prev:disabled,
.btn-add:disabled {
  background-color: #747474;
  color: #1a1a1a;
  pointer-events: none;
}

/*======================
      Validation Styles
  ======================*/

.is-invalid {
  border-radius: 7px;
  box-shadow: 2px 2px 5px 1px #ffb09c;
}

.is-valid {
  border-radius: 7px;
  box-shadow: 2px 2px 5px 1px #97dc21;
}

section.section-is-invalid {
  border-radius: 7px;
  box-shadow: 2px 2px 1px 4px #ffffff, 6px 6px 6px 6px #ffb09c;
}

section.section-is-valid {
  border-radius: 7px;
  box-shadow: 2px 2px 1px 4px #ffffff, 6px 6px 6px 6px #97dc21;
}

.error-response > li {
  list-style: none;
}

.error-response > li > input-group {
  color: black;
  border-radius: 0px;
  box-shadow: 0px 0px 0px 0px black;
  padding: 5px 0px;
}

/*======================
   Primary Event Content
  ======================*/

.main-table {
  grid-area: page-content;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto 2fr auto;
  grid-template-areas:
    "tble-hdr tble-hdr"
    "splash text-container"
    "button-bar button-bar";
  align-content: center;
  justify-items: center;
  margin: 5% 0;
  padding: 1rem;
}

.tble-header {
  grid-area: tble-hdr;
  text-align: center;
  font-size: 1em;
  width: 100%;
}

.splash {
  grid-area: splash;
  padding: 0em 4em;
  justify-content: center;
  align-self: center;
}

.splash img {
  max-height: auto;
  max-width: 14em;
  margin: 0px;
  padding: 0px;
  grid-area: splash;
}

.main-event-txt-container {
  grid-area: text-container;
  margin: 0px;
  padding: 4px;
  font-size: 3em;
  font-weight: bold;
  line-height: 1em;
  vertical-align: text-top;
  text-align: right;
  grid-template-rows: auto auto;
  grid-template-areas: "evt-description";
}

.description {
  grid-area: evt-description;
  margin: 10px 0px;
  padding: 5px 0px;
}

.btn-toolbar {
  grid-area: button-bar;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 1em;
}

.menu-btn {
  background-color: #cdcdcd;
  position: relative;
  border-width: thin;
  border-color: black;
  border-radius: 10px;
  max-height: 5em;
  margin: 0px;
  padding: 2px;
  grid-template-areas: "image";
}

.btn-svg img {
  grid-area: image;
  max-width: 4em;
  margin: 0.5px;
}

/*======================
    Custom Field Styling
  ======================*/

input.largercheckbox {
  width: 20px;
  height: 20px;
  flex: 1;
}

/*======================
    Start of Event Form
  ======================*/
.event-create-card {
  grid-area: page-content;
  display: grid;
  grid-gap: 0px;
  grid-template-rows: auto auto 60px;
  grid-template-columns: auto;
  grid-template-areas:
    "header"
    "event-form"
    "event-resp-text";
  padding: 5px;
  border: 1px solid;
  border-radius: 10px;
  max-width: 65em;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.45);
  background-color: rgb(255, 255, 255, 0.9);
}

.event-create-card-header {
  grid-area: header;
  text-align: center;
  font-weight: bold;
  margin: 0px;
  padding: 0px;
}

.event-create-form-container {
  grid-area: event-form;
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: auto;
  grid-template-areas: "event-tab";
}

.event-tab:not(.hidden) {
  display: grid;
  font-size: 25px;
  font-weight: 500;
  min-width: 1024px;
}

.event-tab:hidden {
  display: none;
}

.custom-fa-icon {
  width: 25px;
  height: 25px;
  padding: 0px;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
  margin: -4px;
  transform: scaleX(0.8);
}

#event-details-tab {
  grid-area: event-tab;
  grid-template-rows: auto auto auto auto auto auto;
  grid-template-columns: auto;
  grid-template-areas:
    "."
    "event-name-text"
    "event-description-text"
    "event-venue-name-text"
    "event-address-st"
    "event-city-st-zip-txt";
}

.event-create-name-text {
  grid-area: event-name-text;
  display: grid;
  margin: 0em 1em;
  flex-direction: row;
  flex-wrap: wrap;
}

.event-create-description-text {
  grid-area: event-description-text;
  display: grid;
  margin: 0em 1em;
  overflow-y: auto;
}

.event-venue-name-text {
  grid-area: event-venue-name-text;
  display: grid;
  margin: 0em 1em;
  flex-direction: row;
  flex-wrap: wrap;
}

.event-address-st {
  grid-area: event-address-st;
  display: grid;
  margin: 0em 1em;
}

.event-city-st-zip-txt {
  display: grid;
  grid-gap: 1em;
  grid-area: event-city-st-zip-txt;
  grid-template-rows: auto;
  grid-template-columns: 5fr 2fr 2fr;
  grid-template-areas: "event-city event-state event-zip";
  margin: 0em 1em;
}

.event-city {
  grid-area: event-city;
}

.event-st {
  grid-area: event-state;
}

.event-zip {
  grid-area: event-zip;
}

#event-date-fees-tab {
  grid-area: event-tab;
  grid-template-rows: auto auto auto auto;
  grid-template-columns: auto;
  grid-template-areas:
    "."
    "event-dates"
    "registration-dates"
    "event-fees-options"
    "img-upload-fg";
}

.date-input-group {
  width: 15em;
}

.date-input {
  width: 15em !important;
}

.event-create-dates {
  grid-area: event-dates;
  display: grid;
  grid-gap: 1em;
  grid-template-rows: auto;
  grid-template-columns: auto auto;
  grid-template-areas: "event-start event-end";
  margin: 0em 1em;
}

.event-st-date {
  grid-area: event-start;
}

.event-end-date {
  grid-area: event-end;
}

.event-registration-dates {
  grid-area: registration-dates;
  display: grid;
  grid-gap: 1em;
  grid-template-rows: auto;
  grid-template-columns: auto auto;
  grid-template-areas: "registration-start registration-end";
  margin: 0em 1em;
}

.registration-start-date {
  grid-area: registration-start;
}

.registration-end-date {
  grid-area: registration-end;
}

input::-webkit-calendar-picker-indicator {
  color: blue !important;
}
input[type="date"]::-webkit-input-placeholder {
  color: blue !important;
}

::webkit-calendar-picker-indicator {
  color: blue !important;
}
.event-fees-options {
  grid-area: event-fees-options;
  display: grid;
  grid-gap: 1em;
  grid-template-rows: auto;
  grid-template-columns: auto auto auto auto;
  grid-template-areas: "finance-div lodging-div allow-multiple-div base-fee";
  margin: 0em 1em;
}

.form-check {
  display: flex;
  padding-left: 0;
  align-items: center;
}

.form-check label {
  font-size: small;
  margin: 0px 0px 0px 10px;
  order: 1;
}

.form-check-input {
  grid-area: chk;
  float: left;
  height: 30px;
  width: 30px;
  position: relative;
  padding-left: 30px;
  margin-top: 0;
  margin-left: 0;
}

.use-finance-console-div {
  grid-area: finance-div;
}

.use-lodging-console-div {
  grid-area: lodging-div;
}

.allow-multiple-registrations {
  grid-area: lodging-div;
}

.event-base-fee {
  grid-area: base-fee;
}

.img-upload-fg {
  display: grid;
  grid-area: img-upload-fg;
  grid-template-rows: auto auto;
  grid-template-columns: auto;
  grid-template-areas:
    "img-preview"
    "event-img-upload";
  justify-items: center;
}

.event-img-upload {
  grid-area: event-img-upload;
  display: inline-flex;
  justify-content: center;
  width: fit-content;
}

.img-preview {
  grid-area: img-preview;
  display: flex;
  height: 105px;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
}

.img-thumbnail-preview {
  max-height: 95px;
  margin: auto;
  padding-top: 20px;
}

.btn-upload-div {
  grid-area: btn-upload-div;
  display: grid;
  float: right;
}

#event-users-tab {
  grid-area: event-tab;
  grid-template-rows: auto auto auto auto auto auto;
  grid-template-columns: auto;
  grid-template-areas:
    "."
    "event-usr-row1"
    "event-usr-row2"
    "event-usr-row3"
    "event-usr-row4"
    "event-attendees";
}

.user-limit-row1 {
  grid-area: event-usr-row1;
  display: grid;
  grid-gap: 1em;
  margin: 0em 1em;
  grid-template-rows: auto;
  grid-template-columns: auto auto;
}

.user-limit-row2 {
  grid-area: event-usr-row2;
  display: grid;
  grid-gap: 1em;
  margin: 0em 1em;
  grid-template-rows: auto;
  grid-template-columns: auto auto;
  grid-template-areas: "evt-admins cnt-admins";
}

.user-limit-row3 {
  grid-area: event-usr-row3;
  display: grid;
  grid-gap: 1em;
  margin: 0em 1em;
  grid-template-rows: auto;
  grid-template-columns: auto auto;
  grid-template-areas: "evt-admins cnt-admins";
}

.user-limit-row4 {
  grid-area: event-usr-row4;
  display: grid;
  grid-gap: 1em;
  margin: 0em 1em;
  grid-template-rows: auto;
  grid-template-columns: auto auto;
  grid-template-areas: "evt-admins cnt-admins";
}

.event-attendees {
  grid-area: event-attendees;
  display: grid;
  margin: 0em 1em;
}

#event-user-tab {
  grid-area: event-tab;
}

.narrow-legend {
  padding: 0;
  margin: 0;
  width: fit-content;
  font-size: 1.5rem;
  line-height: inherit;
  color: inherit;
  white-space: normal;
}

.fieldset-group {
  display: inline-flex;
  grid-gap: 0em;
  padding-bottom: 1em;
  justify-content: space-between;
  grid-template-rows: auto;
  grid-template-columns: auto auto auto;
  grid-template-areas:
    "user-details"
    "user-roles"
    "user-privs";
  max-height: 17em;
}

.user-details-fldset {
  grid-area: user-details;
  width: max-content;
  padding: 0em 1em;
  border: black;
  border-style: solid;
  border-width: thin;
  grid-template-rows: auto auto auto auto auto;
  grid-template-columns: auto;
  grid-template-areas:
    "user-fn"
    "user-ln"
    "user-uname"
    "user-email"
    "user-pword";
}

.event-admin-fn {
  grid-area: user-fn;
  display: grid;
}

.event-admin-ln {
  grid-area: user-ln;
  display: grid;
}

.event-admin-uname {
  grid-area: user-uname;
  display: grid;
}

.event-admin-email {
  grid-area: user-email;
  display: grid;
}

.event-admin-pword {
  grid-area: user-pword;
  display: grid;
}

.user-roles-fldset {
  grid-area: user-roles;
  width: max-content;
  border: black;
  border-style: inset;
  border-width: thin;
  padding: 0em 1em 1em 1em;
  background: white;
  text-align: left;
}

.user-privs-fldset {
  grid-area: user-privs;
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  border: black;
  border-style: inset;
  border-width: thin;
  padding: 0em 1em;
  background: white;
  max-height: 385px;
}

.priv-list {
  max-height: 12em;
  padding: 0em;
  overflow-y: auto;
}

.narrow-label {
  height: 35px;
  margin: 0px;
  padding: 0px;
  font-size: 16px;
}

.narrow-div {
  font-size: 16px;
}

.narrow-div label {
  margin-left: 5px;
}

.no-format-li {
  list-style: none;
  font-size: 16px;
}

.small-fa {
  font-size: 1.5em;
}

.add-existing-user-label {
  font-weight: bold;
  color: red;
}

.event-create-error-msg {
  grid-area: event-resp-text;
  list-style-type: none;
  max-height: 60px;
  overflow-y: auto;
  color: black;
}

.event-tab-navigation {
  overflow: auto;
  margin-top: 1em;
  margin: 0em 1em;
}

.event-tab-nav-button-row {
  float: right;
}

button:hover {
  opacity: 0.8;
}

#file {
  padding: 1px;
  max-width: 254px;
}

input[type="file"]::file-selector-button {
  border: 2px solid #000000;
  padding: 0.2em 0.4em;
  margin: 0px;
  border-radius: 0.2em;
  transition: 1s;
  background-color: #007bff;
  border-color: #007bff;
  float: right;
  color: #fff;
}

#step-indicators {
  text-align: center;
}

.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

.step.active {
  opacity: 1;
}

.step.finish {
  background-color: #3d8bbe;
}

/*======================
      End of Event Form
    ======================*/

@media screen and (max-width: 1024px) {
  /*======================
            Responsive Table
        ======================*/
  table.responsive-table,
  table.filtered-responsive-table {
    font-size: smaller;
  }

  #attendee-type-header {
    display: none;
  }

  .col-attendee-type {
    display: none;
  }

  #top-level-organization-column-header {
    display: none;
  }

  .col-top-level-organization {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  /*======================
             Attendee Table
        ======================*/

  #attendee-email-header {
    display: none;
  }

  #attendee-grid .col-email {
    display: none;
  }

  .navbar-nav {
    flex-direction: row;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .navbar-expand-md {
    display: flex;
    align-items: center;
  }

  .navbar-brand {
    display: none;
  }

  .navbar-collapse {
    grid-area: nav-links;
  }

  .navbar-toggler {
    grid-area: nav-btn;
  }

  #response {
    grid-area: nav-alert;
  }

  #navbarNavAltMarkup a.nav-item {
    padding-left: 15px;
  }
}

@media screen and (max-width: 600px) {
  .main-table {
    grid-template-columns: auto;
    grid-template-rows: auto 2fr auto;
    grid-template-areas:
      "splash"
      "text-container"
      "button-bar";
  }

  .main-table .card-header {
    display: none;
  }

  .main-event-txt-container {
    text-align: center;
  }

  /*======================
           Attendee Table
        ======================*/

  table.responsive-table:not(.table.card-view-table) tr td,
  table.filtered-responsive-table:not(.table.card-view-table) tr td {
    max-width: inherit;
  }

  table.responsive-table,
  table.filtered-responsive-table {
    border: 0;
    font-size: medium;
  }

  table.responsive-table caption,
  table.filtered-responsive-table caption {
    font-size: 1.3em;
  }

  table.responsive-table thead,
  table.filtered-responsive-table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  table.responsive-table tr,
  table.filtered-responsive-table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }

  #attendee-grid.responsive-table td.display_on,
  #attendee-grid.filtered-responsive-table td.display_on,
  #user-grid.responsive-table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 0.8em;
    text-align: right;
  }

  #attendee-grid.responsive-table td.display_on::before,
  #attendee-grid.filtered-responsive-table td.display_on::before,
  #user-grid.responsive-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  .responsive-table tbody tr td.col-arrived,
  .filtered-responsive-table tbody tr td.col-arrived {
    text-align: right;
  }

  .responsive-table thead tr #attendee-email-header,
  .filtered-responsive-table thead tr #attendee-email-header {
    display: block;
  }

  .responsive-table thead tr #attendee-type-header,
  .filtered-responsive-table thead tr #attendee-type-header {
    display: block;
  }

  .responsive-table tbody tr #email,
  .filtered-responsive-table tbody tr #email {
    display: block;
  }

  .responsive-table tbody tr #attendee-type,
  .filtered-responsive-table tbody tr #attendee-type {
    display: block;
  }

  .responsive-table tbody tr #arrived,
  .filtered-responsive-table tbody tr #arrived {
    display: block;
    justify-content: right;
  }
}

@media screen and (max-width: 380px) {
  .main-table {
    margin: 0;
  }
}
