/* Hide inactive facet elements (location/title) */
#locations .ignore {
    display: none;
}
#types .ignore {
    display: inherit;
}
/* Highlight applied facet elements and search terms */
.applied {
    background-color: #FFFF99;
    margin: 0em;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    margin-bottom: 2em;
}

/* Reset padding and margins */
#content {
    margin: 0;
    padding: 1em;
}

/* Position sidebar to the left side of the screen */
#sidebar {
    position: absolute;
    /*float: left;*/
    left: 1em;
    top: 1em;
    width: 237px;
    background-color: white;
    padding: 0;
    margin: 0;
}
#sidebar .filter {
    margin-bottom: 0.5em;
}
#sidebar h1,h2,h3,h4,h5 {
    font-family: helvetica,sans-serif;
    color: black;
    margin: 0;
    padding: 0;
}

/* Generic options for facet filter lists (locations/titles) */
ul.filter {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul.filter li {
    margin: 0;
}
ul.filter li a {
    font-family: arial,helvetica,sans-serif;
    font-weight: bold;
    font-size: 75%;
    color: #000033;
    margin-left: 0.5em;
    margin-right: 0.5em;
    cursor: pointer;
}
ul.bib_list, ul.item_list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
ul.bib_list li, ul.item_list li {
    margin: 0;
    padding: 0;
}
ul.bib_list li {
    margin-bottom: 0.5em;
}

/* Start Over link */
#start_over {
    margin: 0;
    padding: 0;
    font-family: arial,helvetica,sans-serif;
    font-weight: bold;
    font-size: small;
    color: black;
    background-color: #CCCCCC;
    padding: 0.25em;
    display: block;
    text-align: center;
    margin-top: 1em;
}

#start_over a {
    color: black;
}

/* #pages contains all visible content not in #sidebar */
#pages {
    padding: 0em;
    margin-top: 0;
    margin-right: 1em;
    margin-left: 250px;
}

/* Reset margins and padding for forms in (IE) */
form {
    margin: 0;
    padding: 2px;
}
/* Indent the facet filter lists (locations/types) slightly */
form.filter {
    padding: 2px;
}

/* .page divs are children of #pages and contain the real content */
.page {
    font-family: arial,helvetica,sans-serif;
    font-size: 95%;
    padding: 0.25em;
    /*border-bottom: 1px solid #CCCCCC;*/
    padding-bottom: 4em;
}
.page h1, .page h2 {
    padding: 0;
    margin: 0;
    margin-bottom: 0em;
}

.bib {
    font-family: arial,helvetica,sans-serif;
    /*overflow: hidden;*/
    clear: both;
    font-size: 14px;
    line-height: 1.25em;
}

.bib .title {
    font-size: 16px;
    line-height: 1em;
}
.bib span.item_count {
    font-size: 75%
}

.cover {
    position: relative;
    width: 45px;
    height: 70px;
    overflow: hidden;
    margin: 0;
    margin-right: 12px;
    margin-bottom: 0.25em;
    float: left;
    border: 1px solid #999999;
    z-index: 5;
}

.cover img {
    position: relative;
    width: 45px;
    height: 70px;
    top: 0px;
    left: 0px;
    cursor: pointer;
    z-index: 5;
}

/* cover backgrounds for generic types */
.book {
    background: url('../images/book.gif');
}
.dvd {
    background: url('../images/dvd.gif');
}
.cd {
    background: url('../images/cd.gif');
}
.vhs {
    background: url('../images/vhs.gif');
}

