.fd-zone {
    position: relative;
    overflow: hidden;
}
.fd-file {
    opacity: 0;
    font-size: 118px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    padding: 0;
    margin: 0;
    cursor: pointer;
    filter: alpha(opacity=0);
    font-family: sans-serif;
}
.fd-smp {
    display: block;
    width: 100%;
    margin: 0 -0%;
    *zoom: 1;
    padding: 1em;
    width: auto;
}
.fd-smp:before,
.fd-smp:after {
    content: "";
    display: table;
}
.fd-smp:after {
    clear: both;
}
.fd-smp>* {
    position: relative;
}
.fd-smp p {
    margin: 0;
}
.fd-smp p+p {
    margin-top: .5em;
}
.fd-smp .fd-file {
    top: -40px;
}
.fd-smp .code {
    display: inline;
    float: left;
    width: 75%;
    margin: 0 0%;
}
.fd-smp .code figure {
    position: relative;
    margin-right: 1em;
}
.fd-smp .code figure:not(:hover) figcaption {
    display: none;
}
.fd-smp .code figure:hover .format {
    background: #F8F8F8;
}
.fd-smp .code figcaption {
    -o-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: #00998E;
    color: white;
    font-size: 121%;
    position: absolute;
    right: 0;
    top: -1.5em;
    padding: .1em .35em;
}
.fd-smp .code figcaption:after {
    content: "";
    display: table;
    width: 7px;
    height: 5px;
    background: no-repeat url(../hint-down.png);
    right: .36em;
    position: absolute;
}
.fd-smp .code .format {
    background: white;
    margin: 0;
    padding-left: .75em;
    border: 1px dashed #ddd;
    line-height: 1.3em;
}
.fd-smp .code figure+figure {
    margin-top: 1em;
}
.fd-smp .demo {
    display: inline;
    float: left;
    width: 25%;
    margin: 0 0%;
    text-align: center;
}
.fd-smp [id^=zone] {
    background: #00998E;
    padding: .3em;
    color: white;
    padding: 1em;
}
.fd-smp [id^=zone]>:first-child {
    margin-top: 0;
}
.fd-smp [id^=zone]>:last-child {
    margin-bottom: 0;
}
.fd-smp [id^=zone] label,
.fd-smp [id^=zone] button,
.fd-smp [id^=zone] [type=checkbox] {
    position: relative;
    z-index: 5;
    cursor: default;
}
.fd-smp [id^=zone] input {
    vertical-align: middle;
}
.fd-smp textarea[id^=zone] {
    width: 80%;
    margin: 0 auto;
    height: 10em;
    color: #CFFFBA;
    overflow: auto;
}
.fd-smp .fd-zone.over {
    background: #333;
    outline: 3px double #105075;
}
.fd-smp .demo legend {
    background: #304A59;
    border: 1px solid #C4D4DD;
    color: white;
    padding: .1em .35em;
}
.fd-smp .demo legend+div+p {
    margin-top: -0.3em;
}
.fd-smp .caption {
    font-size: 16px;
    font-size: 1rem;
    color: white;
    font-weight: bold;
    position: absolute;
    width: 100%;
    margin-top: .87em;
    z-index: 5;
}
.fd-smp .caption+:not(fieldset)[id^=zone] {
    padding-top: 3em;
}
.fd-smp .progress span {
    animation: progress .7s linear infinite;
    -moz-animation: progress .7s linear infinite;
    -webkit-animation: progress .7s linear infinite;
    -o-animation: progress .7s linear infinite;
    display: block;
    width: 100%;
    height: 1em;
    background: url(../images/progress.gif);
}
@keyframes progress {
    from {
        background-position: left top;
    }
    to {
        background-position: 30px top;
    }
}
@-moz-keyframes progress {
    from {
        background-position: left top;
    }
    to {
        background-position: 30px top;
    }
}
@-webkit-keyframes progress {
    from {
        background-position: left top;
    }
    to {
        background-position: 30px top;
    }
}
@-o-keyframes progress {
    from {
        background-position: left top;
    }
    to {
        background-position: 30px top;
    }
}