﻿.demo-card-wide.mdl-card {
    width: 100%;
    max-width: 330px;
    margin: 20px 0;
    margin-bottom: 15px;
}

.demo-card-wide > .mdl-card__title {
    color: #4c4c4c;
    font-weight: 400 !important;
    /*height: 176px;
    background: url('/images/Questionnaire.jpg') center / cover;
        */
}

.background-dark-blue {
    background: var(--dark-blue);
    color: white !important;
}


.demo-card-wide-blank > .mdl-card__title {
    color: #4c4c4c;
    font-weight: 400 !important;
    height: 176px;
}


.demo-card-wide > .mdl-card__menu {
    color: #fff;
}

.demo-card-wide > .mdl-card__supporting-text {
    width: 100%;
}

    .demo-card-wide > .mdl-card__supporting-text > #questions-page > .question-container {
        padding: 0;
    }

        .demo-card-wide > .mdl-card__supporting-text > #questions-page > .question-container > .answer-container {
            display: flex;
            align-items: center;
            padding: 5px 0;
        }

            .demo-card-wide > .mdl-card__supporting-text > #questions-page > .question-container > .answer-container > input {
                margin-right: 10px;
            }

            .demo-card-wide > .mdl-card__supporting-text > #questions-page > .question-container > .answer-container > label {
                margin: 0;
            }

.demo-card-wide > .mdl-card__actions > .mdl-button {
    background: rgba(158,158,158,.2);
}

#next-question, #go-questions {
    display: flex;
    float: right;
    justify-content: center;
    align-items: center;
    background-color: #383F7E !important;
    color: white;
}

#before-question {
    display: flex;
    float: left;
    justify-content: center;
    align-items: center;
}

#save-button {
    float: right;
}

.btn-comeback-color {
    background-color: #383F7E !important;
    color: white !important;
}

.legal-conditions-textarea {
    padding: 10px;
    height: 110px;
    resize: none;
    border: 1px solid #d0d0d0;
}

.disabled {
    pointer-events: none;
    opacity: 0.65;
}




/*-------------------------------------------------------------------------------------------------------------------*/
/*

    https://codepen.io/codesuey/pen/EdEmoj


form {
    max-width: 250px;
    position: relative;
    margin: 50px auto 0;
    font-size: 15px;
}
*/
.radiobtn {
    background-color: #fff;
    display: block;
    margin: 10px 0;
    position: relative;
}

    .radiobtn label {
        padding: 12px 30px;
        width: 100%;
        display: block;
        text-align: left;
        color: #3C454C;
        cursor: pointer;
        position: relative;
        z-index: 2;
        transition: color 200ms ease-in;
        overflow: hidden;
        border: 2px solid #D1D7DC;
    }

        .radiobtn label:before {
            width: 10px;
            height: 10px;
            content: '';
            background-color: #383F7E;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%) scale3d(1, 1, 1);
            transition: all 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
            opacity: 0;
            z-index: -1;
        }

        .radiobtn label:after {
            width: 32px;
            height: 32px;
            content: '';
            background-color: #fff;
            background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
            background-repeat: no-repeat;
            background-position: 2px 3px;
            border-radius: 50%;
            z-index: 2;
            position: absolute;
            right: 30px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            transition: all 200ms ease-in;
        }



    .radiobtn input:checked ~ label {
        color: #fff;
    }

        .radiobtn input:checked ~ label:before {
            transform: translate(-50%, -50%) scale3d(56, 56, 1);
            opacity: 1;
        }

        .radiobtn input:checked ~ label:after {
            background-color: #383F7E;
            
        }



     input {
        width: 32px;
        height: 32px;
        order: 1;
        z-index: 2;
        position: absolute;
        right: 70%;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        visibility: hidden;
    }








