html, body {
	position: relative;
	width: 100%;
	height: 100%;
}


a {
	color: rgb(0,100,200);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: rgb(0,80,160);
}

label {
	display: block;
}

input, button, select, textarea {
	font-family: inherit;
	font-size: inherit;
	padding: 0.4em;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 2px;
	transition: all 0.2s;
}

input:disabled {
	color: #ccc;
}

input[type="range"] {
	height: 0;
}

button {
	color: #333;
	background-color: #f4f4f4;
	outline: none;
}

button:disabled {
	color: #999;
}

button:not(:disabled):active {
	background-color: #ddd;
}

button:focus {
	border-color: #666;
}

/*Hack to get this working ASAP, loading things into svelte is a PITA*/

.yodal-model-main-container {
	pointer-events: none;
	color: black;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.yodel-trap {
	transition: all 0.3s;
	display: none;
	position: fixed;
	opacity: 0;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	justify-content: center;
	align-items: center;
	background: black;
}

.yodel-trap.active {
	opacity: 0.6;
}

.yodel-modal {
	pointer-events: all;
	display: flex;
	flex-direction: column;
	width: calc(100% - 20px);
	overflow: hidden;
	max-height: calc(100% - 40px);
	margin: 0 10px;
	max-width: 600px;
	transition: all 0.3s;
	background-color: white;
	border-radius: 12px;
	transform: translateY(-30px);
}

.yodel-modal a {
	color:#FE520A;
	cursor:pointer;
}

.yodel-modal-content {
	margin: 20px;
	overflow: scroll;
	height: 100%;
	flex-grow: 1;
}

.yodel-modal.active {
	transform: translateY(0);
}

.yodel-qa-header {
	font-size: 18px;
	margin: 8px 0 4px;
}

.yodel-qa-answer {
	margin: 0 0 12px;
}

.yodel-modal-header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 60px;
	min-height: 60px;
	padding-left: 20px;
	padding-right: 8px;
}

.yodel-modal-header-center {
	text-align: center;
}

.yodel-modal-border {
	border-bottom: 1px solid #ddd;
	margin: 0 20px;
}

.yodel-modal-footer {
	padding: 8px;
	font-size: 16px;
	min-height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.btn-close {
	position: absolute;
	right: 16px;
	outline: none;
	background: transparent;
	border: none;
	width: 42px;
	height: 42px;
	display:flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	margin: 0;
	transition: color 0.2s;
}
.btn-close:hover {
	opacity: 0.7;
}

.btn-close svg {
	width: 20px;
	height: 20px;
}