html {
  height: 100%;
  font-family: 'Open San', sans-serif;
}

/* Swup */
html.is-animating .transition-fade {
  opacity: 0;
}

body {
  margin: 0px;
  margin-top: 68px;
  padding: 0px;
}

nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgb(39, 39, 39);
  overflow: auto;
  height: auto;
  text-align: center;
}

ol {
  list-style-position: none;
  padding-left: 0;
}

ul {
  list-style-type: none;
  padding: 0;
  font-size: 0.8rem;
}

li:not(:last-child) {
    margin-bottom: 5px;
}

textarea {
   resize: none;
   width: 100%;
}

h3 {
  font-family: 'Bree Serif', serif;
  color: #003f5e;
}

h4 {
  font-family: 'Open Sans', sans-serif;
}

button:focus {
  outline: none;
}

a {
  color: #003f5e;
  font-weight: bold;
}

#campaigns {
  height: calc(100vh - 220px);
  overflow: auto;
}

#attendee-list {
  height: calc(100vh - 188px);
  width: 100%;
  overflow: auto;
}

#feedback-card {
  margin: 0px 20px;
  padding: 20px 0px;
  border-radius: 10px;
  border: 1px solid #abafa6;
  box-shadow: 0px 5px 8px grey;
  font-family: 'Open Sans', sans-serif;
  color: #003f5e;
  height: calc(100vh - 250px);
}

#feedback-content {
  height: calc(100vh - 345px);
  overflow: auto;
  margin: 20px 20px;
  padding: 0px 10px;
}

#feedback-form {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
}

#campaigns::-webkit-scrollbar, #attendee-list::-webkit-scrollbar, #attendance-buttons::-webkit-scrollbar, #feedback-content::-webkit-scrollbar, .modal-content-feedback::-webkit-scrollbar, #attendee-content::-webkit-scrollbar {
    display: none;
}

#present-campaign-list-button, #present-button, #past-button, .campaign-qr button {
  margin: 0px 5px 20px 5px;
  padding: 5px 20px;
  border-radius: 100px;
  border-style: none;
  background-color: #edb700;
  font-family: 'Open Sans', sans-serif;
  color: white;
}

.campaign-top button, #attendance-content button, .attendee-top button, .feedback-top button, #yesButton, #noButton {
  margin: 0px 20px 20px 20px;
  padding: 5px 20px;
  border-radius: 100px;
  border-style: none;
  background-color: #3a3a3c;
  font-family: 'Open Sans', sans-serif;
  color: white;
}

.campaign-top .right-button {
  background-color: #edb700;
}

.attendee-contact button {
  margin: 0px 5px 20px 5px;
  padding: 5px 20px;
  border-radius: 100px;
  border-style: none;
  background-color: #003f5e;
  font-family: 'Open Sans', sans-serif;
  color: white;
  cursor: pointer
}

.top-bar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #003f5e;
  height: 53px;
  padding: 0px 20px;
  text-align: center;
}

.bottom-nav {
  background-color:#edb700;
  height: 55px;
  overflow: hidden;
  display: flex;
  justify-content: space-around;
}

/* Swup */
.transition-fade {
  transition: 0.4s;
  opacity: 1;
}

.content {
  margin: 5px;
}

.login-content {
  margin: auto;
  width: 50%;
  text-align: center;
  padding: 70px 0;
  color: white;
}

.present-campaign {
  margin: 20px;
  padding: 20px 30px;
  background-color: #003f5e;
  color: white;
  border-radius: 10px;
  box-shadow: 0px 5px 8px grey;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
}

.past-campaign {
  margin: 20px;
  padding: 20px 30px;
  background-color: #abafa6;
  color: #e2e2e2;
  border-radius: 10px;
  box-shadow: 0px 5px 8px grey;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
}

.attendee {
  margin: 0px 20px 20px 20px;
  padding: 10px 30px;
  border-radius: 10px;
  border: 1px solid #abafa6;
  font-family: 'Open Sans', sans-serif;
  color: #003f5e;
  cursor: pointer;
}

.attendance {
  width: 60%;
  margin: 10px auto;
  padding: 10px 30px;
  background-color: #e2e2e2;
  border-radius: 10px;
  box-shadow: 0px 5px 8px grey;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
}

#attendee-card {
/*  background-color: rgb(242, 248, 245); */
  margin: 20px 20px;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid #abafa6;
  box-shadow: 0px 5px 8px grey;
  font-family: 'Open Sans', sans-serif;
  color: #003f5e;
  height: calc(100vh - 255px);
  width: 100%
  overflow: auto;
}

#attendee-content {
  height: calc(100vh - 255px);
  overflow: auto;
  margin: 0px 20px;
}

