/**
 * @category	Individ
 * 2013 Individ LTD (http://individ.ru)
 */

#list {
	position: relative;
	margin: 0 0 40px;
}

#movies-list {
	position: relative;
	z-index: 10;
	min-height: 630px/*880px*/;
}
#list .itemslist {
	margin: 0 -4px;
	width: 810px;
	min-height: 630px/*880px*/;
}

#list .bottomtext {
	width: 800px;
	text-align: justify;
}
#list article {
	width: 267px;
	height: 200px;
	float: left;
	margin: 0 3px 0 0;
	padding: 30px 0 0;
	position: relative;
	
	font-size: 12px;
	line-height: 1.2;
	
	transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
}

#list article .stars {
    margin: 10px 0 -8px;
    display: none;
}
#list article .stars.tmp {
    display: block;    
}

#list article .stars i {
    position: relative;
    width: 20px;
    height: 11px;
    display: inline-block;
    background: #fff;
    margin: 0 -4px 0 0;
}
#list article .stars i span {
    content: '';
    display: block;
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    width: 20px;
    height: 11px;
    
    background: #FCBB00;
    background: -webkit-linear-gradient(top,  #fcd931 0%,#faa516 100%);
    background: -ms-linear-gradient(top,  #fcd931 0%,#faa516 100%);
    background: linear-gradient(to bottom,  #fcd931 0%,#faa516 100%);
}
#list article .stars i:after {
    content: '';
    display: block;
    position: absolute;
    z-index: 20;
    left: 0;
    top: 0;
    width: 20px;
    height: 11px;
    background: url("/bitrix/templates/formulakino/images/stars_small.png") no-repeat 0 0;
}



#list article.leave {
	left: -100px;
	opacity: 0;
}
#list article:nth-child(3n) {
	/*margin-right: 0;*/
}
#list article.advance {
	background: url("../../../../images/list-advance-bg.png") no-repeat 0 0;
	padding: 0 10px 0 0;
	height: 230px;
	width: 250px;
	
}
#list article.advance .inf {
	font-weight: bold;
	color: #FF8A01;
	font-size: 13px;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	padding: 12px 0 0;
	min-height: 18px;
}
#list article .img {
	position: relative;
	margin: 11px 17px 0 16px;
}
#list article .age {
	display: block;
	position: absolute;
	background: url("../../../../images/sprite.png") no-repeat 0 -100px;
	width: 22px;
	height: 20px;
	color: #FF8A01;
	font-size: 11px;
	font-weight: bold;
	line-height: 1;
	top: -4px;
	right: -14px;
	padding: 5px 0 0 6px;
}
#list article h2 {
	margin: 12px 0 15px;
	font-size: 14px;
	line-height: 1;
	font-weight: bold;
	color: #007BCB;
	max-width: 103px;
	display: inline-block;
	overflow: hidden;
}
#list article h2 a {
	text-decoration: none;
}
#list article h2 a:hover {
	color: #2ca8ef;
}
#list article .format {
	float: none;
	color: #2E2E2E;
	margin: 0 0 2px;
	line-height: 1.4;
}
#list article .format b {
	display: block;
}
#list article .timeleft {
	color: #fff;
	background: #4291D2;
	display: inline-block;
	padding: 3px 6px 5px;
	margin: 0 0 0 -5px;
	font-size: 12px;
	line-height: 1;
	max-width: 96px;
}
#list article .date {
	color: #2E2E2E;
	line-height: 1.4;
}
#list article .date b {
	display: block;
}
#list article .btn {
	position: absolute;
	bottom: 24px;
	left: 144px;
	
	font-size: 10px;
	line-height: 1;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0;
	padding: 4px 8px;
	
	border: none;
	border-radius: 8px;
	
	background: #ffc500;
	background: -webkit-linear-gradient(top,  #ffc500 0%,#ff8702 100%);
	background: -ms-linear-gradient(top,  #ffc500 0%,#ff8702 100%);
	background: linear-gradient(to bottom,  #ffc500 0%,#ff8702 100%);
	
	box-shadow:  1px 1px 2px 0px rgba(0, 0, 0, 0.3);
	text-shadow: 0px -1px 2px rgba(0, 0, 0, 0.3);
}

#list article .btn.tmp {
    display: none;
    
}

#list aside {
	position: absolute;
	z-index: 20;
	left: 823px;
	top: 64px;
	width: 100%;
	height: 100%/*800px*/;
}

 #list aside .cont {
	position: absolute;
	background: #fff url("../../../../images/news-bg.jpg") no-repeat 0 0;
	min-width: 349px;
	padding: 0 0 0 33px;
	left: 0;
	height: 100%;
	top: 230px;
}

