@charset "utf-8";

/** Font styles 
---------------------------------*/
body, html {
  margin: 0;
  height:100%;
  font-size: 100%; /* Fixes exaggerated text resizing in IE6 and IE7 */
}
body.admin-menu {
	margin-top:0 !important;
}
.only-for-print {
	display:none;
}
.downfooting, body#img_assist_properties {
    background-color: #F2DFBE;
    background-image: url("../images/content_bg.jpg");
/*	min-height:100%;
	height:auto !important;
	*height:100%;
*/}
.downfooting {
	overflow:hidden;
}
.body {
	overflow:hidden;
}
#page {
  font-size: 0.8125em; /* 16px x .8125 = 13px */
  line-height: 1.5em; /* 14px x 1.5 = 21px */
}

body, caption, th, td, input, textarea, select, option, legend, fieldset {
  font-family:"Helvetica Neue", helvetica, Arial, sans-serif;
}

/* Links */

a:link, a:visited {
  color: blue;
  text-decoration: none;
}

a:hover, a:active {
  color: red;
  text-decoration: underline;
}

/* Titles  */

h1, h2, h3, h4, h5, h6 {line-height:1.3em;}

h1 {
	font-size: 2.2em;
	font-weight:normal;
	padding: 0 0 0.5em;
	margin: 0;
}

h2 {font-size:1.8em;font-weight:normal;margin-bottom:0.75em;}
h3 {font-size:1.4em;margin-bottom:1em;}
h4 {font-size:1.2em;margin-bottom:1.25em;}
h5 {font-size:1.1em;font-weight:bold;margin-bottom:1.5em;}
h6 {font-size:1em;font-weight:bold;}


/* Paragraph Styles */

p {
  margin: 0;
}

/* List Styles  */

ul, ol {
  margin-left: 0;
  padding-left: 2em;
}

/* Table Styles  */

table {
  margin: 1em 0;
  width: 100%;
}

thead th {
  border-bottom: 2px solid #D9B67B;
  color: #494949;
  font-weight: bold;
}

th a:link, th a:visited {
  color: #c00;
}

td, th {
  padding: .4em .5em;
}

tr.even, tr.odd, tbody th {
  border: solid #D9B67B;
  border-width: 1px 0;
}

tr.odd, tr.info {
  background-color: #E8D4B1;
}

tr.even {
  background-color: #F3E1C3;
}

tr.odd td.active {
  background-color: #DCBF8E;
}

tr.even td.active {
  background-color: #E8D4B1;
}

td.region, td.module, td.container {
  border-top: 1.5em solid #D9B67B;
  border-bottom: 1px solid #D9B67B;
  background-color: #FBF0E0;
  color: #455067;
  font-weight: bold;
}

tr:first-child td.region, tr:first-child td.module, tr:first-child td.container {
  border-top-width: 0;
}
/* Code */

pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}

pre {
	background-color: #efefef;
	display: block;
	padding: 5px;
	margin: 5px 0;
	border: 1px solid #aaa;
}

/* List Styles */

ul          { list-style-type: disc; }
ul ul       { list-style-type: circle; }
ul ul ul    { list-style-type: square; }
ul ul ul ul { list-style-type: circle; }
ol          { list-style-type: decimal; }
ol ol       { list-style-type: lower-alpha; }
ol ol ol    { list-style-type: decimal; }

/* Abbreviation */

abbr {
  border-bottom: 1px dotted #666;
  cursor: help;
  white-space: nowrap;
}

/* UI improvments  */

#edit-title{
    font-size: 20px;
    height: 30px;
}
#system-themes-form img{
	width:100px;
}
.form-item .description{
	font-style:italic;
	line-height:1.2em;
	font-size:0.8em;
	margin-top:5px;
	color:#777;
}
#edit-delete{
	color:#c00;
	float:right;
}
input[type="submit"] {
	padding:5px 8px;
	margin-bottom: 8px;
	cursor:pointer;
}
input[type="text"], input[type="password"], select, textarea {
	padding:5px 8px;
}
/** Region Colors
---------------------------------
*  delete when starting a new theme */

#header, #footer { background-color: #efefef; }
#sidebar-first {	background: #e7edff; }
#sidebar-second { background: #ffd075; }
#navigation { background-color: #feffa5; clear:both; margin-bottom:20px; float:none; }

/* BESTIARY */

body {
  margin: 0;
  padding: 0;
    background-color: #000;
/*    background-color: #F2DFBE;
    background-image: url("../images/content_bg.jpg");
*/
  font: 12px/130% Tahoma;
  color: #494949;
  *text-align: center;
}

body.node-type-portal .breadcrumb, body.front .breadcrumb, body.front h1.title {
	display:none;
}

div {
	display:block;
}
.hidden {
	display:none;
}
input {
  font: 12px/100% "Tahoma";
  color: #494949;
}
input.form-text {
  background-color:#fbf0e0;
  border:1px solid #8a806f;
  height:16px;
  //padding-left:3px;
}

textarea, select {
  font: 12px/160% "Tahoma";
  color: #494949;
  max-width: 980px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-family: Helvetica, Arial, sans-serif;
}

h1 {
    color: #c00;
    float: left;
    font-family:Georgia, "Times New Roman", Times, serif;
    font-size: 24px;
    line-height: 25px;
    margin: -5px 2em 20px 0;
    max-width: 500px;
    padding: 0;
    text-indent: -2px;
}

h2 {
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:21px;
	color:#c00;
  line-height: 130%;
}

h3 {
  font-size: 140%;
}

h4 {
  font-size: 130%;
}

h5 {
  font-size: 120%;
}

h6 {
  font-size: 110%;
}


p {
  margin: 0.6em 0 1.2em;
  padding: 0;
}
ul, .block ul, .block p {
 margin: 0;
 padding: 0;
 list-style: none;
}
ul li, .item-list ul li, ul.menu li {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
.top_line #block-views-welcome_string {
	float:left;
}
.top_line .block-menu {
	float:right;
}
.second-line {
	clear:both;
}
.block-menu li.leaf, .block-menu li.collapsed, .block-menu li.expanded {
	list-style:none;
	padding: 0;
}
.menu {
	*margin: 0 -10px;
}
.menu li {
 float: left;
 position: relative;
}
.menu li:after {
 	content: "|";
}
.menu li:last-child:after, .menu li li:after  {
	content:"";
}
.menu a {
	padding:0 10px;
}
.menu li:last-child a {
	padding-right:0;
}
.menu li:hover > a {
 color: #f00;
}
*html .menu li a:hover { /* IE6 only */
 color: #f00;
}
.menu ul {
 margin: 20px 0 0 0;
 *margin: 0; /*IE6 only*/
 opacity: 0;
 visibility: hidden;
 position: absolute;
 top: 22px;
 left: 2px;
 z-index: 2000;
 border: 1px solid #999;
 background-color:#000;
 background-color: rgba(0,0,0, 0.8);
 *left:50%;
 -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.5);
 -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.5);
 box-shadow: 0 1px 5px rgba(0,0,0,0.5);
 -webkit-transition: all .2s ease-in-out;
 -moz-transition: all .2s ease-in-out;
 -ms-transition: all .2s ease-in-out;
 -o-transition: all .2s ease-in-out;
 transition: all .2s ease-in-out;
}

.menu li:hover > ul {
 opacity: 1;
 visibility: visible;
 margin: 0;
}
.menu ul ul {
 top: 0;
 left: 150px;
 margin: 0 0 0 20px;
 *margin: 0; /*IE6 only*/
 -moz-box-shadow: -1px 0 0 rgba(255,255,255,.3);
 -webkit-box-shadow: -1px 0 0 rgba(255,255,255,.3);
 box-shadow: -1px 0 0 rgba(255,255,255,.3);
}
.menu ul li {
 float: none;
 display: block;
 border: 0;
 _line-height: 0; /*IE6 only*/
}
.menu ul a {
 margin: 0 14px;
 padding: 2px 0;
 width: auto;
 _height: 10px; /*IE6 only*/
 display: block;
 white-space: nowrap;
 float: none;
 color:#999;
 border-bottom: 1px solid #666666;
}
.menu ul li:last-child a {
border:none;
}
.menu ul a:hover {
 color:#fff;
}
.top_line .menu .menu {
	z-index:2000;
}
a, img {
	outline: none;
}
a:link, a:visited {
  color: #cc0000;
  text-decoration: none;
}

a:hover {
  color: #f00;
  text-decoration: underline;
}

a:active, a.active {
  color: #f00;
}
.top_line li a.active {
    color: #ccc;
}
.wrapper {
	margin: 0 auto;
	max-width:1000px;
	width:95%;
	display:block;
	*text-align: left;
	position:relative;
}
.wrapper .wrapper {
	width:100%;
}
#header {
	background-color:#000;
	//height:256px;
	width:100%;
	position:relative;
}
body.admin-menu #header {
	padding-top:20px;
}
@media screen and (max-width:620px){
	body.admin-menu #header {
		padding-top:40px;
	}
}
@media screen and (max-width:340px){
	body.admin-menu #header {
		padding-top:60px;
	}
}
.top_line {
	height:30px;
	//line-height:30px;
	line-height:16px;
	color:#666666;
	font-size:11px;
}
.top_line > div {
       padding: 7px 0;
}
.wellcome_line {
	float:left;
}
#profile_menu {
	float:right;
}
.portals {
	height:200px;
	overflow:hidden;
	margin-left: 0;
	//width:calc(100%-200px);
	*position:absolute;
	*right:0;
}
.portals .content > ul {
	display:block;
}
.portal, .index {
	height:200px;
	width:250px;
	position:relative;
	float:left;
}
.portal {
	overflow:hidden;
	width:33.3%;
	display:block;
}
@media screen and (max-width:750px){
	.portal {
		width:50%;
	}
}
@media screen and (max-width:500px){
	.portal {
		width:100%;
	}
}


