/* PBS+ / global.css
Author:  Karl Norling <karl@method.com>
--------------------------------------------------------------------*/

/* default measurement 1em = 10px*/
@import url(fontsizes/x-small.css);

/* CSS Reset Rules
--------------------------------*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
    padding: 0;
    margin: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset,img { 
    border: 0;
}

address,caption,cite,code,dfn,th,var {
    font-weight: normal;
    font-style: normal;
}

ol,ul {
    list-style: none;
}

caption,th {
    text-align: left;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-size: 100%;
}

q:before,q:after {
    content:'';
}

abbr,acronym {
    border: 0;
}

 /* General Rules
--------------------------------*/
body {
    background: white url('../images/black_gradient_bg.png') repeat-x;
    padding: 0;
    margin: 0;
    
    /*part 1 of centering hack*/
    text-align: center;
    
    /*global font settings*/
    font-family: arial,helvetica,sans-serif;
    font-size: 12px;
}

h1,h2,h3,h4,h5{
    letter-spacing: 1px;
}

body.innerframe{
    width: 710px;
    overflow: hidden;
}

#container{
    width: 950px;
    margin: 0px auto;
    text-align: left;
}

#iframe{
    text-align: left;
}

#iframe #container{
    width: 710px;
    margin: 0;
}

#iframe iframe{
    overflow: hidden;
    border: none;
}

 /* Global Link Settings
--------------------------------*/
a {
    color: #1b75bb;
    text-decoration: none;
    outline: none;
}
a:visited {

}
a:hover, 
a:active {

}

 /* General Elements
--------------------------------*/

img {
    display: block; /*to avoid IE 3px bug, keep or delete, can be used with .float-left/right*/
    border: 0;
}

p{
    color: #fff;
    line-height: 16px;
    font-size: 12px;
}

 /* Good to have global classes
--------------------------------*/
.hide{
    display: none;
}

.floatleft{
    display: inline;
    float: left;
}

.floatright{
    display: inline;
    float: right;
}

.yellow-text-highlight {
    color: #A7C936;
}



/* Top Nav
--------------------------------*/
#topnav{
    background: #333 url("../images/top_nav_bg.gif") no-repeat;
    height: 28px;
}

#topnav ul{
    margin: 0;
}

#topnav ul li{
    display: inline;
    float: left;
    height: 30px;
    font-size: 9px;
    text-transform: uppercase;
    line-height: 29px;
}

#topnav ul li a{
    padding: 10px 60px;
    height: 30px;
    width: 160px;
    border-right: 1px solid #2a282b;
    border-left: 1px solid #484747;
}

#topnav ul li a.brand{
    border: none;
    padding: 0 40px;
    width: 100px;
}

#topnav ul li a.first{
    border-left: none;
    padding-left: 60px;
}

#topnav ul li a{
    color: #fff;
    font-weight: bold;
}

 /* Header
--------------------------------*/

#header {
    background: black;
    height: 128px;
    position: relative;
    z-index: 10;
}

#header h1{
    width: 142px;
    height: 65px;
    background: url('../images/pbs_video.png') no-repeat;
    text-indent: -9999px;
    position: relative;
    top: 6px;
    left: 32px;
}

#header h2{
    width: 138px;
    height: 20px;
    text-indent: -9999px;
    position: relative;
    top: -42px;
    left: 784px;
    display: block;
}

#header #homelink{
    display: block;
    position: absolute;
    top: 17px;
    left: 14px;
    width: 200px;
    height: 64px;
    text-indent: -9999px;
    z-index: 10;
    background: url('../images/pixel.gif') no-repeat;
}

#pbs_logo{
    display:block;
    float:left;
    position:relative;
    top:10px;
}

#monetization { 
    display:inline;
    float:left;
    margin-top:7px;
    position:absolute;
    right:0;
    top: 0;
    width:309px;
    z-index:10;
}

#monetization p {
    color:#808080;
    font-size:11px;
}

/* iframe embed player monetization ad spot */
#iframe #ad-container {
    width: 710px;
    height: 80px;
}

