[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
  display: none !important;
}

html {
	min-height: 100%;
	position: relative;
}

.wrap {
	font-family: Open Sans,Arial,Helvetica,sans-serif;
	color: #595959;
	font-size: 13px;
	line-height: 1.5;
	background-attachment: scroll;
	background-color: #000;
	background-image: url("../images/bg.jpg");
	background-position: center 120px;
	background-repeat: no-repeat;
	background-size: 100% auto;
}

[class^="icon-"] {
	width: 1em;
	margin: 0;
}

a,
span,
input,
button,
textarea {
	transition-duration: 0.5s;
	transition-property: background, color, border;
}

img {
	max-width: 100%;
}

h1,
h2 {
	font-weight: 600;
	color: #000;
	line-height: 36px;
	padding: 15px 0;
	margin: 0 0 15px;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 24px;
}

h3 {
	margin: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
}

.no-content {
	background-color: #f5f5f5;
	color: #333;
	font-size: 18px;
	padding: 20px 15px;
	margin-top: 5px;
}

.video-container {
	padding-bottom: 30px;
	margin-bottom: -30px;
}

.control-label {
	font-weight: 600;
}

input[type="checkbox"] + .control-label {
	margin-left: 6px;
}

.has-error .control-label,
.has-error .help-block {
	color: #933b39;
}

.has-success .control-label,
.has-success .help-block {
	color: #326232;
}

.form-control {
	font-size: 13px;
	color: #666;
	padding: 0 10px;
	border: 1px #ccc solid;
	height: 40px;
	border-radius: 0;
	box-shadow: none !important;
}

.has-error .form-control {
	border-color: #933b39;
}

.has-success .form-control {
	border-color: #326232;
}

.tooltip {
	font-family: Open Sans, Arial, Helvetica, sans-serif;
	font-weight: 600;
	white-space: nowrap !important;
	z-index: 5000;
	text-shadow: 0 1px rgba(0, 0, 0, 0.2);
	font-size: 13px;
}

.tooltip.top {
	padding: 5px 0 !important;
	margin-top: 0 !important;
}

.tooltip.left {
	padding: 0 5px !important;
	margin-left: 0 !important;
}

.tooltip.right {
	padding: 0 5px !important;
	margin-left: 0 !important;
}

.tooltip.bottom {
	padding: 5px 0 !important;
	margin-top: 0 !important;
}

.tooltip-inner {
	padding: 10px 15px !important;
	border-radius: 3px !important;
	background-color: #fcb034 !important;
}

.tooltip.top .tooltip-arrow {
	border-top-color: #fcb034 !important;
}

.tooltip.left .tooltip-arrow {
	border-left-color: #fcb034 !important;
}

.tooltip.right .tooltip-arrow {
	border-right-color: #fcb034 !important;
}

.tooltip.bottom .tooltip-arrow {
	border-bottom-color: #fcb034 !important;
}

.error .help-block {
	margin: 0;
}

.navbar-default {
	border-color: #ccc;
	background-color: #fff;
}

.video-cover-img {
	display: block;
	position: relative;
}

.video-cover-img .play-icon {
	position: absolute;
	z-index: 5;
	left: 50%;
	top: 50%;
	margin-left: -60px;
	margin-top: -45px;
	opacity: 0.85;
}

.header-block {
	background: transparent;
	border-bottom: 0;
	margin-bottom: 0;
}

.search-form-wrapper {
	text-align: right;
}

#search-form {
	margin: 0 0 25px;
	display: inline-block;
}

#search-form .input-group {
	width: 100%;
}

#search-form .input-group .input-group-btn {
	width: 43px !important;
}

#search-form .input-group .btn {
	border-radius: 0 5px 5px 0;
	background-color: #fff !important;
	color: #056 !important;
	font-size: 24px;
	padding: 0 11px;
	font-weight: normal;
}

#search-form .input-group .form-control {
	border: 0;
	border-radius: 5px 0 0 5px;
}