.portal > a {
    display: block;
    height: 100%;
    width: 100%;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
.portal > a:hover {
    margin:-40px;
    padding:40px;
}
.index { 
    /*картинка меняется исходя из контента*/
	background-position: center center;
	background-repeat:no-repeat;
-webkit-background-size:100%;
-o-background-size:100%;
-moz-background-size:100%;
background-size:100%;
 -webkit-transition: all .2s ease-in-out;
 -moz-transition: all .2s ease-in-out;
 -ms-transition: all .2s ease-in-out;
 -o-transition: all .2s ease-in-out;
 transition: all .2s ease-in-out;
clear:both;
}

.index:hover { 
-webkit-background-size:130%;
-o-background-size:130%;
-moz-background-size:130%;
background-size:130%;
}

.index a.logo {
	display:block;
	height:147px;
	*height:150px;
	width: 100%;
	background-color:#000;
 	background-color: rgba(0,0,0, 0.8);
	background-image:url("../images/logo.png");    
	*background-image:url("../images/logo_ie.jpg");
	background-position: center top;
	border-bottom: 3px solid #c00;
	background-repeat:no-repeat;
}
.index a.logo:hover {
	background-image:url("../images/logo_hover.png"),url("../images/logo.png"); 	
	*background-image:url("../images/logo_ie.jpg");
}
.index a.logo .logo_title, .index a.logo .logo_sub {
	display:none;
}
.index .search_form {
	width: 100%;
	height:50px;
	background-color:#000;
 	background-color: rgba(0,0,0, 0.8);
	*background-image:url("../images/logo_ie.jpg");
	*background-position:0 -150px;
}
#header_search .block-title {
	display:none;
}
#header_search .form-item {
    margin: 0;
}
#header_search form {
	margin: 0;
	padding: 14px 10px;
}
#header_search input.form-text {
  	background-color:#fff;
  	background-color: rgba(255,255,255, 0.2);	
	border:1px solid #fff;
	height:22px;
	width:187px;
    color: #fff;
    font-size: 14px;
    padding:0;
}
#header_search input.form-submit {
	background:none;
	background-image:url("../images/search_key.png");
	background-position: 0 0;
	background-repeat:no-repeat;
	border:none;
    cursor: pointer;
    height: 60px;
    right: -16px;
    overflow: hidden;
    position: absolute;
    text-indent: 200px;
    top: 5px;
    white-space: nowrap;
    width: 60px;
    z-index: 999;	
}
@media screen and (max-width:400px){
	.index {
		width:100%;
	}
	#header_search input.form-text {
		width:80%;
		width: -moz-calc(100% - 55px);
		width: -webkit-calc(100% - 55px);
		width: calc(100% - 55px);
	}
}
#header_search input.form-submit:hover {
	background-position: -1px -1px;
}
#header_search input.form-submit:active {
	background-position: 2px 2px;
}
html.js #header_search input.form-autocomplete {
	background-image:none;
}
html.js #header_search input.throbbing {
    background-image: url("../images/search.png");
    background-position: 100% center;
    background-repeat: no-repeat;
}
#autocomplete {
	z-index:2000;
  	border: 1px solid #999;
 	background-color:#000;
 	background-color: rgba(0,0,0, 0.9);
 -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.5);
 -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.5);
 box-shadow: 0 1px 5px rgba(0,0,0,0.5);
}
#header_search #autocomplete {
	width: auto !important;
}
#autocomplete li {
  background: none;
  display:block;
  color: #ccc;
  white-space: pre;
  padding: 4px 2px;
  cursor: pointer;
  _cursor: hand;
}
#autocomplete li.selected {
  background-color: #c00;
  color: #fff;
}
.portal a img {
	position:absolute;
	width:250px;
	height:200px;
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
.portal a:hover {
	text-decoration:none;
}
.portal a:hover img {
   -webkit-transform: scale(1.3,1.3);
   -moz-transform: scale(1.3,1.3);
   -o-transform: scale(1.3,1.3);
   -ms-transform: scale(1.3,1.3);
   transform: scale(1.3,1.3);
}
.portal_mask {
	position:absolute;
	background-color:#000;
 	background-color: rgba(0,0,0, 0.8);
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
	top:147px;
	width: 100%;
	border-top:3px solid #c00;
	min-height:200px;
   *height:200px;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=85)";
   filter: alpha(opacity=85);
   opacity: 1;
   cursor:pointer;
   _cursor:hand;
}
.portal a:hover .portal_mask {
	top:0;
}
.portal_title {
	font-size:16px;
	color:#fff;
	display:block;
	width:100%;
	//height: 50px;
	line-height:50px;
	text-align:center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 0 2px;
}
a:hover .portal_title {
	line-height: 20px;
    	padding: 15px 2px 5px;
	white-space:normal;
}
.portal_text {
	font-size:11px;
	line-height:14px;
	color:#ccc;
	padding: 0 10%;
	display:block;
	text-align:center;
}

@media screen and (min-width:751px){
	#main-left {
	    float: left;
	    width: 48%;
	    padding-bottom: 20px;
	}
	#main-right {
	    width: 50%;
	    margin-left: 50%;
	}
}
@media screen and (max-width:750px){
	#main-right h1 {
		margin-top:30px;
	}
}
#main-menu {
	background-image:url("../images/menu_bg.png");
	height:25px;
	line-height:24px;
	color:#fff;
	width:100%;
	position:relative;
	clear:both;
    	//white-space: nowrap;
}
#main-menu ul.menu {
	margin: 0 auto;
	display:block;
	max-width:1000px;
	width:95%;
	*width:1000px;
	*margin: 0 -20px;
	text-align:center;
}
#main-menu ul.menu li {
	display: inline-block;
	float:none;
}
#main-menu ul.menu ul.menu {
	width:auto;
	text-align:left;
}
#main-menu ul.menu ul.menu li {
	display:block;
}

/*
@media screen and (max-width:1050px){#main-menu a {
	font-size: 10px;
	padding: 0 10px !important;
}}
*/
@media screen and (max-width:1050px){
	#main-menu {
	    background-color: #700;
	    background-image: none;
	    border: 1px solid #900;
	    border-width: 1px 0;
	    height: auto;
	    padding: 1px 0;
	}
	#main-menu > div {
	    border: 1px dashed #900;
	    border-width: 1px 0;
	}
	#main-menu a {
		padding: 0 5px !important;
	}
}
#main-menu li:hover {
	background-image:url("../images/menu_hover.png");
	background-position: center;
	background-repeat:no-repeat;
	background-size: 100% 24px;
}
#main-menu li li:hover {
	background:none;
}
#main-menu a {
	color:#fff;
	padding:0 16px;
    position: relative;
    z-index: 1000;
}
#main-menu .content> ul > li:first-child a {
	padding-left:0;
}
#main-menu li:first-child ul {
	left:-1px;
}
#main-menu li:last-child a {
	padding-right:0;
}
#main-menu li ul {
	top:25px;
	border:1px solid #fcf3e3;
	*display:none;
}
#main-menu li ul li a, #main-menu li ul li:last-child a, #main-menu li ul li:first-child a {
	padding: 3px 6px;
	color:#ccc;
}
#content-header {
	margin-top:6px;
}
body.node-type-portal #content-header {
	margin-top:26px;
}
.breadcrumb {
	font-size:11px;
	padding:0 0 15px;
}
.breadcrumb a {
    color: #3D372E;
}

/*TABS*/
ul.primary-links {
    float: right;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 4;
}
ul.primary-links li {
    background-image: none;
    float: left;
    margin: 0;
    padding: 0;
}
ul.primary-links li a, ul.primary-links li a:link, ul.primary-links li a:visited {
    color: #FFFFFF;
    display: block;
    margin: 0 1em;
    padding: 0.75em 0 0;
}
ul.primary-links li a:hover, ul.primary-links li a.active {
    color: #FFFFFF;
}
ul.secondary-links {
    clear: right;
    float: right;
    margin: 0;
    padding: 18px 0 0;
    position: relative;
    z-index: 4;
}
ul.secondary-links li {
    background-image: none;
    float: left;
    margin: 0;
    padding: 0;
}
ul.secondary-links li a, ul.secondary-links li a:link, ul.secondary-links li a:visited {
    background: none repeat scroll 0 0 transparent;
    color: #CDE3F1;
    display: block;
    margin: 0 1em;
    padding: 0.75em 0 0;
}
ul.secondary-links li a:hover, ul.secondary-links li a.active {
    background: none repeat scroll 0 0 transparent;
    color: #CDE3F1;
}
ul.primary, ul.primary li, ul.secondary, ul.secondary li {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    margin: 0;
    padding: 0;
}
#tabs-wrapper {
    background-image: url("../images/hr.jpg");
    background-position: left bottom;
    background-repeat: repeat-x;
    margin: 0 0 1em -2px;
    padding: 0 0 5px;
    position: relative;
}
ul.primary {
    float: right;
    font-size: 11px;
    margin-top: 5px;
    padding: 0 0 25px;
}
ul.secondary {
    background-image: url("../images/hr.jpg");
    background-position: left bottom;
    background-repeat: repeat-x;
    border: medium none;
    clear: both;
    margin: -0.2em 0 1em;
    padding: 0 0 0.6em;
    text-align: left;
}
h2.with-tabs {
    float: left;
    margin: 0 2em 0 0;
    padding: 0;
}
ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited, ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited {
    background-color: #D9B67B;
    border: 0 none;
    color: #FFFFFF;
    height: auto;
    margin: 0 0 0 1px;
    padding: 4px 1em;
    position: relative;
    text-decoration: none;
    top: -1px;
}
ul.primary li.active a, ul.primary li.active a:link, ul.primary li.active a:visited, ul.primary li a:hover, ul.secondary li.active a, ul.secondary li.active a:link, ul.secondary li.active a:visited, ul.secondary li a:hover {
    background-color: #AA0000;
    color: #FFFFFF;
}
ul.primary li.active a, ul.secondary li.active a {
    font-weight: bold;
}
/**/
#content-area, .content-area {
	clear:both;
}

