body {
    max-width: 560px;
    margin: auto !important;
    min-width: 300px;
    font-family: "HelsinginTextRegular", sans-serif;
    border: none !important;
    position: relative;
}
body:before, body:after {
    position: absolute;
    height: 1px;
    width: 15%;
    min-width: 150px;
    display: block;
    content: "";
}
body:before{
    left: 0;
    top: 0;
}
body:after{
    right: 0;
    bottom: 0;
    margin-bottom: 2px;
}
ol#vaihtoehdot {
    max-width: 95%;
    margin: auto;
}

ol#vaihtoehdot li:before {
    margin-right: 0px !important;
}

.prosentit.ulkopuolella {
    margin-right: -10px;
}
input {
    display: none !important;
}

.disable{
    opacity: 0.5;
}

label {
    display: block;
    height: 100%;
    background-size: 100% 100% !important;
    position: relative;
    cursor: pointer;
}
.slider-send {
    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;
}
body,html {
    padding: 0;
    margin: 0;
}
div#samp_yla {
    background-color: transparent !important;
    color: #000 !important;
}
.confirmButtons {
}

.confirmButtons > div {
    display: inline-block;
    width: 48%;
    text-align: center;
    background-color: #263b66;
    color: #fff;
    padding: 2% 0;
    margin: 0 1%;
    border-radius: 20px;
}
.clicked {
    width: 5px;
    height: 5px;
    border: 1px solid rgba(11, 147, 213, 0.26);
    border-radius: 100%;
    padding: 2px;
    background-color: rgba(11, 147, 213, 0.26);
    position: absolute;
    z-index: 1;
    -webkit-animation: myfirst 300ms ease-in-out 100ms;
    /* Safari 4.0 - 8.0 */
    animation: myfirst 300ms ease-in-out 100ms;
    -webkit-animation-fill-mode: forwards;
    /* Safari 4.0 - 8.0 */
    animation-fill-mode: forwards;
}

.click {
    /*  width: 50%;
      height: 50% !important;
      border-radius: 100% !important;
      background-color: #00a0df !important;
      box-shadow: 0px 0px 5px 2px #ccc !important;*/
    -webkit-animation: myfirst 300ms ease-in-out 100ms;
    /* Safari 4.0 - 8.0 */
    animation: myfirst 300ms ease-in-out 100ms;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-animation-fill-mode: forwards;
    /* Safari 4.0 - 8.0 */
    animation-fill-mode: forwards;
}

.wrap {
    max-width: 560px;
    min-width: 300px;
    margin: auto;
    position: relative;
    overflow: hidden;
}
.hide{
    display: none !important;
}
.grid {
    overflow: hidden;
    padding: 0px 5px;
}
#area-out-1, #area-out-4 {
    opacity: 0.6;
    font-size: 13px;
    text-align: center;
}
.area {
    width: calc(50% - 2px);
    border-width: 1px;
    border-style: solid;
    height: calc(50% - 2px);
    float: left;
    position: relative;
    z-index: 1000;
    overflow: visible;
}

.area .box:hover span {
    background-color: rgba(173, 173, 173, 0.23);
}

.contain {
    position: relative;
    text-align: center;
}

@-webkit-keyframes myfirst {
    0% {
        background-color: rgba(173, 173, 173, 1);
        /* transform: scale(1.3);*/
        border-radius: 0;
        /* box-shadow: 0 0 2px 1px #ccc; */
        width: 80%;
        height: 80%;
    }

    25% {
        background-color: rgba(173, 173, 173, 0.70);
        /* transform: scale(1.3); */
        /* box-shadow: 0 0 8px 8px #ccc; */
        width: 80%;
        height: 80%;
        border-radius: 10%;
    }

    50% {
        background-color: rgba(11, 147, 213, 0.40);
        /* transform: scale(1.2); */
        /* box-shadow: 0 0 6px 6px #ccc; */
        width: 70%;
        height: 70%;
        border-radius: 30%;
    }

    75% {
        background-color: rgba(11, 147, 213, 0.70);
        /*  transform: scale(1.1); */
        /* box-shadow: 0 0 4px 4px #ccc; */
        width: 60%;
        height: 60%;
        border-radius: 40%;
    }

    100% {
        background-color: rgba(11, 147, 213, 1);
        /* transform: scale(1); */
        /* box-shadow: 0 0 0px 0px #ccc; */
        width: 50%;
        height: 50%;
        border-radius: 50%;
    }
}

