/* Discontinuation notice */
.discontinuation-notice {
  background-color: #d9534f;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.discontinuation-notice p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.discontinuation-notice strong {
  font-weight: 600;
}

/* Banner styles */
.banner-notice {
  background-color: #ff5252;
  color: white;
  text-align: center;
  padding: 15px 20px;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1000;
}

.banner-notice p {
  margin: 0;
  font-size: 16px;
}

.banner-notice strong {
  font-weight: 600;
}

@media (max-width: 768px) {
  .banner-notice p {
    font-size: 14px;
  }
}

/* COMMON */

body {
  font-family: "Open Sans", Calibri, sans-serif;
  font-size: 1em;
  line-height: 1.38;
  font-weight: 300;
  color: #55555;
}

section {
  width: 100%;
}

.btn-appstore {
  height: 72px;
  margin-top: 40px;
  padding: 0;
}

h1 {
  font-size: 2.75em;
  font-weight: 600;
  color: #ffffff;
}

h3 {
  font-size: 2em;
  font-weight: 300;
  color: #ffffff;
}
h2 {
  font-size: 2.25em;
  font-weight: 600;
}

h4 {
  font-size: 1.5em;
  font-weight: normal;
}

p.large {
  font-size: 1.5em;
}

p {
  font-size: 1.125em;
}

b {
  font-weight: 600;
}

.feature-container {
  width: 306px;
  float: left;
  margin-top: 40px;
  margin-left: 30px;
}

.no-margin {
  margin-left: 0px;
}

.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

/* HERO */

.hero {
  height: 640px;
  background: url("../images/hero-img.jpg") #555555;
  background-size: cover;
  background-position: center center;
}

.wrapper {
  width: 978px;
  margin: 0 auto;
}

nav {
  float: right;
  margin-top: 20px;
  font-size: 1em;
  color: #cccccc;
}

nav a {
  color: #cccccc;
}

nav a:hover {
  color: #ffffff;
}

.hero-container {
  width: 474px;
  margin-top: 60px;
}

.logo {
  height: 72px;
  background: url("../images/logo-extended.png") no-repeat;
  margin-bottom: 40px;
}

/* TRANSACTIONS */

.transactions {
  padding-bottom: 60px;
}

.img1 {
  margin-top: 60px;
  background-color: #cccccc;
}

.transactions h2,
.transactions .large {
  text-align: center;
}

/* GOALS */

.goals {
  background-color: #eeeeee;
  padding: 40px 0;
}

.img2 {
  float: left;
  width: 306px;
}

.goals-container {
  float: right;
  width: 642px;
  margin-top: 40px;
}

/* REPORTS */

.reports {
  padding-top: 30px;
}

.reports-container {
  float: left;
  width: 390px;
  margin-top: 180px;
}

.img3 {
  float: left;
  width: 558px;
  margin-left: 30px;
  background-color: #cccccc;
}

/* EXTRA FEATURES */

.extra-features {
  color: #ffffff;
  background-color: #008fa6;
  padding: 60px 0;
}

.extra-features h2 {
  text-align: center;
}

