/**
 * @file
 * Page Styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .pager, .more-link, etc.
 */
#block-views-news-24-block {
    height: 90%;
    max-height: 550px;
    overflow-y: scroll;
}

/*
 * Body
 */

body {
  margin: 0;
  padding: 0;
  background:#f7f7f7;
}

#page {
	box-shadow:0 0 10px #999;
	background:#fff; margin-top:-40px; margin-bottom:0;
	z-index:2;
	padding-top:50px;
	padding-bottom:100px;
	position:relative;
	
	font-size:12px;
}

#footer1 {
	
	width:100%;
	height:30px;
	position:relative;
	z-index:3;
	margin-top:-20px;
	background:url(../images/uzor2.png) repeat-x top left;}
#footer2 {
	
	width:100%;
	height:210px;
	position:relative;
	z-index:3;
	background:#d2dff2;}
.fleft>p {
	padding: 0;
	margin: 0;
	margin-top: 3px;
}
.clr { clear:both; width:100%; float:none;}

/*
 * The skip-link link will be completely hidden until a user tabs to the link.
 * See the element-focusable rule in system.base.css.
 */

#skip-link {
  margin: 0;
}
#skip-link a,
#skip-link a:visited {
  display: block;
  width: 100%;
  padding: 2px 0 3px 0;
  text-align: center;
  background-color: #666;
  color: #fff;
}

/*
 * Header
 */

#header {
	background:url(../images/olenevod.jpg) bottom right no-repeat;
	
	padding-bottom:10px;
	min-height:135px;
	height:auto;
}




#logo { /* Wrapping link for logo */
  float: left; /* LTR */
  /*margin: -16px 0 0 0;*/
  padding: 0;
  width:33%;
}
#logo img {
  vertical-align: bottom;
}

#name-and-slogan { /* Wrapper for website name and slogan */
  float: left;
 /* border:1px solid green;*/
  width:35%;
  text-align:left;
  padding: 0 0 0 10px;
  /*  margin-left:30px;*/

}
#site-name { /* The name of the website */
  margin: 4px 10px;
 /* font-size: 16px;*/
  text-transform:uppercase;
  line-height: 1.5em;
  font-weight:bold;
  text-shadow:1px 1px 1px #ddd;
  color:#222;

}
#header-date {
	text-align:left;
	padding:6px 10px; font-size:11px; line-height:1.2em;
	color:#666;
/*float:left;	*/}

#logonao { float:right;
position:relative;
top:40px;}
	
.yr-forecast-block-box { position:relative; margin-top:-4px; padding:0 0 0 10px;}
.yr-forecast-block-box h4 { font-size:11px; margin:0}
.yr-forecast-block-box p { margin:0; line-height:1em;}
.yr-period-forecast { padding:0;}
.yr-symbol { padding-right:10px;}
.prognoz { display:block; font-size:10px;  position:relative; margin-top:-10px; width:130px;}
.prognoz:hover { text-decoration:underline;}
	
#olen {
	/*border:1px solid red;*/
	float:right;
	width:30%;
	padding: 0;
	margin:0;
	
}
#olen .region {
	margin:0 10px;}

.region-header { /* Wrapper for any blocks placed in the header region */
  clear: both; /* Clear the logo */
}

/*
 * Main (container for everything else)
 */

#main {
}

/*
 * Content
 */

#content {
}



.region-highlighted {
}

