@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,700');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300,400,600&display=swap');

html, body {
	font-family: 'Open Sans', sans-serif;
	background-color: #fff;
	color: #333;
	font-smooth: always;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	outline: none;
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	font-size: 16px;
	font-weight: 100;

    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
main {
	flex: 1 0 auto;
}
.header-padding {
	margin-top: 0px;
}
#app {
	/* padding: 10px 10px 60px;*/
	/* position: relative; */
}
#app > .page {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	width: 100%;
}
#toast {
	opacity: 0;
	right: 0px;
	bottom: 0px;
	position: fixed;
	width: 200px;
	height: 100px;
	border: 1px solid #ccc;
	background-color: #fff;
	cursor: pointer;
	padding: 20px;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);
	-webkit-transition: opacity 200ms, right 200ms, bottom 200ms;
}
#toast.open {
	opacity: 1;
	right: 20px;
	bottom: 20px;
}
#toast:hover {
	background-color: #f8f8f8;
}
.header {
	font-size: 0.8em;
	padding: 5px 10px;
	text-transform: uppercase;
	background-color: #555;
	position: fixed;
	width: 100%;
	height: 28px;
	z-index: 10;
	top: 0px;
}
.header > a {
	color: #fff;
	margin-right: 24px;
}
.subheader {
	padding: 10px 20px;
	background-color: #f8f8f8;
	width:100%;
	border-bottom: 1px solid #eee;
}
.subheader .subheader-text {
	font-size: 1.5em;
	margin-right: 20px;
}
.subheader .subheader-text .caption {
	font-size: 0.7em;
	color: #555;
}
.center {
	text-align: center;
}
.fill-middle {
	display: block;
	float: none;
	overflow: hidden;
}
.form {
	padding: 0px 20px;
}
.box {
	border: 1px solid #ccc;
	margin: 20px auto;
	max-width: 600px;
	padding: 10px 30px;
}
.box .row {
	margin: 40px 0px;
	text-align: center;
}
.box .row .btn {
	display: block;
	max-width: 200px;
	margin: 0px auto;
}
.input-group-btn>.btn {
	border-top-color: transparent;
	border-right-color: transparent;
	border-left-color: transparent;
}
.message {
	text-align: center;
	text-transform: uppercase;
	font-size: 0.8em;
	font-weight: bold;
	margin: 20px;
}
.message.light {
	color: #888;
}
.message.status.big {
	margin: 30px;
	padding: 20px;
	font-size: 2em;
	color: #888;
	font-weight: normal;
}
.message>.submessage {
	text-transform: none;
	font-size: 0.9em;
	font-weight: normal;
}

textarea.materialize-textarea {
	min-height: 0;
	padding: .8rem 0;
	height: 1.6rem;
}
textarea.materialize-textarea.r2 {
	min-height: 2.67rem !important;
}
textarea.materialize-textarea.r3 {
	min-height: 4rem !important;
}
textarea {
	resize: none;
}

input[type=date] {
	color: #9e9e9e;
}
input[type=date]:valid {
	color: inherit;
}

/*
 * Draggable
 */
.draggable-item {
	cursor: move;
}

/*
 * Dropdown
 */
.dropdown-content li {
	min-height: 0px;
}
.dropdown-content li > a,
.dropdown-content li > span {
	color: #555;
	padding: 12px 16px;
}

/*
 * Icon buttons
 */
.btn-icon {
	color: #888;
	text-decoration: none;
	cursor: pointer;
}
.btn-icon-container .btn-icon-hover {
	visibility: hidden;
}
.btn-icon-container:hover .btn-icon-hover {
	visibility: visible;
}
.btn-icon:hover, .btn-icon:active {
	color: #333;
	text-decoration: none;
}
.pull-left > .btn-icon {
	margin-right: 2px;
}
.pull-right > .btn-icon {
	margin-left: 2px;
}

/*
 * Loading spinners
 */
@keyframes spinner-bounce {
	0%, 80%, 100% {
		-webkit-transform:scale(0);
		transform:scale(0);
		top: 0px;
	}
	40% {
		-webkit-transform:scale(1.0);
		transform:scale(1.0);
		top: 0px;
	}
}
@-webkit-keyframes spinner-bounce {
	0%, 80%, 100% {
		-webkit-transform:scale(0);
		transform:scale(0);
		top: 0px;
	}
	40% {
		-webkit-transform:scale(1.0);
		transform:scale(1.0);
		top: 0px;
	}
}

.spinner-container {
	min-width: 40px !important;
	min-height: 20px !important;
	position: relative;
}

.spinner-background {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-color: rgba(255,255,255,0.9);
	z-index: 60000;
}

.spinner {
	display: block;
	text-align: center !important;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -20px;
	margin-top: -4px;
	width: 40px;
	height: 8px;
	z-index: 60000;
}

.spinner.lg {
	margin-left: -50px;
	margin-top: -10px;
	width: 100px;
	height: 20px;
}

.spinner .bounce {
	position:relative;
	margin-left:4px;
	margin-top: -4px;
	top:0px;
	border-radius:100%;
	display:inline-block;
	-webkit-animation:spinner-bounce 1.0s infinite ease-in-out both;
	animation:spinner-bounce 1.0s infinite ease-in-out;
	width: 8px;
	height: 8px;
	background-color: rgba(0,0,0,0.8);
	color: #fff;
	text-align: center;
	vertical-align: middle;
	font-size: 0.01em;
	line-height: 1px;
}

.spinner.lg .bounce {
	margin-left: 10px;
	margin-top: -10px;
	width: 20px;
	height: 20px;
	font-size: 0.75em;
	line-height: 20px;
	-webkit-animation:spinner-bounce 1.5s infinite ease-in-out both;
	animation:spinner-bounce 1.5s infinite ease-in-out;
}

.spinner .bounce:nth-child(1) {
	-webkit-animation-delay:0s;
	animation-delay:0s;
}

.spinner .bounce:nth-child(2) {
	-webkit-animation-delay:0.125s;
	animation-delay:0.125s;
}

.spinner .bounce:nth-child(3) {
	-webkit-animation-delay:0.25s;
	animation-delay:0.25s;
}

