@font-face {
  font-family: "museo sans";
  src: url("fonts/museosans-100.otf");
}

body,
html {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0px;
}

* {
  box-sizing: inherit;
}

body {
  background-image: url(images/fosse-park-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "museo sans", Open Sans, Arial, sans-serif;
  color: #ffffff;
  overflow-y: auto;
}

.flex-page {
  display: flex;
  height: 100%;
  z-index: 1;
}

#form-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.fosse-park-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(161, 93, 192, 0.8);
  padding: 20px;
  width: 100%;
}

.fosse-park-logo img {
  width: 150px;
}

.error-message {
  display: none;
  color: red;
  font-size: 16px;
  bottom: -14px;
  position: absolute;
}

.error-message.terms-error {
  width: 100%;
  min-width: 346px;
  bottom: -35px;
}

#form {
  border-radius: 4px;
  position: relative;
  max-width: 600px;
  z-index: 2;
  margin: 10px auto;
  padding: 20px 30px;
}

.form-backgrounds {
  background: rgba(37, 55, 70, 0.9);
  padding: 20px 40px 2px;
  margin-top: 10px;
}

.form-row:after {
  clear: both;
  content: " ";
  display: table;
}

.form-row {
  max-width: 400px;
  margin: auto;
}


.form-row input {
  display: block;
  height: 42px;
  margin-bottom: 5px;
  border: none;
  box-sizing: border-box;
  padding-left: 18px;
  font-size: 18px;
  padding-right: 18px;
  background: white;
  color: #253746;
  width: 100%;
  font-family: "museo sans", Open Sans, Arial, sans-serif;
}


.opt-in-terms {
  background: rgba(161, 93, 192, 0.8);
  padding: 2px 20px;
  margin-top: 10px;
  line-height: 20px;
}

.btn-wrapper {
  max-width: 400px;
  margin: auto;
}

#submit-btn {
  border: none;
  border-radius: 20px;
  color: white;
  background: rgb(161, 93, 192);
  width: 100%;
  height: 42px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0px 3px 6px #00000029;
  margin: 15px 0;
  font-family: "museo sans", Open Sans, Arial, sans-serif;
}

#submit-btn span {
  font-weight: 800;
}

#submit-btn:hover {
  background: rgb(145, 93, 208);
}

#submit-btn .fa-circle-o-notch {
  font-size: 18px;
  display: none;
  color: #16171e;
}

#submitDetails {
  display: none;
}

.cb {
  display: none !important;
}

.cb-cnt {
  display: grid;
  grid-template-columns: 30px 1fr;
  vertical-align: bottom;
  width: 100%;
}

.cb-replaced {
  position: relative;
  display: block;
  margin-right: 10px;
  width: 20px;
  height: 20px;
  background-color: white;
  float: left;
  cursor: pointer;
  border-radius: 2px;
}

.cb-replaced .inner {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: white;
  background-image: none;
  background-size: contain;
  background-repeat: no-repeat;
}

.cb-replaced.checked .inner {
  background-image: url("images/captiveportal-cb-check.png");
  background-color: rgba(161, 93, 192, 0.8);
}

.cb-replaced.checked {
  background-color: rgba(161, 93, 192, 0.8);
}

.cb-text {
  float: left;
  color: white;
  font-size: 16px;
}

.cb-text span {
  white-space: nowrap;
}

.input-group {
  position: relative;
  display: block;
  margin-right: 12px;
  margin-bottom: 18px;
  float: left;
  width: 100%;
}

::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #253746;
}

::-moz-placeholder {
  /* Firefox 19+ */
  color: #253746;
}

.input-group.full-width {
  width: 100%;
  float: none;
  clear: both;
}

.clear-both {
  clear: both;
  display: block;
  position: relative;
}

/* The Modal (background) */
.modal {
  display: block;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 2;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: hidden;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #ebdc55;
  color: #16171e;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: none;
  border-radius: 4px;
  width: 80%;
  /* Could be more or less, depending on screen size */
  max-width: 500px;
}

/* .modal-content p {
  margin-top: 0px;
  margin-bottom: 15px;
}

.modal-content button {
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  padding: 10px;
  border: none;
  width: 130px;
}

.modal-content button:first-child {
  margin-right: 8px;
}

.modal-content button:hover {
  background-color: #ffc8c8;
} */

