#teahouseheader .main {
	border: 3px solid #758c00;
	background-color: #e1e6db;
	border-radius:1em;
	padding: 1em;
}
#teahouseheader .host {
	min-width: 170px;
	max-width: 230px;
	margin-top: 2em;
	clear: right;
}
#teahouseheader .action {
	padding: 5px;
	display: inline-block;
}
#teahouseheader .mainaction {
	font-size: 2em;
	display: block;
}
#teahouseheader .announcements {
	text-align: center;
	color: #525563;
	font-size: 1.2em;
	padding: .5em;
	border: 3px double #CCC;
}
#teahouseheader .footer {
	border: 1px solid #a9a9a9;
	background: #fff;
	font-size:85%;
	width:auto;
	margin-left:auto;
	margin-right:auto;
}
.thh-toc {
	background: none;
	width: 30%;
	min-width: 20em;
	clear: right;
	float: right;
	margin-left: 5px;
	margin-top: 5px;
	overflow: auto;
}
.thh-toc .toctext {
	/* Fix horizontal overflow on narrow viewports */
	word-break: break-word;
}
@media (max-width: 720px) {
	#teahouseheader .mainaction, #teahouseheader .action {
		width: 100%;
		display: block;
		box-sizing: border-box;
	}
	#teahouseheader .action .mw-ui-button {
		width: 100%;
		max-width: 30em;
	}
	#teahouseheader .mainaction .mw-ui-button {
		max-width: 15em;
	}
}
@media (max-width: 1200px) {
	#teahouseheader .nosmall {
		display: none !important;
	}
}
@media (min-width: 1201px) {
	#teahouseheader .mainaction {
		margin-top: 2em;
	}
}
@media (min-width: 1600px) {
	#teahouseheader .thh-smallscreenclear {
		display: none;
	}
}