/*---------------------------------*/
/*    Infographic Widget Styles    */
/*---------------------------------*/

/*
 * Trade Gothic used for Inforgraphic Widget
 */
@font-face {
  font-family: 'TradeGothic-BoldCondensed20';
  src: url("/gomobileassets/status/fonts/TradeGothic/TradeGothic-BoldCondensed20-webfont.eot");
  src: url("/gomobileassets/status/fonts/TradeGothic/TradeGothic-BoldCondensed20.eot?#iefix") format("embedded-opentype"),
      url("/gomobileassets/status/fonts/TradeGothic/TradeGothic-BoldCondensed20.woff") format("woff"),
      url("/gomobileassets/status/fonts/TradeGothic/TradeGothic-BoldCondensed20.ttf") format("truetype"),
      url("/gomobileassets/status/fonts/TradeGothic/TradeGothic-BoldCondensed20.svg") format("svg");
  font-weight: bold;
  font-style: normal;
}

.statistics {
    border: none;
    padding: 1.375em 0 0;
    font-size: 10px;
}

.no-js .statistics {
    display: none;
}

.statistics * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.stat {
    width: 100%;
    text-align: center;
    position: relative;
    padding: 1.4em 1em 5.6em;
    max-width: 44em;
    margin: 0 auto;
}

