
#questionnaire-canceled {
    display: none;
    margin: 2em;
}

#questionnaire-finish {
    display: none;
    margin-left: 2.2em;
    margin-right: 2.2em;
    text-align: center;
    margin-bottom: 10px;
}

.ea-info-command-link {
    margin: 0rem 1rem 2rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    color: rgba(198, 0, 126, .8);
}

.declarationQuestion {
    margin: 1em;
}

.declaration-question-hidden {
    display: none;
}

.div-inline {
    display: inline-block;
    /*margin-left: 10px;*/
    min-width: 8rem;
}

.div-inline-grid {
    display: inline-grid;
    min-width: 8rem;
}

.div-inline-row {
    display: inline-block;
    /*margin-left: 10px;*/
    margin-right: 30px;
    vertical-align: top;
    min-width: 8rem;
}



.spanQuestion {
    display: block;
}

.sub-question-panel {
    margin: 1em;
    font-weight: 400;
    display: none;
}


.sub-question {
    font-style: italic;
    display: none;
    max-width: 90ch;
}

.sub-question-level2 {
    background-color: lightblue;
}

.question-text {
    overflow-wrap: break-word;
    max-width: 90ch;
    font-weight: 400;
}

.question-header-pink-color {
    color: #d13398;
    font-weight: 600 !important;
}

.question-header {
    overflow-wrap: break-word;
    max-width: 90ch;
    font-weight: 400;
}

/*CSS for nEW Questionnaire*/
.questionnaire-panel {
    margin: 2em;
    margin-bottom: 4em;
    display: none;
}

.command-panel {
    margin-top: 1rem;
    margin-bottom: 1rem;
}


.question {
    display: block;
    /*font-weight:bold;*/
    /*font-weight: 600;*/
    font-size: 1em;
    min-height: 8em;
    max-width: 90ch;
}


textarea {
    width: 100%;
    padding: 6px 20px;
    margin: 4px 0;
    box-sizing: border-box;
    border-color: rgb(211, 211, 211);
    border: solid 1px rgb(211, 211, 211);
    color: #515151;
}

input[type=text] {
    width: 100%;
    padding: 6px;
    margin: 4px 0;
    box-sizing: border-box;
    border: solid 1px rgb(211, 211, 211);
}

.mandatory input[type=text] {
    border-color: red;
}

.mandatory textarea {
    border-color: red;
}

input.small-textbox[type=text] {
    width: 6em;
}

input.medium-textbox[type=text] {
    width: 12em;
}

.row {
    font-weight: 400;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(211, 211, 211, .8);
}

    .row:after {
        content: "";
        display: table;
        clear: both;
    }

    .row .row {
        border-top: 1px dotted rgba(211, 211, 211, .8);
        border-bottom: none;
        margin-left: 0;
    }

        .row .row .row {
            border-top: 1px dotted rgba(211, 211, 211, .8);
            border-bottom: none;
            margin-left: 0;
        }

            .row .row .row .row {
                border-top: 1px dotted rgba(211, 211, 211, .8);
                border-bottom: none;
                margin-left: 0;
            }

    .row textarea {
        padding: 6px;
        margin: 0;
    }

    .row input[type=text] {
    }


.question .row {
    margin-left: 1%;
}

.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
    padding: 5px;
}

.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
    padding: 5px;
}

.col-100 {
    float: left;
    width: 100%;
    margin-top: 6px;
    padding: 5px;
}

    .col-100 fieldset {
        margin: 0rem;
    }


fieldset {
    margin: .5rem;
}

select {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

div[class="col-75"] > fieldset {
    margin: 0rem;
}

.form-fields {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(211, 211, 211, .8);
}

.select_product {
    /* styling */
    background-color: white;
    border: thin solid black;
    border-radius: 4px;
    display: inline-block;
    font: inherit;
    line-height: 1.2em;
    padding: 0.5em 3.5em 0.5em 1em;
    /* reset */

    margin: 0 0 20px 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

    .select_product:focus {
        background-image: linear-gradient(45deg, green 50%, transparent 50%), linear-gradient(135deg, transparent 50%, green 50%), linear-gradient(to right, #ccc, #ccc);
        background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, calc(100% - 2.5em) 0.5em;
        background-size: 5px 5px, 5px 5px, 1px 1.5em;
        background-repeat: no-repeat;
        border-color: green;
        outline: 0;
    }



/*HD Question*/
#questionnaire_sortable_panel {
    margin: 2rem;
    padding-bottom: 2em;
}

    #questionnaire_sortable_panel ul li {
        border-bottom: 1px solid rgba(211, 211, 211, .8);
        list-style-type: none;
    }

    #questionnaire_sortable_panel ol {
        list-style: none;
        counter-reset: li
    }

    #questionnaire_sortable_panel ul li {
        border-bottom: 1px solid rgba(211, 211, 211, .8);
        list-style-type: none;
        counter-increment: li
    }

        #questionnaire_sortable_panel ul li::before {
            content: counter(li);
            color: #000;
            display: inline-block;
            width: 1em;
            margin-left: -1em;
            font-weight: 600;
        }



.question-nodes {
    border: 1px solid #d0e1f5;
    background-color: #eff7fc;
    padding: 1em;
    margin: 1em;
}

    .question-nodes ul li > span:first-of-type {
        font-weight: 600;
    }

