h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.1rem;
  font-weight: bold;
}


.smallest {
  font-size: 0.5rem;
}
.smaller {
  font-size: 0.75rem;
}
.bigger {
  font-size: 1.25rem;
}
.biggest {
  font-size: 1.5rem;
}

.action-items {
  background-color: #F6F2ED;
}


.top-bar a.button.disabled:hover {
  background-color: var(--primary-site-branding);
}

span.logout {
  font-size: 0.6rem;
  float:right;
}
span.logout a {
  color: var(--primary-site-branding);
}
span.logout a.button {
  color: white;
  background-color: var(--primary-site-branding);
}

.delg-pfm-panel a {
  color: var(--primary-site-branding);
}


.delg-pfm-top-nav {
  font-size: 0.8rem;
}

.delg-pfm-top-nav a {
  color: var(--primary-site-branding);
}

.delg-pfm-top-nav a.active {
  background-color: var(--primary-color-normal);
  color: white;
}

.top-bar {
  margin-bottom: 1rem;
}

.top-bar a.button {
    margin-left: auto;
    margin-right: auto;
    max-width: 15rem;
    background-color: var(--primary-site-branding);
}

.title-bar a {
  color: white;
  font-weight: bold;
}

.info-alert-box {
    border-left: solid 10px var(--primary-site-branding);
    /* margin-left: -12px; */
    padding-left: 6px;
    margin-bottom: 10px;
}
.info-alert-box a.button, .info-alert-box a.button:focus, .info-alert-box a.button:hover {
    background-color: var(--primary-site-branding);
}

a.completed, .strikethrough {
  text-decoration: line-through;
}

.delg-pfm-panel a.button {
  color: white;
}

div.callout.warning a:not(.button) {
  color: #1574B2;
}
#search-results .delg-pfm-panel {
  width: 100%;
}
#search-results .results {
  display: block;
  width: 100%;
}
#search-results .results div.delegates,
#search-results .results div.registrants
 {
  min-width: 300px;
  display: inline-block;
  width: 46%;
  margin-left: 2%;
  margin-right: 1%;
  vertical-align: top;
}

#search-results .results div.delegates.matched {
  width: 100%;
  margin-left: 0px;
  margin-right: 0px;
}

.results div.delegates.matched [registration_id] {
  z-index: 60;
  position: relative;
}

.results div.delegates.matched [registration_id] .callout {
  width: 48%;
  margin-left: 1%;
  margin-right: 1%;
  display: inline-block;
}

div[registration_id] .registrant::after {
  content: '';
  display: block;
  position: absolute;
  height: 5%;
  width: 50%;
  top: 50%;
  left: -25%;
  background-color: var(--uua-color-rubine);
  z-index: -1;
}

.results .callout {
  border: 3px solid var(--uua-color-gold-dark);
  background-color: #E4D8C7;
  border-radius: 15px;
  padding-top: 2em;
}
.results .registrant.callout {
  border-color: var(--uua-color-rubine);
  background-color: #F8C2DE;
}
.results .unclaimed .delegate.callout,
.results .unclaimed .lreda.callout {
  border-color: var(--uua-color-grey);
  background-color: #D5D5D6;
}

#search-results .results .delegate.callout {
  position: relative;
}

#search-results .results .callout .callout-label {
  position: absolute;
  top: -5px;
  left: -5px;
  background: white;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1em;
  padding: 5px;
  border: thin solid black;
}

#search-results .results .callout .date-updated {
  position: absolute;
  top: -5px;
  right: -5px;
  background: white;
  font-size: 0.8rem;
  font-weight: bold;
  line-height: 1em;
  padding: 3px;
  border: thin solid black;
}

.hidden {
  display: none !important;
}

.fill {
  display: block;
  height: 100%;
  width: 100%;
  margin: 0;
}

.loading-screen {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  z-index: 500;
}