/* 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;
} */

.extra-info-btns button {
  background: transparent;
  border: none;
  font-size: 16px;
  color: white;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.extra-info-right {
  width: 60%;
  background: #fff;
  border-radius: 4px;
  position: absolute;
  right: -100%;
  top: 20px;
  padding: 20px;
  overflow-y: auto;
  transition: 0.3s;
  margin-left: auto;
  margin-right: auto;
  z-index: 3;
}

.extra-info-right.active {
  left: 0;
  right: 0;
  transition: 0.3s;
}

.extra-info-right .close-info {
  background: rgb(161, 93, 192);
  border-radius: 50%;
  color: #fff;
  height: 30px;
  width: 30px;
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.extra-info-right .close-info:hover {
  background: rgb(145, 93, 208);
}

.extra-info-right-logo {
  display: flex;
  justify-content: center;
  background: rgba(161, 93, 192, 0.8);
  padding: 10px;
}

.extra-info-right-logo img {
  min-height: initial;
  min-width: initial;
  width: 140px;
}

.extra-info-right-text {
  color: #191919;
}

.extra-info-right-text h4 {
  font-size: 16px;
  margin-bottom: 10px;
  text-decoration: underline;
}

.extra-info-right-text p {
  font-size: 16px;
  margin: 10px 0;
}

.extra-info-right-text li {
  margin: 10px 0;
}

/* The Modal (background) */
/* .cookie-modal {
  display: block;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
} */

/* Modal Content/Box */
/* .cookie-modal-content {
  background-color: #8B2581;
  padding: 20px;
  border: none;
  border-radius: 5px;
  width: 80%;
  max-width: 500px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
} */

/* .cookie-modal-content p {
  margin-top: 0px;
  margin-bottom: 15px;
  color: #FFF;
}

.cookie-modal-content button {
  background-color: #C7D72A;
  color: #16171E;
  border-radius: 4px;
  cursor: pointer;
  padding: 10px;
  border: none;
  width: 130px;
}

.cookie-modal-content button:first-child {
  margin-right: 8px;
}

.cookie-modal-content button:hover {
  background-color: #98a520;
} */


@media only screen and (max-width: 1024px) {

  html,
  body {
    width: initial;
    height: 100%;
    margin: 0px;
    overflow-y: auto;
  }

  #form-wrapper {
    position: relative;
    z-index: 2;
  }

  .form-backgrounds {
    padding: 20px 40px 10px;
  }

  .error-message {
    bottom: -7px;
  }

  .error-message.terms-error {
    bottom: -35px;
  }

  .extra-info-right {
    width: 80%;
  }

  .form-row input {
    width: 100%;
    margin-right: 0px;
    height: 40px;
    margin-bottom: 10px;
    font-size: 16px;
  }

  .input-group {
    margin-right: 0;
    float: none;
    width: 90%;
    margin: 6px;
  }

  .cb-cnt {
    display: grid;
    grid-template-columns: 30px 1fr;
  }

  .cb-text {
    font-size: 16px;
    line-height: 22px;
  }

  #submit-btn {
    font-size: 18px;
    height: 40px;
  }

  .form-row {
    display: grid;
    place-items: center;
    width: 100%;
  }

}

@media only screen and (max-width: 700px) {
  body {
    background-position: 70%;
  }

  .form-backgrounds {
    padding: 15px 20px 5px;
  }

  .fosse-park-logo {
    padding: 10px;
  }

  .fosse-park-logo img {
    width: 100px;
  }

  .btn-wrapper {
    max-width: 300px;
  }

  .extra-info-right.active {
    right: 0px;
    top: 20px;
  }

  .extra-info-right {
    top: 20px;
    width: calc(100% - 40px);
  }

  .error-message {
    font-size: 14px;
  }
}

@media only screen and (max-width: 450px) {
  .error-message.terms-error {
    bottom: -55px;
  }

  p,
  .extra-info-btns button {
    font-size: 14px;
  }
}

@media only screen and (max-width: 375px) {
  .error-message.terms-error {
    bottom: -80px;
  }
}