/* LAYOUT HACKS */
@media (max-width:1200px) {

	#block-block-23 {
		/*max-width: 40%;*/
		text-align: right;
	}

	#block-block-23 * {
		/*max-width: 100%;*/
	}

	#block-block-23 img {
		/*max-width: 50%;*/
	}

}

a {
	color: #961100;
	text-decoration: underline;
}

a:hover, a.active:hover {
	color: #B04400;
	text-decoration: underline;
}

.b-column .block a:link,
.panels-flexible-frontpage-inside a:link {
	color: #000;
	text-decoration: none;
}

.b-column .block a:visited,
.panels-flexible-frontpage-inside a:visited {
	color: #000;
	text-decoration: none;
}

.b-column .block a:active, .b-column .block a.active,
.panels-flexible-frontpage-inside a:active, .panels-flexible-frontpage-inside a.active {
	color: #000;
	text-decoration: none;
}

.b-column .block a:hover, .b-column .block a.active:hover,
.panels-flexible-frontpage-inside a:hover, .panels-flexible-frontpage-inside a.active:hover {
	color: #000;
	text-decoration: underline;
}

.node .submitted {
	color: #B10000;
	font-size: 0.8em;
}

/* --- title --------------------------------------------------------------- */

.b-title {
	position: relative;
	left: 0em;
	margin-left: 0px;
	padding: 20px 0;
	text-align: left;
	font-size: 40px;
	z-index: 100;
}

.b-title .b-comment {
	font-size: 35%;
	line-height: 1;
	color: #000000;
	display: block;
	font-weight: normal;
	left: 0em;
	margin-bottom: 10px;
}

.b-title .b-link {
	font-size: 190%;
	color: #961100;
	text-shadow: 0 1px #fff;
	text-decoration: none;
}

.b-title a.b-link:hover {
	color: #b10000;
	text-decoration: none;
}

.b-title .b-quot {
	color: #961100;
	font-weight: normal;
}

/* --- top superfish menu -------------------------------------------------- */

#superfish-1 {
	background-color: #808080;
	color: #ffffff;
}

.b-header #block-superfish-1 {
	margin-left: -15px;
	margin-bottom: 2em;
}

/* -- maintenance block if any */

.b-header {
	position: relative;
}

#block-block-7 {
	position: absolute;
	bottom: 30px;
	right: 0px;
	padding: 0.4em;
	padding-bottom: 0px;
	padding-left: 22px;
	margin-left: -22px;
	min-width: 50%;
	max-width: 56%;
	border-left: 5px solid #ff5050;
	background-color: rgba(255, 208, 208, 0.5);
	color: #a00;
	font-size: .9em;
	line-height: 1.35em;
	box-shadow: 3px 3px 10px #544;
}

#block-block-7:hover {
	background-color: rgba(255, 208, 208, 0.8);
}

#block-block-7 h2 {
	font-size: 16px;
	color: #ff4545;
}

#block-block-7 p {
	margin-bottom: 0.2em;
}

/* --- top gazeta.eot.su --------------------------------------------------- */
/* added by rewt @ 2013-01-05 13:15 */
/*#block-block-3 {
	float: right;
	margin-top: 2.6em;
	margin-right: 1px;
}*/

.b-title {
	float: left;
}

/* --- top na doskah --------------- */
/*#block-block-9 {
	float:right;
    margin-top: 2.6em;
	margin-right: -9px;
}*/

#block-block-9 {
	text-align: center;
	max-width: 100%
}

#block-block-9 img {
	max-width: 100%
}

.block img {
	max-width: 100%
}


/*#block-block-9 .content a {
	display: block;
	width:  92px;
	height: 131px;
	text-indent: -1500px;
	background-image: url(/sites/default/files/buttons/na-doskah.gif);

	background-size: auto 131px;
	background-repeat: no-repeat;
	background-position: left, top;
}*/

/*#block-block-3 .content, #block-block-9 .content,
#block-block-3 p, #block-block-9 p {
	margin-bottom: 0em;
}*/

/* pomoch novorossii */
/*#block-block-8 {
	position: absolute;
	top: 8.8em;
	left: 5.1em;
}*/


#block-block-16 {
	float: right;
	white-space: nowrap;
}

/* hotfix */

.pane-official-news .sticky {
	background: none;
	border: none;
}

.pane-block-15 iframe {
	margin-top: -0.25em;
}

