:root {
	--range-button-width: 42px;
	--kuuntelutesti-label-border-color: #000;
	--kuuntelutesti-label-text-color: #000;
	--kuuntelutesti-viiva-color: rgba(99, 30, 105, 0.5);
}


.kuuntelutesti-range-slider {
	/* margin-top: 30vh; */

}

.kuuntelutesti-range {
	/* margin-top: 29px; */
	width: 100%;
	-webkit-appearance: none;
}

.kuuntelutesti-range:focus {
	outline: none;
}


label div {
	width: 100%;
} 	
.kuuntelutesti-label {
	position: relative;
	display: block;
	width: fit-content;
	line-height: 30px;
	text-align: center;
	font-weight: bold;
	box-sizing: border-box;
	padding: 10px;
	//border: 2px solid var(--kuuntelutesti-label-border-color);
	margin-top: 10px;
	left: attr(value);
	color: --kuuntelutesti-label-text-color) font-style: normal;
	font-weight: normal;
	line-height: normal;
	left: 50%;
	transform: translateX(-50%);
}

.kuuntelutesti-label::after {
	content: "";
	display: block;
	font-size: 20px;
	letter-spacing: 0.07em;
	margin-top: -2px;
}

.question {
	width: 100%;
	text-align: center;
}

.kuuntelutesti-root-container {
	max-width: 600px;
width: calc(100% - 20px);
/* box-sizing: content-box; */
margin: 2em auto;
}

.kuuntelutesti-root-container hr {
	margin-top: 50px;
}

#kuuntelutesti-result {
	margin-top: 30px;
}

#kuuntelutesti-result-container {
	display: none;
	-webkit-animation: fadeIn 1s;
	animation: fadeIn 1s;
	margin-top: 3em;
}

.kuuntelutesti-single-question {
	display: none;
	-webkit-animation: fadeIn 1s;
	animation: fadeIn 1s;
	margin-top: 50px;
	width: 100%;
	position: relative;
	transform: translate(-50%);
left: 50%;
}

.kuuntelutesti-single-question[data-question-number="0"] {
	display: block
}


.kuuntelutesti-kysymys-header {
	text-align: center;
	font-weight: bold;
}
@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.kuuntelutesti-range {
	--ticksThickness: 1px;
	--ticksHeight: 70%;
	--ticksColor: rgba(99, 30, 105, 0.5);
	display: inline-block;
	background: rgba(99, 30, 105, 0.5);
	background: linear-gradient(to right, var(--ticksColor) var(--ticksThickness), transparent 1px) repeat-x;
	background-size: calc(100%/((var(--max) - var(--min)) / var(--step)) - .1%) var(--ticksHeight);
	background-position: 0 bottom;
	position: relative;
	width:100%;
}


/* min / max labels at the edges */
/* .kuuntelutesti-range::before, .kuuntelutesti-range::after {
font: 12px monospace;
content: counter(x);
position: absolute;
bottom: -2ch;
}
*/
.kuuntelutesti-range::before {
	counter-reset: x var(--min);
	transform: translateX(-50%);
}

.kuuntelutesti-range::after {
	counter-reset: x var(--max);
	right: 0;
	transform: translateX(50%);
}


.kuuntelutesti-range>input {

	margin: 0 -1.5px;
	/* Critical adjustment */
}

.kuuntelutesti-root-container .btn-svgs svg {
    fill: rgb(224 138 231 / 90%);
}

.kuuntelutesti-root-container .share-btn {
	margin-top: 20px;
}

.kuuntelutesti-root-container .btn-svgs {
    display: flex;
    flex-direction: row;
}

.kuuntelutesti-root-container .btn-svgs a {
    width: 3em;
    margin: 0px 10px;
		cursor: pointer;
}

.kuuntelutesti-root-container .btn-svgs a:nth-child(1) {
	margin-left: 0px;
}

.kuuntelutesti-root-container svg:hover {
	fill: var(--kuuntelutesti-viiva-color)
}

.ydd-body-content--article .ydd-visualisation {
	margin-left: 0;
	margin-right: 0;
}

.kuuntelutesti-root-container .result-image {
	width: 100%;
	margin-bottom: 10px;
}