/*
	Базовые вещи
*/
body
{
	font: normal 12px Arial;
}

ul
{
	padding: 0;
	margin: 0;
}

ul li
{
	list-style-type: none;
}

img
{
	vertical-align: middle;
}

a:hover
{
	text-decoration: none;
}

h1,h2,h3,h4,h5,h6,input
{
	margin: 0;
}

h4
{
	font-size: 1.3em;
}

hr
{
	border: none;
	height: 1px;
	overflow: hidden;
	margin: 0;
	padding: 0;
	background: none;
	border-bottom: 1px dotted #ccc;
}


/*
	Сетка
*/
.column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, div.span-16, div.span-17, div.span-18, div.span-19, div.span-20, div.span-21, div.span-22, div.span-23, div.span-24 {margin-right:25px;}
.last, div.last {margin-right:0;}


.span-1
{
	width: 276px;
}

.span-2
{
	width: 380px;
}

.span-3
{
	width: 177px;
}

.span-3a
{
	width: 176px;
}

.span-4
{
	width: 242px;
}

.span-5
{
	width: 376px;
}

.span-6
{
	width: 778px;
}

.span-7
{
	width: 326px;
}

.span-8
{
	width: 160px;
}

.span-9
{
	width: 677px;
}

.span-10
{
	width: 278px;
}

.span-11
{
	width: 301px;
}

.span-12
{
	width: 577px;
}

.span-13
{
	width: 476px;
}

.span-13a
{
	width: 477px;
}

.span-14
{
	width: 200px;
}

.span-15
{
	width: 67px;
}

.span-16
{
	width: 33px;
}

.span-17
{
	width: 537px;
}

.span-18
{
	width: 600px;
}

.span-19
{
	width: 140px;
}

/*
	Отступы
*/
.nomargin
{
	margin: 0;
	padding: 0;
}

.margin-1
{
	margin-top: 20px;
}

.margin-2
{
	margin-top: 30px;
}

.margin-3
{
	margin-top: 15px;
}	

.margin-3a
{
	margin-top: 10px;
}

.margin-3b
{
	margin-top: 5px;
}

.margin-4
{
	margin-bottom: 15px;
}

.margin-5
{
	margin-bottom: 5px;
}

.margin-6
{	
	margin-bottom: 10px;
}

.margin-7
{
	margin: 0 40px;
}

.margin-8
{
	margin-bottom: 25px;
}

.margin-9
{
	margin-bottom: 30px;
}

.margin-10
{
	margin-left: 200px;
}

.margin-11
{
	margin-bottom: 35px;
}

.margin-12
{
	margin-bottom: 40px;
}

.margin-13
{
	margin-left: 20px;
}

.margin-14
{
	margin-left: 125px;
}

.margin-15
{
	margin-left: 40px;
}

.margin-16
{
	margin-left: 80px;
}

.margin-17
{
	margin-left: 10px;
}

.padding-1
{
	padding-right: 100px;
}

.padding-2
{
	padding-left: 15px;
}

.padding-3
{
	padding: 10px 0;
}

.padding-4 {
    padding-left: 20px;
}

.padding-5 {
    padding-left: 200px;
}

.padding-6 {
    padding-right: 10px;
}
/*
	Размеры (высота ширина)
*/
.height-1
{
	height: 235px;
 	/*height: 200px;*/
}

.height-2
{
	height: 31px;
}

.height-3
{
	height: 27px;
}

.width-1
{
	width: 300px;
}

.width-2
{
	width: 100px;
}

.width-3
{
	width: 90px;
}

.width-4
{
	width: 702px;
}

.width-5
{
	width: 245px;
}

.width-6
{
    width: 540px;
}

/*
	Цвета и шрифтовые приблуды
*/
.color-1
{
	color: #df3935;
}

.color-2
{
	color: #5e1020; 
}

.color-3
{
	color: #850f0d;
}

.color-4
{
	color: #490a19;
}

.color-5
{
	color: #fff;
}

.color-6
{
	color: #000;
}

.color-7
{
	color: #ccc;
}

.color-8
{
	color: #229902;
}

.color-9
{
	color: #ff0000;
}

.color-10
{
	color: #808080;
}

.italic
{
	font-style: italic;
}

.normal
{
	font-weight: normal;
}

.bold
{
	font-weight: bold;
}

.font-small
{
	font-size: 0.9em;	
}

.font-big, h2
{
	font-size: 1.7em;
}

.font-h4
{
	font-size: 1.3em;
}

.font-middle
{
	font-size: 1.1em;
}