#search-form .input-group .form-control:focus {
	outline: revert;
}

#search-form .input-group .form-control::-webkit-input-placeholder {
	font-style: italic;
}

#search-form .input-group .form-control:-moz-placeholder {
	font-style: italic;
}

#search-form .input-group .form-control::-moz-placeholder {
	font-style: italic;
}

#search-form .input-group .form-control:-ms-input-placeholder {
	font-style: italic;
}

.navbar-brand {
	padding: 0;
	margin-left: 0 !important;
	margin-right: 15px;
	height: auto;
}

.navbar-header {
	padding: 30px 0;
}

.navbar-collapse {
	padding-top: 30px;
	max-height: 400px;
}

.navbar-default .navbar-nav > li > a {
	font-size: 20px;
	color: #fff !important;
	background: none !important;
	padding: 15px;
}

.navbar-default .navbar-nav > li > a:hover {
	color: #fff !important;
}

#main-menu-nav, .languages-nav {
	padding: 5px 0;
}

.navbar-default .navbar-toggle {
	border: 1px #333 solid;
	margin: 0 15px 0 0;
	padding: 10px;
	border-radius: 3px;
}

.navbar-default .navbar-toggle:focus {
	outline: revert;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
	background-color: #333;
}

.navbar-default .navbar-toggle .icon-bar {
	background-color: #fff;
	width: 22px;
}

.content {
	position: relative;
	z-index: 6;
	background-color: #fff;
	margin-top: 30px;
}

.content-inner {
	position: relative;
	padding: 15px 30px 30px;
	margin-top: -30px;
	margin-bottom: -30px;
	background-color: #fff;
	border-radius: 6px;
	box-shadow: 1px 1px 6px 0 rgba(0, 0, 0, 0.3);
}

.video-loading {
	text-align: center;
	margin-top: 15px;
	margin-bottom: 15px;
}

.video-loading img {
	width: 60px;
}

.channels li {
	margin-bottom: 10px;
}

.channels a {
	color: #444;
	padding: 10px 10px 10px 30px !important;
	line-height: 28px;
	position: relative;
	transition: none;
}

.channels a:hover,
.channels a:focus {
	background-color: #595959 !important;
	color: #fff;
}

.channels a.active {
	color: #fff;
	background-color: rgba(56, 162, 199, 0.7) !important;
}

.channels a:hover:before,
.channels a:focus:before,
.channels a.active:before,
.channels a:hover:after,
.channels a:focus:after,
.channels a.active:after {
	width: 18px;
	height: 50%;
	position: absolute;
	z-index: 5;
	left: 100%;
	content: "";
}

