/* Result overrides
   ========================================================================== */
header, footer {
    display: none;
}

#wrapper {
    width: 730px;
}

section:first-of-type {
    text-align: center;
}

article {
    position: relative;
    float: left;

    width: 50%;
    height: 275px;

    padding: 0px 25px;

    text-align: center;
}

article:first-of-type {
    border-style: solid;
    border-width: 0px 1px 0px 0px;
    border-color: rgba(198, 198, 198, 1.0); /* 30% black */

    padding-left: 0px;
}

article:last-of-type {
    padding-right: 0px;
}

.article_medium {
    height: 235px;
}

/* Result infographics
   ========================================================================== */
.graph_info_left {
    float: left;
    display: flex;
    justify-content: flex-end;

    width: calc(50% - 62px);
    height: 200px;

    text-align: right;
}

.graph_info_right {
    float: left;
    display: flex;

    width: calc(50% - 62px);
    height: 200px;

    text-align: left;
}

.graph_info_left div, .graph_info_right div {
    align-self: flex-end;
}

.graph_pillars {
    position: relative;
    float: left;

    width: 124px;
    height: 200px;

    text-align: center;
}

#graph_pillar_low, #graph_pillar_high {
    position: absolute;
    width: 40px;
    height: 0px; /* Set by JS */

    -webkit-transition: height 1s ease; 
    -moz-transition: height 1s ease; 
    -ms-transition: height 1s ease; 
    -o-transition: height 1s ease; 
    transition: height 1s ease; 
}

#graph_pillar_low {
    bottom: 0px;
    left: 15px;

    background-color: rgba(5, 48, 75, 1.0); /* DEF Dark Blue */
}

#graph_pillar_high {
    bottom: 0px;
    right: 15px;

    background-color: rgba(255, 123, 0, 1.0); /* DEF Orange */
}

.notes {
    position: absolute;
    left: 25px;
    bottom: 0;

    text-align: left;
    font-size: 0.7em;
}

.notes_center {
    position: absolute;
    left: 25px;
    bottom: 0;

    height: auto;
    width: calc(100% - 25px);

    text-align: center;
    font-size: 0.7em;
}

#piggybank {
    width: 180px;
    height: auto;
}

#piggybank_x3 {
    width: 235px;
    height: auto;
}

#moneybag {
    width: 110px;
    height: auto;
}

#stopwatch {
    width: 105px;
    height: auto;

    margin-bottom: 15px;
}

.circle_container {
    position: relative;

    width: 190px;
    height: 150px;

    margin: 0 auto;
}

.circle_large {
    position: absolute;
    top: 0px;
    left: 0px;

    width: 125px;
    height: 125px;

    color: rgba(255, 255, 255, 1.0); /* White */
    font-size: 2.5em;
    line-height: 3;

    background-color: rgba(5, 48, 75, 1.0); /* DEF Dark Blue */

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}

.circle_small {
    z-index: 10;

    position: absolute;
    right: 0px;
    bottom: 0px;

    width: 90px;
    height: 90px;

    color: rgba(255, 255, 255, 1.0); /* White */
    font-size: 2.25em;
    line-height: 2.4;

    background-color: rgba(255, 123, 0, 1.0); /* DEF Orange */

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}

.circle_blue {
    background-color: rgba(5, 48, 75, 1.0); /* DEF Dark Blue */
}

.circle_people {
    background: url(/images/people_square.jpg); 
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.circle_piecework {
    background: url(/images/piecework_square.jpg); 
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.graph_container {
    position: relative;

    width: 190px;
    height: 150px;

    margin: 0 auto;

    background: url(/images/graph_increase.png); 
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.graph_number {
    z-index: 10;

    position: absolute;
    right: 0px;
    bottom: 0px;

    width: 60px;
    height: 60px;

    color: rgba(255, 255, 255, 1.0); /* White */

    padding-top: 22px;
}

/* Result overrides - Responsive
   ========================================================================== */
@media only screen and (max-width: 1000px) {

    html, body {
        background-color: rgba(255, 255, 255, 1.0);
    }

    #wrapper {
        border-width: 0px;
    }

}

@media only screen and (max-width: 730px) {

    #wrapper {
        width: 100%;
        padding: 0px;
    }
}

@media only screen and (max-width: 490px) {

    article {
        width: 100%;
        height: 275px;
    }

    .article_medium {
        height: 250px !important;
    }

    article:first-of-type {
        border-width: 0px 0px 1px 0px;

        padding: 0px;
    }

    article:first-of-type .notes{
        bottom: 25px;
    }

    article:last-of-type {
        padding-top: 25px;
        padding-left: 0px;
    }



}
