body#kaikkeus {
    max-width: 550px;
    margin:auto;
    border: 1px solid #ffffff;
    overflow: auto !important;
    font-size: 15px;
}
body#kaikkeus * {
     padding: 0;
     margin-top: 0;
     margin-bottom: 0;
}
div#sisalto {
    padding-top: 10px;
}
.checkbox:empty ~ label {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.osio {
    margin-top: 3vh;
    border-bottom: 1px dotted #d3d3d3;
}
#hsotsikko {
    padding-top: 8px !important;
}
#sisalto h3{
    display: block;
}
.osio h2 {
    padding: 5px 0;
}
.checkbox:empty ~ label:before {
    position: relative;
    display: inline-block;
    content: ' ';
    width: 20px;
    background: transparent;
    color: rgba(194, 194, 194, 0);
    border: 1px solid #777;
    height: 20px;
    text-indent: 4px;
    vertical-align: middle;
}

.checkbox:checked ~ label:before {
    content: ' ';
    color: #444;
    text-indent: 4px;
    border-color: transparent !important;
    vertical-align: middle;
}

.checkbox,.radio {
    display: none !important;
}
.vastausvaihtoehto {
    margin-bottom: 5px;
}

.checkbox ~ label:before {
    margin: 0px 5px 5px 0;
}

/*
Radio Buttons
*/
.radio:empty ~ label {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: inherit;
}

.radio:empty ~ label:before {
    position: relative;
    display: inline-block;
    content: ' ';
    width: 20px;
    border: 1px solid #777;
    height: 20px;
    color: transparent;
    border-radius: 20px;
}

.radio:checked ~ .wrong:before ,.checkbox:checked ~ .wrong:before {
    content: ' ';
    color: #fff;
    text-indent: 3px;
    background-color: #0a0a2d;
    font-weight: bold;
}

.radio:checked ~ .right:before , .checkbox:checked ~ .right:before , .rightAnswer ~ .right:before {
    content: ' ';
    color: #fff !important;
    text-indent: 3px !important;
    font-weight: bold;
    border-color: transparent;
}

.radio ~ label:before {
    margin: 0px 5px 5px 0;
    opacity: 1;
    vertical-align: middle;
    border-radius:20px;
}

input[type="checkbox"]:checked ~ .right:before,input[type="checkbox"]:checked ~ label .right:before ,.checkbox:checked ~ .right:before, .rightAnswer ~ .right:before {
    content: ' ';
    color: #fff !important;
    text-indent: 3px !important;
    background: url(../../../../img/assets/correct_darkblue_square.svg) no-repeat !important;
    font-weight: bold;
}

input[type="radio"]:checked ~ label .right:before, .rightAnswer ~ label .right:before, .radio:checked ~ .right:before, .checkbox:checked ~ .right:before, .rightAnswer ~ .right:before {
    content: "";
    color: #fff;
    display: inline-block;
    vertical-align: middle;
    background: url(../../../../img/assets/correct_darkblue_round.svg) no-repeat transparent !important;
}

input[type="radio"]:checked ~ label .wrong:before, .radio:checked ~ .wrong:before, .checkbox:checked ~ .wrong:before, .rightAnswer ~ .wrong:before {
    content: "";
    color: #fff;
    display: inline-block;
    vertical-align: middle;
    background: url(../../../../img/assets/incorrect_darkblue_round.svg) no-repeat transparent;
}

input[type="checkbox"]:checked ~ .wrong:before,input[type="checkbox"]:checked ~ label .wrong:before  {
    content: ' ';
    color: #fff;
    text-indent: 3px;
    background: url(../../../../img/assets/incorrect_darkblue_square.svg) no-repeat !important;
    font-weight: bold;
}
input[type=range] {
    /*removes default webkit styles*/
    -webkit-appearance: none;
    /*fix for FF unable to apply focus style bug */
    /*required for proper track sizing in FF*/
    width: 98% !important;
    outline: none !important;
    box-shadow: none !important;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 98%;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #fff;
    margin-top: -7px;
    border: 1px solid #888;
    box-shadow: 0px 1px 5px -2px;

}

input[type=range]:focus {
    outline: none;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ccc;
}

