body {
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', Helvetica, sans-serif;
	box-sizing: border-box;
}

.page-login {
	background-image: url(/img/bg.jpg);
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: cover;
}

.page-login-form {
	height: 100vh
}

/* Assign grid instructions to our parent grid container, mobile-first (hide the sidenav) */
.grid-container {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 50px 1fr 50px;
	grid-template-areas:
          'header'
          'main'
          'footer';
	height: 100vh;
}

/* Give every child element its grid name */
.header__panel {
	grid-area: header;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	background-color: darkslateblue;
	color: #fff;
}

.sidenav {
	display: none; /* Mobile-first */
	grid-area: sidenav;
	background-color: darkslateblue;
}

.sidenav__brand {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	background-color: rgba(0, 0, 0, 0.15);
}

.sidenav__list {
	padding: 0;
	margin: 0;
	background-color: darkslateblue;
	list-style-type: none;
}

.sidenav__list-item {
	padding: 20px;
	color: #ddd;
}

.sidenav__list-item:hover {
	background-color: rgba(255, 255, 255, 0.2);
	cursor: pointer;
}

.main {
	grid-area: main;
	/*background-color: #8fd4d9;*/
}

.main-header {
/*	display: flex;
	justify-content: space-between;*/
	margin: 20px;
	/*padding: 20px;*/
	/*height: 150px;*/
/*	background-color: #e3e4e6;
	color: slategray;*/
}

.main-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
	grid-auto-rows: 94px;
	grid-gap: 30px;
	margin: 20px;
}

.overviewcard {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	background-color: #d3d3;
}

.main-cards {
	column-count: 1;
	column-gap: 20px;
	margin: 20px;
}

.card {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	background-color: #82bef6;
	margin-bottom: 20px;
	-webkit-column-break-inside: avoid;
	padding: 24px;
	box-sizing: border-box;
}

/* Force varying heights to simulate dynamic content */
.card:first-child {
	height: 485px;
}

.card:nth-child(2) {
	height: 200px;
}

.card:nth-child(3) {
	height: 265px;
}

.footer {
	grid-area: footer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	background-color: darkslateblue;
	color: #fff;
}

.padding > ui {
	padding: 0;
	margin: 0;
}

.inputRight input[type='text'] {
	width: 60px;
	text-align: right;
}

.inputRight input[type=number] {
	position: relative;
	padding: 5px 17px 5px 0;
	text-align: right;
}

.inputRight input[type=number]::-webkit-inner-spin-button,
.inputRight input[type=number]::-webkit-outer-spin-button {
	opacity: 1;
}

.inputRight input[type=number]::-webkit-outer-spin-button,
.inputRight input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: inner-spin-button !important;
	width: 25px;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
}

/* Non-mobile styles, 750px breakpoint */
@media only screen and (min-width: 46.875em) {
	/* Show the sidenav */
	.grid-container {
		grid-template-columns: 65px 1fr;
		grid-template-areas:
            "sidenav header"
            "sidenav main"
            "sidenav footer";
	}

	.sidenav {
		display: flex;
		flex-direction: column;
	}
}

/* Medium screens breakpoint (1050px) */
@media only screen and (min-width: 65.625em) {
	/* Break out main cards into two columns */
	.main-cards {
		column-count: 2;
	}
}