/* ==========================================================================
  Lists
  Define alternative lists here.
 ========================================================================== */

/* Inline list
 ========================================================================== */

.inline-list > li {
	display: inline-block;
	margin-right: 1rem;
	vertical-align: top;
}

.inline-list.inline-list--bordered > li {
	border-right: 1px solid $blue-gray-light;
	padding-right: 1.5rem;
	margin-right: 0.8rem;

	&:last-child {
		border-right: none;
	}
}

/* Bullet list
 ========================================================================== */

ul,
ol {
	&.bullet-list {
		list-style-type: disc;
		list-style: disc;
		padding-left: 2rem;
	}

	&.bullet-list--spaced > li {
		margin-bottom: 1rem;
	}

	&.bullet-list--spaced--small > li {
		margin-bottom: 0.5rem;
	}
}

/* Numbered list
 ========================================================================== */

ul,
ol {
	&.numbered-list {
		list-style-type: lower-alpha;
		margin: 0 0 1rem 2rem;
	}

	&.numbered-list li {
		list-style-type: decimal;
		margin-bottom: 0.5em;
		list-style-position: inside;

		li {
			list-style-position: inside;
		}
	}
}

/* Dashed list
 ========================================================================== */

ul,
ol {
	&.dashed-list {
		margin: 0 0 1rem 1rem;
	}

	&.dashed-list li {
		position: relative;
		padding-left: 2rem;

		&:before {
			display: block;
			content: "-";
			margin-right: 1rem;
			position: absolute;
			left: 0rem;
			top: 0.1rem;
		}
	}
}


/* Searchbox results
 ========================================================================== */

.search-box__results {
	max-height: 40vh;
	overflow: scroll;

	li {
		padding: 0.5rem 1.5rem;
		font-size: 1.6rem;

		&:hover {
			background-color: $blue-gray-lightest;
			cursor: pointer;
			color: $primary-blue;
		}

		&:first-child {
			padding-top: 0.7rem;
		}

		&:last-child {
			padding-bottom: 0.7rem;
		}
	}
}

/* Temporary list problem
 ========================================================================== */

.side-navigation {
	font-size: 1.6rem;
}

.side-navigation__item > ul {
	display: block !important;
	font-size: 95%;

	&.side-navigation__group {
	padding-top: 0;
	}
}
