/* SFBG */

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

html {
	color: #000;
	background: #f0f0f0;
	font-family: Verdana, sans-serif;
	font-size: 12px;
}

body {
	margin: 10px auto;
	max-width: 750px;
	background: #fff;
	border: 1px solid #ccc;
	padding: 0px 20px;
}

ul {
	list-style: disc;
	padding: 0 0 0 1em;
	margin-left: 0.5em;
}

ul ul {
	list-style: circle;
}

ul ul ul {
	list-style: square;
}

li {
	padding: 2px 0;
}

a {
	text-decoration: none;
	color: #000080;
}

a:hover {
	text-decoration: underline;
}

i, em {
	font-style: italic;
}

b, strong {
	font-weight: bold;
}

.hid {
	display: none;
}

.clr {
	clear: both;
}

@font-face {
  font-family: 'Glyphicons Halflings';

  src: url('/fonts/glyphicons-halflings-regular.eot');
  src: url('/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
.glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*== Header ==*/

header {
	border-bottom: 2px solid gray;
	padding: 12px 0;
	overflow: hidden;
	margin-bottom: 10px;
}

h1 {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 36px;
	letter-spacing: 0.1em;
	width: 120px;
	float: left;
}

#mmtrig {
	display: none;
	font-size: 30px;
	margin-top: 2px;
	float: right;
}

#search {
	margin-top: 6px;
	float: right;
}

.mob-only {
	display: none;
}

/*== Navigation ==*/

nav {
	float: left;
	width: 120px;
}

#nav-main {
	margin-bottom: 20px;
}

#nav-mob {
	display: none;
}

/*== Content ==*/

article {
	margin-left: 120px;
	padding-left: 10px;
	overflow: hidden;
}

section {
	clear: right;
	overflow: hidden;
}

p.sml {
	font-size: 9px;
	padding: 1px 0;
}

h2 {
	font-family: Arial, Verdana, sans-serif;
	font-size: 17px;
	font-weight: bold;
	margin: 5px 0;
}

h3 {
	font-size: 12px;
	font-weight: bold;
	margin: 0;
}

h4 {
	font-size: 13px;
	font-weight: bold;
	margin: 15px 0px 5px 0px;
	padding-bottom: 2px;
	border-bottom: 1px solid gray;
}

.br {
	height: 15px;
}

.cover {
	float: left;
	width: 202px;
}

.cover img {
	border: 1px solid gray;
	width: 100%
}

article ul {
	padding-left: 12px;
	line-height: 1.1em;
}

/*-- Data --*/

table.dc {
	margin-left: 220px;
	width: auto;
}

table.dc td,
table.dc th {
	margin: 0;
	padding: 5px;
}

table.dc th {
	text-align: right;
	vertical-align: text-top;
	border-bottom: 1px solid lightgray;
	width: 1%;
	font-style: italic;
	white-space: nowrap;
}

table.dc tr:first-child th {
	border-top: 1px solid lightgray;
}

table.dc td {
	width: 99%;
}

table.dc tr.err td {
	text-align: center;
	color: red;
	border-bottom: none;
}

table.dc tr.err {
	border-top: none;
	border-bottom: none;
}

section ul li {
	padding: 0.2em;
}

section p {
	line-height: 1.2em;
	text-indent: 2em;
}

/*-- TabNav --*/

#tabnav ul {
	padding: 2px 0;
	margin-left: 0;
	overflow: hidden;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	list-style-type: none;
}
#tabnav li {
	float: left;
	display: inline;
	padding: 4px 10px 4px 0;
}
#tabnav li.active {
	background: #fff;
	color: #000;
	font-weight: bold;
}
#tabnav li.glyph {
	display: none;
}

#tabnav-mob {
	display: none;
}

#tabnav-mob {
	display: none;
}
#tabnav-mob a:hover {
	text-decoration: none;
}
#tabnav-mob ul {
	list-style-type: none;
	text-align: center;
	border-bottom: 1px solid #ccc;
}
#tabnav-mob li {
	padding: 10px 0;
}
#tabnav-mob li.active {
	font-weight: bold;
}

/*-- Info --*/

#info {
	font-size: 12px;
	color: black;
}

#add-info {
	display: none;
}

.info {
	margin: 1em 1em;
}

/*-- Annotation --*/

.anno p {
	text-indent: 2em;
}

.anno p.subtitle {
	text-indent: 0;
	text-align: center;
	font-weight: bold;
	padding-top: 5px;
}

.anno .cite {
	border-left: 1px solid #A0A0A0;
	margin: 10px 2em;
	padding: 0 10px;
}

.anno .textauthor {
	font-style: italic;
	text-indent: 4em;
	margin-top: 3px;
}

.anno .stanza {
	margin-top: 10px;
}

/*-- TOC --*/

.toc ul {
	font-size: 11px;
}

.toc .workinfo {
	color: gray;
}

.toc .workinfo a {
	color: gray;
}

/*-- Biblio rec --*/

.biblio p {
	text-indent: 0;
	font-family: Courier New, monospace;
	font-size: 14px;
}

/*-- Pagination --*/

p.pg {
	margin: 5px 0;
	text-align: right;
}

/*-- Book Lists --*/

.lst tr,
.lst td {
	vertical-align: top;
}
.lst th {
	padding: 5px;
	font-weight: bold;
	border-top: 1px solid #B0B0B0;
}