#iframe #monetization {
    height: 80px;
    left: 395px;
    margin-top: 0;
    position: relative;
    width: 309px;
}

#monetization img{
    display: inline;
    margin: 0;
}

#monetization object{
    display: inline;
}

 /* Navigation
--------------------------------*/

/*#home-nav {
    position: absolute;
    width: 82px;
    bottom: 0;
    height: 36px;
}*/

#home-nav {
    float:left;
    clear: left;
    height:36px;
    position:relative;
    top:0;
    width:82px;
    background-color: #212121;
    border-bottom: 1px solid #3C3C3C;
    border-top: 1px solid #3C3C3C;
}

#home-nav li a {
    text-indent: -9999px;
    width: 82px;
    height: 36px;
    display: block;
    background-color: transparent;
    background-image: url('../images/assets/branding/main-nav-bg-sprite_PBS.gif');
    background-repeat: no-repeat;
    background-position: 0 -171px;
}

#home-nav li a:hover {
    text-indent: -9999px;
    width: 82px;
    height: 36px;
    display: block;
    background-position: 0 -207px;
}

/*#mainnav {
    height: 36px;
    width: 868px;
    position: absolute;
    bottom: 0;
    z-index: 4;
    left: 82px;
    clear:both;
}*/

#mainnav {
    float:left;
    height:36px;
    position:relative;
    top:0;
    width:868px;
    background-color: #212121;
    border-top: 1px solid #3C3C3C;
    border-bottom: 1px solid #3C3C3C;
}

#mainnav li {
    float: left;
    display: inline;
    margin: 0 0 0 14px;
    position: relative;
    z-index: 200;
}

#mainnav li.form{
    margin: 6px 0 0 10px;
    float: left;
}

#mainnav li a {
    text-decoration: none;
    font-size: 12px;
    line-height: 22px;
    text-indent: 11px;
    letter-spacing: 1px;
    width: 298px;
    display: block;
    outline: none;
    color: #FFF;
}

#mainnav li.programs-nav a.dropdown, #mainnav li.topics-nav a.dropdown, #mainnav li.collections-nav a.dropdown {
    text-indent: -9999px;
    width: 158px;
    height: 22px;
    margin-top: 7px;
    display: block;
    background-color: transparent;
    background-image: url('../images/assets/branding/main-nav-bg-sprite_PBS.gif');
    background-repeat: no-repeat;
}

#mainnav li.programs-nav a.dropdown.open, #mainnav li.topics-nav a.dropdown.open, #mainnav li.collections-nav a.dropdown.open {
    height: 30px;
}

#mainnav li.programs-nav a.dropdown {
    background-position:  0 -1px;
}

#mainnav li.programs-nav a.dropdown.open {
    background-position: 0 -24px;
}

#mainnav li.topics-nav a.dropdown {
    background-position: 0 -57px;
}

#mainnav li.topics-nav a.dropdown.open {
    background-position: 0 -80px;
}

#mainnav li.collections-nav a.dropdown {
    background-position: 0 -113px;
}

#mainnav li.collections-nav a.dropdown.open {
    background-position: 0 -136px;
}

li.form {
    float: left;
    margin: 7px;
    padding:0 12px 0 0;
    list-style-type: none;
}

li.form form {
    float: left;
}

li.form form label {
    position: absolute;
    text-indent: -9999px;
}

li.form form input {
    /*height:14px;*/
    padding:3px 9px;
    position:relative;
    top:0;
    width:226px;
    font-family:arial;
    font-size:12px;
    background-color:#FFFFFF;
    border:1px solid #595959;
    color:#999999;
}

#search-footer .search li.form .search-query {
    width:405px;
}

li.form .search-submit {
    border: 0px solid #FFF;
    width: 50px;
    height: 19px;
    padding: 3px 0 0 10px;
    position: relative;
    top: 1px;
    vertical-align: top;
    left: 10px;
    display: block;
    float: left;
    font-size: 12px;
    color: #0B1800;
    background-image: url('../images/assets/branding/main-nav-bg-sprite_PBS.gif');
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 0 -248px;
}