@keyframes myfirst {
    0% {
        background-color: rgba(173, 173, 173, 1);
        /* transform: scale(1.3);*/
        border-radius: 0;
        /* box-shadow: 0 0 2px 1px #ccc; */
        width: 80%;
        height: 80%;
    }

    25% {
        background-color: rgba(173, 173, 173, 0.70);
        /* transform: scale(1.3); */
        /* box-shadow: 0 0 8px 8px #ccc; */
        width: 80%;
        height: 80%;
        border-radius: 10%;
    }

    50% {
        background-color: rgba(11, 147, 213, 0.40);
        /* transform: scale(1.2); */
        /* box-shadow: 0 0 6px 6px #ccc; */
        width: 70%;
        height: 70%;
        border-radius: 30%;
    }

    75% {
        background-color: rgba(11, 147, 213, 0.70);
        /*  transform: scale(1.1); */
        /* box-shadow: 0 0 4px 4px #ccc; */
        width: 60%;
        height: 60%;
        border-radius: 40%;
    }

    100% {
        background-color: rgba(11, 147, 213, 1);
        /* transform: scale(1); */
        /* box-shadow: 0 0 0px 0px #ccc; */
        width: 50%;
        height: 50%;
        border-radius: 50%;
    }
}

.center {
    display: inline-block;
    margin: 1% auto;
}

.question {
    font-size: 160%;
}

.ans input {
    display: none;
}
.redo img {
    width: 15px;
}

.ans {
    padding: 2% 0;
    background-color: #263b66;
    color: white;
    border-radius: 40px;
    font-size: 1.2em;
    text-transform: uppercase;
    display: inline-block;
    width: 44%;
    margin-right: 3%;
    text-align: center;
}

.ans-opt {
    margin: 20px 0px 20px 0px;
    text-align: center;
}

.nappi input:checked ~ label {
    background-color: rgb(87, 177, 177);
}

.respone {
    margin-top: 10px;
}

.resp-wrap {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    position: relative;
    overflow: auto;
    height: 60px;
}

.resp-wrap:before {
    /* content: attr(data-1); */
    position: absolute;
    bottom: 100%;
    left: 0;
    color: rgba(0, 128, 128, 0.81);
    font-size: 130%;
    margin-bottom: 3px;
    display: block;
}

.resp-wrap:after {
    /* content: attr(data-2); */
    position: absolute;
    right: 0;
    bottom: 100%;
    color: teal;
    font-size: 130%;
    margin-bottom: 3px;
    display: block;
}

.resp-wrap > div {
    height: 100%;
    float: left;
    position: relative;
    transition: all 300ms linear 2s;
    background-color: #fff;
    width: 0%;
}

.checked {
    background-color: rgba(230, 227, 227, 0.76);
}

.tags {
    /* position: absolute; */
    font-size: 130%;
    color: teal;
}

.left {
    left: 0;
    float: left;
}

.right {
    right: 0;
    float: right;
}

.span-fill {
    display: block;
    width: 0%;
    background-color: rgb(61, 191, 191);
    height: 60%;
    position: absolute;
    top: 12px;
    -webkit-animation: spanfill 500ms ease 200ms;
    /* Safari 4.0 - 8.0 */
    animation: spanfill 500ms ease 200ms;
    -webkit-animation-fill-mode: forwards;
    /* Safari 4.0 - 8.0 */
    animation-fill-mode: forwards;
}
@-webkit-keyframes spanfill {
    from{
        width: 0%;
    }
    to{
        width: 100%;
    }
}
@keyframes spanfill {
    from{
        width: 0%;
    }
    to{
        width: 100%;
    }
}

