body {
  background: url("../img/background-small.jpg") center no-repeat;
  background-size: cover;
  height: 100vh;
  overflow: hidden;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  font-family: Verdana, sans-serif;
}

@media only screen and (min-width: 768px) {
  body {
    background: url("../img/background.jpg") center no-repeat;
    background-size: cover;
  }
}

a {
  color: inherit;
}

.alert {
  padding: 1em 0;
}

.alert-error {
  color: red;
}

.teds-kc-header {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 51, 102, 0.77);
}

.teds-kc-header-logo-sm {
  padding: 10px 8px;
}

.teds-kc-header-logo {
  padding: 15px 10px;
  display: none;
}

/* For larger screen, hide small logo and show regular one */
@media only screen and (min-width: 768px) {
  .teds-kc-header-logo-sm {
    display: none;
  }
  .teds-kc-header-logo {
    display: block;
  }
}

.teds-kc-footer, .teds-kc-footer-sm {
  background-color: rgba(0, 51, 102, 0.77);
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  padding: 5px;
}

.teds-kc-footer {
  display: none;
  -ms-flex-pack: justify;
      justify-content: space-between;
}

/* For larger screen, hide small footer and show regular one */
@media only screen and (min-width: 768px) {
  .teds-kc-footer-sm {
    display: none;
  }
  .teds-kc-footer {
    display: -ms-flexbox;
    display: flex;
  }
}

.teds-kc-footer-sm-2 {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
}

.teds-kc-footer-copyright {
  color: #eeeeee;
  font-size: 12px;
  font-weight: bold;
}

.teds-kc-footer-contact, .teds-kc-footer-contact-sm {
  color: #f7a31e;
  font-size: 13px;
  font-weight: bold;
  text-decoration: underline;
}

.teds-kc-footer-contact-sm {
  text-align: center;
  padding-top: 8px;
  padding-bottom: 8px;
  display: none;
}

.teds-kc-footer-logo {
  padding-right: 8px;
}

.teds-kc-container {
  background-color: white;
  width: 30em;
  padding: 24px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0 0 0 1px #cccccc, 7px 7px 5px #cccccc;
}

.teds-kc-label {
  margin-top: 16px;
  color: #454545;
  display: block;
}

.teds-kc-input-field {
  display: block;
  width: 100%;
  font-size: 16px;
  font-family: Verdana, sans-serif;
  border-color: #101926;
  border-width: 2px;
  border-radius: 5px;
}

.teds-kc-action {
  padding-top: 1em;
  font-size: 14px;
  text-decoration: underline;
  color: #003366;
}

.teds-kc-forgot-password-action {
  float: right;
}

.teds-kc-button {
  color: #ffffff;
  background-color: #003366;
  font-size: 16px;
  font-family: Verdana, sans-serif;
  font-weight: bold;
  text-align: center;
  margin-top: 16px;
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
}

.teds-kc-remember-me-label {
  font-size: 14px;
  color: #003366;
}

/* Hide default checkbox control and draw a replacement before checkbox's label. */
.checkbox {
  margin-top: 16px;
  position: relative;
}

input[type=checkbox] {
  opacity: 0;
}

input[type=checkbox] + label {
  cursor: pointer;
}

input[type=checkbox] + label:before {
  width: 17px;
  height: 17px;
  top: 0;
  left: 0;
  position: absolute;
  content: ' ';
  background: #ffffff;
  border: 2px solid #101926;
  border-radius: 5px;
  text-align: center;
  line-height: 17px;
  font-weight: bold;
}

input[type=checkbox]:checked + label:before {
  content: '\2714';
  vertical-align: middle;
}

/* Define modal box that shows contact info */
#modal {
  opacity: 0;
  position: absolute;
  visibility: hidden;
  width: 65%;
  top: 28%;
  left: 17%;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  transition: all .4s ease;
  -moz-transition: all .4s ease;
  -webkit-transition: all .4s ease;
}

#modal:target {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #f3f3f3;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  z-index: 20;
  border-radius: 5px;
}

#modal .overlay {
  background-color: #000;
  background: rgba(0, 0, 0, 0.8);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

#modal .copy, #modal .header {
  padding: 10px;
}

#modal .header {
  background-color: rgba(0, 51, 102, 0.77);
  color: #f3f3f3;
}

#modal .copy a {
  color: #ffffff;
  background-color: #003366;
  text-decoration: none;
  display: inline-block;
  margin-top: 16px;
  padding: 5px 10px;
  border-radius: 3px;
}

/* To un-hide headers, comment out */
.teds-kc-header-logo, .teds-kc-header-logo-sm {
  display: none;
}
