/*elements*/
html, body {
	margin: 0px; 
	padding: 0px;
}
body { 
	font: "Times New Roman", Times, serif; 
	color: #393939; 
	background: #848484;
}
table, td { 
	font: "Times New Roman", Times, serif;
	border: 0px;
}
h1, h2, h3, h4, h5, h6 {
	font: "Times New Roman", Times, serif;
	font-weight: normal;
	padding: 0;
	margin: 0;
}
p { 
	font: "Times New Roman", Times, serif;
	margin-top: 0px; 
	/*text-align: justify;*/
}
p[align=left] {
	text-align: left;
}
p[align=right] {
	text-align: right;
}
p[align=center] {
	text-align: center;
}
img {
	border: 0px;
}
a:link{
	text-decoration: none;
	color: #0075ba;
}
a:visited { 
	text-decoration: none; 
	color: #0075ba;
}
a:hover, a:active { 
	text-decoration: underline; 
	color: #DC4E09;
}
form {
	margin: 0;
	padding: 0;
}
/*id`s*/
#page {
	width: 100%;
	background: url(images/top_bg.png) repeat-x;
}
#top {
	position: relative;
	height: 209px;
	background: url(images/top_pic.jpg) no-repeat center;
}
#logo_karot {
	position: absolute;
	left: 26px; top: 69px;
	width: 186px; height: 107px;
	background: url(images/logo_karot.png) no-repeat;
	-background: none;
	-filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/themes/hayfond/images/logo_karot.png',sizingMethod='crop');
}
#logo_karot a{
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}
#logo_fond {
	position: absolute;
	right: 29px; top: 57px;
	width: 153px; height: 118px;
	background: url(images/logo_fond.png) no-repeat;
	-background: none;
	-filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/themes/hayfond/images/logo_fond.png',sizingMethod='crop');
}
#tsearch_bg {
	width: 173px; height: 42px;
	background: url(images/tsearch_bg.png);
	position: absolute;
	left: 50%; margin-left: -87px;
	top: 155px;
	-background: none;
	-filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/themes/hayfond/images/tsearch_bg.png',sizingMethod='crop');
}
#tsearch {
	width: 173px; height: 42px;
	position: absolute;
	left: 50%; margin-left: -87px;
	top: 155px;
}
#tsearch form{
	background: transparent;
	position: relative;
	height: 42px; width: 173px;
}
#tsearch .str{
	border: 0;
	margin: 0; padding: 0;
	background: #fff;
	position: absolute;
	left: 2px; top: 2px;
	line-height: 18px;
	height: 18px; width: 148px;
}
#tsearch .btn{
	position: absolute;
	left: 152px; top: 0px;
	width: 21px; height: 21px;
}
#ticons_bg {
	position: absolute;
	background: url(images/ticons_bg.png);
	width: 40px; height: 21px;
	top: 188px;
	left: 50%; margin-left: -20px;
	-background: none;
	-filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/themes/hayfond/images/ticons_bg.png',sizingMethod='crop');
}
#ticons {
	position: absolute;
	width: 40px; height: 21px;
	top: 188px;
	left: 50%; margin-left: -20px;
}
#ticons a.home{
	position: absolute;
	left: 0px; top: 0px;
	width: 11px; height: 11px;
	font-size: 1px;
	text-decoration: none;
}
#ticons a.mail{
	position: absolute;
	left: 24px; top: 2px;
	width: 16px; height: 9px;
	font-size: 1px;
	text-decoration: none;	
}
#nav {
	background: #848484;
	height: 47px;
	padding: 0 26px;
}
#nav ul {
	list-style: none;
	margin: 0; padding: 0;
	z-index: 1;
	position: relative;
	height: 43px; width: 100%;
	border-bottom: 4px solid #fff;
	margin-bottom: -4px;
	overflow: visible;
}
#nav ul li {
	display: block; float: left;
	position: relative;
	padding: 0;
	height: 43px;
	border-bottom: 4px solid #fff;
	-top: 4px;
}
#nav ul li.on {
	border-bottom: 4px solid #a52723;
	background: url(images/nav_on.png) no-repeat center bottom;
}
#nav ul li a{
	color: #fff;
	font: normal 16px Arial, Helvetica, sans-serif;
	display: block;
	line-height: 20px;
	margin: 12px 0 8px; padding: 0 10px;
	border-right: 1px solid #fff;
	text-decoration: none;
}
#nav ul li a:hover{
	color: #a81a16;
}
#nav ul li a.l{
	border: none !important;
}
#main_top {
	padding: 22px 0; margin: 0 26px;
	background: #fff;
}
.lblk{
	padding: 0 0 0 10px;
}
.lhd a, .mhd a, .rhd a{
	color: #fff;
	text-decoration: underline;
	font-weight: bold;
}
.lhd{
	font-size: 11px;
	color: #fff;
	background: #82120d url(images/hd_red_bg.png) repeat-x;
	height: 18px; line-height: 18px;
	width: 147px;
	text-align: right;
	padding: 0 4px 0 0; margin: 0 0 20px -26px;
	text-transform: uppercase;
	position: relative;
	left: -36px;
}
.lhd div.ard{
	background: url(images/hd_red_arr.png);
	position: absolute;
	width: 6px; height: 6px;
	bottom: -6px; right: 46px;
}
.lhd, .mhd, .rhd{
	font-weight: bold;
}
.mblk{
	float: left;
	width: 560px;
	height: 200px;
	min-width: 280px;
}
.mblk h1 div.ard{
	background: url(images/hd_red_arr.png);
	position: absolute;
	width: 6px; height: 6px;
	bottom: -6px; right: 27px;
}
.mblk h1{
	font-size: 11px;
	color: #fff;
	background: #82120d url(images/hd_red_bg.png) repeat-x;
	height: 18px; line-height: 18px;
	width: 95px;
	text-align: center;
	padding: 0; margin: 0 0 20px 0;
	text-transform: uppercase;
	position: relative;
}
.rblk{
	position: relative;
   width: 251px;
   padding: 38px 26px 0 0;
   float: right;
}
.rblk h1 div.ard{
	background: url(images/hd_red_arr.png);
	position: absolute;
	width: 6px; height: 6px;
	bottom: -6px; left: 46px;
}
.rblk h1{
	font-size: 11px;
	color: #fff;
	background: #82120d url(images/hd_red_bg.png) repeat-x;
	height: 18px; line-height: 18px;
	width: 147px;
	text-align: left;
	padding: 0 0 0 4px; 
	text-transform: uppercase;
	position: absolute;
	right: -26px; top: 0px;
}

