/* Subscribe form. Moved from jch-basics.css 2026-09-23. */

.site-branding .subscribe_to_mailing_list.button_mode {
	position: absolute;
	right: 0;
}

header .subscribe-top {
	display: none;
	padding: 1% 3% 3%;
	background-color: #fafafa;
	width: 40%;
	position: fixed;
	z-index: 1000;
	margin: -1px 30% 0;
	border: solid 1px #ccc;
	border-top: none;
}

.home .subscribe_to_mailing_list.button_mode #subscribe {
	position: relative;
}

header .subscribe_to_mailing_list.button_mode #subscribe input {
	margin-bottom: 6%;
	width: 100%;
}

header .subscribe_to_mailing_list.button_mode #subscribe input::placeholder {
	text-align: center;
	color: #888;
}

.site-branding .subscribe_link {
	padding: 0;
	float: none;
	margin-right: 3px;
	text-decoration: underline;
	color: #ff0;
	opacity: 1;
	letter-spacing: 0px;
}

.site-description .subscribe_link:hover {
	color: #000;
}

#subscribe h3 {
	text-align: center;
	margin: 8px 0 1.2em;
	text-transform: uppercase;
	font-size: 1.3em;
	line-height: 1;
	position: relative;
}

#subscribe h3 span {
	text-align: center;
	display: block;
	width: 100%;
	margin-bottom: .5em;
	line-height: 1.5em;
	font-weight: bold;
}

#subscribe h3 span.wider {
	opacity: 0;
	animation: in 1s ease-out forwards;
	animation-delay: .1s;
}

@keyframes in {
	0%   { letter-spacing: -6px; opacity: .2; }
	100% { letter-spacing: 6px;  opacity: 1; }
}

#subscribe a.close_this {
	text-align: right;
	font-size: inherit;
	padding: 0;
	margin: 0;
	position: absolute;
	top: 5px;
	right: 0;
	font-weight: bold;
}

@media screen and (min-width: 30em) {
	.site-branding .subscribe_link {
		float: right;
	}
}
