// V 2.4

@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;700&display=swap');

.tsp-already-voted-message { 
	font-size: 22px;
	text-align: center;
	font-weight:600;
	color: #229fa5;
	margin-bottom:24px;
}
	
.tsp-poll-results {
    max-width: 680px;
    margin: auto;
    padding: 18px 0;
    font-family: 'Cabin', sans-serif;
}

.tsp-poll-question {
  text-align: center;
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 22px;
}

.tsp-answer {
  margin-bottom: 6px;
}

.tsp-bar-bg {
  position: relative;
  width: 100%;
  background: #f4f4f4;
  border-left: 2px solid #b5aaaa;
  height: 42px;
  overflow: hidden;
}

.tsp-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #b5aaaa;
  width: 0;
  transition: width 1s ease-in-out;  
}

/* NEW: when container gets .tsp-animate, expand to target */
.tsp-poll-results.tsp-animate .tsp-bar-fill {
  width: var(--w);
}

.tsp-bar-text {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 19px;
  color: #000;
}