/**ALPHABETHY**/
.contents_index	{
 margin: 10px auto; 
text-align:center;
max-width:1000px;
width:90%;
line-height:130%;
}
.contents_index a	{
    background-color: #D9B67B;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
    color: #fff;
    display: inline-block;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;
    font-weight: bold;
    height: 26px;
    line-height: 25px;
    margin: 1px;
    padding: 0;
    width: 26px;
	position:relative;
	z-index:100;
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
.contents_index a:hover	{
z-index:101;
background-color: #a00;
color:#fff;
text-decoration:none;
   -webkit-transform: scale(1.5,1.5);
   -moz-transform: scale(1.5,1.5);
   -o-transform: scale(1.5,1.5);
   -ms-transform: scale(1.5,1.5);
   transform: scale(1.5,1.5);
}
/*image_in_article*/
.field-field-article-image	{
	float:left;
	width:211px;
	margin-bottom: 20px;
	margin-right:19px;
	padding-right:21px;
	background-image:url("../images/vr.jpg");
	background-position: right top;
	background-repeat:repeat-y;
}
.frame {
	margin: 0;
	padding: 0;
	line-height: normal;
}
.frame8 {
	border: 5px solid #fbf0e0;
	background-color: #fbf0e0;
	border-bottom-width:3px;
}
.frame7 {
	border-right: 1px solid #e3cba6;
	border-bottom: 1px solid #e3cba6;
}
.thumb {
	width:210px;
	height:210px;
	background-color: #fbf0e0;
	border:none;
	border-right: 1px solid #e3cba6;
	border-bottom: 1px solid #e3cba6;
}
.thumb a {
	border: 5px solid #fbf0e0;
}


ul.images li.gallery_item {
	margin: 0;
}
.gallery_item .thumb {
	width: 250px;
	height: 250px;
	margin: 0 0 5px 0;
	overflow: hidden;
}
.gallery_item .thumb a {
	border: 0 none;
	width: 250px;
	height: 250px;
	display:block;
}
.gallery_item .thumb a img {
	/*max-width: 250px;*/
	height: auto;
    object-fit: cover;
    object-position: 50% 50%;
}
.gallery_item h3 {
	padding-right:15px;
	text-align: center;
}

.thumb .frame {
	border:none;
}
.thumb .frame1 {
	width:200px;
	height:200px;
	display:inline-table;
}
ul.galleries li {
	background:none;
	border:3px solid #900;
	height:211px;
	overflow:hidden;
}
ul.gallery_96 li, ul.gallery_381 li {
	height:auto;
	min-height:211px;

}
ul.galleries li .description, ul.galleries li .count {
	padding-left: 222px;
}
ul.galleries li .last {
    background-color: #F00;
    color: #FFF;
    height: 16px;
    line-height: 16px;
    padding: 2px 6px 2px 10px !important;
    position: absolute;
    top: 20px;
    left: 0;
}
.field-field-article-image .content p	{
	text-indent:0;
	font-style:italic;
	text-align:center;
	font-size:13px;
	font-family:"Times New Roman", Times, serif;
	line-height:120%;
	margin-left: 0;
}
.field-field-article-image .content	{
	text-align:center;
}
.field-field-article-image .field-label, .field-field-resume .field-label	{
	display:none;
}
.frame1	{
/*	float:left;
	margin-right: 20px; */
    text-align: center;
}
body.node-type-image .frame1 {
    margin: 20px 0;
}
.thumb .frame1, span.inline-right .frame1, .field-item .frame1 {
	float:none;
	margin-right: 0;
}
.clear-block div.links	{
	clear:left;
	padding-top: 1px;
	font-size:11px;
	text-transform:lowercase;
}
.field-field-image-article {
	padding-top: 20px;
	padding-bottom: 20px;
}
.field-field-image-article .field-item a {
	margin-left: 30px;
}
.block-localizer	{
	float: right;
}
/**/
#content {
	overflow:hidden;
	margin-bottom: 20px;
	clear:both;
       position: relative;
	min-height: 350px;
}
.field-type-nodereferrer .field-item h2, .field-type-nodereference .field-item h2, .field-type-nodereference .field-item .outliner, .field-type-nodereferrer .field-item .outline, .field-type-nodereferrer .field-item .links, .field-type-nodereference .field-item .links, .book-navigation {
    display: none;
}
.node-type-note .links {
    //display: none;
	margin-top: 20px;
}
#content .content h3{
		font-family: Tahoma, Geneva, sans-serif;
		font-weight: bold;
		font-size: 120%;
		margin: 20px 0 5px 0;
		text-indent: 30px;
}
			
#content .content h4{
		font-family: Tahoma, Geneva, sans-serif;
		font-weight: bold;
		font-size: 110%;
		margin: 10px 0 3px 30px;
}
			
#content .content h5{
		font-family: Tahoma, Geneva, sans-serif;
		font-weight: bold;
		font-size: 100%;
		margin: 10px 0 0 30px;
}
			
#content .content h6{
		font-family: Tahoma, Geneva, sans-serif;
		font-weight: bold;
		font-size: 100%;
		margin: 0 0 0 30px;
}
#content .content p {
    font-family: Tahoma,Geneva,sans-serif;
    font-size: 12px;
    line-height: 130%;
    margin-bottom: 0;
    margin-top: 0;
    text-align: justify;
    text-indent: 30px;
}
#content .content .main_text > ul {
	padding: 10px 0 10px 30px !important;
}
#content .content .main_text > ul li {
    text-indent: -15px;
    padding-left: 15px;
}
#content p.ep, .quote-msg, .quote-author {
		font-family:"Times New Roman", Times, serif;
	 	font-style : italic;
	 	margin: 0;
	 	margin-left: 50%;
		text-align:left;
		font-size:13px;
		line-height:110%;
			}
#content p.ep {
	 	margin-left: 30%;
}
#content p:not(.ep) + p.ep, #content p.ep + p:not(.ep) {
		padding-top: 15px !important;
}
#content p.rght_sm + p.ep, #content p.after + p.ep, #content p.ep + p.rght_sm {
		padding-top: 0 !important;
}
#content p.ep.strong, #content p.ep.bold, #content p.ep.strong a, #content p.ep.bold a {font-weight: bold !important;}


.field-field-article-image .content {
    text-align: center;
}
#content .field-field-article-image p {
    font-family: "Times New Roman",Times,serif;
    font-size: 13px;
    font-style: italic;
    line-height: 120%;
    margin-left: 0;
    text-align: center;
    text-indent: 0;
}
.quote-msg, .com_text p.ep 	{
		margin-left: 30px !important;
		background-color:#E8D4B1;
		border:1px solid #D9B67B;
		padding: 6px 10px !important;
		}
.com_text p.ep {
		border-color: #E8D4B1 #D9B67B #D9B67B;
		margin-top: -14px !important;
}
#content .com_text p:not(.ep) + p.ep {
		border-color: #D9B67B;
		margin-top: 15px !important;
		padding-top: 6px !important;
}
.quote-author	{
	 	margin-left: 0;
		margin-top:-4px;
		font-weight:bold;
		font-size:14px;
}
sup, span.marker {
	 	font-size: 9px;
	 	font-family : verdana;
	 	font-weight : bold;
		vertical-align: super;
		line-height: 80%;
		margin-top: 0;
		padding: 0 1px;
	}