.lst td {
	padding: 5px;
	border-top: 1px solid #B0B0B0;
}
.lst tr:last-child td {
	border-bottom: 1px solid #B0B0B0;
}

.lst td.lstnum {
	text-align: right;
	width: 1%;
}

.lst td.lstcvr {
	width: 1%;
}

.lst td p {
	margin-bottom: 3px;
}
.lstcvr img {
	border: 1px solid gray;
}

p.lsttitle {
	font-weight: bold;
}

/*== Footer ==*/

footer {
	clear: both;
	color: #666;
	text-align: center;
	border-top: 1px solid #ccc;
	padding: 5px;
	font-size: 10px;
	margin-top: 20px;
}

footer a {
	color: #666;
}

footer li {
		display: inline;
	}
footer li:after {
		content: " | ";
	}
footer li:last-child:after {
		content: "";
	}

/*=== Общи елементи в основната страница ===*/

article table {
	width: 100%;
	font-size: 12px;
	border: 0px;
	border-collapse: separate;
	border-spacing: 0;
}

article td {
	text-align: left;
	vertical-align: top;
}

article th {
	text-align: left;
	padding: 5px;
}

article .par {
	text-indent: 2em;
	margin-bottom: 0.2em;
}

/* Списък
*/
/*
table.lst th {
	padding: 5px;
	border-bottom: 1px solid #B0B0B0;
	border-top: 1px solid #B0B0B0;
}

table.lst td {
	padding: 5px;
	border-bottom: 1px solid #B0B0B0;
	border-top: 1px solid #B0B0B0;
}
*/
.noup table.lst tr:first-child td {
	border-top: none;
}
/*
table.lst td.lstnum {
	text-align: right;
	width: 1%;
}

table.lst td.lstcvr {
	width: 1%;
}

td.lstcvr img {
	border: 1px solid gray;
}

p.lsttitle {
	font-weight: bold;
}
*/
h4 {
	font-size: 13px;
	margin: 15px 0px 5px 0px;
	padding-bottom: 2px;
	border-bottom: 1px solid gray;
}

.spacelist {
	padding-left: 12px;
}

.spacelist li {
	padding: 0.2em;
}

/* Search
*/

#main ul {
	сmargin: 0;
	сpadding: 0;
}

.more-items {
	text-align: right;
}

.no-items {
	font-weight: bold;
}

.cat {
	font-size: 16px;
	font-family: Arial, Verdana, sans-serif;
	text-align: center;
	font-weight: bold;
	margin: 20px 0 0 0;
	padding: 5px;
	_border-top: 1px solid black;
}

/* Pagination
*/

#main p.pg {
	margin: 5px 0;
	text-align: right;
}

/* Tabs
*/

.tabs, .tab-controls {
	padding: 0;
	list-style-type: none;
	text-align: center;
	margin: 0;
}

.tab-controls li {
	display: inline;
	margin-right: .6em;
}

.tab-control-active a {
	font-weight: bold;
	text-decoration: none;
	color: #000;
}

.info-toggler {
	float: right;
	cursor: pointer;
	color: gray;
	font-size: 1.8em;
}
.info1 {
	margin: 1em 0 0;
}

/* Други списъци */

#main ul.list {
	padding: 0 0 0 15px;
	margin: 0;
}

/* Други елементи */

hr {
	border: 0px;
	height: 1px;
	background-color: #ccc;
}

/*== Other ==*/

.hidden {
	color: white;
}

/*== Resize ==*/

@media screen and (max-width: 768px) {

	body {
		margin: 0;
		padding: 0 20px;
	}

	nav {
		float: none;
		width: auto;
		border-bottom: 1px solid gray;
		margin-bottom: 10px;
	}

	nav ul {
		padding: 0px 0px 12px 0px;
	}

	article {
		margin-left: 0px;
		padding-left: 0px;
		width: auto;
	}
}

@media screen and (min-width: 480px) and (max-width: 768px) {

	nav li {
		display: inline;
	}
	nav li:after {
		content: " | ";
	}
	nav li:last-child:after {
		content: "";
	}
	#nav-main {
		margin-bottom: 10px;
	}

}

@media screen and (max-width: 480px) {

	body {
		padding: 0 5px;
	}
	#mmtrig {
		display: block;
	}
	#search {
		display: none;
	}
	#nav-main {
		display: none;
		margin-bottom: 0px;
	}

	nav ul {
		list-style-type: none;
		text-align: center;
	}

	nav li {
		display: block;
		padding: 10px 0;
	}

	.mob-only {
		display: block;
	}

	.cover {
		float: none;
		width: 100%;
	}
	.cover img {
		width: 100%;
	}
	
	table.dc {
		width: 100%;
		margin-left: 0px;
		margin-top: 10px;
	}
	table.dc th,
	table.dc td {
		float: left;
		width: 100%;
		padding: 5px 0;
		-word-break: break-all;
	}

	table.dc th {
		border-top: 1px solid gray;
		border-bottom: 1px solid lightgray;
		text-align: left;
		font-style: none;
		font-weight: bold;
	}

	table.dc tr:first-child th {
		border-top: 1px solid gray;
	}

	table.dc tr:last-child td {
		border-bottom: 1px solid gray;
	}

	table.dc tr.err td {
		border-top: 1px solid gray;
		border-bottom: none;
	}

	#tabnav li {
		display: none;
	}
	#tabnav li.active,
	#tabnav li.glyph {
		display: inline;
		
	}

	footer li {
		display: block;
	}
	footer li:after {
		content: "";
	}

}
