* {
	box-sizing: border-box;
}

html, body {
	width: 100%;
	height: 100%;
	border: 0px;
	margin: 0px;
	padding: 0px;
	background-color: #cccccc;
	background-image: url('../images/gray_gradient.png');
	background-repeat: repeat-x;
	/* background-position: 0px 80px; */
	overflow: hidden;

}

div.ub_header {
	width: 100%;
	height: 80px;
	background-image: url('../images/ub_bg.gif');
	background-repeat: repeat-x;
	background-color: #031e79;
}

div.survey_header {
	width: 100%;
	height: 60px;
	background-repeat: repeat-x;
	background-color: #ffffff;
	border-bottom: 1px solid #aaaaaa;
}

div.questions {
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	margin-bottom: 30px;
	width: 90%;
	box-sizing: border-box;
	padding: 20px;
	border-radius: 5px;
	border: 1px solid #cdcdcd;
	background-color: #ffffff;
	text-align: left;
	font-family: 'Noto Sans', Helvetica, Arial;
	font-size: 11pt;
}

div.inner {
	margin: 0 auto;
	width: 90%;
	box-sizing: border-box;
	text-align: left;
}

h1 {
	font-family: 'Noto Sans', Helvetica, Arial;
	color: #031c71;
	font-size: 14pt;
	letter-spacing: -0.4px;
	font-weight: bold;
	margin: 0px;
	padding: 0px;
	margin-bottom: 10px;
}

div.question_padding {
	font-size: 10pt;
	padding-top: 5px;
	padding-left: 0px;
	padding-bottom: 10px;
}

input.vervebutton {
	width: 120px;
	font-size: 11pt;
	border: 1px solid #aaaaaa;
	border-radius: 4px;
	color: #333333;
	padding-top: 3px;
	padding-bottom: 3px;
	-webkit-appearance: none;
	font-family: 'Noto Sans', Helvetica, Arial;
	margin-left: 5px;
}

font.grey {
	font-family: 'Noto Sans', Helvetica, Arial;
	font-size: 8pt;
	color: #999999;
}

tr.row1 {
	background-color: #f5f5f5;
}

tr.row2 {
	background-color: #e9e9e9;
}

tr.highlight {
	background-color: #ffdddd;

	/*
	background-color: #f2dede;
	background-image: url('../images/error_grad.gif');
	*/
}

td.row1, td.row2, td.highlight {
	border-bottom: 1px solid #dddddd;
}

p {
	margin: 0px;
	margin-bottom: 5px;
}
/* Modern responsive survey UI */
:root {
	--survey-blue: #173f7a;
	--survey-blue-light: #eaf0f8;
	--survey-text: #243247;
	--survey-muted: #506176;
	--survey-line: #dce4ee;
	--survey-surface: #ffffff;
	--survey-page: #f3f6fa;
}

html,
body {
	background: var(--survey-page);
	color: var(--survey-text);
	font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
}

div.survey_header {
	border-bottom-color: #dbe3ed;
	box-shadow: 0 2px 12px rgba(24, 45, 74, 0.06);
}

div.inner {
	width: min(920px, calc(100% - 40px));
}

div.questions {
	width: min(920px, calc(100% - 40px));
	margin: 32px auto;
	padding: clamp(22px, 4vw, 42px);
	border: 1px solid #e0e7f0;
	border-radius: 16px;
	box-shadow: 0 12px 35px rgba(25, 47, 78, 0.09);
	color: var(--survey-text);
	font-size: 0.84rem;
	line-height: 1.55;
}

h1 {
	margin-bottom: 12px;
	color: #102f67;
	font-size: clamp(1.35rem, 3vw, 1.8rem);
	line-height: 1.25;
	letter-spacing: -0.03em;
}

div.question_padding {
	padding: 12px 0 2px;
	font-size: 0.95rem;
}

