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

#wrapper .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br,
#wrapper .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl,
#wrapper .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr,
#wrapper .ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl,
#wrapper .ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl,
{
	-moz-border-radius-bottomright: 0;
	-moz-border-radius-bottomleft: 0;
	-moz-border-radius-topright: 0;
	-moz-border-radius-topleft: 0;
	-webkit-border-bottom-right-radius: 0;
	-webkit-border-bottom-left-radius: 0;
	-webkit-border-top-right-radius: 0;
	-webkit-border-top-left-radius: 0;
	-khtml-border-bottom-right-radius: 0;
	-khtml-border-bottom-left-radius: 0;
	-khtml-border-top-right-radius: 0;
	-khtml-border-top-left-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-top-right-radius: 0;
	border-top-left-radius: 0;
}

#wrapper .age-slider .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
	border: none;
	background: none;
}

#wrapper .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
	border: none;
	background: none;
}

#wrapper .ui-widget-header {
	border: none;
}
 
#filter-form {
	position: relative;
	z-index: 30;
}

.format .title {
    display: inline-block;
    margin: 10px 17px 0 0;
    vertical-align: top;
	
	color: #000000;
	font-size: 20px;
	line-height: 1.2;
}

.format .t {
	color: #008BDA;
	font-size: 25px;
	line-height: 1.2;
	display: inline-block;
	margin: 3px 0 0;
}

.format .t a {
	display: inline-block;
	text-decoration: none;
	padding: 2px 11px 4px;
	cursor: pointer;
}

.format .t a span {
	border-bottom: 2px dotted #008BDA;
}

.format .t a:hover {
	color: #2ca8ef;
}

.format .t a:hover span {
	border-bottom: 2px dotted #2ca8ef;
}