.btn-donbass2 {
	margin: .5em .25em;
}

.btn-donbass2 img {
	max-width: 100%;
}

/* ************************************************************************** */


/* --- top news ------------------------------------------------------------ */

div.panel-pane.pane-views.pane-official-news .node.sticky iframe.video-filter {
	max-width: 480px;
	width: 100%;
}

div.views-row.views-row-1.views-row-odd.views-row-first.views-row-last > div > h2 {
margin: 20px 20px 20px 20px;
}

div.views-row.views-row-1.views-row-odd.views-row-first.views-row-last > div > div.clear-block {
margin: 10px 20px 10px 20px;
}

div.content.clear-block {
padding: 10px 20px 10px 20px;
}

div.content.clear-block.iframe {
padding: 5px;
}

div.clear-block {
padding: 0px;
padding-bottom: 10px;
}

/* ------------------------------------------------------------------------- */

/* column #1 */

div.panels-flexible-region.panels-flexible-region-frontpage-row1col1 {
	/*background-color:rgba(220,220,220,0.4);*/
	border-right: 1px solid #808080;
	padding: 10px 0 10px;
}

div.panel-pane.pane-views.pane-official-news > h2.pane-title {
	text-decoration: none !important;
	margin: 0px 10px 20px;
	font-weight: 500;
}

/*div.panel-pane.pane-views.pane-official-news > h2.pane-title::before {
	content: "/ ";
	display: inline;
	color: #990000;
	text-decoration: none !important;
}*/

div.panel-pane.pane-views.pane-official-news .views-field-field-iswarn-value .field-content,
div.panel-pane.pane-views.pane-official-news .views-field-timestamp .field-content,
div.panel-pane.pane-views.pane-official-news .views-field-title .field-content {
	display:inline;
}

div.panel-pane.pane-views.pane-official-news .views-field-created .field-content {
	margin-bottom: 0.05em;
}

div.panel-pane.pane-views.pane-official-news li {
	margin-bottom:1em;
}

.item-list li {
	list-style: none !important;
	list-style-type:none !important;
	background-image: url() !important;
}

.item-list ul {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 0 0 -10px;
	background-image: url() !important;
}


/* date */
span.views-field-created {
	color: #b10000;
	font-size: 10px;
}
/* show on the new line */
span.field-content {
	margin-top: -8px !important;
	display: block;
	clear: left;
}


/* ------------------------------------------------------------------------- */

/* column #2 */

div.panels-flexible-region.panels-flexible-region-frontpage-row1col2 {
	background-color: transparent;
	border-right: 1px solid #808080;
	padding: 10px 0 10px;
}

div.panels-flexible-region.panels-flexible-region-frontpage-row1col2 > h2.pane-title {
/*	text-decoration: underline;*/
}

div.panel-pane.pane-views.pane-regionnews > h2.pane-title {
	text-decoration: none !important;
	margin: 0px 10px 20px;
	font-weight: 500;
}

/*div.panel-pane.pane-views.pane-regionnews > h2.pane-title::before {
	content: "/ ";
	display: inline;
	text-decoration: none !important;
}*/

#regionnews-title {
	text-decoration: none !important;
/*	margin: 0px 20px 10px;*/
	font-size: 10px;
	text-color: #969696;
	margin-bottom: -3px;
}

#regionnews-title::before {
	content: "> ";
	display: inline;
	color: #969696;
	text-decoration: none !important;
}

#regionnews-title > a:link {
	color: #969696;
	text-decoration: none;
}

#regionnews-title > a:visited {
	color: #969696;
	text-decoration: none;
}

#regionnews-title > a:active, #regionnews-title > a.active {
	color: #969696;
	text-decoration: none;
}

#regionnews-title > a:hover, #regionnews-title > a.active:hover {
	color: #969696;
	text-decoration: underline;
}


.field-content {
	margin-bottom: 8px;
}

.item-list li {
	list-style: none !important;
	list-style-type: none !important;
	background-image: url() !important;
}

.item-list ul {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 0 0 -10px;
	background-image: url() !important;
}

/* date */
span.views-field-name {
	color: #b10000;
	font-size: 10px;
}
.view-regionnews .views-field-name a {
    color:gray;
}
/* show on the new line */
span.field-content {
	display: block;
	clear: left;
}

/* ------------------------------------------------------------------------- */

/* column #3 */

