/* Local Overrides */

.custom-color {
	color: #06c;
}

/* Hero */

.section-hero .section-header-headline {
	padding-left: 0px;
	padding-right: 0px;
}

.section-hero .section-header-headline .custom_header-headline {
	white-space: nowrap;
}

@media only screen and (max-width: 734px) {
	.section-hero .section-header-headline .custom_header-headline {
		white-space: wrap;
	}
}

@media only screen and (min-width: 1069px) and (min-height: 901px) {
	.section-hero .section-header {
		top: 70%;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) and (min-height: 901px) {
	.section-hero .section-header {
		top: 55%;
	}
}

/* Hearing Protection */
@media only screen and (max-width: 400px) {
	.text-item-copy {
		width: 70%;
	}
}

/* hearing-test */

.xs-show {
	display: none;
}

.section-hero .section-header-subcopy.hearing-avail-2 {
	width: 100%;
}

.section-hero .section-header-subcopy-container .hearing-avail-2 {
	width: 100%;
}

/* hearing-test - spacing */
/* Large */
.section-hearing-test {
	padding-top: calc(130px + var(--film-height));
}
html.mq-large-up-shorter .section-hearing-test {
	padding-top: calc(575px + var(--film-height));
}

/* Medium */
@media (max-width: 1068px) {
    .section-hearing-test {
        padding-top: calc(278px + var(--film-height));
    }
}
@media (min-width: 735px) and (max-width: 1068px) and (max-height: 900px) {
    html.enhanced.no-mq-medium-short .section-hearing-test.hearing-avail-2 {
        padding-top: calc(368px + var(--film-height));
    }
}

/* Small */
@media (max-width: 734px) {
    .section-hearing-test {
        padding-top: calc(227px + var(--film-height));
    }
}

@media only screen and (min-width: 454px) and (max-width: 480px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(526px + var(--film-height));
    }
}
@media  only screen and (min-width: 450px) and (max-width: 453px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(474px + var(--film-height));
    }
}
@media  only screen and (min-width: 436px) and (max-width: 449px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(502px + var(--film-height));
    }
}
@media  only screen and (min-width: 415px) and (max-width: 435px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(475px + var(--film-height));
    }
}
@media  only screen and (min-width: 410px) and (max-width: 414px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(453px + var(--film-height));
    }
}
@media  only screen and (min-width: 391px) and (max-width: 409px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(481px + var(--film-height));
    }
}
@media  only screen and (min-width: 388px) and (max-width: 390px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(503px + var(--film-height));
    }
}
@media  only screen and (min-width: 375px) and (max-width: 387px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(527px + var(--film-height));
    }
}
@media  only screen and (min-width: 361px) and (max-width: 374px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(497px + var(--film-height));
    }
}
@media  only screen and (min-width: 346px) and (max-width: 360px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(548px + var(--film-height));
    }
}
@media  only screen and (min-width: 344px) and (max-width: 345px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(577px + var(--film-height));
    }
}
@media  only screen and (min-width: 329px) and (max-width: 343px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(548px + var(--film-height));
    }
}
@media  only screen and (min-width: 324px) and (max-width: 328px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(570px + var(--film-height));
    }
}
@media  only screen and (min-width: 322px) and (max-width: 323px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(598px + var(--film-height));
    }
}
@media  only screen and (min-width: 320px) and (max-width: 321px) {
    .section-hearing-test.hearing-avail-2 {
        padding-top: calc(627px + var(--film-height));
    }
}



@media only screen and (max-width: 374px) {
	.section-hearing-test.hearing-avail-2 .section-header {
		margin-top: 30px;
	}
	.xs-show {
		display: block;
	}
}

/* film */
.section-hero:has(.film-container) ~ .section-hearing-test {
	--film-height: 616px;
}

@media only screen and (max-width: 1068px) {
	.section-hero:has(.film-container) ~ .section-hearing-test {
		--film-height: 438px;
	}
}

@media only screen and (max-width: 734px) {
	.section-hero:has(.film-container) ~ .section-hearing-test {
		--film-height: 408px;
	}
}
@media only screen and (max-width: 445px) {
	.section-hero:has(.film-container) ~ .section-hearing-test {
		--film-height: 358px;
	}
}
@media only screen and (max-width: 374px) {
	.section-hero:has(.film-container) ~ .section-hearing-test {
		--film-height: 521px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) and (max-height: 500px) {
	html.enhanced.mq-medium-short .section-hearing-test.hearing-avail-2 {
		padding-top: calc(570px + var(--film-height)) !important;
	}

	#heartstrings-film {
		margin-bottom: 45px !important;
	}
}

/* Loud Noise Animation Copy */

@media only screen and (min-width: 456px) {
	.x-small {
		display: none;
	}
}

@media only screen and (max-width: 455px) {
	.section-hearing-protection .grid-item-decibels .text-item,
	.section-hearing-protection .grid-item-loud .text-item {
		display: block;
		padding-right: 10px;
	}
}