.checked .span-fill {
    background-color: rgba(0, 128, 128, 0.47) !important;
}

.bold {
    font-weight: bold;
}

.span-fill:after {
    position: absolute;
    content: attr(data-perc);
    top: 7px;
    color: white;
    margin-left: 5px;
    font-size: 18px;
}

.span-fill.right:after {
    right: 0;
    padding-right: 1%;
}

.span-fill.left:after {
    left: 0;
}

.ans-text {
    color: #737373;
    padding: 10px 0 5px 0;
}

.ans-long-text {
    text-align: left;
    color: #545454;
    font-size: 110%;
    display: none;
    margin: 1% 0;
}

.tag-wrap {
    position: relative;
    overflow: auto;
}

.send {
    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;
    display: inline-block;
    background-color: #263b66;
    color: #fff;
    border-radius: 20px;
    vertical-align: top;
    float: right;
    margin: auto;
    min-width: 120px;
    width: auto;
    height: 43px;
    text-align: center;
    line-height: 43px;
    cursor: pointer;
}

.wrap-icons {
    display: inline-block;
    width: calc(100% - 150px);
    min-width: 300px;
}

.wrap-icons label, .rating-icon {
    display: inline-block;
    width: 42px;
    height: 40px;
    margin: 0px 2%;
    background: url(../img/star_line.svg) no-repeat;
}

.wrap-icons input:checked ~ label {
    background: url(../img/star_line.svg) no-repeat;
}

.wrap-icons input:checked + label {
    background: url(../img/star_filled.svg) no-repeat;
}

.wrap-this {
    margin-top: 20px;
    position: relative;
}

.draggable {
    position: absolute;
    top: -10px;
    background: #263b66;
    border: 1px solid #31525f;
    height: 25px;
    width: 25px;
    border-radius: 25px;
    left: 0px;
    text-align: center;
    box-shadow: -1px 0px 1px 1px rgba(13, 21, 25, 0.3);
}

.range-wrap {
    width: 100%;
    margin: 10px auto;
    position : relative;
    height: 8px;
    background: rgb(255, 255, 255);
}
.range-val{
   background-color: #263b66;
}
.fill {
    position: absolute;
    left: 0;
    top: 0px;
    display: inline;
    height: 100%;
    background-color: #263b66;
}

.slider .box {
    padding: 2px 15px;
    background-color: rgba(204, 204, 204, 0.4);
    border-radius: 50px;
    margin: 30px 0 0px 0px;
    transition : all 300ms linear;
}

.r-list > div {
    width: 50%;
    height: 150px;
    float: left;
}

.img-vote {
    display: block;
    height: 100%;
    position: relative;
}
.wrapper {
    padding-bottom: 15px;
}
div.label-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255,255,255,0.7);
    padding: 0px 0;
    text-align: center;
    opacity: 1;
    word-wrap: normal;
    color: #000000;
    transition: all 300ms linear;
}

.img-vote label:hover .label-text {
    padding: 5px 0;
}
.img-vote input:checked ~ label .label-text , .im_clicked {
    opacity: 1 !important;
    padding: 5px 0;
    top: 0;
}

.r-list {
    overflow: hidden;
}

.img-vote input:checked ~ label .label-text .im_text::before {
    opacity : 1;
    top: 5%;
    left: 3%;
    box-shadow: 0px 0px 2px 1px #113c3c;
    background: url(../../../../img/assets/correct_darkblue_round.svg) no-repeat;
    width: 20px;
    height: 20px;
}

.img-vote .im_text::before {
    content: ' ';
    background-color: #263b66 !important;
    opacity : 0;
    position: absolute;
    /* top: 3%;
    left: 2%;*/
    border-radius: 100%;
    transition: all 500ms ease-in-out;
}
.im_text {
    padding: 2% 0;
}

.im_nappi {
    background-color: #406b7c;
    color: #fff;
    transition: all 300ms linear;
    width: 0%;
}
.block {
    margin: 20px 0;
}

.emoticon-vote label {
    min-width: 42px;
}

