body {
	background-color: #428bca;
	font-family: Helvetica, Arial, sans-serif;
	color: #49505a;
}

header {
	display: block;

	min-height: 100px;
	width: 100%;

	margin: 0 0 10px;

	/*border: 1px solid #066;*/

	padding: 10px 10px 10px 0;

	background-color: #fff;
}
.ctrl {
	display: none;
}

a {
	color: #428bca;
}

#logo {
	float: left;
	margin-bottom: -10px;
	/*border-bottom-right-radius: 6px;*/
	padding-right: 5px;
	background-color: #fff;
}

.topNav {
	margin-top: 48px;
	margin-bottom: -10px;
}

.topNav .sections {

}

.sections.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle) {
	border-top-right-radius: 6px;
	border-bottom-left-radius: 0;
}
.sections.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
	border-radius: 6px 6px 0 0;
}
.sections.btn-group>.btn:last-child:not(:first-child), .btn-group>.dropdown-toggle:not(:first-child) {
	border-top-left-radius: 6px;
	border-bottom-right-radius: 0;
}

.btn-apt {
	font-weight: bold;
	color: #fff;
}
.apt-viewers {
	background: #87979c;
}
.apt-press {
	background: #9d9a7a;
}
.apt-stations {
	background: #428bca;
}
.apt-producers {
	background: #7f7d6f;
}

.topNav .subsects {
	margin-right: -10px;
}
.subsects .btn-apt {

}
.subsects.forStations,
.subsects.forStations #searchBox
{
	background: #266ea4;
}
.subsects.forViewers,
.subsects.forViewers #searchBox
{
	background: #7f9096;
}
.searchHow {
	margin-top: 10px;
}
.searchHow .btn.active {
	background-color: rgba(51, 255, 255, 0.4);
	color: #fff;
	border-color: #39f;
	font-weight: bold;
}

#searchBox {
	position: relative;
	top: 43px;
	left: 0;
	z-index: 10;

	display: inline-block;
	margin: -50px 0 -70px 0;

	border-radius: 0 0 10px 10px;

	padding: 3px 10px 10px 10px;

	width: 230px;
	height: 85px;

	color: #fff;
}
#searchBox .close {
	color: #fff;
	font-size: x-large;
	font-weight: normal;
	text-shadow: none;
	opacity: 1.0;
	padding-top: 3px;
}


#menu {
	position: absolute;
	display: block;

	left: 0px;
	z-index: 101;

	margin: 10px 10px 10px 8px;
}
#menu button.btn-primary,
#menu button.btn-default
{
	border: transparent;
	background-color: #49505a;
}
#menu button.btn-default {
	color: #fff;
	background-color: #7c838e;
	border: 1px solid #5a616c;
}
#menu:after {
	content: " Menu";
	color: #fff;
}

/* Flex boxes go in this */
#main {
	min-height: 600px;

	margin: 10px 0 0 0;
	padding: 0;

	/* Flex magic */
	display: -webkit-flex;
	display: flex;

	-webkit-flex-direction: row;
	flex-direction: row;

	-webkit-webkit-flex-flow: row;
	-moz-webkit-flex-flow: row;
	-ms-webkit-flex-flow: row;
	-o-webkit-flex-flow: row;
	webkit-flex-flow: row;
	flex-flow: row;
}

/* General flex box properties */
#main > section {
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;

	-webkit-transition: width 0.7s ease-out;
	transition: all 0.7s ease-out;
	min-height: 400px;

	padding-left: 10px;
}

/* General section properties */
section {
	margin: 0 10px 0 0;

	/*border: 1px solid black;*/

	padding: 10px;

	background-color: #fff;
}

/* Specific flex box properties */
/* .pageNav is first, but we'll allow it to be selectively hidden */
.pageNav {
	width: 20%;
	/*border-color: #006;*/

	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
	-webkit-order: 1;
	order: 1;

	margin-bottom: 10px;
	padding-top: 60px;

	background-color: #6bacba;

	transition: all 0.7s ease-out;
}

/* New nested menu CSS */

.pageNav,
.pageNav ul,
.pageNav ul li,
.pageNav ul li a
{
	margin: 0;
	border: 0;
	padding: 0;
	list-style: none;
	line-height: 1;
	display: block;
	position: relative;
	box-sizing: border-box;
}
.pageNav>ul>li {
	clear: both;
}
#main > section.pageNav {
	padding: 60px 0 0 0;
}
.pageNav ul ul {
	/*display: none;*/
	overflow-y: hidden;
	height: 0;
}
.trans
{
	transition: 1.0s linear all;
}

