html {
  min-height: 100%;
}

body {
  background: #000000;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 16px;
  color: #313131;
  height: 100%;
}

.s16 {
  font-size: 16px;
  line-height: 18px;
}

.s18 {
  font-size: 18px;
  line-height: 22px;
}

.b-wrap {
	position: relative;
	overflow: hidden;
}

	.vertical .b-wrap {

	}

.margin_b10 {
  margin-bottom: 10px;
}

.color_4c6 {
  color: #4c6ab0;
}

.color_313 {
	color: #313131;
}

.color_003 {
	color: #0038c0;
}

.icon {
	vertical-align: middle;
	margin-left: 5px;
}

.b-head {
  border-top: 1px solid #d7776b;
  height: 42px;
  border-bottom: 1px solid #350000;
  background: -webkit-gradient(linear, left top, left bottom, from(#bd1c08), to(#9a0000));
  background: -moz-linear-gradient(top, #bd1c08, #9a0000);
  -moz-border-radius-topright: 7px;
  -moz-border-radius-topleft: 7px;
  -webkit-border-top-right-radius: 7px;
  -webkit-border-top-left-radius: 7px;
  text-align: center;
  position: relative;
}

  .b-add-favorite, .b-rm-favorite {
    position: absolute;
    height: 26px;
    line-height: 24px;
    position: absolute;
    padding-left: 34px;
    color: #fff;
    font-size: 12px;
    background: url(/images/add_favorite.png) no-repeat;
    left: 10px;
    top: 7px;
    text-decoration: none;
  }
  
  .b-rm-favorite {
  	 background: url(/images/rm_favorite.png) no-repeat;
  }
  
  .show-rm .b-add-favorite {
	  display: none;
  }
  
  .show-rm .b-rm-favorite {
	  display: block;
  }
  
  

.logo {
  margin-top: 7px;
}

.content {
  position: relative;
}

	.vertical .content {
		height: auto !important;
	}
	

  .content:after {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
	opacity: 1;
    width: 23px;
    content: "";
    background: url(/images/rightcolumn_grad.png) repeat-y;
  }
  
  .vertical .content:before {
    position: absolute;
    right: left;
    top: 0;
    height: 100%;
    width: 23px;
	z-index: 10;
    content: "";
    background: url(/images/rightcolumn_grad_left.png) repeat-y;
  }

.b-lastest-feed {
  border-top: 1px solid #f8f8f8;
  height: 29px;
  line-height: 29px;
  border-bottom: 1px solid #b0b0b0;
  background: #dcdcdc;
  font-size: 15px;
  color: #333333;
  padding: 0 7px;
}

  .b-lastest-feed:before {
    display: inline;
    content: "";
    text-transform: uppercase;
    color: #a40600;
    font-weight: bold;
  }

.b-video__l {
	background: #000;
}

.horizontal .b-video__l {
  outline: 4px solid #dcdcdc;
}

.vertical .b-video {
	background: #dcdcdc;
	text-align: center;	
}

	.vertical .b-right-column__l {
		border-left: 1px solid #d4d4d4;
	  	border-right: 1px solid #d4d4d4;
		width: 514px;
		margin: 0 auto;
	}
	
		.vertical .b-video .b-right-column__l {
			border-color: #c3c3c3;
		}

  .b-video video {
    display: block;
  }

.b-left-column {
  position: relative;
  background: #313131;
}

  .horizontal .b-left-column {
    width: 490px;
	 float: left;
  }
 

.b-right-column {
    background: #fff;
	min-height: 930px;
}
  
  .b-right-column__l {
	  padding: 10px;
  }

  .horizontal .b-right-column {
    height: 652px;
	width: 534px;
    float: right;
  }
 

.b-channels-packs {
  border-top: 1px solid #000000;
  border-bottom: 1px solid #5f5f5f;
}

	.top-border .l {
	  height: 7px;
	}

  .b-channels-group.top-border:before {
    display: none;
  }

.b-channels-group {
  
  height: 0;
  overflow: hidden;
  /*position: relative;*/

}

	.b-channels-tabs {
		background: #000;
		height: 22px;
		padding: 3px 10px 4px 10px;
	}
	
		.horizontal .b-channels-tabs {
			display: none;
		}
	
		.b-channels-tabs a {
			display: inline-block;
			color: #dcdcdc;
			height: 22px;
			line-height: 22px;
			text-decoration: none;
			padding: 0 10px;
			text-transform: uppercase;
			font-size: 12px;
			border-radius: 3px;
			-webkit-border-radius: 3px;
			-moz-border-radius: 3px;
		}
		
			.b-channels-tabs a b {
				font-weight: bold;
			}
		
			.b-channels-tabs a span {
				color: #c9222f;
			}
		
			.b-channels-tabs a.active {
				background: #dcdcdc;
				color: #000;
			}

	.horizontal .b-channels-group, .b-channels-group.activeTab {
		overflow: visible;
		height: auto;
		border-bottom: 1px solid #000000;
  		border-top: 1px solid #5f5f5f;
	}

  .b-channels-group .l {
    border-top: 1px solid #373737;
    border-bottom: 1px solid #2b2b2b;
  }

  .b-channels-group__t {
    padding: 9px 0 9px 0;
    font-size: 12px;
    line-height: 22px;
    text-transform: uppercase;
    color: #dcdcdc;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    margin-right: 11px;
  }

    .b-channels-group__t:after {
      position: absolute;
      width: 18px;
      height: 28px;
      content: "";
      right: 0;
      top: 0;
      background: url(/images/gradient.png) no-repeat;
    }

    .active .b-channels-group__t:before {
      display: none;
    }

  .active .b-channels-group__t {
    white-space: normal;
    width: 255px;
  }

    .horizontal .b-channels-group:before {
      position: relative;
      z-index: 10;
      display: block;
      float: right;
      width: 11px;
      height: 13px;
      background: url(/images/corners.png) no-repeat;
      content: "";
      top: 21px;
      margin: -6px 14px 0 0;
    }
	
	.horizontal .top-border:before {
		display: none;
	}

    .horizontal  .b-channels-group.active:before {
      width: 13px;
      height: 11px;
      margin-top: -5px;
      right: -3px;
      background: url(/images/corners.png) 0 bottom no-repeat;
    }

  .b-channels-group__t .count {
    text-transform: none;
    color: #c9222f;
    margin-left: 7px;
  }

/* touchscroll */

#rightScroller {
	float:left;
  	width:100%;
}

  .horizontal #scroller {
    min-height: 612px;
	float:left;
  	width:100%;
  }

#rightScroller, #broadcastsScroll {
  float:left;
  width:100%;
}