#attendance-buttons {
  height: calc(100vh - 270px);
  overflow: auto;
}

.left-button {
  float: left!important;
}

.right-button {
  float: right!important;
  background-color: #edb700;
}

.campaign-qr {
  text-align: center;
}

.links {
  display: inline-block;
  text-align: center;
  padding: 5px;
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 0.8rem;
  width: 90px;
}

.links:hover {
  background-color: rgb(100, 100, 100);
}

.selected {
  background-color: rgb(0, 18, 43);
}

.attending-chairs-list {
  margin: 0px;
  padding-left: 15px;
}

.attending-chairs-li {
  margin: 10px;
}

.deleteChairButton {
  float: right;
}

 /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #edb700;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  width: 70%; /* Could be more or less, depending on screen size */
  box-shadow: 0px 5px 10px black;
}

.modal-content-feedback {
  background-color: #e2e2e2;
  margin: 15% auto;
  padding: 20px;
  width: 80%;
  box-shadow: 0px 5px 10px black;
  height: calc(100vh - 400px);
  overflow: auto;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.btn-group-lang button {
  margin: 0px 2px;
  padding: 5px 20px;
  border-radius: 100px;
  border-style: none;
  background-color: #003f5e;
  font-family: 'Open Sans', sans-serif;
  color: white;
}

.btn-group, .attendee-contact {
  width: 100%;
  justify-content: center;
  display: flex;
}

.filter-div {
  width: 100%;
  justify-content: center;
  display: flex;
}

#search-bar {
  display: block;
  margin: 5px 20px;
  text-align: center;
  width: 240px;
}

#search-bar input {
  box-sizing: border-box;
  padding: 5px 15px;
  border-radius: 100px;
  border-color: #003f5e;
}

#venue-select, #attendance-select {
  width: 160px;
  border-radius: 100px;
  padding-left: 10px;
  padding-right: 10px;
  border: 2px solid #003f5e;
  color: #003f5e;
}

#campaignSelection, #businessType {
  width: 250px;
  border-radius: 5px;
  border: 0;
  padding: 5px 10px;
  margin: 5px 0px;
  color: #003f5e;
  font-family: 'Open Sans', sans-serif;
}

#attend-select, #absent-select, #si-interest-select, #si-status-select, #si-date-select, #assigned-chair-select, #p1Dropdown, #p2Dropdown, #apDropdown, #chairDropdown {
  width: 250px;
  border-radius: 5px;
  border: 1px solid #003f5e;
  color: #003f5e;
  font-family: 'Open Sans', sans-serif;
}

#venue-select:focus, #campaignSelection:focus, #businessType:focus, #addAttendeeForm input:focus, #noteForm input:focus, #login-form input:focus, #submitButton:focus, #emailButton:focus, #search-bar input:focus, #attendance-select:focus {
  outline: none;
}

#campaignSelection {
  width: 100%;
}

#addAttendeeForm {
  box-sizing: border-box;
}

#addAttendeeForm input, #noteForm textarea, #login-form input {
  box-sizing: border-box;
  border-radius: 5px;
  border: 0;
  padding: 5px 10px;
  margin: 5px 0px;
  color: #003f5e;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
}

#addAttendeeForm input[type=submit], #noteForm input[type=submit], #login-form input[type=submit], #submitButton, #emailButton {
  background-color: #003f5e;
  border-radius: 100px;
  color: white;
  font-weight: bold;
  width: auto;
  padding: 10px 20px;
  font-family: 'Open Sans', sans-serif;
  border: 0;
}

#addAttendeeForm input[type=submit]:active, #noteForm input[type=submit]:active, #submitButton:active {
  background-color: #abafa6;
  color: #003f5e;
}

#emailButton, #yesButton {
  background-color: #edb700;
  color: white;
}

#emailButton:active, #yesButton:active {
  background-color: #003f5e;
}

.right-button:active {
  background-color: #abafa6;
  color: #003f5e;
}

#qr-container {
  text-align: center;
  margin: 0;
}

#qr-canvas {
  margin: auto;
  width: 100%;
  height: 100%;
}

#qr-result {
  font-size: 1.2em;
  margin: 20px auto;
  padding: 20px;
  max-width: 700px;
  background-color: white;
}

#login-fail p {
  font-size: small;
}

#attendance-content {
  text-align: center;
}

.loader{
  position: fixed;
  z-index: 2;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: all 0.5s;
}

.loader .ring{
  top: -60px;
  height: 60px;
  width: 60px;
  border: 5px solid #ddd;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader .ring:after{
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  border-radius: 50%;
  border: 5px solid #edb700;
  border-top-color: transparent;
  animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
  100%{
    transform: rotate(360deg);
  }
}
