/* */

.kalanjalki_wrapper {
	width: 100%;
	max-width: 1000px !important;
	margin-left: auto;
	margin-right: auto;
	border: 0px solid black;
	/*padding: 2em;*/
	background-image: url(images/kalanjalki_wrapper_bg.png);
	background-size: 100%;
	background-repeat: no-repeat;
}

.kalanjalki_inner_wrapper {
	max-width: 880px;
	/*width: 100%;*/
	padding: 3em;
	margin-left: auto;
	margin-right: auto;
}

.kalanjalki_center {
	text-align: center;
	width: 100%;
}

.kalanjalki_yhteenveto_wrapper {
	background-color: #d8e5f0;
	margin-top: 45px;
}

IMG.kalanjalki_yhteenvetokala {
    display: block;
    width: 200px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: -95px;
}

.kalanjalki_yhteenveto_texts_wrapper {
	margin-top: -80px;
    padding: 1em;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.kalanjalki_results_disclaimer {
    font-size: 0.85em;
    text-align: center;
    display: block;
    padding: 0.5em;
    width: 100%;
    font-weight: normal;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.kalanjalki_wrapper H1, .kalanjalki_wrapper H2, .kalanjalki_wrapper H3, .kalanjalki_wrapper H4, .kalanjalki_wrapper H5 {
	color: #0E2146;
	margin-top: 0;
}

.kalanjalki_bold {
	color: #0E2146;
	font-weight: bold;
}

.kalanjalki_results {
    background-color: #d8e5f0;
    padding: 0.5em 1em;
    border-radius: 2em;
    margin-top: 0.5em;
    display: inline-block;
    font-size: 1.5em;
}

.kalanjalki_button {
    background-color: #ffffff;
    padding: 1em 1.5em;
    border-radius: 2em;
    margin-top: 0.5em;
    display: inline-block;
    font-size: 1em;	
	border: 2px solid #0E2146;
	font-weight: bold;
    color: #0E2146 !important;
    text-decoration: none;
}

.kalanjalki_button:hover {
	background-color: #0E2146;
	color: #ffffff !important;
	cursor: pointer;
}

.kalanjalki_question_wrapper {
	margin-bottom: 2em;
}

span.kalanjalki_question {
	font-weight: bold;
	color: #0E2146;
}

.kalanjalki_question_notification {
	height: 1em;
	font-size: 0.9em;
	color: #003D79;
	text-align: center;
}

.kalanjalki_question_wrapper .kalanjalki_input_wrapper {
    display: flex;
    align-content: center;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
}

.kalanjalki_question_value {
	/*padding: 0em 1em 0em 0em;*/
	font-weight: bold;
	color: #0E2146;
	width: 2em;
}

.kalanjalki_question_slider {
	width: 100%;
}

.kalanjalki_slider {
	width: 100%;
}

/* The slider itself */
.kalanjalki_slider {
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  width: 100%; /* Full-width */
  height: 35px; /* Specified height */
  background-color: transparent; /* Grey background */
  background-image: url(images/kalanjalki_slider_bg.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  outline: none; /* Remove outline */
  opacity: 1; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.kalanjalki_slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 35px; /* Set a specific slider handle width */
  height: 35px; /* Slider handle height */
  background: #003d79; /* Green background */
  cursor: pointer; /* Cursor on hover */
  border-radius: 100%;
  opacity: 1;
}

.kalanjalki_slider::-moz-range-thumb {
  width: 35px; /* Set a specific slider handle width */
  height: 35px; /* Slider handle height */
  background: #003d79; /* Green background */
  cursor: pointer; /* Cursor on hover */
  border-radius: 100%;
  opacity: 1;
}

.kalanjalki_slider {
 pointer-events: none;
}

.kalanjalki_slider::-webkit-slider-thumb {
  pointer-events:auto;
}

.kalanjalki_slider::-moz-range-thumb {
  pointer-events: auto !important;
}

.kalanjalki_slider::-webkit-slider-thumb {
  pointer-events: auto !important;
}

.kalanjalki_slider::-ms-thumb {
  pointer-events: auto !important;
}

.kalanjalki_slider::-ms-track {
  pointer-events: none !important;
}

@media only screen and (max-width: 600px) {
	.kalanjalki_inner_wrapper {
		padding: 1em;
		margin-left: auto;
		margin-right: auto;
	}
	
	.kalanjalki_wrapper H1, .kalanjalki_wrapper H2, .kalanjalki_wrapper H3, .kalanjalki_wrapper H4, .kalanjalki_wrapper H5 {
		font-size: 1.5em;
	}

	.kalanjalki_button {
		font-size: 0.8em;
	}
	
	.kalanjalki_results {
		font-size: 1em;
	}	

	.kalanjalki_question_notification {
		text-align: left;
		height: 1.5em;
	}

	.kalanjalki_yhteenveto_wrapper {
		margin-top: 80px;
	}
	
	.kalanjalki_faktaikoni {
		margin-bottom: 2em;
		margin-top: -2em;	
	}	
	
}

H2.kalanjalki_h2 {
  color: #0E2146;
  font-weight: normal;
}

H3.kalanjalki_h3 {
  color: #177CB2;
  font-weight: normal;
  font-size: 1.5em;
  margin-top: 0;
}

.kalanjalki_sininen_faktaboksi {
    background: #0E2146;
    color: white;
    padding: 2em;  
    margin-bottom: 1em !important;
}

.kalanjalki_faktaboksi {
  padding: 2rem 2rem 1rem 2rem;
  background: #d8e5f0;
}

.kalanjalki_sininen_faktaboksi A {
  color: white;
  text-decoration: underline;
}

.kalanjalki_separator {
  margin-top: 2em;
  margin-bottom: 2em;
}

.kalanjalki_faktaikoni {
    margin-bottom: 2em;
    margin-top: -6em;	
}

header#main-header {
    background-image: url(https://kalaneuvos.fi/wp-content/uploads/2023/01/iStock-599749866-e1674044110948.jpg) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: top center !important;
}