/* Variables */ 
:root {
	--bg-r: 41;
	--bg-g: 42;
	--bg-b: 42;
	
	--highlight-link: #2b7df1;
}

/* Sources CSS */ 
.sources-header {
  position: relative;
  background-color: #3b3d41;
  padding: 16px;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 1px 1px rgba(0,0,0, 0.1);
  color: #fff;
}
.episodes.guide .sources-header{
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  font-size:16px;
  width: 550px;
}
.sourses-list-ep-guide .search-for{
  text-align: center;
  padding:0px;
}

.sourses-list-ep-guide .search-for a{
  background:none;
  background-color: #3b3d41;
  padding: 16px;
  padding-left:0px;  
  float:none;
  color:#fff;
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  width: 566px;
}
.sourses-list-ep-guide .search-for a:hover{
  background-color: #00afeb;
}
.sourses-list-ep-guide .search-for a em{
  float:none;
  text-decoration:none !important;
  font-style: normal;
  font-weight: bold;
}
.sources {
  background:#242927;
  position: relative;
}
.sources .source {
  display: flex;
  position: relative;
  padding: 16px 0px 16px 12px;
  margin-left: 0px;
  border-top: 1px solid rgba(0,0,0, 0.2);
  cursor: pointer;
}
.sources .source{
  color:#fff;
}
.sources .source:hover{
  text-decoration: none;
  background-color: #121212;
}
.sources .source:first-child {
  border-top: 0;
}

.sources .source.purchased .label {
  opacity: 1;
}

.sources .source.expires-soon .label {
  color: red;
}

