.signupForm, .loginForm {
  text-align: center;
}

.signupForm.desktop {
  position: absolute;
  margin: 0 auto;
  left: 10%;
  right: 10%;
  max-width: 600px;
  font-size: 14px;
}

.signupForm.mobile {

}

.signupForm.mobile .marketing_checkbox_container {
  font-size: 0.8em;
}

.loginForm {
  margin: 0 auto;
  left: 10%;
  right: 10%;
  max-width: 600px;
}

.md_input {
  display: block;
  max-width: 100%;
  max-height: 20em;
  width: 100%;
  padding: .2em .5em;
  margin-bottom: 1em;
  line-height: 1.97;
  background-color: #f5f5f5;
  border-radius: .25em !important;
  color: #333 !important;
  border: .1em solid #eee;
  border-bottom: .2em solid rgba(0,0,0,.125) !important;
  transition: border-color .1s ease-in-out,box-shadow .1s ease-in-out;
}

.md_input:hover {
    border-bottom: .2em solid #2787b2 !important;
}

.md_btn {
  background-color: #3e8230;
  font-size: 1.5em;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  font-weight: 700;
  min-width: 5em;
  cursor: pointer;
  border: 0;
  border-radius: .25em;
  font-family: Open Sans,sans-serif;
  white-space: nowrap;
  padding: .2em .5em;
  color: white;
  margin: .5em 0;
  min-height: 2.5em;
}

.md_btn:hover {
  background-color: #2c5d22;
}

.md_btn.disabled {
  background-color: #808080;
}
.md_btn.disabled:hover {
  background-color: #6b6b6b;
}

.md_link {
  color: #1a5c86 !important;
  text-decoration: underline;
}

.footnote {
  font-size: 0.85em;
}

.offset_top {
  margin-top: 0.75em;
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto !important; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  font: 13px/20px PTSansRegular,Arial,Helvetica,sans-serif;
}

/* Modal Content/Box */
.modal_content {
  text-align: center;
  top: 150px;
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 500px;
}

/* The Close Button */
.close_forgot_popup {
  color: #aaa;
  position: absolute;
  right: 1em;
  top: 0.5em;
  font-size: 28px;
  font-weight: bold;
}

.close_forgot_popup:hover,
.close_forgot_popup:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Modal Header */
.modal_header {
  padding: 2px 16px;
  /*background-color: #5cb85c;*/
  color: white;
}

/* Modal Body */
.modal_body {
  padding: 2px 16px;
  margin: 0 2em;
}

/* Modal Footer */
.modal_footer {
  padding: 2px 16px;
  margin: 0 0 1em 0;
  /*background-color: #5cb85c;*/
  color: white;
  text-align: center;
}

/* Modal Content */
.modal_content {
  position: relative;
  /*background-color: #fefefe;*/
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 150px;; opacity: 1}
}

.modal .main_header {
  font-size: 3em !important;
  margin: 0.7em 0 0 !important;
  color: #333333 !important;
  /*font-family: 'Arial, Helvetica, sans-serif;' !important;*/
}

.modal .sub_header {
  font-size: 1.5em !important;
  color: #777777 !important;
  /*font-family: 'Arial, Helvetica, sans-serif;' !important;*/
}