/* 
    Document   : base
    Created on : Jan 13, 2009, 3:04:23 PM
    Author     : jeff.scherpelz@blist.com, pete.stuart@blist.com
    Description:
        Base styles: reset and any styles that apply to an element
        (no classes or ids)
 */

/* CSS reset rules from http://meyerweb.com/eric/tools/css/reset/
 * Gives a blank canvas for all browsers to develop consistent styles on
 */
/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td
{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-family: Arial, sans-serif;
    vertical-align: baseline;
    background: transparent;
}

body
{
    color: #333;
    font-size: 62.5%;
    line-height: 1;
}

ol, ul
{
    list-style: none;
}

blockquote, q
{
    quotes: none;
}

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

/* remember to define focus styles! */
:focus
{
    outline: 0;
}

/* remember to highlight inserts somehow! */
ins
{
    text-decoration: none;
}

del
{
    text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table
{
    border-collapse: collapse;
    border-spacing: 0;
}


/* Now build up basic styles for elements */

p
{
    font-size: 1.1em;
    line-height: 1.1em;
}

/* Reset for ps in forms */
form p
{
    font-size: 1em;
    line-height: 1em;
}

h1
{
    color: #600;
    font-size: 2.4em;
    line-height: 1.4em;
    margin-bottom: .5em;
}

h2
{
    color: #600;
    font-size: 1.5em;
    line-height: 1.5em;
}

h3
{
    color: #600;
    font-size: 1.4em;
    line-height: 1.4em;
    text-transform: uppercase;
}

h4
{
    color: #666666;
    font-size: 1.2em;
    font-weight: normal;
    line-height: 1.3em;
}

h5
{
    color: #333333;
    display: inline;
    font-size: 1.2em;
    font-weight: normal;
    line-height: 1.3em;
}

a { 
    color: #0071bc;
    text-decoration: none;
}
a:hover 
{ 
    text-decoration: underline;
}

textarea {
    font-family: Arial, sans-serif;
    height: 5em;
}/* 
    Document   : common
    Created on : Jan 13, 2009, 3:04:23 PM
    Author     : jeff.scherpelz@blist.com, pete.stuart@blist.com
    Description:
        Common styles for classes and common elements that are used
        throughout the app
 */

/****************************
 * Generic, resuable styles *
 ****************************/

.clearBoth
{
    clear: both;
}
.clearfix:after 
{
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}
/*** START: IE hack.
/    For IE to do the right thing with clearfix, you must first set the display
/    to inline-block, then back to block.
/    The * html hack is to trigger the hasLayout property in IE6.
***/
.clearfix 
{ 
  display: inline-block; 
}
.clearfix 
{ 
  display: block; 
}
* html .clearfix 
{ 
  height: 1%; 
}
/*** END: IE hack. ***/

.scrollContent
{
    overflow: auto;
    position: relative; /** Must add this style for IE7 to properly hide the overflowing content. **/
}

.clipText
{
    text-overflow: ellipsis;
    white-space: nowrap;
}

form input[type="text"],
form input.textInput,
form textarea,
form input[type="password"],
input[type="text"]
{
    border: solid 1px #cacaca;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 1.2em;   /* 12px */
    line-height: 1.2em; /* 14.4px */
    padding: 0.2em;     /* 2.4px */
}

form .textPrompt.prompt
{
    color: #666666;
    font-style: italic;
}

label.error {
    color: #f00;
    font-size: 1em;
}

form input[type="text"].text_wide,
form textarea.text_wide { width: 30em; }

.errorMessage
{
    color: red;
}

/**************
 * Search box *
 **************/

form.search p
{
    background-image: url(../stylesheets/images/common/find_input_cap.png);
    background-repeat: no-repeat;
    overflow: hidden;
    width: 219px; /* Required for IE6 */
    padding-left: 10px;
    padding-right: 31px;
}
form.search.large p
{
    background-image: url(../stylesheets/images/common/find_input_cap_large.png);
    padding-left: 17px;
    padding-right: 40px;
}


form.search input
{
    float: left;
}

form.search input.textPrompt
{
    border-color: #cacaca;
    border-style: solid;
    border-width: 1px 0;
    height: 18px;
    padding: 3px 0 0;
    width: 100%;
}
form.search.large input.textPrompt
{
    font-size: 2.4em;
    height: 32px;
}

form.search input.submit
{
    background: transparent url(../stylesheets/images/common/find_button.png) no-repeat top left;
    height: 23px;
    margin-right: -31px;
    width: 31px;
    text-indent: -9999px;
}

form.search.large input.submit
{
    height: 37px;
    margin-right: -40px;
    width: 40px;
    background-image: none;
}

/********************
 * Main content box *
 ********************/

.mainContent .outerContent
{
    background-color: #ffffff;
    background-image: url(../stylesheets/images/content/background_corner_left.png);
    background-position: top left;
    background-repeat: no-repeat;
    margin-left: 1em;
    overflow: auto;
}

.mainContent .content
{
    background-image: url(../stylesheets/images/content/background_corner_right.png);
    background-position: top right;
    background-repeat: no-repeat;
    min-height: 0;
    padding: 1em;
    padding-bottom: 0;
}

.fullPageContentContainer, .tabPageContentContainer
{
    background: #fff url(../stylesheets/images/content/background_corner_left.png) no-repeat;
    min-width: 98.9em;
}
.tabPageContentContainer
{
   margin: 0px auto;
   min-height: 0;
   position: relative;
}
.fullPageContentContainer
{
    margin-top: 1em;
    margin-left: 1em;
    margin-right: 1em;
}
.fullPageContentBL
{
    background: url(../stylesheets/images/content/background_corner_bottom_left.png) left bottom no-repeat;
}
.fullPageContentBR
{
    background: url(../stylesheets/images/content/background_corner_bottom_right.png) right bottom no-repeat;
}
.fullPageContent
{
    background: url(../stylesheets/images/content/background_corner_right.png) right top no-repeat;
    padding: 1em;
}

.pageBlockContent
{
    padding-bottom: 6em;
}


/**********************
 * Tabs above content *
 **********************/

.tabList
{
    margin-left: 12em;
    overflow: hidden;
}

.tabList li
{
    background-image: url(../stylesheets/images/content/tabs/tab_small_sprites.png);
    background-position: left -52px;
    background-repeat: no-repeat;
    float: left;
    height: 26px;
    margin: 0 -7px;
    position: relative;
    z-index: 5;
}

.tabList li:first-child
{
    margin-left: 0;
}

.tabList li + li
{
    z-index: 4;
}

.tabList li + li + li
{
    z-index: 3;
}

.tabList li + li + li + li
{
    z-index: 2;
}

.tabList li + li + li + li + li
{
    z-index: 1;
}

.tabList li.even
{
    background-position: left -26px;
}

.tabList li .wrapper
{
    background-image: url(../stylesheets/images/content/tabs/tab_small_sprites.png);
    background-position: right -130px;
    background-repeat: no-repeat;
    padding: 3px 14px 0;
    height: 23px;
    float: left;
}

.tabList li.even .wrapper
{
    background-position: right -104px;
}

.tabList a,
.tabList .innerWrapper
{
  background-color: #bdbdbd;
  color: #333;
  display: block;
  font-size: 1.2em;
  height: 18px;
  line-height: 1.2em;
  padding: 5px 1em 0;
  text-decoration: none;
  float: left;
}

.tabList li.even a,
.tabList li.even .innerWrapper
{
    background-color: #cacaca;
}

/* Selected tab */
#home .tabList li.home,
#blists .tabList li.blists,
#contacts .tabList li.contacts,
#profile .tabList li.profile,
#overview .tabList li.overview,
#directories .tabList li.directories,
#solution .tabList li.solution,
#sales .tabList li.sales,
.tabList li.active
{
    background-image: url(../stylesheets/images/content/tabs/tab_large_sprites.png);
    background-position: 0 0;
    margin-top: 0;
    z-index: 10;
}

#home .tabList li.home .wrapper,
#blists .tabList li.blists .wrapper,
#contacts .tabList li.contacts .wrapper,
#profile .tabList li.profile .wrapper,
#overview .tabList li.overview .wrapper,
#directories .tabList li.directories .wrapper,
#solution .tabList li.solution .wrapper,
#sales .tabList li.sales .wrapper,
.tabList li.active .wrapper
{
    background-image: url(../stylesheets/images/content/tabs/tab_large_sprites.png);
    background-position: right -52px;
    height: 26px;
    padding: 0 18px;
}

#home .tabList li.home a,
#blists .tabList li.blists a,
#contacts .tabList li.contacts a,
#profile .tabList li.profile a,
#overview .tabList li.overview a,
#directories .tabList li.directories a,
#solution .tabList li.solution a,
#sales .tabList li.sales a,
.tabList li.active a,
.tabList li.active .innerWrapper
{
    background-color: #ffffff;
    font-weight: bold;
    height: 20px;
    padding: 6px 2em 0;
}

#home .tabList li.home a:hover,
#blists .tabList li.blists a:hover,
#contacts .tabList li.contacts a:hover,
#profile .tabList li.profile a:hover,
#sales .tabList li.sales a:hover,
.tabList li.active a:hover
{
    cursor: default;
    text-decoration: none;
}


/*** START: item type icons ***/

/*
typeBlist
typeFilter

sharedOut
sharedIn
privateSchema
private
*/

.itemType 
{
    background-image: url(../stylesheets/images/content/table/icon_type_sprites.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    height: 31px;
    overflow: hidden;
}

.itemType.typeBlist { background-position: 0 0; }
.itemType.typeBlist.sharedOut { background-position: 0 -31px; }
.itemType.typeBlist.sharedIn { background-position: 0 -62px; }
.itemType.typeBlist.private { background-position: 0 -93px; }
.itemType.typeBlist.privateShared { background-position: 0 -279px; }
.itemType.typeFilter { background-position: 0 -124px; }
.itemType.typeFilter.sharedOut { background-position: 0 -155px; }
.itemType.typeFilter.sharedIn { background-position: 0 -186px; }
.itemType.typeFilter.private { background-position: 0 -217px; }
.itemType.typeFilter.privateShared { background-position: 0 -248px; }

/*** END: item type icons ***/

/*** START: Activity lists (home page) ***/

.activityListContainer
{
    margin-bottom: .5em;
}
.activityListContainer h2
{
    border-bottom: 1px solid #ccc;
    color: #666;
    font-size: 1.2em;
    margin-bottom: .8em;
    text-transform: uppercase;
}

.activityListContainer li
{
    margin-bottom: 1.5em;
}
.activityListContainer li p
{
    color: #666;
    font-size: 1.8em;
    margin-bottom: .2em;
}
.activityListContainer li p.preview
{
    font-size: 1.4em;
    text-indent: 1em;
}
.activityListContainer p.listAction
{
    margin-top: .5em;
    text-align: right;
}
.activityListContainer p.listAction a 
{
    color: #666;
    font-weight: bold;
    text-transform: uppercase;
}

.activityListContainer ul.favoriteList li
{
    background: url(../stylesheets/images/content/table/icon_star_fill.png) -15px -4px no-repeat;
    padding-left: 20px;
}
.activityListContainer ul.contactList li p.contact a
{
    display: inline-block;
    height: 24px;
    margin-right: 2px;
    vertical-align: middle;
}
.activityListContainer ul.contactList li p.preview
{
    text-indent: 42px;
}

/*** END: Activity lists (home page) ***/


#overlay
{
    background-color: #000000;
    bottom: 0;
    display: none;
    filter: alpha(opacity=60);
    left: 0;
    opacity: 0.6;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99;
}

/*** Common alert dialog ***/

#jqmAlert
{
    display: none;
    left: 50%;
    margin-left: -15em;
    min-height: 0;
    position: fixed;
    top: 7em;
    width: 30em;
}

/* For now turn off corners until we get nice drop-shadows for the dialog */
#jqmAlert,
#jqmAlert .mainContent
{
    background-image: none;
}

#jqmAlert .alertMessage
{
    font-size: 1.3em;
}

.jqmOverlay { background-color: #000; }

/* 
    Document   : outer-chrome.css
    Created on : Jan 13, 2009, 3:25:51 PM
    Author     : jeff.scherpelz@blist.com
    Description:
        Styles for header/footer and full page background
 */

html
{
    height: 100%;
}

body
{
    background-color: #fff;
    height: 100%;
}

#outerContainer
{
    background-color: #ececec;
    border-top: 6px solid #06386a;
    height: auto;
    margin: 0 auto;
    max-width: 140em;
    min-height: 100%;
    position: relative;
}

/******************
 *   HEADER BAR   *
 ******************/

#header
{
    background: url(../stylesheets/images/header/mainlogo_background.png) repeat-x;
    height: 44px;
    padding-bottom: .5em;
    position: relative;
}

#mainLogo
{
    font-size: 1em;
    left: 10px;
    margin: 0;
    min-height: 0;
    position: absolute;
    top: 5px;
}

#mainLogo a
{
    background-image: url(../stylesheets/images/header/socrata_logo.png);
    background-repeat: no-repeat;
    display: block;
    height: 34px;
    padding-bottom: .3em;
    text-indent: -9999px;
    width: 151px;
}
#mainLogo.aboutLogo a { background-image: url(../stylesheets/images/header/socrata_logo_about.png); }

#header li, #footer li
{
    display: inline;
}

#header a, #footer a
{
    text-decoration: none;
}

#header a:hover, #footer a:hover
{
    text-decoration: underline;
}


/***********************
 * Dark tabs in header *
 ***********************/

#header .notifications, #header .userNav
{
    background-color: #7e7e7e;
    background-image: url(../stylesheets/images/header/gray_bar/DarkGray_corner_left_header.png);
    background-position: bottom left;
    background-repeat: no-repeat;
    text-transform: uppercase;
}

#header .notifications
{
    color: #fae096;
    float: left;
}

#header .notifications ul
{
    background-image: url(../stylesheets/images/header/gray_bar/DarkGray_corner_right_header.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    padding: 0.5em;
}

#header .notifications a
{
    color: #fae096;
    background-position: left;
    background-repeat: no-repeat;
    font-size: .9em;
    font-weight: bold;
    margin: 0.5em;
    padding-left: 18px;
}

#header .notifications li:last-child a
{
    margin-left: 0;
}

#header .notifications .messages
{
    background-image: url(../stylesheets/images/header/icons/icon_mail.png);
}

#header .notifications .requests
{
    background-image: url(../stylesheets/images/header/icons/icon_users.png);
}

#header .userNav
{
    background: none;
    padding: 0.5em;
    padding-top: .7em;
    position: absolute;
    right: 0;
    top: 0;
    text-transform: none;
}

#header .userNav li
{
    border-right: 1px solid #666;
    padding-right: .75em;
    margin: 0 .75em 0 0;
}

#header .userNav li.signInLink,
#header .loggedInNav li.signOutLink
{
    border-right: 0;
    margin-right: 10px;
    padding-right: 0;
}

#header .userNav a
{
    color: #666;
    font-size: 1.1em;    /* 11px */
}

#header .userNav li.accountLink,
#header .userNav li.signOutLink
{
    display: none;
}

#header .loggedInNav li.accountLink,
#header .loggedInNav li.signOutLink
{
    display: inline;
}

#header .userNav li.signInLink a
{
  font-weight: bold;
}

#header .loggedInNav li.signInLink
{
    display: none;
}

/*******************
 * Main nav bar    *
 *******************/

#mainNav
{
    margin: 0 auto;
    width: 33.3em;
}


#mainNav ul
{
    height: 25px;
    overflow: hidden;
}

#mainNav li
{
    float: left;
    height: 25px;
    margin-right: 1px;
    text-align: center;
    width: 11em;
}
#mainNav li a span
{
    background-image: url(../stylesheets/images/header/MainButton_gradSlice.png);
    background-repeat: repeat-x;
    display: block;
    font-weight: bold;
}
#mainNav li.discover
{ background: url(../stylesheets/images/header/MainButton_gradLeft.png) no-repeat; }
#mainNav li.discover a span {
    margin-left: 10px;
    text-indent: -10px;
}
#mainNav li.home
{ background: url(../stylesheets/images/header/MainButton_gradRight.png) right top no-repeat; }
#mainNav li.home a span {
    margin-right: 10px;
    text-indent: 10px;
}

body.home #mainNav li.home a span,
body.discover #mainNav li.discover a span,
body.community #mainNav li.community a span
{
    background-image: url(../stylesheets/images/header/MainButton_gradSlice_active.png);
}
body.discover #mainNav li.discover
{ background: url(../stylesheets/images/header/MainButton_gradLeft_active.png) no-repeat; }
body.discover #mainNav li.discover a span {
    margin-left: 10px;
    text-indent: -10px;
}
body.home #mainNav li.home
{ background: url(../stylesheets/images/header/MainButton_gradRight_active.png) right top no-repeat; }
body.home #mainNav li.home a span {
    margin-right: 10px;
    text-indent: 10px;
}


#mainNav li.last
{
    margin-right: 0;
}

#mainNav a
{
    color: #fff;
    display: block;
    font-size: 1.3em;
    line-height: 25px;
}


/**************
 * Search box *
 **************/

#header form.search
{
    position: absolute;
    right: 1em;
    top: 30px;
    width: 26em;
    z-index: 10;
}

/****************
 * Main content *
 ****************/

#sidebar { margin-top: 26; }


/*************
 *  FOOTER   *
 *************/

#footer
{
    background: url(../stylesheets/images/header/mainlogo_background.png) repeat-x;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    text-align: right;
    width: 100%;
}

#footer ul
{
    padding: 2em 1em;
}

#footer li
{
    margin: 0 2em;
}

#footer a
{
    color: #4f4f4f;
}

#footer a.rss
{
    background-image: url(../stylesheets/images/footer/icon_rss.png);
    background-position: left;
    background-repeat: no-repeat;
    padding-left: 12px;
}

#footer .copyright
{
    float: left;
    font-weight: bold;
    padding: 2em;
}

