* {
   margin: 0; 
   padding: 0;
   box-sizing: border-box;
}

:before, :after {
	box-sizing: border-box;
}

a {
	color: #0072c0;
	text-decoration: none;
}

body {
	min-height: 100vh;
}

body {
	display: flex;
	flex-direction: column;
	font-family: Helvetica,Arial,sans-serif;
	font-size: 14px;
	color: black;
	overflow-x: hidden;
}

input[type=text],input[type=email],input[type=password] {
	display: block;
	width: 100%;
    height: 36px;
    border: 1px solid #939599;
    border-radius: 0;
    outline: none;
    padding: 0.375rem 1.2rem;
    font-size: 14px;
    margin-right: 10px;
}

input[type=checkbox] {
    margin-right: 0.5em;
}

input[type=text]:focus,[type=checkbox]:focus,input[type=email]:focus,input[type=password]:focus {
    border-color: #0072c0;
}

.btn {
	display: inline-block;
	margin-top: 10px;
	vertical-align: middle;
	height: 36px;
    font-size: 16px;
	padding: 8px 19px;
    color: #000;
	background-color: #fff;
	-webkit-appearance:  none;
	border: 1px solid #0072c0;
	border-radius: 0;
	outline: none;
	text-decoration: none;
	cursor: pointer;
}

.btn:hover {
	color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.form-row {
	margin-top: 30px;
	margin-bottom: 1rem;
}

.form-row:first-child {
	margin-top: 0px;
}

.form-row.required > label:after {
    content: "*";
    margin-left: 0.5em;
    color: #dc3545;
}

label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 700;
}

.checkbox {
	display: inline-block;
	font-weight: normal;
}

.errorlist {
	list-style-position: inside;
	color: red;
}

.goodlist {
	list-style-position: inside;
	color: green;
}

table {
	border-collapse: collapse;
	margin-bottom: 1rem;
    background-color: transparent;
	border: 1px solid #b6b8bc;
}

table tr td {
    border: 1px solid #b6b8bc;
    padding: 10px 9px 11px 12px;
}

table thead tr td {
	background-color: #f2f3f6;
	font-weight: 700;
}

.header {
	display: flex;
	justify-content: center;
	background-color: red;
	font-size: 14px;
	min-height: 100px;
	background: #333;
	color: #fff;
	padding: 40px 80px;
}

.header-content {
	display: block;
}

@media (min-width:700px) {
.header-content {
	width: 70%;
}
}

.header h2 a {
	color: #fff;
	text-decoration: none;
}

.content {
	display: flex;
	flex-grow: 1;
	justify-content: center;
/*	min-width: 500px;*/
	background: #ddd;
}

.page {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-self: flex-start;
	max-width: 700px;
	padding: 30px 50px;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 0 0 5px #c4c5c8;
	margin: 50px 0;

}

.page h1 {
	margin-bottom: 30px;
}

@media (max-width:700px) {
	.page {
		border-radius: 4px;
		padding: 15px 25px;
	}

	.page h1 {
		margin-bottom: 15px;
	}
}

.overflow {
	width: calc(100%-30px);
	overflow-x: auto;
}

.test_list {
	display: block;
	width: 500px;
	max-width: 100%;
}

.user {
	text-align: right;
	margin-bottom: 30px;
}

.test-warning {
	color: red;
	margin-top: 10px;
}

.question {
	user-select: none;
}

.question-header {
	font-weight: 700;
	font-size: 1.2em;
}

.question-text {
	text-align: justify;
}

.question-img {
	max-width: 100%;
	margin: 1em 0;
}

.footer {
	display: flex;
	justify-content: center;
	font-size: 14px;
	background: #333;
	color: #b6b8bc;
	padding: 40px 80px;
}

.footer-content {
	display: block;
}

.footer p {
	display: block;
	position: relative;
	margin-top: 8px;
}

.footer .icon {
	position: absolute;
	left: -25px;
}

.footer .label {
	color: #939599;
}

@media (min-width:700px) {
.footer-content {
	width: 70%;
}
}
