/* ==========================================================================
   General docs layout
   ========================================================================== */

#header {
	border-bottom: 1px solid #ccc;
	padding: 1rem;
}

#header .menu-trigger {
	display: inline-block;
	margin: 0 0 0 1.5rem;
}

#header .menu-trigger:hover,
#header .menu-trigger:active {
	text-decoration: none;
}

.header__content {
	max-width: 75rem;
	margin: 0 auto;
}

#nav-menu {
	font-size: .875rem;
}

#nav-menu h6 {
	margin: 0 0 .875rem;
}

#nav-menu ul {
	margin: 0;
	padding: 0;
	list-style-position: inside;
}

#main {
	padding: 2rem 1rem;
}

#main__content {
	max-width: 54rem;
	margin: 0 auto;
}

#header > .grid,
#main > .grid {
	max-width: 87.5rem;
	margin: 0 auto;
}

#nav {
	font-size: .875rem;
	margin-top: 3rem;
	border-top: 4px solid black;
	padding-top: 2rem;
}

#nav h6 {
	margin: 1rem 0 0;
	font-size: .875rem;
}

#nav h6:first-child {
	margin: 0;
}

#nav ul {
	margin: 0 0 1rem;
	padding: 0;
	list-style-position: inside;
}

#nav a:link,
#nav a:visited {
	color: #999;
	text-decoration: none;
}

#nav a:hover,
#nav a:active {
	color: #333;
}

body.docs--typography #content .typography-demo {
	background-image: url(http://basehold.it/image.php?height=24);
}

.grid-demo {
	margin-bottom: 1.5rem;
}

.grid-demo .grid {
	background: pink;
}

.grid-demo .grid.grid--block {
	background: none;
}

.grid-demo .grid-col {
	background: slategray;
	font-style: italic;
	font-size: .8rem;
	line-height: 1.4;
	color: #fff;
	box-shadow: 0 0 0 1px #fff;
}

.grid-demo p {
	margin: 1rem 0;
	font-weight: bold;
}

/* Extra-Small */
@media only screen and (min-width: 480px) {

	.grid-demo .grid-col {
		background: deeppink;
	}

}

/* Small */
@media only screen and (min-width: 768px) {

	.grid-demo .grid-col {
		background: blue;
	}

}

/* Medium */
@media only screen and (min-width: 992px) {

	.grid-demo .grid-col {
		background: sienna;
	}

}

/* Large */
@media only screen and (min-width: 1200px) {

	#nav {
		margin-top: 0;
		border-top: 0;
		padding-top: 0;
	}

	.grid-demo .grid-col {
		background: purple;
	}

}

/* Extra Large */
@media only screen and (min-width: 1600px) {

	.grid-demo .grid-col {
		background: lightseagreen;
	}

}

/* Extra Extra Large */
@media only screen and (min-width: 1800px) {

	.grid-demo .grid-col {
		background: orangered;
	}

}

/* ==========================================================================
   Class Reference
   ========================================================================== */

.class-reference-table .section-title {
	font-weight: bold;
	background: #f0f0f0;
}

.class-reference-table th:last-child {
	width: 100%;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.content__header h1 {
	font-size: 32px;
}

.content__header p {
	margin: 1.5rem 0 0;
}

.content__header p:first-child {
	margin: 0;
}

h2.section-title {
	font-size: 24px;
}

code:before {
	content: '\003C'
}

code:after {
	content: '\003E'
}

code.plain:before,
code.plain:after {
	content: '';
}

pre.code {
	margin: 0;
	font-size: .8rem;
}

/* ==========================================================================
   Component-specific overrides
   ========================================================================== */

/* Component: Wells */

.well--docs {
	border: 1px solid #a9e2fe;
	background-color: #dbf3ff;
}

/* Component: Slider */

.slider__contents ul {
	max-width: 1200px;
}

.slider__contents .slide-action {
	background: blue;
}

.slider__contents .slide-text {
	background: rgba(255,255,255,.5);
}

.slider-nav--prev,
.slider-nav--next {
	width: 3rem;
	height: 3rem;
	opacity: .5;
}

.slider-nav--prev:after,
.slider-nav--next:after {
	color: red;
	font-size: 3rem;
}

.slider-nav--prev:hover,
.slider-nav--next:hover {
	opacity: 1;
}