/*** General ***/

:root {
	background-color: white;
}

html {
	font-size: 13px;
	min-width: 800px;
	max-width: 1500px;
	/* font-family: Helvetica, sans-serif; */
}

a {
	color: #000000;
}

a:hover {
	color: #660066;
}

img.low-res {
	/* Отключение сглаживания картинок */
	image-rendering: optimizeSpeed;             /* Older versions of FF */
	image-rendering: -moz-crisp-edges;          /* FF 6.0+ */
	image-rendering: -webkit-optimize-contrast; /* Webkit (Safari now, Chrome soon) */
	image-rendering: -o-crisp-edges;            /* OS X & Windows Opera (12.02+) */
	image-rendering: optimize-contrast;         /* Possible future browsers. */
	-ms-interpolation-mode: nearest-neighbor;   /* IE */
}

p.center {
	text-align: center;
}

.rss {
	color: Chocolate;
}

.cleaner-right {
	clear: right;
}

.cleaner-left {
	clear: left;
}

.hover-info {
	cursor: help;
}

/* Media adjustments */

@media (max-width: 900px) {
	html {
		font-size: 12px;
	}

	#right-side {
		display: none !important;
	}
}

@media (max-width: 400px) {
	html {
		font-size: 10px;
	}
}

/* Стили для печати */
@media print {
	.no-print {
		display: none !important;
	}

	a.print-url:after,
	.print-url a:after {
		content: " (" attr(href) ")";
		font-weight: normal;
	}

	footer {
		margin-top: 30pt;
	}
}

/*** Header ***/

#header-links {
	padding: 5px 10px;
	font-size: 12pt;
	text-align: right;
}

#header-links a {
	text-decoration: none;
	color: #8E0071;
}

#header-container {
	display: table;
	width: 100%;
	background-image: url("../img/header-logo-bg.png");
	background-repeat: repeat-x;
	background-color: #660066;
}

#logo-container {
	display: table-cell;
}

#search-form {
	display: table-cell;
	vertical-align: top;
	min-width: 150px;
	max-width: 350px;
	padding-top: 10px;
}

/*** Left side — Menu ***/

#left-nav {
	width: 220px;
	min-width: 200px;
	vertical-align: top;
	border-right-style: solid;
	border-right-color: #660066;
	border-right-width: 1px;
}

#left-nav .request-block {
	padding: 20px 0 5px 0;
}

#left-nav .request-btn-block {
	text-align: center;
	margin-bottom: 12px;
}

#left-nav .request-btn {
	background: #660066;
	background-image: -webkit-linear-gradient(top, #c400c4, #660066);
	background-image: -moz-linear-gradient(top, #c400c4, #660066);
	background-image: -ms-linear-gradient(top, #c400c4, #660066);
	background-image: -o-linear-gradient(top, #c400c4, #660066);
	background-image: linear-gradient(to bottom, #c400c4, #660066);
	-webkit-border-radius: 8;
	-moz-border-radius: 8;
	border-radius: 8px;
	text-shadow: 1px 1px 1px #000000;
	color: #ffffff;
	font-size: 14px;
	padding: 8px 30px;
	text-decoration: none;
}

#left-nav .request-btn:hover {
	background: #960096;
	text-decoration: none;
}

#left-nav .request-notice {
	text-align: center;
	font-size: 0.8em;
	padding: 0;
	margin: 1px 5px;
}

#left-nav h4 {
	display: block;
	color: white;
	background-color: #660066;
	text-align: center;
	padding: 3px;
	margin: 5px 0;
}

#left-nav a {
	text-decoration: none;
}

#left-nav a:hover {
	text-decoration: underline;
}

#left-nav .letters {
	text-align: center;
	margin: auto 5px;
}

#left-nav hr {
	border: 0;
	height: 2px;
	background: #660066;
	margin: 4px 0;
}

#left-nav ul.subjects {
	list-style-type: none;
	padding-left: 10px;
	margin: 5px auto;
}

#left-nav ul.subjects li {
	font-size: 12px;
	font-weight: bold;
	margin-left: 0;
	margin-bottom: 2px;
}

#left-nav ul.subjects ul {
	list-style-type: square;
	padding-left: 15px;
}

#left-nav ul.subjects ul li {
	font-weight: normal;
	font-size: 11px;
}

#left-nav ul.nav-links li {
	margin-bottom: 8px;
}

/*** Right side — Adv ***/

#right-side {
	background-color: #EBEBEB;
	width: 245px;
	margin-left: 5px;
	vertical-align: top;
}

