.check-flags-section {
    margin-top: 10px;
}

.check-flags-section .check-question {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 14px 15px 10px 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.check-flags-section .check-question-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
    line-height: 1.35;
}

.check-flags-section .check-question-help {
    color: #777777;
    font-size: 12px;
    margin: -3px 0 10px 0;
}

.check-flags-section .fancy-radio {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 8px;
    vertical-align: top;
}

.check-flags-section .fancy-radio input[type="radio"] {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.check-flags-section .fancy-radio span {
    display: inline-block;
    min-width: 88px;
    padding: 8px 14px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    background: #f8f8f8;
    color: #444444;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.check-flags-section .fancy-radio span i {
    display: none;
}

.check-flags-section .fancy-radio input[type="radio"]:checked + span {
    background: #4d8f1d;
    border-color: #4d8f1d;
    color: #ffffff;
}

.check-flags-section .fancy-radio-yes input[type="radio"]:checked + span {
    background: #4d8f1d;
    border-color: #4d8f1d;
    color: #ffffff;
}

.check-flags-section .fancy-radio-no input[type="radio"]:checked + span {
    background: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
}

.check-flags-section .fancy-radio input[type="radio"]:focus + span {
    border-color: #337ab7;
    box-shadow: 0 0 0 1px #337ab7;
}

.check-flags-section .check-question input.form-control {
    border-radius: 4px;
    box-shadow: none;
}

.check-flags-section .check-question input.form-control:focus {
    border-color: #337ab7;
    box-shadow: 0 0 3px rgba(51,122,183,0.25);
}

.check-flags-section .check-question-stacked .fancy-radio {
    display: block;
    margin-right: 0;
}

.check-flags-section .check-question-stacked .fancy-radio span {
    display: block;
    width: 100%;
    text-align: left;
}

.check-flags-section .help-block,
.check-flags-section .error,
.check-flags-section .text-danger {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 12px;
    color: #a94442;
}

@media (max-width: 767px) {
    .check-flags-section .fancy-radio {
        display: block;
        margin-right: 0;
    }

    .check-flags-section .fancy-radio span {
        display: block;
        width: 100%;
        text-align: left;
    }
}