.row-wrapper.calculator {
  background-image: url(/wp-content/themes/eq/img/grey_dots.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.2);
}
.row-wrapper.impact-bg {
  background: linear-gradient(
    -70deg,
    #fff, #fff 50%,
    #E3F3F1, #E3F3F1 50%
  );
  box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.2);
}

md-input-container {
  width: 100%;
  margin-bottom: 0 !important;
}

.smallprint {
  font-size: 0.85em;
}

@keyframes crossFadeOne {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  70% {
    opacity: 0;
  }
}

@keyframes crossFadeTwo {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  20% {
    opacity: 1;
  }

  30% {
    opacity: 0;
  }
}

.impactForm {
  padding: 1em;
  background: rgba(255,255,255,0.95);
  max-width: 620px;
  margin: auto;
  border-radius: 0.5em;
  color: black;
  font-size: 1.2em;
}

.report-cover {
  box-shadow: 1px 1px 3px black;
  max-width: 220px;
}

.strapline {
  color: #444;
  text-align: left;
  font-size: 4vw;
  height: 10em;
  position: relative;
}

.risk-warning {
  border: 2px solid white;
  padding: 0.5em;
  margin: 1em 0 2em 0;
  border-radius: 0;
  background: none;
}

@media(min-width: 768px) {
  .strapline {
    font-size: 1.6em;
  }
}

.strapline .title {
  font-family: 'Montserrat', sans-serif;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}

.strapline .title.one {
  animation: crossFadeOne ease-in 10s infinite;
  animation-fill-mode: forwards;
}

.strapline .two {
  position: absolute;
  opacity: 0;
  animation: crossFadeTwo ease-in 10s infinite;
  animation-fill-mode: forwards;
  animation-delay: 6s;
}

.strapline .three {
  position: absolute;
  opacity: 0;
  animation: crossFadeTwo ease-in 10s infinite;
  animation-fill-mode: forwards;
  animation-delay: 8s;
}

/** Impact indicators
*************************************/

