/* -------------------------------------------------------------- 
   Patricia Henley Foundation Website
   url:     http://patriciahenleyfoundation.org
   author:  Andrew Le, andrew -at- alchemistcreative.com
   date:    October 2009
-------------------------------------------------------------- */
@import "src/reset.css";
@import "src/grid.css";
@import "src/typography.css";
@import "src/forms.css";

/* Basic Layout
-------------------------------------------------------------- */
body {
    border-top: 5px solid #eee;
}

#header { 
    border-bottom: 1px solid #bbb;
    position: relative;
    margin-left: 40px;
    width: 880px;
}

#header h1 {
    border-top: 5px solid #d1d1d1;
    margin-top: -5px;
    width: 270px;
}

#main {
    float: left;
    margin: 0 0 0 40px;
    width: 880px;
}

body.has_billboard #main {
    background: url(../images/layout/billboard-gradient.png) left top repeat-x;
}

#content {
    margin: 3em 10px 5em 0;
}

#sidebar {
    margin: 3em 0 5em 10px;
}

.nav {
    position: absolute;
    top: 0;
    right: 0;
    list-style: none;
    margin: 0;
}

.nav ul {
    display: none;
    list-style: none;
    position: absolute;
    top: 97px;
    right: 0;
    width: 560px;
}

.nav > li {
    border-top: 5px solid #d1d1d1;
    background-color: #eee;
    float: left;
    height: 92px;
    width: 120px;
}

.nav > li > a {
    display: block;
    width: 100%;
    height: 100%;
    outline: none;
    text-indent: -999999px;
}

.nav ul li {
    float: right;
}

.nav ul li a {
    display: block;
    padding: 0 4px;
    width: 100%;
    height: 24px;
    outline: none;
    text-indent: -999999px;
}

.nav li#nav-home        { border-color: #e79191; }
.nav li#nav-programs    { border-color: #d8bb82; background-color: #ef9c43; }
.nav li#nav-about_us    { border-color: #b6e177; background-color: #8fda23; }
.nav li#nav-support_us  { border-color: #91bce8; background-color: #5aa0e8; }

.nav li#nav-home > a        { background: url(../images/layout/top-nav.png) 0% 5% no-repeat; }
.nav li#nav-programs > a    { background: url(../images/layout/top-nav.png) 33.3% 5% no-repeat; }
.nav li#nav-about_us > a    { background: url(../images/layout/top-nav.png) 66.6% 5% no-repeat; }
.nav li#nav-support_us > a  { background: url(../images/layout/top-nav.png) 100% 5% no-repeat; }

.nav li#nav-home > a.hover        { background: url(../images/layout/top-nav.png) 0% 100% no-repeat; }
.nav li#nav-programs > a.hover    { background: url(../images/layout/top-nav.png) 33.3% 100% no-repeat; }
.nav li#nav-about_us > a.hover    { background: url(../images/layout/top-nav.png) 66.6% 100% no-repeat; }
.nav li#nav-support_us > a.hover  { background: url(../images/layout/top-nav.png) 100% 100% no-repeat; }


.nav #nav-about_us li a:hover     { background-color: #8fda23; }
.nav #nav-support_us li a:hover   { background-color: #5aa0e8; }

/* :transparency: */
#nav-programs-home a        { width: 130px; background: url(../images/layout/subnav-programs.png) 0% -13% no-repeat; }
#nav-programs-news a        { width: 60px; background: url(../images/layout/subnav-programs.png) 34% -13% no-repeat; }
#nav-programs-blogs a       { width: 60px; background: url(../images/layout/subnav-programs.png) 51% -13% no-repeat; }
#nav-programs-photos a      { width: 70px; background: url(../images/layout/subnav-programs.png) 70% -13% no-repeat; }
#nav-programs-audiovideo a  { width: 120px; background: url(../images/layout/subnav-programs.png) 102% -13% no-repeat; }
#nav-programs-home a:hover        { background: url(../images/layout/subnav-programs.png) 0% 100% no-repeat; }
#nav-programs-news a:hover        { background: url(../images/layout/subnav-programs.png) 34% 100% no-repeat; }
#nav-programs-blogs a:hover       { background: url(../images/layout/subnav-programs.png) 51% 100% no-repeat; }
#nav-programs-photos a:hover      { background: url(../images/layout/subnav-programs.png) 70% 100% no-repeat; }
#nav-programs-audiovideo a:hover  { background: url(../images/layout/subnav-programs.png) 102% 100% no-repeat; }