#content p.ep sup {
		font-family:inherit;
		font-weight:normal;
		line-height:0;
		vertical-align:3px;
		font-size: 12px;
}
#content .before, #content .first, #content .start, .field-field-book-img	{
	padding-top: 15px;
}
#content .after, #content .last, #content .end	{
	padding-bottom: 15px;
}
.lang {
	display:flex;
	flex-direction: row;
	vertical-align:top;
	position:relative;
	width: 100%;
}
@media screen and (max-width: 600px) {
.lang {
	flex-direction: column;
}
}
.lang > div {
	margin-top: 15px;
	display:block;
	vertical-align:top;
	flex: 1;
	width: auto;
	position:relative;
	padding: 0 10px 0 32px;
}
.lang > div:last-child {
	padding-right: 0;
}
.langs > div {
	width: 5%;
}
.lang > div[class]:before {
	content: attr(class);
	text-transform:uppercase;
	position: absolute;
	width: 24px;
	height: 24px;
	background-position: center;
	background-repeat: no-repeat;
	left: -2px;
	top: -6px;
	border: 2px solid #fbf0e0;
	border-radius: 30px;
	-webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
	/*background-size: 40px auto;*/
	background-size: 26px auto;
	line-height:24px;
	text-align:center;
	text-align: center;
	color: #fff;
	font-size: 9px;
	font-family: Arial, Helvetica, sans-serif;
	text-indent:50px;
	overflow:hidden;
	white-space:nowrap;
	text-shadow: 0px 0px 7px #7b6a50;
    filter: dropshadow(color=#7b6a50, offx=0, offy=0);
background-image: url('/images/flags/globe.jpg');
}
.lang:hover > div[class]:before {
	text-indent:0;
	line-height:66px;
	overflow:visible;
}

.lang .rus:before, .lang .russia:before, .lang .russian:before, .lang .ru:before {
	background-image: url('/images/flags/ru.png') !important;
	content: 'RUS' !important;
}
.lang .rutul:before, .lang .rut:before {
	background-image: url('/images/flags/rutul.png') !important;
	content: 'RUT' !important;
}
.lang .nogai:before, .lang .nog:before {
	background-image: url('/images/flags/runog.png') !important;
	content: 'NOG' !important;
}

.lang .mordva:before, .lang .mdf:before, .lang .mordvin:before, .lang .mordvins:before, .lang .mmo:before, .lang .myv:before, .lang .moe:before {
	background-image: url('/images/flags/rumo.png') !important;
	content: 'MDF' !important;
}
.lang .myv:before, .lang .moe:before {
	content: 'MYV' !important;
}


.lang .vep:before, .lang .vepsan:before, .lang .veps:before, .lang .vepsia:before, .lang .vepsian:before {
	background-image: url('/images/flags/vep.png') !important;
	content: 'VEP' !important;
}
.lang .it:before, .lang .ita:before, .lang .italian:before, .lang .italy:before, .lang .italia:before {
	background-image: url('/images/flags/it.png') !important;
	content: 'ITA' !important;
}
.lang .de:before, .lang .germany:before, .lang .deu:before, .lang .ger:before, .lang .deutsche:before {
	background-image: url('/images/flags/de.png') !important;
	content: 'GER' !important;
}
.lang .nor:before, .lang .no:before, .lang .norsk:before, .lang .norge:before {
	background-image: url('/images/flags/no.png') !important;
	content: 'NOR' !important;
}
.lang .lit:before, .lang .lithuania:before, .lang .lt:before, .lang .ltu:before {
	background-image: url('/images/flags/lt.png') !important;
	content: 'LIT' !important;
}
.lang .latvia:before, .lang .latvian:before, .lang .lv:before, .lang .lva:before, .lang .ltv:before, .lang .ltv:before, .lang .lav:before, .lang .lvs:before, .lang .latv:before {
	background-image: url('/images/flags/lv.png') !important;
	content: 'LTV' !important;
}
.lang .eesti:before, .lang .ee:before, .lang .est:before, .lang .esto:before, .lang .estonia:before, .lang .eatonian:before, .lang .ekk:before, .lang .et:before {
	background-image: url('/images/flags/ee.png') !important;
	content: 'EST' !important;
}
.lang .zh:before, .lang .china:before, .lang .zhi:before, .lang .chi:before {
	background-image: url('/images/flags/cn.png') !important;
	/*background-position: -2px -7px !important;*/
	content: 'CHN' !important;
}
.lang .jp:before, .lang .ja:before, .lang .jpn:before, .lang .japan:before, .lang .japanese:before {
	background-image: url('/images/flags/jp.png') !important;
	content: 'JPN' !important;
}

#content .lang .jp p:not(.rght_sm), #content .lang .ja p:not(.rght_sm), #content .lang .jpn p:not(.rght_sm), #content .lang .japan p:not(.rght_sm), #content .lang .japanese p:not(.rght_sm), 
#content .lang .zh p:not(.rght_sm), #content .lang .china p:not(.rght_sm), #content .lang .zhi p:not(.rght_sm), #content .lang .chi p:not(.rght_sm) {
	font-size: 16px !important;
    	line-height: 140% !important;
    	text-indent: 0 !important;
    	font-style: normal;
	padding-right: 10px;
}

.lang .eng:before, .lang .english:before, .lang .en:before {
	background-image: url('/images/flags/gb.png') !important;
	content: 'ENG' !important;
}
.lang .francias:before, .lang .fra:before, .lang .fre:before, .lang .france:before, .lang .french:before, .lang .fr:before {
	background-image: url('/images/flags/fr.png') !important;
	content: 'FRA' !important;
}
.lang .fi:before, .lang .fin:before, .lang .finnish:before, .lang .suomi:before, .lang .suomen:before, .lang .finland:before {
	background-image: url('/images/flags/fi.png') !important;
	content: 'FIN' !important;
}
.lang .da:before, .lang .dan:before, .lang .dansk:before, .lang .dk:before, .lang .den:before, .lang .denmark:before, .lang .danmark:before {
	background-image: url('/images/flags/dk.png') !important;
	content: 'DAN' !important;
}
.lang .mt:before, .lang .mlt:before, .lang .maltese:before, .lang .malta:before {
	background-image: url('/images/flags/mt.png') !important;
	content: 'MLT' !important;
}


.lang .blr:before, .lang .belarus:before, .lang .by:before {
	background-image: url('/images/flags/byn.png') !important;
	content: 'BLR' !important;
}
.lang .brr:before, .lang .belarus-off:before, .lang .by-off:before {
	background-image: url('/images/flags/by.png') !important;
        /*background-position: -2px center !important;*/
	content: 'BLR' !important;
}
.lang .cz:before, .lang .czech:before, .lang .cze:before {
	background-image: url('/images/flags/cz.png') !important;
	content: 'CZE' !important;
}
.lang .pl:before, .lang .poland:before, .lang .pol:before {
	background-image: url('/images/flags/pl.png') !important;
	content: 'POL' !important;
}

.lang .sr:before, .lang .rs:before, .lang .serbia:before, .lang .serbian:before, .lang .srb:before {
	background-image: url('/images/flags/rs.png') !important;
	content: 'SRB' !important;
}

.lang .is:before, .lang .iceland:before, .lang .isl:before {
	background-image: url('/images/flags/is.png') !important;
	content: 'ISL' !important;
}
.lang .ukr:before, .lang .ukrain:before, .lang .ua:before {
	background-image: url('/images/flags/ua.png') !important;
	content: 'UKR' !important;
}
.lang .rus-old:before, .lang .ru-old:before {
	background-image: url('/images/flags/ruo.png') !important;
	content: 'RUS' !important;
}
.lang .latin:before {
	background-image: url('/images/flags/romul.png') !important;
	background-size: 32px auto !important;
	content: 'LAT' !important;
}
.lang .esp:before, .lang .spain:before, .lang .es:before {
	background-image: url('/images/flags/es.png') !important;
	content: 'ESP' !important;
}
.lang .espv:before, .lang .BAQ:before, .lang .baq:before, .lang .eus:before, .lang .basque:before, .lang .euskara:before {
	background-image: url('/images/flags/espv.png') !important;
	content: 'BAQ' !important;
}
.lang .pt:before, .lang .por:before, .lang .portugal:before, .lang .portuguesa:before, .lang .portuguese:before {
	background-image: url('/images/flags/pt.png') !important;
	content: 'POR' !important;
}
.lang .nl:before, .lang .ned:before, .lang .holland:before {
	background-image: url('/images/flags/nl.png') !important;
	content: 'NED' !important;
}
.lang .greece:before, .lang .grc:before, .lang .gr:before {
	background-image: url('/images/flags/gr.png') !important;
	content: 'GRC' !important;
}
.lang .swe:before, .lang .sv:before, .lang .se:before, .lang .sweden:before {
	background-image: url('/images/flags/se.png') !important;
	content: 'SWE' !important;
}
.lang .kom:before, .lang .ru-ko:before, .lang .komi:before {
	background-image: url('/images/flags/ruko.png') !important;
	content: 'KOM' !important;
}


#content .lang p.ep, #content .langs p.ep {
	margin-left: 0;
}
#content .lang > div p.before:first-child, #content .lang > div p.first:first-child, #content .lang > div p.start:first-child {
	padding-top: 0;
}

.left_side {
	margin-left: -300px !important; 
	clear: both;
}
a.self_link, a:not([href]) {
		background-color:#fbf0e0; 
		color:#333;
	 	font-weight: normal;
}
strong a.self_link, strong a:not([href]) {
	 	font-weight: bold;
}
a.self_link:hover, a:not([href]):hover {
	text-decoration:none;
}
a.self_link[href] {
	color: #f00;
}
a.self_link[href]:hover {
	color: #f00;
	text-decoration: underline;
}
#edit-field-books-nids, #edit-field-article-image-nids, #edit-field-book-img-nids	{
		width:95%;
	}

.field-field-books, .field-field-autors-addlinks, .field-field-book-img, .field-field-online-sources, .field-field-snx, .field-field-autors-from-userlist, #content .content p.rght_sm	{	
	 	margin: 2px 0 20px 70px;
	 	text-align: right;
	 	font-family : Verdana, Arial, Helvetica, sans-serif;
	 	font-size: 10px;
	 	font-style : italic;
		line-height:110%;
}
.field-field-article-status {
    clear: left;
    float: left;
    font-size: 10px;
    line-height: 12px;
    margin: 0 0 10px;
    width: 50%;
}
.field-field-snx	{
	margin-top: -20px;
	margin-left: 30%;
}
.field-field-subnames .node .content	{
	font-weight:bold;
}
#content .field-type-nodereferrer .content p	{
	display:inline;
	font-weight:normal;
	text-indent: 0;
}
.field-field-subnames	{
	margin-bottom: 20px;
	font-size:11px;
/*	margin-left: 270px; 
       display:none;*/
}
.field-field-subnames .field-item	{
/*	padding-left:32px;
	text-indent:-32px; */
}
.field-field-subnames .field-item	{
	padding-left: 300px;
	text-indent: -30px;
}
.subname_title {
	color:#c00;
	font-weight:bold;
}
.subname_teaser, .text_ru, .text_by, .text_ua, .text_en, .text_pl {
	display:none;
}

.language_selected_ru .subname_ru_teaser, .language_selected_ru .text_ru, .language_selected_ru ~ .field-type-text .text_ru,
.language_selected_by .subname_by_teaser, .language_selected_by .text_by, .language_selected_by ~ .field-type-text .text_by,
.language_selected_ua .subname_ua_teaser, .language_selected_ua .text_ua, .language_selected_ua ~ .field-type-text .text_ua,
.language_selected_pl .subname_pl_teaser, .language_selected_pl .text_pl, .language_selected_pl ~ .field-type-text .text_pl,
.language_selected_en .subname_en_teaser, .language_selected_en .text_en, .language_selected_en ~ .field-type-text .text_en {
 	display:inline;
}

.language_selected_en .subname_no-eng, 
.language_selected_pl .subname_no-pol, 
.language_selected_by .subname_no-blr, 
.language_selected_ua .subname_no-ukr, 
.language_selected_ru .subname_no-rus {
	display:none;
}

