:root {
  --primary: var(--blue);
  --park-blue-light-blue: #009ee3;
  --park-blue-dark-blue: #011b3a;
  --park-blue-green: #77b82a;
}

body,
html,
* {
    font-family: "Open Sans", sans-serif;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  /* font-family: var(--fonts); */
  margin: 0;
  padding: 0;
}

@media (min-height:650px) {
  body {
      padding-top: 0;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
  }
}

.icon {
  position: relative;
  top: -10px;
}

.logged-out iframe {
  display: none;
  width: 0;
  height: 0;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.body-content {
  width: 100%;
  min-height: 100vh;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.login-page,
.logout-page,
.error-page {
  margin: 40px auto;
  width: 80%;
  max-width: 370px;
  background: whitesmoke;
  border-radius: 6px;
  overflow: hidden;
}

.login-page.logout-page {
  max-width: 322px;
}

.login-page.logged-out-page {
  max-width: 290px;
}

.login-page .page-header,
.logout-page .page-header {
  padding: 40px 0;
}

@media (min-width:600px) {
  .login-page .page-header,
  .logout-page .page-header {
      padding: 60px 0 60px;
  }
}

.login-page .page-header img,
.logout-page .page-header img {
  margin: auto;
  width: 90%;
  max-width: 260px;
  display: block;
}

.login-page .page-header--smaller,
.logout-page .page-header--smaller {
  padding: 30px 0;
}

.login-page .page-header--smaller img,
.logout-page .page-header--smaller img {
  width: 200px;
}

.form-component h1,
.form-component p {
  margin: 0 auto 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  width: 80%;
  font-size: 1em;
  color: #333;
}

.form-component p {
  border: 0;
  color: #222;
}

.form-component fieldset {
  outline: 0;
  border: 0;
  padding: 0;
  display: block;
}

.form-group {
  margin: 0 auto 10px;
  width: 80%;
}

.form-group label {
  padding: 0 0 5px;
  display: block;
}

.form-group input {
  font-family: var(--fonts);
  width: 100%;
  line-height: 35px;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.1);
  display: block;
}

.login-button-container button,
.login-button-container a {
  margin: 30px auto;
  width: 100%;
  line-height: 40px;
  text-align: center;
  background: var(--primary);
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  -webkit-box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.2);
  letter-spacing: 2px;
  font-family: var(--fonts);
  color: #fff;
  display: block;
  cursor: pointer;
  background: var(--park-blue-dark-blue);
}

  .login-button-container button:hover,
  .login-button-container a:hover {
      background: var(--park-blue-light-blue);
  }

.login-button-container--gray a {
  background: white;
  color: #2d2d2d;
}

.login-page.logged-out-page .login-button-container {
  width: 80%;
  margin: auto;
  font-size: 0.9em;
}

.login-page.logged-out-page .login-button-container a {
  letter-spacing: 0;
}

.forgot {
  margin: 0 auto 30px;
  text-align: center;
}

.forgot a {
  line-height: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: inline-block;
  color: var(--primary);
}

.error-title {
  font-size: 1.1em;
  font-weight: 700;
  padding-bottom: 20px;
  text-align: center;
}

.error-message {
    font-size: 1.1em;
    font-weight: 700;
    padding-bottom: 20px;
    text-align: center;
    color: red;
}

.error-subtitle {
}

.error-description {
}

.login-page .alert {
  margin: 0 auto 20px;
  width: 80%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.1);
}

.login-page .alert.alert-danger {
  background: #ffd0d0;
}

.alert.toast-alert {
  position: fixed;
  width: 230px;
  -webkit-animation: toastFixed 5000ms ease-in-out forwards;
  animation: toastFixed 5000ms ease-in-out forwards;
}

.alert.toast-alert--center {
  margin: auto;
  left: 20px;
  right: 20px;
  bottom: 20px;
}

.alert.toast-alert--right {
  margin: 0;
  right: 20px;
  bottom: 20px;
}

@-webkit-keyframes toastFixed {
  0% {
      -webkit-transform: translate3d(0,100%,0);
      transform: translate3d(0,100%,0)
  }

  20%, 80% {
      -webkit-transform: translate3d(0, 0%, 0);
      transform: translate3d(0, 0%, 0);
      opacity: 1;
  }

  100% {
      opacity: 0;
  }
}

@keyframes toastFixed {
  0% {
      -webkit-transform: translate3d(0,100%,0);
      transform: translate3d(0,100%,0)
  }

  20%, 80% {
      -webkit-transform: translate3d(0, 0%, 0);
      transform: translate3d(0, 0%, 0);
      opacity: 1;
  }

  100% {
      opacity: 0;
  }
}

.login-page .alert.alert-danger ul {
  list-style: none;
  padding: 0;
}

.login-page .alert.alert-danger ul li {
  margin: 5px 0;
  font-size: 0.9em;
}

.email-confirmation {
  background: #fff;
  margin-top: 30px;
  padding: 40px;
  border-radius: 4px;
  font-size: 1.1em;
}

.email-confirmation__text {
  text-align: center;
}

.email-confirmation h3 {
  display: inline-block;
}

.email-confirmation .tick {
  position: relative;
  margin: 20px auto 50px;
  width: 90px;
  height: 90px;
  background: var(--primary);
  border-radius: 100%;
  display: block;
}

.email-confirmation .tick:before {
  position: absolute;
  margin: auto;
  top: -5px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 40px;
  border: 5px solid #fff;
  border-width: 0 5px 5px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  content: '';
}

.close.cookie-close {
  color: #000;
  font-size: 1.2em;
}

.btn.close.cookie-close {
  background-color: whitesmoke;
  opacity: inherit;
  margin-top: 4px;
  padding: 0.55em 0.75em;
}

span.green {
    color: green;
}

span.red {
    color: red;
}


#cb-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    border-radius: 0;
}

.btn-primary {
    border-color: black;
    background-color: var(--park-blue-dark-blue);
}

.btn-primary:hover {
    background-color: var(--park-blue-dark-blue);
}