.format .t a.active {
	cursor: default;
	position: relative;
	color: #fff;
	border-radius: 5px;
	background: #0e63f8;
	background: -moz-linear-gradient(top,  #408fd4 0%, #0e63f8 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#408fd4), color-stop(100%,#0e63f8));
	background: -webkit-linear-gradient(top,  #408fd4 0%,#0e63f8 100%);
	background: -o-linear-gradient(top,  #408fd4 0%,#0e63f8 100%);
	background: -ms-linear-gradient(top,  #408fd4 0%,#0e63f8 100%);
	background: linear-gradient(to bottom,  #408fd4 0%,#0e63f8 100%);
	
	box-shadow:  1px 1px 2px 0px rgba(0, 0, 0, 0.3);
}

.format .t a.active:after {
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	border: 6px solid #fff;
	border-top: 6px solid #0e63f8;
	left: 50%;
	margin-left: -4px;
	bottom: -12px;
}

.format .t a.active span {
	border: none;
}

.format .t a.imax1, .format .t a.dolby {
	padding-bottom: 0;
}

.format .t a.imax1 span, .format .t a.dolby span,
.format .t a.format-dolby-atmos span {
	position: relative;
	width: 59px;
	display: inline-block;
	text-indent: -9999px;
}

.format .t a.imax1.active, .format .t a.dolby.active {
	padding-bottom: 4px;
}

.format .t a.imax1 span:before, .format .t a.dolby span:before ,
.format .t a.format-dolby-atmos span:before
{
	content: '';
	position: absolute;
	display: block;
	top: 5px;
	width: 59px;
	height: 19px;
	background: url("images/imax.png") no-repeat 0 0;
}

.format .t a.imax1.active span:before, .format .t a.dolby.active span:before,
.format .t a.format-dolby-atmos.active span:before
{
	background-position: 0 -19px;
}

.format .t a.dolby span,
.format .t a.format-dolby-atmos span{
	width: 70px;
}

.format .t a.format-dolby-atmos span:before,
.format .t a.dolby span:before {
	width: 70px;
	background: url("images/dolby-atmos.png") no-repeat 0 0;
}

.filter {
	position: relative;
	z-index: 200;
	font-size: 20px;
	line-height: 1.2;
	color: #000;
	margin: 0 0 35px;
}

.filter .tabslist {
	margin: 0 0 9px;
}

.filter .soon {
	font-size: 28px;
	letter-spacing: 0.5px;
	color: #000;
	line-height: 1.2;
	float: left;
	margin: 0 0 0 -30px;
}

.filter .cinema-select {
	float: right;
	width: 305px; /*188*/
}

.filter .cinema-select .s {
	width: 305px;
	margin:0;
}

.filter .soon a {
	display: inline-block;
	text-decoration: none;
	position: relative;
	min-height: 52px;
	padding: 16px 30px;
	margin: 0 10px 0 0;
	cursor: pointer;
}

.filter .soon a span {
	border-bottom: 2px dotted #000;
}

.filter .soon a:hover {
	color: #2ca8ef;
}

.filter .soon a:hover span {
	border-bottom: 2px dotted #2ca8ef;
}

.filter .soon a.active
{
	background: url("/bitrix/templates/formulakino/images/soon-tabs-l.png") no-repeat 0 0;
	font-weight: bold;
	cursor: default;
}

.filter .soon a.active:hover {
	font-weight: bold;
	cursor: default;
}

.filter .soon a.active span {
	border-bottom: none;
}

.filter .soon a.active:hover {
	color: #000;
}

.filter .soon a.active:before {
	content: '';
	position: absolute;
	background: url("/bitrix/templates/formulakino/images/soon-tabs-r.png") no-repeat 0 0;
	top: 0;
	right: 0;
	width: 10px;
	height: 72px;
}

.filter .soon a.active:after {
	content: '';
	position: absolute;
	/*background: url("/bitrix/templates/formulakino/images/soon-tabs-ar.png") no-repeat 0 0;*/
	bottom: -5px;
	left: 50%;
	margin-left: -18px;
	width: 36px;
	height: 22px;
}

.filter .format {
	float: left;
}

.filter .params .subtitles {
	font-size: 16px;
	margin: 84px 0 0;
}

.ispage .subtitles .premium-hall,
.ispage .subtitles .subtitle-film,
.ispage .subtitles .art-film {
	margin: 0 18px 10px 0;
}

.filter .params .subtitles .title {
    display: inline-block;
    margin: 1px 8px 0 0;
}

.filter .params .switch {
	display: inline-block;
	position: relative;
	border: solid 1px #ff6902;
	border-radius: 5px;
	padding: 2px 2px 3px;
	font-size: 14px;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
	width: 64px;
	vertical-align: top;
	
	background: #ff6902;
	background: -webkit-linear-gradient(top,  #ff6902 0%,#febc06 100%);
	background: -ms-linear-gradient(top,  #ff6902 0%,#febc06 100%);
	background: linear-gradient(to bottom,  #ff6902 0%,#febc06 100%);
}

.filter .params .switch i {
	display: block;
	position: absolute;
	top: 1px;
	left: 0;
	border-radius: 5px;
	width: 32px;
	height: 19px;
	
	background: -webkit-linear-gradient(top,  #f5f6f7 0%,#e1e3e5 100%);
	background: -ms-linear-gradient(top,  #f5f6f7 0%,#e1e3e5 100%);
	background: linear-gradient(to bottom,  #f5f6f7 0%,#e1e3e5 100%);
	
	box-shadow:  0px 0px 2px 0px rgba(0, 0, 0, 0.3);
	
	transition: left .2s;
	-moz-transition: left .2s; /* Firefox 4 */
	-webkit-transition: left .2s; /* Safari and Chrome */
	-o-transition: left .2s; /* Opera */
}

.filter .params .switch .on {
	float: left;
	margin: 0 0 0 6px;
}

.filter .params .switch .off {
	float: right;
	margin: 0 4px 0 0;
}

.filter .params .switch.active i {
	left: 36px;
}

.filter .params {
	min-height: 130px;
}

/* on page */
.content-width .filter .cinema-select {
	float: left;
	margin: -10px 0 30px;
	width: 500px;
	vertical-align: middle;
}

.content-width .filter .cinema-select .s {
	display: inline-block;
	vertical-align: middle;
}

.content-width .filter .soon {
	font-size: 22px;
}

.content-width .filter .soon {
	font-size: 24px;
	margin: -8px 0 0 0;
}

.content-width .filter .soon a {
	padding: 16px 20px;
	min-height: 44px;
}

.content-width .filter .soon a.active {
	background: url("/bitrix/templates/formulakino/images/soon-tabs-l-640.png") no-repeat 0 0;
}

.content-width .filter .soon a.active:before {
	background: url("/bitrix/templates/formulakino/images/soon-tabs-r-640.png") no-repeat 0 0;
}

.content-width .filter .soon a.active:after {
	bottom: 0;
	left: 50%;
	margin-left: -17px;
	width: 34px;
	height: 19px;
}

.content-width .filter .params .subtitles {
	float: left;
	margin: 18px 0 0;
}




/* Responsive: width <= 960px */
@media screen and (max-width: 960px), screen and (max-device-width: 960px) and (orientation:portrait)
{
	.filter {
		margin: 28px 8px 35px;
	}
	
	.filter .tabslist {
		margin-bottom: 16px;
	}
	
	.filter .cinema-select {
		float: none;
		width: auto;
		margin: 0;
	}
	
	.filter .cinema-select .s {
		display: inline-block;
		margin: 0;
		vertical-align: middle;
	}
	
	.filter .soon {
		font-size: 24px;
		margin: 16px 0 0 -20px;
	}
	
	.filter .soon a {
		padding: 16px 20px;
		min-height: 44px;
	}
	
	.filter .soon a.active {
		background: url("/bitrix/templates/formulakino/images/soon-tabs-l-640.png") no-repeat 0 0;
	}
	
	.filter .soon a.active:before {
		background: url("/bitrix/templates/formulakino/images/soon-tabs-r-640.png") no-repeat 0 0;
	}
	
	.filter .soon a.active:after {
		bottom: 0;
		left: 50%;
		margin-left: -17px;
		width: 34px;
		height: 19px;
	}
	
	#content .filter .params {
		text-align: center;
	}
	
	#content .filter .format {
		float: none;
		margin: 0 0 26px;
	}
	
	#content .filter .params .format .title {
		display: inline-block;
		margin: 9px 12px 0 0;
	}
	
	#content .filter .params .subtitles {
		float: none;
		margin: 0 auto;
	}
	
	#content .filter .params .subtitles .title {
		display: inline-block;
		margin: 2px 12px 0 0;
	}
	
	#content .subtitles .premium-hall,
	#content .subtitles .subtitle-film,
	#content .subtitles .art-film {
		display: inline-block;
		float: none;
		
	}
	
	#content .subtitles .art-film {
		margin-right: 0;
	}
}




/* Responsive: width <= 639px */
@media screen and (max-width: 639px), screen and (max-device-width: 639px)
{
	#content .format .t a {
		padding: 2px 5px 4px;
	}

	#content .filter .cinema-select,
	#content .filter .params .format .title,
	#content .filter .params .subtitles .title
	{
		font-size:16px;
	}
	
	#content .filter .params .format .title,
	#content .filter .params .subtitles .title
	{
		margin-bottom:10px;
	}
	
	#content .filter .cinema-select .s 
	{
		margin:10px 0;
	}
	
	#content .filter
	{
		margin-bottom:0;
	}
	
	#content .filter .tabslist {
		margin-bottom: 20px;
	}
	
	#content .filter .premium-hall
	{
		display:block;
	}
	
	#content .filter .soon {
		margin-top: 6px;
		margin-left: 0;
		letter-spacing: 0;
	}
	
	#content .filter .soon a {
		display: inline-block;
		padding: 8px 3px;
		margin: 0 0 -16px;
		text-align: center;
		font-size:15px;
		min-height:20px;
	}
	
	#content .filter .soon a.active
	{
		background:#ff7200;
		color:#fff;
		font-weight:normal;
	}
	
	#content .filter .soon a.active:after {
		bottom: 0;
		height: 0;
		left: 0;
		margin-left: 0;
		width: 0;
		background:0;
	}
	
	#content .filter .soon a.active:before {
		background: none;
		content: "";
		height: 0;
		right: 0;
		top: 0;
		width: 0;
	}
	
	#content .filter .soon a[data-when=today] {
		float: left;
	}
	
	#content .filter .format {
		float: none;
	}
	
	#content .filter .params .subtitles {
		float: none;
		margin: 20px 0 0;
	}

	.content-width .filter .cinema-select {
		float: left;
		margin: -60px 0 0 0;
		width: 500px;
		vertical-align: middle;
	}
	.content-width .filter .cinema-select .s {
		display: inline-block;
		vertical-align: middle;
	}
	
	.content-width .filter .soon {
		font-size: 24px;
		margin: 0;
		min-width: 282px;
	}
	
	.content-width .filter .soon a {
		padding: 5px 3px;
		min-height: 20px;
	}
	
	.content-width .filter .soon a.active {
		background: none repeat scroll 0 0 #FF7200;
	}
	
	.content-width .filter .soon a.active:before {
		background: none;
	}
	
	.content-width .filter .soon a.active:after {
		background: none;
		bottom: 0;
		left: 0;
		margin-left: 0;
		width: 0;
		height: 0;
	}
	
	.content-width .filter .params .subtitles {
		float: left;
		margin: 18px 0 0;
	}
}