.field-field-snx div, .field-field-autors-from-userlist div	{
	font-weight:bold;
	display:inline;
 	font-size: 11px;
}
#content .content .field-field-autors-from-userlist div div p	{
	display:inline;
	line-height:inherit;
	text-indent:0;
	margin:0;
	padding:0;
 	font-family : Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
 	font-style : italic;
}

.node-list-index li {
display: inline;
list-style: none;
padding: 0 5px;
background:none;
}
.node-list-index {
text-align: center; 
float: center;
line-height: 100%; 
list-style: none;
list-style-type:none;
margin: 10px 1px;
padding: 5px;
text-transform:uppercase;
font-weight:bold;
}
.node-list {
text-align: left; 
float: center;
line-height: 100%; 
margin: 10px 1px;
padding: 5px;
}
.node-list h3 {
text-transform:uppercase;
font-weight:bold;
}

/**NEW_IMAGES_AND_CREATURES_ON_MAIN**/
.view-tracker-images tbody, .view-tracker-creatures tbody {
	border:none;
}
.view-tracker-images table, .view-tracker-creatures table {
	margin: 0;
}
.view-tracker-creatures table {
	margin:-4px 0 0 0;
}
.view-tracker-images tr, .view-tracker-images td, .view-tracker-creatures tr, .view-tracker-creatures td {
	display:block;
	padding: 0;
	clear:both;
}
.view-tracker-creatures .view-item-tracker_creatures {
	margin: 5px 0 0 2px;
}
.view-tracker-creatures p {
	padding: 0;
	margin: 0;
	float:left;
}
.view-tracker-images td .view-item-tracker_images, .view-tracker-creatures td .view-item-tracker-creatures {
	width: 100%;
}
.view-tracker-images .view-item-tracker_images div, .view-tracker-creatures .view-item-tracker_creatures div {
	font-size:10px;
	line-height: 10px;
}
.view-tracker-images .view-label, .view-tracker-images .view-data-node_changed, .view-tracker-creatures .view-label {
	float:left;
	padding-right: 3px;
}
.view-tracker-creatures .view-data-node_counter_totalcount, .view-tracker-creatures .view-data-node_data_field_autors_from_userlist_field_autors_from_userlist_value, .view-tracker-creatures .view-data-node_comment_statistics_comment_count, .view-tracker-creatures .view-data-node_comment_statistics_last_comment_name {
	float:left;
}
.view-tracker-images .view-item-tracker_images .view-data-image_nid {
	float:left;
	width: 50px;
	height: 50px;
	padding: 3px;
	text-align:center;
	vertical-align:middle;
	border:none;
	border-bottom: 1px solid #E3CBA6;
	border-right: 1px solid #E3CBA6;
	background-color:#FBF0E0;
	margin: 3px 5px 0 0;
	line-height: 46px;
}
.view-tracker-images .view-data-image_nid img, .view-creature-gallery-block img {
	vertical-align:middle;
}
.cti_node_titles {
	padding: 0 0 2px 0;
	width:200px;
	min-width:200px;
}
.cti_node_titles .text-link a {
	display:block;
	height:52px;
	padding-top:2px;
	margin-left:60px;
}

.view-tracker-images .view-item-tracker_images .view-data-node_title, .view-tracker-creatures .view-item-tracker_creatures .view-data-node_data_field_resume_field_resume_value p {
	font-size:12px;
	line-height:14px;
	margin-bottom:3px;
	float:none;
}
.view-tracker-creatures .view-item-tracker_creatures .view-data-node_title {
	font-size:17px;
	line-height:14px;
	padding-top:2px;
}
.view-tracker-creatures .view-label, .view-tracker-creatures .view-data-node_changed, .view-tracker-creatures .view-data-node_comment_statistics_last_comment_timestamp {
	color:#888;
}
.view-content-tracker-creatures br {
	display:none;
}

  .bue-spchars {
    width: 360px;
  }
  .bue-spchars a {
    display: inline-block;
    font: 16px courier new;
    //padding: 0 4px;
    margin: 2px;
    border: 1px solid #ccc;
    background-color: #eee;
    color: #555;
    text-decoration: none !important;
    height: 18px;
    width: 18px;
    vertical-align: top;
    text-align: center;
    line-height: 18px;
  }
  .bue-spchars a:hover {
    background-color: #fff;
  }


/*self-writed front-end*/

.tracker-creature {
	margin: 0 0 7px;

}
.tracker-creature-created, .tracker-creature-add {
	font-size:10px;
	line-height:10px;
	color:#888;
}

.tracker-creature-title, #content .content .class_tree h3  {
	font-size:17px;
	line-height:14px;
	padding: 3px 0 3px;
    	font-family:Georgia, "Times New Roman", Times, serif;
	text-indent: -1px;
}
.tracker-creature-resume {
	line-height:14px;
	margin: 0 15px 3px 0;
}
/**/

.outliner {
	margin: 0 -10000px;
	/*padding: 20px 10000px 20px 9750px;*/
	padding: 20px 10000px;
	background-color:#000;
	clear: both;
	position: relative; 
	min-height: 130px;
	margin-top: 20px;
}
.links {
    background-color: #FEFFA5;
    font-size: 11px;
    margin: 0 -10000px 30px;
    padding: 6px 9995px;
    text-transform: lowercase;
	clear: both;
}
.content + .links {
	margin-top: 30px;
}
.taxonomy {
    color: #666666;
    font-size: 11px;
    /*margin-left: 25%;*/
    margin-left: 0;
}
body.node-type-book .taxonomy, body.node-type-fairytale .taxonomy.terms, body.node-type-source .taxonomy.terms, .view-content-books-tisers .taxonomy.terms {
    min-height: 330px;

}
.view-content-books-tisers .this-book-content {
	display:none;
}
.taxonomy .field-label {
	font-weight:bold;
}
.taxonomy .term {
    margin-left:0;
}

@media screen and (max-width: 767px) {
	.taxonomy {
    		margin-left:0;
	}
	.hide-on-smart {
		display:none;
	}
}
@media screen and (max-width: 500px) {
	.taxonomy .term {
    		margin-left:0;
		clear:both;
	}
}

.taxonomy_link {
    white-space: nowrap;
}
.map_images {
    background-image: url("../images/map.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    float: left;
    height: 320px;
    margin: 5px 0;
    text-align: center;
    width: 500px;
	_display:none;
}
.map_terms {
	font-size:11px;
	line-height:110%;
}
.map_image {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    width: 500px;
    height: 320px;
    position: absolute;
    z-index: 10;
}
.map_image_selected, .map_image:first-child:last-child {
	background-position: center -320px;
	z-index:100;
} 

#footer, .black_separator {
	background-color:#000;
	padding: 20px 0;
	font-size:11px;
}
#footer {
/*	margin-top:-170px;
*/
	height:150px;
	padding: 0 0 20px;
}

/*share42*/
form.fivestar-widget, .fivestar-static-form-item {
    	margin: 20px 0;
	padding-top: 10px;
    min-height: 46px;
	clear:both;
}
.share_links {
   display:none;
}
body.node-type-book .share_links, body.node-type-image .share_links {
   display:block;
   position:absolute;
   top:-100px;
   right:0;	
}
@media screen and (max-width: 767px) {
	body.node-type-book .share_links, body.node-type-image .share_links {
	    position: relative;
	    top: 0;
	    margin: 0 0 15px;
	    padding: 0;
	    height: auto;
	}
}
body.node-type-book .field-type-nodereference .share_links {
   display:none;
}
.share_links {
    height: 40px;
    margin: 0 0 0 180px;
    padding: 15px 0 25px;
}
#share42 {
  display: inline-block;
  padding: 12px 8px 6px 14px;
  background: #FBF0E0;
  border: 1px solid #F2DFBE;
    border-bottom: 1px solid #E3CBA6;
    border-right: 1px solid #E3CBA6;
//  border-radius: 6px;
}
#share42:hover {
  background: #F6F6F6;
  border: 1px solid #D4D4D4;
  box-shadow: 0 0 5px #DDD;
}
#share42 a {opacity: 0.5; margin: 0 4px 6px 0 !important;}
#share42:hover a {opacity: 0.7}
#share42 a:hover {opacity: 1}


/*self-writed content-list*/
.content-table-index, .content-table-index div, .content-table-index td {
	font-size:11px;
	font-family:Tahoma, Geneva, sans-serif;
	line-height:12px;
	color:#888;
}
.cont_value {
	color:#494949;
}
.cti_node_titles {
	font-size:12px;
	color:#494949;
	padding-right: 15px;
}
.cont_stars_0, .cont_stars_1 {
	width:80px; 
	height:16px; 
	background-image:url("../images/star.png");
	margin: 0 0 5px;
}
.cont_stars_1 {
	background-position:0 -32px;
	margin: 0;
}
.cti_node_rating div {
	white-space:nowrap;
}
.result-date {
	color:#C00;
	font-weight:bold;
	padding-bottom:10px;
	text-indent: 30px;
}
.cti_node_titles {
	padding: 0 10px 0 0;
	width:500px;
	height:62px;
	//min-width:300px;
}
.cti_node_titles .text-link a {
    display: block;
    //height: 52px;
    margin: 0 10px 0 70px;
}
#content .content .cti_node_titles .text-link a h4 {
    font-family:Georgia, "Times New Roman", Times, serif;
    font-size: 17px;
    line-height: 19px;
	margin: 4px 0 1px 0;
	font-weight:normal;
}
#content .content .cti_node_titles .text-link a span {
	color: #888;
}
#content .content .cti_node_titles .text-link a:hover {
	text-decoration:none;
}
#content .content .cti_node_titles .text-link a:hover h4 {
	text-decoration:underline;
}
.cti_node_titles .view-creature-gallery-block img {
    float: left;
    height: 62px;
    width: 62px;
}

