#discover .theme-dark .chapternav,
#discover .chapternav.theme-dark {
  background: rgba(51, 51, 51, 0.9);
}

.chapternav-item-macos .chapternav-icon {
	background-image: url(/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/icon-macos-dark.svg);
	width: 42px;
	height: 54px;
	background-size: 42px 54px;
	background-repeat: no-repeat;
}

.chapternav-item-ios .chapternav-icon {
	background-image: url(/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/icon-ios-dark.svg);
	width: 32px;
	height: 54px;
	background-size: 32px 54px;
	background-repeat: no-repeat;
}

.chapternav-item-watchos .chapternav-icon {
	background-image: url(/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/icon-watchos-dark.svg);
	width: 44px;
	height: 54px;
	background-size: 44px 54px;
	background-repeat: no-repeat;
}

.chapternav-item-tvos .chapternav-icon {
	background-image: url(/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/icon-tvos-dark.svg);
	width: 58px;
	height: 54px;
	background-size: 58px 54px;
	background-repeat: no-repeat;
}

.chapternav-item-program .chapternav-icon {
	background-image: url(/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/icon-program-dark.svg);
	width: 34px;
	height: 54px;
	background-size: 34px 54px;
	background-repeat: no-repeat;
}


.theme-dark .chapternav-item-macos .chapternav-icon {
	background-image: url(/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/icon-macos.svg);
}

.theme-dark .chapternav-item-ios .chapternav-icon {
	background-image: url(/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/icon-ios.svg);
}

.theme-dark .chapternav-item-watchos .chapternav-icon {
	background-image: url(/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/icon-watchos.svg);
}

.theme-dark .chapternav-item-tvos .chapternav-icon {
	background-image: url(/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/icon-tvos.svg);
}

.theme-dark .chapternav-item-program .chapternav-icon {
	background-image: url(/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/icon-program.svg);
}



/* Overrides */

* + h1,
* + h2,
* + h3 {
	margin-top: 0;
}


@media only screen and (min-width: 768px) and (max-width: 1023px) {
	.grid {
		width: 100%;
		padding: 0 22px;
	}

	.row {
		margin: 0 -22px;
	}

	[class*='col-'] {
		padding-left: 22px;
		padding-right: 22px;
	}
}

/*** Page Styles ***/


/* Type */

.intro {
	max-width: 750px;
}

p {
	max-width: 650px;
}

@media only screen and (max-width: 767px) {
	p {
		max-width: none;
	}
}

a.more {
	white-space: normal;
	padding-right: 12px;
}

.copy-wrapper {
	max-width: 350px;
	margin: 0 auto;
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
	.copy-wrapper {
		width: 260px;
	}
}

@media only screen and (max-width: 767px) {
	.text-center {
		text-align: center;
	}
}


/* Layout */

.section-two-up {
	max-width: 1788px;
	margin: 0 auto;
	padding-left: 44px;
	padding-right: 44px;
}

@media only screen and (max-width: 1023px) {
	.section-two-up {
		padding-left: 22px;
		padding-right: 22px;
	}
}

.section-two-up .row {
	width: 100%;
	display: table;
	margin: 0;
}

@media only screen and (max-width: 767px) {
	.section-two-up .row {
		display: inline-block;
		width: 100%;
		margin: 0 0 12px;
	}
}

.section-two-up [class*='col-'] {
	background-color: #f2f2f2;
	padding: 0;
	border-left: 6px solid #ffffff;
	border-right: 6px solid #ffffff;
	border-bottom: 12px solid #ffffff;
	vertical-align: top;
	display: table-cell;
	vertical-align: middle;
	padding-top: 10%;
	padding-bottom: 10%;
	float: none;
}

@media only screen and (max-width: 767px) {
	.section-two-up [class*='col-'] {
		display: block;
		padding-top: 60px;
		padding-bottom: 60px;
		padding-left: 22px;
		padding-right: 22px;
		float: left;
	}

	.section-two-up .row-related [class*='col-'] {
		border: none;
	}
}


.push {
	left: 50%
}

.pull {
	right:50%;
}

@media only screen and (max-width: 767px) {
	.push,
	.pull {
		right:auto;
		left: auto;
	}
}


.grid-full {
 	margin: 0 44px;
}

@media only screen and (max-width: 1023px) {
	.grid-full {
	 	margin: 0 22px;
	}
}

@media only screen and (min-width: 1024px) {
	.grid {
		padding: 0;
	}
}


