/* Template specifics */
body.white #content { padding: 0 50px; }
body.white header.title-intro p.intro { margin:5px 74px 0; }
body.white #content ul.circle li { padding-bottom:0.8em; }
body.white section.layout-2c .column.first { width:650px; }
body.white section.layout-2c .column.last { width:200px; }


/* Overwritting tamplate.css overline tabs layout */
body.white section.layout-tabs .tab-wrapper .tabs .column a {padding: 7px 2px 19px;}


/* Orange header */
.swift-header-container { position: relative; height: 204px; background-color: #FB9C44; background-image: linear-gradient(to bottom, #FB9C44, #FC4831); margin: 0px !important; padding: 0px !important; text-align: center; min-width: 980px;
}
.swift-header-container p { color: white; }
.swift-header { background: url(/web/20150315012109im_/https://developer.apple.com/swift/images/swift-logo-top.png) no-repeat 0 5px;
	width: 613px; height: 204px; margin: 0px auto; background-size: 613px 160px;}

h1.title {
	text-indent: -9999px;
	background: url(https://web.archive.org/web/20150315012109im_/https://devimages.apple.com.edgekey.net/swift/images/swift-title.png) no-repeat 0 0;
	width: 800px;
	height: 60px;
	background-size: 800px 60px;
	margin: 0 auto 10px;
}

/* Swift Blog typographic specifications */
body.swift-blog { font-size: 1em; }
body.swift-blog section p { line-height: 1.75em; margin-bottom: 1.5em; }
body.swift-blog .layout-tabs { font-size: 14px; }

.article h2 .menlo { font-family: menlo, monospace; -webkit-font-smoothing: auto; white-space: nowrap; letter-spacing: -1px; }
.article h2 .menlo:not(:hover) { color: #666; }
.article h2 a:not(:hover) { color: inherit; }
.article h3 {font-size:1.3em !important; line-height: 1.75em !important; font-weight: normal !important; padding-bottom: 0px !important; }
.article ul.links { padding-bottom: 0px; margin-bottom: 0px; }
.article ul:not(.links) { list-style: disc outside; margin-bottom: 1.5em; }
.article ul:not(.links) li { margin-left: 1.4em; padding-left: 4px; line-height: 1.75em; margin-bottom: 1em; word-spacing: -1px; }
.article ul.numbered { list-style: decimal outside; }
.article ul.numbered li { margin-left: 1.6em; padding-left: 0; }
.article p + ul:not(.links) { margin-top: -.5em; }
.article p + ul.tight { margin-top: -1em; }
.article p + ul.tight li { margin-bottom: .5em; }
.article p + h3, .article pre + h3, .article ul + h3 { margin-top: 2em; }
.article p.update { background-color: #fffff4; border: 1px solid #dbd5ae; color: black; padding: 20px; }
.article p.note { font-size: inherit; }
.article p:last-child { margin-bottom: 0; }
.article > a.arrow { display: inline-block; margin-top: 2em; }
.article video { width:100%; }


/* Article separation */
.blog-articles { padding: 0 40px; }
.article-divider { border-top: 1px solid #eee; }
.article-divider .article-date { display: none; }
.day-divider { border-top: 1px solid #FA6C3F !important; }
.rss { float: right; position: relative; top: 3.4em; z-index: 9; }
.imagereplace { font: 0/0 a; color: transparent !important; }
.padding-left-0 { padding-left: 0px !important; }


/* Code typographic specifications */
.article .keyword { color: #000; padding: 3px 8px; font: 14px menlo, monospace; -webkit-font-smoothing: auto; white-space: nowrap; border: 1px solid #e5e5e5; background-color: #f7f7f7;}
.article pre { margin-bottom: 1.5rem; padding: 20px 30px 20px; white-space: pre; -webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0); overflow-x: auto; -webkit-overflow-scrolling: touch; word-wrap: normal; -moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; -ms-tab-size: 4; tab-size: 4; background-color: #F9FAFA; }
.article pre code { font: 14px/1.8em menlo, monospace; color: #000; -webkit-font-smoothing: auto; white-space: inherit; }
pre.bordeless { white-space: pre; overflow: hidden; word-wrap: normal; -moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; -ms-tab-size: 4; tab-size: 4; background: none; border: none; padding: 0 0 0 5px; }
pre.bordeless code { font: 15px/1.8em menlo, monospace; color: #000; -webkit-font-smoothing: auto; white-space: inherit; }
pre code .title 		{ color: #5C2699; }
pre code .string 		{ color: #c41a16; }
pre code .number 		{ color: #1c00cf; }
pre code .comment 		{ color: #007400; }
pre code .method 		{ color: #2E0D6E; }
pre code .preprocessor  { color: #643820; }
pre code .key 			{ color: #AA0C91; }
pre code .pointer 		{ color: #3F6E74; }
pre code .enum 			{ color: #26474B; }
pre code .console 			{ color: #808080; }
pre code .output 			{ color: #17B5B2; }
pre code .cursor 			{ background-color: #6D6D6D; }



@media all and (min-device-width: 320px) and (max-device-width: 480px) {


	body.responsify h1.title {text-indent: 0px; background: none; width: auto; height:auto;}

	body.responsify .swift-header-container {height: 95px !important; min-width: 320px;}
	body.responsify .swift-header {background: url(/web/20150315012109im_/https://developer.apple.com/swift/images/swift-logo-mobile.png) no-repeat 0 0; width: 253px; height: 90px; margin: 0px auto; background-size:253px 90px;}

	body.responsify .blog-articles {padding: 0 !important;}
	body.responsify .article .keyword { font: 13px/1.8em menlo, monospace; }
	body.responsify pre.bordeless code { font: 10px/0.625em menlo, monospace;}

	body.responsify .article pre { width: 100%; padding: 30px 20px 30px 20px; margin-left: -20px; border-left: 0; border-right: 0px; -moz-tab-size: 2; -o-tab-size: 2; -webkit-tab-size: 2; -ms-tab-size: 2; tab-size: 2; }

	/* Tighten up article title to avoid widows*/
	body.responsify #article-4 h2,
	body.responsify #article-10 h2 { letter-spacing: -.3px; }

	/* Revese tab-size shirking when there are inline comments in code blocks */
	body.responsify #article-10 pre { -moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; -ms-tab-size: 4; tab-size: 4; }
}

@media all and (min-device-width: 320px) and (max-device-width: 480px) {
body.responsify section.layout-tabs {width: 110%; margin: 1em -5% !important;}
body.responsify .tabs {width:100%;}
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (min-device-pixel-ratio:1.5),
only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio:1.5) {
	body.responsify .swift-header {background: url(/web/20150315012109im_/https://developer.apple.com/swift/images/swift-logo-mobile_2x.png) no-repeat 0 0; background-size:253px 90px;}
}

/*
     FILE ARCHIVED ON 01:21:09 Mar 15, 2015 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 00:06:21 Feb 21, 2026.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 0.925
  exclusion.robots: 0.074
  exclusion.robots.policy: 0.058
  esindex: 0.015
  cdx.remote: 23.782
  LoadShardBlock: 320.97 (6)
  PetaboxLoader3.datanode: 354.583 (8)
  PetaboxLoader3.resolve: 139.267 (3)
  load_resource: 249.999 (2)
*/