#content .content .view p, .view .view-content-cult p, .view .view-content-zoo p, .view .view-content-bio p, .view .view-content-worlds p, .view .view-content-zoo p, .view .view-content-geo p {
	text-indent: 0;
	padding-left: 15px;
	font-size: 11px;
	font-family:Tahoma, Geneva, sans-serif;
	background-image:url("../images/line.gif");
	background-repeat:no-repeat;
	background-position:-2px 2px;
	margin-bottom:0;
	margin-top:0;
}
.node .content .view td, .view .view-content-cult td, .view .view-content-zoo td, .view .view-content-bio td, .view .view-content-worlds td, .view .view-content-zoo td, .view .view-content-geo td {
	vertical-align:baseline;
}
.view-content td, .view-content th {vertical-align:top;}

 .view .view-content-class td.view-field-node-title, .view .view-content-cult td.view-field-node-title, .view .view-content-zoo td.view-field-node-title, .view .view-content-bio td.view-field-node-title, .view .view-content-worlds td.view-field-node-title, .view .view-content-zoo td.view-field-node-title , .view .view-content-geo td.view-field-node-title {
	white-space:normal;
 }

@media screen and (min-width: 1000px) {
 .view .view-content-class td.view-field-node-title, .view .view-content-cult td.view-field-node-title, .view .view-content-zoo td.view-field-node-title, .view .view-content-bio td.view-field-node-title, .view .view-content-worlds td.view-field-node-title, .view .view-content-zoo td.view-field-node-title , .view .view-content-geo td.view-field-node-title {
	white-space:nowrap;
 }
}

.term_header_map {
/*background-color:#FBF0E0;*/
border: none;
/*border-bottom:#b99047 solid 1px;*/
/*border-right:#b99047 solid 1px;*/
display:block;
margin:3px 0 10px 0;
float:left;
}
.term_header_map .map_images {
	margin:0;
}
.view-header-cult, .view-header-geo {
    display: flex;
    flex-direction: row;
    display: flex;
    flex-direction: row;
    margin: 0 -2000px;
    padding: 20px 2000px;
    background-color: #000;
    color: #666;
}
@media screen and (max-width: 800px) {
.view-header-cult, .view-header-geo {
    flex-direction: column;
}}
.view-content-cult, .view-content-geo {
	clear:left;
}
.term_header_desc {
	margin: 1px 0 0 0;
}
.term_header_desc .terms {
	line-height:115%;
	text-align:left;
	width: 100%;
	float:none;
}
.term_header_desc .term {
	text-indent: 20px;
}
.term_header_desc .terms .field-label {
	margin: 10px 0 2px;
    font-weight: bold;
}

/**RECAPCHA**/
#recaptcha_image {
	border: none;
	background-color:#FBF0E0;
	border-bottom: 1px solid #E3CBA6;	
	border-right: 1px solid #E3CBA6;
	padding: 5px;	
}
.recaptcha_only_if_image, .recaptcha_only_if_audio, .recaptcha_help {
	display:none;
}
.recaptcha_get_another_captcha a {
	position:absolute;
	display:block;
	width:310px;
	height:67px;
	margin:-108px 0 0;
	white-space:nowrap;
	text-indent: 400px;
	overflow:hidden;
}
#recaptcha_response_field {
	margin: 10px 0;
	width: 306px;
	background-color:#FBF0E0;
	border:1px solid #8A806F;
	height:16px;
	padding-left:3px;
}
/****/
#comments {
	clear: both;
}
#comment-form .form-item label {
	display:block;
	float:left;
	width: 150px;
	height:20px;
	clear:left;
}
#comment-form #edit-comment-wrapper label, #comment-form #edit-notify-wrapper label {
	float:none;
	width:auto;
}
.editor-container br {
	display:none;
}

.imagecache-user_image_small {
	float:right;
}
.main_text .view-class {
	//margin-left: -270px;
	//clear: both;
}

.field-field-autors-years div	{
	display:inline;
	margin-right: 3px;
}
.field-field-autors-years	{
	margin-bottom: 15px;
}
.field-field-autors-years .field-label {
	padding-left: 30px;
}
.field-field-autors-works-all, .field-field-autors-works, .field-type-link, .field-field-autor-gallery 	{
	margin-top: 15px;
}
.field-field-autors-works {
	clear: both;
}
.field-field-autors-works .field-item, .field-field-autor-gallery .field-item, .field-type-link .field-item	{
	margin-left: 30px;
}

.field-field-source-number, .field-field-source-title, .field-field-source-autor, .field-field-source-place, .field-field-source-publisher, .field-field-source-year, .field-field-source-isbn, .field-field-source-editor, .field-field-source-title-string, .field-field-source-series, .field-field-source-tom, .field-field-source-articles, .field-field-source-tales, .field-field-source-images, .field-field-source-periodic-name, .field-field-source-periodic-number, .field-field-source-pages, .field-field-book-language {
	margin: 8px 0 8px 10px;
	clear:left;
}
.field-field-source-number .field-label, .field-field-source-title .field-label, .field-field-source-autor .field-label, .field-field-source-place .field-label, .field-field-source-publisher .field-label, .field-field-source-year .field-label, .field-field-source-isbn .field-label, .field-field-source-editor .field-label, .field-field-source-title-string .field-label, 
.field-field-source-series .field-label, .field-field-source-tom .field-label, .field-field-source-periodic-name .field-label, .field-field-source-periodic-number .field-label, .field-field-source-pages .field-label, .field-field-book-language .field-label	{
	width: 250px;
	float: left;
	border-bottom: 1px dotted #D9B67B;
}
.field-field-source-articles .field-label, .field-field-source-tales .field-label, .field-field-source-images .field-label {
    
}
.field-field-source-number .field-items, .field-field-source-title .field-items, 
.field-field-source-autor .field-items, .field-field-source-place .field-items, 
.field-field-source-publisher .field-items, .field-field-source-year .field-items, 
.field-field-source-isbn .field-items, .field-field-source-editor .field-items, 
.field-field-source-title-string .field-items, .field-field-source-series .field-items, 
.field-field-source-tom .field-items,  
.field-field-source-periodic-name .field-items, .field-field-source-periodic-number .field-items, 
.field-field-source-pages .field-items, .field-field-book-language .field-items {
	margin-left: 250px;
}
.field-field-source-articles, .field-field-source-tales, .field-field-source-images {
	margin: 10px 0;
	clear:both;
}
.field-field-source-articles .field-items /*, .field-field-source-tales .field-items, .field-field-source-images .field-items */ {
	margin: 0;
	column-width: 200px;
}
/*
.field-field-source-tales .field-items, .field-field-source-images .field-items {
	column-width: 400px;
}*/
.field-field-source-articles .field-label, .field-field-source-tales .field-label, .field-field-source-images  .field-label {
	font-size: 19px;
	border: none;
	width: 95%;
	max-width: 1000px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	line-height: 30px;
}
.field-field-source-articles .field-items, .field-field-source-tales .field-items, .field-field-source-images  .field-items {
	display: block;
	margin: 10px 0;
	max-width: 1000px;
	//width: 95%;
}
.field-field-source-articles .field-item, .field-field-source-tales .field-item, .field-field-source-images  .field-item {
	margin: 0;
	padding: 0 0 0 20px;
	/*display: inline-block;
	min-width: 250px;*/
	text-indent: -10px;
   -webkit-column-break-inside:avoid;
    break-inside:avoid;
}
.field-field-source-images  .field-item, .field-field-source-tales .field-item {
	max-width: 1000px;
	width: 95%;
}
.field-field-source-articles 	{
	margin-top: 25px;
}
.field-field-source-images	{
	margin-bottom: 15px;
}
.field-field-source-title .field-item	{
	font-weight:bold;
}
.view-books-list li	{
	background: none;
}
.view-books-list .view-data-node-data-field-source-number-field-source-number-value	{
	display: block;
	float:left;
	width: 40px;
	text-align:right;
}
.view-books-list .view-data-node-title	{
	margin-left: 50px;
}
.field-field-book-cover {
	float:right;
	margin: 0 0 15px 15px;
}
.field-field-book-cover img {
	padding: 5px;
	background-color:#FBF0E0;
	border-bottom:1px solid #E3CBA6;
	border-right: 1px solid #E3CBA6;
}
div.group-personphoto {
background-image:url(images/vr.jpg);
background-position:right top;
background-repeat:repeat-y;
float:left;
margin:0 11px 100px 0;
padding:0 12px 0 0;
}
div.group-personphoto .content {
	margin:0;
	padding:0;
}
.group-personphoto .field-field-persones-avatare-desc {
color:#777;
font-family: Arial, Helvetica, sans-serif;
font-size:9px;
text-align:right;
text-indent:0;
width:111px;
line-height:130%;
}
.group-personphoto .field-field-persones-avatares {
	margin-bottom: 5px;
}
.group-personphoto .field-field-persones-avatares .field-item {
	height: 100px;
	width: 100px;
	padding: 5px;
	background-color:#FBF0E0;
	border:none;
	border-bottom:1px solid #E3CBA6;
	border-right:1px solid #E3CBA6;

}
.field-field-book-index ul li {
	padding-left: 30px;
}
.field-field-book-index ul li ul li {
	padding-left: 50px;
}
.field-field-book-index ul li ul li ul li {
	padding-left: 70px;
}
.field-field-book-index ul li ul li ul li ul li {
	padding-left: 90px;
}
.field-field-book-index ul li ul li ul li ul li ul li {
	padding-left: 110px;
}
.field-field-persones-photo-ref {
	margin-top:15px;
	text-indent:30px;
}