.item_table {
    /* Don't display item_tables by default -- they will be displayed via javascript
     * or the display parameter here will be overriden later in the document for those
     * browsers without script support */
    display: none;
    font-size: 12px;
    width: 100%;
    margin-bottom: 1em;
    padding-top: 0em;
    clear: both;
}
.item_table .note {
    font-size: 10px;
}
.item_table table {
    width: 100%;
}
.item_table td, .item_table th {
    text-align: left;
    padding: 0.25em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-bottom: 1px solid black;
}
.item_table tr.dimmed {
	color: #666666;
}
.item_table tr.dimmed td a:link {
	color: #666666;
}
.item_table tr.data:hover {
	background-color: #EEEEEE;
}
/* Highlight cells of the .item_table if they match the current location or type */
.location_match td.item_field_location, .type_match td.item_field_item_type, span.location_match {
    font-weight: bold;
    background-color: pink;
}

/* Links added via javascript to display .item_table elements */
.bib .links {
    display: none;
    float: right;
    font-size: 12px;
    line-height: 1.5em;
    margin-left: 1em;
    margin-bottom: 2em;
    width: 200px;
}
.bib .links ul li a {
    display: block;
    text-align: right;
}
.bib .links ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.bib .links ul li {
    margin: 0;
    padding: 0;
}

/* Floating div containing page prev/next links, display, and sort options */
.pager {
    font-family: arial,helvetica,sans-serif;
    font-size: 80%;
    font-weight: bold;
    margin-top: 0.5em;
    margin-left: 1em;
    margin-bottom: 0.5em;
    float: right;
    clear: both;
}

/* .big_cover divs contain Syndetics Medium size images -- these will be
 * positioned via javascript as necessary */
.big_cover {
    position: absolute;
    display: none;
    overflow: hidden;
    z-index: 10;
    cursor: pointer;
    background: url("../images/big-cover-shadow.png");
}
.big_cover img {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 11;
    cursor: pointer;
}

/* Preloaded covers are displayed just off the screen so that they will be rendered
 * ASAP */
.preload_cover {
    position: absolute;
    top: -1000px;
    left: -1000px;
}

/* Serach form at the top of the results */
#search_form {
    text-align: center;
    margin-bottom: 0.5em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    border-top: 1px dotted #CCCCCC;
    border-bottom: 1px dotted #CCCCCC;
    /*clear: both;*/
    clear: right;
}

hr {
    display: none;
}

/* Alphabet index display at the top of the results, just below the search form */
#alpha_list a, #alpha_list a:hover, #alpha_list a:visited {
    font-family: arial,helvetica,sans-serif;
    font-size: 105%;
    padding: 0 0.25em 0 0.25em;
    cursor: pointer;
    background-color: #EEEEEE;
    font-weight: bold;
    color: black;
    text-decoration: none;
}
#alpha_list a:hover {
    background-color: #EEEEEE;
}
#alpha_list a.empty, #alpha_list a.emtpy:hover {
    background-color: #CCCCCC;
    color: #999999;
}
#alpha_list a.applied {
    background-color: #FFFF99;
}
#alpha_list {
    text-align: center;
    margin-bottom: 1em;
}

/* Links for toggling .ignore elements */
.ignore_toggle_link {
    font-family: arial,helvetica,sans-serif;
    font-size: 70%;
    color: black;
    /*padding-left: 0.5em;
    padding-bottom: 2em;
    margin-bottom: 1em;*/
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin: 0.5em;
    margin-top: 0em;
    margin-bottom: 0;
}

/* Rounded rectangle div set */
.r_outer {
     background: url('../images/middle_cap.gif') repeat-y top left;
     margin-bottom: 0em;
     margin: 0;
     padding: 0;
     background-color: white;
     border: 1px solid white;
}
.r_middle {
    margin: 0;
    padding: 0;
    padding-top: 10px;
    background: url('../images/top_cap.gif') no-repeat top left;
}
.r_inner {
    margin: 0;
    padding: 0;
    background: url('../images/bottom_cap.gif') no-repeat bottom left;
    padding: 0 8px 16px 8px;
}

/* Splash screen instruction labels -- "Select a location to get started" and 
 * "Select an item type" */
