/*** GENERAL ***/

a {
    color: #184259;
}
a:focus
{
    text-decoration: underline;
}

h1  {
    color: #333333;
}
h2  {
    color: #333333;
}
h3  {
    color: #333333;
}
h4  {
    color: #333333;
}
h5  {
    color: #333333;
}

.bodyInterior {
    border-top-color: #06386a;
}

#skipLinks a
{
    background-color: #06386a;
}

/*** OUTER CHROME ***/
#mainNav li,
#mainNav li a span
{
    background-image: url(/ui/box.png?s=h&h=35&ry=10&fc=113f6c%2C509bdb&r=10);
}

#mainNav li.home .subNav li,
#mainNav li.home .subNav li a span
{
    background-image: none;
    background-color: #509bdb;
}
body.home #mainNav li.home .subNav li,
body.home #mainNav li.home .subNav li a span
{
    background-image: none;
    background-color: #113e6b;
}

#mainNav li.home .subNav li.last
{
    background: url(/ui/box.png?h=35&rx=10&ry=10&w=20&fc=509bdb&r=10) bottom right;
}
body.home #mainNav li.home .subNav li.last
{
    background: url(/ui/box.png?h=35&rx=10&ry=10&w=20&fc=113e6b&r=10) bottom right;
}

body.home #mainNav li.home,
body.home #mainNav li.home a span,
body.discover #mainNav li.discover a span,
body.community #mainNav li.community a span,
body.discover #mainNav li.discover,
#mainNav ul.subNav li:hover,
#mainNav ul.subNav li:hover a span,
body.home #mainNav li.home .subNav li:hover,
body.home #mainNav li.home .subNav li:hover a span
{
    background-image: url(/ui/box.png?s=h&h=35&ry=10&fc=2e5f8e%2C113e6b&r=10);
}

#mainNav li.home .subNav li.last:hover
{
    background-image: url(/ui/box.png?h=35&rx=10&ry=10&w=20&fc=2e5f8e%2C113e6b&r=10);
}

#mainLogo a
{
    background-image: url(/stylesheets/images/domains/data.sunlightlabs.com/logo.png);
    height: 92px;
    width: 443px;
}

/*** DIALOG BOXEN ***/
.dialogBox .header
{
    background-color: #3D868D;
}

.dialogBox .header h1 
{
    background-image: url(/stylesheets/images/common/socrata_logo_light.png);
}

/*** CAROUSEL ***/

.pageBlockHeaderCarousel.carouselWrapper,
.pageBlockHeaderCarousel .carouselOuter,
.pageBlockHeaderCarousel .carouselInner
{
    background-image: url(/ui/box.png?s=h&h=235&fc=2f608f%2C0f3c69&r=5&bc=ffffff);
}

/*** META TABS ***/
.infoContentOuter.listContainer.expanded .infoContentInner,
.infoContentOuter.listContainer .infoContent
{
    background-image: url(/ui/box.png?h=3&w=150&ry=1&rh=1&bc=3D868D);
}

.infoContentOuter.listContainer .infoContent dt.hover
{
    background-image: url(/ui/box.png?h=19&w=19&fc=e3ecf7&r=9&bc=3D868D&rw=9);
}

.metadataPane .summaryTabs li,
.singleInfoComments li.comment.ownerComment .commentBlock .cornerOuter
{
    border-color: #3D868D;
}

.infoContentOuter .infoContentInner,
.infoContentHeader
{
    background-color: #cacaca;
    border-color: #3D868D;
}

.metadataPane .summaryTabs 
{
    border-bottom-color: #3D868D;
}

.infoContentOuter .infoContentTR,
.infoContentOuter .infoContentTL,
.infoContentOuter .infoContentBR,
.infoContentOuter .infoContentBL
{
    background-image: url(/ui/box.png?h=18&ew=1&w=2000&ec=3D868D&fc=cacaca&r=9);
}

.infoContentOuter.listContainer.expanded .infoContentBL
{
    background-image: url(/ui/box.png?h=18&ew=1&ry=9&w=150&ec=3D868D&fc=3D868D&r=9);
}

/* old-style tab corners for IE6/widget */
.metadataPane .summaryTabs li .tabOuter,
.metadataPane .summaryTabs li .tabInner
{
    background-image: url(/ui/box.png?s=h&h=23&ew=1&ec=3D868D&fc=ececec&rh=20&r=3);
}