/* :transparency: */
#nav-about_us-mission a     { width: 90px; background: url(../images/layout/subnav-about_us.png) 1% 12% no-repeat; }
#nav-about_us-founder a     { width: 100px; background: url(../images/layout/subnav-about_us.png) 26.5% 12% no-repeat; }
#nav-about_us-board a       { width: 140px; background: url(../images/layout/about_us-bod.png) 50% -30% no-repeat; }
#nav-about_us-newsletter a  { width: 80px; background: url(../images/layout/subnav-about_us.png) 73.5% 12% no-repeat; }
#nav-about_us-contact a     { width: 85px; background: url(../images/layout/subnav-about_us.png) 100% 12% no-repeat; }
#nav-about_us-mission a:hover     { background: url(../images/layout/subnav-about_us.png) 1% 98% no-repeat; }
#nav-about_us-founder a:hover     { background: url(../images/layout/subnav-about_us.png) 26.5% 98% no-repeat; }
#nav-about_us-board a:hover       { background: url(../images/layout/about_us-bod.png) 50% 105% no-repeat; }
#nav-about_us-newsletter a:hover  { background: url(../images/layout/subnav-about_us.png) 73.5% 98% no-repeat; }
#nav-about_us-contact a:hover     { background: url(../images/layout/subnav-about_us.png) 100% 98% no-repeat; }

/* :transparency: */
#nav-support_us-sponsors a          { width: 120px; background: url(../images/layout/subnav-support_us.png) -6% 12% no-repeat; }
#nav-support_us-donate a            { width: 100px; background: url(../images/layout/subnav-support_us.png) 115% 12% no-repeat; }
#nav-support_us-sponsors a:hover    { background: url(../images/layout/subnav-support_us.png) -6% 98% no-repeat; }
#nav-support_us-donate a:hover      { background: url(../images/layout/subnav-support_us.png) 115% 98% no-repeat; }

#community_footer {
    background: url(../images/layout/comm-footer-top.png) top left no-repeat;
    padding: 48px 0 0 0;
}

#community_footer > .container {
    background-color: #5698dd;
    border-left: 1px solid #97b8da;
    border-right: 1px solid #97b8da;
    border-bottom: 1px solid #97b8da;
    margin: 0 0 0 10px;
    padding: 10px 40px;
    width: 858px;
}

#footer { margin: 4px 12px 0; }
#footer, #footer * { color: #777; }
#footer a:hover { color: black; }
#footer .copyright { float: left; }
#footer .tagline { float: right; }

/* Billboard
-------------------------------------------------------------- */
#billboard {
    margin: 1.5em 0 0 40px;
    position: relative;
    width: 890px;
    min-height: 250px;
}

#billboard .tag {
    position: absolute;
    bottom: 30px;
    left: -30px;
}

#billboard .tag > span:first-child {
    background: url(../images/layout/billboard-tag-shadow.png) top left no-repeat;
    display: block;
    width: 100%;
    height: 13px;
}

#billboard .tag h3,
#billboard .tag p {
    background-color: #fa9f00;
    color: white;
    margin: 0;
    min-width: 300px;
}

#billboard .tag h3 {
    font-weight: bold;
    padding: 5px 18px 0 10px;
}

#billboard .tag p {
    padding: 0 5px 5px 10px;
}

#billboard .tag a {
    color: white;
    padding: 0 5px;
}

#billboard .tag a:hover {
    background-color: #8b5800;
}


/* Homepage Newsfeed
-------------------------------------------------------------- */
#content .newsfeed > h2:first-child {
    background: none;
    border-bottom: 1px solid #aaa;
    color: #777;
    display: block;
    font-size: 22px;
    margin-left: 0;
}

#content .newsfeed.home > h2:first-child {
    background: url(../images/layout/home-newsfeed-hdr.png) top left no-repeat; /* :transparency: */
    border-bottom: 1px solid #aaa;
    display: block;
    margin-left: 0;
    width: 100%;
    height: 24px;
    text-indent: -999999px;
}

.newsfeed .feed_item {
    border-bottom: 1px solid #aaa;
    padding: 5px 10px;
}