.dashed-1
{
	border-bottom: 1px dashed #df3935;
	text-decoration: none;
	display: inline-block;
}

.dotted-1
{
	text-decoration: none;
	border-bottom: 1px dotted #000;
	display: inline-block;
}

.dotted-2
{
	text-decoration: none;
	border-bottom: 1px dotted #fff;
	display: inline-block;	
}

.dotted-3
{
	border-bottom: 1px dotted #ccc;
}

.nodecoration
{
	text-decoration: none;
}

.underline
{
	text-decoration: underline;
}

/*
	Прочие рабочие классы 
*/
.center
{
	text-align: center;
}

.right
{
	text-align: right;
}

.left
{
	text-align: left;
}

.fleft {
    float: left;
}

.fright {
    float: right;
}

.l-50 {
    width: 50%;
}

.premiere
{
	background: url(../img/plashka.png) no-repeat;
	display: inline-block;
	text-align: center;
	width: 58px;
	padding-top: 5px;
	height: 8px;
}

.nowrap
{
	white-space: nowrap;
}

.nooverflow
{
	overflow: visible !important;
}

.block
{
	display: block;
}

.inlineblock
{
	display: inline-block;
}

.inline
{
	display: inline;
}

img.left
{
	float: left;
	margin: 0 25px 10px 0;
}

img.right
{
	float: right;
	margin: 0 0 10px 25px;
}

img.left2
{
	float: left;
	margin: 0 15px 0 0;
}

.border-1
{
	border: 1px solid #6c3a46;
}

.border-2
{
	border-bottom: 1px dotted #000;
}

.border-3
{
	border: 1px solid #808080 !important;
}

.border-4
{
	border-top: 1px dotted #000;
}

.line-height
{
	line-height: 2em;
}

.line-height2
{
	line-height: 1.8em;
}

.favorite
{
	width: 11px;
	height: 9px;
	display: inline-block;
	margin-right: 10px;
	background: url(../img/favorite.png) no-repeat;
}

.icomment
{
	background: left center url(../img/comments.png) no-repeat;
}

a.icomment {
    background: left center url(../img/comments.png) no-repeat;
}

.iviews {
    background: left center url(../img/views_count.png) no-repeat;
}

