html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  width: 100%;
  text-align: center;
}

html {
  overflow-x: hidden;
  overflow-y: auto;
}

.background_backing, .background_wrapper, .background_wrapper2,
.background_wrapper3, .background_film {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center center;
  z-index: -2;
  background-image: url('/images/pup.jpg');
  animation-name: wrapper_transition;
  animation-iteration-count: infinite;
  animation-duration: 15s;
}

.background_backing {
  z-index: -3;
  background: rgb(69, 69, 69);
  animation-name: none;
}

.background_film {
  z-index: -1;
  background: rgba(69, 69, 69, .8);
  animation-name: none;
}

@keyframes wrapper_transition {
  0% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  36% {
    opacity: 0;
  }

  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.background_wrapper2 {
  opacity: 0;
  background-image: url('/images/chipmunk.jpg');
  animation-name: wrapper_transition2;
}

@keyframes wrapper_transition2 {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 0;
  }

  36% {
    opacity: 1;
  }

  63% {
    opacity: 1;
  }

  69% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.background_wrapper3 {
  opacity: 0;
  background-image: url('/images/fox.jpg');
  animation-name: wrapper_transition3;
}

@keyframes wrapper_transition3 {
  0% {
    opacity: 0;
  }

  63% {
    opacity: 0;
  }

  69% {
    opacity: 1;
  }

  95% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.splash_message_1, .splash_message_2, .splash_message_3 {
  font-size: 50px;
  animation-name: splash_transition;
  animation-iteration-count: infinite;
  animation-duration: 15s;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.splash_message_2 {
  animation-name: splash_transition2;
}

@keyframes splash_transition {
  0% {
    height: 60px;
  }

  31% {
    height: 60px;
  }

  31.1% {
    height: 0;
  }

  100% {
    height: 0;
  }
}

@keyframes splash_transition2 {
  0% {
    height: 0px;
  }

  31% {
    height: 0px;
  }

  31.1% {
    height: 60px;
  }

  64% {
    height: 60px;
  }

  64.1% {
    height: 0;
  }

  100% {
    height: 0;
  }
}

.splash_message_3 {
  animation-name: splash_transition3;
}

@keyframes splash_transition3 {
  0% {
    height: 0px;
  }

  64% {
    height: 0px;
  }

  64.1% {
    height: 60px;
  }

  99.9% {
    height: 60px;
  }

  100% {
    height: 0;
  }
}

.intro_text {
  text-align: center;
}

.splash_popup {
  background: rgba(255, 255, 255, .8);
  padding: 10px;
  position: relative;
}

.main_splash {
  margin: 0;
  padding-top: 15px;
}

.main_intro {
  font-size: 20px;
  max-width: 440px;
  text-align: center;
  display: inline-block;
  font-weight: normal;
  line-height: 1.5em;
  padding-top: 35px;
}

#signed_in {
  display: none;
}

.splash_outer_wrapper {
  display: none;
}

.splashscreen .splash_outer_wrapper {
  display: inline-block;
}

.calcscreen_outer_wrapper {
  display: none;
  background: rgb(242, 242, 242);
}

.calcscreen .calcscreen_outer_wrapper {
  display: block;
}

.signup_wrapper {
  display: none;
}

.signupscreen .signup_wrapper {
  display: inline-block;
  max-width: 600px;
}

.signed_in_wrapper {
  display: none;
  float: right;
}

.signed_out_wrapper {
  display: none;
  float: right;
}

.app_signed_in .signed_in_wrapper {
  display: block;
}

.app_signed_out .signed_out_wrapper {
  display: block;
  width: min(80%, 250px);
}

.user_profile_container {
  display: none;
  background: rgb(242, 242, 242);
  min-height: 300px;
  width: 96vw;
}

.profilescreen .user_profile_container {
  display: block;
}

.profile_status_label {
  text-align: right;
}

.calcscreen_outer_wrapper {
  display: none;
}

.calc_screen .calcscreen_outer_wrapper {
  display: block;
}

.login_outer_wrapper {
  display: none;
}

.paymentdetails_wrapper {
  display: none;
  width: 400px;
  height: 300px;
  background: rgb(242, 242, 242);
}

.paymentscreen .paymentdetails_wrapper {
  display: inline-block;
}

.paymentscreen .page_wrapper {
  zoom: 1;
}

.loginscreen .login_outer_wrapper {
  display: inline-block;
  max-width: 600px;
}

.field_edit_label {
  margin-bottom: .75em;
  width: min(75%, 900px);
  display: inline-block;
  position: relative;
}

.field_edit_label>div {
  text-align: left;
  padding-bottom: 3px;
  line-height: 25px;
  font-size: .9em;
}

.field_edit_label>div i {
  font-size: 16px;
  border: solid 1px silver;
  padding: 4px;
  position: absolute;
  z-index: 1;
  top: 1px;
  right: 1px;
  cursor: pointer;
}

.field_edit_label>div>div {
  display: none;
}

.expanded.field_edit_label>div>div {
  display: block;
  padding: 4px;
}

.field_edit_label span {
  color: red;
  font-weight: bold;
}

.field_edit_label input {
  background: transparent;
  width: min(100%, 900px);
  height: min(28px, 32px);
  border: solid rgb(69, 69, 69) 1px;
  border-radius: 5px;
  text-align: center;
  font-size: min(18px, 24px);
}

.projected_monthly_payment, .est_monthly_payment {
  font-weight: bold;
  font-size: 30px;
}

.output_wrapper_circle {
  border-radius: 100%;
  border: solid #4898FF 20px;
  height: 554px;
  width: 571px;
  padding-top: 50px;
  margin: 10px 15px;
}

#navigate_calc_screen {
  font-size: 18px;
  color: white;
  background: black;
  width: 280px;
  height: 64px;
  border-radius: 6px;
  margin-top: -10px;
}

.header_button {
  width: min(100%, 350px);
  height: min(2rem, 4rem);
  background: transparent;
  border: solid rgb(69, 69, 69) 1px;
  border-radius: 5px;
  text-align: center;
  font-size: min(12px, 16px);
  font-weight: bold;
  margin: 8px;
  text-decoration: none;
  color: rgb(69, 69, 69);
  display: inline-block;
}

.output_label_1st, .output_label_2nd {
  font-size: 28px;
  display: block;
}

.output_label_1st {
  margin-top: 60px;
}

.est_monthly_payment, .projected_monthly_payment {
  font-size: 70px;
  font-weight: 700;
}

.down_arrow {
  height: 90px;
  background-image: url("/images/downarrow.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.form_wrapper {
  display: flex;
  flex-direction: column;
  border-bottom: solid rgb(69, 69, 69) 1px;
  width: auto;
}

.output_value_wrapper {
  flex: 1;
  font-size: 14px;
  border: solid rgb(69, 69, 69) 1px;
  padding-bottom: 6px;
  padding-top: 4px;
  position: relative;
}

.output_value_wrapper>i {
  font-size: 16px;
  border: solid 1px silver;
  padding: 4px;
  position: absolute;
  z-index: 1;
  top: 1px;
  right: 1px;
  cursor: pointer;
}

.output_value_wrapper .description {
  display: none;
}

.expanded .output_value_wrapper .description {
  display: block;
}

.lifetime_savings_value,
.lifetime_savings_100bp_value,
.lifetime_savings_200bp_value,
.lifetime_savings_optimal_value {
  font-size: min(24px, 28px);
  font-weight: bold;
  margin-top: 10px;
}

.lifetime_savings_optimal_value.descrpt {
  font-size: 40px;
}

.cta_right_panel {
  display: flex;
  flex-direction: column;
  background: rgb(242, 242, 242);
  justify-content: center;
  align-items: center;
  padding-bottom: 8px;
}

.cta_header_text {
  font-weight: bold;
}

.cta_sub_text {
  padding: 20px;
  text-align: justify;
  width: min(70%, 500px);
}

.cta_left_panel {}

.cta_white_wrapper {
  display: inline-block;
  height: 435px;
  width: 350px;
  margin-top: 144px;
  text-align: center;
  border-radius: 7px;
}

.cta_inner_panel {
  width: 350px;
  height: 420px;
  background: rgb(242, 242, 242);
  display: inline-block;
  margin-top: 7px;
  border-radius: 7px;
  border: solid black 1px;
}

.green_circle_dot {
  background: #88DD9B;
  border-radius: 100%;
  width: 54px;
  height: 54px;
  display: inline-block;
  margin-top: 30px;
}

.form_definitions {
  text-align: left;
}

.def_wrapper {
  display: flex;
  flex-direction: row;
}

.def_title {
  font-size: 28px;
}

.def_def {
  font-size: 22px;
  flex: 1;
  padding-top: 6px;
}

.copyright_footer {
  font-size: 18px;
}

.elipse {
  width: 40px;
  height: 28px;
  border-radius: 100%;
  border: solid rgb(69, 69, 69) 1px;
  display: inline-block;
  margin: 0 10px;
}

.cta_display_panel {
  display: flex;
  flex-direction: column;
  border-bottom: solid rgb(69, 69, 69) 1px;
  width: auto;
}

.app_signed_in .cta_display_panel {
  display: none;
}

.signup_form {
  background: rgb(242, 242, 242);
}

.signup_subform {
  display: inline-block;
  line-height: 24px;
  font-size: 18px;
}

.signup_subform input {
  font-size: 18px;
  height: 20px;
}

.signup_subform>label {
  display: block;
}

.signup_subform>label span {
  display: block;
  text-align: left;
}

#profile_open_button {}

.user_profile_container label {
  display: inline-block;
}

.user_profile_container label div {
  text-align: left;
}

.user_profile_wrapper {
  display: flex;
  flex-direction: row;
}

.logo_img {
  width: min(360px, 400px);
}

.user_profile_wrapper .fields1,
.user_profile_wrapper .fields2 {
  flex: 1;
}

.fields3 {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.notification_frequency,
.notification_period {
  font-size: 18px;
}

#show_save_settings_popup {
  display: none;
}

.app_signed_in #show_save_settings_popup {
  display: inline-block;
}

.confirm_calc_settings_wrapper {
  display: none;
}

.confirmcalcsettingsscreen .confirm_calc_settings_wrapper {
  display: block;
  max-width: 750px;
}

.confirm_calc_settings_wrapper {
  background: rgb(242, 242, 242);
  padding: 20px;
  margin-top: 20px;
}

.calc_detail_display {
  background: white;
  padding: 10px;
  line-height: 2em;
  font-size: 1.25em;
}

.header_button.default_action_button {
  color: #4898FF;
}

#show_save_settings_popup {
  font-weight: bold;
  margin: -10px 0 20px 0;
}