li.form .search-submit:hover {
    cursor: pointer;
    background-position: 0 -275px;
}


#mainnav li.divider-nav {
    height: 36px;
    width: 2px;
    position: relative;
    background-color: transparent;
    background-image: url('../images/assets/branding/main-nav-bg-sprite_PBS.gif');
    background-repeat: no-repeat;
    background-position: 0 -303px;
}

#mainnav li ul.onecol{
    width: 208px;
}

#mainnav li ul.twocol{
    width: 402px;
}

#mainnav li ul.threecol{
    width: 608px;
}

#mainnav li ul.subnav {
    background: #0F3656 none repeat scroll 0 0;
    border:1px solid #091B27;
    left:1px;
    padding:9px 0 4px;
    position:absolute;
    top:36px;
    z-index:1500;
}

#mainnav li ul.right{
    position: absolute;
    left: 208px;
    border-left: 5px solid #091b27;
    z-index: 4;
}

#mainnav li ul.subnav li{
    background: none;
    margin: 0 0 0 1px;
    padding: 0;
    width: 198px;
}

#mainnav li ul.subnav li.title{
    color: #fff;
    border-bottom: 1px solid #40617c;
    text-indent: 11px;
    margin: 0;
    width: 208px; 
}                    

#mainnav li ul.twocol li.title{
    width: 402px;
    margin: 0;
}

#mainnav li ul.subnav li.more{
    width: 100%;
    color: #b2b2b2;
    font-size: 12px;
    text-indent: 11px;
    border-top: 1px solid #40617c;
    margin: 10px 0 0 0;
    padding: 5px 0 0 0;
}

#mainnav li ul.subnav li.more a{
    display: inline;
}

#mainnav li ul.subnav li a{
    background: none;
    font-size: 12px;
    color: white;
    padding: 0;
    width: 180px;
    word-wrap: break-word;
    text-indent: 0;
    padding-left: 11px;
}

#mainnav li ul.subnav li a:hover{
    color: #1b75bb;
}

#mainnav li ul.subnav li ol{
    width: 198px;
    float: left;
    display: inline;
}

/* Mainconent classes
--------------------------------*/

#maincontent{
    width: 950px;
}

#maincontent p.notice{
    padding: 15px 0;
    width: 300px;
    margin: 0 auto;
    text-align: left;
}

#iframe #maincontent{
    width: 710px;
}

#iframe #ad-container {
    background-color: #000;
}

.homepage{
    background: transparent url('../images/flash_stacks_bg.png') no-repeat scroll 0 -30px;
    height: 345px;
}

#iframe #flashcontainer{
    margin: 0;
    text-align: left;
    width: 710px;
}

#flashplayer{
    margin: 0 auto;
}

#iframe #flashplayer{
    margin: 0 0 0 20px;
}

#flashcontainer{
    width: 950px;
    margin: 0 auto;
    text-align: center;
}

/* Program info panels
--------------------------------*/

#programinfo{
    position: relative;
    height: 356px;
}

#featuredshows{
    width: 950px;
}

/* Topic info panels
--------------------------------*/

#topic{
    position: relative;
    height: 195px;
}

#static{
    position: relative;
    height: 195px;
}

#topic img.background,
#static img.background{
    width: 950px;
    height: 195px;
}

/* Video info
--------------------------------*/
#video{
    background: #000 url("../images/flashgradient.gif") repeat-x 36px 0;
    position: relative;
    width: 950px;
}

#iframe #video{
    width: 710px;
}

#learn{
    border-top: 1px solid #333;
    width: 950px;
}

#iframe #learn{
    width: 710px;
}

#stacksContainer {
    height: 350px;
}

#stacks{
    height: 350px;
}

/* Footer
--------------------------------*/
#footer{
    margin: 28px 0 28px 0;
    height: 22px;
    background: #f3f3f3;
    border-top: 1px solid #ccc;
}

#footer ul{}

#footer ul li{
    float: left;
    display: inline;
}

