* {
  margin: 0;
  padding: 0;
}
html, body {
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
	height: 100%;
}
h1 {
	font-size: 36px;
	font-weight: bold;
	margin: 0;
}
h2 {
	margin-top: 0;
}
li {
	list-style-type: none;
	margin: 5px;
	height: 40px;
}
button {
	display: inline-block;
	font-family: arial,sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: rgb(68,68,68);
	text-decoration: none;
	user-select: none;
	padding: .2em 1.2em;
	outline: none;
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 2px;
	background: rgb(245,245,245) linear-gradient(#f4f4f4, #f1f1f1);
	transition: all .218s ease 0s;
}
button:hover {
	color: rgb(24,24,24);
	border: 1px solid rgb(198,198,198);
	background: #f7f7f7 linear-gradient(#f7f7f7, #f1f1f1);
	box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
button:active {
	color: rgb(51,51,51);
	border: 1px solid rgb(204,204,204);
	background: rgb(238,238,238) linear-gradient(rgb(238,238,238), rgb(224,224,224));
	box-shadow: 0 1px 2px rgba(0,0,0,.1) inset;
}

.right {
	float: right;
	padding-left: 10px;
}
.left {
	float: left;
	padding-right: 10px;
}

.file-list > * {
	vertical-align: middle;
	line-height: normal;
}
.folder-list > * {
	vertical-align: middle;
	line-height: normal;
}
.folder {
	min-width: 7%;
	text-align: center;
	display: inline-block;
	border: solid black 1px;
	padding: 5px;
	text-decoration: none;
	color: #666;
}
.folder:hover {
	min-width: 7%;
	text-align: center;
	display: inline-block;
	border: solid black 1px;
	padding: 5px;
	text-decoration: none;
	color: #666;
	background-color: rgb(204,204,204);
}
.folder-year {
	padding-bottom: 10px;
}
.pref-edit {
	display: block;
	float: right;
	height: 20px;
	padding: 4px 6px;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 20px;
	color: #666;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	width: 70%;
	margin: 4px;
}
.login {
	display: block;
	height: 20px;
	padding: 4px 6px;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 20px;
	color: #666;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	width: 86%;
	margin: 4px;
}
.parent {
	position: relative;
	padding: 10% 0;
}
.child {
	text-align: center;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 20%;
	height: 30%;
	margin: auto;
	padding: 10% 0;
}

.pref-list:nth-child(odd) {
	background: #f0f0f0; /* Цвет фона */
}
.pref {
	padding: 11px;
	float: left;
	width: 23%;
}
.head { /* top */
	background: #333;
	padding: 10px;
	color: #fff;
}
.menu { /* Left col */
	float: left;
	border: 0;
	width: 200px;
	padding: 5px;
	margin: 10px 10px 20px 5px;
}
.menu li {
	padding: 2px;
	list-style-type: none;
	height: 20px;
}
.menu a {
	display: block;
	padding: 2px;
	margin: 0px;
	font-size: 0.9em;
	text-decoration: none;
	color: #333;
}
.menu a:hover { 
	background: #faf3d2;
	border: 0px dashed #634f36;
	margin: 0;
}
.content { /* Right col */
	margin: 10px 5px 20px 225px;
	padding: 5px;
	border: 0px;
}
.cont {
	display: table-row;
	height: 100%;
	width: 100%;
}
.line {
	border-bottom: 1px groove #333;
}
.wrapper {
	display: table;
	height: 100%;
	width: 100%;
}
.foot {
	background: #333;
	padding: 5px;
	color: #fff;
	clear: both;
	flex: 0 0 auto;
}
.center { 
	text-align: center; 
}

/* Block and Spinner */
#block-div {
	position: fixed;
    width: 100%;
    height: 100%;
    opacity: .5;
	z-index: 1000;
	display: none;
	background-color: #eee;
}
@keyframes spinner {
	to { transform: rotate(360deg); }
}
.spinner:before {
	content: '';
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -10px;
	margin-left: -10px;
	border-radius: 50%;
	border: 2px solid #ccc;
	border-top-color: #333;
	animation: spinner .6s linear infinite;
}