.row-flex {
	display: flex;
}
.section-in-content .row-flex {
	margin: 6em 0;
}
.column-flex-center {
	align-self: center;
}
.image-flex {
	margin: 0 auto;
}

.icon-arrowdowncircle::before,
.icon-arrowdowncircle::after {
	line-height: 1.2em;
}

.row-headline {
	margin-bottom: 4em;
}

.section-mark .row:not(:last-of-type),
.section-dads .row:not(:last-of-type) {
	margin-bottom: 4em;
}

.column-badges > figure,
.column-badges > figcaption {
	margin-left: 4em;
}

figcaption > span.typography-caption {
	display: block;
}

#overlay-content .agreement .form-box label {
	display: inline-block;
	font-size: 15px;
}

#overlay-content .button.button-secondary {
	background-color: #e3e3e3;
	background: -webkit-gradient(linear, left top, left bottom, from(white), to(#e3e3e3));
	background: linear-gradient(white, #e3e3e3);
	border-color: #d6d6d6;
	color: #999;
}

#overlay-content .form-box label input[type="checkbox"] {
	top: unset;
	margin-top: 5px;
	margin-bottom: 0;
}

#overlay-content .form-box label span {
	display: inline-block;
}

@media only screen and (max-width: 734px) {
	.row-flex {
		display: block;
	}
	.section-in-content .row-flex {
		margin: 3em 0;
	}
	.column-flex-center {
		float: none;
		padding: 1em 0;
	}
	.section-mark .image-flex,
	.section-in-content .image-flex {
		margin: 0;
	}
	.section-hero .column-flex-center {
		text-align: center;
	}
	.row-headline {
		margin-bottom: 0;
	}
	.section-mark .row:not(:last-of-type),
	.section-dads .row:not(:last-of-type) {
		margin-bottom: 1em;
	}
	.column-badges > figure,
	.column-badges > figcaption {
		margin-left: 0;
	}
}

