/* clearfix hack */

.clearfix:before, .clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}
section.compress_intro {
    max-width: 728px;
    margin: auto;
    margin-bottom: 30px;
    margin-top: 30px;
    color: #666;
    line-height: 20px;
    padding: 0 15px;
}

section.compress_intro p {
    display: inline;
}
.clearfix:after {
    clear: both;
}

.subtitle {
    color: #999;
}
.loaded{
    font-size: 13px;
    color: #468d39;
}
.loading{
    font-size: 13px;
    color: #d6b427;
}
div#container {
    margin: 0 auto 0 auto;
    max-width:728px;
    padding: 0 15px;
}
.left{float: left}
.right{float: right}
#file-dropper {
    min-height: 11.57895em;
    margin: auto;
    margin-top: 30px;
    padding: 35px;
    text-align: center;
    border: dashed 1px #C1C3C5;
    background: #fff;
}

#file-dropper.hover {
    border: 1px dashed #066bc6;
    background: #eff4ff;
}

.upload-text {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 400;
    color: #b1b3b7;
}

.button-container {
    margin: 15px 0;
}

.button {
    background: #066bc6;
    color: #fff;
    border: 0;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 3px;
}
.button:hover{
    background: #466fcc;
}
.button:active{
    box-shadow: inset 0px 0px 0px 4px rgba(0, 0, 0, .2);
}
#upload-button{
    margin-bottom: 20px;
}
#compress_svg{
    display: block;
    width: 150px;
    margin: 30px auto;
}
.button:disabled {
    background-color: #bbb;
    cursor: wait;
}

.input-preview, .output-preview {
    margin: 0 auto;
}

#input-img, #output-img {
    width: 100%;
}


section.range-slider, .single-slider {
    position: relative;
    height: 35px;
    text-align: center;
}

section.range-slider input {
    pointer-events: none;
    position: absolute;
    overflow: hidden;
    left: 0;
    top: 15px;
    outline: none;
    height: 23px;
    margin: 0;
    padding: 0;
}

section.range-slider input::-webkit-slider-thumb {
    pointer-events: all;
    position: relative;
    z-index: 1;
    outline: 0;
}

section.range-slider input::-moz-range-thumb {
    pointer-events: all;
    position: relative;
    z-index: 10;
    -moz-appearance: none;
    width: 9px;
}

section.range-slider input::-moz-range-track {
    position: relative;
    z-index: -1;
    background-color: rgba(0, 0, 0, 1);
    border: 0;
}

section.range-slider input:last-of-type::-moz-range-track {
    -moz-appearance: none;
    background: none transparent;
    border: 0;
}

section.range-slider input[type=range]::-moz-focus-outer {
    border: 0;
}

#control-panel {
    width: 300px;
    margin: 0px auto;
}

.control {
    margin: 10px;
}

input[type=range] {
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #666;
    border-radius: 1px;
    border: 0px solid #000000;
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 1px solid #666;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #999;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #666;
    border-radius: 1px;
    border: 0px solid #000000;
}

input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 1px solid #666;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #666;
    border: 0px solid #000000;
    border-radius: 2px;
    box-shadow: 0px 0px 0px #000000;
}

input[type=range]::-ms-fill-upper {
    background: #666;
    border: 0px solid #000000;
    border-radius: 2px;
    box-shadow: 0px 0px 0px #000000;
}

input[type=range]::-ms-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 1px solid #666;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
    background: #bbb;
}

input[type=range]:focus::-ms-fill-upper {
    background: #bbb;
}

.none{display: none}
.file-stats {
    position: absolute;
    font-size: 12px;
    background: rgba(0, 0, 0, .3);
    color: #fff;
    padding: 5px 10px;
    border-radius: 17px;
    margin-left: 7px;
    margin-top: 7px;
}

.indicator {
    height: 10px;
    width: 10px;
    border-radius: 10px;
    display: inline-block;
    margin-right: 5px;
}

.yellow {
    background-color: #ffcc00;
}

.green {
    background-color: #20a23d;
}

#output {
    border: thin solid #bbb;
    padding: 10px;
    margin-top: 5px;
}

.compress-text {
    font-size: 30px;
    font-weight: 600;
    color: #aaa;
    text-align: center;
    margin: 20px 0px;
}

.refresh-container {
    display: block;
    text-align: center;
    margin: 20px 0px;
}

#footer-content{
    text-align: center;
    color: #bbb;
    font-size: 14px;
    margin: 1px 0px;
}
#footer-content a{
    color: #666;
    text-decoration: none;
}