.question-nodes-panel-command {
    min-height: 4em;
}

.mandatory {
    /*border: 1px solid red !important;*/
    color: red;
}
/*.mandatory:after {
        content: " *";
        color:red;
    }*/

textarea.mandatory {
    border: 1px solid red !important;
}

input[type=text].mandatory {
    border: 1px solid red !important;
}

/*li {
    counter-increment: li
}*/
.question-panel {
    margin: 2rem;
}

.content-edit-page {
    padding: 1em;
    background-color: rgba(211, 211, 211, 1);
}

.content-preview-page {
    padding: 3em;
    background-color: rgba(211, 211, 211, 1);
}

.question-panel-command {
    margin-bottom: 4rem;
}

.hd-question-resize-panel i {
    margin: 3px;
    cursor: pointer;
}

.product-list {
    font-size: 1rem;
}

    .product-list .question-edit {
        background-color: #F8F2F6;
        border: 1px solid #81c4ea;
        margin-top: .5rem;
        font-size: .8rem;
        font-weight: 600;
    }

.minimized-product-text {
    font-size: 1rem;
}

.insurance-product-list {
    margin: .1rem;
    padding: .5rem;
    padding-left: 1rem;
    border: 1px solid rgba(211, 211, 211, .8);
    font-weight: 400;
    margin-bottom: .5rem;
    background-color: #F8F2F6;
    /*  background-color: rgba(211, 211, 211, .1);*/
    /*overflow: hidden;*/
}

.insurance-product {
    margin: .5rem 0 .7rem .5rem;
    font-weight: 400;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(120, 159, 144, .8);
}

.productlookup-list {
    margin: .1rem;
    padding: .5rem;
    padding-left: 1rem;
    border: 1px solid rgba(211, 211, 211, .8);
    font-weight: 400;
    margin-bottom: .5rem;
    background-color: #F8F2F6;
    /*  background-color: rgba(211, 211, 211, .1);*/
    /*overflow: hidden;*/
}

.product-premium {
    font-weight: bold;
}

.product-premium-panel {
    font-weight: bold;
}

.question-edit {
    margin: .1rem;
    padding: .5rem;
    padding-left: 1rem;
    /*border: 1px solid rgba(211, 211, 211, .8);
    background-color: rgba(211, 211, 211, .1);*/
    overflow: hidden;
}

.question-edit {
    font-size: 1rem;
    font-weight: 600;
}

    .question-edit fieldset {
        margin-left: 0px;
    }

    .question-edit .command-panel {
        margin: 1rem;
    }

    .question-edit .hd-question-resize-panel {
        float: right;
        font-size: inherit;
    }

    .question-edit .ea-btn-small {
        font-size: inherit;
    }

    .question-edit .question-edit {
        background-color: #F8F2F6;
        border: 1px solid rgba(211, 211, 211, .8);
        margin-top: .5rem;
        font-size: .8rem;
        font-weight: 600;
    }

        .question-edit .question-edit .question-edit {
            background-color: #f1dfeb;
            font-size: .8rem;
            font-weight: 600;
        }

            .question-edit .question-edit .question-edit .question-edit {
                background-color: #e8d2df;
                font-style: italic;
            }

/*Prodpackage screen css css*/
#prodPackage_panel {
    margin: 2rem;
    padding-bottom: 2em;
}

    #prodPackage_panel ul li {
        border-bottom: 1px solid rgba(211, 211, 211, .8);
    }


        #prodPackage_panel ul li::before {
            color: #000;
            display: inline-block;
            width: 1em;
            margin-left: -1em;
            font-weight: 600;
        }

/*form css*/
#form_list_panel, #form_panel {
    margin: 2rem;
    padding-bottom: 2em;
}

    #form_list_panel ul li {
        border-bottom: 1px solid rgba(211, 211, 211, .8);
        list-style-type: none;
    }

    #form_list_panel ol {
        list-style: none;
        counter-reset: li
    }

    #form_list_panel ul li {
        border-bottom: 1px solid rgba(211, 211, 211, .8);
        list-style-type: none;
        counter-increment: li
    }

        #form_list_panel ul li::before {
            content: counter(li);
            color: #000;
            display: inline-block;
            width: 1em;
            margin-left: -1em;
            font-weight: 600;
        }

.group-control-panel {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: .5rem;
    padding-bottom: 1.5rem;
}

.showDeActivateForm-panel {
    margin-left: 1rem;
    margin-right: 1rem;
}
/*Print out*/
.questionnaire-preview-header {
    padding-left: 64px;
    padding-right: 64px;
    padding-top: 17px;
    padding-bottom: 17px
}

.test-result-table {
    padding-left: 64px;
    padding-right: 64px;
    padding-top: 17px;
    padding-bottom: 17px
}

@media screen and (max-width: 1000px) {
    .col-25, .col-75 {
        width: 100%;
        margin-top: 0;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 1024px) {
    .content-preview-page {
        padding: 5px;
    }

    .questionnaire-preview-header {
        padding-left: 14px;
        padding-right: 14px;
        padding-top: 10px;
        padding-bottom: 10px
    }

    .test-result-table {
        padding-left: 14px;
        padding-right: 14px;
        padding-top: 10px;
        padding-bottom: 10px
    }
}