/*
	Обмазки
*/
.wrap
{
	width: 980px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

.min-width
{
	min-width: 1000px;
}


/*
	=== Шапки ===

	Шапка большая
*/
#page-header
{
	height: 722px;
	background: url(../img/top.jpg);
}


/*
	Шапка средняя
*/			
#page-header-middle
{
	height: 505px;
	background: url(../img/top-middle.jpg);

}

/*
	Шапка мелкая
*/
#page-header-small
{
	height: 325px;
	background: url(../img/top-small.jpg);

}

/*
	Раскладка элементов в шапке (общаяя для всех)
*/

.page-header
{
	overflow: hidden;
	width: 100%;
	background-color: ##db4b67;
	background-repeat: no-repeat;
	background-position: top center;
	position: relative;
}

	/*	
		Верхняя секция (меню, лого, юзербар)
	*/
	.page-header .menu
	{
		height: 84px;
		background: url(../img/menu.png) top center no-repeat;
		margin-top: 7px;
		position: relative;
		z-index: 3;
	}
	
		.page-header .menu .wrap
		{
			height: 100%;
		}
	
			.page-header .menu ul
			{
				overflow: hidden;
				padding: 0 0 0 173px;	
				background: url(../img/separator2.png) 750px top no-repeat; /* до социалки - это костыль, после нужно повесить на блок социалки */
			}
		
				.page-header .menu ul li
				{
					float: left;
					font-size: 1.7em; /* default: 1.7em */
					padding-right: 35px;
					position: relative;
					text-align: center;
					padding: 30px 15px 30px 15px;
					background: url(../img/separator2.png) left top no-repeat;
				}
					
					.page-header .menu ul li a
					{
						color: #fff;
						text-decoration: none;
					}
											
			.page-header .menu .user
			{
				position: absolute;
				right: 25px;
				top: 34px;
			}
			
				.page-header .menu .user .popup
				{
					width: 247px;
					height: 240px;
					position: absolute;
					z-index: 9999;
					right: -21px;
					top: -1000px;
				}
				
				
				.page-header .menu .user #login-popupenter:hover #login-popup
				{
					top: -14px;
				}
				
					.page-header .menu .user .popup .head
					{
						background: #b3373c;
						border: 1px solid #d14e28;
						border-bottom: 1px solid #b3373c;
						z-index: 2;
						position: relative;
						width: 76px;
						height: 33px;
						padding-top: 13px;
						text-align: center;
						margin: 0 0 -1px 169px;
						cursor: default;
					}

					.page-header .menu .user .popup .body
					{
						border: 1px solid #d14e28;
						border-top: 1px solid #b3373c;
						background: #b3373c;
						border: 1px solid #d14e28;
						height: 192px;
						padding-left: 30px;
					}
					
						.page-header .menu .user .popup .body .input
						{
							width: 190px;
							vertical-align: middle;
							line-height: 2em;
						}
						
						.page-header .menu .user .popup .body .button2
						{
							width: 62px;
							height: 22px;
							background: url(../img/button2.png);
							color: #fff;
							border: 0;
						}
	
		#logo
		{
			position: absolute;
			top: 11px;
			left: 26px;
		}


	/*
		Секция с баннером и телепрограммой
	*/
	.page-header .anounce
	{
		margin-top: 11px;
		height: 362px;
		overflow: hidden;
		background: url(../img/top-1.jpg) top center no-repeat;
		padding: 13px 0;
	}

			.page-header .anounce .span-3
			{
				
			}
	
				.page-header .anounce .span-3 span
				{
					margin: 5px 0;
					display: block;
				}
			
/*
	=== Контент ===
*/
#page-content
{
	
}

	/*
		Плашки блоков и все с этим связанное
	*/
	#page-content .blocks .title
	{
		color: #fff;
		height: 27px;
		padding-top: 10px;
		margin: 0 0 15px 0;
	}
	
	.blocks .title .filters 
	{
		position: absolute;
		top: 7px;
		right: 20px;
		overflow:hidden;
	    font-size: 12px;
	    margin-top: 2px;
	}
	
	.blocks .title .filters li {
	    display: block;
	    float: left;
	    padding: 2px 6px;
	    color: white;
	    /*margin-right: 12px;*/
	}
	
	.blocks .title .filters li a {
	    color: white;
	    text-decoration: none;
	    border-bottom: 1px dashed white;
    }
    
    .blocks .title .filters li.active {
        background-color: #5e1020;
    }
    
    .blocks .title .filters li.active a {
        border-bottom: none;
    }
	
	#page-content .block-slider .wrap
	{
		margin-bottom: -26px;
	}
	
	/*
		Меню для шаблона плашки проектов
	*/
	#page-content .blocks .project-menu
	{
		position: relative;
		overflow: hidden;
		font-size: 1.3em;
	}
	
		#page-content .blocks .project-menu ul
		{
			float: left;
			padding: 0;
		}
		
			#page-content .blocks .project-menu li
			{
				float: left;
				padding: 0 13px;
				background: url(../img/separator.png) top left no-repeat;
			}
		
			#page-content .blocks .project-menu li.first
			{
				background: none;
				padding-left: 0;
			}
			
				#page-content .blocks .project-menu li a
				{
					color: #fff;				
				}

	.block-1
	{
		background: url(../img/news-header-1.jpg) top center no-repeat;
		margin-top: 38px;
	}
	
	.block-2
	{
		background: url(../img/news-header-2.jpg) top center no-repeat;	
		margin-top: 38px;
	}
	
	.block-3
	{	
		background: url(../img/news-header-3_1.jpg) top center no-repeat;
		margin-top: 38px;
	}
	
	.block-4
	{
		background: url(../img/news-header-4.jpg) top center no-repeat;
		margin-top: 38px;
	}
	
	.block-5
	{
		background: url(../img/news-header-5.jpg) top center no-repeat;
		margin-top: 38px;
	}
	
	.block-6
	{
		background: url(../img/news-header-6.jpg) top center no-repeat;
		margin-top: 38px;
	}

	/*
		Блок видео
	*/
	.video-block
	{
		position: relative;
		overflow: hidden;
		margin: 0;
		padding: 0;
	}
	
		.video-block a.play-button
		{
			display: block;
			width: 79px;
			height: 79px;
			left: 50%;
			top: 50%;
			position: absolute;
			margin: -39px 0 0 -39px;
			background: url(../img/play.png);
		}
		
/*
	=== Футер ===
*/
#page-footer
{
	margin-top: 50px;
	height: 436px;
	width: 100%;
	background: #ca592c url(../img/foot.jpg) top center no-repeat;
	color: #fff;
	overflow: hidden;
	padding-top: 40px;
}
	
	#page-footer .wrap
	{
		height: 100%;
	}
	
	/* ахтунг! тока для футера */
	#page-footer .span-3
	{
		width: 176px;
	}

	#page-footer a
	{
		color: #fff;
	}
		
		#page-footer ul
		{
			padding: 0;
		}
		
			#page-footer ul li 
			{
				margin-bottom: 8px;
			}
			
			#page-footer ul li.first
			{
				margin-bottom: 12px;
			}
			
			#page-footer ul li.first a
			{
				font-size: 1.4em;
			}

	#page-footer .bottom
	{
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		overflow: hidden;
		height: 40px;
		padding-top: 10px;
	}
	
		#page-footer .bottom .copy
		{
			float: left;
		}
		
		#page-footer .bottom .logos
		{
			position: absolute;
			right: 0;
			top:0;
		}

		
/*
	=== Телепрограмма ===
*/

/*
	Навигатор
*/
.teleprogramm-days
{
  width: 100%;
/*  width: 677px;*/
	overflow: hidden;
	position: relative;
	height: 40px;
}

/*    #day_list {
        width: 655px;
        margin: 0 11px;
        height: 40px;
        overflow: hidden;
    }
*/
	.teleprogramm-days ul
	{
		height: 40px;
		position: absolute;
		left: 0;
		padding: 0 0 0 22px;
		display: inline-block;
	}
	
		.teleprogramm-days li
		{
			float: left;
			width: 75px;
			text-align: center;
			padding: 2px 10px 0 10px;
		}
		
		.teleprogramm-days .left
		{
			position: absolute;
			width: 6px;
			height: 11px;
			display: block;
			background: url(../img/left.png);
			top: 15px;
			left: 0;
		}

		.teleprogramm-days .right
		{
			position: absolute;
			right: 0px;
			top: 15px;
			width: 6px;
			height: 11px;
			display: block;
			background: url(../img/right.png);
		}

/*
	Таблица
*/
.teleprogramm
{
	padding: 0;
	margin: -9px 0 0 0;
}

	.teleprogramm td
	{
		padding: 9px 0 0 0;
	}
	
	.teleprogramm .icon
	{
		width: 22px;
	}
	
	.teleprogramm .time
	{
		width: 53px;
	}
	
	.teleprogramm .name
	{
		width: 427px;
		border-bottom: 1px dotted #ccc;
	}
	
   .teleprogramm .name a {
        text-decoration: none;
        border-bottom: 1px solid #850f0d;
    }
	
	.teleprogramm .name a.color-7 {
	    border-bottom: 1px solid #ccc;
	}
	
	.teleprogramm .name a:hover {
	    color: #da2838;
	}
	
	.teleprogramm .type
	{
		width: 175px;
	}

#program_search {
    width: 200px;
}

