﻿body {
    margin:0px;
    background-color: #FFFFFF;
}

.survey-body {
    max-width: 1200px !important;
    margin: 0 auto; /* center horizontally */
}

.survey-logo {
    width:100%;
}

.survey-logo img{
    margin:10px;
}

.title-bar {
    margin-bottom: 10px;
    padding: 10px;
    color: #fff;
    background-color: #000;
}

.title-bar-h1 {
    color: #fff;
    font-size: 24px !important; /*Survey Title*/
}

.questions-content {
    margin: 15px;
}

.question-instructions {
    margin-left: 30px;
    font-size: 24px; /*Question*/
}

.question-legend {
    padding-left: 10px;
    padding-bottom: 3px;
    padding-right: 10px;
    background-color: #000;
    color:#fff;
    border-top-left-radius:15px;
    border-top-right-radius:15px;
    font-size: 24px; /*Question*/
}

.question-fieldset {
    margin-bottom: 50px;
}

.radio-group {
    margin-left: 15px;
    margin-top: 10px;
}

.checkbox-group {
    margin-left: 15px;
    margin-top: 15px;
}

.question-responses {
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 15px;
}

.question-responses-matrix {
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 15px;
}

.choice-label {
    font-size: 16px; /*Choices*/
}

.survey-dropdown {
    font-size: 16px; /*Choices*/
    display: inline-block;
    width: 100%;
    padding: .0rem 1.75rem .0rem .75rem;
    color: #495057;
    vertical-align: middle;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    height:auto;
}

.survey-textbox {
    font-size: 16px; /*Choices*/
    display: inline-block;
    width: 100%;
    padding: .0rem .75rem .0rem .5rem;
    color: #495057;
    vertical-align: middle;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    margin-bottom:10px;
}

.fa-2x {
    font-size: 16px; /*Choices*/
}


.input[type="radio"] {
    display: none !important;
}

label input[type="radio"] ~ i.fa.fa-circle-o {
    color: #777;
    display: inline;
}

label input[type="radio"] ~ i.fa.fa-dot-circle-o {
    display: none;
}

label input[type="radio"]:checked ~ i.fa.fa-circle-o {
    display: none;
}

label input[type="radio"]:checked ~ i.fa.fa-dot-circle-o {
    color: #000;
    display: inline;
}

label:hover input[type="radio"] ~ i.fa {
    color: #7AA3CC;
}

label input[type="checkbox"] ~ i.fa.fa-square-o {
    color: #777;
    display: inline;
}

label input[type="checkbox"] ~ i.fa.fa-check-square-o {
    display: none;
}

label input[type="checkbox"]:checked ~ i.fa.fa-square-o {
    display: none;
}

label input[type="checkbox"]:checked ~ i.fa.fa-check-square-o {
    color: #000;
    display: inline;
}

label:hover input[type="checkbox"] ~ i.fa {
    color: #000;
}

div[data-toggle="buttons"] label.active {
    color: #7AA3CC;
}

div[data-toggle="buttons"] label {
    display: flex;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 16px; /*Choices*/
    font-weight: normal;
    line-height: 16px; /*Choices*/
    text-align: left;
    /*white-space: nowrap;*/
    vertical-align: top;
    cursor: pointer;
    background-color: none;
    border: 0px solid #c8c8c8;
    border-radius: 3px;
    color: #777;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    white-space: normal;
}

    div [data-toggle="buttons"] label:hover {
        color: #7AA3CC;
    }


    div[data-toggle="buttons"] label:active, div[data-toggle="buttons"] label.active {
        -webkit-box-shadow: none;
        box-shadow: none;
    }


div[data-toggle="buttons"] input[type="text"] {
    font-size: 1em;
    display: inline-block;
    width: 100%;
    padding: .0rem .75rem .0rem .5rem;
    color: #495057;
    vertical-align: middle;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    margin-bottom:10px;
}

.matrix-table {
    display: table;
    border-collapse: collapse !important;
    border: none;
    font-size: 16px; /*Choices*/
}

.matrix-table td, th{
    border-collapse: collapse !important;
    border: none;
}

.matrix-table span {
    display:none;
}

.matrix-row {
    /*padding-top:25px;*/
}

.sub-numbers {
    /*padding-top:25px;*/
    padding-left:10px;
}

.matrix-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.survey-btn {
    background-color: #000;
    color:#fff;
}

#progressbar {
    background-color: black;
    border-radius: 13px; 
    padding: 3px;
}

    #progressbar > div {
        height: 25px;
        border-radius: 10px;
    }

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-color: #007bff;
    height: 35px;
}

.progress {
    display: flex;
    overflow: hidden;
    background-color: #e9ecef;
    border-radius:0.25rem;
    height:35px;
}

@media (max-width: 560px) {
    div [data-toggle="buttons"] label:hover {
        color: #000;
        font-weight:bold;
    }

    .matrix-table {
        display: block;
        width:100%;
    }

    .matrix-table tbody {
        display: block;
    }

    .matrix-table tr {
        display: block;
    }

    .matrix-table td{
        display: block;
        text-align:left !important;
    }

    .radio-group, .checkbox-group {
        background-color: #eee;
        border-radius: 20px;
        margin-right: 15px;
        width: calc(100% - 35px);
    }

    .radio-group-matrix, .checkbox-group-matrix {
        background-color: #eee; 
        border-radius: 20px;
        margin-right: 15px;
        width:100%;
    }

    .matrix-table thead {
        display: none;
    }

    .matrix-table span {
        display: inline-block;
        /*font-size:1.1em;*/
    }

    .matrix-row {
        background-color: #555;
        color:white;
        width: 100%;
        margin-top: 30px;
        margin-bottom: 5px;
        padding:10px;
        border-top-left-radius:15px;
        border-top-right-radius:15px;
        /*height:50px;*/
    }

    .sub-numbers {
        display: none !important;
        padding-left:10px;
    }

    .matrix-table tbody tr:nth-child(even) {
        background-color: transparent;
    }

    .question-responses {
        margin-top: 10px;
        margin-left: 15px;
        margin-right: 15px;
        background-color: #eee;
        padding: 15px;
        border-radius: 15px;
    }

    .question-responses-choices {
        background-color: #eee;
        padding: 15px;
        border-radius: 15px;
    }

    .survey-dropdown{
        width:100%;
    }

    .form-group {
        display: inline-block;
        white-space: nowrap;
        width: calc(100% - 30px);
    }

    .survey-textbox{
        margin-bottom:0px;
    }
}