.emoticon-vote {
    display: inline-block;
    margin: 0 2%;
    padding: 5px 0;
    position: relative;
    width: 11%;
    cursor: pointer;
}

.wrap-emot-icons {
    text-align: center;
}

.emoticon-vote img {
    width: 100%;
    height: initial;
    transition: all 300ms linear;
}

.wrap-emot-icons input:checked ~ label {
    transform: scale(1.2);
}

.wrap-emot-icons input:checked ~ label img {
}

.quadrant div.box {
    width: calc(20% - 6px);
    float: left;
    display: inline-block;
    box-shadow: 0 0 1px 0px rgb(204, 204, 204);
    padding: 3px;
    position: relative;
    clear: right;
}
.axis-labels {
    /*text-align: center;*/
    transition: all 300ms linear;
    position: absolute;
    z-index: -6;
    opacity: 0.6;
    font-size: 13px;
}
div#axis-labels-2 {
    bottom: 0;
    right: 0;
    opacity: 0.6;
    left: 0;
    text-align: right;
}

div#axis-labels-3 {
    opacity: 0.6;
    left: 0;
    right: 0;
    text-align: left;
}

div#axis-labels-4 {
    bottom: -6%;
    left: -15%;
    transform: translateX(-25%);
}

div#axis-labels-1 {
    top: -15px;
    right: -30%;
    transform: translateX(30%);
}
.axis-labels span{
    padding-right: 3px;
    font-weight: bold;
    float: left;
}

span#axis-labels-2 {
    transform: rotate(90deg);
    /* word-break: break-all; */
    right: -30%;
    bottom: 1%;
}

.tulos-qua-span, .tulos-table-span {
    background-color: rgba(145,234,167,0.1) !important;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 0 !important;
    text-align: center;
}

div#area-1 {
    border-color: transparent #333 #333 transparent;
}

div#area-2 {
    border-color: transparent transparent #333 #333;
}

div#area-3 {
    border-color: #333 #333 transparent transparent;
}

div#area-4 {
    border-color: #333 transparent transparent #333;
}

span#axis-labels-3 {
    transform: rotate(90deg);
    word-break: break-all;
    left: -24%;
    top: 0;
}

.area:after {
    /* content: "label"; */
    position: absolute;
    right: 0;
}

span#axis-labels-4 {
    /* word-break: break-all; */
    left: -20%;
    bottom: -5%;
}

span#box-2-21 {
}

span#axis-labels-1 {
    word-break: break-all;
    right: -30%;
    top: -10%;
}

.box span , td.select-area span {
    display: block;
    height: 100%;
    margin: auto;
    border-radius: 5px;
    transition: all 300ms linear;
}

.wrap-map {
    background-size: cover !important;
    position: relative;
}

span.mark ,span.mark-img , .hotspot {
    position: absolute;
    z-index: 1000;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 20px;
    max-height: 20px;
    border-radius: 20px;
}

.hotspot {
    background-color: rgba(255,255,255,0.6);
    z-index : 999;
}

img.bg-img {
    max-width: 100%;
    height: auto;
}

.mark-label {
    display: inline-block;
    margin-right: 10px;
}

.mark-label-color {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 100%;
    margin-right: 3px;
}

span.pointer {
    position: absolute;
    z-index: 1000;
    background-color: #24246f;
    border-radius: 100%;
    width: 20px;
    height: 20px;
}

.right-dot {
    position: absolute;
    z-index: 10000;
    width: 20px;
    height: 20px;
    border-radius: 100%;
}

tr.head-tr th {
    word-break: break-word;
    font-weight: 100;
    font-style: italic;
}

.select-area {
    width: 20%;
    height: 30px;
    border: 1px solid #ccc;
    position: relative;
    margin: 0;
    padding: 0;
    text-align: center;
    transition: all 300ms linear;
}

.select-area:hover {
    background-color: #24246f;
}

td.row-labels {
    text-align: right;
    padding-right: 5px;
}

.wrap-li-icon {
    display: inline-block;
    padding: 5px 0;
    width: 35%;
    min-width: 160px;
}

span.rating-icon {
    width: 25px;
    height: 25px;
}

