
/**
 * == Columns
 */
.wio-columns {
    overflow: hidden;
    padding: 15px 0;
    counter-reset: cols;
}

.wio-columns [class^="col-"] {
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.wio-columns .col-1-3 {
    width: 33.333%;
    padding-left: 28px;
}

.wio .col-2-3 {
    width: 66.666%;
    padding-left: 28px
}

.wio .col-1-2 {
    width: 50%;
    padding: 0 20px;
}

@media (max-width: 830px) {
    .wio [class^="col-"] {
        float: none;
        margin-bottom: 1.5em;
    }

    .wio .col-1-3,
    .wio .col-1-2 {
        width: auto;
        padding: 0 28px;
        clear: both;
        padding-top: 1em;
    }
}

/* Col, behavior depending on parent */
.wio-col {
    float: left;
    width: 50%;
    box-sizing: border-box;
    -webkit-flex-basis: 50%;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
}

.wio-col {
    padding-right: 20px;
}

.wio-col + .wio-col {
    padding-right: 0;
    padding-left: 50px;
}

.wio-col:target {
    animation: wiohello 1s 3 linear backwards;
}

@keyframes wiohello {
    0%, 100% {
        background: #FFF;
    }
    50% {
        background: #F4F7F9;
    }
}

.wio-columns .col-statistics.col-statistics {
    width: 60%;
}

@media (max-width: 1520px) and (min-width: 1381px), (max-width: 1086px) {
    .wio-columns .col-statistics.col-statistics,
    .wio-columns .col-chart.col-chart {
        width: 50%;
    }
}

@media (max-width: 808px) {
    .wio-columns .col-statistics.col-statistics,
    .wio-columns .col-chart.col-chart {
        width: auto;
        float: none;
        padding: 0;
    }

    .wio-columns .col-chart.col-chart {
        margin-top: 3em;
    }
}

/* Number display */
.wio-number-you-optimized {
    margin-bottom: 1.35em;
    overflow: hidden;
}

.wio-number-you-optimized .number {
    display: table-cell;
    padding-right: 15px;
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    color: #000;
}

.wio-number-you-optimized [id="wio-total-optimized-attachments-pct"] {
    color: #40B1D0;
}

.wio-number-you-optimized .text {
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
    font-size: 12px;
    color: #626E7B;
}

.wio-number-you-optimized > p {
    display: table;
}

/* Number and bars */
.wio-bars {
    padding-right: 15px;
}

.wio-bars p {
    font-size: 12px;
    margin-bottom: 5px;
}

.wio-bars + .wio-number-you-optimized {
    border-bottom: 0;
    padding-top: 0.85em;
}

.wio-bars + .wio-number-you-optimized p {
    color: #46b1ce;
}

.wio-bar-negative .wio-progress {
    background: #D2D3D6;
}

.wio-bar-negative .wio-barnb {
    color: #7A8996;
}

.wio-bar-neutral .wio-progress {
    background: #F5A623;
}

.wio-space-left .wio-bar-negative .wio-progress {
    background: #C51162;
}

.wio-progress {
    height: 8px;
}

.wio-progress {
    transition: width .3s;
}

.wio-bar-positive .wio-progress {
    background: #8CC152;
}

.wio-bar-positive .wio-barnb {
    color: #8CC152;
}

.wio-bar-primary .wio-progress {
    background: #8bc34a;
}

.wio-bar-primary .wio-barnb {
    color: #8bc34a;
}

.right-outside-number .wio-barnb {
    display: block;
    margin-right: -5.25em;
    text-align: right;
    font-weight: bold;
    line-height: .8;
}


/* Doughnut */
.wio-chart {
    position: relative;
    top: 1px;
    display: inline-block;
    vertical-align: middle;
}

.wio-chart-container {
    position: relative;
    display: inline-block;
    margin-right: 5px;
}

.wio-chart-container canvas {
    display: block;
}

.wio-overview-chart-container {
    float: left;
    margin-right: 20px;
}

@media (max-width: 1380px) and (min-width: 1246px), (max-width: 380px) {
    .wio-overview-chart-container {
        float: none;
        margin-right: 0;
    }
}

.wio-chart-percent {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin-top: -.5em;
    line-height: 1;
    text-align: center;
    font-size: 55px;
    font-weight: bold;
    color: #afafaf;
}

.wio-chart-percent span {
    font-size: 20px;
    vertical-align: super;
}

#wio-overview-chart-legend {
    overflow: hidden;
}

.imagify-doughnut-legend {
    margin-top: 38px;
    list-style: none;
}

.wio-doughnut-legend li {
    display: inline-block;
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    border-radius: 5px;
    padding: 3px 8px 2px 31px;
    font-size: 13px;
    cursor: default;
    -webkit-transition: background-color 200ms ease-in-out;
    -moz-transition: background-color 200ms ease-in-out;
    -o-transition: background-color 200ms ease-in-out;
    transition: background-color 200ms ease-in-out;
}

.wio-doughnut-legend li span {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

@media (max-width: 1380px) and (min-width: 1246px), (max-width: 380px) {
    .wio-overview-chart-container {
        float: none;
        margin-right: 0;
    }

    .wio-doughnut-legend {
        margin-top: 18px;
    }

    .wio-global-optim-phrase {
        padding-top: 0;
        width: auto;
    }
}

.wio-global-optim-phrase {
    width: 180px;
    padding-top: 20px;
    font-size: 14px;
    text-align: center;
}

.wio-clear {
    clear: both;
}

.wio-total-percent {
    color: #46b1ce;
}

.wio-columns .col-chart.col-chart {
    width: 40%;
    position: relative;
    padding: 20px;
    font-size: 12px;
    text-transform: uppercase;
    background: #f1f1f1b3;
    color: #abacaf;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
    text-align: left;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.wio-image-optimize-board {
    padding-bottom: 0 !important;
}

.wio-optimize-button {
    width: 180px;
    padding: 12px 30px;
    background: #c9deb2;
    color: #586549;
    border: 0;
    box-shadow: none;
    font-size: 16px;
    text-transform: uppercase !important;
    font-weight: bold;
    border-radius: 4px;
    outline: none;
}

.wio-optimize-button:active {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5);
}

.wio-optimize-button.running {
    color: #a57b3c;
    background: #fdd599 url("../img/Spinner-1s-33px.gif") 10px center no-repeat;
}

.wio-widget-bottom {
    display: table;
    padding-top: 20px !important;
    width: 100%;
    text-align: right;
}

.wio-widget-bottom li {
    display: table-cell;
}

.wio-widget-bottom li:first-child {
    text-align: left;
}

.wio-imagify-widget {
    padding: 0 !important;
}

.wio-imagify-widget .wio-bars {
    width: 60%;
    margin-left: 155px;
}

.wio-imagify-widget .col-chart.col-chart {
    width: 100%;
}

.wio-imagify-widget .col-controls {
    width: 45%;
    padding-left: 5px;
    padding-top: 110px
}

.wio-imagify-widget .wio-doughnut-legend {
    /*padding-top:30px;*/
    text-align: left;
}

#wio-start-msg-top, #wio-start-msg-right, #wio-start-msg-complete {
    display: none;
}

.wio-text-left {
    text-align: left;
}

span.wio-num {
    display: inline !important;
    position: inherit !important;
}
