﻿.QuestionSettings {
    float: left;
    width: 380px;
    height: calc(100% - 115px);
    margin-left: 20px;
    margin-top: 20px;
    background-color: var(--background2);
    border-radius: var(--border-radius-small);
    box-shadow: var(--box-shadow);
}

.Questions {
    width: calc(100% - 400px);
    height: calc(100% - 95px);
    overflow: auto;
}

.Question {
    background-color: var(--background2);
    border-radius: var(--border-radius-small);
    box-shadow: var(--box-shadow);
    transition: box-shadow .2s;
    font-size: 12pt;
    margin: 10px 20px;
    border: 1px solid transparent;
}

.Question_Loop {
    background-color: rgba(255,255,255,.5);
}

.Question_Header {
    padding: 10px;
    border-bottom: 2px solid #e7edee;
}

.Question_Info .Question_Header,
.Question_Open .Question_Header,
.Question_End .Question_Header {
    border-bottom: none;
}

.Question_Info .Question_Categories,
.Question_Open .Question_Categories,
.Question_End .Question_Categories {
    display: none;
}

.Question_Text {
    width: calc(100% - 50px);
    /*min-height: 100px;*/
    /*border: 1px solid #E5E5E5;*/
    border: 1px solid transparent;
}

    .Question_Text sub[alias] {
        font-size: inherit;
        vertical-align: inherit;
        color: #048eaa;
    }

.Question_Type {
    vertical-align: top;
    /*background-color: var(--color1);
        color: #FFFFFF;*/
    padding: 15px 20px;
    border-radius: 3px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 14px;
    padding-left: 34px;
    font-weight: bold;
    font-size: 10pt;
    cursor: pointer;
    transition: background-color .3s;
}

    .Question_Type:hover {
        /*background-color: var(--color2);*/
        background-color: #e7edee;
    }

.Question_Name {
    vertical-align: top;
    color: #888888;
    font-weight: bold;
    display: inline-block;
    min-width: 50px;
    padding: 14px 10px;
    font-size: 10pt;
}

.Question_Text {
    color: #21242b;
    padding: 10px;
    display: inline-block;
}

.Question_Options {
    width: 30px;
    height: 30px;
    background: url('/Images/Settings.png') no-repeat center center #cccccc;
    background-size: 100%;
    transition: background-color .3s;
    float: right;
    cursor: pointer;
    display: none;
}

    .Question_Options:hover {
        background-color: var(--color1);
    }

.Question_Categories {
    margin: 10px;
    width: calc(100% - 20px);
    display: inline-block;
}

.Question_Categories_Title{
    font-weight:bold;
}

.Question_Category {
    margin: 5px;
}

.Question_Category_Name {
    display: inline-block;
    margin-left: 10px;
    padding: 10px;
    width: 20px;
    color: #888888;
}

.Question_Category_Text {
    display: inline-block;
    margin-left: 10px;
    padding: 10px;
    width: calc(100% - 140px - 100px);
}

.Question_Category_Options {
    display: inline-block;
}

    .Question_Category_Options input {
        background-color: var(--background1) !important;
    }
        .Question_Category_Options input:checked {
            background-color: var(--color1) !important;
        }
        .Question_Category_Options input[title=Terminate]:checked {
            background-color: var(--color-error) !important;
        }

.Question_Type_Selector {
    position: absolute;
    width: 200px;
    background: var(--background2);
    border-radius: 3px;
    border-top-left-radius: 0px;
    border: 1px solid #E5E5E5;
    box-shadow: var(--box-shadow);
}

.Question_Type_Selector_Type {
    vertical-align: top;
    background-color: var(--background2);
    padding: 15px 20px;
    color: #444444;
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 20px;
    padding-left: 40px;
    font-weight: bold;
    font-size: 10pt;
    cursor: pointer;
    transition: background-color .3s;
}

    .Question_Type_Selector_Type:hover {
        background-color: #e7edee;
    }

.Question_Type_Selector_Type_Single {
    background-image: url('/Images/QuestionTypes/_Single.png');
}

.Question_Type_Selector_Type_Multi {
    background-image: url('/Images/QuestionTypes/_Multi.png');
}

.Question_Type_Selector_Type_Info {
    background-image: url('/Images/QuestionTypes/_Info.png');
}

.Question_Type_Selector_Type_Open {
    background-image: url('/Images/QuestionTypes/_Open.png');
}

.Question_Spacer {
    text-align: center;
    margin: 0px;
}

.Question_Add {
    opacity: 0;
    display: inline-block;
    cursor: pointer;
    font-size: 10pt;
    background-color: #048eaa;
    color: var(--font-color-light);
    padding: 5px 10px;
    border-radius: 3px;
    box-shadow: var(--box-shadow);
    transition: opacity .2s;
}

.Question_Spacer:hover .Question_Add {
    opacity: 1;
}

#pnlQuestion_Settings_Requirements {
    border-collapse: collapse;
}

#txtQuestion_Settings_Condition {
    width: 320px;
    min-width: 320px;
    max-width: 320px;
}

#pnlQuestion_Settings_Requirements select {
    background-color: var(--background1);
    padding: 5px;
    border: none;
}

#pnlQuestion_Settings_Requirements input[type=text] {
    height: 20px;
    margin: 0px;
}

.note-toolbar {
    background-color: var(--background1);
    border-color: var(--background1);
}

.note-editor.note-frame, .note-editor.note-airframe {
    border-color: var(--background1);
}

    .note-editor.note-frame .note-statusbar, .note-editor.note-airframe .note-statusbar {
        background-color: var(--background1);
        border-color: var(--background1);
    }

.Question_Category_Input {
    background-color: var(--background1) !important;
    margin-top: 5px;
    float: left;
}