h2.impact-title {
  text-align: center;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.hideme {
  display: none !important;
}

.animate.ng-hide,
.animate.ng-leave {
  animation-name: flipOutX;
  animation-duration: .4s;
}

.animate.ng-show,
.animate.ng-enter {
  animation-name: flipInX;
  animation-duration: 1s;
}

.amcharts-main-div .amcharts-chart-div a {
  display: none !important;
}

md-grid-list {
  margin: 8px;
  font-family: 'Roboto', sans-serif;
  color: black;
}

.bold {
  font-weight: 700;
}

md-grid-list md-grid-tile div {
  width: calc(100% - 20px);
  height: calc(100% - 33px);
  margin-left: 10px;
  margin-right: 10px;
  display: block;
  white-space: nowrap;
  line-height: normal;
  overflow: hidden;
  background-clip: content-box;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 95%;
}

md-grid-list md-grid-tile div>div {
  padding: 10px 0;
}

md-grid-list md-grid-tile figure {
  padding: 5px;
}

md-grid-list md-grid-tile .impact-pad-1 {
  padding-top: 5%;
  padding-left: 25%;
  padding-right: 31%;
}
md-grid-list md-grid-tile .impact-pad-2 {
  padding-left: 13%;
  padding-right: 35%;
}
md-grid-list md-grid-tile .impact-pad-3 {
  padding-left: 6%;
  padding-right: 39%;
}
md-grid-list md-grid-tile .impact-pad-lg {
  padding-left: 6%;
  padding-right: 6%;
}

md-grid-list md-grid-tile .impact-pad-md {
  padding-left: 1%;
  padding-right: 1%;
}

md-grid-list md-grid-tile .impact-pad-sm {
  padding-left: 5%;
  padding-right: 5%;
}

md-grid-list md-grid-tile .equiv-line1,
md-grid-list md-grid-tile .equiv-line2,
md-grid-list md-grid-tile .equiv-line3,
md-grid-list md-grid-tile .equiv-line4,
md-grid-list md-grid-tile .equiv-line5 {
  padding-right: 30%;
}

md-grid-list md-grid-tile .equiv-line1 {
  margin-left: 5%;
}

md-grid-list md-grid-tile .equiv-line2 {
  margin-left: 12%;
}

md-grid-list md-grid-tile .equiv-line3 {
  margin-left: 15%;
}

md-grid-list md-grid-tile .equiv-line4 {
  margin-left: 30%;
}

md-grid-list md-grid-tile .equiv-line5 {
  margin-left: 30%;
}

md-grid-list md-grid-tile .equiv-line1-right,
md-grid-list md-grid-tile .equiv-line2-right,
md-grid-list md-grid-tile .equiv-line3-right,
md-grid-list md-grid-tile .equiv-line4-right {
  padding-left: 30%;
}

md-grid-list md-grid-tile .equiv-line1-right {
  margin-right: 8%;
}

md-grid-list md-grid-tile .equiv-line2-right {
  margin-right: 12%;
}

md-grid-list md-grid-tile .equiv-line3-right {
  margin-right: 34%;
}

md-grid-list md-grid-tile .equiv-line4-right {
  margin-right: 20%;
}

.fit-text {
  display: block;
  white-space: nowrap;
  overflow: hidden;
}

fit-text-equiv,
.fit-text-equiv {
  margin-top: 11%;
}

.fit-text-equiv-small {
  margin-top: 3%;
}

.adviser-logo {
  max-width: 18vw;
  top: 100px;
  position: absolute;
  right: 50px;
}

.impact-sectiontitle {
  width: 66%;
  transform: rotate(270deg);
  transform-origin: 100% 0;
  left: -66%;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  padding: 0;
}

.impact-sectiontitle-halfheight {
  width: 33%;
  left: -33%;
}

.impact-section {
  width: 96%;
  margin-left: 4%;
}

.impact-renewable {
  background-image: url("../img/renewable_energy_generated.png");
}
.impact-renewable>div>span:nth-child(2),
.impact-renewable>div>div span>strong {
    color: rgb(77,166,156);
}

.impact-emissions {
  background-image: url("../img/emissions_avoided.png");
}
.impact-emissions>div>span:nth-child(2),
.impact-emissions>div>div span>strong {
    color: rgb(238,222,63);
}

.impact-recycled {
  background-image: url("../img/waste_recycled.png");
}
.impact-recycled>div>span:nth-child(2),
.impact-recycled>div>div span>strong {
    color: rgb(164,171,43);
}

.impact-renewablecapacity {
  background-image: url('../img/energy_capacity_installed.png');
}
.impact-renewablecapacity>div>span:nth-child(2),
.impact-renewablecapacity>div>div span>strong {
    color: rgb(86,179,116);
}

.impact-wastewater {
  background-image: url("../img/wastewater_treated.png");
}
.impact-wastewater>div>span:nth-child(2),
.impact-wastewater>div>div span>strong {
    color: rgb(81,167,223);
}

.impact-waterprovided {
/*.impact-savedwater { */
  background-image: url("../img/water_provided.png");
}
.impact-waterprovided>div>span:nth-child(2),
.impact-waterprovided>div>div span>strong {
    color: rgb(58,118,186);
}

.impact-medicaltreated {
  background-image: url("../img/patients_treated.png");
}
.impact-medicaltreated>div>span:nth-child(2),
.impact-medicaltreated>div>div span>strong {
    color: rgb(255,95,56);
}

.impact-medicalinterventions {
  background-image: url("../img/medical_interventions_made.png");
}
.impact-medicalinterventions>div>span:nth-child(2),
.impact-medicalinterventions>div>div span>strong {
    color: rgb(234,150,48);
}

.impact-preventativehealthcare {
  background-image: url('../img/preventative_healthcare_reached.png');
}
.impact-preventativehealthcare>div>span:nth-child(2),
.impact-preventativehealthcare>div>div span>strong {
    color: rgb(216,80,131);
}

.impact-education {
  background-image: url("../img/education_delivered.png");
}
.impact-education>div>span:nth-child(2),
.impact-education>div>div span>strong {
    color: rgb(188,44,124);
}

.impact-mobile {
  background-image: url("../img/mobile_networks_access.png");
}
.impact-mobile>div>span:nth-child(2),
.impact-mobile>div>div span>strong {
    color: rgb(136,52,141);
}

.impact-loans {
  background-image: url("../img/financial_services_access.png");
}
.impact-loans>div>span:nth-child(2),
.impact-loans>div>div span>strong {
    color: rgb(98,57,143);
}

/** END - Impact indicators
*************************************/

@media (max-width: 767px) {

  /** Impact indicators
*************************************/
  .fit-text {
    display: block;
    white-space: nowrap;
  }
  .fit-text-equiv {
    display: block;
  }

  .impact-equiv {
    display: none !important;
  }

  .impact-sectiontitle {
    width: 100%;
    transform: none;
    left: 0;
    text-align: left;
    font-size: 20px;
    padding-left: 5px;
  }

  .impact-sectiontitle-halfheight {
    width: 100%;
    left: 0;
  }

  .impact-section {
    width: 100%;
  }

  /** END - Impact indicators
*************************************/
}

@media (min-width: 768px) and (max-width: 991px) {

  /** Impact indicators
*************************************/
  .fit-text {
    display: block;
  }

  .fit-text-equiv {
    display: block;
  }

  .impact-equiv {
    display: none !important;
  }

  .impact-sectiontitle {
    width: 100%;
    transform: none;
    left: 0;
    text-align: left;
    font-size: 20px;
    padding-left: 5px;
  }

  .impact-sectiontitle-halfheight {
    width: 100%;
    left: 0;
  }

  .impact-section {
    width: 100%;
  }

  /** END - Impact indicators
*************************************/
}

@media (min-width: 992px) and (max-width: 1199px) {

  /** Impact indicators
*************************************/
  .impact-equiv {
    display: none !important;
  }

  /** END - Impact indicators
*************************************/
}