.source .play-circle {
  height: 36px;
  width: 36px;
  border-radius: 100%;
  border: 5px solid #FFF;
  background: url(//cfm.yidio.com/mobile/img/ico-play.png) no-repeat center;
  background-size: 19px 18px;
  margin-right: 16px;
	flex-shrink: 0;
}

.source.loading .play-circle {
  background: url(https://cfm.yidio.com/mobile/img/activity-indicator.gif) no-repeat center;
  background-size: 26px 26px;
}

.source .content,
.android .source .content {
  margin-top: -3px;
  padding: 0;
  background: none;
}

.source .logo {
  display: flex;
  align-items: center;
  margin-bottom: 1px;
}

.source .logo .primary {
  height: 32px;
  margin-left: -5px;
}

.source .logo .add-on {
  height: 30px;
}

.source .plus {
  padding-right: 4px;
  margin-top: -2px;
  opacity: 1;
  transition: opacity 400ms;
}

.source img.lazy-loaded + .plus {
  opacity: 1;
}

.source .label {
  font-size: 75%;
  opacity: 0.6;
  margin-top: -1px;
  margin-right: 16px;
  position: relative;
  line-height: 130%;
}

.source .icons {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  height: 20px;
  padding: 12px;
}

.source.purchased .icons::before {
  content: "";
  background-image: url(https://cfm.yidio.com/mobile/img/ico-purchased-white-72.png);
  opacity: 1;
  width: 24px;
  height: 24px;
  background-size: 24px;
  margin: -1px -2px -3px -2px;
}

.source .icons div,
.source .icons::before {
  display: block;
  width: 20px;
  height: 20px;
  margin-left: 6px;
  opacity: 0.2;
  background-size: 20px;
}

.source .icons .airplay {
  background-image: url(https://cfm.yidio.com/mobile/img/ico-airplay-white-48.png);
}

.source .icons .chromecast {
  background-image: url(https://cfm.yidio.com/mobile/img/ico-chromecast-white-48.png);
}

.source .icons .info {
  position: relative;
  opacity: 1;
  border-radius: 100%;
  border-style: solid;
  border-width: 2px;
  width: 15px;
  height: 15px;
  top: 1px;
  text-align: center;
  margin-left: 9px;
  filter: saturate(150%);
  padding-top: 0 !important;
}

.source .icons div.info::after {
  display: block;
  content: 'i';
  line-height: 16px;
  font-size: 70%;
  font-weight: 700;
  opacity: 0.8;
}

.android .source .icons div.info::after {
  line-height: 17px;
}

.sources .none {
  padding: 24px;
  text-align: center;
}

.sources .none .text {
  display: inline-block;
  text-align: left;
  padding-bottom: 24px;
}

.sources .none .text .primary {
  padding-bottom: 8px;
}

.sources .none .text .secondary {
  opacity: 0.5;
}

.sources .none .action {
  display: block;
  position: relative;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0, 0.2);
  text-align: center;
  font-size: 120%;
}

.sources .none .action::after {
  content: "Add to Watchlist";
}

.sources .none .action .icon {
  position: absolute;
  top: -1px;
  left: 14px;
  height: 100%;
  width: 32px;
  background-image: url(https://cfm.yidio.com/mobile/img/ico-watchlist-black-72.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px;
  opacity: 0.3;
}

.sources .none .action.on {
  border: 1px solid rgba(0,0,0, 0);
  background: rgba(0,0,0, 0.2);
}

.sources .none .action.on::after {
  content: "In Watchlist";
}

.sources .none .action.on .icon {
  background-image: url(https://cfm.yidio.com/mobile/img/ico-watchlist-on.png);
  opacity: 1;
}
/* Show Updates */
.sources.show{
  width:582px;
  /*border-radius:5px;*/
}
.sources.show .source .label{
  font-size:14px;
}

/* Episode Updates */
.sources-header.clips{
  margin-top:10px;
  border-radius: 5px 5px 0px 0px;  
}
.sources.episode{
  padding-bottom:5px;
  border-radius: 0px 0px 5px 5px;
}
.sources.episode .source .label {
  font-size: 90%;
}

/* Admin Links */
.sources .admin-links{
  position: absolute;
  right: 10px;
  margin-top: -35px;
}
.sources .admin-links a{
  padding-right:10px;
  color:#2D6FB7 !important;
  display: inline;
  font-size: 12px !important;
}

/* Source Info Overlay */

.app-info .close-source-overlay{
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: 30px;
	font-weight: bold;
	color: #fff;
	cursor: pointer;
	border-radius: 50%;
	width: 17px;
	height: 17px;
	background-color: rgba(0, 0, 0, 0.7);
	padding: 10px;
	line-height: 17px;
  z-index: 999999;
}

.app-info .container {
  width: 600px;
  height: auto;  
  box-sizing: border-box;
  padding-top: 0px;
  overflow: scroll;
  color: #fff;
  background: #000;
  border: 1px solid #232323;
  border-radius:10px;
  overflow: hidden;
}

.app-info .section {
	padding: 24px;
	border-bottom: 1px solid rgba(255,255,255, 0.08);
}

.app-info .section h2 {
	margin: -4px 0;
	font-size: 120%;
	font-weight: 400;
}

.app-info .button {
	display: block;
	width: 100%;
  color: #fff;
	border: 1px solid rgba(255,255,255, 0.2);
	border-radius: 10px;
	text-align: center;
	box-sizing: border-box;
	padding: 16px;
}
.app-info .button:hover{
  text-decoration: none;
  background-color: #151515;
}
.app-info .app.section {
	display: flex;
}

.app-info .app .content {
	display: flex;
	width: 100%;
	flex-direction: column;
	justify-content: center;
}

.app-info .app .icon {
	display: block;
	min-width: 72px;
	border-radius: 16px;
	margin-right: 16px;
}

.app-info .app .name {
	font-size: 120%;
	font-weight: 600;
	margin-top: -2px;
}

.app-info .app .label {
	opacity: 0.5;
}

.app-info .browse .buttons {
	display: flex;
	margin: 24px -16px 0 -16px;
}

.app-info .browse .button {
	margin-right: 16px;
}

.app-info .browse .button:first-child {
	margin: 0 16px;
}

.app-info .requirements p {
	margin: 18px 0 0 0;
	opacity: 0.5;
}

.app-info .requirements .button {
	margin-top: 20px;
}

.app-info .streaming ul {
	display: flex;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.app-info .streaming li {
	width: 100%;
	opacity: 0.3;
	padding-left: 48px;
	background-size: 36px;
	background-repeat: no-repeat;
	background-position: left center;
}

.app-info .streaming li.supported {
	opacity: 1;
}

.app-info .streaming li.chromecast {
	background-image: url(https://cfm.yidio.com/mobile/img/ico-chromecast-white-48.png);
}

.app-info .streaming li.airplay {
	background-image: url(https://cfm.yidio.com/mobile/img/ico-airplay-white-48.png);
}

.app-info .streaming li::after {
	display: block;
	content: "Not Supported";
	opacity: 0.7;
	font-size: 90%;
}

.app-info .streaming li.supported::after {
	content: "Supported";
	opacity: 0.5;
}

.app-info .devices ul {
	list-style-type: none;
	margin: 20px 80px 20px 0;
	padding: 0;
  float:left;
}

.app-info .devices li {
	margin: 12px 0 0 0;
  display: flex;
  align-items: center;
}

.app-info .devices li img {
	margin-right: 7px;
}

.app-info .devices li span{
  vertical-align: middle;
  height: 20px;
}

@media (max-width: 360px) {
	
	.app-info .streaming li {
		padding-left: 34px;
		background-size: 24px;
	}
	
	.app-info .streaming li span {
		font-size: 90%;
	}
	
	.app-info .streaming li::after {
		font-size: 80%;
	}
	
}