#columns {
	margin: 0 26px;
	padding: 20px 0 0 0;
	background: #fff;
}
#one_column {
	padding: 0 0 26px 0;
}
#left_column {
	width: 270px;
	float: left;
	margin-right: -270px;
}
#left_column .in{
	padding: 0 0 0 0;
}
#middle_column {
	margin: 0 0 0 270px;
}
#midcnt {
	padding: 0 0 26px 0;
	margin: 0 0 0 26px;
}
#left_column .lhd{
	margin-left: 0;
}
#people {
	margin: 0 0 20px 0;
	-margin: 0 0 20px -26px;
}
#people .pr-img{
	width: 80px; height: 120px;
	margin: 0 0 20px 10px;
	padding: 0;
}
#subscr {
	text-align: right;
	padding: 12px 0 0 0;
}
#subscr img {
	position: relative;
	top: 3px; margin-left: 3px;
}
#subscr a{
	color: #5d5d5d;
	font-size: 11px;
	text-transform: uppercase;
	text-decoration: underline;
}
#breadcr{
	padding: 0 0 20px 0;
	height: 18px; line-height: 18px;
	position: relative; left: -26px;
	font-weight: bold;
}
#breadcr div{
	height: 18px; line-height: 18px;
	float: left;
	padding: 0 4px;
	color: #000;
	text-transform: uppercase;
	font-size: 11px;
}
#breadcr div a{
	text-decoration: underline;
	color: #000;
}
#breadcr div.r{
	background: url(images/hd_red_bg.png);
	padding: 0;
}
#breadcr div.r a{
	color: #fff;
	padding: 0 4px 0 0;
}
#footer {
	position: relative;
	font-size: 12px;
	color: #534741;
	padding: 16px 0 0 0;
}
#footer div {
	padding: 0 26px 16px 26px;
	text-align: right;
}
#footer a {
	color: #fff;
}
/*classes*/
.news-item{
	width: 100%;
	font-size: 16px;
	padding: 0 0 16px 0;
}
.news-item h1{
	font-size: 20px;
	margin: 0 0 12px; padding: 0;
	font-weight: bold;
}
.news-item h2 {
	font-size: 14px;
	color: #5d5d5d;
	line-height: 17px;
	padding: 0; margin: 0 0 10px;
}
.news-item h1{
	volor: #fff;
}
.news-item h2 span {
	color: #fff;
	background: #a81a16;
	font-size: 12px;
	padding: 0 4px; margin: 0 6px 0 0;
}
.news-item h2 span a{
	color: #fff !important;
}
.news-item .pr-img{
	width: 194px; height: 128px;
	margin: 0 20px 8px 0;
}
.news-item a{
	color: #393939;
}
.head_gray {
	background: url(images/diagonal_bg.png) repeat-x;
	width: 100%; height: 18px;
	position: relative;
	margin: 0 0 16px 0;
	font-weight: bold;
}
.head_gray h1 a, .head_red h1 a{
	text-decoration: underline;
	color: #fff;
	font-weight: bold;
}
.head_gray h1 {
	float: left !important;
	font-size: 11px !important;

	line-height: 18px; height: 18px;
	background: url(images/hd_gr_arr.png) no-repeat center bottom;
	color: #fff !important;
	margin: 0 !important; padding: 0; 
	-width: 0; white-space: nowrap;
	position: relative; top: 5px;
}
.head_gray h1 b, .head_gray h1 strong{
	font-weight: bold;
	display: block;
	position: relative;
	padding: 0 4px; margin: 0;
	top: -5px; height: 18px;
	background: #848484;
	text-transform: uppercase;
}
.head_red {
	background: url(images/diagonal_bg.png) repeat-x;
	width: 100%; height: 18px;
	position: relative;
	margin: 0 0 16px;
	font-weight: bold;
}
.head_red h1 {
	float: left !important;
	font-size: 11px !important;
	line-height: 18px; height: 18px;
	background: url(images/hd_red_arr.png) no-repeat center bottom;
	color: #fff !important;
	margin: 0 !important; padding: 0; 
	-width: 0; white-space: nowrap;
	position: relative; top: 6px;
}
.head_red h1 b, .head_red h1 strong{
	font-weight: bold;
	display: block;
	position: relative;
	padding: 0 4px; margin: 0;
	top: -6px; height: 18px;
	background: #82120D url(images/hd_red_bg.png);
	text-transform: uppercase;
}
.poll h2{
	font-size: 16px; font-weight: bold;
	padding: 0 0 6px 2px; margin: 0;
}
.poll .gauge {
	font-size: 14px; text-align: right;
	width: 100%;
	padding: 0 0 10px 0;
}
.poll .gauge span{
	padding: 0 8px 0 0;
}
.poll .gauge div {
	float: right;
	text-align: center;
	padding: 0 0 0 4px;
}
.poll .gauge div.prc {
	float: right;
	text-align: left;
	padding: 0 0 0 4px;
	background: #c7c7c7;
	color: #fff;
}
.poll-item .t{
	font-size: 16px;
}
.poll-item a {
	color: #393939 !important;
}