#select_type, #select_location {
    font-family: arial,helvetica,sans-serif;
    font-weight: normal;
    font-size: 120%;
    color: #FFFF99;
    background-color: #9966CC;
    padding: 0.25em;
    width: 50%;
}
#select_type {
    background-color: #CC3333;
}
#select_location.complete, #select_type.complete {
    background-color: #999999;
    color: #CCCCCC;
}

/* Suggestion list, displayed when no location nor type has been selected */
ul.random_suggestion {
    list-style-type: square;
    margin: 0;
    padding: 0;
    padding-bottom: 1em;
    border-bottom: 1px solid black;
    margin-bottom: 1em;
}
ul.random_suggestion li {
    margin: 0;
    margin-left: 1em;
    padding: 0;
    line-height: 1.25em;
}
p.random_suggestion {
    margin-left: 0em;
}
a.random_suggestion {
    font-weight: bold;
}

/* Informational link for current location/and or type -- displayed in #sidebar */
a.info {
    color: black;
    font-family: arial,helvetica,sans-serif;
    font-weight: normal;
    font-size: 95%;
}

/* Static blurbs displayed based on item type and/or location */
.static_content {
    font-family: arial,helvetica,sans-serif;
    background: none;
    border: 1px solid white;
    margin: 2px;
    padding: 0;
    padding-top: 5px;
    margin-left: 10px;
}

/* Row and Sort selection text */
.rows_select, .sort_select, .page_select {
    font-size: 90%;
    text-align: right;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}
.page_buttons {
    text-align: right;
    margin-top: 0em;
    margin-bottom: 0.25em;
}

#hints ul {
}
p.hint {
    width: 280px;
    height: 3em;
    margin: 0;
    padding: 0;
    margin-right: 1em;
    padding-top: 1em;
    margin-bottom: -3.25em;
    padding-right: 20px;
    /*background: url('../images/look_right.gif') 275px 0px no-repeat;*/
}
span.hint {
    font-weight: bold;
    background-color: lightgreen;
}

ul.hint, h3.hint {
    margin-left: 300px;
}
h3.hint {
    margin-top: 0;
    padding-top: 0;
}
ul.hint {
    padding: 0;
    list-style-type: none;
}
ul.hint li {
    padding-left: 1em;
    padding-bottom: 0.5em;
}

.no_matches {
    text-align: center;
    font-weight: bold;
    border: 1px solid black;
    margin-top: 2em;
    margin-bottom: 2em;
    padding: 0.25em;
    margin-left: 20%;
    margin-right: 20%;
}

#footer {
    color: #CCCCCC;
    font-family: arial,helvetica,sans-serif;
    font-size: 70%;
    padding-top: 0.5em;
    margin-top: 0.5em;
    text-align: right;
    clear: both;
    position: absolute;
    margin-right: 3.25em;
    margin-left: 2.5em;
    right: 0em;
}

#select_location2, #select_type2 {
    font-weight: bold;
    overflow: hidden;
    display: block;
    position: absolute;
    width: 108px;
    height: 50px;
    /*top: 40px;
    left: 135px;*/
    top: 0px;
    left: 135px;
    z-index: 5;
    background: url('../images/blip2_short.png');
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 12px;
    text-align: right;
    color: yellow;
}

#select_location2 {
    display: none;
    position: relative;
    font-family: arial,helvetica,sans-serif;
    top: 0px;
    left: 110px;
    margin: 0;
    margin-top: 25px;
    margin-bottom: -95px;
}

#select_type2 {
    display: none;
    position: relative;
    font-family: arial,helvetica,sans-serif;
    top: 0px;
    left: 110px;
    margin: 0;
    margin-top: -5px;
    margin-bottom: -65px;
}

#pointer {
    display: none;
    position: absolute;
    top: 30px;
    left: 200px;
    z-index: 5;
}

.splash {
}

ul.splash {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
ul.splash li {
    margin-bottom: 0.25em;
}