.loading-screen .center-box {
  position: absolute;
  top: 25%;
  left: 25%;
  display: block;
  width: 50%;
  height: 50%;
  z-index: 200;
  /* effectively invisible */
}
.loading-screen .dark-out-screen {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: rgba(255,255,255,0.5);
}
.loading-screen .spinner-container {
  position: absolute;
  top:40%;
  left:40%;
  height: 20%;
  width: 20%;
  overflow: hidden;
}

.loading-screen .spinner {
  height: 500%;
  width: 500%;
  display: block;
  position: absolute;
  top: -200%;
  left: -200%;
  background-image: conic-gradient(white, var(--uua-color-rubine), white, var(--uua-color-gold-dark), white);
  animation: rotate 4s linear infinite;
}
.loading-screen .spinner-text {
  display: inline-block;
  position: absolute;
  top: 45%;
  left: 45%;
  height: 10%;
  width: 10%;
  background: white;
  text-align: center;
  font-size: 1rem;
}

.flap-box {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 40px;
  overflow: hidden;
}

.flap {
  display: inline-block;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0px;
  left: 0px;
  transition-property: top;
  transition-duration: 0.5s;
  transition-delay: 0s;
}
.flapped {
  top: -100%;
}

@keyframes rotate {
  from {transform:rotate(0deg);}
  to   {transform:rotate(360deg);}
}

.login-link-container {
  display: block;
  border: thin solid black;
  padding: 5px 0px 0px 5px;
}
.login-link-container .button-group {
  display: inline-block;
}
.login-link-container .button-group a:not(.button) {
  margin-left: 15px;
  text-decoration: underline;
}

.toast-alert {
  background: radial-gradient(circle at center, rgba(0,0,0,1), rgba(0,0,0,0));
  color: white;
  text-align: center;
  width: fit-content;
  padding: 15px;
  margin: 30px;

  border-radius: 5px;
  position: fixed;
  top: 30%;
  left: 50%;
  z-index: 5000;
  opacity: 0;
  transition-property: opacity;
  transition-duration: 0.25s;
  transition-delay: 0s;
}
.toast-alert.awake {
  opacity: 1.0;
}
.toast-alert.awake::before {
  content: '';
  width: 90%;
  height: 90%;
  display: inline-block;
  position: absolute;
  border-radius: 5px;
  top: 5%;
  left: 5%;
  background-color: black;
  z-index: -1;
}

.sponsor-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  overflow: hidden;
}
.sponsor-container .sponsored-message {
  border: 1px solid rgba(10, 10, 10, 0.25);
  border-left: 5px solid var(--uua-color-aqua);
  border-right: 5px solid var(--uua-color-aqua);
  border-radius: 0px 15px 15px 0px;
  padding: 10px 10px 0px 20%;
  text-align: center;
  vertical-align: middle;
  position: relative;
  background: linear-gradient(90deg, var(--uua-color-aqua) 0%, #EBF8FB 2%);
  background-repeat: no-repeat;
}
.sponsor-container .sponsored-message a {
  color: var(--uua-color-aqua);
}
.sponsor-container .sponsored-message:before {
  content: "";
  background-image: url("//www.uua.org/files/2024-02/Circle%20Logo.png");
  background-position: middle center;
  background-repeat: no-repeat;
  background-size: contain;
  left: 5%;
  top: 15%;
  position: absolute;
  height: 70%;
  width: 10%;
  max-height: 100%;
  max-width: 10%;
  display: block;
}

@media only screen and (max-width: 40.0625em) {
  .sponsor-container .sponsored-message {
    padding-left: 10px;
    text-align: left;
  }
  .sponsor-container .sponsored-message:before {
    display: none;
  }
}

.chat-room-switch-container {
  display: block;
  height: 3rem;
  max-height: 100px;
  width: 100%;
  background-color: var(--uua-color-grey);
  position: relative;
}

.chat-room-switch-container label {
  display: inline;
  color: white;
  margin-left: 25px;
  font-size: 1.4rem;
  font-weight: bold;
}

.chat-room-switch-container select {
  display: inline-block;
  width: 25%;
  margin-left: 25px;
}

span.spacer {
  display: block;
  margin-top: 1.5rem;
}