/* Heroes */
.bg-grad-down {
	background: #FFFFFF;
	background: -webkit-linear-gradient(top, #F7F7F7 0%, #FFFFFF 100%);
	background: -moz-linear-gradient(top, #F7F7F7 0%, #FFFFFF 100%);
	background: -ms-linear-gradient(top, #F7F7F7 0%, #FFFFFF 100%);
	background: linear-gradient(to bottom, #F7F7F7 0%, #FFFFFF 100%);
}

.section-design {
	padding-top: 100px;
}

.hero {
	background:#f7f7f7;
	height: 1250px;
}

.hero .grid {
	position: relative;
	z-index: 1;
	padding-top: 80px;
}

.hero-discover {
	width: 100%;
	position:absolute;
	z-index:0;
	overflow:hidden;
	margin-top:-420px;
}

.hero-discover .hero-inner {
	background-repeat: no-repeat;
	background-image: url("https://web-archive.nli.org.il/National_Library/20160930123623oe_/https://devimages.apple.com.edgekey.net/discover/images/discover-hero-large.jpg");
	background-size: 1630px 1811px;
	background-position: center;
	position:relative;
	width: 1660px;
	height: 1811px;
	left: 50%;
	-webkit-transform: translateX(-40%);
	transform: translateX(-40%);
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
	.hero-discover .hero-inner {
		background-image: url("/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/discover-hero-large_2x.jpg");
	}
}

@media only screen and (max-width: 1023px) {
	.hero {
		height: 920px;
	}

	.hero .grid {
		padding-top: 50px;
	}


	.hero-discover {
		margin-top: -400px;
	}

	.hero-discover .hero-inner {
		background-image: url("/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/discover-hero-medium.jpg");
		background-size: 1400px 1556px;
		height: 1556px;
		width: 1400px;
		-webkit-transform: translateX(-38%);
		transform: translateX(-38%);
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 1023px) , only screen and (min-resolution: 1.5dppx) and (max-width: 1023px) , (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 1023px) , (min-resolution: 144dpi) and (max-width: 1023px) {
	.hero-discover .hero-inner {
		background-image: url("/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/discover-hero-medium_2x.jpg");
	}
}


@media only screen and (max-width: 767px) {
	.hero {
		height: auto;
	}

	.hero .grid {
		padding-top: 20px;
	}

	.hero-discover {
		position: relative;
		margin-top: -200px;
		height:550px;
	}

	.hero-discover .hero-inner {
		background-image: url("/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/discover-hero-small.jpg");
		background-size: 500px 509px;
		height: 555px;
		width: 500px;
		-webkit-transform: translate(-52%, -10px);
		transform: translate(-52%, -10px);
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 767px) , only screen and (min-resolution: 1.5dppx) and (max-width: 767px) , (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 767px) , (min-resolution: 144dpi) and (max-width: 767px) {
	.hero-discover .hero-inner {
		background-image: url("/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/discover-hero-small_2x.jpg");
	}
}



.hero-design {
	margin-left: auto;
	margin-right: auto;
	background-repeat: no-repeat;
	background-image: url("/National_Library/20160930123623oe_/https://developer.apple.com/discover/images/design_large.jpg");
	height: auto;
	width: 100%;
	max-width: 1700px;
	background-position: 50% 50%;
	background-size: 100% auto;
	padding-bottom: 50%;
	background-position: 50% 50%;
	background-size: 100% auto
}

.hero-develop {
	margin-left: auto;
	margin-right: auto;
	background-repeat: no-repeat;
	background-image: url("https://web-archive.nli.org.il/National_Library/20160930123623oe_/https://devimages.apple.com.edgekey.net/discover/images/develop_large.jpg");
	height: auto;
	width: 100%;
	max-width: 1700px;
	background-position: 50% 50%;
	background-size: 100% auto;
	padding-bottom: 50%;
	background-position: 50% 50%;
	background-size: 100% auto
}

.hero-distribute {
	margin-left: auto;
	margin-right: auto;
	background-repeat: no-repeat;
	background-image: url("https://web-archive.nli.org.il/National_Library/20160930123623oe_/https://devimages.apple.com.edgekey.net/discover/images/distribute_large.jpg");
	height: auto;
	width: 100%;
	max-width: 1700px;
	background-position: 50% 50%;
	background-size: 100% auto;
	padding-bottom: 50%;
	background-position: 50% 50%;
	background-size: 100% auto
}


.section-education-hero {
	background-repeat: no-repeat;
	background-image: url("https://web-archive.nli.org.il/National_Library/20160930123623oe_/https://devimages.apple.com.edgekey.net/discover/images/education_large.jpg");
	background-size: cover;
	background-position: center top;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
	.section-education-hero {
		background-image: url("https://web-archive.nli.org.il/National_Library/20160930123623oe_/https://devimages.apple.com.edgekey.net/discover/images/education_large_2x.jpg");
	}
}

@media only screen and (max-width: 767px) {
	.section-education-hero {
		min-height: 360px
	}
}

.section-enterprise-hero {
	background-repeat: no-repeat;
	background-image: url("https://web-archive.nli.org.il/National_Library/20160930123623oe_/https://devimages.apple.com.edgekey.net/discover/images/enterprise_large.jpg");
	background-size: cover;
	background-position: left top;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
	.section-enterprise-hero {
		background-image: url("https://web-archive.nli.org.il/National_Library/20160930123623oe_/https://devimages.apple.com.edgekey.net/discover/images/enterprise_large_2x.jpg");
	}
}

@media only screen and (max-width: 767px) {
	.section-enterprise-hero {
		min-height: 360px;
	}
}


/* Icons */

.icon-* {
	display:block;
	background-repeat: no-repeat;
}

.icon-program {
	width: 40px;
	height: 54px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
	background-image: url("https://web-archive.nli.org.il/National_Library/20160930123623oe_/https://devimages.apple.com.edgekey.net/discover/images/icon-program-dark.svg");
	background-size: 40px 54px;
}