.channels a:hover:before,
.channels a:focus:before {
	top: 0;
	background: linear-gradient(to right top, #595959 calc(50% - 1px), transparent 50%);
}

.channels a.active:before {
	top: 0;
	background: linear-gradient(to right top, rgba(56, 162, 199, 0.7) calc(50% - 1px), transparent 50%);
}

.channels a:hover:after,
.channels a:focus:after {
	top: 50%;
	background: linear-gradient(to right bottom, #595959 calc(50% - 1px), transparent 50%);
}

.channels a.active:after {
	top: 50%;
	background: linear-gradient(to right bottom, rgba(56, 162, 199, 0.7) calc(50% - 1px), transparent 50%);
}

.channel-shadow {
	display: none;
	position: absolute;
	z-index: 5;
	left: 0;
	bottom: -9px;
	width: 9px;
	height: 9px;
	background: url("../images/channel-shadow.png") center no-repeat;
}

.channels a.active .channel-shadow {
	display: block;
}

.channel-title {
	display: block;
	transition: none;
}

.channel-videos h2 {
	margin-bottom: 0;
}

.channel-videos .alert {
	margin-top: 15px;
}

.videos-grid {
	list-style: none;
	padding: 0;
}

.video-item a {
	margin-top: 15px;
	margin-bottom: 15px;
	text-decoration: none;
	display: block;
}

.video-item span {
	display: block;
	transition: all 0.5s ease 0s;
}

.caption {
	font-size: 13px;
	font-weight: 600;
	color: #444;
	padding: 10px 15px;
	border-bottom: 1px #fff solid;
	background-color: #fff;
	-webkit-box-shadow: 0 0 12px -7px #000;
	-moz-box-shadow: 0 0 12px -7px #000;
	box-shadow: 0 0 12px -7px #000;
}

.video-item:hover .caption {
	color: #000;
	background-color: #f5f5f5;
}

.caption span {
	overflow: hidden;
	line-height: 24px;
	height: 48px;
}

.image {
	position: relative;
	overflow: hidden;
}

.video-item img {
	width: 100%;
}

.flash {
	background-color: rgba(0, 0, 0, 0.2);
	height: 0;
	position: absolute;
	width: 100%;
	z-index: 5;
	left: 0;
	top: 0;
}

.video-item:hover .flash {
	height: 100%;
}

.jw-rightclick li.jw-featured {
	display: none;
}

@media (min-width: 481px) {
	.video-item {
		width: 50%;
		float: left;
	}

	.home-page-videos .video-item {
		width: 33.3333%;
	}
}

@media (min-width: 768px) {
	.container {
		width: 750px;
	}

	.channels .nav {
		position: relative;
		left: -30px;
	}

	.channels a.active {
		margin-left: -10px;
		padding-left: 40px !important;
	}

	.channel-title {
		font-size: 13px;
	}

	.image {
		height: 129px;
	}

	.home-page-videos .image {
		height: 80px;
	}
}

@media (min-width: 1022px), (min-width: 1350px) and (max-height: 639px) {
	.wrap {
		padding-top: 120px;
	}

	.container {
		width: 990px;
	}

	.languages-and-menu {
		width: 322px !important;
	}

	#search-form {
		padding: 10px 0;
		width: 290px;
	}

	.image {
		height: 179px;
	}

	.home-page-videos .image {
		height: 114px;
	}
}

@media (min-width: 1200px) {
	.channel-title {
		font-size: 16px;
	}
}

@media (min-width: 1350px) and (min-height: 640px) {
	.container {
		width: 1320px;
	}

	.video-item {
		width: 33.3333%;
	}

	.languages-and-menu {
		width: 333px !important;
	}

	#search-form {
		width: 610px;
	}

	.channel-videos .image {
		height: 160px;
	}
}

@media (min-width: 1022px) {
	#header-channels,
	.close-navbar-overlay,
	.menu-icon-text {
		display: none;
	}
	.navbar-collapse.collapse {
		display: flex !important;
	}
	.search-form-wrapper {
		flex-grow: 1;
	}
	.languages-and-menu {
		width: 333px;
		display: flex;
		justify-content: right;
	}
	.languages-nav {
		display: none !important;
	}
	.languages-and-menu .languages-nav {
		display: block !important;
	}
}