.breadcrumb { /* The path to the current page in the form of a list of links */  font-size:11px; margin-bottom:10px;
margin-top:-6px;
color:#444;
}
.breadcrumb a { text-decoration:underline;}
.breadcrumb ol {
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1.title, /* The title of the page */
h2.node-title, /* Title of a piece of content when it is given in a list of content */
h2.block-title, /* Block title */
h2.title, /* Comment section heading */
h2.comment-form, /* Comment form heading */
h3.title { /* Comment title */
  margin: 0;
}

tr.even { /* Some tables have rows marked even or odd. */
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

tr.odd {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
  margin: 1.5em 0;
  font-weight:bold; /* Drupal core uses "6px 0" margin */
}
div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}

div.status { /* Normal priority messages */
}

div.warning,
tr.warning { /* Medium priority messages */
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
}

div.error,
tr.error { /* High priority messages. See also the .error declaration below. */
}

.error { /* Errors that are separate from div.messages status messages. */
  /* color: #e55; */ /* Drupal core uses a #e55 background */
}

.warning { /* Warnings that are separate from div.messages status messages. */
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
}

.tabs { /* See also the tabs.css file. */
}

.region-help { /* Help text on a page */
}

.more-help-link { /* Link to more help */
}

.region-content { /* Wrapper for the actual page content */
}

ul.inline { /* List of links generated by theme_links() */
  display: inline;
  padding: 0;
}
ul.inline li {
  display: inline;
  list-style-type: none;
  padding: 0 1em 0 0; /* LTR */
}

span.field-label { /* The inline field label used by the Fences module */
  padding: 0 1em 0 0; /* LTR */
}

.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
  padding: 0;
}
.item-list .pager li { /* Each page number in the pager list */
  padding: 0 0.5em;
}

.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
}

.more-link { /* Aggregator, blog, and forum more link */
}

/*
 * First sidebar (on left in LTR languages, on right in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-first
 * (see the layout.css file.)
 */

.region-sidebar-first {
}

/*
 * Second sidebar (on right in LTR languages, on left in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-second
 * (see the layout.css file.)
 */

.region-sidebar-second {
}

/*
 * Footer
 */

#footer {
}

/*
 * Page bottom
 */

.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
}


/* ---
Блок новостей 
--- */



#block-views-news-24-block, #block-views-news-24-block-1 {
	background:#f6f2ce;
	padding-bottom:5px;
	padding-top:10px;
	border-bottom:1px dashed #fff;
/*	box-shadow:0px 0px 3px #ccc; */
	}
	
#block-views-news-24-block-1 {
	margin-bottom:20px;}
	
#block-views-news-24-block ul, #block-views-news-24-block-1 ul {
	list-style:none; 
	padding:0 10px 10px 10px;
	line-height:1.2em;
	margin:0 0 10px 0;}
	
#block-views-news-24-block li, #block-views-news-24-block-1 li {
	margin-bottom:6px;
	border-bottom:1px dotted #999;
	padding-bottom:4px;}
#block-views-news-24-block h3, #block-views-news-24-block-1 h3, .news-head h3 {
	font-size:18px;
font-weight:bold; font-style:italic; font-family:Georgia, "Times New Roman", Times, serif;
margin:0px 10px 10px 10px;}

#block-views-news-24-block h4, #block-views-news-24-block-1 h4 { font-size:13px; font-weight:normal; margin:0;
line-height:1.2em;}
#block-views-news-24-block em, #block-views-news-24-block-1 em { font-size:11px; color:#666;}
/*#block-views-news-24-block .views-field-created {
	font-style:italic;
	color:#333;
	font-size:11px;
	}*/
.news24 {/* position:relative; margin-top:-25px; left:-10px;*/
	background:#f6f2ce;
	border-radius: 0px 0px 3px 3px;
	height:25px;
	margin-left:20px;
	margin-top:0;
	padding-top:10px;
	padding-right:10px;
	
	}

.news-head {
	background:#f6f2ce;
	border-radius: 3px 3px 0px 0px;
	height:25px;
	margin-left:20px;
	margin-top:0;
	padding-top:10px;
	padding-right:10px;
	border-bottom:1px dashed #fff;}

/* ----
Блок главного последнего материала
---- */		
#maincontenttop {
	clear:both;
	margin-bottom:10px;
}
.region-mainarticle {
	float:left; 
	width:58%;
    margin-left: 0;
    margin-right: 0;
	padding-left:0;
	padding-right:0px;}
.maincontenttop-right {
	float: right;
    width: 42%;
    margin-left: 0;
    margin-right: 0;
	padding-left:0px;
	padding-right:0;
	height:100%;}
	