#footer ul li a{
    text-decoration: none;
    color: #1b75bb;
    font-size: 11px;
    border-right: 1px solid #ccc;
    height: 22px;
    line-height: 20px;
    padding: 4px 10px;
}
#footer ul li a.last{
    border: none;
}

#footer p{
    color: #808080;
    text-align: right;
    font-size: 11px;
    line-height: 20px;
    padding: 0 10px 0 0;
}

#search-footer {
    padding: 10px;
    width: 930px;
    height: 58px;
    margin-top: 3px;
    background-color: #242424;
}

#search-footer div {
    float: left;
}

#search-footer .footer-logo {
    width: 150px;
}

#search-footer .search {
    margin: 10px 0 0 60px;
    display:block;
    width: 550px;
}

#more-pbs-footer {
    height: 65px;
    border: 1px solid #D8D7D3;
    width: 948px;
    margin-top: 3px;
    padding: 15px 0 15px 0;
    background: #FFF url('../images/more-pbs-footer-bg.jpg') repeat-x 0 0;
}

#more-pbs-footer li {
    float: left;
    width: 315px;
}

#more-pbs-footer li a {
    color: #0D94FF;
}

/*#more-pbs-footer li#more-one p {
    margin-left:72px;
    padding-right: 8px;
}*/

#more-pbs-footer li.divider {
    width: 1px;
    float: left;
    margin-top:-15px;
}

#more-pbs-footer li .logo {
    float: left;
    margin: 0 13px 15px 13px;
    width: 64px;
}

#more-pbs-footer li .logo img {
    width: 64px;
    height: 64px;
}

#more-pbs-footer li p {
    color:#505050;
    margin-left:13px;
    padding-right:40px;
    text-align:left;
    position: relative;
    top: -4px;
}

#extended-footer {
    background: #242424 url('../images/extended-footer-background.gif') no-repeat top left;
    border:1px 0;
    border-color: #7C7C7C;
    width: 950px;
    height: 162px;
    position: relative;
}

#extended-footer .explore-list, #extended-footer .collections-list {
    float: left;
}

#extended-footer .divider {
    width: 1px;
    position: relative;
    top: 0;
    float: left;
}

#extended-footer .explore-list {
    width: 458px;
    padding: 15px 0 15px 15px;
}

#extended-footer .collections-list {
    width: 460px;
    padding: 15px 0 15px 15px;
}

#extended-footer h3 {
    font-size: 1.1em;
    color: #B6B6B6;
    font-weight: bold;
    letter-spacing: 0;
}

#extended-footer ul.subnav{
    left:1px;
    padding:10px 0;
}

#extended-footer ul.subnav li {
    float: left;
    display: inline;
    position: relative;
    margin-right: 10px;
    width: 140px;
}

/*#extended-footer li ul.right{
    position: absolute;
    left: 208px;
    border-left: 5px solid #091b27;
    z-index: 4;
}*/



#extended-footer ul.subnav li ol{
    width: 198px;
    float: left;
    display: inline;
}

#extended-footer ul.subnav li.title{
    color: #FFF;
    text-indent: 11px;
    margin: 0;
    width: 208px; 
}                    

#extended-footer ul.threecol li.title{
    width: 402px;
    margin: 0;
}

#extended-footer ul.subnav li a{
    background: none;
    font-size: 0.95em;
    color: #FFF;
    padding: 0;
    width: 180px;
    text-indent: 0;
    line-height: 22px;
    letter-spacing: 0;
}

#extended-footer ul.subnav li a:hover{
    color: #1b75bb;
}

#extended-footer #view-collections-button {
    position: absolute;
    top: 138px;
    width: 112px;
    right: 0;
}

#extended-footer #view-collections-button a {
    display: block;
    font-size: 0.85em;
    background-color: #343434;
    height: 16px;
    border:1px solid #232323;
    color: #FFF;
    padding: 3px;
}

#extended-footer #view-collections-button a:hover {
    border: 1px solid #36382A;
    background-color: #65772D;
}

