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

.hero {
  overflow: hidden;
}

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

p {
  max-width: 670px;
}

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

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

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

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

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

h3.inline-headline {
  font-size: 18px;
  line-height: 1.45em;
  font-weight: 700;
  display: inline;
}

.inline-headline + p {
  display: inline;
}

.inline-headline + p + * {
  margin-top: 1em;
}

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

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

.section-two-up .row, .section-two-up-light .row {
  width: 100%;
  display: table;
}

@media only screen and (max-width: 735px) {
  .section-two-up .row, .section-two-up-light .row {
    display: inline-block;
    width: 100%;
  }
}

.section-two-up .column, .section-two-up-light .column {
  background-color: #f2f2f2;
  padding: 0;
  border-left: 6px solid #ffffff;
  border-right: 6px solid #ffffff;
  border-bottom: 12px solid #ffffff;
  display: table-cell;
  vertical-align: middle;
  padding-top: 10%;
  padding-bottom: 10%;
  float: none;
}

@media only screen and (max-width: 735px) {
  .section-two-up .column, .section-two-up-light .column {
    display: block;
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 22px;
    padding-right: 22px;
    border-left: none;
    border-right: none;
  }
  /* .section-two-up .row-related .column {
		border: none;
	} */
}

.section-two-up-light {
  padding-left: 0;
  padding-right: 0;
  margin-top: 1%;
}

.section-two-up-light .copy-wrapper {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 1068px) {
  .section-two-up-light .copy-wrapper {
    width: 250px;
  }
}

.section-two-up-light .column {
  background: #fafafa;
  vertical-align: top;
  overflow: hidden;
  padding-top: 5%;
  padding-bottom: 5%;
}

.section-two-up-light img {
  margin-top: 40px;
}

.section-two-up-light .section-enterprise img {
  margin-top: 50px;
}

.section-two-up-light .section-mac-apps .copy-wrapper {
  max-width: 450px;
}

@media only screen and (max-width: 1068px) {
  .section-two-up-light .section-mac-apps .copy-wrapper {
    width: 300px;
  }
}

.section-enterprise .align-vertical {
  margin-top: 7em;
}

@media only screen and (max-width: 735px) {
  .section-enterprise .align-vertical {
    margin-top: 0;
  }
}

/* Heroes */
.hero {
  background-color: #fafafa;
}

.distribute-hero {
  display: block;
  width: 100%;
  height: 319px;
  background-repeat: no-repeat;
  background-size: 2269px 319px;
  background-image: url('/National_Library/oe_/https://developer.apple.com/distribute/images/apps_large.jpg');
  background-position: center bottom;
  background-color: #fafafa;
}

@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) {
  .distribute-hero {
    background-image: url('/National_Library/oe_/https://developer.apple.com/distribute/images/apps_large_2x.jpg');
  }
}

@media only screen and (max-width: 1068px) {
  .distribute-hero {
    height: 223px;
    background-size: 1068px 223px;
    background-image: url('/National_Library/oe_/https://developer.apple.com/distribute/images/apps_medium.jpg');
  }
}

@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) {
  .distribute-hero {
    background-image: url('/National_Library/oe_/https://developer.apple.com/distribute/images/apps_medium_2x.jpg');
  }
}

@media only screen and (max-width: 735px) {
  .distribute-hero {
    height: 156px;
    background-size: 736px 156px;
    background-image: url('/National_Library/oe_/https://developer.apple.com/distribute/images/apps_small.jpg');
  }
}

@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) {
  .distribute-hero {
    background-image: url('/National_Library/oe_/https://developer.apple.com/distribute/images/apps_small_2x.jpg');
  }
}


.image-mas {
  background-image: url('/National_Library/oe_/https://developer.apple.com/app-store/mac/images/product-page_large.jpg');
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
  .image-mas {
    background-image: url('/National_Library/oe_/https://developer.apple.com/app-store/mac/images/product-page_large_2x.jpg');
  }
}
@media only screen and (max-width: 1068px) {
  .image-mas {
    background-image: url('/National_Library/oe_/https://developer.apple.com/app-store/mac/images/product-page_medium.jpg');
  }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
    .image-mas {
      background-image: url('/National_Library/oe_/https://developer.apple.com/app-store/mac/images/product-page_medium_2x.jpg');
    }
  }
}
@media only screen and (max-width: 735px) {
  .image-mas {
    background-image: url('/National_Library/oe_/https://developer.apple.com/app-store/mac/images/product-page_small.jpg');
  }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
    .image-mas {
      background-image: url('/National_Library/oe_/https://developer.apple.com/app-store/mac/images/product-page_small_2x.jpg');
    }
  }
}


.image-active-devices {
  background-image: url('/National_Library/oe_/https://developer.apple.com/distribute/images/active-devices-large.jpg');
  background-repeat: no-repeat;
  background-size: 1340px 794px;
  background-position: center center;
  width: 100%;
  height: 794px;
}

@media only screen and (max-width: 1068px) {
  .image-active-devices {
    background-image: url('/National_Library/oe_/https://developer.apple.com/distribute/images/active-devices-large.jpg');
    background-size: 1340px 794px;
    height: 794px;
  }
}

@media only screen and (max-width: 735px) {
  .image-active-devices {
    background-image: url('/National_Library/oe_/https://developer.apple.com/distribute/images/active-devices-large.jpg');
    background-size: 500px 295px;
    height: 295px;
  }
}

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

.icon-distribute-hero {
  margin: 0 auto;
  width: 128px;
  height: 128px;
  background-image: url('/National_Library/oe_/https://developer.apple.com/distribute/images/wwdr-distribute-128x128.svg');
  background-size: 128px 128px;
}

.icon-testflight {
  float: left;
  margin: 0 24px 24px 0;
  width: 64px;
  height: 64px;
  background-image: url('/National_Library/oe_/https://developer.apple.com/assets/elements/icons/testflight/testflight-64x64.png');
  background-size: 64px 64px;
}

@media only screen and (max-width: 735px) {
  .icon-testflight {
    float: none;
  }
}

/* .icon-safari {
	float: left;
	margin: 0 24px 24px 0;
	width: 64px;
	height: 64px;
	background-image: url('/National_Library/oe_/https://developer.apple.com/assets/elements/icons/safari/safari-96x96.png');
	background-size: 64px 64px;
} */