.list-item{
	padding: 0 0 16px;
}
.list-item h2{
	font-size: 18px; font-weight: bold;
	padding: 0 0 2px 2px; margin: 0;
}
.list-item .t{
	font-size: 16px;
	color: #848484;
}
.list-item a {
	color: #393939 !important;
}
.list-item span {
	color: #fff;
	background: #a81a16;
	font-size: 12px;
	padding: 0 4px; margin: 0 6px 0 0;
}
.list-item span a{
	color: #fff !important;
}
.preview-item, .album-item{
	
}
.preview-item h2, .album-item h2{
	font-size: 16px; font-weight: bold;
	padding: 0 0 6px 0px; margin: 0;
}
.preview-item .t, .album-item .t{
	font-size: 16px;
}
.preview-item a, .album-item a {
	color: #393939;
}
.preview-item .pr-img{
	width: 80px !important; height: 120px !important;
	margin: 0 20px 8px 0 !important;
}
.album-item h2{
   width: 194px !important;
   height: 80px !important;
}
.album-item {
	float: left;
}
.album-item .pr-img{
	width: 194px !important; height: 128px !important;
	margin: 0 20px 8px 0 !important;
}

.infiniteCarousel {
  width: 934px;
  position: relative;
  margin: 0 auto;
}
.infiniteCarouselSmall {
  width: 496px;
  position: relative;
}

