#questionnaire-form .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

#questionnaire-form .col-xs-3, 
#questionnaire-form .col-xs-9, 
#questionnaire-form .col-xs-12, 
#questionnaire-form .col-sm-6, 
#questionnaire-form .col-md-2, 
#questionnaire-form .col-md-3, 
#questionnaire-form .col-md-5, 
#questionnaire-form .col-md-9, 
#questionnaire-form .col-md-12, 
#questionnaire-form .col-lg-3, 
#questionnaire-form .col-lg-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

#questionnaire-form .col-xs-3 { width: 25%; }
#questionnaire-form .col-xs-9 { width: 75%; }
#questionnaire-form .col-xs-12 { width: 100%; }
#questionnaire-form .col-sm-6 { width: 50%; }
#questionnaire-form .col-md-2 { width: 16.66666667%; }
#questionnaire-form .col-md-3 { width: 25%; }
#questionnaire-form .col-md-5 { width: 41.66666667%; }
#questionnaire-form .col-md-9 { width: 75%; }
#questionnaire-form .col-md-12 { width: 100%; }
#questionnaire-form .col-lg-3 { width: 25%; }
#questionnaire-form .col-lg-12 { width: 100%; }


#questionnaire-form .control-label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: inline-block;
}

#questionnaire-form .form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

#questionnaire-form .form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
}

#questionnaire-form .btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    border: 1px solid transparent;
    cursor: pointer;
}

#questionnaire-form .btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

#questionnaire-form .btn-default {
    color: #333;
    background-color: #f8f9fa;
    border-color: #ccc;
}

#questionnaire-form .legend-wrap .col-md-12 {
    font-weight: bold;
	padding-bottom: 15px;
}

#questionnaire-form .text-left { text-align: left !important; }
#questionnaire-form .text-right { text-align: right !important; }

#questionnaire-form .checkbox {
    position: relative;
    display: block;
    padding-left: 20px;
}

#questionnaire-form .checkbox input {
    position: absolute;
    margin-top: 4px;
    margin-left: -20px;
}

#questionnaire-form .input-wrap {
    position: relative;
    display: inline-block;
}

#questionnaire-form .input-wrap input[type="radio"] {
    position: absolute;
    opacity: 0;
}

#questionnaire-form .input-wrap .checkmark {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: #bbcbe6;
    border-radius: 0;
}

#questionnaire-form .input-wrap input:checked ~ .checkmark {
    background-color: #dc0c03;
}

#questionnaire-form .numbered-checkboxes .input-wrap span.checkmark:after {
    display: inline-block;
    color: #000;
    position: absolute;
    top: 0;
    font-size: 16px;
    left: 7px;
    font-weight: normal;
}

#questionnaire-form .input-wrap:hover input ~ .checkmark {
    background-color: #ccc;
}

#questionnaire-form .input-wrap input:checked ~ .checkmark {
    background-color: #dc0c03;
}

#questionnaire-form .numbered-checkboxes .input-wrap input:checked ~ .checkmark:after {
    color: #fff;
}

#questionnaire-form .input-wrap input:checked ~ .checkmark:after {
    display: block;
}

#questionnaire-form .numbered-checkboxes .input-wrap span.checkmark:after {
    display: inline-block;
    color: #000;
    position: absolute;
    top: 0;
    font-size: 16px;
    left: 7px;
    font-weight: normal;
	line-height: 1.5;
}

#questionnaire-form .numbered-checkboxes .input-wrap:nth-child(1) span.checkmark:after {
    content: '1';
}

#questionnaire-form .numbered-checkboxes .input-wrap:nth-child(2) span.checkmark:after {
    content: '2';
}

#questionnaire-form .numbered-checkboxes .input-wrap:nth-child(3) span.checkmark:after {
    content: '3';
}

#questionnaire-form .numbered-checkboxes .input-wrap:nth-child(4) span.checkmark:after {
    content: '4';
}


#questionnaire-form textarea {
    width: 100%;
    height: 150px;
    padding: .375rem .75rem;
    font-size: 1rem;
    color: #495057;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    background-color: #fdfdfd;
}

#questionnaire-form strong {
    font-weight: bold;
}

#questionnaire-form .g-recaptcha {
    margin-top: 20px;
}



#survey-submit-button {
	color: #fff !important;
}

#questionnaire-form input[type='text'],
#questionnaire-form textarea {
	background-color: #f2f2f2 !important;
}

#questionnaire-form .row-header {
	display: inline-block;
	font-size: 11px;
	font-weight: bold;
	line-height: 14px;
	height: 18px;
	width: 18px;
	border: 1px solid #333;
	text-align: center;
	margin: 0 20px 8px 0;
	cursor: help;
}

#questionnaire-form .row-header:first-child {
	margin-left: 0;
}

#questionnaire-form .question {
	padding: 10px 5px;
	font-size: 17px;
	background: #fff;
	border-bottom: 1px solid #f2f2f2;
}

#questionnaire-form .question input {
	height: 20px;
	width: 20px;
	cursor: pointer;
	margin-top: 0;
	border: 2px solid #dc0c03;
}

#questionnaire-form input[disabled] ~ .checkmark {
	background: #f2f2f2;
	cursor: not-allowed;
}

#questionnaire-form textarea:read-only {
	background: #f2f2f2;
	border: 1px solid #ccc;
	cursor: not-allowed;
	outline: none;
}

#questionnaire-form .section {
	background: #eae9e9;
	font-weight: bold;
	text-transform: uppercase;
}

#questionnaire-form .lvl-1,
#questionnaire-form .lvl-2,
#questionnaire-form .lvl-3 {
	margin-top: 5px;
}

#questionnaire-form .lvl-1 i {
	background: #dc0c03;
	color: #fff;
	padding: 1px 6px;
	font-size: 14px;
	font-weight: bold;
	font-style: normal;
	margin-right: 6px;
}

#questionnaire-form .lvl-2 i {
	background: #848484;
	color: #fff;
	padding: 1px 6px;
	font-size: 14px;
	font-weight: bold;
	font-style: normal;
	margin-left: 25px;
	margin-right: 6px;
}

#questionnaire-form .lvl-3 i {
	background: #bbb;
	color: #fff;
	padding: 1px 6px;
	font-size: 14px;
	font-weight: bold;
	font-style: normal;
	margin-left: 60px;
	margin-right: 5px;
}

#questionnaire-form button {
	background: #dc0c03;
	color: #fff;
	padding: 14px 32px;
	font-size: 14px;
	font-weight: bold;
	border: 0;
}

#questionnaire-form textarea {
	width: 100%;
	height: 150px;
	padding: .375rem .75rem;
	font-size: 1rem;
	color: #495057;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	background-color: #fdfdfd;
}

#questionnaire-form .chapter {
	margin-top: 0 !important;
}

#questionnaire-form .captcha-input {
	border-width: 1px;
}

#questionnaire-form .captcha-img {
	height: 27px;
	margin-top: -3px;
}

#questionnaire-form #captcha_hint {
	color: #cc3333;
	display: none;
}

#questionnaire-form .input-wrap {
	position: relative;
	display: inline-block;
	padding-left: 37px;
	margin-top: 10px;
	margin-bottom: 0;
	cursor: pointer;
	font-size: 22px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#questionnaire-form .input-wrap input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 25px;
	width: 25px;
}

#questionnaire-form .checkmark {
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #bbcbe6;
	border-radius: 0;
}