/* RESETS */

html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
	background: #004a96;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* TYPOGRAPHY */

.ps-wrapper {
  font-family: 'Roboto', sans-serif;
  color: #fff;
  position: relative;
}

.ps-title h2 {
  font-size: 2rem;
  font-weight: 400;
}

.ps-description p {
  line-height: 1.4;
  font-weight: 400;
  font-size: 1.25rem;
}

.ps-form-intro p {
  font-weight: 300;
}

.ps-form input {
  font-family: inherit;
  font-size: 1.125rem;
}

.ps-form label {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1rem;
}

.ps-form label a {
  color: #fff;
}

.ps-footer-item a {
  font-size: .875rem;
  color: #fff;
  text-decoration: none;
}

.ps-modal p {
  font-size: .9rem;
  font-weight: 300;
}

a.ps-link {
  font-weight: 400;
  text-decoration: none;
}

a.ps-link:hover,
a.ps-link:focus {
  text-decoration: underline;
}

/* GLOBAL */

.ps-wrapper {
  background: #004a96;
  padding-bottom: 3rem;
}

.ps-container-lg {
  max-width: 1200px;
  margin: auto;
}

.ps-container-md {
  max-width: 768px;
  margin: auto;
}

.ps-container-sm {
  max-width: 390px;
  margin: auto;
}

/* TOP & BOTTOM SECTION */

.ps-hero {
  margin-bottom: 1.375rem;
}

.ps-intro {
  padding: 0 1.875rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.ps-ending {
  padding: 0 1.875rem;
  margin: 2rem auto;
  text-align: center;
}

.ps-description {
  margin-bottom: 1.375rem;
}

.ps-terms {
  text-align: center;
  padding: 0 1.875rem;
  margin-bottom: 4.5rem;
}

.ps-footer {
  text-align: center;
  padding: 0 1.875rem;
}

.ps-date {
  margin-bottom: .5rem;
}

.ps-footer-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.ps-footer-item {
  padding: 0 .25rem;
  margin-bottom: .5rem;
}


/* FORM  */

.ps-form {
  max-width: 390px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
  padding: 0 .75rem;
}

.ps-form-intro {
  margin-bottom: 1rem;
}

.ps-form label {
  display: block;
  margin-bottom: .6rem;
}

.ps-input-fields {
  display: flex;
  align-items: center;
}

.ps-input-fields div:nth-child(1) {
  flex: 2;
}

.ps-input-fields div:nth-child(2) {
  flex: 1;
  padding-left: 1rem;
}

.form-field input {
  display: block;
  width: 100%;
  height: 45px;
  border: 1px solid #707070;
  border-radius: 6px;
  padding: .25rem .5rem;
  outline: none;
}

.form-field {
  position: relative;
  margin-bottom: 1.5rem;
}

.ps-checkboxes {
  margin-bottom: 3rem;
}

.ps-checkbox-container {
  position: relative;
  display: flex;
  padding-bottom: .5rem;
}

input[type="checkbox"] {
	
  background-color: #fff;
  border: 1px solid #707070;
  border-radius: 6px;
  color: #707070;
  outline: none;
  margin: 0;
  padding: 0;
  width: 27px;
  height: 30px;
}

input[type="checkbox"]:checked {
  background: #fff;
  color: #707070;
}

.ps-checkbox-container label {
  margin-left: 1rem;
  flex: 1;
}

/* FORM MESSAGES */

.form-field.success input {
  border: 3px solid #25A8E0;
}

.form-field.error input {
  border: 3px solid #f71f07;
}

.form-field small {
  color: #f28f8f;
  text-shadow: 0px 0px 3px #361212;
}

.ps-checkbox-container small {
  color: #f28f8f;
  text-shadow: 0px 0px 3px #361212;
  position: absolute;
	bottom: 0;
	right: 0;
}

.ps-checkbox-container small.ps-message {
  font-size: 1.25rem;
  text-align: center;
  max-width: 100%;
  left: 0;
  bottom: -16px;
}


/* BUTTONS */

.ps-btn {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  background: #25A8E0;
  color: #fff;
  border: none;
  border-radius: 6px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.ps-btn-register {
  padding: 1rem 2rem;
}

.ps-btn-link {
  max-width: 280px;
  padding: 1rem;
}

.ps-back-btn {
  margin: 1rem auto;
}

.ps-back-btn a {
  display: inline-block;
  background: #25A8E0;
  color: #fff;
  margin: 1rem auto;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  padding: 1rem;
}

.ps-modal {
  background-color: #fff;
  border: 2px solid #707070;
  border-radius: 5px;
  padding: 1rem;
  color: #1b1b1b;

  width: 600px;
  max-width: 90%;
  height: 80%;

  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10;
  transform: translate(-50%, -50%) scale(0);
  transition: 300ms ease-in-out;
}

.ps-modal.active {
  transform: translate(-50%, -50%) scale(1);
}

.ps-modal-header {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}

.ps-modal-content {
  height: 88%;
}

.ps-modal-body {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  overflow-y: scroll;
  height: 100%;
  padding: .5rem;
}

.ps-modal-body h4 {
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  margin: 1rem auto;
}

.ps-modal-body p {
  line-height: 1.5;
  margin-bottom: 1rem;
}

.ps-modal-body ul {
  padding: 1rem;
  margin: 1rem;
}

.ps-modal-body ul li {
  list-style-type: initial;
  line-height: 1.5;
  margin-bottom: .5rem;
}


.ps-modal-close {
  background: #25A8E0;
  color: #fff;
  border: 1px solid #eee;
  cursor: pointer;
  padding: .40rem .75rem;
  max-height: 30px;
}

.ps-overlay {
  background-color: rgba(0, 0, 0, .5);
  position: fixed;
  opacity: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  transition: 300ms ease-in-out;
}

.ps-overlay.active {
  pointer-events: all;
  opacity: 1;
}