/*** Footer ***/

footer {
	font-size: 0.85em;
	padding: 10px 20px;
	border-style: solid;
	border-color: #660066;
	border-width: 1px 0 0 0;
}

footer,
footer a {
	color: gray;
}

/*** Article ***/

article {
	margin: 10px 15px 15px 15px;
}

article h1 {
	color: #660066;
	font-size: 1.6em;
	padding-bottom: 5px;
	margin-bottom: 5px
}

article h2 {
	color: #660066;
	font-size: 1.3em;
	padding-bottom: 3px;
	margin-bottom: 3px
}

article h3 {
	color: #660066;
	font-size: 1.2em;
	padding-bottom: 2px;
	margin-bottom: 2px
}

article h4 {
	color: #660066;
	font-size: 1.1em;
	padding-bottom: 0px;
	margin-bottom: 0px
}

article h5 {
	color: #FFFFFF;
	font-size: 1em;
	padding-bottom: 2px;
	margin-bottom: 2px;
	background-color: #660066
}

article h6 {
	color: #FFFFFF;
	font-size: 0.9em;
	padding-bottom: 2px;
	margin-bottom: 2px;
	background-color: #660266
}

article .social-buttons {
	text-align: center;
}

article .social-buttons .social-likes, .social-likes__widget_single {
	font-size: 12px;
}

#error {
	margin: 25px 20px;
}

#error .message {
	padding-left: 15px;
}

.adv-block {
  margin: 10px 0;
  text-align: center;
}

/*** Home ***/
#home .notice {
	background-color: #FFEBFF;
	padding: 5px 10px;
}

#home p.notice {
	padding: 10px 15px;
}

#home .notice p {
	margin: 10px 15px;
}

#home .materials-image {
	float: right;
	margin: 0 0 5px 5px;
}

#home hr.footnote-line {
	margin: 30px 0 10px 0;
	border: 0;
	height: 1px;
	background: #660066;
	width: 210px;
}

#home-contest-results {
	background-color: #660066;
	color: white;
}

#home-contest-results h3 {
	background-color: #f36f21;
	color: white;
	padding: 8px 15px;
	margin: 0;
	font-size: 16px;
	font-weight: normal;
}

#home-contest-results p {
	margin: 10px 15px;
  padding: 5px 5px 15px 5px;
}

#home-contest-results a.last-contest-results {
	background-color: #f36f21;
	padding: 10px 15px;
	margin: 10px 10px 10px 20px;
	float: right;
	text-decoration: none;
	display: block;
	text-align: center;
	width: 180px;
	text-align: center;
}

#home-contest-results .last-contest-results p {
	font-size: 15px;
	margin: 0px;
}

#home-contest-results a {
	color: white;
}

#home-favourite-works {
	margin: 10px 0;
	background-color: #FFEBFF;
	border: 1px solid #660066;
}

#home-favourite-works h4 {
	display: block;
	color: white;
	background-color: #660066;
	text-align: center;
	padding: 3px;
	margin: 0;
	font-size: 1em !important;
}

#home-favourite-works table td {
  width: 30%;
  vertical-align: top;
  padding: 10px;
}

#home-favourite-works .work {
	margin-bottom: 15px;
}

#home-favourite-works .work .title {
	font-size: 1.1em !important;
	color: #660066;
	background: none !important;
	margin: 5px 0 3px 0;
}

#home-favourite-works .work a.link,
#home-favourite-works .work a.link:hover {
	text-decoration: none;
}

#home-favourite-works .work .subjects,
#home-favourite-works .work .summary {
	font-size: .85em !important;
	margin: 4px 0;
}

#home-favourite-works .work .image {
	float: left;
	margin: 2px 9px 2px 0;

	-webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:    0 2px 8px rgba(0, 0, 0, 0.3);
	box-shadow:         0 2px 8px rgba(0, 0, 0, 0.3);
}

/*** Work ***/

#work-page .download-link {
	text-decoration: none;
}

#work-page .download-link .file-name {
	text-decoration: underline;
}

#work-page .info-float-right {
	float: right;
	text-align: right;
	color: #c299c2;
	font-size: 12pt;
	margin: 5px 0 10px 15px;
}

#work-page figure {
	width: 300px;
	float: right;
	margin: 0 0 15px 25px;
	text-align: center;
}

#work-page figure img {
	max-width: 300px;
	min-width: 100px;
	max-height: 300px;
	min-height: 100px;
	-webkit-box-shadow: 0 2px 7px rgba(0,0,0,0.5);
	-moz-box-shadow:    0 2px 7px rgba(0,0,0,0.5);
	box-shadow:         0 2px 7px rgba(0,0,0,0.5);
}

