@viewport {
	width: device-width;
	zoom: 1;
}

body {
	min-width: 320px;
	font-size: 12px;	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	margin: 0;
}
h1 {
	margin: 0 0 16px;	padding: 16px 0 8px;
	border-bottom: dotted 1px #bdbabc;
	background: linear-gradient(#fff 33%, #f5f2f3);
	overflow: auto;
	text-align: center;
	font-size: 32px;
	text-shadow: 0 2px 0 #fff, 0 0 4px #bdbabc;
}
section {
	margin: 0 24px;
}
section>h2 {
	margin: 8px 0;
	padding: 0 16px;
	border-bottom: dotted 1px #a00020;
	font-size: 24px;
	color: #500010;
	transition: 0.3s;
}
section.closed>h2 {
	background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0));
	cursor: pointer;
}
section.closed>h2:hover {
	margin: 8px 0 16px;
	background: linear-gradient(rgba(0,0,0,0), rgba(160,0,32,0.05));
}
section.open>h2::after,
section.closed>h2::after {
	width: 20px;
	height: 20px;
	border: solid 1px;
	border-radius: 50%;
	float: right;
	text-align: center;
	line-height: 18px;
}
section.open>h2:hover::after,
section.closed>h2::after {
	content: '-';
}
section.open>h2::after,
section.closed>h2:hover::after {
	content: '+';
}
section>ul {
	padding: 0;
}
section.closed>ul {
	display: none;
}
section>ul>li {
	/*max-width: 176px;*/
	margin: 8px;
	display: inline-block;
	border-radius: 4px;
	box-shadow: 0 2px 8px #ddd;
	background: #fff;
	overflow: hidden;
	vertical-align: top;
	text-align: center;
	transition: 0.3s;
}
section>ul>li>a {
	display: block;
	padding: 8px;
	text-decoration: none;
	color: #000;
}
section>ul>li>a:hover{
	background: #d5e5e3;
	border-radius: 4px;
}
section>ul>li img {
	max-width: 160px;
	background : #ddd url("shared/checker.png") fixed;
	display: block;
	border-radius: 2px;
	font-style: italic;
	color: #88f;
	transition: 200ms;
}
fieldset {
	width: 400px;
	padding: 0 0 4px;
	border: solid 1px #eee;
	border-radius: 4px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 0 16px #eee;
}
label {
	width: 96px;	height: 48px;
	padding: 10px 24px 4px 0;
	border-radius: 4px 0 0 4px;
	position: absolute;
	background: #606060;
	text-align: right;
	color: #fff;
}
label:hover {
	background: #a00020;
}
input, select {
	width: 256px;
	margin: 4px 0 0 128px;
	display: block;

}
.log, .warning, .error {
	padding: 8px 16px;
	border-radius: 4px;
	box-shadow: 0 0 8px #bbb;
	color: #fff;
}
.log {
	background: #7c1;
}
.warning {
	background: #f92;
}
.error {
	background: #d00;
}
#message {
	min-height: 48px;
	padding: 8px 8px 8px 80px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-radius: 4px;
	background: #48e url("message.svg") 8px center no-repeat;
	color: #fff;
	cursor: pointer;
}
#message:hover {
	opacity: 0.2;
}
footer {
	text-align: center;
}
@media screen and (max-width: 800px) {
	section>ul {
		text-align: center;
	}
}
@media screen and (max-width: 560px) {
	section {
		margin: 0 12px;
	}
	section>h2 {
		font-size: 18px;
	}
	section>ul>li {
		margin: 4px;
	}
	section>ul>li img {
	max-width: 120px;
	}
}