.rot {
	-ms-transform: rotate(45deg); /* IE9 */
	-moz-transform: rotate(45deg);  /* FF3.5/3.6 */
	-o-transform: rotate(45deg);  /* Opera 10.5 */
	-webkit-transform: rotate(45deg);  /* Saf3.1+ */
	transform: rotate(45deg);  /* Newer browsers */
}
/*.trans.ng-show {*/
	/*animation: filter_box_show 1.0s linear;*/
	/*-webkit-animation: filter_box_show 1.0s linear;*/
/*}*/
/*.trans.ng-hide {*/
	/*animation: filter_box_hide 1.0s linear;*/
	/*-webkit-animation: filter_box_hide 1.0s linear;*/
/*}*/
/*@keyframes filter_box_show {*/
	/*from { height: 0; }*/
	/*to { height: auto; }*/
/*}*/
/*@keyframes filter_box_hide {*/
	/*from { height: auto; }*/
	/*to { height: 0; }*/
/*}*/
/*@-webkit-keyframes filter_box_show {*/
	/*from { height: 0; }*/
	/*to { height: auto; }*/
/*}*/
/*@-webkit-keyframes filter_box_hide {*/
	/*from { height: auto; }*/
	/*to { height: 0; }*/
/*}*/

.trans.ng-show
{
	/*opacity: 1.0;*/
	height: auto;
}
.trans.ng-hide
{
	/*opacity: 0.0;*/
	height: 0;
}
.pageNav ul ul.show {
	display: block;
	/*-webkit-transition: all 0.7s ease-out;*/
	/*transition: all 0.7s ease-out;*/
	height: auto;
}
.pageNav ul li a
{
	padding: 14px 22px;
	color: #fff;
	font-size: 1.25em;
}
.pageNav ul li a:hover
{
	color: #d8f3f0;
}
.pageNav>ul>li>a>i.fa {
	float: right;
	font-size: small;
	transition: all 0.2s linear;
}
.pageNav>ul>li>ul>li>label {
	margin: 0;
	font-weight: normal;
	display: inline;
}
.pageNav ul li input[type=checkbox],
.pageNav ul li span,
.pageNav ul li ul li a
{
	display: inline-block;
}
.pageNav ul li input[type=checkbox],
.pageNav ul li span
{
	float: left;
}
.pageNav ul li input[type=checkbox]
{
	clear: both;
	width: 20px;
	height: 20px;
	margin-left: 23px;
}
.pageNav ul li span
{
	padding: 7px 5px 5px 5px;
	font-size: 1.25em;
	color: #ddd;
	max-width: 75%;
}
.pageNav>ul>li>ul {
	background-color: #49505a;
	height: auto;
	color: #ddd;
}
.pageNav>ul>li>ul>li {
}
.pageNav>ul>li>ul>li:hover,
.pageNav>ul>li>ul>li:hover span
{
	color: #fff;
}
.pageNav>ul>li>ul>li>a
{
	padding: 7px 0;
	opacity: 0.0;
	/*float: right;*/
	font-size: 1.2em;
}
.pageNav>ul>li>ul>li>a.hover {
	opacity: 1.0;
}
.pageNav>ul>li>ul>li>a.link {
	margin-left: 40px;
	opacity: 1.0;
}


.pageNav .btn {
	text-align: left;
	padding-left: 10px;
}
.btn-world {
	padding-top: 8px;
	padding-bottom: 6px;
}
.btn-world img {
	margin-top: -1px;
	margin-bottom: 2px;
}

/* Menu gets tucked/un-tucked when the menu button is hit */
.pageNav.tucked {
	overflow: hidden;
	opacity: 0.0;
	margin-left: -32%;
}

/* .main-content is second  */
.main-content {
	width: 40%;
	/*border-color: #600;*/

	-webkit-flex: 0 1 auto;
	flex: 0 1 auto;

	-webkit-order: 2;
	order: 2;
}

/* .sidebar is third (last) */
.sidebar {
	width: 40%;
	/*border-color: #060;*/

	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;

	-webkit-order: 3;
	order: 3;
}


footer {
	display: block;
	/*margin: 0 0 10px;*/
	/*border: 1px solid #606;*/
	padding: 10px;

	background: #fff;
	min-height: 80px;
}



#updates,
#offers,
#other,
#program,
#programOther,
#programOffer,
#promos
{
	border-radius: 10px;
	/* border: 1px solid #ccc; */
	padding: 10px;
	float: left;
	margin-right: 3px;
	margin-bottom: 10px;
	margin-left: 10px;
}

