.sticky {
  background-color: #FB9C44;
  background-image: linear-gradient(to left, #FB9C44, #FC4831);
}

.swift-hero-image {
  background-repeat:no-repeat;
  background-image:url('/National_Library/20161130034600oe_/http://developer.apple.com/swift/images/swift-screen-hero.jpg');
  background-size:984px 563px;
  width:984px;
  height:563px;
  margin-left:-20px;
  margin-bottom:48px;
}

.subnav {border-bottom: none;}
.subnav .sub-title h2 a {color:#fff;}
.subnav ul li a {color:#fff;}
.subnav ul li a.active {color:#fff; font-weight:700;}

.orange-cover {
  background-color: #FB9C44;
  background-image: linear-gradient(to left, #FB9C44, #FC4831);
  width:100%;
  height:46px;
  margin-top:-46px;
}

.imagereplace { font: 0/0 a; color: transparent !important; }
.day-divider { border-top: 1px solid #FA6C3F !important; }
.rss { position: relative; top:2.5em; }
p.update { border: 1px solid #DDD8BB;
  background-color: #FEFEEE;
	margin-bottom: 1.5em;
  padding: 1.5em 2em 1.5em 2em;
	border-radius: 4px;	}
h2 .menlo,
h3 .menlo { font-family: menlo, monospace; font-size:0.84em; -webkit-font-smoothing: auto; white-space: nowrap; letter-spacing: -1px; }
h2 .menlo:not(:hover),
h3 .menlo { color: #666; }
h2 a:not(:hover) { color: inherit; }
pre code .output 			{ color: #17B5B2; }
pre code .console 			{ color: #808080; }
pre code .cursor 			{ background-color: #6D6D6D; }
.article ul.links { padding-bottom: 0px; margin-bottom: 0px; }
.article video {width:100%;}

table {
  margin: 3em 0;
  width: 100%;
}

thead tr {
  border-bottom: 1px solid #333;
}

thead tr th {
  font-weight: 700;
}

tbody tr {
  border-bottom: 1px solid #e3e3e3;
}
@media all and (min-width: 768px) and (max-width:1023px) {
  .swift-hero-image {
    background-image:url('/National_Library/20161130034600oe_/http://developer.apple.com/swift/images/swift-screen-hero-medium.jpg');
    background-size:700px 401px;
    width:700px;
    height:401px;
    margin-left:auto;
    margin-right:auto;
  }

	.article img {
		width:100%;
		height:auto;
	}

  .scale-medium {
    width:100%;
    height:auto;
  }
}

@media all and (max-width: 767px) {
  .sticky .subnav {border-bottom:none;}

  .swift-hero-image {
    background-image:url('/National_Library/20161130034600oe_/http://developer.apple.com/swift/images/swift-screen-hero-small.jpg');
    background-size:300px 172px;
    width:300px;
    height:172px;
    margin-left:auto;
    margin-right:auto;
  }

  .subnav ul li a {color:#333;}
  .subnav ul li a.active {color:#999; font-weight:400;}

	.hide-small {
		display:none;
	}
	.article img {
		width:100%;
		height:auto;
	}

  [class*='col-']:not(:first-of-type) {
    padding-top: 0;
  }

  [class*='col-']:not(:last-of-type) {
    padding-bottom: 0;
  }
}

@media only screen and (max-width: 767px) and (min-device-pixel-ratio:1.5),
only screen and (max-width: 767px) and (-webkit-min-device-pixel-ratio:1.5) {
	body.responsify .swift-header {background: url(/National_Library/20161130034600oe_/http://developer.apple.com/swift/images/swift-logo-mobile_2x.png) no-repeat 0 0; background-size:253px 90px;}
}
