.dipl_bar_counter_percent {
display: inline-block;
position: relative;
vertical-align: middle;
padding: 0 10px;
font-size: 16px;
line-height: 1.4;
}
.et_pb_with_border .dipl_bar_counter_bar,
.et_pb_with_border .dipl_bar_counter_chunks,
.et_pb_with_border .dipl_bar_counter_filled_bar {
border-width: 0;
border-style: solid;
border-color: #333;
}
.dipl_bar_counter_bar {
display: flex;
flex-wrap: wrap;
align-items: stretch;
background: #ddd;
border-width: 0;
border-style: solid;
border-color: #333;
overflow: hidden;
}
.dipl_bar_counter_filled_bar {
position: absolute;
left: 0;
top: 0;
background: pink;
width: 100%;
height: 100%;
}
.dipl_bar_counter .layout1 .dipl_bar_counter_filled_bar_wrapper {
position: relative;
width: 0;
text-align: right;
transition: all 1s ease;
}
.dipl_bar_counter_animated_striped_bar:before,
.dipl_bar_counter_striped_bar:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: linear-gradient(
-45deg,
rgba(255, 255, 255, 0.15) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, 0.15) 50%,
rgba(255, 255, 255, 0.15) 75%,
transparent 75%,
transparent
);
background-size: 35px 35px;
}
.dipl_bar_counter_animated_striped_bar:before {
animation: dipl_animated_stripe 1s linear infinite;
}
@keyframes dipl_animated_stripe {
0% {
background-position: 0 0;
}
100% {
background-position: 35px 0;
}
}
.dipl_bar_counter .layout2 .dipl_bar_counter_filled_bar_wrapper {
display: flex;
width: 100%;
}
.dipl_bar_counter_chunks {
position: relative;
flex-grow: 1;
background: #ddd;
margin-right: 5px;
overflow: hidden;
}
.dipl_bar_counter_filled_chunks:before {
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
background: pink;
content: "";
}
.dipl_bar_counter_filled_chunks.dipl_animate_filled:before {
animation-name: dipl_animate_filled;
animation-fill-mode: forwards;
animation-timing-function: linear;
animation-duration: 0.2s;
}
.dipl_bar_counter_filled_chunks.dipl_animate_filled:nth-child(2):before {
animation-delay: 0.1s;
}
.dipl_bar_counter_filled_chunks.dipl_animate_filled:nth-child(3):before {
animation-delay: 0.2s;
}
.dipl_bar_counter_filled_chunks.dipl_animate_filled:nth-child(4):before {
animation-delay: 0.3s;
}
.dipl_bar_counter_filled_chunks.dipl_animate_filled:nth-child(5):before {
animation-delay: 0.4s;
}
.dipl_bar_counter_filled_chunks.dipl_animate_filled:nth-child(6):before {
animation-delay: 0.5s;
}
.dipl_bar_counter_filled_chunks.dipl_animate_filled:nth-child(7):before {
animation-delay: 0.6s;
}
.dipl_bar_counter_filled_chunks.dipl_animate_filled:nth-child(8):before {
animation-delay: 0.7s;
}
.dipl_bar_counter_filled_chunks.dipl_animate_filled:nth-child(9):before {
animation-delay: 0.8s;
}
.dipl_bar_counter_filled_chunks.dipl_animate_filled:nth-child(10):before {
animation-delay: 0.9s;
}
.dipl_bar_counter_chunks:last-of-type {
margin-right: 0;
}
.dipl_bar_counter .layout2 .dipl_bar_counter_percent {
padding: 0 0 0 10px;
}
@keyframes dipl_animate_filled {
0% {
width: 0;
}
100% {
width: 100%;
}
}