html,
body {
  margin: 0;
}

div#main {
  position: relative;
  min-width: 320px;
  margin: 0 auto;
  padding: 15px;
  padding-top: 5px;
  padding-bottom: 100px;
  border: none;
  text-align: center;
}

div#main>h4 {
  scroll-margin-top: 80px;
}

div#app {
  margin: 0;
  margin-bottom: 10px;
  padding: 0;
  width: 100%;
  text-align: center;
  color: #999999;
  background-color: rgb(247, 247, 247);
}

div#header {
  background-color: rgb(218, 218, 218);
  border-bottom: 1px solid #b8b8b8;
  /* Safari */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 3;
}

#title {
  padding: 0;
  text-align: center;
  color: #446280;
  margin-top: 15px;
  line-height: 1;
  text-shadow: 2px 2px 2px #bcccdc;
  font-size: medium;
}

div#appMessagesBox {
  margin: 0;
  padding: 10px;
  background-color: rgb(218, 218, 218);
  text-align: center;
  position: relative;
  z-index: 10;
}

span#appMessages {
  color: red;
  margin: 0 auto;
  height: auto;
}

div.SpinnerBackground {
  background-color: rgba(100, 100, 100, .5);
  /*light gray 50%*/
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
}

div#detailsBackground {
  z-index: 4;
}

table.SpinnerTable {
  position: fixed;
  height: 100vh;
  width: 100%;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

div#spinner {
  border: 16px solid #eeeeee;
  border-top: 16px solid #bbbbbb;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin: 0 auto;
}

div#confirmationBox,
div#selectBox {
  border: 5px solid black;
  background-color: white;
  color: black;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
  text-align: center;
}

div#detailsBox {
  border: 2px solid #999999;
  border-radius: 10px;
  background-color: white;
  color: black;
  width: 95%;
  max-width: 1000px;
  margin: 20px auto;
  padding: 10px;
  text-align: center;
}

div#details {
  text-align: left;
  max-height: 50vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #dddddd;
  background-color: #eeeeee;
}

div#details ol,
div#details ul {
  margin: 0;
}

p#confirmationQuestion {
  text-align: left;
}

button.ConfirmationButton {
  font-size: large;
  border: none;
  padding: 10px;
  color: black;
  background-color: #cccccc;
  display: inline-block;
  min-width: 150px;
  margin: 10px
}

button.ConfirmationButton:hover {
  background-color: #eeeeee;
}

button.ConfirmationButton:disabled {
  background-color: #aaaaaa;
  color: #999999;
}


button.ConfirmationButton:disabled img {
  opacity: 0.33;
}

select#selectInput {
  display: block;
  font-size: medium;
  padding: 10px;
  margin: 10px auto;
  border: 1px solid #999999;
  border-radius: 2px;
  min-width: 200px;
  width: 50%;
  max-width: 500px;
}

div#app {
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

div#loginPage {
  margin: 0 auto;
  max-width: 320px;
  padding: 20px;
  background-color: white;
}

div#loginPage p {
  color: gray;
  font-style: italic;
}

div#loginPage label {
  color: gray;
}

div#loginPage input {
  font-size: x-large;
  display: block;
  margin: 10px 0;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  border: none;
  background-color: #eeeeee;
}

div#loginPage button {
  width: 100%;
  display: block;
  margin: 0;
  padding: 20px;
  font-size: x-large;
  font-weight: bold;
  border: none;
  background-color: #cccccc;
  cursor: pointer;
}

div#loginPage button:hover {
  background-color: #dddddd;
}


div#rememberMeBox {
  text-align: left;
}

div#rememberMeBox input {
  display: inline;
  width: auto;
  margin-right: 10px;
}

div.OrgBox {
  padding: 10px;
  text-align: center;
}

div#coupons {
  border-bottom: 1px solid #cccccc;
}

div.OrgBox h4 {
  margin: 2px 0;
  text-align: left;
}

div.OrgBox h5 {
  text-align: left;
  margin: 0;
}

div.OrgBox p {
  text-align: left;
  font-size: small
}

.TrialColor {
  border-color: #C74300;
  color: #C74300;
}

.SubscribedColor {
  border-color: #446280;
  color: #446280;
}

.AllColor {
  border-color: rgb(173, 162, 2);
  color: rgb(173, 162, 2);
}

.InactiveColor {
  border-color: #999999;
  color: #999999;
}

div.OrgList {
  display: inline-block;
  background-color: white;
  width: 300px;
  height: 300px;
  max-height: 30vh;
  overflow: hidden;
  padding: 0px;
  margin: 5px;
  border-width: 2px;
  border-style: solid;
  border-radius: 10px;
  vertical-align: top;
}

div.OrgListScrollable {
  height: 100%;
  overflow-y: auto;
  margin: 0;
  padding: 5px;
}

div.OrgList ol,
div.OrgList ul {
  text-align: left;
  font-size: small;
  padding-left: 4ch;
  margin: 0;
}

div.OrgList li button {
  margin: 0 !important;
  text-align: left;
  vertical-align: top;
}

div.OrgList button,
div.OrgBox button,
div#formCodes button,
button.AsLink {
  display: inline-block;
  padding: 0;
  margin: 0 5px;
  border: none;
  background-color: transparent;
  color: blue;
  cursor: pointer;
}

div.OrgList button:hover,
div.OrgBox button:hover,
div#formCodes button:hover,
button.AsLink:hover {
  color: gray;
}

div.OrgList button:disabled,
div.OrgBox button:disabled,
div#formCodes button:disabled,
button.AsLink:disabled {
  color: #bbbbbb;
  cursor: initial;
}

div#subHeader {
  line-height: 1;
  margin-bottom: 5px;
}

button.HeaderButton {
  font-size: small;
  display: inline;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

a.HeaderLink {
  font-size: small;
  color: blue !important;
}

a.HeaderLink:hover {
  font-size: small;
  color: gray !important;
}

div.OrgBox input,
div#formCodes input {
  background-color: yellow;
  color: black;
  border: none;
}

div.OrgBox input[type="number"],
div#formCodes input[type="number"] {
  width: 6ch;
}

div.OrgBox input:disabled,
div#formCodes input:disabled {
  background-color: #eeeeee;
  color: black;
}

div#formCodes,
div.OrgBox ol {
  text-align: left;
  font-size: small
}

div.OrgBox li.Red {
  background-color: rgb(255, 220, 220);
}

div.OrgBox li.Green {
  background-color: rgb(225, 250, 220);
}

button.MainButton {
  width: 300px;
  font-size: x-large;
  padding: 20px;
  margin: 10px;
  font-weight: bold;
  border: none;
  background-color: #cccccc;
  cursor: pointer;
}

button.MainButton:hover {
  background-color: #dddddd;
}

.footer-copyright span {
  display: inline-block;
}

.Hide {
  display: none !important;
}

div#formCodesList {
  text-align: center;
}

div#formCodesList a {
  color: blue !important;
}