body.section-taxonomy .outliner, body.section-taxonomy .links, body.section-worlds .outliner, body.section-worlds .links {
	display:none;
}
body.section-taxonomy .node-title, body.section-worlds .node-title {
    font-family: Tahoma,Geneva,sans-serif;
    font-size: 12px;
	float:left;
	clear:both;
}
body.section-taxonomy .node-title:after, body.section-worlds .node-title:after {
	content:" — ";
	color: #494949;
}
body.section-taxonomy #content .content p, body.section-worlds #content .content p {
	margin-left:30px;
	text-indent:5px;
}

body.section-taxonomy #content-area, body.section-worlds #content-area {
	margin-bottom:20px;
}
body.section-taxonomy #content-area .pager, body.section-worlds #content-area .pager {
	margin: 20px 0 -20px;
}
.view-field .links {
	background:none;
}

/*comments*/
#comments h2 {
	margin: 20px 0 10px 0;
}
.indented {
	margin-left:0;
	padding-left:25px;
}
.com_table {
	border-collapse: separate;
	margin: 0;
	}
.com_table td {
	vertical-align:top;
	border: 1px solid #E7CC9E;
	font-family: Tahoma,Geneva,sans-serif;
}
.com_col_info {
	width:20%;
	text-align: center;
}
.com_autor_info .picture a {
    width: 50px;
    height: 50px;
    border: 2px solid #988a73;
    display: block;
    margin: 0 auto 5px;
    border-radius: 50px;
    overflow: hidden;
    background-color: #fff;
}
.community_square_user img {
	border-radius:50px;
	overflow:hidden;
}
.com_autor_online .picture a {
	border-color:#a00;
}
.com_autor_info {
	background-color: #E8D4B1;
	padding: 7px;
}
.com_table .com_text {
	max-width:750px;
	position:relative;
}
.com_table .com_text p {
	padding: 0 5px;
}
.com_table .com_text .com_from {
	display:block;
	background-image:url("../images/from.png");
	background-repeat:no-repeat;
	width:13px;
	height:25px;
	position:absolute;
	top:6px;
	left:-13px;
}
.com_table .com_text p:first-child, .com_table .com_text p:last-child {
	margin:0;
}
.com_table .com_autor_name, .com_table .com_title {
	font-family:Georgia, "Times New Roman", Times, serif;
    	font-size: 18px;
    	padding: 7px;
	border: 1px solid #D9B67B;
	background-color: #DCBF8E;
}
.com_table_new td {
	border: 1px solid #D9B67B;
}
.com_table_new .com_autor_name, .com_table_new .com_title {
	border: 1px solid #900;
	background-color: #a00;
	color:#fff;
}
.com_table_new .com_autor_name a, .com_table_new .com_title a {
	color:#eee;
}
.com_table .com_title {
	padding: 7px 10px;
}
.com_table_new .com_title, .com_table_unpublished .com_title {
	padding: 5px 10px 7px;
}
.com_table_new .com_title .com_mark_new, .com_table_unpublished .com_title .com_mark_unpublished {
    	color: #fff;
    	font-size: 11px;
    	vertical-align: super;
	font-weight: bold;
}
.com_table .com_autor_online .user_status {
    background-color: #AA0000;
    color: #FFFFFF;
    display: inline;
    margin-left: -3px;
    padding: 1px 3px;
}
.com_table .com_links, .com_table .com_date, .com_table .com_links .links {
	background-color: #E8D4B1;
}
.com_table .imagecache-user_image_small {
	float:none;
}
.com_table .karma_form div {
	display: inline;
}
.com_autor_info, .com_links, .com_date {
	font-size:11px;
}
.karma_3_small .karma_score {
    background-color: #FBF0E0;
    border: 1px solid #D9B67B;
    color: #333333;
    display: inline-block;
    font-size: 11px;
    height: 12px;
    line-height: 11px;
    padding: 0 10px;
    vertical-align: bottom;
}
.main_text {
	padding:0 0 20px 270px; 
	max-width:1000px; 
	margin:0 auto;
}
/*in_node_gallery*/
.in_node_gallery {
	width:250px;
	overflow: hidden;
	float:left;
	margin-bottom:20px;
    border-bottom: 1px solid #E3CBA6;
    border-right: 1px solid #E3CBA6;
	position: relative;
	z-index: 200;
}
.in_node_gallery_ad {
	border:none;
}
.node-gallery-item {
	display:block;
	float:left;
	position:relative;
	background-color: #FBF0E0;
	width:125px;
	height:125px;
}

@media screen and (min-width: 768px) {
	.node-gallery-imagesize-250 {
		width:250px;
		height:250px;
	}
}
@media screen and (max-width: 767px) {
	.in_node_gallery {
		width:100%;
		border: none !important;
		height:auto !important;
	}
	.in_node_gallery .adsbygoogle {
		display:none !important;
	}
	.main_text {
		padding-left:0;	
	}
	.node-gallery-item {
		width:16.666%;
		overflow: hidden;	
	}
	.field-field-subnames .field-item {
		padding-left: 30px;
              clear:both;  
	}

}
@media screen and (max-width: 625px) {
	.node-gallery-item {
		width:20%;
	}
}
@media screen and (max-width: 500px) {
	.node-gallery-item {
		width:25%;
	}
}
@media screen and (max-width: 375px) {
	.node-gallery-item {
		width:33.3%;
	}
}
.node-gallery-images-icon {
	position:absolute;
}
.node-gallery-title {
	position:absolute;
	display:block;
 	background-color:#000;
	background-color: rgba(0,0,0, 0.8);
	color:#fff;
	font-family: Tahoma,Geneva,sans-serif;
	font-size:11px;
	padding:10px;
	left:100%;
	//min-width: 105px;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	overflow:hidden;
}
.node-gallery-item .node-gallery-title {
	width: 84%;
	height: 105px;
	padding-right:135px;
}
@media screen and (min-width: 768px) {
.node-gallery-imagesize-250 .node-gallery-title {
	font-size: 17px;
	height: 230px;
	line-height: 22px;
	width: 230px;
}}
.node-gallery-item:hover {
	text-decoration: none;
}
.node-gallery-item:hover .node-gallery-title {
	left:0;
	text-decoration: none;
}

.language_selected_en #block-menu-272, .language_selected_pl #block-menu-272, 
.language_selected_en #block-menu-308, .language_selected_pl #block-menu-308, 
.language_selected_ru #block-menu-353, .language_selected_by #block-menu-353, .language_selected_ua #block-menu-353, 
.language_selected_ru #block-menu-349, .language_selected_by #block-menu-349, .language_selected_ua #block-menu-349, 
.language_selected_en #block-menu-283, .language_selected_pl #block-menu-283, 
.language_selected_ru #block-menu-362, .language_selected_by #block-menu-362, .language_selected_ua #block-menu-362 {
    display:none;
}

#admin-menu, #admin-menu ul {
    z-index: 2000;
}
#block-block-15 {
	border-right: 1px solid #E3CBA6;
	border-bottom: 1px solid #E3CBA6;
	background-color: #FBF0E0;
	margin: 10px 0;
	padding: 10px 30px 10px 60px;
}

#block-block-15  .content p {
	font-size: 11px;
	text-indent:-30px;
	text-align: left;
}
.galleries .last {
	padding-bottom: 0;
}

.node-type-fairytale .lang {
	margin-bottom: 20px;
}
#block-block-15 .lang {
	margin: 10px 0 20px -15px;
}

#block-block-15 .content .appendix .lang p {
	text-indent: 15px;
	text-align:justify;
	margin-left: 0;
}
.content img {max-width:100%;height:auto;}
.content .node-gallery-item img {max-width:inherit; max-height:100%;}
.content #map img {max-width:inherit; max-height:inherit;}


#google_translate_element {
	position: absolute;
	right: 0;
	top: 0;
	z-index:999;
}
#block-block-24 {
	margin-top:20px;
}
#block-block-24  a {
	color:#999;
}
body.node-type-blog #content .content h3, body.node-type-blog #content .content p {
	text-indent:0;
	text-align: left;
	margin-bottom: 5px;
}
.node-type-blog  .submitted {
	font-size: 11px;
}
body.node-type-blog  .submitted {
	position: absolute;
	margin-top: -15px;
}
body.node-type-blog  .node-type-blog  .content, body.section-blogs  .node-type-blog  .content {
	padding-top:15px;
}

.section-images .group-video {
	text-align: center;
	background-color: #fbf0e0;
	border: 1px solid #e3cba6;
	border-width: 0 1px 1px 0;
	padding: 5px;
}
.section-images div.group-video .content {
	padding: 0;
}
/***class****/

.class_tree {
		-webkit-column-count: 3;
		-moz-column-count: 3;
		column-count: 3;
	-webkit-column-gap: 30px;  
	-moz-column-gap: 30px;  
	column-gap: 30px;
	//margin: 0 0 30px 0;
}
.class_tree_group {
		-webkit-column-break-inside: avoid;
		-moz-column-break-inside: avoid;
		column-break-inside: avoid;
		padding-bottom: 30px;
}
.class_tree h3 {
	margin-top: 0 !important;
		-webkit-column-break-inside: avoid;
		-moz-column-break-inside: avoid;
		column-break-inside: avoid;
		-webkit-column-break-after: avoid;
		-moz-column-break-after: avoid;
		column-break-after: avoid;
}
@media screen and (max-width: 700px) {
	.class_tree {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
	}
}
@media screen and (max-width: 450px) {
	.class_tree {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
	}
}
.class_tree ul {
	font-weight:bold;
	padding-bottom: 20px;
}
.class_tree ul ul {
	padding-left: 20px;
	padding-bottom 0;
	margin:0;
	font-weight:normal;
}

#yandex_ad, #trust {margin:20px 0;}
#trust  table {margin:5px;}
#trust  td {padding:0;}
#trust  tbody {border:none !important;}

#trust div.c4f724 {
	width: 99.8% !important;
}
div.c4f724 .left {
	width:32%;
	padding: 5px 0.5% !important;
}

input[type="submit"] {
	//padding:8px;
}

