h1, .h1, div.h1
{
	font-weight: normal;
	font-family: var(--font3);
	font-size: var(--FontSizeH1, 230%);
	padding: 0;
	margin: 0 0 0.9em 0;
	color: var(--H1Color, #000000);
}
h1 > a, .h1 > a { color: inherit; }
h2
{
	font-size: 150%;
	font-weight: 500;
	margin: 1.2em 0;
}
h3
{
	display: block;
	font-size: 1.17em;
	font-weight: bold;
}

/* Theme header */
.theme-header
{
	font-family: var(--font4);
	font-size: 150%;
	font-weight: 700;
	position: relative;
	box-sizing: border-box;
	margin-bottom: 15px;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	color: inherit;
	text-decoration: none;
}
.theme-header > a { text-decoration: none; }
.theme-header a:not(.theme):not(:hover) { color: inherit; }
.theme-header .header
{
	display: inline-block;
	text-decoration: none;
	transition: color 0.1s;
}
.theme-header-all
{
	display: block;
	text-transform: none;
	font-size: 75%;
	font-weight: normal;
	color: #333;
}
.theme-header-all a { text-decoration: none; }
.theme-header .num-all {}
.theme-header .num-all:before { content: '('; }
.theme-header .num-all:after { content: ')'; }
.aside .theme-header-all { display: none; }
.theme-header.backed
{
	background: #f0f0f0;
	padding: 10px 20px;
	font-size: 180%;
}

.theme-header.desktop-hidden { display: none }

.theme-header.noticed
{
	margin-bottom: 30px;
}
.theme-header-notice
{
	font-weight: 400;
	line-height: 1.5;
	/*max-width: 80%;*/
	color: #1d1d1d;
	margin-top: 20px;
	margin-bottom: 40px;
}
.theme-header-notice.centered
{
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.theme-header.backed + .theme-header-notice
{
	margin-left: 20px;
	margin-right: 20px;
}

.thin
{
	font-weight: 300;
}

@media (max-width: 799px)
{
	.adaptive .theme-header
	{
	    font-size: 26px;
	    line-height: 45px;
	    margin-bottom: 15px;
	}
	.adaptive .theme-header-notice
	{
	    font-size: 14px;
	    margin-bottom: 15px;
		max-width: none;
	}

}

@media screen and (max-width: 599px)
{
	.adaptive .theme-header
	{
		flex-flow: column nowrap;
		justify-content: flex-start;
		text-align: center;
	}
	.adaptive .theme-header > * + *
	{
		margin-top: 10px;
	}
	.adaptive .theme-header-all
	{
		display: none;
	}
}