input[type=range]::-moz-range-track {
    width: 98%;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}

input[type=range]::-moz-range-thumb {
    border: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #ccc;
}

/*hide the outline behind the border*/
input[type=range]:-moz-focusring {
    outline: 1px solid white;
    outline-offset: -1px;
}

.img.input-box {
    width: 49%;
    position: relative;
    display: inline-block;
    margin: 2% 0% 0% 0%;
}

.input-box label {
    line-height: normal !important;
}

.input-box:hover {
}

video.img-label {
    width: 100%;
    margin: auto;
}

.input {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: -10;
    display: block !Important;
    width: 100% !important;
    opacity: 0 !important;
}

.for-range {
    display: block;
}

.for-range input {
    width: 70px !important;
}

.checking {
    position: absolute;
    left: 1px;
    bottom: 1px;
}

.input:checked ~ .checking:before {
    content: '\2714';
    font-size: 1.3em;
    color: #ffffff;
    padding: 0px 5px;
}

.input:checked ~ label , .rightAnswer ~ label {
    border-color: #1ba502 !important;
}

input[type=range]::-ms-track {
    width: 98%;
    height: 5px;
    /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
    background: transparent;
    /*leave room for the larger thumb to overflow with a transparent border */
    border-color: transparent;
    border-width: 6px 0;
    /*remove default tick marks*/
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #777;
    border-radius: 10px;
}

input[type=range]::-ms-fill-upper {
    background: #ddd;
    border-radius: 10px;
}

input[type=range]::-ms-thumb {
    border: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #ccc;
}

input[type=range]:focus::-ms-fill-lower {
    background: #888;
}

input[type=range]:focus::-ms-fill-upper {
    background: #ccc;
}

label.img-lab::after {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.43);
    text-align: center;
    width: 100%;
    z-index: 10;
    padding: 5px 0;
}

label.img-lab:hover {
    border-color: #1ba502;
}

.media {
    background-color: transparent !important;
    text-align: center;
}

.preview-img {
    max-height: 160px;
    padding-bottom: 10px;
}

.kysymys_kuva {
    max-width: 520px;
    margin: auto;
}

.oikea_vastaus h3 {
    text-align: left;
    padding: 5px 0;
    font-family: 'HelsinginTextBold',sans-serif;
    font-size: 0.9em !important;
    width: 100%;
}

.oikea_vastaus {
    text-align: left;
    width: 100%;
}

label.vid-lab::after {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.43);
    text-align: center;
    width: 100%;
    z-index: 10;
    padding: 5px 0;
}

.img-lab {
    position: relative;
    width: calc(100% - 20px);
    padding: 1.5%;
    border: 2px solid transparent;
    line-height: normal !important;
}
.anstext:hover , .vastasus-true:hover {
    cursor: pointer;
}
label.vid-lab {
    position: relative;
    width: 99%;
    line-height: normal !important;
    padding: 0.5%;
    border: 2px solid transparent;
}

label.vid-lab:hover , .img-lab:hover {
    border-color: #a6cf38;
}

img.img-label {
    width: 100%;
    height: 150px;
}

.vastausvaihtoehto.video.input-box {
    position: relative;
    display: block;
    margin-top: 2%;
}

.anstext {

    border: none !important;

    padding: 0 !important;

    position: absolute;

    bottom: 4%;

    left: 3%;
}
.vastasus-true{
    padding: 4px 0 4px 4px;
    margin-top: -3px;
    min-height: 20px;
    position: relative;
}
.vastasus-true:before {
    content: " ";
    width: 20px;
    height: 20px;
    display: none;
    margin-right: 5px;
    opacity: 1;
    transition: all 300ms linear;
    position: absolute;
    right: 0;
    top: -2px;
}

.input:checked ~ label .right:before , .rightAnswer ~ label .right:before {
    content: " ";
    text-indent: 1px;
    color: #fff;
    background-color: #0a0a2d;
    display: inline-block;
}

.input:checked ~ label .wrong:before {
    content: " ";
    text-indent: 1px;
    vertical-align: initial;
    color: #fff;
    background-color: #0a0a2d;
    display: inline-block;
}