@media (max-width: 1021px) {
	.languages-and-menu {
		align-self: stretch;
	}

	.wrap {
		padding-top: 106px;
	}

	.header-block {
		background-color: rgba(0, 0, 0, 0.9) !important;
	}

	.navbar-header {
		padding: 23px 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		float: none;
	}

	.navbar-brand {
		order: -1;
	}

	.navbar-toggle {
		order: 1;
		border: 0 !important;
		display: block;
	}

	.navbar-collapse.collapse {
		display: none !important;
	}

	.navbar-collapse.collapsing {
		display: flex !important;
	}

	.navbar-collapse.collapse,
	.navbar-collapse.collapsing {
		flex-direction: column;
		align-items: flex-start;
		background: rgba(0, 38, 95, 0.95);
		border: 0 !important;
		position: fixed !important;
		top: 0 !important;
		left: 100% !important;
		width: 100%;
		height: 100% !important;
		padding: 35px !important;
		max-height: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		overflow: hidden !important;
		-webkit-transition-property: left !important;
		-o-transition-property: left !important;
		transition-property: left !important;
		-webkit-transition-duration: 0.35s !important;
		-o-transition-duration: 0.35s !important;
		transition-duration: 0.35s !important;
		-webkit-transition-timing-function: ease !important;
		-o-transition-timing-function: ease !important;
		transition-timing-function: ease !important;
	}

	.navbar-collapse.collapse.in {
		display: flex !important;
		overflow-y: auto !important;
		left: 0 !important;
	}

	.header-block .languages {
		margin: 0 !important;
	}

	.languages-nav {
		padding: 0;
		margin: 35px 0 0;
		display: block !important;
	}

	.languages-and-menu .languages-nav {
		display: none !important;
	}

	#main-menu-nav {
		padding: 15px 0 0 !important;
		align-self: stretch;
		margin: 0;
	}

	#main-menu-nav li {
		float: none;
	}

	#main-menu-nav a {
		font-size: 18px;
		font-weight: 500;
		color: #fff;
		padding: 15px;
		display: inline-block;
	}

	.navbar-text {
		float: none;
		margin: 15px 0;
	}

	.navbar-nav {
		float: none !important;
	}

	.navbar-nav > li {
		float: none;
	}

	.navbar-nav > li > a {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	#search-form {
		padding: 0;
		margin: 0;
		border: 0;
		width: 100%;
		display: block;
	}

	.tooltip {
		display: none !important;
	}

	.close-navbar-overlay {
		color: #fff !important;
		font-size: 24px;
		cursor: pointer;
		border-radius: 50%;
		line-height: 40px;
		background: rgba(120, 120, 120, 0.9);
		width: 40px;
		display: inline-block;
		margin: 0;
		text-decoration: none !important;
		align-self: flex-end;
	}

	.menu-icon-text {
		margin-left: 10px;
		display: inline-block !important;
	}

	a:hover .menu-icon-text {
		text-decoration: underline;
	}

	#header-channels {
		margin-top: 30px;
	}

	#header-channels h2 {
		color: #fff;
		padding: 0;
		margin-bottom: 0;
	}

	#header-channels ul {
		margin: 0;
		border-bottom: 1px #ccc solid;
		padding: 15px 0;
	}

	#header-channels li {
		float: none;
	}

	#header-channels li a {
		font-size: 18px;
		font-weight: 500;
		color: #fff !important;
		display: inline-block;
		padding: 15px;
	}

	#header-channels li a:hover {
		text-decoration: underline;
	}

	.search-form-wrapper {
		align-self: stretch;
		margin: 35px 0 0;
	}
}

@media (min-width: 768px) and (max-width: 1021px) {
	.navbar-default .navbar-toggle {
		margin-right: 0;
	}
}

@media (max-width: 767px) {
	.content-inner {
		padding: 15px;
	}

	.video-loading {
		margin-bottom: 0;
	}

	.video-item a {
		margin-bottom: 0;
	}

	.channel-title {
		font-size: 16px;
	}

	.navbar-brand {
		margin-left: 15px !important;
	}
}

/**
 * Hack for mobile safari, it won`t start
 * a click event without this style definition
 */
[data-play] {
	cursor: pointer;
}

.header-block .languages {
	margin-left: 15px;
	margin-right: 15px;
	margin-top: 5px;
}

.header-block .languages .dropdown-toggle {
	padding: 10px 20px;
	background: #fff !important;
	color: #000 !important;
	border-radius: 5px;
	font-size: 14px;
	white-space: nowrap;
}

.header-block .languages .dropdown-toggle:hover {
	color: #000 !important;
}

.header-block .languages .dropdown-toggle:focus {
	outline: revert;
}

.header-block .languages .dropdown-menu {
	position: absolute;
	margin-top: 2px;
	border-radius: 4px;
	background: #fff;
}

.header-block .languages .dropdown-menu a {
	transition: none;
	color: #000 !important;
}

.header-block .languages .dropdown-menu a:hover {
	color: #fff !important;
	background: #757575 !important;
}
