/* Colours */

/* Mixins */

/* --------- General ---------- */

body {
  color: #244053;
  font-family: 'Montserrat', sans-serif;
}

h2 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 20px;
}

h3 {
  color: #244053;
}

h4 {
  font-size: 25px;
  color: #475F6F;
  margin: 30px 0 20px;
}

hr {
  display: block;
  height: 1px;
  width: 100px;
  border: 0;
  border-top: 4px solid #244053;
  padding: 0;
}

/* --------- Gradients ---------- */

.gradient--orange {
  background: #ffb3be;
  background: -webkit-linear-gradient(top, #ffb3be 1%, #ffdab2 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #ffb3be), to(#ffdab2));
  background: -o-linear-gradient(top, #ffb3be 1%, #ffdab2 100%);
  background: linear-gradient(to bottom, #ffb3be 1%, #ffdab2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$colorstarts', endColorstr='$colorstops', GradientType=0);
}

.gradient--yellow {
  background: #ffccb0;
  background: -webkit-linear-gradient(top, #ffccb0 1%, #ffe5b0 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #ffccb0), to(#ffe5b0));
  background: -o-linear-gradient(top, #ffccb0 1%, #ffe5b0 100%);
  background: linear-gradient(to bottom, #ffccb0 1%, #ffe5b0 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$colorstarts', endColorstr='$colorstops', GradientType=0);
}

.gradient--blue {
  background: #00a7ff;
  background: -webkit-linear-gradient(top, #00a7ff 1%, #7ad8e9 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #00a7ff), to(#7ad8e9));
  background: -o-linear-gradient(top, #00a7ff 1%, #7ad8e9 100%);
  background: linear-gradient(to bottom, #00a7ff 1%, #7ad8e9 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$colorstarts', endColorstr='$colorstops', GradientType=0);
}

#fullpage {
  z-index: 11;
}

/* --------- Sections ---------- */

.section--one {
  background-image: url("../img/shipping-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section--two {
  background-image: url("../img/housing-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section--three {
  background-image: url("../img/city-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section--four {
  background-image: url("../img/living-costs-bg2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section--four--utilities {
  background: #00D8FF;
}

.section--four--utilities .header__icon {
  background-image: url("../img/utilities.svg");
}

.section--four--groceries {
  background: #FFBA00;
}

.section--four--groceries .header__icon {
  background-image: url("../img/groceries.svg");
}

.section--four--transportation {
  background: #79E8D3;
}

.section--four--transportation .header__icon {
  background-image: url("../img/transportation.svg");
}

.section--four--dining--out {
  background: #FFB7BC;
}

.section--four--dining--out .header__icon {
  background-image: url("../img/eating-out.svg");
}

.section--four--sports--leisure {
  background: #00D8FF;
}

.section--four--sports--leisure .header__icon {
  background-image: url("../img/sports-and-leisure.svg");
}

.section--four--clothing {
  background: #FFBA00;
}

.section--four--clothing .header__icon {
  background-image: url("../img/clothing.svg");
}

.section--four--child .section__header {
  left: 20px;
  max-width: 400px;
}

.section--four--child div.header__icon {
  width: 130px;
  height: 130px;
  background-repeat: no-repeat;
  background-position: bottom center;
  margin: 0 auto;
  display: block;
}

.section--four--child h2 {
  margin: 20px;
}

.section__header {
  margin: 0 auto;
}

.section__header hr {
  margin: 25px auto 20px;
}

/* --------- Card styles ---------- */

.card__wrapper,
.list__btn {
  position: relative;
  margin: 10px 0;
}

.card__value.card__value__mortgage {
  width: 100px;
  height: 100px;
  bottom: -35px;
}

.card__value.card__value__mortgage>.card__number {
  font-size: 34px;
}

.card {
  margin: 0 auto;
  border-radius: 33px;
  z-index: 2;
  border: 6px solid #ffffff;
  -webkit-box-shadow: 10px 10px 5px 0px rgba(36, 64, 83, 0.2);
  box-shadow: 10px 10px 5px 0px rgba(36, 64, 83, 0.2);
}

.card.card__min__height {
  min-height: 0;
}

.card__text.shipping__text,
.card__text.mortgage__text {
  padding: 20px;
}

.card__text.mortgage__title hr {
  width: 85px;
}

.graph__key {
  position: relative;
  list-style: none;
}

.key {
  margin-top: 10px;
  display: inline-block;
}

.key:before {
  content: '';
  position: absolute;
  left: 0px;
  width: 20px;
  height: 20px;
  background: #79E8D3;
  border-radius: 50px;
}

.key-b:before {
  background: #00D8FF;
}

.card__image.mortgage__image {
  height: 175px;
}

/* --------- Loading page ---------- */

.loading {
  width: 100%;
  height: 100vh;
  position: relative;
}

.loading div.map {
  width: 100%;
  height: 100vh;
  background-image: url(../img/map.svg);
  background-position: center 50%;
  background-repeat: no-repeat;
  background-size: 140%;
  position: absolute;
  top: 0;
  bottom: 0;
}

.loading div.loading__content {
  margin-top: 50px;
}

.loading div.loading__content p {
  text-align: center;
  font-size: 1.6rem;
  margin: 0 0 1rem 0;
}

.loading div.loading__content div.loading__header {
  margin: 0 auto;
}

.loading div.loading__content div.loading__header hr {
  margin: 0 auto;
}

.loading div.loading__graphic {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 1.5rem;
  width: 200px;
  height: 35px;
}

/* --------- Living costs---------- */

.living__text {
  margin-right: 80px;
  padding: 10px;
}

@media (max-width: 360px) {
  .living__text {
    margin-right: auto;
    text-align: center;
  }
}

.living__text span.card__price {
  display: block;
  font-size: 30px;
  font-family: 'Montserrat', sans-serif;
}

.living__text h3 {
  font-size: 1.7rem;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin: 10px auto;
}

.living__text p {
  margin: 0;
}

.living__text div.card__value {
  top: 10px;
  right: 10px;
  height: 80px;
  width: 80px;
}

.living__text div.card__value span.card__plusminus,
.living__text div.card__value span.card__percentage {
  font-size: 16px;
}

.living__text div.card__value span.card__number {
  font-size: 20px;
}

.card__text>.card__price,
.card__text>.mortgage__rate {
  font-size: 40px;
  margin: 0;
}

.living-costs a {
  text-decoration: none;
}

.living-costs .card__wrapper {
  margin: 5px 0;
}

.card__living-costs {
  border-radius: 30px;
  border: 0;
}

@media (min-width: 1200px) {
  .card__living-costs {
    border: 6px solid white;
  }
}

.living-costs__inner {
  padding: 20px 0;
  margin-right: 50px;
  position: relative;
  text-align: center;
}

.living-costs__inner:before {
  content: '';
  position: absolute;
  width: 55px;
  top: 0;
  bottom: 0;
  right: -50px;
  background: #C6D4DD;
  -webkit-border-top-right-radius: 1px;
  -webkit-border-bottom-right-radius: 1px;
  -moz-border-radius-topright: 1px;
  -moz-border-radius-bottomright: 1px;
  border-top-right-radius: 1px;
  border-bottom-right-radius: 1px;
}

.living-costs__inner:after {
  content: url(../img/right-arrow.svg);
  position: absolute;
  width: 14px;
  height: 23px;
  right: -25px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.living-costs__inner h3 {
  margin: 0 auto 0 40px;
  font-size: 16px;
}

.card__value__living-costs {
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 5px;
  width: 50px;
  height: 50px;
  font-size: 14px;
}

.card__value__living-costs .card__number {
  font-size: 18px;
}

.living-costs__icon {
  display: none;
}

#page__overlay {
  display: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-line-pack: center;
  align-content: center;
  z-index: 998;
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0;
  background: rgba(71, 95, 111, 0.8);
}

.groceries__inner {
  z-index: 2;
}

.list__btn {
  z-index: 3;
  border: 2px solid #fff;
  cursor: pointer;
  padding: 15px;
  max-width: 380px;
  margin: 10px auto 0;
  position: relative;
}

.list__btn:after {
  content: url(../img/plus-icon.svg);
  width: 20px;
  height: 20px;
  position: absolute;
  right: 15px;
  cursor: pointer;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.shopping__list {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  padding: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-shadow: 10px 10px 5px 0px rgba(36, 64, 83, 0.2);
  box-shadow: 10px 10px 5px 0px rgba(36, 64, 83, 0.2);
  z-index: 999;
}

.shopping__list hr {
  border-top: 1px dashed #244053;
  width: 100%;
}

.list__close {
  background: url(../img/close-icon.svg);
  width: 20px;
  height: 20px;
  position: absolute;
  right: 15px;
  cursor: pointer;
  top: 8px;
}

.list__column__header {
  margin-bottom: 15px;
}

.list__column__a {
  width: 60%;
  float: left;
}

.list__column__a span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  display: block;
  font-size: 16px;
  line-height: 20px;
}

.list__column__a p {
  font-family: 'Handlee', cursive;
  margin: 0;
}

.price_large {
  font-size: 40px;
}

.list__column__b,
.list__column__c {
  width: 20%;
  float: left;
  position: relative;
  /*span {
  	@include small_square;
  }*/
}

.list__column__b p,
.list__column__c p {
  font-family: 'Handlee', cursive;
  margin: 0;
}

.list__column__b div.identifier,
.list__column__c div.identifier {
  display: block;
  width: 20px;
  height: 20px;
}

.list__column__b div.identifier {
  background: #79E8D3;
}

.list__column__c div.identifier {
  background: #00D8FF;
}

.list__footer {
  margin: 15px 0 0 0;
  border-top: 1px dashed #244053;
  padding: 15px 0 0 0;
}

.list__country__a,
.list__country__b {
  position: relative;
  left: 30px;
}

.list__country__a:before,
.list__country__b:before {
  content: '';
  position: absolute;
  left: -30px;
  width: 20px;
  height: 20px;
}

.list__country__a span,
.list__country__b span {
  font-size: 16px;
  line-height: 20px;
}

.list__country__a:before {
  background: #79E8D3;
}

.list__country__b:before {
  background: #00D8FF;
}

a.back_btn {
  position: absolute;
  width: 100%;
  padding: 20px 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  background: #ffffff;
  text-align: center;
  color: #244053;
  font-size: 18px;
}

a.back_btn:hover {
  color: #7593a7;
  text-decoration: none;
}

.fp-controlArrow {
  display: none;
}

@media (min-width: 1200px) {
  h2 {
    font-size: 50px;
  }
  hr {
    width: 120px;
    border-top: 5px solid #244053;
  }
  /* --------- section styles  ---------- */
  .section--four--child .section__header {
    left: 0;
    max-width: none;
  }
  .section--four--child hr {
    display: block;
  }
  /* --------- card styles ---------- */
  .card.card__min__height {
    min-height: 410px;
  }
  .card__value__living-costs {
    margin: 0 auto;
    width: 100px;
    height: 100px;
    position: static;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    font-size: 18px;
  }
  .card__value__living-costs .card__number {
    font-size: 25px;
  }
  /* --------- landing page ---------- */
  .row-a p {
    font-size: 24px;
    line-height: 32px;
  }
  .row-a div.title-logo {
    max-width: 500px;
  }
  /* --------- loading page ---------- */
  .loading div.map {
    width: 100%;
    height: 100vh;
    background-size: 100%;
    background-position: center;
  }
  .loading div.loading__content {
    margin-top: 50px;
  }
  .loading div.loading__content p {
    font-size: 2.5rem;
    margin: .5rem 0;
  }
  .loading div.loading__graphic {
    bottom: 4rem;
  }
  /* --------- living costs ---------- */
  .living-costs .card__wrapper {
    margin: 10px 0;
  }
  .living-costs__inner {
    padding: 20px;
    margin-right: 50px;
  }
  .living-costs__inner:before {
    width: 55px;
    top: 0;
    bottom: 0;
    right: -50px;
    -webkit-border-top-right-radius: 9px;
    -webkit-border-bottom-right-radius: 9px;
    -moz-border-radius-topright: 9px;
    -moz-border-radius-bottomright: 9px;
    border-top-right-radius: 9px;
    border-bottom-right-radius: 9px;
  }
  .living-costs__inner:after {
    width: 14px;
    height: 23px;
    right: -28px;
  }
  .living-costs__inner h3 {
    font-size: 1.3rem;
    margin: 0 0 15px 0;
  }
  .living-costs__icon.utilities-icon {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    background-image: url("../img/utilities.svg");
    background-repeat: no-repeat;
    background-position: bottom center;
  }
  .living-costs__icon.groceries-icon {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    background-image: url("../img/groceries.svg");
    background-repeat: no-repeat;
    background-position: bottom center;
  }
  .living-costs__icon.dining-icon {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    background-image: url("../img/eating-out.svg");
    background-repeat: no-repeat;
    background-position: bottom center;
  }
  .living-costs__icon.transport-icon {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    background-image: url("../img/transportation.svg");
    background-repeat: no-repeat;
    background-position: bottom center;
    width: 125px;
  }
  .living-costs__icon.sport-leisure-icon {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    background-image: url("../img/sports-and-leisure.svg");
    background-repeat: no-repeat;
    background-position: bottom center;
  }
  .living-costs__icon.clothing-icon {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    background-image: url("../img/clothing.svg");
    background-repeat: no-repeat;
    background-position: bottom center;
  }
  .living__text {
    text-align: center;
    margin: 0;
    padding: 20px;
  }
  .living__text div.card__price {
    display: block;
    font-size: 40px;
  }
  .living__text p {
    margin-bottom: 1.6rem;
  }
  .living__text div.card__value {
    position: static;
    margin: 0 auto;
    width: 90px;
    height: 90px;
  }
  .living__text div.card__value {
    text-align: center;
    top: 10px;
    right: 10px;
    height: 80px;
    width: 80px;
    position: static;
    margin: 10px auto 0;
  }
  @media (max-width: 500px) {
    .card-container {
      padding: 0 20px 50px;
    }
    .down-arrow {
      display: none;
    }
  }
  .living__text div.card__value span.card__plusminus,
  .living__text div.card__value span.card__percentage {
    font-size: 20px;
  }
  .living__text div.card__value span.card__number {
    font-size: 25px;
  }
}
