/**
 * Minimal layout grid + sidenav — replaces Materialize CSS (~5 KB vs 142 KB).
 */

.container {
	margin: 0 auto;
	max-width: 1280px;
	width: 92%;
}

.row {
	margin-left: -0.75rem;
	margin-right: -0.75rem;
}

.row:after {
	content: '';
	display: table;
	clear: both;
}

.col {
	float: left;
	box-sizing: border-box;
	padding: 0 0.75rem;
	min-height: 1px;
}

.col.s1 { width: 8.3333333333%; }
.col.s2 { width: 16.6666666667%; }
.col.s3 { width: 25%; }
.col.s4 { width: 33.3333333333%; }
.col.s5 { width: 41.6666666667%; }
.col.s6 { width: 50%; }
.col.s7 { width: 58.3333333333%; }
.col.s8 { width: 66.6666666667%; }
.col.s9 { width: 75%; }
.col.s10 { width: 83.3333333333%; }
.col.s11 { width: 91.6666666667%; }
.col.s12 { width: 100%; }

@media only screen and (min-width: 601px) {
	.col.m1 { width: 8.3333333333%; }
	.col.m2 { width: 16.6666666667%; }
	.col.m3 { width: 25%; }
	.col.m4 { width: 33.3333333333%; }
	.col.m5 { width: 41.6666666667%; }
	.col.m6 { width: 50%; }
	.col.m7 { width: 58.3333333333%; }
	.col.m8 { width: 66.6666666667%; }
	.col.m9 { width: 75%; }
	.col.m10 { width: 83.3333333333%; }
	.col.m11 { width: 91.6666666667%; }
	.col.m12 { width: 100%; }
}

@media only screen and (min-width: 993px) {
	.col.l1 { width: 8.3333333333%; }
	.col.l2 { width: 16.6666666667%; }
	.col.l3 { width: 25%; }
	.col.l4 { width: 33.3333333333%; }
	.col.l5 { width: 41.6666666667%; }
	.col.l6 { width: 50%; }
	.col.l7 { width: 58.3333333333%; }
	.col.l8 { width: 66.6666666667%; }
	.col.l9 { width: 75%; }
	.col.l10 { width: 83.3333333333%; }
	.col.l11 { width: 91.6666666667%; }
	.col.l12 { width: 100%; }
}

/* Materialize sidenav component (MIT) — mobile slide-out panel behaviour. */
.sidenav {
	position: fixed;
	width: 300px;
	left: 0;
	top: 0;
	margin: 0;
	height: 100%;
	height: calc(100% + 60px);
	padding-bottom: 60px;
	background-color: #fff;
	z-index: 999;
	overflow-y: auto;
	will-change: transform;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-105%);
	transform: translateX(-105%);
}

.sidenav.right-aligned {
	right: 0;
	left: auto;
	-webkit-transform: translateX(105%);
	transform: translateX(105%);
}

.sidenav li {
	float: none;
	line-height: 48px;
}

.sidenav li > a {
	display: block;
	height: 48px;
	line-height: 48px;
	padding: 0 32px;
}

.sidenav li > a > i {
	float: left;
	height: 48px;
	line-height: 48px;
	margin: 0 32px 0 0;
	width: 24px;
}

.sidenav-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	opacity: 0;
	height: 120vh;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 997;
	display: none;
}

.drag-target {
	height: 100%;
	width: 10px;
	position: fixed;
	top: 0;
	z-index: 998;
}

.drag-target.right-aligned {
	right: 0;
}

.sidenav.sidenav-fixed {
	left: 0;
	position: fixed;
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

.sidenav.sidenav-fixed.right-aligned {
	right: 0;
	left: auto;
}

@media only screen and (max-width: 992px) {
	.sidenav.sidenav-fixed {
		-webkit-transform: translateX(-105%);
		transform: translateX(-105%);
	}

	.sidenav.sidenav-fixed.right-aligned {
		-webkit-transform: translateX(105%);
		transform: translateX(105%);
	}

	.sidenav > a {
		padding: 0 16px;
	}
}

@media only screen and (min-width: 993px) {
	.sidenav-trigger {
		display: none;
	}
}
