body {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	overflow-x: hidden;
}

main {
	flex: 1 0 auto;
}

.no-wrap span {
	display: inline-block;
}

.no-wrap i {
	display: inline-block;
	vertical-align: bottom;
	margin-left: 5px;
}

.no-wrap {
	white-space: nowrap;
}

/*noinspection CssUnknownProperty*/
.center {
	position: relative;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.pointer {
	cursor: pointer;
}

/*noinspection CssUnknownProperty*/
.centerX {
	margin-left: 50%;
	-webkit-transform: translateX(-50%) !important;
	transform: translateX(-50%) !important;
}

/*noinspection CssUnknownProperty*/
.centerY {
	top: 50%;
	position: absolute;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

/*noinspection CssUnknownProperty*/
.btn-centerY {
	-webkit-transform: translateY(30%);
	transform: translateY(30%);
}

.full-width-checkbox {
	width: 100%;
	text-align: center !important;
	transform: translateY(-50%) !important;
}

.no-bottom {
	margin-bottom: 0;
}

.no-left {
	margin-left: 0 !important;
}

.no-top {
	margin-top: 0;
}

.section.no-bottom {
	padding-bottom: 0;
}

.section.no-top {
	padding-top: 0;
}

.fixed-action-btn.waves-effect {
	position: fixed;
}

.full-width {
	width: 100%;
}

nav ul a:hover {
	background-color: inherit;
}

.dropdown-content li:hover, .dropdown-content li.active {
	background-color: #cfd8dc; /* blue-grey lighten-4 */
}

.pagination li.active {
	background-color: #4db6ac;
}

nav ul li:hover {
	background-color: #78909c; /* blue-grey lighten-1 */
}

.valign-wrapper {
	flex-wrap: wrap;
}

.collapsible-body td, .overflowscroll td {
	border: solid 1px grey;
	min-width: 60px;
	text-align: center;
	padding: 12px;

	max-width: 350px;
	overflow: auto;
}

.collapsible-body th, .overflowscroll th {
	text-align: center;
}

.collapsible-body {
	padding: 1rem;
}

.card .card-title {
	font-weight: normal;
}

nav .brand-logo {
	height: 50%;
	margin: -.2% 1%;
}

nav .brand-logo img {
	height: 100%;
	margin-right: .3em;
	vertical-align: sub;
}

.collapsible-body, .overflowscroll {
	overflow-x: auto;
	clear: both;
}

td {
	text-align: center;
}

.collapsible-body tr, .overflowscroll tr {
	border-bottom: none;
}

.table-margin tr::after {
	content: '';
	width: 1rem;
	display: block;
}

.modal {
	max-height: 80%;
}

.modal-content > p {
	min-height: 100px;
	padding-top: 25px;
}

.small-text {
	font-size: small;
}

.long-select {
	width: calc(100% - 20px) !important;
	padding-right: 15px !important;
}

li.optgroup {
	cursor: default;
}

.modal.curve .modal-content {
	padding: 0;
	height: 91%;
}

.modal.curve {
	max-height: 80%;
	min-height:750px;
	height: 85%;
}

.hover-toast{
	cursor: pointer;
}

/* mobile & tablet */
@media only screen and (max-width: 992px) {
	.modal.curve {
		width: 95%;
	}

	nav .brand-logo * {
		vertical-align: middle;
	}
}

/* tablet & desktop */
@media only screen and (min-width: 601px) {
	.grid-card {
		max-height: 216px;
	}
}

/* desktop */
@media only screen and (min-width: 993px) {
	.small-toast {
		max-width: 185px !important;
	}

	#toast-container {
		right: inherit;
		left: 2%;
	}

	.toast .toast-action {
		margin-left: 1rem;
	}
}

/* tablet */
@media only screen and (max-width: 992px) and (min-width: 601px) {
	#toast-container {
		top: 10%;
		right: 2%;
		left: inherit;
		bottom: inherit;
	}

	.small-toast {
		float: right;
		max-width: 185px !important;
	}

	.toast .toast-action {
		margin-left: 1rem;
	}
}

/* mobile */
@media only screen and (max-width: 601px) {
	.right.left-on-small {
		float: left !important;
	}
	.left.right-on-small {
		float: right !important;
	}

	.fixed-action-btn .btn-floating {
		margin-bottom: 50px;
	}

	.full-width-checkbox span::after {
		transform: translateY(20%) !important;
	}

	.header a.centerX {
		margin : 3.5em 0 .5em 50%;
	}
}