/* Story header appearance */

div.content-header .appearance {
    padding: 10px 0 8px;
    border-bottom: 1px solid #C1C1C1;
    margin-bottom: 15px;
}


/* Generic category sidebar appearance */

div.content-main div.content-sidebar.appearance {
    width: 190px;
    padding: 0;
    margin-bottom: 20px;
    background-color: #F1F1F1;
    font: bold 12px/12px arial,helvetica,sans-serif;
    color: #464646;
    text-align: center;
}
div.appearance div.inner-wrapper {
    padding: 15px 10px 20px;
}
div.appearance div.header {
    padding: 3px 0;
    background: #464646;
}
div.appearance div.header span {
    font-size: 16px;
    line-height: 16px;
    font-weight: normal;
    color: #fff;
}
div.appearance div.description {
    color: #464646;
    font-weight: normal;
    text-align: left;
}
div.appearance div.description p {
    line-height: 19px;
}


/* National sidebar appearance */

div.content-main div.content-sidebar.national-sidebar {
    width: 190px;
    padding: 0;
    background-color: #F1F1F1;
    font: bold 12px/12px arial,helvetica,sans-serif;
    color: #464646;
    text-align: center;
}
div.national-sidebar div.inner-wrapper {
    padding: 15px 20px;
}
div.national-sidebar div.header {
    position: relative;
    padding: 5px 0 5px 30px;
    background: #464646;
}
div.national-sidebar div.header span {
    font-size: 13px;
    line-height: 12px;
    font-weight: normal;
    color: #fff;
    text-transform: uppercase;
}
div.national-sidebar div.header:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: url('/img/national/national-icons.png') -1px -1px no-repeat;
}
.national-sidebar .header a {
    color: #fff;
    text-decoration: none;
}
div.national-sidebar div.from,
div.national-sidebar div.description {
    margin-bottom: 5px;
}
div.national-sidebar div.description {
    padding-bottom: 5px;
    color: #464646;
    font-weight: normal;
    text-align: left;
}
.national-sidebar .description a {
    color: #c1c1c1;
    text-decoration: none;
}
.national-sidebar .description a:hover {
    color: #919191;
}
div.national-sidebar div.title,
div.national-sidebar ul.article-list li {
    margin-bottom: 15px;
}
div.national-sidebar div.title {
    position: relative;
    margin-top: 10px;
    padding: 5px;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    background-color: #BB9A01;
    color: #FFF;
}
div.national-sidebar div.title:before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #C1C1C1;
}
div.national-sidebar ul.article-list {
    list-style-type: none;
    text-align: left;
}
div.national-sidebar ul.article-list a {
    font-size: 12px;
    line-height: 14px;
    font-weight: bold;
    color: #464646;
}


/* Generic styles used by number of appearance types */

.appearance.home-queue .apr-icon,
.appearance.home-rotator .apr-icon,
.appearance.section-queue .apr-icon,
.appearance.spotlight .apr-icon,
.appearance.spotlight-main .apr-icon {
    display: none;
    position: absolute;
    width: 40px;
    height: 40px;
    background: url('/img/national/national-icons.png');
    background-repeat: no-repeat;
    background-position: -1px -1px;
}
.appearance.national {
    text-transform: uppercase;
}
.appearance.national .apr-icon {
    display: block;
}
.appearance.home-queue:nth-child(n),
.appearance.home-rotator:nth-child(n),
.appearance.spotlight:nth-child(n),
.appearance.spotlight-main:nth-child(n),
.appearance.section-queue:nth-child(n) {
    filter: none;
}
.appearance.home-queue,
.appearance.home-rotator,
.appearance.spotlight,
.appearance.spotlight-main,
.appearance.section-queue {
    height: 24px;
    font: normal 14px/24px arial,helvetica,sans-serif;
    color: #fff;
    background: rgb(0,0,0);
    background: transparent\9;
    background: rgba(0,0,0,0.5);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f000000,endColorstr=#7f000000);
    text-align: center;
    zoom: 1;
}


/* Home rotator and section spotlight common styles */

.appearance.home-rotator,
.appearance.spotlight-main {
    position: relative;
    float: right;
    top: -34px;
    width: 150px;
    height: 24px;
}

.appearance.home-rotator.sponsored {
    width: 110px;
}

/* Section spotlight specific styles */

#main-item,
#featureSidebar .item-header {
    position: relative;
}
.appearance.spotlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 132px;
    height: 18px;
    font-size: 10px;
    line-height: 19px;
}
/* This rule works for both more headlines queue and for section spotlight */
.appearance.section-queue .apr-icon,
.appearance.spotlight .apr-icon {
    top: -10px;
    left: 0;
    width: 28px;
    height: 28px;
    background-position: -43px -43px;
}
.appearance.spotlight-main {
    position: absolute;
    top: auto;
    bottom: 0;
    right: 0;
}

/* Recent headlines queue specific styles */

div.home-queue .headline-item {
    position: relative;
}
.appearance.home-queue {
    position: absolute;
    left: 0;
    top: 76px;
    width: 170px;
    font-size: 13px;
}


/* More headlines queue specific styles */

.appearance.section-queue {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 18px;
    font-size: 9px;
    line-height: 19px;
}


/* Mobile Header branding */

.m-appearance.header {
    padding-bottom: 10px;
    border-bottom: 1px solid black;
    margin: 10px;
}
.m-appearance.header img {
    width: 170px;
}

/* Mobile Bottom Branding */

.m-appearance.bottom {
    padding: 10px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin: 10px 0 -1px;
}
.m-appearance.bottom p {
    margin-bottom: 0;
    font: normal 0.8em/1.25em arial, helvetica, sans-serif;
}


/* Appearance specific overrides, grouped by location */

/* HOME QUEUE */
/* National */

.appearance.home-queue.national {
    width: 162px;
    padding-right: 8px;
    text-align: right;
}
.appearance.home-queue.national .apr-icon {
    top: -16px;
    left: 0;
    background-position: -43px -1px;
}

/* SECTION QUEUE */
/* National */

.appearance.section-queue.national {
    width: 113px;
    padding-right: 7px;
    text-align: right;
    text-transform: uppercase;
}

/* HOME ROTATOR & SECTION SPOTLIGHT */
/* National */

.appearance.home-rotator.national,
.appearance.spotlight-main.national {
    width: 170px;
    padding-left: 10px;
    text-align: left;
}
.appearance.home-rotator.national .apr-icon,
.appearance.spotlight-main.national .apr-icon {
    top: -16px;
    right: 0;
    background-position: -85px -1px;
}
.appearance.spotlight.national {
    width: 125px;
    height: 18px;
    padding-right: 7px;
    text-align: right;
}
.appearance.home-rotator.national .apr-icon {
    display: block;
    top: -16px;
    right: 0;
    background-position: -85px -1px;
}