.overflow {
  overflow:hidden;
  position:relative;
  white-space:nowrap;
  width:100%;
}

.js-scrollX {
  float:left;
  position: relative;
  width: auto;
}

.b-photo-pager {
  padding: 0 0 5px;
  text-align: center;
}

	.horizontal .b-photo-pager {
		visibility: hidden;
	}

	.vertical .b-photo-pager {
		margin-bottom: -20px;
		position: relative;
		top: 150px;

	}

  .horizontal .active .b-photo-pager {
    visibility: visible;
  }

.horizontal .b-photo-pager {
  float: right;
  margin: 9px 30px 0 0;
}

    .b-photo-pager .item {
      font-size: 24px;
      color: #999999;
      display: inline-block;
      font-style: normal;
      margin: 0 3px;
      vertical-align: top;
      cursor: pointer;
    }

      .b-photo-pager .item.active {
        color: #000000;
      }

.b-channel {
  display: inline-block;
  width: 115px;
  height: 130px;
  vertical-align: top;
  text-align: center;
  cursor: pointer;
  border: 1px solid #464646;
  background: url(/images/channel_bg.png) no-repeat;
  padding: 7px 0 0 0;
  margin: 1px;
  margin-right: -2px;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

  .b-channel.active {
    border: 2px solid #dcdcdc;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    margin: 0;
    margin-right: -3px;
  }

  .b-channel .channel-name {
    font-size: 12px;
    line-height: 14.4px;
    padding: 9px 5px 0 5px;
    color: #fff;
	height: 30px;
	overflow: hidden;
    white-space: normal;
  }

  .channel-logo {
    width: 84px;
    height: 85px;
	margin: 0 auto;
	background-position: center center;
  }

.b-channels-group__channels {
  overflow: hidden;
  height: 0;
  top: -4px;
  margin: 0 4px 0 5px;
  position: relative;
}

	.horizontal .activeTab .b-channels-group__channels {
		height: 0;
	}

  .horizontal .active .b-channels-group__channels, .vertical .activeTab .b-channels-group__channels {
    height: auto !important;
  }
  
  

  .b-channels-group__channels .l {
    border: none;
  }

.b-channels-group__channels .overflow {
  margin: 2px 0 0 0;
  padding-bottom: 8px;
}

	.vertical .b-channels-group__channels .overflow {
		padding-bottom: 22px;
	}

.b-channels-group__channels .separator {
  font-size: 0;
  height: 0;
  margin: 0 -10px 0 -10px;
  border-top: 1px solid #36393d;
  display: block;
}

.vertical .b-now-broadcast .b-right-column__l {
	height: 536px;

}

  .b-now-broadcast #rightScroller {
	 
  }

  .resize .b-now-broadcast .s18 {
    font-size: 14px;
    line-height: 16.8px;
  }

  .resize .b-now-broadcast .channel-logo img {
    width: 44px;
    height: 44px;
  }