.user_profile_container .header_button {
  width: 250px;
}

.terms_text {
  padding: 20px 80px;
  text-align: left;
}

.notification_setting {
  text-align: left;
  padding-left: 30px;
}

.signup_cancel_button {
  margin: 20px;
  font-size: 16px;
  width: 80px;
}

.subtitle_m_hidden {
  display: flex;
  flex-direction: row;
  display: none;
}

.subtitle_text {
  width: 360px;
  text-align: center;
  font-weight: bold;
  font-size: 24px;
}

.sign_in_conatiner {
  width: 100%;
  display: flex;
  flex: 1;
  justify-content: space-around;
  align-items: center;
}

.page_header {
  width: auto;
  display: flex;
  flex-direction: row;
  border-bottom: solid rgb(69, 69, 69) 1px;
}

.page_header .container1 {
  display: flex;
  flex-direction: column;
  flex: 1;
  flex-grow: 2;
}

.mission_text {
  font-size: min(16px, 18px);
  padding: 4px 8px 10px 8px;
  font-weight: bold;
}

.header_img {
  width: min(100%, 300px);
}

.input_fields_panel {
  align-items: center;
  justify-content: space-around;
  width: auto;
}

.fields_panel_text {
  font-size: 32px;
  padding: 1rem;
  font-weight: bold;
}