#work-page figcaption {
	font-style: italic;
	color: #777;
}

#work-page .text-block {
	margin: 5px 20px 10px 20px;
}

#work-page .list-block {
	margin: 5px 20px 10px 20px;
	padding-left: 0;
	list-style-type: none;
}

#work-page hr {
	border: 0;
	height: 1px;
	background: #660066;
	width: 300px;
}

#work-page strong {
	color: #660066;
}

/* Person */
#person-page .person-status {
	float: right;
	color: #c299c2;
	margin-top: 3px;
	font-size: 12pt;
}

#person-page .works-list {
	list-style-type: none;
}

#person-page .works-list .work {
	margin-bottom: 20px;
}

#person-page .work .title {
	font-size: 12pt;
}

#person-page .work .title .link,
#person-page .work .title .link:hover {
	color: #660066;
	text-decoration: none;
}

#person-page .work .title .season {
	color: gray;
	font-weight: normal;
}

#person-page .work .description {
	margin-left: 30px;
}

#person-page .work .description .image {
	float: left;
	margin: 10px 10px 5px 0;

	-webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:    0 2px 8px rgba(0, 0, 0, 0.3);
	box-shadow:         0 2px 8px rgba(0, 0, 0, 0.3);
}

#person-page .work .description .coauthors,
#person-page .work .description .subjects {
	margin: 5px 5px 5px 0;
}

#person-page .work .description .summary {
	font-style: italic;
}

/* Persons list */

#persons .alphabet {
	text-align: center;
	font-size: 1.1em;
	color: #660066;
}

#persons .alphabet a {
	color: #660066;
}

#persons .alphabet .letter {
	padding: 1px 4px;
}

#persons .alphabet .letter.current {
	color: white;
	background-color: #660066;
}

#persons .persons-list {
	margin: 5px 20px 10px 20px;
	padding-left: 0;
	list-style-type: none;
}

#persons .person {
	margin-bottom: 4px;
}

#persons .person .job {
	color: gray;
	font-style: italic;
}

/*** Subject ***/

#subject #filters {
	text-align: center;
}

#subject #filters span {
	margin: 0 15px;
}

#subject #filters select[name=season] {
	width: 100px;
}

#subject #filters select[name=works-type] {
	width: 190px;
}

#subject #filters select[name=sort-by] {
	width: 110px;
}

#subject .works-list {
	list-style-type: none;
	margin-left: 0;
	padding-left: 20px;
}

#subject .work .title {
	margin-top: 20px;
}

#subject .work .title a {
	color: #660066;
	text-decoration: none;
}

#subject .work .summary {
	margin: 4px 0;
}

#subject .work .image {
	float: left;
	margin: 2px 9px 2px 0;

	-webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:    0 2px 8px rgba(0, 0, 0, 0.3);
	box-shadow:         0 2px 8px rgba(0, 0, 0, 0.3);
}

/*** Contest results ***/

#contest-result .subjects-nav {
	-webkit-column-width: 200px;
	-webkit-column-gap: 10px;
	-webkit-column-rule: 1px dotted gray;
	-moz-column-width: 200px;
	-moz-column-gap: 10px;
	-moz-column-rule: 1px dotted gray;
	column-width: 200px;
	column-gap: 10px;
	column-rule: 1px dotted gray;
	margin: 10px 10px 15px 10px;
	padding-left: 0;
	list-style: none;
	font-size: 12px;
}

#contest-result .subjects-nav .subject {
	margin-left: 0;
	padding-left: 0;
}

.no-csscolumns #contest-result .subjects-nav .subject {
	float: left;
	width: 220px;
	margin: 0px 20px 0px 0px;
	padding: 0px;
}

.no-csscolumns #contest-result .delimeter {
	clear: both;
}

#contest-result .results {
	list-style: none;
}

#contest-result .results .subject {
	margin-left: -20px;
}

#contest-result .results h3 {
	margin-top: 15px;
}

#contest-result .results h4 {
	margin-top: 10px;
}

#contest-result .authors {
	font-style: italic;
	color: #555;
}

/*** Pagination ***/

.pagination {
	text-align: center;
	font-size: 1.1em;
	color: #660066;
}

.pagination a {
	color: #660066;
}

.pagination .page {
	padding: 1px 4px;
}

.pagination .page.current {
	color: white;
	background-color: #660066;
}