.b-now-broadcast .channel-logo {
  padding-right: 16px;
  width: 94px;
}

	.vertical .b-now-broadcast .channel-logo {
		padding-right: 0;
	}

	.vertical .b-now-broadcast .channel-logo img {
		position: absolute;
		margin-left: -108px;
	}

.b-bottom-bar {
  height: 45px;
  background: url(/images/bottom_x.png) repeat-x;
  position: relative;
  margin-top: -10px;
}

  .b-hgradient {
    position: absolute;
    opacity: 0.3;
    width: 100%;
    height: 20px;
    top: -20px;
    left: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(#000000));
    background: -moz-linear-gradient(top, transparent, #000000);
  }


.b-bottom-bar:before, .b-bottom-bar:after {
  width: 5px;
  height: 5px;
  position: absolute;
  top: -5px;
  left: 0;
  background-image: url(/images/bottom_corners.png);
  background-position: 0 -5px;
  content: "";
}

.b-bottom-bar:after {
  right: 0;
  left: auto;
  background-position: 0 0;
}

.b-bar-btn {
  position: absolute;
  width: 37px;
  height: 37px;
  top: 50%;
  margin-top: -19px;
  background-image: url(/images/s_bottom_bar.png);
}

  .b-bar-btn.disabled {
    opacity: 0.36;
  }

.btn-back {
  left: 178px;
}

.btn-forward {
  left: 288px;
  background-position: 0 -42px;
}

.btn-favorite {
  left: 50%;
  background-position: 0 -83px;
  margin-left: 200px;
}

.js-resize {
  position: absolute;
  right: 20px;
  top: 10px;
}

.js-openChannelGroup {
  padding: 0 6px;
  cursor: pointer;
  display: none;
}

	.horizontal .js-openChannelGroup {
		display: block;
	}

.b-broadcast-list {
	height: 160px;
	overflow: hidden;
}

	.vertical .b-broadcast-list {
		height: 200px;
	}

.b-popup-broadcasts {
	position: absolute;
	background: #dcdcdc;
	height: 100%;
	right: 0;
	top: 0;
	width: 405px;
	box-shadow: 0 0 15px #111;
	-moz-box-shadow: 0 0 15px #111;
	-webkit-box-shadow: 0 0 15px #111;
	padding: 0 10px 0 20px;
	overflow: hidden;
}

	.vertical .b-popup-broadcasts {
		right: auto;
		left: 106px;
		width: 520px;
	}

	.b-popup-broadcasts:after {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 109px;
		background: url(/images/gradient_for_programm.png) repeat-x;
		content: "";
	}
	
	.b-popup-broadcasts .b-broadcast-list {
		margin-top: 12px;
		height: auto;
		padding-bottom: 100px;
	}
	
	.b-popup-broadcasts .overflow {
		height: 100%;
	}
	
		.b-broadcast-list li {
			border-color: #bfbfbf;
		}
		
			.b-broadcast-list li a {
				text-decoration: none;
				color: #000000;
			}

.b-broadcast-list li {
  color: #7f7f7f;
  border-top: 1px solid #dcdcdc;
  padding: 4px 0 6px 0;
}

    .b-broadcast-list li.active a {
      font-weight: bold;
      text-decoration: none;
      color: #000;
    }

    .b-broadcast-list li.active .time {
      color: #ac0e04;
    }

  .b-broadcast-list li:first-child {
    border: none;
  }

.dotted {
	text-decoration: none;
	border-bottom: 1px dotted;
	cursor: pointer;
}

.b-datepick {
	position: absolute;
	z-index: 20;
	bottom: 15px;
	left: 610px;
	white-space: nowrap;
}

	.vertical .b-datepick {
		left: 130px;
	}

.hidden {
	display: none !important;
}

.ui-datepicker {
	margin: -50px 0 0 -115px;
	box-shadow: 0 0 20px #222;
	-moz-box-shadow: 0 0 20px #222;
	-webkit-box-shadow: 0 0 20px #222;
	z-index: 100;
}

	.vertical .ui-datepicker {
		margin-left: -185px;
	}

.f-left {
	float: left;
}

.f-right {
	float: right;
}

.b-lang-switch {
	position: absolute;
	right: 10px;
	top: 13px;
	text-align: right;
	width: 85px;
}

	.b-lang-switch .i-switcher {
		margin: 0 auto;
		width: 39px;
		height: 22px;
		background-image: url(/images/s_lang_switcher.png);
		margin-top: -2px;
		position: relative;
	}
	
		.b-lang-switch .i-switcher:before {
			position: absolute;
			content: "";
			background: url(/images/s_lang_switcher.png) 0 bottom no-repeat;
			width: 16px;
			height: 16px;
			top: 3px;
			left: 3px;
		}
		
		.b-lang-switch.ru .i-switcher:before {
			left: auto;
			right: 3px;
		}

	.b-lang-icon {
		width: 16px;
		padding: 3px 3px;
		height: 11px;
		display: block;
		background-image: url(/images/s_lang_bg.png);
		opacity: 0.77;
	}
		
		.b-lang-icon.active {
			background-position: 0 bottom;
			opacity: 1;
		}
	
		.b-lang-icon img {
			display: block;
		}
		
/* Login */

.login {
	background: #252526 url(/images/login_back.png) center center no-repeat;
}

	.b-login {
		width: 704px;
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -85px 0 0 -367px;
	}
	
	.b-login-form {
		width: 320px;
		float: right;
	}
	
	.b-login-fields {
		background: #f7f7f7;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		padding: 12px 12px 10px 12px;
		font-size: 17px;
		margin-bottom: 8px;
	}
	
		.b-login-fields input {
			font-size: 17px;
			color: #000;
			font-family: Arial, Helvetica, sans-serif;
			width: 190px;
			background: none;
			border: none;
			padding-left: 5px;
			padding-right: 5px;
		}
		
		.b-login-fields label {
			width: 82px;
			display: inline-block;
			font-weight: bold;
		}
		
		.b-login-fields .b-line {
			height: 0;
			border-top: 1px solid #cacaca;
			border-bottom: 1px solid #fdfdfd;
			margin: 6px -12px 6px -12px;
		}
		
	.i-logo {
		margin-top: 9px;
	}
	
.b-login-actions {
	text-align: right;
	font-size: 16px;
	color: #a8a3a3;
}

	.b-login-actions a {
		color: #c35c50;
	}

.b-login-submit {
	width: 145px;
	height: 39px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #fff;
	font-weight: bold;
	text-align: center;
	background: url(/images/login_submit.png) 0 2px no-repeat;
	border: none;
	margin-bottom: 15px;
}

.input-clear-border {
	height: 5px;
	width: 200px;
	display: inline-block;
	background: #F7F7F7;
	margin-right: -200px;
	position: relative;
	top: -14px;
}
		
	