div.panels-flexible-region.panels-flexible-region-frontpage-row1col3 {
	background-color: transparent;
/*	border-right: 1px solid #808080; */
	padding: 10px 5px 10px 0px;
}

div.panels-flexible-region.panels-flexible-region-frontpage-row1col3 > h2.pane-title {
/*	text-decoration: underline;*/
}

div.panel-pane.pane-views.pane-action-news > h2.pane-title {
	text-decoration: none !important;
	margin: 0px 10px 20px;
	font-weight: 500;
}

/*div.panel-pane.pane-views.pane-action-news > h2.pane-title::before {
	content: "/ ";
	display: inline;
	text-decoration: none !important;
}*/

#action_news-title {
	text-decoration: none !important;
/*	margin: 0px 20px 10px;*/
	font-size: 10px;
	text-color: #969696;
	margin-bottom: -3px;
}

#action_news-title::before {
	content: "> ";
	display: inline;
	color: #969696;
	text-decoration: none !important;
}

#action_news-title > a:link {
	color: #969696;
	text-decoration: none;
}

#action_news-title > a:visited {
	color: #969696;
	text-decoration: none;
}

#action_news-title > a:active, #action_news-title > a.active {
	color: #969696;
	text-decoration: none;
}

#action_news-title > a:hover, #action_news-title > a.active:hover {
	color: #969696;
	text-decoration: underline;
}

div.panel-pane.pane-views.pane-dnr-news > h2.pane-title {
	text-decoration: none !important;
	margin: 0px 10px 20px;
	font-weight: 500;
}

/*div.panel-pane.pane-views.pane-dnr-news > h2.pane-title::before {
	content: "/ ";
	display: inline;
	text-decoration: none !important;
}*/

#dnr_news-title {
	text-decoration: none !important;
/*	margin: 0px 20px 10px;*/
	font-size: 10px;
	text-color: #969696;
	margin-bottom: -3px;
}

#dnr_news-title::before {
	content: "> ";
	display: inline;
	color: #969696;
	text-decoration: none !important;
}

#dnr_news-title > a:link {
	color: #969696;
	text-decoration: none;
}

#dnr_news-title > a:visited {
	color: #969696;
	text-decoration: none;
}

#dnr_news-title > a:active, #dnr_news-title > a.active {
	color: #969696;
	text-decoration: none;
}

#dnr_news-title > a:hover, #dnr_news-title > a.active:hover {
	color: #969696;
	text-decoration: underline;
}



.field-content {
	margin-bottom: 8px;
}

.item-list li {
	list-style: none !important;
	list-style-type: none !important;
	background-image: url() !important;
}

.item-list ul {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 0 0 -10px;
	background-image: url() !important;
}

/* date */
span.views-field-name {
	color: #b10000;
	font-size: 10px;
}
.view-action-news .views-field-name a {
    color:gray;
}
/* show on the new line */
span.field-content {
	display: block;
	clear: left;
}



/* ------------------------------------------------------------------------- */

/* column #3.2 */

div.panel-pane.pane-views.pane-smi-view > h2.pane-title {
	text-decoration: none !important;
	margin: 0px 10px 20px;
	font-weight: 500;
}

div.panel-pane.pane-views.pane-smi-view > h2.pane-title::before {
	content: "/ ";
	display: inline;
/*	color: #990000;*/
	text-decoration: none !important;
}

#smi_view-title {
	text-decoration: none !important;
/*	margin: 0px 20px 10px;*/
	font-size: 10px;
	text-color: #969696;
	margin-bottom: -3px;
}

#smi_view-title::before {
	content: "> ";
	display: inline;
	color: #969696;
	text-decoration: none !important;
}

#smi_view-title > a:link {
	color: #969696;
	text-decoration: none;
}

#smi_view-title > a:visited {
	color: #969696;
	text-decoration: none;
}

#smi_view-title > a:active, #smi_view-title > a.active {
	color: #969696;
	text-decoration: none;
}

#smi_view-title > a:hover, #smi_view-title > a.active:hover {
	color: #969696;
	text-decoration: underline;
}


.field-content {
	margin-bottom: 8px;
}

.item-list li {
	list-style: none !important;
	list-style-type: none !important;
	background-image: url() !important;
}

.item-list ul {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 0 0 -10px;
	background-image: url() !important;
}

/* date */
span.views-field-created {
	color: #b10000;
	font-size: 10px;
}
/* show on the new line */
span.field-content {
	display: block;
	clear: left;
}