#list aside .cont:before {
	content: '';
	display: block;
	position: absolute;
	left: -25px;
	top: 6px;
	width: 25px;
	height: 99%/*860px*/;
	background: url("../../../../images/news-sh.png") no-repeat 0 0;
}
#list aside .news-block-area {
	width: 222px;
	overflow: hidden;
}
#list aside .news-block {
	width: 1219px;
}
#list aside .news-block .col {
	float: left;
	margin: 0 64px 0 0;
}
#list aside article {
	width: 222px;
	height: auto;
	margin: 0 0 34px;
	padding: 0;
	float: none;
	color: #555555;
}
#list aside article .name {
	font-size: 12px;
	
    line-height: 1.2;
    margin: 6px 0 0;
}
#list aside article .name a {
	text-decoration: none;
}
#list aside article .name a:hover {
    color: #2ca8ef;
}
#list aside article .name span{
    font-size: 10px;
    color:#888;
    margin-right: 5px;
}
#newsshow {
	display: block;
	position: absolute;
	left: -22px;
	top: 290px/*502*/;
	width: 34px;
	height: 114px;
	background: url("../../../../images/ars-news.png") no-repeat;
	cursor: pointer;
}

#list aside .cont.active {
	left: -572px;
	/*height: initial;*/
}

.ispage #list aside .cont.active {
	left: -572px;
	height: 100%;
}

#list aside .cont.active .news-block-area {
	width: 794px;
}

#list aside .cont.active #newsshow {
	left: -16px;
	background-position: -37px 0;
}




/* Responsive: width <= 960px */
@media screen and (max-width: 960px), screen and (max-device-width: 960px) and (orientation:portrait)
{
	#list .itemslist {
		width: 640px;
		min-height: auto;
		margin: 0 0 0 40px;
	}
	
	#list .bottomtext {
		width: 620px;
	}
	
	#list article {
		margin: 0 13px 0 0;
	}
	
	#list aside {
		left: 0;
		top: 0;
		position: relative;
		height: auto;
	}
	#list aside .cont {
		background: url("../../../../images/news-bg-640.png") no-repeat center 0;
		padding: 54px 0 0;
		width: 100%;
		position: relative;
		top:30px;
	}
	#list aside .cont:before {
		display: none;
	}
	#list aside article {
		width: 187px;
		float: left;
		margin: 0 39px 0 0;
	}
	#list aside article img {
		width: 100%;
		height: auto;
	}
	#list aside .news-block-area {
		width: 100%;
	}
	#list aside .news-block .col {
		float: none;
		margin: 0 0 20px;
	}
}

@media screen and (max-width: 639px), screen and (max-device-width: 639px) {
	#list .itemslist {
		width: 320px;
		margin: 0;
	}
	
	#list .bottomtext {
		width: 320px;
		font-size: 11px;
	}
	
	#list article.default {
		width: 100px;
		height: 210px;
		margin: 0 0 0 43px;
	}
	#list article.default h2 {
		margin: 8px 0;
	}
	#list article.default .img {
		margin: 0;
		width: 62px;
		height: 90px;
		float: none;
	}
	#list article.default .btn {
		position: static;
	}
	#list article.default .format,
	#list article.default .date {
		font-size: 12px;
		line-height: 1.2;
	}
	#list article.default .img img {
		width: 100%;
		height: auto;
	}
	#list article.advance {
		float: none;
		margin: 0 auto;
		width: 267px;
	}
	#list article.advance .img {
		max-height: 100%;
		height: auto;
	}	
	#list aside {
		margin: 40px 0 0;
	}
	#list aside .cont {
		background: none;
		padding: 0;
	}
	#list aside article {
		float: none;
		margin: 0 auto 20px;
	}
	#list aside article .name {
		margin: 0;
	}
}