.pieChart {
    width: 154px;
    height: 154px;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.pieChartStat svg {
    position: absolute;
    border-radius: 50%;
    top: 0;
    left: 0;
    width: 154px;
    height: 154px;
    z-index: 0;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.pieChartCircle,
.pieChartFill {
    stroke: #c8fdfe;
    stroke-width: 10px;
    fill: none;
}

.pieChartFill {
    stroke: #0e89ba;
    stroke-dasharray: 465;
    stroke-dashoffset: 465;
}

.statNumber span,
.bar,
.salaryNumber,
.salaryHeading,
article p.jobTitleIntro,
.barChartHeading,
.barChartTagline {
    font-family: "TradeGothic-BoldCondensed20", "Helvetica", Helvetica, Arial, sans-serif;
    font-weight: bold;
    display: block;
}

.salaryNumber,
.salaryHeading,
article p.jobTitleIntro,
.barChartHeading,
.barChartTagline {
    color: #037eaf;
    line-height: 1;
}

.statNumber,
.salaryNumber,
.salaryHeading,
article p.jobTitleIntro span,
.barChartHeading {
    letter-spacing: -2px;
}

.statNumber {
    font-size: 4.8em;
    color: #0f8abb;
    position: relative;
    z-index: 2;
    display: block;
    line-height: 1;
}

.statNumber span {
    display: inline-block;
    font-size: 1.8em
}

.statDescription,
article p.statDescription,
.jobTitleStat li {
    text-align: center;
    font-size: 1.8em;
    color: #000;
    font-family: "bariol_regularregular", Helvetica, Arial, sans-serif;
    line-height: 1.2;
    padding: 0 0.6em;
    margin: 1em 0 0;
}

.barChartHeading {
    font-size: 5.8em;
    text-transform: uppercase;
}

.barChartTagline {
    font-size: 3.3em;
}

.barChart {
    display: inline-block;
    margin-top: 2em;
    overflow: hidden;
}

.bar {
    height: 7.3em;
    padding-right: 3em;
    float: left;
    position: relative;
    font-size: 1.644em;
    line-height: 1;
    text-align: left;
    color: #037eaf;
    font-weight: bold;
}

.bar:last-child {
    padding-right: 1.1em;
}

.bar:before,
.fill {
    width: 10px;
    display: block;
}

.bar:before {
    content: "";
    height: 100%;
    background: #ade7ff;
}

.fill {
    height: 0;
    background: #037eaf;
    position: absolute;
    bottom: 0;
    left: 0;
}

.barLabel {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    display: block;
    position: absolute;
    left: 29px;
    bottom: 0;
    -webkit-transform-origin: left bottom 0;
    -ms-transform-origin: left bottom 0;
    transform-origin: left bottom 0;
    width: 7.2em;
    height: 1em;
}

article .barChartStat p.statDescription {
    margin-top: 0.6em;
}


.salaryNumber,
.salaryHeading {
    width: 100%;
    display: block;
    line-height: 1;
}

.salaryNumber {
    font-size: 5.5em;
}

.salaryHeading {
    font-size: 4em;
}


@-webkit-keyframes coinDrop {
  0%   {
      -webkit-transform: translate(0, -60px);
      opacity: 0;
  }
  100% {
      -webkit-transform: translate(0, 0);
      opacity: 1;
  }
}

@keyframes coinDrop {
  0%   {
      transform: translate(0, -60px);
      opacity: 0;
  }
  100% {
      transform: translate(0, 0);
      opacity: 1;
  }
}

.stackingCoins {
    margin: 2em auto 0;
    width: 232px;
    height: 60px;
    position: relative;
}

.coinCol {
    float: left;
    height: 100%;
}

.coin {
    background: url('/gomobileassets/status/img/coin-blue.svg') no-repeat 0 0;
    height: 24px;
    width: 50px;
    display: block;
    position: relative;
    margin: 0 4px;
    top: 36px;
}

.coin:nth-child(2) {
    top: 0;
}

.coin:nth-child(3){
    top: -36px;
}

.coin:nth-child(4) {
    top: -72px;
}

article p.jobTitleIntro {
    font-size: 2.4em;
    margin-bottom: 0.7em;
}

.jobTitleIntro span {
    font-size: 2.42em;
    width: 100%;
    display: block;
    text-transform: uppercase;
    line-height: 1;
}

.jobTitleStat ul {
    border-top: 1px solid #037eaf;
    border-bottom: 1px solid #037eaf;
    padding: 1.4em 0;
    margin-bottom: 0;
    list-style-type: none;
}

.jobTitleStat li {
    margin-top: 0;
}

.jobTitleStat li + li {
    margin-top: 0.2em;
}

.jobTitleStat li:before {
    display: none;
}

article p.caveatText {
    font-size: 1.4em;
    max-width: 48em;
}

.statistics .slick-track {
    width: 20000px; /*This is so that the carousel is long enough before JS kicks in to set the width.*/
}

.statistics .carouselNavButton {
    width: 4em;
    height: 4em;
    top: 50%;
    margin-top: -2em;
}

.statistics .carouselNavButton.next {
    right: 0;
}

.statistics .carouselNavButton.prev {
    left: 0;
}

@media only screen and (min-width: 375px) and (max-width: 1023px) {

    article p.jobTitleIntro {
        font-size: 3em;
    }

    .statDescription,
    article p.statDescription,
    .jobTitleStat li {
        font-size: 2.3em;
    }

    .barChartHeading {
        font-size: 6.3em;
    }

    .barChartTagline {
        font-size: 3.6em;
    }

    .salaryNumber {
        font-size: 8.2em;
    }

    .salaryHeading {
        font-size: 4.4em;
    }

}

@media only screen and (min-width: 1023px) {

    .stat {
        width: 50%;
        float: left;
        opacity: 0;
    }

    .statistics .wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: 0 5.7em;
        background: url('/gomobileassets/status/img/ajax-loader.gif') no-repeat center center;
        min-height: 30em;
    }

    .statistics .slick-initialized {
        background: none;
    }

    .statistics .slick-initialized .stat {
        opacity: 1;
    }

}


@media only screen and (min-width: 1140px) {

    .stat {
        width: 33.33%;
    }

    .coin {
        -webkit-transform: translate(0, -60px);
        transform: translate(0, -60px);
        opacity: 0;
    }

    .slick-active .coin.fallen {
        animation: coinDrop 0.15s ease-in-out;
        animation-fill-mode: forwards;
    }

}

@media only screen and (min-width: 1500px) {
    .statistics {
        padding: 2.8em 0 0;
    }
}