.newsfeed .feed_item.orange { border-left: 5px solid #fa9f00; }
.newsfeed .feed_item.blue   { border-left: 5px solid #5698dd; }
.newsfeed .feed_item.green  { border-left: 5px solid #8fda23; }
.newsfeed .feed_item.red    { border-left: 5px solid #dd0000; }
.newsfeed .feed_item.single { padding-left: 0; }

.newsfeed .feed_item.important { 
    background-color: #e7c2c2;
    border-left: 5px solid #dd0000;
}

.newsfeed .feed_item span.label {
    color: #444;
    display: block;
    font-weight: bold;
    line-height:0.75em;
    margin-top: 0.5em;
    text-transform: uppercase;
}

.newsfeed .feed_item h1 {
    font-size: 2em;
    font-weight: bold;
    margin: 0 0 0.25em;
}

.newsfeed .feed_item h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
}

.feed_item .metadata {
    color: #aaa;
    font-size: 0.9em;
    margin: 0;
}

.feed_item .categories {
    color: #aaa;
    font-size: 0.9em;
    margin: 0 0 2em;
}

#about_us_home .newsfeed .feed_item {
    padding: 1em;
}

#about_us_home .newsfeed .feed_item h2 {
    margin: 0 0 0.5em;
}

#about_us_home .newsfeed .feed_item h2 a {
    color: #999;
    font-size: 1.75em;
}

.newsfeed .feed_item h1 a,
.newsfeed .feed_item h2 a {
    color: black;
    text-decoration: none;
}

.newsfeed .feed_item h1 a:hover,
.newsfeed .feed_item h2 a:hover {
    text-decoration: underline;
}

.newsfeed .more_link {
    margin-bottom: 0.5em;
}

.photos_row img {
    float: left;
    margin: 10px 10px 10px 0;
}

.newsfeed .photo {
    float: left;
    margin-top: 8px;
    margin-bottom: 10px;
    margin-right: 10px;
    overflow: hidden;
    width: 200px;
    height: 210px;
}

.newsfeed .photo .caption,
.single_photo h2 a {
    display: block;
    color: black;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
    text-decoration: none;
}

.single_photo h2 a {
    display: inline;
    font-size: 24px;
}

.newsfeed .photo .caption:hover,
.single_photo h2 a:hover {
    text-decoration: underline;
}

.single_photo img {
    max-width: 630px;
}

.pagination {
    margin-top: 2em;
}

/* Sidebar Featured
-------------------------------------------------------------- */
#sidebar .featured > h2:first-child {
    background: url(../images/layout/home-featured-hdr.png) top left no-repeat; /* :transparency: */
    border-bottom: 1px solid #aaa;
    display: block;
    width: 100%;
    height: 24px;
    text-indent: -999999px;
}

/* Sidebar Newsletter
-------------------------------------------------------------- */
#sidebar .newsletter > h2:first-child {
    background: url(../images/layout/home-newsletter-hdr.png) top left no-repeat; /* :transparency: */
    border-bottom: 1px solid #aaa;
    display: block;
    width: 100%;
    height: 24px;
    text-indent: -999999px;
}

/* Sidebar General
-------------------------------------------------------------- */
#sidebar > div h2:first-child {
    border-bottom: 1px solid #aaa;
    color: #777;
    font-size: 18px;
}

#sidebar ul {
    list-style: none;
    margin: 0 0 inherit 0;
    padding: 0;
}

#sidebar .categories li a,
p.categories, p.categories a {
    color: #aaa;
    text-decoration: none;
}

#sidebar .categories li a.current,
#sidebar .categories li a:hover,
p.categories a:hover {
    background-color: #ef9c43;
    color: white;
    margin-left: -5px;
    padding: 0 5px;
    
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px
}

p.categories {
    margin-top: 0.5em;
}

#sidebar .current_program li a {
    color: #aaa;
}

#sidebar .current_program li a:hover {
    color: white;
}

/* Community Footer
-------------------------------------------------------------- */
#community_footer > .container > div > h2:first-child {
    display: block;
    margin-bottom: 0.25em;
    width: 100%;
    height: 19px;
    text-indent: -999999px;
}

#community_footer .current_program > h2:first-child {
    background: url(../images/layout/footer-program-hdr.png) center left no-repeat;
}

