:root {
	--sk-cssgrid-column-gutter-inner: 3em;
}

@media only screen and (max-width: 1068px) {
	:root {
		--sk-cssgrid-column-gutter-inner: 3em;
	}
}

@media only screen and (max-width: 734px) {
	:root {
		--sk-cssgrid-column-gutter-inner: 24px;
	}
}

body[data-color-scheme="light"] .bg-alt {
	background-color: #f5f5f7;
}

html body[data-color-scheme="dark"] .bg-light.section-header {
	background-color: #f9f9f9 !important;
}

.row-download .icon-before::before {
	top: 1px !important;
}

hr {
	padding-bottom: 3em;
	margin-top: 3em;
}

.icon-blue {
	display: inline-block;
	min-width: 25px;
}

.section-content {
	padding-top: 72px;
	padding-bottom: 72px;
}

p.typography-subbody {
	color: #4d4d4d;
}

.theme-dark p.typography-subbody {
	color: #cccccc;
}

.typography-caption {
	color: #888888;
	font-size: 11px;
}

.thumbnail {
	width: 80px;
	height: 45px;
	margin-right: 24px;
	overflow: visible;
}

.thumbnail-label {
	display: block;
	margin-top: 0.5em;
	font-size: 14px;
	text-align: center;
}

.icon-blue {
	color: var(--color-figure-blue);
}

.download-text-link {
	color: black;
}

.theme-dark .download-text-link {
	color: white;
}

.theme-dark .download-text-description,
.download-text-description {
	color: #9b9b9b;
	width: 100%;
	margin-left: 25px;
}

.row-download {
	padding-bottom: 1em;
	padding-top: 1px;
}

.download-image {
	width: 100%;
	width: -moz-available;
	/* width: -webkit-fill-available;
	width: fill-available; */
	border-radius: 10px;
	margin-bottom: 20px;
	margin-top: 10px;
}

div.row-download a.list-icon-document {
	padding-left: 24px;
}

html header div.section-content .links a {
	display: flex;
	justify-content: center;
	flex-direction: column;
	color: black;
	text-align: center;
	margin: 0 1.5vw;
}

html body[data-color-scheme="dark"] header div.section-content .links a {
	color: white;
}

.download-grid {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 16px;
	row-gap: 24px;
	align-items: start;
}

.download-icon {
	justify-self: center;
}

.download-content {
	display: flex;
	flex-direction: column;
	/* gap: 8px; */
}

.image-sf-symbols {
	background-size: contain;
	background-repeat: no-repeat;
	min-height: 410px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: none;
	background-image: url('/proxy/123456/developer.apple.com/design/resources/images/SF-Symbols_2x.png?1');
}

body[data-color-scheme="dark"] .image-sf-symbols {
	background-image: url('/proxy/123456/developer.apple.com/design/resources/images/SF-Symbols-dark_2x.png?1');
}

@media only screen and (min-width: 736px) and (max-width: 1068px) {
	.image-sf-symbols {
		min-height: 210px;
	}
}

@media only screen and (max-width: 734px) {
	.image-sf-symbols {
		min-height: 290px;
	}
}

@media only screen and (max-width: 320px) {
	.image-sf-symbols {
		min-height: 280px;
	}
}

.platform-icon {
	margin: 0 auto 0.5em;
	width: 54px;
	height: 54px;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
}

.platform-icon-ios {
	background-image: url('/proxy/123456/developer.apple.com/assets/elements/icons/platforms/icon-ios-ipados.svg');
}

.platform-icon-macos {
	background-image: url('/proxy/123456/developer.apple.com/assets/elements/icons/platforms/icon-macos.svg');
}

.platform-icon-watchos {
	background-image: url('/proxy/123456/developer.apple.com/assets/elements/icons/platforms/icon-watchos.svg');
}

.platform-icon-tvos {
	background-image: url('/proxy/123456/developer.apple.com/assets/elements/icons/platforms/icon-tvos.svg');
}

.platform-icon-visionos {
	background-image: url('/proxy/123456/developer.apple.com/assets/elements/icons/platforms/icon-visionos.svg');
}

.platform-icon-fonts {
	background-image: url('/proxy/123456/developer.apple.com/design/resources/images/textformat.svg');
}

.platform-icon-symbols {
	background-image: url('/proxy/123456/developer.apple.com/design/resources/images/sfsymbolsicon.svg');
}

.platform-icon-tech {
	background-image: url('/proxy/123456/developer.apple.com/design/resources/images/gear.svg');
}

.platform-icon-marketing {
	background-image: url('/proxy/123456/developer.apple.com/design/resources/images/marketingimageryicon.svg');
}

body[data-color-scheme="dark"] .platform-icon {
	filter: invert(77%) sepia(9%) saturate(0%) hue-rotate(264deg) brightness(102%) contrast(91%);
}
body[data-color-scheme="light"] .platform-icon {
	filter: invert(29%) sepia(0%) saturate(132%) hue-rotate(163deg) brightness(104%) contrast(91%);
}

.chapternav {
	backdrop-filter: unset !important;
	background: unset !important;
}

body[data-color-scheme="light"] .chapternav-label {
	color: #2d2d2d;
}

body[data-color-scheme="dark"] .chapternav-label {
	color: #e9e9e9;
}

.chapternav-link:hover {
	opacity: 0.65;
}