.response {
    margin-top: 20px;
}

.rat-val {
    display: inline-block;
    height: 28px;
    background-color: #406b7c;
    color: #fff;
    line-height: 28px;
    transition: all 300ms linear 2s;
}
.bf-af::before {
    content: attr(data-min);
    position: absolute;
    bottom: 100%;
    background-color: #263b66;
    padding: 3px 5px 5px 5px;
    color: #fff;
    left: -2%;
    border-radius: 15px 15px 0px 15px;
}

.bf-af::after {
    content: attr(data-max);
    display: block;
    position: absolute;
    bottom: 100%;
    background-color: #263b66;
    padding: 3px 5px 5px 5px;
    color: #fff;
    right: -4%;
    border-radius: 15px 15px 15px 0px;
}
span.status {
    font-size: 50%;
    color: #333;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    visibility: hidden;
}
.emot-perc{
    -webkit-animation: emotperc 300ms linear 100ms;
    /* Safari 4.0 - 8.0 */
    animation: emotperc 300ms linear 100ms;
    -webkit-animation-fill-mode: forwards;
    /* Safari 4.0 - 8.0 */
    animation-fill-mode: forwards;
}
@-webkit-keyframes emotperc {
    0% {
       bottom: 10%;
    }

    25% {
      bottom: 30%;
      font-size: 70%;
    }

    50% {
       bottom: 50%;
       visibility: visible;
       font-size: 90%;
    }

    75% {
        bottom: 80%;
        visibility: visible;
        font-size: 120%;
    }

    100% {
       bottom: 90%;
       visibility: visible;
       font-size: 140%;
    }
}

@keyframes emotperc {
    0% {
       bottom: 10%;
    }

    25% {
      bottom: 30%;
      font-size: 70%;
    }

    50% {
       bottom: 50%;
       visibility: visible;
       font-size: 90%;
    }

    75% {
        bottom: 80%;
        visibility: visible;
        font-size: 120%;
    }

    100% {
       bottom: 90%;
       visibility: visible;
       font-size: 140%;
    }
}

.left {
    left: 0;
    float: left;
}

.right {
    right: 0;
    float: right;
}
.chart-div {
    padding-right: 0px;
    margin-left: 0px;
}
.vr-line{
    position: absolute;
    width: 2px;
    height: 93%;
    bottom: 6px;
    background-color: #12a2a2;
    display: none;
    z-index: -1;
}
.slider-wrap {
    position: relative;
}
.br{
    border-radius: 30px !important;
}
.submit {
    cursor: pointer;
}
.kysymys-img{
    text-align: center;
}
.kysymys-img img {
    max-width: 100%;
    margin: auto;
    max-height: 400px;
    height: auto;
    width: auto;
}
.media {
    margin: 2% 0;
}
.oikeaImg {
    text-align: center;
    margin-bottom: 10px;
}

.oikeaImg img {
    max-width: 300px;
    width: auto;
    max-height: 200px;
    height: auto;
}
.oikeamedia {
    max-height: 200px;
    text-align: center;
    margin-bottom: 10px;
}
.oikeaVideo {
    width: 50%;
    height: 200px;
    margin: auto;
    min-width: 300px;
}
.nappi {
    background-color: #263b66;
    line-height: 28px;
}
.teksti {
    font-size: 22px;
    font-weight: 100;
    vertical-align: initial;
}

.hsteksti.bottom {
    text-align: right;
}
.wrap-icons > label:hover {
    background: url(../img/star_filled.svg) no-repeat;
}
@media (max-width:470px){
    .ratings .submit, .yesno .submit{
        display: block;
        width: 90%;
        margin: 10px 5%;
        float: none;
    }
    .r-list > div{
        width: 100%;
        height: 200px;
        float: none;
    }
    .emoticon-vote{
        width: 15%;
    }
    .hotspot, .right-dot, .span.mark-img{
        max-width : 15px;
        max-height : 15px;
    }
    .teksti{
        font-size: 20px;
    }
    .nappi{
        line-height: 20px;
    }

}
