/* START progressbar ******************************************************* */
/* M244 20200406 toegevoegd

 20200419 zelfde schaduw toegevoegd als bij de XforY-rand
 border: 5px solid var(--menuAchtergrond);
 dus weggehaald.
*/
.ui-progressbar{
    background-color: var(--zilverBackground);

    height: 30px;

    border-left: 1px solid #FFA50088;
    border-bottom: 1px solid #FFA50088;

    -webkit-box-shadow: -3px 3px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: -3px 3px 5px 0px rgba(0,0,0,0.2);
    box-shadow: -3px 3px 5px 0px rgba(0,0,0,0.2);
    position: relative;
}

.ui-progressbar .ui-progressbar-value{
    background-color: var(--questionGoed);
    margin: 0px;
    transition: width 0.5s;
    -webkit-transition: width 0.5s;
    transition-timing-function: ease-out;
}

.ui-progressbar .ui-widget-header{
    border: none !important;
}

#progressbarLabel{
    background-color: transparent;
    position: absolute;
    color: var(--menuAchtergrond);
    text-align: center;
    font-weight: 600;
    width: 100%;
    font-size: 1em;
    padding-top: 3px;
    z-index: 2;
}

/*als hij klaar is, tekst helemaal wit*/
#progressbarLabel.klaar{
    font-size: 1em;
    color: white;
    font-weight: 800;
    text-shadow: none;
}

/* 20201004 toegevoegd
 * dit is het lampje dat "over" de progressbar loopt
 */
#progressbarLabel.klaar:before{
    animation-name: standingWave;
    animation-duration:1s;
    animation-timing-function: linear;
    animation-iteration-count:3;
    position: absolute;
    animation-fill-mode:forwards;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: linear-gradient(to right, #009304 0%, white 10%, #00930400 20%, #009304 100%);
}

@keyframes standingWave {
  0% {
    opacity: 1;
    transform: translateX(-20%) translateY(0%);
  }
  95% {
      opacity: 1;
    transform: translateX(100%) translateY(0%);
  }
  100% {
     opacity: 0;
     transform: translateX(100%) translateY(0%);
  }
}
/* EINDE progressbar ******************************************************* */

#tijdPB.ui-progressbar{
  background: rgba(206,71,71,1);
  background: -moz-linear-gradient(left, rgba(206,71,71,1) 0%, rgba(255,166,0,1) 33%, rgba(71,182,76,1) 100%);
  background: -webkit-gradient(left top, right top, color-stop(0%, rgba(206,71,71,1)), color-stop(33%, rgba(255,166,0,1)), color-stop(100%, rgba(71,182,76,1)));
  background: -webkit-linear-gradient(left, rgba(206,71,71,1) 0%, rgba(255,166,0,1) 33%, rgba(71,182,76,1) 100%);
  background: -o-linear-gradient(left, rgba(206,71,71,1) 0%, rgba(255,166,0,1) 33%, rgba(71,182,76,1) 100%);
  background: -ms-linear-gradient(left, rgba(206,71,71,1) 0%, rgba(255,166,0,1) 33%, rgba(71,182,76,1) 100%);
  background: linear-gradient(to right, rgba(206,71,71,1) 0%, rgba(255,166,0,1) 33%, rgba(71,182,76,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ce4747', endColorstr='#47b64c', GradientType=1 );
  height: 20px;
}
#tijdPB.ui-progressbar .ui-progressbar-value{
  background-color: rgba(255,255,255,0.51);
}