.view-id-last_main_article h2 {
	margin:0 0 6px 0;
	line-height:1.1;
	font-size:20px;
 	}
.view-id-last_main_article h2 a {}	
.view-id-last_main_article p { font-size:13px; text-align:justify;}

.region-mainarticle .views-field-comment-count {
	background:url(../images/comments.png) no-repeat left center;
	padding-left: 20px;
	float:left;
	font-weight:bold;
	text-shadow:1px 1px 0px #ccc;
	}
.main-rubric {
	float:left;
	margin-left:20px;
	background:url(../images/rubric.png) no-repeat left center;
	padding-left: 20px;}	

.main-vipusk {padding:8px 0 0 0; font-weight:bold; clear:both; }
.view-last-main-article .views-field-field-vipusk { padding:0 !important; }

/* ----
Блок рубрик на главной странице
---- */	
.rubric-title {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size:18px;
	font-weight:bold;
	font-style:italic;
	color:#ffffff;
	line-height:34px;
	padding-left:10px;
	border-radius:3px;
	margin-top:14px;
	margin-bottom:4px;
	text-shadow:1px 1px 1px #222;
	
	/*  #1d3f74, #025ca6  */
	background: #D75411; /* Для старых браузров */
    background: -moz-linear-gradient(left, #1d3f74, #025ca6); /* Firefox 3.6+ */
    /* Chrome 1-9, Safari 4-5 */
    background: -webkit-gradient(linear, left top, right top, 
                color-stop(0%,#1d3f74), color-stop(100%,#025ca6));
    /* Chrome 10+, Safari 5.1+ */
    background: -webkit-linear-gradient(left, #1d3f74, #025ca6);
    background: -o-linear-gradient(left, #1d3f74, #025ca6); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #1d3f74, #025ca6); /* IE10 */
    background: linear-gradient(left, #1d3f74, #025ca6); /* CSS3 */ 
}
	}
	
.rubric-blok-content {
	border-right:1px dotted #ccc;
	height:100%;}	
.rubric-left {
	float: left;
	width:60%;
	margin-left:0;
	margin-right:0;
	padding:0;
}
.rubric-right {
	width:40%;
	float:right;
	height:100%;
	padding:0;
	margin-left:0;
	margin-right:0;
	}
.view-rubric.view-display-id-block_1 {
	padding:0 10px 0 0;
	border-right:1px dotted #ccc;
	}
.view-display-id-block_1 img { float:left; padding:0 6px 2px 0;}
.view-display-id-block_1 .views-row { border-bottom:1px solid #ccc;}
.view-display-id-block_1 p { text-align:justify;}
	
.view-display-id-block_2 {
	padding:0 0 0 10px;
	}
.rubric-blok-content h3 { margin:6px 0;}
.view-rubric h4 {}
.view-display-id-block_2 .views-row-even { background:#fff; 
padding:1px 4px;}
.view-display-id-block_2 .views-row-odd { background:#eee;
padding:1px 4px;}

/*.views-field-created { line-height:1.1em; display:inline-block;}*/
.createdate { font-size:11px; line-height:1em; margin-right:20px;
color:#444;}

a.rssicon {
	float:right;
	background:url(../images/rss.png) no-repeat right center;
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	color:#ffffff;
	margin-right:10px;
	text-align:right;
	padding-right:18px;
	color:#fff;}
a:hover.rssicon  {color:#f4f4f4;}

a.rssicon24 {
	float:right;
	width:17px;
	background:url(../images/rss.png) no-repeat right center;
	color:#ffffff;
	margin-right:10px;
	text-align:right;
	}
a.allnews24 {
	float:right;
	color:#0F3262;
	font-size:12px;
	margin-left:0px;
	text-decoration:underline;}
a.allnews24:hover {}

.allnews {
	text-align:right;
	font-size:11px;
	margin-right:10px;
	background:url(../images/rubric.png) no-repeat left center;
	padding-left:20px;
	float:right;}
	.allnews a { text-decoration:underline;}
	
	
/*----
Блок поиска 
---- */
#block-search-form .form-submit { display:none;}
#block-search-form .form-text {
	width:100%;
	height:22px;
	margin-right:10px;
	background: url(../images/search.png) 98% 50% no-repeat;
	border-radius:3px;
	border:1px solid #ccc;
	color:#777;
	padding-left:6px;
	}
	#block-search-form .form-text:focus,
	#block-search-form .form-text:hover {
	width:100%;
	margin-right:10px;
	background: #fff url(../images/search-focus.png) 98% 50% no-repeat;
	border-radius:3px;
	border:1px solid #025ca6;
	color:#111;
	}
#block-search-form .form-item { margin:0;}



/* ----
Представления тизеров 
----- */
.view-newsterm .mainimage {
	float:left;
	padding:4px;
	margin-top:6px;	} 
.view-news-24 .mainimage {
	float:left;
	padding:4px;
	margin-top:10px;	} 	
	
.views-field-title h3   {
	margin:6px 0;
	padding:0 3px;
	font-size:16px;
	text-shadow:1px 1px 0px #fff;	}
	
.view-newsterm .views-row, .view-news-24 .views-row {
	margin-bottom:6px;
	border-bottom:1px dotted #ccc;
	clear:both;
	float:none;}
	
.view-newsterm .views-row-even { background:#f4f4f4;
padding:6px;}
.view-newsterm .views-row-odd {padding:6px;}
	
.views-field-body { text-align:justify;}

.views-field-view-node {
	clear:both;}
	.views-field-view-node .readmore, view-news-24 .readmore { float:left;
	font-size:11px; font-weight:bold;
	margin-right:30px;}
	/*.readmore a { color:#D75411;} */
	
.view-newsterm .views-field-comments-link span, .comments-count { background: url(../images/comments.png) no-repeat left center;
padding-left:20px;
text-shadow:1px 1px 0 #fff;
font-size:11px;}
.views-field-field-vipusk {text-shadow:1px 1px 0 #fff;
font-size:11px; padding:0 4px;}

.view-newsterm .views-field-comments-link span span { background:none; padding-left:2px;} 


 h4.views-field-title   {
	margin:3px 0;
	padding:4px 6px;
	font-size:14px;
	text-shadow:1px 1px 0px #fff;
	background:#d2dff2;	}

/* ----
Список всех материалов 
---- */
.view-spisok tr {
	background:none;}

.view-spisok td, .view-spisok th  { text-align:center; padding:4px 4px; font-size:11px;
line-height:1.1em;}
td.views-field-title { text-align:left;}
.view-spisok th  { background:#fdf9c8;}


/* --- Footer --- */
#footermain {
	color:#222;
	font-size:12px;
	text-shadow:1px 1px 1px #fff;}
.col-1, .col-2, .col-3 { margin:0;
padding:0 10px;
}
.col-1 { width:38%; border-left:1px solid #eee;}
.col-2 { width:26%; border-left:1px solid #eee; padding-right: 25px;}
.col-3 { width:26%; border-left:1px solid #eee;}


.age-limit{
	padding-left: 11px;
	height: auto;
	width: 39px;

}
#tiptip_content ul { list-style:circle;}


#share42 {display: inline-block; padding: 6px 0 0 6px; background: #FFF; border: 1px solid #E9E9E9; border-radius: 4px;}
#share42:hover {background: #F6F6F6; border: 1px solid #D4D4D4; box-shadow: 0 0 5px #DDD;}
#share42 a {opacity: 0.5}
#share42:hover a {opacity: 0.8}
#share42 a:hover {opacity: 1}

.rteright { text-align:right;}

.border1 td {
	border:1px solid #ccc;
	border-collapse:collapse;
	padding:0 3px;
	line-height:1.1em;
	font-size:12px;}
	
	
/* ------
Фотогалерея на главной 
----------- */
#block-views-photogallery-block { clear:both; padding-top:15px;}
#block-views-photogallery-block h2.block-title {
	background:none;
	color:#C30;
	text-shadow:1px 1px 0px #fff;
	font-size:15px;
	border-bottom:4px solid #C30;
	border-radius:0;
	padding:0;
	}
#block-views-photogallery-block img {
	padding:2px;
	margin:4px 2px 0 0;
	background:#eee;
	border:1px solid #ccc;
	}
#block-views-photogallery-block img:hover {
	background:#F6F2CE;
	}
#block-views-photogallery-block .views-field-title {
	font-size:11px;
	text-align:right;
	margin:0;
	color:#555;}
	
#block-views-photogallery-block .views-label-title {
	background:url(../images/photos.png) no-repeat left center; padding-left:20px;}

.view-photogallery td div { text-align:center;}
.view-photogallery img { padding:3px; border:1px solid #ccc;}	
.view-photogallery img:hover { padding:3px; border:1px solid #ccc; background:#eee;}	
.view-photogallery a {  font-weight:bold; font-size:12px;}
	
	
	/*** CTOOL Ajax REgister ***/
div.ctools-modal-content {
background: #fff;
color: #222;
padding: 0;
margin: 2px;
border: 1px solid #2385c2;
width: 600px;
text-align: left;
font-size:12px;
border-radius:4px;
overflow:hidden;
}	
div.ctools-modal-content .modal-header {
background-color: #2385c2;
padding: 10px;
}
div.ctools-modal-content .modal-title {
font-size: 16px;
font-weight: bold;
color: white;
overflow: hidden;
white-space: nowrap;
}
div.ctools-modal-content a.close img {
position: relative;
top: -4px;}
	
#modalBackdrop {
  position: fixed !important;
}

div.ctools-modal-content .modal-content {
  padding: 15px;
  border-radius:3px;
}

div.ctools-modal-content .modal-content .modal-throbber-wrapper img {
  padding: 2em 0 3em;
  margin: 0;
}

div.ctools-modal-content .form-item label {
  float: none;
  width: auto;
}

div.ctools-modal-content a.close {
  margin-top: 3px;
}

/*** module styles ***/
.ajax-register-links-wrapper {
  text-align: right;
  font-size: 12px;
}

.ajax-register-links-wrapper .ajax-register-links li {
  padding-left: 1em;
}

.ajax-register-links-wrapper .ajax-register-links li a {
  border-bottom: 1px dashed #ccc;
}

.ajax-register-links .ajax-progress {
  display: none;
}


/* -------- 
--- Блок входа на сайт --------
-------------- */

div.region.region-login {
	float:right;
	width:200px;
	text-align:right;}
div.region.region-login a {
	border-bottom:1px dashed #072F70;}
div.region.region-login ul li { padding:0 0 0 15px;}

div.region.region-login ul.menu li { float:right !important;
padding:0 0 0 20px !important;
margin-top:-6px; }



.view-comments-recent ul { color:#222;
line-height:1.15em; font-size:11px;}
.view-comments-recent ul li { margin:4px 0; padding-bottom:4px; border-bottom:1px dashed #ccc;}
.view-comments-recent ul a { font-weight:bold; }
.view-comments-recent .views-field-comment-body { font-style:italic; margin-top:3px;}
.view-comments-recent .views-field-timestamp, .view-comments-recent .views-field-name { color:#999; font-style:italic; font-size:11px;}


.view-display-id-block .views-field-field-textnews,
.view-display-id-block_1 .views-field-field-textnews
{ color:#333; margin-top:0;}
.view-display-id-block .views-field-field-textnews p,
.view-display-id-block_1 .views-field-field-textnews p { margin:1px 1px; font-size:11px;}

.view-news-24 h4 { font-size:16px;}


 ol.search-results li { list-style:disc; border-bottom:1px dashed #ccc;}
 
 .view-id-list td { padding:4px 6px; font-size:11px; line-height:1.2em; border-right:1px solid #ccc;}
 .view-id-list tr.odd { background:#eee;}
 .view-id-list tr.even { background:#fff;}
 .views-field-daycount,
 .views-field-totalcount,
 .views-field-created { text-align:center;}