.extra-features .btn-appstore {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.light-turquoise-text {
  color: #9ad7e1;
}

/* MAILING LIST */

.mailing-list {
  padding: 60px 0;
}

.mailing-list .wrapper {
  width: 642px;
}

.mailing-list h2,
.mailing-list .large {
  text-align: center;
}

input {
  display: block;
  float: left;
  width: 306px;
  height: 56px;
  padding: 0 10px;
  border: 2px solid #eeeeee;
  border-radius: 8px;
  font-size: 1.5em;
  margin-top: 20px;
}

::-webkit-input-placeholder {
  color: #999999;
}

:-moz-placeholder {
  /* Firefox 18- */
  color: #999999;
}

::-moz-placeholder {
  /* Firefox 19+ */
  color: #999999;
}

:-ms-input-placeholder {
  color: #999999;
}

.btn {
  display: block;
  float: none;
  width: 306px;
  height: 56px;
  border-radius: 8px;
  background-color: #008fa6;
  font-size: 1.5em;
  font-weight: normal;
  color: #ffffff;
  text-align: center;
  border: none;
}

.btn:hover {
  background-color: #094e59;
}

.first-name,
.last-name {
  margin-top: 40px;
}

.last-name {
  margin-left: 30px;
}

.email {
  width: 100%;
  margin-bottom: 20px;
}

.mailing-list .btn {
  margin-left: auto;
  margin-right: auto;
}

/* MONEYFARM */

.moneyfarm {
  padding-top: 60px;
  background-color: #eeeeee;
  overflow: hidden;
}

.moneyfarm h2 {
  text-align: center;
  margin-bottom: 40px;
}

.moneyfarm-container {
  width: 390px;
  float: left;
  margin-top: 30px;
}

.moneyfarm-container p {
  margin-top: 10px;
}

button {
  display: block;
  float: none;
  width: 306px;
  height: 56px;
  border-radius: 8px;
  background-color: #008fa6;
  font-size: 1.5em;
  font-weight: normal;
  color: #ffffff;
  text-align: center;
  border: none;
  margin-top: 40px;
}

button:hover {
  background-color: #094e59;
}

.img4 {
  float: left;
  width: 558px;
  margin-left: 30px;
  overflow-x: visible;
}

.img4 img {
  width: 685px;
  margin-left: -64px;
}

/* FOOTER */

.footer {
  padding: 60px 0;
  background-color: #094e59;
  color: #ffffff;
}

.footer h2 {
  text-align: center;
}

.social-widgets {
  text-align: center;
  padding: 20px 0;
}

.social-widgets a,
.social-widgets a:hover {
  color: white;
  margin: 0 40px;
}

.footer .btn-appstore {
  text-align: center;
}

.small {
  font-size: 0.75em;
}

.colophon {
  float: left;
  width: 642px;
  margin-top: 40px;
}

.logo-mfm {
  width: 306px;
  margin-left: 30px;
  float: left;
  margin-top: 40px;
}

.apple {
  float: left;
  width: 100%;
  text-align: center;
  margin-top: 40px;
}

/* TABLET */

@media (max-width: 977px) {
  /* COMMON */

  .wrapper {
    width: 750px;
  }

  .feature-container {
    width: 230px;
  }

  /* HERO */

  .hero-container {
    width: 360px;
  }

  .logo {
    background-size: 100%;
  }

  /* TRANSACTIONS */

  .img1 {
    margin-top: 40px;
  }

  /* GOALS */

  .img2 {
    width: 230px;
    margin-top: -20px;
  }

  .goals-container {
    width: 490px;
    margin-top: 0;
  }

  /* REPORTS */

  .reports-container {
    width: 295px;
    margin-top: 100px;
  }

  .img3 {
    width: 425px;
  }

  /* MAILING LIST */

  .mailing-list .wrapper {
    width: 620px;
  }

  input {
    width: 295px;
  }

  /* MONEYFARM */

  .moneyfarm-container {
    width: 295px;
    margin-top: 0;
  }

  button {
    width: 295px;
  }

  .img4 {
    width: 425px;
  }

  /* FOOTER */

  .colophon {
    width: 490px;
  }

  .logo-mfm {
    width: 230px;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  /* COMMON */

  body {
    text-align: center;
  }

  .wrapper {
    width: 100%;
    padding: 0 15px;
  }

  .feature-container {
    width: 100%;
    margin-left: 0px;
  }

  .icon {
    margin-left: auto;
    margin-right: auto;
  }

  h2 {
    font-size: 1.625em;
  }

  h4,
  p.large {
    font-size: 1.25em;
  }

  p {
    font-size: 1em;
  }

  /* HERO */

  .hero {
    height: 800px;
    background: url("../images/hero-img-mobile.jpg") #555555;
    background-size: cover;
    background-position: center center;
  }

  nav {
    font-size: 0.75em;
  }

  .hero-container {
    width: 100%;
    margin-top: 40px;
  }

  .logo {
    height: 64px;
    background: url("../images/logo-short.png") no-repeat;
    background-position: 50% 50%;
  }

  h1 {
    font-size: 2.125em;
  }

  h3 {
    font-size: 1.375em;
  }

  /* TRANSACTIONS */

  .img1 {
    margin-bottom: 20px;
  }

  /* GOALS */

  .img2 {
    float: none;
    margin: 40px auto 0 auto;
  }

  .goals-container {
    width: 100%;
    margin-top: 20px;
  }

  /* REPORTS */

  .reports-container {
    width: 100%;
    margin-top: 30px;
  }

  .img3 {
    width: 100%;
    margin-left: 0px;
    margin-top: 40px;
  }

  /* MAILING LIST */

  .mailing-list .wrapper {
    width: 100%;
  }

  input,
  .btn {
    width: 100%;
    height: 48px;
    font-size: 1.25em;
  }

  .last-name {
    margin-top: 20px;
    margin-left: 0px;
  }

  /* MONEYFARM */

  .moneyfarm-container {
    width: 100%;
  }

  button {
    width: 100%;
  }

  .img4 {
    width: 100%;
    margin-left: 0;
    margin-top: 40px;
  }

  .img4 img {
    width: 100%;
    margin: 0 0 20px 0;
  }

  /* FOOTER */

  .colophon {
    width: 100%;
    margin-bottom: 20px;
  }

  .logo-mfm {
    float: none;
    width: 228px;
    margin: 0 auto;
  }
}