#updates,
#offers,
#other,
#promos
{
	width: 32%;
}
#program {
	width: 48%;
   border-width: 0;
	padding-top: 0;
}
#program.affix {
	margin-top: 10px;
}
#program h3,
#promos h3,
#updates h3,
#offers h3,
#other h3
{
	margin-top: 0;
	margin-bottom: 20px;
}

#program .tab-pane h3,
#promos .tab-pane h3,
#updates .tab-pane h3,
#offers .tab-pane h3,
#other .tab-pane h3
{
	margin-top: 10px;
	margin-bottom: 2px;
}
#program h4 {
	margin-top: 12px;
	margin-bottom: 20px;
}
#program h4.fright.offer,
#programOffer h4.offer
{
	font-weight: bold;
	color: #f00;
	margin-top: 6px;
}
#programOther,
#programOffer {
	width: 48%;
	float: right;
	margin-right: 20px;
}
#programOther.expandable,
#programOffer.expandable
{
	border-right: 1px solid #ccc;
}
#programOther.tall {
   /*min-height: 850px;*/
}
#programOther div.pic {
	margin-bottom: 20px;
}
#programOther img,
#programOther iframe {
	width: 100%;
}
#programOther iframe {
}

#program .contentLeft h3,
#program .contentRight h3
{
	margin-bottom: 5px;
}

#updates .pageNav,
#offers .pageNav,
#other .pageNav,
#program .pageNav,
#programOther nav {
	width: 100%;
	padding-top: 0px;
}


#program label,
#programOther label {
	width: 200px;
	float: left;
}
#program .panel-body span,
#programOther .panel-body span
{
	display: inline-block;
	max-width: 74%;
}


#program .APT_video-container {
	position: relative;
	padding-top: 20px;
	padding-bottom: 56.5%;
	height: 0;
	overflow: hidden;
	margin-bottom: 5px;
}
#program .APT_video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-width: 0;
}

#promos div {
	margin-bottom: 30px;
}
#promos div a {
}
#promos div a img {
	max-width: 100%;
	margin-bottom: 5px;
}


.promoWarning {
	font-style: italic;
	font-weight: bold;
	color: #900;
}


.panel-heading a,
.panel-heading a:link,
.panel-heading a:hover,
.panel-heading a:active,
.panel-heading a:visited {
	text-decoration: none;
	color: #666;
}

.sLock {
	position: relative;
	top: -28px;
	right: -16px;
	padding: 7px 13px;
	border-radius: 0 4px 0 0;
	background: transparent;
	margin-bottom: -29px;
}

.panel-body iframe {
	border: 1px solid #333;
}


/* HELPERS */
#yes {
	display: none;
}
/* Attempt to shoehorn BS's affix capability; doesn't seem complete */
.affix {
	position: fixed;
}

.fright {
	float: right;
}


span.my:not(.ng-hide) + span.notMy:not(.ng-hide):before {
	content: " / ";
}

section.main-content .list:not(:first-child) {
	margin-top: 40px;
	min-height: 320px;
}
.hint {
	padding: 0 10px;
	font-size: larger;
	font-style: italic;
	/*background: rgba(0, 153, 255, 0.4);*/
	column-span: all;
	margin: 10px;
	border-radius: 25px;
}
.hint.help {
	width: 98%;
	color: #428bca;
	margin-left: 0;
	padding-left: 0;
}

.code {
	font-family: "DejaVu Sans Mono", "Courier New", Courier, monospace;
	color: #006;
	padding: 10px;
}

.preview {
	border: 1px solid #006;
}
.preview.desc {
	height: 515px;
}

.tab-pane {
	padding: 10px;
}

.user {
	position: absolute;
	right: 0;
	top: 0;
	background: rgb(220, 220, 220);
	padding: 10px;
	/*border: 1px solid red;*/
	border-radius: 0 0 0 5px;
}
.user h4,
.user h5
{
	margin: 0;
}
#login div {

}
#login div label {
	/*width: 140px;*/
}
#login div input {
	display: inline-block;
	width: auto;
}


.login {
	position: absolute;
	display: block;

	width: 100%;
	height: 100%;

	background-color: rgba(0, 0, 0, 0.8);

	top: 0;
	left: 0;
	z-index: 510;
}
#login.user2 {
	position: absolute;
	display: block;

	width: 30%;
	height: 210px;

	border-radius: 10px;
	background-color: #ccc;
	padding: 10px;

	top: 50%;
	left: 35%;
	z-index: 110;
	zoom: 1.0;

	transform: translateY(-50%);
}

