///
/// Indivisible by Pixelarity
/// pixelarity.com | hello@pixelarity.com
/// License: pixelarity.com/license
///

/* List */

	ol {
		list-style: decimal;
		margin: 0 0 _size(element-margin) 0;
		padding-left: 1.25em;

		li {
			padding-left: 0.25em;
		}
	}

	ul {
		list-style: disc;
		margin: 0 0 _size(element-margin) 0;
		padding-left: 1em;

		li {
			padding-left: 0.5em;
		}

		&.alt {
			list-style: none;
			padding-left: 0;

			li {
				border-top: solid 1px _palette(border);
				padding: 0.5em 0;

				&:first-child {
					border-top: 0;
					padding-top: 0;
				}
			}
		}

		&.icons {
			cursor: default;
			list-style: none;
			padding-left: 0;

			li {
				display: inline-block;
				padding-left: 0;

				.icon {
					display: inline-block;
					width: 2.5em;
					height: 2.5em;
					line-height: 2.5em;
					text-align: center;

					&:before {
						font-size: 1.25rem;
					}
				}
			}
		}

		&.actions {
			cursor: default;
			list-style: none;
			margin-left: (_size(element-margin) * -0.5);
			margin-top: (_size(element-margin) * -0.5);
			padding-left: 0;

			li {
				display: inline-block;
				margin: (_size(element-margin) * 0.5) 0 0 (_size(element-margin) * 0.5);
				padding-left: 0;
				vertical-align: middle;

				&:last-child {
					padding-right: 0;
				}
			}

			&.vertical {
				margin-top: 0;
				margin-left: 0;

				li {
					display: block;
					margin: 0;
					padding: (_size(element-margin) * 0.75) 0 0 0;
					position: relative;

					&:first-child {
						padding-top: 0;
					}

					> * {
						margin-bottom: 0;
					}

					> .button {
						min-width: 15em;
					}
				}

				&.special {
					li {
						&:after {
							background-color: _palette(border);
							content: '';
							display: block;
							height: (_size(element-margin) * 0.75);
							left: 50%;
							position: absolute;
							top: 100%;
							width: 1px;
						}

						&:last-child {
							&:after {
								display: none;
							}
						}
					}
				}
			}

			@include breakpoint(small) {
				&.vertical {
					&.special {
						li {
							padding: (_size(element-margin) * 0.5) 0 0 0;

							&:after {
								height: (_size(element-margin) * 0.5);
							}
						}
					}
				}
			}

			&.spinY {
				li {
					@include vendor('perspective', '1000px');

					a {
						@include vendor('transition', (
							'background-color #{_duration(transition)} ease',
							'box-shadow #{_duration(transition)} ease',
							'color #{_duration(transition)} ease',
							'transform 0.5s ease-in'
						));

						&.active {
							@include vendor('transform', 'rotateY(480deg)');
						}
					}
				}
			}

			&.spinX {
				li {
					@include vendor('perspective', '1000px');

					a {
						@include vendor('transition', (
							'background-color #{_duration(transition)} ease',
							'box-shadow #{_duration(transition)} ease',
							'color #{_duration(transition)} ease',
							'transform 0.5s ease-in'
						));

						&.active {
							@include vendor('transform', 'rotateX(480deg)');
						}
					}
				}
			}
		}
	}

	dl {
		margin: 0 0 _size(element-margin) 0;

		dt {
			display: block;
			font-weight: _font(weight-bold);
			margin: 0 0 (_size(element-margin) * 0.5) 0;
		}

		dd {
			margin-left: _size(element-margin);
		}
	}