﻿/*Copyright 2018 by 2x4 Solutions GmbH - www.2x4.de - All rights reserved*/

.Desktop {
    display: block;
}

.Mobile {
    display: none;
}


@media only screen and (max-width: 800px) {

    input[type=radio]{
        margin-left:10px;
    }

    .radio {
        float: left;
        display: block;
        width: 18px;
        height: 18px;
        vertical-align: middle;
        margin-top: 5px;
        margin-bottom: 5px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .Desktop, .OriginalDesktop {
        display: none;
    }

    .Mobile {
        display: block;
    }

    .mobileQuestionText, .QuestionText {
        padding: 5px 5px;
    }

    .subline {
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
        line-height: 1.3 !important;
    }

    .ContainerText {
        display: grid; /*Needed for q17a. Was inline-block before*/
        display: inline-block; /*Needed for 14a*/
        width: 100%;
        line-height: 1.2;
        margin-top: 5px;
        padding: 5px 0px;
        /*position: sticky;
    position: -webkit-sticky;*/
        margin-top: 0px;
        /*background-color: #f4f4f4;*/
        color: black;
        background-color: #d4d4d4 !important;
    }

        .ContainerText .q_image {
            -webkit-filter: saturate(0) contrast(1000%);
            filter: saturate(0) contrast(1000%);
            border-color: black !important;
        }

    .mrGridQuestionText {
        border: none;
        vertical-align: top !important;
    }

    .ContainerIcons {
        border-top: 1px solid silver;
    }

    .q_answer {
        float: left;
    }

    .q_image {
        border: 1px solid silver;
        overflow: hidden;
        margin-right: 10px;
        border-radius: 2px;
        height: 50px !important;
        width: 50px !important;
        z-index: 1000;
        opacity: 1;
    }


    .q_imageSelected {
        border-color: rgb(135, 206, 235);
        opacity: 1;
    }

    .q_text {
        font-size: 65% !important;
        text-align: center;
        line-height: 1.3;
        padding-right: 10px;
        margin-top: 2px;
    }

    .SingleContainer {
        /*border-top: 1px solid silver;*/
        border-radius: 2px;
        padding-top: 5px;
        margin-top: 15px;
        font-size: 1em;
    }

    .mrErrorText {
        font-size: 14px;
        clear: both;
        display: block !important;
    }

    .mrQuestionText {
        width: calc(100% - 12px) !important;
        /*padding: 0px !important;*/
        font-weight: normal !important;
        /*color: black !important;*/
    }

    .SingleContainerError .ContainerText .mrQuestionText {
        /*border-color:red;*/
        display: inline-block;
        background-color: red;
        padding: 5px;
        color: white;
        width: calc(100% - 10px) !important;
    }

    .ContainerIcons .mrQuestionText {
        color: inherit;
        cursor: pointer;
    }

    .mrErrorText .q_answer {
        display: none;
        margin: 5px !important;
    }


    .ContainerIcons span {
        width: calc(100% - 15px);
        display: table-cell; /* block;*/
        /* color: red !important; */
        /*border-bottom: 1px solid silver;*/
        line-height: 1.2;
        text-align: left;
        padding: 7px !important;
        padding-left: 5px !important;
        font-weight: normal !important;
    }

    .ContainerIcons div {
        border-bottom: 1px solid silver;
    }

        .ContainerIcons div:last-child {
            border-bottom: none;
        }


    .SelectedAnswer {
        color: white !important;
        background-color: rgb(000, 159, 223) !important;
    }

    .verticalAlignMittle {
        vertical-align: middle;
        display: table-cell;
    }
}

/*@media only screen and (min-device-width : 800px) {
    .q_text {
        font-size: 85% !important;
    }

    .q_image {
        border-width: 3px;
        border-radius: 2px;
        height: 60px !important;
        width: 60px !important;
    }

        .q_image img {
            width: 60px;
            height: 60px;
        }


    .ContainerText .q_image {
        border-width: 3px;
        border-color: gray !important;
    }

}*/