.infiniteCarousel .wrapper {
  width: 864px; /* .infiniteCarousel width - (.wrapper margin-left + .wrapper margin-right) */
}
.infiniteCarouselSmall .wrapper {
  width: 426px;
}
.infiniteCarousel .wrapper, .infiniteCarouselSmall .wrapper { 
  overflow: auto;
  min-height: 11em;
  margin: 0 35px;
  position: absolute;
  top: 0;
}

.infiniteCarousel ul a img, .infiniteCarouselSmall ul a img  {
  border: 1px solid #000;
}

.infiniteCarousel .wrapper ul, .infiniteCarouselSmall .wrapper ul {
  width: 9999px;
  list-style-image:none;
  list-style-position:outside;
  list-style-type:none;
  margin:0;
  padding:0;
  position: absolute;
  top: 0;
}

.infiniteCarousel ul li, .infiniteCarouselSmall ul li {
  display:block;
  float:left;
  padding: 10px;
}
.infiniteCarousel ul li {
  height: 130px;
  width: 196px;
}
.infiniteCarouselSmall ul li {
  height: 82px;
  width: 122px;
}

.infiniteCarousel ul li a img, .infiniteCarouselSmall ul li a img {
  display:block;
}

.infiniteCarousel .arrow, .infiniteCarouselSmall .arrow {
  display: block;
  height: 32px;
  width: 32px;
  background: url(images/car_arrow.png) no-repeat 0 0;
  text-indent: -999px;
  position: absolute;
  top: 60px;
  cursor: pointer;
}
.infiniteCarouselSmall .arrow {
	top: 35px;
}

.infiniteCarousel .forward, .infiniteCarouselSmall .forward {
  background-position: 0 0;
  right: 0;
}

.infiniteCarousel .back, .infiniteCarouselSmall .back {
  background-position: 0 -32px;
  left: 0;
}