#videoDiv,
#embedVideoDiv {
	display: none !important;
}

#navCaptioncontrols {
	height: 50px;
	background: rgba(0, 0, 0, 0.5);
	/*width: 700px;*/
	/*margin-top: -50px;*/
	z-index: 500;
	position: relative;
}
#showNav {
	position: relative;
	top: -3px;
	left: 3px;
}
#showNav a,
#showNav span
{
	font-size: 40px;
	color: #fff;
}
#showNav span.cycle-pager-active {
	color: #117fa4;
	text-shadow: -1px -1px 1px #fff, 1px -1px 1px #fff, 1px 1px 1px #fff, -1px 1px 1px #fff;
}
#caption {
	/* border: 1px solid white; */
	min-width: 570px;
	min-height: 40px;
	position: relative;
	display: inline-block;
	top: -43px;
	left: 120px;
	color: white;
	font-size: 16px;
}
#playPause {
	display: inline-block;
	/*border: 1px solid red;*/
	position: relative;
	top: -45px;
	float: right;
	font-size: large;
	color: #fff;
	margin-right: 10px;
}
#playPause a {
}


[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
	display: none !important;
}

body.forViewers,
.topNav .subsects.forViewers
{
	background-color: #697d83;
}
body.forPress,
.topNav .subsects.forPress
{
	background-color: #979472;
}
body.forProducers,
.topNav .subsects.forProducers
{
	/*background-color: #5a5846;*/
	background-color: #7f7d6f;
}
body.forStations,
.topNav .subsects.forStations
{
	background-color: #428bca;
}


#footer {
	width: 100%;
	margin: auto;
}
#footer .container_12 {
	max-width: 1600px;
	margin: auto;
}

#footer .fleft.per50 {
	/*padding-left: 129px;*/
}
#footer ul,
#footer ol
{
	margin: -4px 0 10px -23px;
}
#footer .lineRight {
	border-right: 1px solid #ccc;
	margin-right: 20px;
}
#footer .lineLeft {
	border-left: 1px solid #ccc;
	padding-left: 100px;
}
#footer .right .per30:not(:last-child) {
	margin-right: 40px;
}



#sliderContainer,
#mainSlider,
.cycle-slide,
.cycle-slide a,
.cycle-slide a img
{
	width: 100%;
}
#sliderContainer {
}
#mainSlider {
}
#mainSlider .cycle-slide {
}
#mainSlider .cycle-slide a {
}
#mainSlider .cycle-slide a img {
}


.contentLeft,
.contentRight
{
	width: 48%;
	display: inline-block;
}
.contentLeft {
	float: left;
	margin-right: 20px;
}

.contentLeft div.fleft img.fleft
{
	margin-right: 10px;
}
.contentLeft div.fright img.fright
{
	margin-left: 10px;
}


#features .feature {
	max-width: 32%;
	float: left;
}
#features .feature:not(:last-child) {
	margin-right: 10px;
}
#features img {
	border: 1px solid #ccc;
}


.nav-tabs,
.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus
{
	border-bottom: 2px solid #6bacba;
}
.nav-tabs>li {
	float: left;
	margin-bottom: 0px;
}
.nav-tabs>li>a {
	margin-right: 2px;
	border-width: 0;
	border-radius: 4px 4px 0 0;
}
.nav-tabs>li.active>a,
/*.nav-tabs>li.active>a:hover,*/
.nav-tabs>li.active>a:focus
{
	color: #fff;
	background-color: #6bacba;
	border-bottom-color: transparent;
	cursor: default;
}
a:hover,
a:focus {
	color: #c1c5cc;
	text-decoration: none;
}
.nav>li>a:hover, .nav>li>a:focus {
	background: transparent;
}



/* Landscape only */
@media screen and (orientation: landscape) {
	#menu:after {
		display: none;
	}
}



@media screen and (max-width: 1366px) and (max-height: 768px) {
	#searchBox {
	}
	#programOther,
	#programOffer
	{
		width: 47%;
	}
}



/* Landscape iPad */
@media screen and (max-width: 1024px) and (orientation: landscape) {
	#menu:after {
		display: none;
	}
}



/* Portrait iPad */
/* Combine two main content columns into one */
@media screen and (max-width: 768px) and (orientation: portrait) {
	.pageNav.tucked {
		margin-left: -17%;
	}
	#menu:after {
		display: none;
	}

	#program,
	#programOther,
	#programOffer
	{
		width: 100%;
	}

	#program
	{
		padding-left: 0;
		margin-left: 5px;
	}
	#programOther,
	#programOffer
	{
		margin-left: 0px;
		padding-left: 25px;
	}
}



