body {
	font-family: "Open Sans", "Muli", "Arial", sans-serif;
	margin: 0;
	padding: 0;
}
body.modal-open {
	overflow: hidden;
}

#modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 1000;
}
#modal > .modal-background {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,.7);
	z-index: 1001;
}
#modal > .modal-dialog {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: calc(100% - 2rem);
	min-height: calc(100% - 2rem);
	margin: 1rem;
	background-color: #fff;
	color: #000;
	z-index: 1002;
}
#modal > .modal-dialog > * {
	max-width: 100%;
}

@media (min-width: 768px) {
#modal > .modal-dialog {
	width: auto;
	min-width: 50%;
	max-width: 650px;
	min-height: calc(100% - 4rem);
	margin: 2rem auto;
}
}

* {
	box-sizing: border-box;
}

.fullscreen {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	min-height: 100vh;
}

.text-center {
	text-align: center;
}

.d-flex {
	display: flex;
}

.flex-left {
	justify-content: flex-start;
}
.flex-center {
	justify-content: center;
}

.flex-v-center {
	align-items: center;
}
.flex-bottom {
	align-items: flex-end;
}

.reset {
	position: absolute;
	top: 0;
	right: 0;
	padding: .5rem;
	background-color: rgba(0,0,0,.2);
}
.reset > a {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}
.reset > a:hover {
	text-decoration: underline;
}