.teleprogramm-search {
    width:300px;
}

.teleprogramm-search td {
    background: #f2f2f2;
}

.teleprogramm-search td.t-name {
    width: 200px;
}

.teleprogramm-search td.t-date {
    background: #b42663;
    color: white;
    padding: 6px;
}

.teleprogramm-search td.t-type {
    font-style: italic;
}

.teleprogramm-search td.t-time {
    text-align: center;
    font-size: 95%;
}
	
/*
	=== Фотогалерея ===
*/
.photogallery
{
}

	.photogallery .navigator
	{
		background: #fff4f0;
		border: 1px solid #e8e8e8;
		padding: 7px;
		position: relative;
		height: 335px;
	}		
	
		.photogallery .navigator .clearfix
		{
			height: 3px;
			overflow: hidden;
		}
			
	.project-gallery
	{
		position: relative;
	}

	.project-gallery-img
	{
	}

	.info
	{
		font-size: 0.9em;
		font-style: italic;
	}
	
	#slider_photo .slider-height img
	{
		display: inline;
		margin: 0;
		padding: 0;
	}
	
	.photo-set-image{
		position: relative;
		background-repeat: no-repeat;
		background-position: top left;
		height: 455px;
		width: 655px;
	}
	
	.photo-set-decorator{
		position: absolute; 
		width: 140px; 
		height: 80px; 
		margin: 0px;
		padding: 0px;
		z-index: 9999;
		border: 3px solid #5e1020;
	}
/*
	=== Фильтр для видео ===
*/
.video-sort
{
	width: 279px;
}

	.video-sort .ui-accord-container
	{
		
	}
	
.ui-accord-head
{
	width: 100%;
	height: 25px;
	padding: 10px 0 0 10px;
	background: url(../img/video-sort-top.png);
}	
	
.ui-accord-body
{
	width: 100%;
	height: 327px;
	overflow: hidden;
	background: url(../img/video-bg.png);
}

