/* -------------------------------------------------------------------------
   CANVAS ANIMATION TRACE
   ------------------------------------------------------------------------- */
#containerDrawTrace{
    margin-left:auto;margin-right:auto;margin-top:25px;text-align:center;
}
#fase-formgroup{
    z-index: 1000;
}
#drawTrace{
    margin-left:auto;margin-right:auto;margin-top:25px;text-align:center;
}
#fase_label{
    text-align:left;font-size: 18px;margin-left:50px
}
#contentExercise{
    position: relative;
    z-index:2;
    height: 407px;
}
#imageExercise{
    position: absolute;
    top: -80px; /*-80*/
    z-index:1;
    left: 33px;
}
#traceCanvas{
    position: absolute;
    z-index:1;  /* before 0   */
    left: 33px;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .85);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .85);
    box-shadow: 0 0 10px rgba(0, 0, 0, .85);
    border-radius: 3px;
    border: 1px outset rgba(0, 0, 0, .5);
    border-bottom:0 !important;
    /*background:#FFF;*/
    width: 640px;
    height: 401px;
}
#control {
    z-index: 9;
    position:relative;
    top:-6px;
    background: #3d3d3d;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    padding:5px;
    color:white;
    font-family:Helvetica, sans-serif;
    width:640px;
    margin: 0 0 5px 33px;
}

#control_phase {
    float:left;
    vertical-align: middle;
}

#control_animation button {
    color:white;
    background:#3d3d3d;
    border-color:transparent;
}

#control_animation input[type=number] {
    background:#3d3d3d;
    border-color: transparent;

}

#control_phase button {
    color:white;
    background:#3d3d3d;
    border-color:transparent;
    margin-top:1px;
    padding-right: 0;
    padding-left: 0;
}

#control_phase .airTrace_label {
    margin-top: 4px;
    display:inline-block;
}

#slider_block{
    float: right;
    padding:0 .3em;
    display:inline-block;

}

#control_animation #slider {
    position:relative;width:150px;display:inline-block;margin:auto;
}

#slider-values{
    width:47px; margin-left:4px;
}

#airTrace_description {
    margin-left: 29px;
    margin-top: 5px;
    display: block;
    float: left;
}

#slider {
    background: rgb(226,226,226); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(226,226,226,1)), color-stop(50%,rgba(219,219,219,1)), color-stop(51%,rgba(209,209,209,1)), color-stop(100%,rgba(254,254,254,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */
}
#slider span {
    background: rgb(52,56,58); /* Old browsers */
    background: -moz-linear-gradient(-45deg,  rgba(52,56,58,1) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(52,56,58,1)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg,  rgba(52,56,58,1) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg,  rgba(52,56,58,1) 0%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg,  rgba(52,56,58,1) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
    background: linear-gradient(135deg,  rgba(52,56,58,1) 0%,rgba(0,0,0,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#34383a', endColorstr='#000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}

#checkbox-1 {
    float:right;
    width: 120px;
    margin:0 auto;
    margin-left: 10px;
    position: relative;
}

#checkbox-1 input[type=checkbox] {
    visibility: hidden;

}

#checkbox-1 label {
    font-style: normal;
    font-weight: normal;
    cursor: pointer;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 2px;
    left: 0;
    border-radius: 4px;

    -webkit-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,.4);
    -moz-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,.4);
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,.4);

    background: -webkit-linear-gradient(top, #222 0%, #45484d 100%);
    background: -moz-linear-gradient(top, #222 0%, #45484d 100%);
    background: -o-linear-gradient(top, #222 0%, #45484d 100%);
    background: -ms-linear-gradient(top, #222 0%, #45484d 100%);
    background: linear-gradient(top, #222 0%, #45484d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#222', endColorstr='#45484d',GradientType=0 );
}

#checkbox-1 label:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    content: '';
    position: absolute;
    width: 9px;
    height: 6px;
    background: transparent;
    top: 7px;
    left: 5px;
    border: 3px solid #fcfff4;
    border-top: none;
    border-right: none;

    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#checkbox-1 label:hover::after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);
    opacity: 0.3;
}

#checkbox-1 input[type=checkbox]:checked + label:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}

#control > div button:disabled {
    color:#A4A4A4;
}

#control > div button:hover:enabled {
    box-shadow: 0px 0px 3px #BBEDF6;
    border-radius:5px;
    transition: box-shadow 0.5s;
}

.sourceLoading {
    display: none;
    background: rgba(255,255,255,.5);
}