#extended-footer #view-collections-button a span {
    color: #9FBE34;
}

/* This section deals with branding the widgets, for which there are two types: large and small. */

/* 1. To change the Most Watched and Most Emailed background color: */
#widgetsmall ul li a{
    background: #555a63;
}

#widgetlarge ul li a{
    background: #555a63;
}

#widgetsmall ul li a.left,
#widgetlarge ul li a.left{
    border-bottom: 1px solid #01021c;
    border-right: 1px solid #01021c;
}

#widgetsmall ul li a.right,
#widgetlarge ul li a.right{
    border-left: 1px solid #01021c;
    border-bottom: 1px solid #01021c;
}

#widgetsmall ul li.selected a.left,
#widgetlarge ul li.selected a.left{
    border-bottom: 1px solid #01021c;
}

#widgetsmall ul li.selected a.right,
#widgetlarge ul li.selected a.right{
    border-bottom: 1px solid #01021c;
    border-left: 1px solid #000;
}

#widgetsmall ul li.selected a,
#widgetlarge ul li.selected a{
    background: #010759;
}

/* 2. To change the background color of the panels where the image appears: */
#widgetsmall div.mostwatched_carusel,
#widgetsmall div.mostemailed_carousel{
    background: #cee1f7;
}

#widgetlarge div.mostwatched_carusel,
#widgetlarge div.mostemailed_carousel{
    background: #cee1f7;
}

/* 3. To change the background color of the navigation: */
#widgetsmall div.mostwatched_carusel_nav,
#widgetsmall div.mostemailed_carousel_nav{
    background: #4e66c1;
}

#widgetlarge div.mostwatched_carusel_nav,
#widgetlarge div.mostemailed_carousel_nav{
    background: #4e66c1;
}


 /* CSS Workarounds
--------------------------------*/

 /* clearfix (already applied on #body)
--------------------------------*/

.clearfix:after,#body:after {
    content:"."; 
    display:block; 
    height:0; 
    clear:both; 
    visibility:hidden;
}

.clearfix,#body {
    display:inline-table;
}

.clear {
    clear: both;
}

/* Hides from IE-mac \*/
* html .clearfix, * html #body {height: 1%;}
.clearfix, #body {display: block;}
/* End hide from IE-mac */

/*This section is applied on the program component from the search result page.*/

#program_global{
    margin-bottom:14px;
    margin-left:14px;
    margin-right:12px;
    border-top: 1px solid #929292;
}

h2.result_title {
	font-family: arial,sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-color: black;
	margin-left: 16px;
	padding-bottom: 7px;
}

span.program_name, span.visit_page {
	font-family: arial,sans-serif;
	font-weight: bold;
	font-color: #1b75bb;
}

span.program_name {
	font-size: 18px;
}

span.visit_program {
	font-size: 12px;
}

.result_program {
    background-image: url('../images/tile_prgmatch.jpg');
    background-repeat: repeat-x;
    background-position: top;
    background-color: #D2D2D2;
    overflow:auto;
    border-bottom: 1px solid #929292;
}

.program_wrapper {
    border-bottom: 1px solid white;
    padding-bottom:10px;
}

.program_content{
    margin-left:20px;
    padding:10px 10px 0px 0px;
 }
/*
.program_image {
    padding-top:10px;
    float:left;
}
*/
.program_title{
    font-size:18px;
    color:#1b75bb;
    font-weight: bold;
}
.program_link{
    font-size:12px;
    color:#1b75bb;
}
.latest_episode{
    color:black;
    font-weight:bold;
    padding-bottom:3px;
}
.latest_episode_link{
    font-weight:normal;
    color:#1b75bb;
}
.program_description, .program_description *{
    color:black; 
    font-family: arial,sans-serif;
    font-weight: normal;
    margin-bottom:3px;
}
.check_local_link{
    margin-top:3px;
}
#more_programs{
    color:#1b75bb;
    padding:10px 10px 0px 0px;
    cursor:pointer;
    float:right;
}
#expand_programs{
    display:none;
    margin-top:14px;
}