.mega_image {
border-bottom: 1px solid #e3cba6;
border-right: 1px solid #e3cba6;
background-color: #fbf0e0;
padding: 5px 5px 2px;
width: 989px;
width: 98.9%;
left: 0;
margin: 20px 0;
text-align: center;
}
ol .mega_image, ul .mega_image {
margin-left: -2em;
}

h3.center {
text-align: center;
text-indent:0 !important;
}

#sidebar-second {
  background: #FEFFA5;
  position: absolute;
  right: 0;
  top: 16px;
  z-index:2000;
  width: 250px;
  padding:20px;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
-webkit-box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.3);
-moz-box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.3);
box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.3);
}
#sidebar-second .block:not(:last-child) { 
    padding-bottom: 15px; 
}
#sidebar-second li {
 padding-left:20px;
 text-indent:-20px;
}
#sidebar-second.sidebar-second-moved {
  right: -275px;
}
.ss-mover {
//content: "x";
height: 20px;
width: 20px;
line-height: 18px;
text-align: center;
display: block;
position: absolute;
left: -30px;
top: 0;
background-color: #c00;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
border-radius: 20px;
border: white 1px solid;
color: white !important;
cursor: pointer;
text-decoration:none;
}
.ss-mover:hover {
text-decoration:none !important;
background-color: #f00;
}

#block-block-23 .content * {
margin:0 !important;
padding:0 !important;
}
#block-block-23 .title {
 margin-top: 20px;
}

/*
body.node-type-image .content img.image {
margin: 20px auto;
display: block;
background-color: #fff;
border: 1px solid #fff;
border-width: 1px calc((1000px-attr(width))/2);
}
*/

.node-type-book .taxonomy.terms .term_1 {
	display:none;
}
.forum_attach {
border: 1px solid #E3CBA6;
background-color: #fbf0e0;
border-width: 0 1px 1px 0;
padding: 5px;
display: block;
margin: 10px;
text-align:center;
}
.forum_attach img {
	position:relative !important;
}
#content .content p .forum_attach {
    margin: 20px 0; 
}
#content .content p .forum_attach img {
    margin-left: -30px; 
    max-height: 600px;
}
.com_text img {
	max-width: 100%;
}

.main_text, .lang_selector strong, .lang_selector desc {
	display:none;
}
.main_text_selected {
	display:block;
}
.lang_selector {
	border: 1px solid #D9B67B;
	background-color: #E8D4B1;
	font-size: 17px;
	line-height: 18px;
	padding: 0;
	//padding: 20px 0;
	margin: 5px 0 20px 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	text-align: center;
}
.lang_selector a {
	white-space:nowrap;
	padding: 10px 0;
	line-height: 40px;
}
.lang_selected a {
	border-bottom: 3px solid;
}
.lang_selector span:after {
	content:' | ';
}
.lang_selector span:last-of-type:after {
	content:'';
}
.com_links .forum-topic-navigation {
	border:none;
	padding:0;
}
.forum_com_table {
	margin-bottom: 2px;
}
.node-unpublished {
	background-color: #F7D7C0;
	background-color: rgba(250,200,190,0.4);
	margin: -20px -20px 20px -20px;
	padding: 20px 20px 0 20px;
	position: relative;
	border: #D44239 solid 1px;
}
.node-unpublished:before {
	content: "Не опубликовано!";
	position: absolute;
	left: -116px;
	top: -21px;
	display: block;
	color: #fff;
	background-color: rgba(200,0,0,0.7);
	padding: 3px 7px;
}
ul.custom-pager {
	border: 1px solid #D9B67B;
	background-color: #E8D4B1;
	color: #c00;
	font-size: 17px;
	line-height: 18px;
	padding: 20px 0;
	margin: 5px 0 20px 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	text-align: center;
	margin: 20px auto;
	padding: 10px 0 30px;
}
.custom-pager .custom_pager_prev {
	padding-top: 0 !important;
}

body.page-taxonomy-term-5 .node-inner, body.page-taxonomy-term-5-0 .node-inner {
	display:inline-block;
	width:247px;
	min-height:250px;
	vertical-align: top;
    	margin: 2px 0;
}
body.page-taxonomy-term-5 .frame8, body.page-taxonomy-term-5-0 .frame8 {
	height:260px;
}
body.page-taxonomy-term-5 .node-inner p, body.page-taxonomy-term-5-0 .node-inner p { display:none; }
body.page-taxonomy-term-5 .node-title, body.page-taxonomy-term-5-0 .node-title {
	text-align: center;
    	height: 50px;
	padding: 5px;
}
body.page-taxonomy-term-5 .node-title:after, body.page-taxonomy-term-5-0 .node-title:after {
 content:none;
}

.field-field-subnames .field-item {
-webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    column-break-inside: avoid;
}
.fotorama .description{
	background-color: #000;
    	background-color: rgba(0,0,0, 0.8);
	color: #fff; 
	text-align:center;
    	padding: 10px 0;
}

.fotorama .description a {
	color: #fff;
	border-bottom: solid #ccc 1px;
	border-bottom-color: rgba(255,255,255,0.4); 
}
.fotorama .description a:hover, .fotorama .description a:focus {
	border-bottom-color: rgba(255,0,0,0.4); 
}
.fotorama .description a:hover, .fotorama .description a:focus {
	color: #f00; 
}
.fotorama__nav--thumbs {
	background-color: #000;
    	background-color: rgba(0,0,0, 0.8);
}
.fotorama {
	border-right: 1px solid #E3CBA6;
	border-bottom: 1px solid #E3CBA6;
	background-color: #FBF0E0;
	margin-top:20px;
	margin-bottom:20px;
	padding-bottom: 0;
}
.node-type-image .fotorama {
	padding-bottom: 5px;
}
.fotorama__wrap {
    	padding-top: 5px;
}
.fotorama--fullscreen .fotorama__wrap {
    	padding-top: 0;
}
.fotorama__thumb-border {
	border-color: #c00 !important;
}
.fotorama__caption .text {
	display:none;
}
.fotorama--fullscreen .fotorama__caption .text {
	display:block;
}

hr {
    height: 1px;
    border: 1px solid #D9B67B;
    border-width: 0 0 1px;
}

.donate-node {
    text-align: center;
    color: #777;
    font-weight: bold;
    font-size: 12px;
    clear:both;
    margin-top: 20px;
    border-top: 1px solid #777;
    padding-top: 20px;
}
@media screen and (min-width:880px){
	.donate-node {
	    	width: 23%;
	    	position: absolute;
		top: 2px;
    		margin-top: 0;
    		border: 0;
    		padding-top: 0;
	}
}
body:not(.language_selected_ru):not(.language_selected_by):not(.language_selected_ua):not(.language_selected_pl):not(.language_selected_en) .outliner .text_ru {display:inline;}

body.section-taxonomy .node-inner {
	width:25%;
	float:left;
    	padding-bottom: 30px;
}
@media screen and (min-width:751px){body.section-taxonomy .node-inner:nth-child(4n+1) {clear:both;}}
@media screen and (max-width:750px){body.section-taxonomy .node-inner {width:33.33%;}}
@media screen and (min-width:501px) and (max-width:750px) {body.section-taxonomy .node-inner:nth-child(3n+1) {clear:both;}}

@media screen and (max-width:500px){body.section-taxonomy .node-inner {width:50%;}}
@media screen and (min-width:251px) and (max-width:500px) {body.section-taxonomy .node-inner:nth-child(2n+1) {clear:both;}}
@media screen and (max-width:250px){
	body.section-taxonomy .node-inner {
		width:100%; 
		clear:both;
	}
}

@media screen and (max-width: 475px) {
   .hide-on-modile {display:none;}
}

body.section-taxonomy #content .node-type-image .content p {
	text-align:center;
    	margin: 5px;
	text-indent: 0;
}
body.section-taxonomy .node-type-image .node-title {
	float:none;
	text-align:center;
    min-height: 50px;
    border-top: 1px solid #e3cba6;
    padding-top: 5px;
}
body.section-taxonomy .node-type-image .node-title:after {
	content:none;
}

fieldset {
    border: 1px solid #a49476;
}

::selection {
    background: #c44;
    background: rgba(200,0,0,0.7);
    text-shadow: none;
    color: #faa !important;
}
::selection:window-inactive {
    background: #777;
    background: rgba(50,50,50,0.6);
    color: #aaa !important;
}

.google-auto-placed {margin-top:20px; margin-bottom:20px;overflow:hidden !important;}
#main-right .google-auto-placed, #main-left .google-auto-placed {clear:none !important;}
body.admin-menu .lang .google-auto-placed, .fotorama .google-auto-placed, .gallery_in_main_header + .google-auto-placed,
.outliner .google-auto-placed {display:none !important;} 

.view-item-random-article > div, .view-item-random-article p {display:inline !important;}
.view-item-random-article p:empty {display:none !important;}
.view-item-random-article .view-data-node-title {padding-right: 6px;}

.sidebar.second .block-title {padding: 1px 0 3px;}

.sidebar.second ul li, .sidebar.second .item-list ul li, .sidebar.second ul.menu li {
    list-style-position: inside;
}

a[href*=fantlab], .node-type-blog a[href*=ozon], .node-type-blog a[href*=rutracker], .node-type-blog a[href*="nsc.ru"] {
	background-color: #3E78A8; 
	color:#fff; font-size:90%; 
	padding: 0 3px;
}
.node-type-blog a[href*=ozon] {
	background-color: #2F67FD;
}
.node-type-blog a[href*=rutracker] {
	background-color: #76B83F;
}
.node-type-blog a[href*="nsc.ru"] {
	background-color: #1A3F8D;
}
a[href*=fantlab]:hover, .node-type-blog a[href*=ozon]:hover, 
.node-type-blog a[href*=rutracker]:hover, .node-type-blog a[href*="nsc.ru"]:hover {
	text-decoration: none;
	background-color: #508cbe; 
}