/**
 * @file
 * Node Styling
 *
 * Style anything that isn't in the $content variable.
 */


.node { /* Node wrapper */
}

.preview .node { /* Preview of the content before submitting new or updated content */
  /* background-color: #ffffea; */ /* Drupal core uses a #ffffea background */
}

.node .node-title { /* Node title */
}

.node .user-picture { /* The picture of the node author */
}

.node .submitted { /* The "posted by" information */
}

.node .content { /* Node's content wrapper */
}

.node ul.links { /* Node links. See also the ul.links declaration in the pages.css. */
}

.node-promoted { /* A node that has been promoted to the front page */
}

.node-sticky { /* A sticky node (displayed before others in a list) */
}

.node-by-viewer { /* A node created by the current user */
}

.node-teaser { /* A node displayed as teaser */
}

/*
 * All nodes are given a node-FOO class that describes the type of content that
 * it is. If you create a new content type called "my-custom-type", it will
 * receive a "node-my-custom-type" class.
 */

.node-page { /* Page content node */
}

.node-article { /* Article content node */
}

.node-unpublished { /* Unpublished nodes */
  /* background-color: #fff4f4; */ /* Drupal core uses a #fff4f4 background */
}

.node-unpublished p.unpublished,
.comment-unpublished p.unpublished { /* The word "Unpublished" displayed underneath the content. */
  height: 0;
  overflow: visible;
  color: #d8d8d8;
  font-size: 75px;
  line-height: 1;
  font-family: Impact, "Arial Narrow", Helvetica, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  word-wrap: break-word; /* A very nice CSS3 property */
}

.lt-ie8 .node-unpublished p.unpublished > *,
.lt-ie8 .comment-unpublished > * {
  position: relative; /* Otherwise these elements will appear below the "Unpublished" text. */
}

.content-node-top {
	background:#c3d5ee;
	padding:4px 10px;
	font-size:11px;
	/*height:20px;*/
	border-radius:3px;
	margin-bottom:16px;}
	.content-node-top .field {
		display: inline-block;
		margin-right:16px;}
	.content-node-top a {
		text-decoration:underline;}
	.field-name-field-vipusk {
		background:url(../images/nomer-small.png) left top no-repeat;
		padding-left:26px;}
	.field-name-field-rubric {
		background:url(../images/rubric.png) left  center no-repeat;
		padding-left:20px;}
		
.field-name-field-mainimage, .field-name-field-newsimage {
	float:left;
	padding:6px 10px 4px 0;
}
.field-name-body, .field-name-field-textnews {
	text-align:justify;
	font-size:14px;
	line-height:1.4em;
	color:#333;}
	
	
.field-name-field-author {
	float:right;
	font-size:12px;}
.field-name-field-tags {
	clear:both;
	height:12px;
	margin-bottom:20px;}
	
	
.field-name-field-tags .field-item {
	float:left;
	margin-right:4px;
	font-size:11px;}
	
	.field-name-field-tags .field-label,
	.field-name-field-newstags .field-label { font-weight:normal; 
	color:#666;}
	
	.field-name-field-tags .field-item a,
	.field-name-field-newstags .field-item a { color:#333; background:#eee; border-radius:20px; padding:2px 10px;}
	
.field-name-field-dopimages { clear:both; 
	margin-bottom:20px;
	border-radius:3px;
	}
	
.field-name-field-dopimages:after 
{clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;}
	
	.field-name-field-dopimages .field-item { float:left; 
		margin:3px;
		padding:3px 3px; 
		background:#eee;
		border:1px solid #ccc;
		border-radius:3px;}
	.field-name-field-dopimages .field-item:hover {
		background:#c2d4ed;
		border:1px solid #85b0ec;}
		
/* ---- Стиль главной страницы --------*/ 		
.standertpage .field-name-body {
	font-size:12px;}
.standertpage .field-name-body table p { margin:0;}
.standertpage .field-name-body table td { padding:3px;}
	
.node-article table td { font-size:11px; border:1px solid #ccc; padding: 3px;}	
.node-article table td p { margin:5px 0; line-height:1.1em}