input.vervebutton {
	width: auto;
	min-width: 120px;
	min-height: 42px;
	padding: 9px 18px;
	border: 1px solid #c8d3e1;
	border-radius: 6px;
	background: #ffffff;
	color: #17355f;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

input.vervebutton:hover,
input.vervebutton:focus-visible {
	border-color: #376fb9;
	box-shadow: 0 0 0 3px rgba(55, 111, 185, 0.14);
	outline: 0;
}

input.vervebutton:active {
	transform: translateY(1px);
}

input.vervebutton[style*="font-weight: bold"] {
	border-color: var(--survey-blue);
	background: var(--survey-blue);
	color: #ffffff;
}

table.survey-questions {
	width: 100%;
	margin: 20px 0;
	margin-top: 0px;
	border: 0;
	border-collapse: separate;
	border-spacing: 0 16px;
}

table.survey-questions > tbody > tr.question-row {
	background: #f7f9fc;
}

table.survey-questions > tbody > tr.question-row > td {
	padding: 18px 16px !important;
	border-top: 1px solid #e4eaf2;
	border-bottom: 1px solid #e4eaf2;
	font-size: 0.9rem !important;
}

table.survey-questions > tbody > tr.question-row > td:first-child {
	width: 50px;
	padding-right: 0 !important;
	border-left: 1px solid #e4eaf2;
	border-radius: 11px 0 0 11px;
	color: var(--survey-muted);
	font-weight: 700;
	white-space: nowrap;
}

table.survey-questions > tbody > tr.question-row > td:last-child {
	border-right: 1px solid #e4eaf2;
	border-radius: 0 11px 11px 0;
}

table.survey-questions > tbody > tr.highlight {
	background: #fff3f3;
}

table.survey-questions > tbody > tr.highlight > td {
	border-color: #efb4b4;
}

input[type="radio"],
input[type="checkbox"] {
	flex-shrink: 0;
	width: 19px;
	height: 19px;
	margin: 0 9px 0 0;
	vertical-align: -4px;
	accent-color: #1d5ca8;
	cursor: pointer;
}

input[type="text"],
textarea,
select {
	max-width: 100%;
	min-height: 42px;
	padding: 9px 11px;
	border: 1px solid #cbd6e4;
	border-radius: 8px;
	background: #ffffff;
	color: var(--survey-text);
	font: inherit;
}

textarea {
	resize: vertical;
}

input[type="text"]:focus,
textarea:focus,
select:focus {
	border-color: #376fb9;
	box-shadow: 0 0 0 3px rgba(55, 111, 185, 0.14);
	outline: 0;
}

.inline-radio-option {
	display: inline-block;
	margin-right: 24px;
	padding: 3px 0;
}

.checkbox-option {
	padding: 3px 0;
}

.radio-option-label {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.radio-option-label .muted-option {
	color: #667386;
}

.question-title {
	display: block;
	margin-bottom: 14px;
	font-size: 0.95rem;
	line-height: 1.45;
}

.matrix-grid {
	width: 100%;
	margin: 0 0 8px;
	border: 1px solid var(--survey-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 10px;
	overflow: hidden;
	font-size: 0.88rem;
	table-layout: fixed;
}

.matrix-grid .matrix-header {
	background: var(--survey-blue-light);
	color: #29425f;
}

.matrix-grid .matrix-header td,
.matrix-grid .matrix-aspect {
	width: 38%;
}

.matrix-grid th {
	font-weight: 700;
	line-height: 1.3;
}

.matrix-grid .matrix-header th,
.matrix-grid .matrix-aspect,
.matrix-grid .matrix-answer {
	padding: 12px 9px;
	border: 0;
	border-bottom: 1px solid #e1e7ef;
}

.matrix-grid .matrix-header th,
.matrix-grid .matrix-answer {
	text-align: center;
}

.matrix-grid .matrix-aspect {
	text-align: left;
}

.matrix-grid .matrix-row:nth-child(odd) {
	background: #f8fafc;
}

.matrix-grid .matrix-row:last-child > * {
	border-bottom: 0;
}

.matrix-choice {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	cursor: pointer;
}

.matrix-choice input {
	margin: 0;
}

.matrix-choice span {
	display: none;
}

.survey-progress-cell {
	white-space: nowrap;
}

.survey-progress {
	float: left;
	width: 175px;
	height: 24px;
	margin-left: 10px;
	padding: 2px;
	border: 1px solid #9aa8b8;
	border-radius: 12px;
	background: #ffffff;
	overflow: hidden;
}

.survey-progress-value {
	height: 100%;
	border-radius: 9px;
	background: #8d0f11 url('../images/progress_bar.png') repeat-x;
}

.survey-page-indicator,
.survey-page-selector {
	float: left;
	margin: 4px 0 0 10px;
	color: #566579;
	font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
	font-size: 0.75rem;
}

.survey-page-selector {
	margin-top: 0;
}

.survey-footer-navigation {
	margin-right: 10px;
	white-space: nowrap;
}
@media (max-width: 680px) {
	div.questions {
		width: calc(100% - 20px);
		margin: 10px auto 24px;
		padding: 20px 15px 24px;
		border-radius: 12px;
		box-shadow: 0 8px 24px rgba(25, 47, 78, 0.08);
	}

	div.inner {
		width: calc(100% - 24px);
	}

	div.survey_header,
	div.survey_header > div {
		height: 54px;
	}

	div.survey_header .inner {
		padding-top: 13px !important;
		padding-left: 0 !important;
	}

	div.survey_header img {
		width: min(180px, 55vw) !important;
		height: auto;
	}

	table.survey-questions > tbody > tr.question-row:not([style*="display: none"]) {
		display: grid !important;
		grid-template-columns: 36px minmax(0, 1fr);
		margin-bottom: 14px;
	}

	table.survey-questions > tbody > tr.question-row > td {
		min-width: 0;
		padding: 16px 13px !important;
	}

	table.survey-questions > tbody > tr.question-row > td:first-child {
		width: auto;
		padding-right: 0 !important;
		border-radius: 10px 0 0 10px;
	}

	table.survey-questions > tbody > tr.question-row > td:last-child {
		border-radius: 0 10px 10px 0;
	}

	.matrix-question {
		overflow: hidden;
	}

	.matrix-grid,
	.matrix-grid tbody,
	.matrix-grid .matrix-row,
	.matrix-grid .matrix-aspect,
	.matrix-grid .matrix-answer {
		display: block;
		width: 100%;
	}

	.matrix-grid {
		border: 0;
		border-radius: 0;
		overflow: visible;
		table-layout: auto;
	}

	.matrix-grid .matrix-header {
		display: none;
	}

	.matrix-grid .matrix-row {
		margin-bottom: 12px;
		padding: 13px;
		border: 1px solid var(--survey-line);
		border-radius: 9px;
		background: #ffffff !important;
	}

	.matrix-grid .matrix-aspect {
		padding: 0 0 11px;
		border-bottom: 1px solid #e4eaf2;
		font-size: 0.92rem;
	}

	.matrix-grid .matrix-answer {
		padding: 0;
		border: 0;
		text-align: left;
	}

	.matrix-choice {
		justify-content: flex-start;
		width: 100%;
		min-height: 44px;
		padding: 6px 4px;
		border-bottom: 1px solid #edf1f6;
	}

	.matrix-answer:last-child .matrix-choice {
		border-bottom: 0;
	}

	.matrix-choice input {
		flex: 0 0 auto;
		margin-right: 10px;
	}

	.matrix-choice span {
		display: inline;
		line-height: 1.35;
	}

	input.vervebutton {
		min-width: 0;
		min-height: 44px;
		margin-top: 4px;
		margin-bottom: 4px;
		padding: 9px 13px;
	}

	select {
		width: 100% !important;
	}

	.scale-options > .inline-radio-option {
		display: block !important;
		margin-bottom: 4px;
		padding: 3px 0;
	}

	.survey-footer-row,
	.survey-footer {
		height: 58px !important;
	}

	.survey-footer {
		padding: 6px;
		background: #ffffff !important;
		border-top-color: #dbe3ed !important;
	}

	.survey-footer-layout > tbody > tr {
		display: flex;
		align-items: center;
		gap: 7px;
		width: 100%;
	}

	.survey-progress-cell {
		display: flex;
		flex: 1 1 auto;
		align-items: center;
		min-width: 0;
	}

	.survey-progress {
		flex: 1 1 54px;
		width: auto;
		max-width: 72px;
		height: 12px;
		margin-left: 0;
		padding: 1px;
	}

	.survey-page-indicator {
		float: none;
		margin: 0 0 0 6px;
		font-size: 0.68rem;
		white-space: nowrap;
	}

	.survey-page-selector {
		display: none;
	}

	.survey-navigation-cell {
		flex: 0 0 auto;
	}

	.survey-footer-navigation {
		display: flex;
		align-items: center;
		gap: 5px;
		margin-right: 0;
	}

	.survey-footer-navigation input.vervebutton {
		min-height: 38px;
		margin: 0;
		padding: 6px 9px;
		font-size: 0.75rem;
		white-space: nowrap;
	}
}

@media (max-width: 420px) {
	table.survey-questions > tbody > tr.question-row:not([style*="display: none"]) {
		grid-template-columns: 30px minmax(0, 1fr);
	}

	table.survey-questions > tbody > tr.question-row > td {
		padding: 14px 10px !important;
	}

	input.vervebutton {
		font-size: 0.85rem;
	}
}