/* Landscape Galaxy Note */
@media screen and (max-width: 640px) and (orientation: landscape) {
	.pageNav.tucked {
		margin-left: -14%;
	}

	#menu:after {
		display: none;
	}
}


/* iPhone 6 Plus Portrait-like */
@media only screen and (max-width: 414px) {
	/*.ctrl {*/
		/*display: block;*/
		/*!* float: right; *!*/
		/*!* margin-bottom: -50px; *!*/
		/*margin-top: 5px;*/
		/*margin-right: 5px;*/
		/*position: absolute;*/
		/*top: 0px;*/
		/*right: 0px;*/
		/*z-index: 101;*/
	/*}*/
	.ctrl {
		display: block;
		position: relative;
		width: 100%;
		/*border: 1px solid red;*/
		border-radius: 0 0 5px 5px;
		text-align: center;
		top: 7px;
	}
	.ctrl button {
		width: 50%;
		color: #fff;
		background-color: #266ea4;
		border: 0px;
	}
	.ctrl .btn:hover,
	.ctrl .btn:focus
	{
		color: #fff;
	}
	header {
		-webkit-transition: width 1.0s ease-out;
		transition: all 1.0s ease-out;
		padding-right: 0px;
	}
	header.tucked {
		margin-top: -340px;
	}

	.topNav .sections .btn-apt {
		padding: 8px 16px;
		font-size: 17px;
		margin-top: 5px;
	}


	#main > section.pageNav {
		width: 90%;
		position: relative;
		z-index: 100;
		-webkit-flex: none;
		flex: none;
	}
	#main > section.pageNav.tucked {
		margin-left: -80%;
	}

	#menu {
		margin: 10px 10px 10px 5px;
	}
	#menu:after {
		content: " ";
	}


	#program,
	#programOther
	{
		width: 100%;
	}
	#program {
		margin-bottom: 10px;
	}

	.user {
		position: relative;
		margin-top: 10px;
		margin-bottom: -9px;
		z-index: 10;
	}
}


/* iPhone 6 Portrait-like (might be longer?) */
@media only screen and (max-width:375px) {
	.APT_video-container {
		position: relative;
		padding-top: 20px;
		padding-bottom: 58.5%;
	}

	.topNav .sections .btn-apt {
		padding: 6px 14px;
		font-size: 16px;
		font-weight: normal;
	}

	.topNav .subsects .btn-apt {
		font-size: 16px;
		font-weight: normal;
	}

	header.tucked {
		margin-top: -330px;
	}
}



/* Portrait Galaxy Note */
@media screen and (max-width: 360px) and (orientation: portrait) {
	body {
		font-size: 16px;
	}

	header {
		margin: 0;
	}
	header.tucked {
		margin-top: -330px;
	}

	/*!* No room for two+ columns *!*/
	/*#main {*/
		/*-webkit-flex-direction: column;*/
		/*flex-direction: column;*/
		/**/
		/*-webkit-webkit-flex-flow: column;*/
		/*-moz-webkit-flex-flow: column;*/
		/*-ms-webkit-flex-flow: column;*/
		/*-o-webkit-flex-flow: column;*/
		/*webkit-flex-flow: column;*/
	/*}*/

	/* Make flex elements respect document order */
	.pageNav,
	.main-content,
	.sidebar {
		-webkit-order: 0;
		order: 0;
		width: 100%;
	}

	/* Oh snap, menu goes WIDE; also it's no longer respecting flex */
	.pageNav {
		display: block;
	}
	.pageNav.tucked {
		max-height: 0px;
	}
	#main > .pageNav.tucked {
		min-height: 0;
		margin: 0 0 0 -20%;
	}

	#yes {
		position: absolute;

		top: 25%;
		left: 25%;
		z-index: 1000;

		width: 50%;
		height: 200px;

		border: 3px solid green;
		border-radius: 10px;

		background: #fff;
		color: #090;

		font-weight: bold;
		font-size: 48px;
	}
}


/* iPhone 5 Portrait-like */
@media only screen and (max-width: 320px) {
	.APT_video-container {
		position: relative;
		padding-top: 20px;
		padding-bottom: 58.5%;
	}
	header.tucked {
		margin-top: -325px;
	}
	.topNav .sections .btn-apt {
		padding: 6px 11px;
		font-size: 15px;
	}
	.topNav .subsects .btn-apt {
		font-size: 15px;
	}
}