.current_program ul {
    list-style: none;
    margin: 0 0 1.5em -10px;
    padding: 0;
}

.current_program li a {
    color: white;
    display: block;
    font-size: 2em;
    font-weight: bold;
    line-height: 1.2em;
    padding-left: 10px;
    text-decoration: none;
}

.current_program li a:hover {
    background-color: #487fb8;
}

#community_footer .facebook_community > h2:first-child {
    background: url(../images/layout/footer-facebook-hdr.png) top left no-repeat;
}

.facebook_community a       { color: white; padding: 3px; }
.facebook_community a:hover { background-color: #487fb8; }

.facebook_community ul {
    list-style: none;
    margin: 0 0 1.5em;
    padding: 0;
}

.facebook_community li {
    float: left;
    margin-right: 10px;
}

.facebook_community li a {
    background-color: #ccc;
    display: block;
    padding: 0;
    height: 70px;
    width: 70px;
}

#community_footer .featured > h2:first-child {
    background: url(../images/layout/footer-featured-hdr.png) top left no-repeat;
}

/* Secondary Page Headings
-------------------------------------------------------------- */
#content > h1:first-child {
    color: #7e7e7e;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 1em;
}

/* Static Tertiary Page Rules
-------------------------------------------------------------- */
body.tertiary #content {
    min-height: 500px;
}

body.tertiary #content > h1:first-child {
    color: #7e7e7e;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 1em;
}
body.tertiary #content > h1:first-child span {
    display: block;
    font-size: 0.5em;
}

div.entry_photo {
    float: right;
    margin: 0 -5em 1.5em 1.5em;
}

div.entry_photo .caption {
    color: #555;
    display: block;
    font-size: 0.875em;
    text-align: center;
}

blockquote.pullquote {
    float: right;
    font-size: 2em;
    font-style: normal;
    line-height: 1.25em;
    margin: 0 -5em 1.5em 1.5em;
    width: 12em;
}

blockquote.pullquote:before {
    color: #d4750f;
    content: "\“";
    display: block;
    float: left;
    font-size: 3em;
    margin: 0.1em 0 0 -0.5em;
}

blockquote.pullquote:after {
    color: #d4750f;
    content: "\”";
    display: block;
    float: right;
    font-size: 3em;
    margin: 0.2em -0.3em -1em 0;
}

#pageheader .heading { font-size: 2em; color: #666; font-weight: bold; }
#content .tableHeading { font-size: 1.25em; color: #666; font-weight: bold; }
.required { color: #990000; font-weight: bold; }
.defaultBold { font-weight: bold; }
.itempad {
    font-size: 0.875em;
}

/* Our Sponsors Page
-------------------------------------------------------------- */
.our_sponsors #main #content div.span-5 p {
  margin: 0 0!important;
}

/* Teen News Network landing page
-------------------------------------------------------------- */
.tnn_landing_page .site_box {
  color: white;
  margin-bottom: 24px;
  padding: 10px 15px 20px;
}

.tnn_landing_page .site_box a {
  color: white;
  text-decoration: underline;
}

.tnn_landing_page .site_box h2 {
  color: white;
}

.tnn_landing_page #youtube {
  background-color: #dd0000;
}

.tnn_landing_page .site_box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tnn_landing_page .site_box li {
  float: left;
  margin-right: 10px;
}

.tnn_landing_page #vimeo,
.tnn_landing_page #facebook {
  background-color: #5698DD;
}

.tnn_landing_page #sidebar h3 {
  border-bottom: 1px solid #ccc;
  margin-top: 12px;
  padding-bottom: 4px;
}

.tnn_landing_page #facebook h4 {
  color: white;
  font-size: 14px;
}

.tnn_landing_page #facebook li {
  color: white;
  border-bottom: 1px solid #ccc;
  float: none;
  padding: 15px 0 0;
}

.tnn_landing_page #cast_members {
  margin-bottom: 1.5em;
}

.tnn_landing_page #cast_members li {
  float: left;
  height: 50px;
  margin: 0 5px 8px 0;
  overflow: hidden;
  width: 34px;
}

.tnn_landing_page #vimeo object {
  margin-left: 105px;
}

.bubbletip td.bt-content {
  background-color: #7FA3E4;
}

.bubbletip td {
  padding: 0;
  vertical-align: top;
}

