#message strong{
    color: #ab3c3c;
    font-size: 20px;
}
.calc{
  position: relative;
} 
#klepsydra{
    width: 180px;
    height: 280px;
    margin: 0 auto;
    position: relative;
    animation-duration: 1s;
    animation-timing-function: linear;
}
#klepsydra img{
    display: block;
    width: 180px;
    height: 280px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
}
#boxcontainer{
    padding: 21px 0;
    margin: 0 10px 0 30px;
    overflow: hidden;
}
#line{
    display: none;
    position: absolute;
    left: 50%;
    bottom: 20px;
    width: 4px;
    height: 0px;
    margin-left: -2px;
    background-color: #47a3da;
    -webkit-transition: all 10ms;
	-moz-transition: all 10ms;
    transition: all 10ms;
    animation-name: line;
    animation-duration: 30s;
    animation-delay: 1s;
    animation-timing-function: linear;
}
.start #line{
    display: block;
}
.box{
    width: 140px;
    height: 119px;
    position: relative;
}
.ammos{
    width: 140px;
    height: 0%;
    background-color: #47a3da;
    position: absolute;
    left: 0;
    bottom: 0;
    -webkit-transition: all 300ms linear;
	-moz-transition: all 300ms linear;
    transition: all 300ms linear;
}
.down .ammos{
    height: 60%;
    border-bottom-right-radius: 45%;
}
.up .ammos{
    height: 0%;
}
.start .down{
    animation-name: rotatedb;
    animation-duration: 1s;
}
#klepsydra.start{
    animation-name: rotatekl;
}
.start .ammos{
    animation-duration: 30s;
    animation-delay: 1s;
    animation-timing-function: linear;
}
.start .down .ammos{
    animation-name: timegain;
}
.start .up .ammos{
    animation-name: timelost;
}
.finish .ammos{
    background-color: #ab3c3c;
}

@keyframes rotatekl {
    0%   {transform: rotate(0deg);}
    100% {transform: rotate(180deg);}
}

@keyframes rotatedb {
    0%   {transform: rotate(0deg);}
    100% {transform: rotate(-180deg);}
}

@keyframes timelost {
    0%   {background-color:#47a3da; height: 60%;}
    50%   {background-color:#47a3da; height: 45%;}
    80%   {background-color: #e35583; height: 25%;}
    100% {background-color: #cb4e4e; height: 0%;}
}

@keyframes timegain {
    0%   {background-color:#47a3da; height: 0%;}
    50%   {background-color:#47a3da; height: 40%;}
    80%   {background-color:#e35583; height: 50%;}
    100% {background-color:#cb4e4e; height: 60%;}
}

@keyframes line {
    0%   {background-color:#47a3da; height: 120px;}
    50%   {background-color:#47a3da; height: 120px;}
    80%   {background-color:#e35583; height: 120px;}
    100% {background-color:#cb4e4e; height: 120px;}
}

.score li .secdiv{
    margin-left: 15px;
    position: relative;
}
.score li .secdiv::before{
    content: ":";
    position: absolute;
    left: -11px;
    top: 23px;
    font-weight: bold;
    font-size: 27px;
    color: #333;
}
.score li label{
    font-size: 12px;
    display: block;
    margin-top: 2px;
}
.score li input{
    padding: 8px 4px;
    text-align: center;
    width: 40px;
    display: block;
    margin-top: 5px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

@media all and (max-width: 580px){
    .secl{
        margin-left: 0;
    }
    .score li .secdiv::before{
        font-size: 22px;
    }
}