/* ------------------------------------------------------------------------- */

/* top stuff */

div.panel-pane.pane-block.pane-menu-menu-actions > h2.pane-title {
	text-decoration: none !important;
	margin: 0px 10px 20px;
	font-weight: 500;
}

div.panel-pane.pane-block.pane-menu-menu-actions > h2.pane-title::before {
	content: "/ ";
	display: inline;
/*	color: #990000;*/
	text-decoration: none !important;
}


li.leaf {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 0 0 -10px;
	background-image: url() !important;
}

/* ------------------------------------------------------------------------- */

.more-link::after {
	content: " >>";
	display: inline;
	text-decoration: none !important;
}


/* ------------------------------------------------------------------------- */

span.view-field-field-iswarn-value {
    display: block;
    float: left;
}

/* ------------------------------------------------------------------------- */



/* ------------------------------------------------------------------------- */


/* ------------------------------------------------------------------------- */



/* ------------------------------------------------------------------------- */


/* ------------------------------------------------------------------------- */



/* ------------------------------------------------------------------------- */






/* ----------------------------------- */


body {
height: 100%;
}

html {
height: 100%;
}


/* hacks */

.pane-block-17 img {
	min-width: 100%;
	max-width: 100%;
}

.view-display-id-block_2 img {
	min-width: 100%;
}
.view-display-id-block_2 iframe {
	min-width: 100%;
}


/* banners */

#block-block-16 {
	clear: right;
	position: absolute;
	right: 0;
}

#block-block-3,
#block-block-8,
#block-block-18,
#block-block-20 {
	float: right;
	margin: 0;
	padding: 0;
	max-width: 33%;
}
#block-block-8, #block-block-20 {
	margin-top: 1.75rem;
}

#block-block-3 img,
#block-block-8 img,
#block-block-18 img,
#block-block-20 img {
	max-width: 100%;
	max-height: 100%;
}
#block-block-3 *,
#block-block-8 *,
#block-block-18 *,
#block-block-20 * {
	max-width: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
}

#block-block-3 p,
#block-block-8 p,
#block-block-18 p,
#block-block-20 p {
	margin: 0;
	padding: 0;
}


#block-block-3 img,
#block-block-20 img {
	max-height: 3.2rem;
}

#block-block-8, #block-block-18 {
	margin-left: .5rem;
}

#block-block-3,
#block-block-18,
#block-block-20 {
	display:none;
}

.btn-nadoskah3 img {
	max-width: 100%;
	/*width: 100%;*/
	text-align: center;
}

/* top banners */

#block-block-23 {
	float: right;
	margin-top: 1.75rem;
	max-width: 100%;
}
/* TODO: See media queries at bottom of this file */

/* side books list */

#block-block-24 .books-side {}
#block-block-24 .books-side + .book-card {
	margin-top: 1.5em;
}

#block-block-24 .book-card {
	margin-top: 2em;
	margin-bottom: 1em;
	text-align: center;
}

#block-block-24 .book-card img {
	max-width: 100%;
}

#block-block-24 .book-card p {
	font-style: italic;
	text-align: center;
}

/* mid banners */

.pane-block-21 .pane-content {
	display: table;
	padding-top: .5rem;
}

.mb-blocks {
	max-width: 100%;
	white-space: nowrap;
	margin: 30px;
	padding: 0;
	display: table-row;
}
.mb-blocks a {
	display: table-cell;
	padding: 0;
	margin: 0;
	/*float: left;*/
	/*position: relative;*/
	/*z-index: 10;*/
	max-width: 100%;
	max-height: 100%;
}

.mb-blocks a img {
	padding: 0;
	margin: 0;
	max-width: 100%;
	/*max-height: 50px;*/
}

.mb-blocks .mb-nadoskah {
	padding-right: .25rem;
}

.pane-block-22 {
	text-align: center;
}




/* ******* */

/*#block-block-3 {
	float: left;
	margin: 0;
	padding: 0;
}*/

.fcleaner {
	clear:both;
}

.b-footer {
	margin-top: 0;
}

#block-block-14, #block-block-14 img {
	max-width: 100%;
}

.panels-flexible-row-frontpage-3, .panels-flexible-row-frontpage-4 {
	display: none;
}

.panels-flexible-row-frontpage-2 {
	padding-bottom: 0;
	margin-bottom: 0;
}

.b-center__wrapper > div:nth-child(1)
