/* Typography */
@font-face {
	font-family: "Camphor Pro";
	src: url("/static/fonts/CamphorPro-Regular.eot");
	src: url("/static/fonts/CamphorPro-Regular.eot?#iefix") format("embedded-opentype"), 
		 url("/static/fonts/CamphorPro-Regular.woff2") format("woff2"), 
		 url("/static/fonts/CamphorPro-Regular.woff") format("woff"), 
		 url("/static/fonts/CamphorPro-Regular.ttf") format("truetype"), 
		 url("/static/fonts/CamphorPro-Regular.svg#CamphorPro-Regular") format("svg");
	font-weight: 400;
	font-style: normal
}

@font-face {
	font-family: "Camphor Pro";
	src: url("/static/fonts/CamphorPro-MediumItalic.eot");
	src: url("/static/fonts/CamphorPro-MediumItalic.eot?#iefix") format("embedded-opentype"), 
		 url("/static/fonts/CamphorPro-MediumItalic.woff2") format("woff2"), 
		 url("/static/fonts/CamphorPro-MediumItalic.woff") format("woff"), 
		 url("/static/fonts/CamphorPro-MediumItalic.ttf") format("truetype"), 
		 url("/static/fonts/CamphorPro-MediumItalic.svg#CamphorPro-MediumItalic") format("svg");
	font-weight: 400;
	font-style: italic
}

@font-face {
	font-family: "Camphor Pro";
	src: url("/static/fonts/CamphorPro-Medium.eot");
	src: url("/static/fonts/CamphorPro-Medium.eot?#iefix") format("embedded-opentype"), 
		 url("/static/fonts/CamphorPro-Medium.woff2") format("woff2"), 
		 url("/static/fonts/CamphorPro-Medium.woff") format("woff"), 
		 url("/static/fonts/CamphorPro-Medium.ttf") format("truetype"), 
		 url("/static/fonts/CamphorPro-Medium.svg#CamphorPro-Medium") format("svg");
	font-weight: 500;
	font-style: normal
}

a, a:visited {
	color: #0F54E8;
	text-decoration: none;
}

body, input, button {
	font-family: "Camphor Pro";
}

h1 {
	font-size: 48px;
	line-height: 150%;
}

.small {
	font-size: 14px;
}

.align-right {
	text-align: right;
}

label {
	font-size: 15px;
	font-weight: 500;
}

.helper {
	font-size: 12px;
	line-height: 1.5;
	margin: 4px;
}

input {
	line-height: 115%;
}

button {
	font-weight: 500;
	font-size: 16px;
	line-height: 100%;
	height: 36px;
}

th {
	text-align: right;
}

/* Colors */
body {
	background-color: #BFD0E0;
}

.container {
	background-color: #FFFFFF;
}

label, input {
	color: #1E293B;
}

input {
	border: 1px solid #CBD5E1;
}

input:focus {
    outline: none;
    box-shadow: rgb(96, 165, 250) 0px 0px 0px 1px;
    border: 1px solid rgb(96, 165, 250);
}

input[type=radio] {
	border: 2px solid rgb(100, 116, 139);
	appearance: none;
	border-color: 0.3s ease-in-out;
}

input[type=radio]:hover {
	border-color: rgb(59, 130, 246);
}

input[type=radio]:checked {
	border-color: rgb(59, 130, 246);
}

input[type=radio]:focus {
	box-shadow: rgba(0, 123, 255, 0.25) 0px 0px 0px 0.2rem;
}

input[type=radio]:checked::after {
    background-color: rgb(59, 130, 246);
    border-radius: 100%;
}

button {
	background-color: #E2E8F0;
	border: none;
	color: #1E3A8A;
	cursor: pointer;
}

button:hover {
	background-color: #CBD5E1;
}

table th, table td {
	border-bottom: 1px solid #e2e8f0;
}

/* Spacing */
.container {
	padding: 16px 64px 32px 64px;
}

label {
	margin: 0 0 6px 0;
	padding-left: 2px;
}

input {
	height: 40px;
	padding: 0 8px;
	border-radius: 4px;
}

input[type=radio] {
	padding: 0;
	display: block;
	width: 16px;
    height: 16px;
	border-radius: 50%;
	margin: 2px 0px 0px;
	outline: none;
	cursor: pointer;
	position: relative;
}

input[type=radio]:checked::after {
	content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
}

button {
	display: block;
	padding: 2px 12px;
	border-radius: 4px;
}

table td, table th {
	padding: 12px 64px;
}

/* Flexbox */
.container {
	max-width: 768px;
	margin: 0 auto;
}

.row {
	display: flex;	
}

.column {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.gap {
	gap: 16px;
}

.w-50 {
	width: 50%;
}

table {
	margin: 0 auto;
}

/* Application-specific */

.logo {
	width: 60px;
}

.radio {
	padding-left: 4px;
	margin-top: 8px;
	gap: 20px;
}

.radio .row {
	gap: 4px;
}

.radio label {
	cursor: pointer;
	font-size: 16px;
	font-weight: 400;
}

[hidden="true"] {
	display: none
}

[hidden="false"] {
	display: block
}

@keyframes circle__svg {
	0% {
		transform: rotateZ(0deg);
	}
	100% {
		transform: rotateZ(360deg);
	}	
}

.loader {
	text-align: center;
}

.loader svg {
	width: 40px;
	height: 40px;
	animation: 1.8s linear 0s infinite normal both running circle__svg;
}

.loader svg .circleBg {
	fill: transparent;
    stroke: rgba(120, 120, 120, 0.3);
	stroke-width: 4;
}

.loader svg .circle {
	stroke-width: 4;
    stroke-dasharray: 305;
	stroke-dashoffset: 280;
    fill: transparent;
    stroke: rgb(37, 99, 235);
    stroke-dasharray: 315;
    stroke-linecap: round;
    stroke-width: 5px;
    transform-origin: 50% 50%;
}

#error {
	margin-top: 12px;
	color: #B91C1C;
}

#result {
	margin-top: 12px;
}