.metadataPane .summaryTabs li.active .tabOuter,
.metadataPane .summaryTabs li.active .tabInner
{
    background-image: url(/ui/box.png?s=h&h=23&ew=1&ec=3D868D&fc=cacaca&rh=20&r=3);
}

/* new-style tab corners with tx */
.metadataPane .summaryTabs li .summaryTab
{
    background-image: url(/ui/box.png?h=23&ew=1&ec=3D868D&fc=ececec&rh=20&r=3);
}
.metadataPane .summaryTabs li .summaryTabContent
{
    background-image: url(/ui/box.png?h=23&ew=1&w=300&ec=3D868D&fc=ececec&rh=20&r=3);
}
.metadataPane .summaryTabs li.active .summaryTab
{
    background-image: url(/ui/box.png?h=23&ew=1&ec=3D868D&fc=cacaca&rh=20&r=3);
}
.metadataPane .summaryTabs li.active .summaryTabContent
{
    background-image: url(/ui/box.png?h=23&ew=1&w=300&ec=3D868D&fc=cacaca&rh=20&r=3);
}
.metadataPane .summaryTabs li.active .summaryTab
{
    border-bottom: 1px solid #cacaca;
}

/*** PUBLISH TOOL ***/
#publishContent .publishHeader .publishCodeWrapper
{
    background-color: #3D868D;
}

#publishOptionsPane .infoContentRightBg
{
    background: url(/ui/box.png?h=3&ry=1&w=150&rh=1&bc=3D868D) -10px 0 repeat-y;
}

/*** DATASET BUTTON BAR ***/
#lensBody .headerBar .staticLink:hover,
a.dropdownLink:hover .midWrapper,
.filterDatasetWrapper .filterTableHeaderRow
{
    background: url(/ui/box.png?h=24&rx=1&w=3&fc=3D868D&rw=1) repeat-x;
}

a.dropdownLink.clicked .midWrapper
{
    background: url(/ui/box.png?h=24&rx=1&w=3&fc=113f6c%2C164471%2C2f5f8e%2C509bdb&rw=1) repeat-x;
}

a.dropdownLink:hover,
a.dropdownLink:hover .outerWrapper
{
    background-image: url(/ui/box.png?h=24&w=5&fc=2e5f8e%2C285987%2C113e6b);
}

a.dropdownLink.clicked,
a.dropdownLink.clicked .outerWrapper
{
    background-image: url(/ui/box.png?h=24&w=5&fc=113f6c%2C164471%2C2f5f8e%2C509bdb);
}

/*** PROFILE PAGE ***/
#profile #welcome .welcomeTL,
#profile #welcome .welcomeTR,
#profile #welcome .welcome-titlebar
{
    background: url(/ui/box.png?h=44&s=h&ew=1&ec=9ba5a1&fc=2f608f%2C0f3c69&r=10&rh=34)  no-repeat;
    zoom: 1;    
}

#profile #welcome .welcomeTL
{
    padding-left: 10px;
    zoom: 1;
}
#profile #welcome .welcomeTR
{
    background-position: right -68px;
    padding-right: 10px;
}
#profile #welcome .welcome-titlebar
{
    background-position: right -34px;
    background-repeat: repeat-x;
    position: relative;
}
#profile #welcome .welcome-titlebar h1
{
    color: #fff;
    font-size: 1.4em;
    font-weight: bold;
    padding: 0.5em 1em;
    margin-bottom: 0;
}
#profile #welcome .welcome-titlebar span.close
{
    position: absolute;
    right: 0px;
    top: 9px;
    background: url(/stylesheets/images/content/dialog_close_button.png) no-repeat;
    line-height: 100px;
    overflow: hidden;
    width: 16px;
    height: 16px;
}
#profile #welcome .welcomeBL,
#profile #welcome .welcomeBR,
#profile #welcome .welcome-content
{
    background: url(/ui/box.png?h=88&s=h&ew=1&ry=10&ec=9ba5a1&fc=d7ecf9&r=10&rh=78)  no-repeat;    
    height: 78px;
}
#profile #welcome .welcomeBL
{
    border-top: 1px solid #9ba5a1;
    padding-left: 10px;
}
#profile #welcome .welcomeBR
{
    background-position: right -156px;
    padding-right: 10px;
}
#profile #welcome .welcome-content
{
    background-position: right -78px;
    background-repeat: repeat-x;
}