div.pr-img{
	border-bottom: 5px solid #cecece;
	background: #646464;
	width: 58px; height: 55px;
	text-align: center;
	float: left;
	margin: 0 16px 0 0;
}
.smenu {
	padding: 0; margin: 0 0 5px 0;
	font-size: 10px;
}
.smenu a{
	text-decoration: underline;
}
ul.link_list {
	list-style: none;
	margin: 6px 6px 6px 18px; padding: 0;
	font-size: 11px;
}
ul.link_list li{
	line-height: 20px;
}
ul.link_list li a{
	color: #31549a;
	text-decoration: underline;
}
.newslist {
	text-align: left;
	padding: 14px 4px 0 4px;
}
.newslist ul{
	list-style: none;
	padding: 0 0 0 0;
	margin: 0;
}
.newslist h5 {
	margin: 0;
	font-weight: normal;
	float: left; 
	color: #034083;
}
.newslist h5 span{
	font-size: 11px;
	color: #ce0500;
}
.newslist li {
	padding: 0 0 6px 0;
	margin: 0 0 6px 0;
	text-align: left;
}
.newslist a:link, .newslist a:visited, .newslist a:hover{
	color: #000;
}
a.arnews {
	text-decoration: underline;
	text-transform: uppercase;
	font-size: 11px;
	color: #a81a16;
}
.cb {
	clear: both;
	font-size: 0px;
}
.b {
	font-weight: bold;
}
.al {
	text-align: left;
}
.ar {
	text-align: right;
}
.ac {
	text-align: center;
}
.tbl {
	display: table !important;
	-height: 0 !important;/*ýòî äëÿ ÈÅ5-6*/
	zoom: 1 !important;/*ýòî äëÿ ÈÅ7*/
}
.smallbutton 	{
	COLOR: Black;
	FONT-SIZE: 9px;
	background-color : transparent;
	border: 1px dotted Black;
}
.align_center {
	/*position: relative;*/
	width: 100%;
}
.align_center:after {
	content: '';
	display: block;
	clear: both;
}
.align_center_to_left {
	position: relative;
	right: 50%;
	float: right;
}
.align_center_to_right {
	position: relative;
	z-index: 1;
	right: -50%;
}
.gallery .loading {
	background: #CCC url(images/loading.gif) no-repeat center center;
}
.gallery .image{
	width: 500px;
	overflow: hidden;
	text-align: center;
	background: #CCC;
	margin: auto;
	position: relative;
}
.gallery .image a {
	position: relative;
}
.gallery .image img{
	margin: 4px;
}
.gallery .image span{
	position: relative;
	display: block;
}
.gallery .lg {
	display: block;
	width: 260px; height: 61px;
	position: absolute !important;
	top: 6px; left: 6px;
	background: url(images/karot.png) no-repeat;
	-background: none;
	-filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/themes/hayfond/images/karot.png',sizingMethod='crop');
}
.gallery .pi, .gallery .ni {
	width: 120px; height: 100%;
	position: absolute;
	top: 0px;
}
.gallery .pi {
	left: 0px;
}
.gallery .ni {
	right: 0px;
}
#page .gallery .pi a, #page .gallery .ni a{
	display: block;
	width: 100%; height: 100%;
	text-decoration: none;
	position: relative;
	z-index: 1;
	/*border: 1px solid black;*/
}
#page .gallery .pi a:hover{
	background: url(images/gal_prev.png) no-repeat center center;
}
#page .gallery .ni a:hover{
	background: url(images/gal_next.png) no-repeat center center;
}
#page .gallery .pi a img, #page .gallery .ni a img {
	width: 100%; height: 100%;
}
.gallery .descr{
	width: 500px;
	text-align: center;
	background: #CCC;
	margin: 2px auto 0 auto;
	padding: 6px 0;
}
.gallery .thumbs{
	overflow: auto;
	overflow-y: visible;
	overflow-x: scroll;
	width: 496px;
	border: 2px solid #CCC;
	background: #CCC;
	margin: auto;
	margin-top: 2px;
}
.gallery .thumbs td{
	padding: 2px;
}
#page .gallery .thumbs a{
	border: 2px solid #CCC;
	display: block;
	position: static;
}
#page .gallery .thumbs a.s{
	border: 2px solid #666;
}
.ext-el-mask {
    z-index: 100;
    position: absolute;
    top:0;
    left:0;
    -moz-opacity: 0.5;
    opacity: .50;
    filter: alpha(opacity=50);
    background-color: #000;
    width: 100%;
    height: 100%;
    zoom: 1;
}
#imgBox {
	background: #fff;
	position: absolute;
	padding: 0 12px;
	top: 10px; left: 10px;
	overflow: hidden;
	z-index: 1000;
	display: none;
}
#imgbox_ctrl {
	height: 22px;
	position: relative;
}
#imgBox_info {
	float: left;
	line-height: 22px;
}
#imgBox_close {
	position: absolute;
	right: 12px;
}
#imgBox_img {
	position: relative;
	height: 300px; width: 300px;
	clear: both;
}
#imgBox_img img {
	margin: 0 auto;
}
#imgBox_img .loading {
	background: #CCC url(images/loading.gif) no-repeat center center;
}
#imgBox_descr {
	padding: 4px 0;
}
#imgBox .lg {
	width: 260px; height: 61px;
	position: absolute;
	top: 6px; left: 6px;
	background: url(images/karot.png) no-repeat;
	-background: none;
	-filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/themes/hayfond/images/karot.png',sizingMethod='crop');
}
#imgBox .pi, #imgBox .ni {
	width: 40%; height: 100%;
	position: absolute;
	top: 0px;
}
#imgBox .pi {
	left: 0px;
}
#imgBox .ni {
	right: 0px;
}
#imgBox .pi a, #imgBox .ni a{
	display: block;
	width: 100%; height: 100%;
	text-decoration: none;
	position: relative;
	z-index: 1;
}
#imgBox .pi a:hover{
	background: url(images/gal_prev.png) no-repeat center center;
}
#imgBox .ni a:hover{
	background: url(images/gal_next.png) no-repeat center center;
}
#imgBox .pi a img, #imgBox .ni a img {
	width: 100%; height: 100%;
}
#page .pager {
	font-size: 12px;
	line-height: 26px;
	margin: 0 0 0 -3px;
}
#page .pager a{
	color: #070707;
	text-decoration: underline;
	margin: 0 6px;
}
#page .pager b{
	color: #fff;
	background: #848484;
	padding: 7px 5px 5px 6px;
	margin: 0 3px;
}