.circle_container {
  display: none;
}

.output_value_container {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  height: auto;
}

.mission_spacer {
  display: none;
}

.about_us_container {
  border-bottom: solid rgb(69, 69, 69) 1px;
  text-align: center;
  font-size: 1rem;
  width: auto;
}

.output_container {}

.disclaimer_container,
.disclaimer_wrapper,
.disclaimer_text,
.about_us_wrapper {
  width: auto;
}

.about_us_text {
  padding: 0 min(1.4rem, 60px);
  padding-bottom: 10px;
  text-align: left;
  font-size: 24px;
}

.disclaimer_text {
  padding: 0 min(1rem, 20px);
  padding-bottom: 8px;
}

.disclaimer_container {
  text-align: center;
  font-size: 14px;
  margin: 0;
}

.footer_header_text {
  font-weight: bold;
  font-size: 18px;
}

.page_wrapper {
  width: 100%;
  display: block;
}

.mobile_result_panel {
  padding: 0 10px;
  padding-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

@media (min-width: 800px) {
  .page_wrapper {
    zoom: .68
  }
}

@media (min-width: 1200px) {
  .page_wrapper {
    zoom: .74
  }
}

@media (min-width: 1200px) {
  .page_wrapper {
    zoom: .82
  }
}

@media (min-width: 1300px) {
  .page_wrapper {
    zoom: .9
  }
}

@media (min-width: 1400px) {
  .page_wrapper {
    zoom: .95
  }
}

@media (min-width: 1500px) {
  .page_wrapper {
    zoom: 1
  }
}

@media (min-width: 800px) {

  html,
  body {
    overflow: initial;
  }

  .mobile_result_panel {
    display: none;
  }

  .signup_form {}

  .calcscreen_outer_wrapper,
  .page_wrapper {
    margin: auto;
    max-width: 1440px;
    min-height: 100vh;
  }

  .calcscreen_outer_wrapper {
    min-width: 1440px;
  }

  .popup_wrapper {
    border: outset 3px rgb(69, 69, 69);
    margin: auto;
    margin-top: 20px;
    border-radius: 10px;
  }

  .page_header {
    width: auto;
  }

  .header_img {
    width: 500px;
  }

  .subtitle_m_hidden {
    display: flex;
  }

  .page_header .container1 {
    flex: 2;
    padding-bottom: 15px;
  }

  .mission {
    display: flex;
    flex-direction: row;
  }

  .mission_spacer,
  .mission_text {
    flex: 1;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
  }

  .mission_spacer {
    flex: .65;
    padding: 5px 20px;
    display: block;
  }

  .sign_in_conatiner {
    flex: 0.75;
  }

  .header_button {
    width: 300px;
    height: 60px;
    font-size: 26px;
    margin: 14px;
  }

  .input_fields_panel {
    border-right: solid rgb(69, 69, 69) 1px;
    width: 350px;
  }

  .fields_panel_text {
    font-size: 32px;
    padding-top: 8px;
  }

  .output_container {
    flex: 1;
    left: 0;
  }

  .circle_container {
    display: flex;
    flex-direction: row;
  }

  .form_wrapper {
    flex-direction: row;
  }

  .field_edit_label input {
    height: 32px;
    font-size: 20px;
  }

  .output_value_container {
    display: flex;
    flex-direction: row;
    width: 100%;
    left: 0;
    background: rgb(242, 242, 242)
  }

  .output_value_wrapper {
    flex: 1;
    font-size: 25px;
    height: auto;
    flex: 1;
  }

  .cta_display_panel {
    flex-direction: row;
  }

  .lifetime_savings_value,
  .lifetime_savings_100bp_value,
  .lifetime_savings_200bp_value,
  .lifetime_savings_optimal_value.descrpt {
    font-size: 55px;
    font-weight: bold;
  }

  .lifetime_savings_optimal_value.descrpt {
    font-size: 70px;
  }

  .default_action_button {
    width: 300px;
  }

  .cta_display_panel {
    display: flex;
    flex-direction: row;
    height: 725px;
    border-bottom: solid rgb(69, 69, 69) 1px;
  }

  .app_signed_in .cta_display_panel {
    .cta_display_panel {
      display: none;
    }
  }

  .cta_right_panel {
    flex: 1;
    border-right: solid rgb(69, 69, 69) 1px;
  }

  .cta_left_panel {
    flex: 1;
    background: #4898FF;
    display: block;
  }

  .about_us_container,
  .disclaimer_wrapper,
  .disclaimer_container,
  .form_wrapper,
  .output_container,
  .cta_display_panel,
  .about_us_wrapper,
  .about_us_text {
    width: auto;
  }

  .user_profile_container {
    display: none;
    min-height: 300px;
    width: auto;
    margin-top: 50px;
  }

  .logo_img {
    width: 500px;
  }

  .profilescreen .user_profile_container {
    display: block;
    max-width: 1000px;
  }

  .user_profile_wrapper {
    display: flex;
    flex-direction: row;
    width: 1000px;
  }

  .user_profile_wrapper .fields1,
  .user_profile_wrapper .fields2,
  .user_profile_wrapper .fields3 {
    flex: 1;
  }
}

.header_offset {
  margin: 0;
  padding-top: 25px;
}

.card_container, .paypal-button-container {
  width: auto;
}

.marginal_income_tax_rate_label {
  display: none;
}

.app_signed_in .marginal_income_tax_rate_label {
  display: inline-block;
}

#calculate_button {
  font-size: 26px;
}

.login_outer_wrapper {
  padding: 20px;
  background: rgb(242, 242, 242);
  margin-top: 50px;
}

.login_outer_wrapper label {
  display: block;
  margin: 10px;
}

.login_outer_wrapper label input {
  font-size: 25px;
}

.header_button.login_submit_button {
  width: 125px;
}

.header_button.login_cancel_button {
  width: 125px;
}

.nonuser_calc_popup_savings {
  font-weight: bold;
  font-size: 24px;
}

.nonuser_popup_punch_text {
  margin-top: 20px;
  white-space: nowrap;
  font-weight: bold;
  line-height: 1.75em;
  font-size: 18px;
}

.close_popup_button {
  position: absolute;
  top: 5px;
  right: 5px;
}

.user_profile_container button.profile_new_email_button,
.user_profile_container button.profile_new_password_button {
  width: auto;
  padding: 8px 20px;
}