/* Ia?aianoe a io?iia ianoi */
.subtitles .premium-hall .premium-text {
	color: #007BCB;
	font-size: 13px;
	font-weight: bold;
}

.checkbox {
    /*background: url(images/checkbox-sprite.png) no-repeat scroll 0 0 transparent;*/
    cursor: pointer;
    /*height: 24px;*/
    vertical-align: middle;
    width: 20px;
}

.checkbox.checked {
    background-position: 1px 0;
}

.subtitles .premium-hall,
.subtitles .subtitle-film {
	float: left;
	margin-right: 26px;
}

.subtitles .art-film {
	float: left;
	margin-right: 46px;
}

.ispage  .subtitles .art-film {
	margin-right: 46px;
}

.subtitles  .age-slider {
	background: url(images/age-slider.png) no-repeat;
	border: none;
	display: inline-block;
	width: 196px;
	height: 40px;
	position: relative;
}

.subtitles  .age-slider .age-restriction-list {
	margin: 0 -16px;
	width: 252px;
}

.subtitles  .age-slider .age-restriction {
	background: url(images/age-slider-border.png) no-repeat center 0;
	color: #747474;
	float: left;
	font-size: 14px;
	margin: 16px 14px 0;
	padding-top: 12px;
}

#wrapper .ui-widget-header {
	background: url(images/age-slider-active.png) repeat-x;
	height: 11px;
	position: absolute;
	border-radius: 20px;
}

#wrapper .ui-slider .ui-slider-handle {
	background: url(images/slider-icon.png) no-repeat;
	width: 45px;
	height: 47px;
	position: absolute;
	margin: -12px 0 0 -22px;
}




@media screen and (max-width:960px) {
	.subtitles .age-slider {
		margin-top: 25px;
	}
}




@media screen and (max-width:639px) {
	#content .subtitles .premium-hall,
	#content .subtitles .subtitle-film,
	#content .subtitles .art-film {
		display: block;
		float: none;
		margin: 0;
	}
	
	#content .subtitles .age-slider {
		margin: 15px 0;
	}

	#content .subtitles  .age-slider .age-restriction-list {
		margin: 0 -16px;
	}
	
	#content .subtitles  .age-slider .age-restriction {
		margin: 16px 13px 0;
	}

	#content .filter .params .subtitles {
		width: inherit;
	}
}