/* ========== Images ========== */
.screen-hero {
	background-image: url("/licensing-trademarks/works-with-apple-health/images/screen-hero-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) {
	.screen-hero {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/screen-hero-large_2x.jpg");
	}
}

.screen-ios {
	background-image: url("/licensing-trademarks/works-with-apple-health/images/screen-ios-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) {
	.screen-ios {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/screen-ios-large_2x.jpg");
	}
}

.badge-image {
	margin-top: 3.25em;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
}

.badge-standard {
	width: 212px;
	height: 59px;
	background-image: url("/licensing-trademarks/works-with-apple-health/images/badge-standard.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min-resolution: 1.5dppx),
	only screen and (min-resolution: 144dpi) {
	.badge-standard {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/badge-standard_2x.png");
	}
}

.badge-french {
	width: 212px;
	height: 59px;
	background-image: url("/licensing-trademarks/works-with-apple-health/images/badge-french.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min-resolution: 1.5dppx),
	only screen and (min-resolution: 144dpi) {
	.badge-french {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/badge-french_2x.png");
	}
}

.badge-dark-bg {
	width: 213px;
	height: 86px;
	background-image: url("/licensing-trademarks/works-with-apple-health/images/badge-dark-bg.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min-resolution: 1.5dppx),
	only screen and (min-resolution: 144dpi) {
	.badge-dark-bg {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/badge-dark-bg_2x.png");
	}
}

.badge-light-bg {
	margin-top: 10px;
	width: 213px;
	height: 87px;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("/licensing-trademarks/works-with-apple-health/images/badge-light-bg.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min-resolution: 1.5dppx),
	only screen and (min-resolution: 144dpi) {
	.badge-light-bg {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/badge-light-bg_2x.png");
	}
}

.badge-clearspace {
	width: 273px;
	height: 68px;
	background-image: url("/licensing-trademarks/works-with-apple-health/images/badge-clearspace.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min-resolution: 1.5dppx),
	only screen and (min-resolution: 144dpi) {
	.badge-clearspace {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/badge-clearspace_2x.png");
	}
}

.badge-donts {
	margin-left: 4em;
	width: 176px;
	height: 456px;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("/licensing-trademarks/works-with-apple-health/images/badge-donts.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min-resolution: 1.5dppx),
	only screen and (min-resolution: 144dpi) {
	.badge-donts {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/badge-donts_2x.png");
	}
}

.example-image {
	width: 408px;
	border: 1px solid #dadada;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
}

.example-web {
	height: 423px;
	background-image: url("/licensing-trademarks/works-with-apple-health/images/example-web-large.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min-resolution: 1.5dppx),
	only screen and (min-resolution: 144dpi) {
	.example-web {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/example-web-large_2x.png");
	}
}

.example-social {
	height: 315px;
	background-image: url("/licensing-trademarks/works-with-apple-health/images/example-social-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) {
	.example-social {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/example-social-large_2x.jpg");
	}
}

.example-email {
	height: 442px;
	background-image: url("/licensing-trademarks/works-with-apple-health/images/example-email-large.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min-resolution: 1.5dppx),
	only screen and (min-resolution: 144dpi) {
	.example-email {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/example-email-large_2x.png");
	}
}

.screen-app-store-preview {
	background-image: url("/licensing-trademarks/works-with-apple-health/images/screen-app-store-preview-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) {
	.screen-app-store-preview {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/screen-app-store-preview-large_2x.jpg");
	}
}

@media only screen and (max-width: 1068px) {
	.badge-image {
		margin-top: 3em;
	}
	.badge-standard {
		margin-top: 5em;
	}
	.screen-ios {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/screen-ios-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) {
		.screen-ios {
			background-image: url("/licensing-trademarks/works-with-apple-health/images/screen-ios-medium_2x.jpg");
		}
	}
	.example-image {
		margin-top: 2em;
		width: 344px;
	}
	.example-web {
		height: 359px;
		background-image: url("/licensing-trademarks/works-with-apple-health/images/example-web-medium.png");
	}
	@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
		only screen and (min-resolution: 1.5dppx),
		only screen and (min-resolution: 144dpi) {
		.example-web {
			background-image: url("/licensing-trademarks/works-with-apple-health/images/example-web-medium_2x.png");
		}
	}
	.example-social {
		height: 267px;
		background-image: url("/licensing-trademarks/works-with-apple-health/images/example-social-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) {
		.example-social {
			background-image: url("/licensing-trademarks/works-with-apple-health/images/example-social-medium_2x.jpg");
		}
	}
	.example-email {
		height: 375px;
		background-image: url("/licensing-trademarks/works-with-apple-health/images/example-email-medium.png");
	}
	@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
		only screen and (min-resolution: 1.5dppx),
		only screen and (min-resolution: 144dpi) {
		.example-email {
			background-image: url("/licensing-trademarks/works-with-apple-health/images/example-email-medium_2x.png");
		}
	}
	.screen-app-store-preview {
		background-image: url("/licensing-trademarks/works-with-apple-health/images/screen-app-store-preview-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) {
		.screen-app-store-preview {
			background-image: url("/licensing-trademarks/works-with-apple-health/images/screen-app-store-preview-medium_2x.jpg");
		}
	}
}

@media only screen and (max-width: 734px) {
	.image-flex {
		margin-top: 1.5em;
	}
	.example-image {
		width: 320px;
	}
	.example-web {
		height: 332px;
		background-image: url("/licensing-trademarks/works-with-apple-health/images/example-web-small.png");
	}
	@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
		only screen and (min-resolution: 1.5dppx),
		only screen and (min-resolution: 144dpi) {
		.example-web {
			background-image: url("/licensing-trademarks/works-with-apple-health/images/example-web-small_2x.png");
		}
	}
	.example-social {
		height: 247px;
		background-image: url("/licensing-trademarks/works-with-apple-health/images/example-social-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) {
		.example-social {
			background-image: url("/licensing-trademarks/works-with-apple-health/images/example-social-small_2x.jpg");
		}
	}
	.example-email {
		height: 347px;
		background-image: url("/licensing-trademarks/works-with-apple-health/images/example-email-small.png");
	}
	@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
		only screen and (min-resolution: 1.5dppx),
		only screen and (min-resolution: 144dpi) {
		.example-email {
			background-image: url("/licensing-trademarks/works-with-apple-health/images/example-email-small_2x.png");
		}
	}
	.badge-donts {
		margin-left: 0;
	}
	.badge-image,
	.badge-standard {
		margin-top: 0;
	}
}

@media only screen and (max-width: 320px) {
	.lockup-hero {
		width: 280px;
		height: 178px;
	}
	.example-image {
		width: 280px;
	}
	.example-web {
		height: 290px;
	}
	.example-social {
		height: 214px;
	}
	.example-email {
		height: 304px;
	}
}

#main section.section {
	padding-top: 4em;
	padding-bottom: 4em;
}
#main section .section-content .row {
	margin-left: 0;
	margin-right: 0;
}
#main section .section-content .row > .column {
	padding: 0;
}

@media only screen and (max-width: 1068px) {
	#main section .section-content .row {
		margin-left: 0;
		margin-right: 0;
	}
	#main section .section-content .row > .column {
		padding: 0;
	}
}

@media only screen and (max-width: 734px) {
	#main section.section {
		padding-top: 2em;
		padding-bottom: 2em;
	}
	#main section .section-content .row {
		margin-left: 0;
		margin-right: 0;
	}
	#main section .section-content .row > .column {
		padding: 1em 0;
	}
}

#main section.section {
	padding-bottom: 0;
}
#main section.section.section-legal {
	padding-bottom: 4em;
}
#main section .section-content.divider-bottom {
	padding-bottom: 4em;
}
#main section.section-in-content .section-content.divider-bottom {
	padding-bottom: 0;
}

@media only screen and (max-width: 734px) {
	#main section.section {
		padding-bottom: 0;
	}
	#main section.section.section-legal {
		padding-bottom: 2em;
	}
	#main section .section-content.divider-bottom {
		padding-bottom: 2em;
	}
	#main section.section-in-content .section-content.divider-bottom {
		padding-bottom: 0;
	}
}

/* === DARK MODE === */
@media (prefers-color-scheme: dark) {
	html ody:not([data-color-scheme="light"]) .bg-gradient {
		background: linear-gradient(to bottom, var(--dark) 0%, var(--fill-gray-quaternary) 80%);
	}
}