.oikea_vastaus>div {
    font-size: 1em;
    line-height: 1.5em;
    font-weight: 100;
    width: calc(90% - 4px);
    margin: 0 auto 0 auto;
    padding: 8px;
}

.vastaussolu {
    padding: 15px 0 10px 0;
    width: 100%;
    border: 0;
    border-top: 1px dotted #d3d3d3;
    border-radius: 0;
}

.vastaussolu >h3 {
    font-size: 1.2em;
    line-height: 1.34em;
}
.rightChecked{
    font-weight: bold !important;
    opacity:1!important;
}
div#nayta_tulokset , #uudestaan {
    text-align: center;
    margin: 20px auto;
}
.range-wrap {
    position: relative;
    margin-top: 20px;
}
.range-val {
    display: none;
    background-color: #263b66;
}
.range-val:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 8px;
    width: 0;
    border-top: 5px solid #263b66;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}
.hide{
    display: none;
}
div#nayta_tulokset > button {
    padding: 0.55em 1em;
    border-radius: 1.2em;
    color: white;
    text-align: center;
    border: 0;
    font-size: 1.2em;
    cursor: pointer;
    width: inherit;
    text-transform: uppercase;
    display: block;
    margin: 0 auto;
    outline: none;
    transition: all .3s;
    background-color: #263b66;
}

div#uudestaan > button {
    background: transparent;
    border: none;
    color: #3f3f3f;
    width: inherit;
    text-transform: uppercase;
    border-radius: 12rem;
    transition: all .3s;
    cursor: pointer;
    font-size: 18px;
    display: block;
    margin: 0 auto;
    font-weight: 400;
    text-align: center;
    outline: none;
}

div#uudestaan > button:before {
    content: " ";
    display: inline-block;
    transform: rotate(82deg);
    font-weight: 900;
    background-color: #263b66;
    border-radius: 20pc;
    height: 20px;
    color: white;
    padding: 2px 6px;
    font-size: 13px;
    vertical-align: middle;
    width: 8px;
    margin-right: 10px;
    background: url(../../../../img/assets/circle_retry_darkBlue.svg) no-repeat;
}
.draggable {
    position:absolute;
    top: -10px !important;
    background: #263b66;
    height:25px;
    width:25px;
    border-radius: 25px;
    left: 0px;
    text-align:center;
}
.questSlider{
    width: 95%;
    margin: auto;
}
.range-wrap {
    width: 100%;
    margin:30px auto;
    position : relative;
    height: 5px;
    background: #fff;
    box-shadow: 0px 0px 0px 12px rgb(222, 218, 218);
    border-radius: 30px;
}
.fill{
    position: absolute;
    left: 0;
    top: 0px;
    display: inline;
    height: 5px;
    background-color: #263b66;
    border-radius: 20px;
}
.hide{
    display: none;
}
.slider-submit{
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -webkit-transition: width 0.5s, left 0.5s;
    -moz-transition: width 0.5s, left 0.5s;
    -ms-transition: width 0.5s, left 0.5s;
    -o-transition: width 0.5s, left 0.5s;
    transition: width 0.5s, left 0.5s;
    background-color: #263b66;
    color: #fff;
    border-radius: 20px;
    margin: auto;
    width: 50%;
    min-width: 250px;
    height: 43px;
    text-align: center;
    line-height: 43px;
    margin-top: 10px;
    cursor: pointer;
}
#fb a{
    display: inline-block;
}
#fb img{
    height: 70px;
    margin: 30px 0px 10px 0px;
}
.hsteksti {
    color: #686b6a;
    font-weight: normal;
    letter-spacing: .02em;
    font-size: 1em;
    padding: 5px 0;
    clear: both;
}

div#sisalto {
    position: relative;
}

h2 {
    font-size: 1.7em;
    text-transform: uppercase;
    font-weight: 300 !important;
}

.givemespace {
    height: 15px !important;
}
#uudestaan, #tulokset {
    text-align: center;
}
#tulokset h1 {
    text-transform: uppercase;
    font-size: 1.5em;
}
#tulokset h3 {
    padding-top: 0.5em;
    font-size: 1.25em;
}

.hsteksti.bottom {
    text-align: right;
    font-size: 0.9em;
}