/*
	=== Попап ===
*/
.popup-tele
{
	padding: 10px;
/*  background: #fdefe4;*/
	margin: 0;
	width: 677px;
	border: 1px solid #e6e6e6;
}

.shitty-announce {
    background: #f2f2f2;
}

.series-announce-hidden {
    line-height: 1.7em;
	font-size: 90%;
}

/*
	=== Стили для форм регистрации и профиля === 
*/
.username-correct
{
	background: #e2f1dd !important;
}

.username-incorrect
{
	background: #ffe5e5 !important;
}

.button
{
	width: 135px;
	height: 22px;
	background: url(../img/buttons.png);
	border: 0;
}

	.clicked
	{
		background-position: left -44px;	
	}
	
.social-icons 
{
    background: url(../img/social_icons.png) no-repeat top left;
    padding-left: 25px;
}

div.social-icons 
{
	height:31px;
	line-height:1.8em;
	padding-top:7px;
}

.icon-facebook {background-position: 0px  10px; }
.icon-flickr   {background-position: 0px -48px; }
.icon-lj       {background-position: 0px -104px;}
.icon-twitter  {background-position: 0px -218px;}
.icon-youtube  {background-position: 0px -274px;}

.private-message-popup {
    background: url(../img/pm_back.jpg) no-repeat top left;
    width: 341px;
    height: 296px;
}

.private-message-popup h3 {
    padding: 20px 16px;
}

.private-message-popup div {
    padding: 2px 0 6px 16px;
}

.private-message-popup label {
    font-style: italic;
    font-weight: normal;
    display: block;
}

.private-message-popup input {
    width: 295px;
    height: 31px;
    font-size: 16pt;
}

.private-message-popup textarea {
    width: 287px;
    height: 80px;
    font-size: 16pt;
}

.private-message-popup .control {
    height:22px;
    line-height: 22px;
}

.private-message-popup .send-button {
    background: url(../img/send_pm_button.png) no-repeat top left;
    color: white;
    display: block;
    float: left;
    height: 22px;
    text-align: center;
    width: 86px;
}

/*
	=== Стили для комментариев ===
*/
.forum-comment-avatar
{
	float: left;
	margin-bottom: 10px;
	width: 35px;
}

.forum-comment-level-1 .column-left
{
	width: 628px;
	float: left;
}

.forum-comment-level-2 .column-left
{
	width: 588px;
	float: left;
}

.forum-comment-level-3 .column-left
{
	width: 548px;
	float: left;
}

.announces .container {
    width: 677px;
}

.announces .forum-comment-level-1 .column-left {width: 590px;}
.announces .forum-comment-level-2 .column-left {width: 550px;}
.announces .forum-comment-level-3 .column-left {width: 510px;}

.ui-popup-fixed {
    width: 352px;
}

.ui-popup-fixed .desc {
    padding-left: 23px;
}

.ui-popup-fixed .desc p {
    padding-top: 8px;
}

.prepend-1 {
    padding-left: 15px;
}

.ui-popup-fixed .top{
	background-image: url(../img/ui/popup/popup-white.png);
	background-position: top left;
	border: none;
	padding: 20px 20px 5px 20px;
}

.ui-popup-fixed .bottom{
	margin: 0;
	background-image: url(../img/ui/popup/popup-white.png);
	background-position: bottom left;
	padding: 0 40px 20px 20px;
}

.video-list li.active {
    display: inline-block;
    background: #850F0D;
}

.video-list li.active a {
    color: white;
}

#tags-list li {
    display: inline;
}

.actor {
    width: 495px;
}

.results {
    border: 1px solid #ccc;
    background: #f2f2f2;
}

.results table.teleprogramm-search { margin-bottom: 0; }

.rate-block h3 {margin-left:4px;margin-top:18px;margin-bottom:10px;}
.rate-block img {border:1px solid #850F0D;}
.rate-block table td {vertical-align: top; padding:0;}
.rate-block .dayseparator {padding-top:12px;padding:6px 0;}
.rate-block .t-image {padding: 6px 12px 6px 0px;}
.rate-block .t-name {width:100%; padding: 6px 0px;}

.no_flash_looser {
    margin-top: 16px;
    width: 480px;
    height: 85px;
    background: #fbecd9;
    padding: 12px 12px 4px 4px;
}

.no_flash_looser img {float: left;padding:16px;}
.no_flash_looser p {margin-bottom: 0.5em;}
.no_flash_looser p.ptitle {font-size:1.3em;}