/*
 * General.
 */
body {
    background-color: white;
    background-repeat: no-repeat;
    color: black;
    font-family: Lucida Grande, Helvetica, Arial, sans-serif;
    line-height: 1.0em;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    font-size: 13px;
    width: 100%;
    height: 100%;
}

a {
    font-size: 13px;
    color: #999999;
    text-decoration: none;
    border: 0px solid #999999;
}

img {
    border: 0px solid white;
}

form {
    display: inline;
}

/*
 * Headers.
 */
.header-logo {
    padding: 5px 0px 0px 5%;
}

/*
 * Collections menu.
 */
.menu {
    padding: 15px 0px 10px 5%;
    border-bottom: 1px dotted #bbbbbb; 
}

.menu-item-off {
    text-transform: lowercase;
    text-decoration: none;
    color: #aaaaaa;
}

.menu-item-on {
    text-transform: lowercase;
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.menu-divider {
    color: #aaaaaa;
    font-size: 11px;
    padding: 0px 10px 0px 10px;
}

/*
 * Queries.
 */
.query-body {
    padding: 0px 0px 0px 5%;
    font-size: 13px;
}

.query-header {
    padding: 15px 0px 0px 0px;
}

.query-label {
    padding: 5px 0px 0px 40px;
}

.query-text {
    margin: 5px 0px 0px 40px;
    width: 622px;
    font-family: Lucida Grande, Helvetica, Arial, sans-serif;
    border: 1px solid #aaaaaa;
    font-size: 13px;
    background: transparent;

}
.numbers-text {
    margin: 0px 0px -2px 5px;
    width: 50px;

}

.query-select {
    margin: 5px 0px 0px 40px;
    width: 150px;
}

.query-buttons {
    margin: 30px 0px 0px 0px;
    border-top: 1px dotted #bbbbbb; 
    padding: 5px 0px 0px 5%;
}

.query-buttons input {
    vertical-align: middle;
    text-align: center;
    margin: 0px 5px 0px 0px;
}

.query-publication {
    margin: 0px 0px 0px 0px;
    width: 150px;
    height: 100px;
}

.query-issue {
    margin: 0px 0px 0px 0px;
    width: 150px;
}

.query-table {
    margin: 5px 0px 0px 40px;
    padding: 0px 0px 0px 0px;
    border-collapse: collapse;
}

.query-table td {
    vertical-align: top;
    padding: 0px 10px 5px 0px;
}

/*
 * The results summary line.
 */
.summary {
    text-transform: lowercase;
    text-decoration: none;
    color: #aaaaaa;
    padding: 10px 0px 15px 5%;
    clear: both;
}

.summary-page {
    font-weight: bold;
    text-transform: lowercase;
    text-decoration: none;
    color: black;
}

.summary-total {
    font-weight: bold;
    text-transform: lowercase;
    text-decoration: none;
    color: black;
}

.summary-divider {
    color: #aaaaaa;
    font-size: 11px;
    margin: 0px 10px 0px 10px;
}

.summary-navigation {
    color: #aa0000;
}

.summary a {
    color: #aa0000;
}

.summary a img {
    vertical-align: top;
}

.summary-no-results {
    font-weight: bold;
    text-decoration: none;
    color: #aa0000;
}

/*
 * Documents in the results list.
 */
.list-document {
    padding: 10px 5% 20px 5%;
    margin: 0px 0px 0px 0px;
    float: left;
    clear: both;
    width: 90%;
}

.list-thumbnail {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    text-align: center;
    vertical-align: middle;
    width: 130px;
    height: 130px;
    float: left;
}

.list-thumbnail img {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    border: 1px solid #aaaaaa;
}

.list-record {
    margin: 0px 0px 0px 140px;
    padding: 0px 0px 0px 0px;
}

.list-header {
    font-weight: bold;
    text-decoration: none;
    color: #aaaaaa;
    vertical-align: bottom;
    padding: 0px 0px 5px 0px;
    border-bottom: 1px dotted #bbbbbb; 
}

.list-header input {
    margin: 0px 5px 0px 0px;
    vertical-align: bottom;
}

.list-body {
    padding: 10px 0px 0px 0px;
}

.list-publication {
}

.list-issue {
}

.list-article {
}

.list-date {
}

.list-page {
}

.list-toolbar {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 15px;
    display: inline;
}

.list-toolbar a img {
    vertical-align: bottom;
}

.list-toolbar img {
    vertical-align: bottom;
    cursor: pointer;
}


.list-highlight {
    background-color: #ffff7f;
}

/*
 * Controls in all details pages.
 */
.details-field {
    padding: 0px 0px 5px 0px;
}

.details-field-label {
    font-size: 9px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    color: #aaaaaa;
}

.details-field-text {
    border: 1px solid #aaaaaa;
    font-size: 13px;
    width: 400px;
}

.details-field-read-only-text {
    border: 0px solid #aaaaaa;
    font-size: 13px;
    width: 400px;
    border-top: 1px solid #aaaaaa;
    background: transparent;
}

.details-field-day, .details-field-month, .details-field-year {
    border: 1px solid #aaaaaa;
    font-size: 13px;
}

.details-field-area {
    border: 0px solid #aaaaaa;
    font-family: Lucida Grande, Helvetica, Arial, sans-serif;
    border-top: 1px solid #aaaaaa;
    font-size: 13px;
    width: 400px;
    height: 4em;
    background: transparent;
}

.details-field-read-only-area {
    border: 0px solid #aaaaaa;
    font-family: Lucida Grande, Helvetica, Arial, sans-serif;
    border-top: 1px solid #aaaaaa;
    font-size: 13px;
    width: 400px;
    height: 4em;
}

.details-field-long-area {
    border: 1px solid #aaaaaa;
    font-family: Lucida Grande, Helvetica, Arial, sans-serif;
    font-size: 13px;
    width: 400px;
    height: 8.5em;
}

.details-field-read-only-long-area {
    border: 0px solid #aaaaaa;
    font-family: Lucida Grande, Helvetica, Arial, sans-serif;
    border-top: 1px solid #aaaaaa;
    font-size: 13px;
    width: 400px;
    height: 8.5em;
    background: transparent;
}

.details-field-checkbox {
    vertical-align: top;
}

.details-field-read-only-checkbox {
    vertical-align: top;
}

/*
 * Documents in the page details interface.
 */
.page-details-table {
    margin: 10px 5% 10px 5%;
    padding: 0px 0px 0px 0px;
    width: 90%;
    border-collapse: collapse;
}

.page-details-document {
}

.page-details-preview-td {
    vertical-align: top;
    width: 302px;
}

.page-details-preview {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    width: 300px;
    text-align: center;
    vertical-align: middle;
}

.page-details-image {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    border: 1px solid #aaaaaa;
}

.page-details-record-td {
    vertical-align: top;
}

.page-details-record {
    margin: 0px 0px 0px 10px;
    padding: 0px 0px 0px 10px;
    border-left: 1px dotted #bbbbbb; 
    width: 480px;
}

.page-details-toolbar {
    padding: 0px 0px 2px 2px;
    margin: 0px 0px 10px 0px;
    border-bottom: 1px dotted #bbbbbb; 
    height: 18px;
    width: 302px;
    text-align: left;
    vertical-align: middle;
    overflow: hidden;
}

.page-details-toolbar img {
    vertical-align: middle;
}

.page-details-toolbar input {
    border: 0px solid black;
    vertical-align: middle;
}

.page-details-buttons {
    margin: 10px 0px 0px 0px;
}

.page-details-buttons input {
    vertical-align: middle;
    text-align: center;
    margin: 0px 5px 0px 0px;
}

/*
 * Mosaic.
 */
.mosaic {
    padding: 5px 5% 20px 5%;
    width: 90%;
}

.mosaic-document {
    padding: 0px 10px 0px 10px;
    margin: 0px 10px 10px 0px;
    border: 1px solid black;
    float: left;
    width: 192px;
    height: 216px;
    text-align: center;
    background-color: #afafaf;
}

.mosaic-toolbar {
    padding: 0px 0px 2px 0px;
    margin: 0px 0px 10px 0px;
    border-bottom: 1px dotted black;
    height: 18px;
    width: 192px;
    text-align: left;
    vertical-align: middle;
    overflow: hidden;
}

div.mosaic-toolbar img {
    vertical-align: middle;
}

div.mosaic-toolbar input {
    border: 0px solid black;
    vertical-align: middle;
}

/*
 * If we change the size of the image, its aspect ratio may change.
 * We enclose the image in a square frame to preserve that aspect ratio.
 */
.mosaic-frame {
    padding: 0px 0px 0px 0px;
    margin: 0px 32px 0px 32px;
    width: 128px;
    height: 128px;
}

.mosaic-image {
}

.mosaic-record {
    padding: 0px 0px 0px 0px;
    margin: 10px 0px 0px 0px;
    height: 48px;
    width: 192px;
    border-top: 1px dotted black;
    text-align: left;
    overflow: hidden;
    font-size: 11px;
    color: black;
}

.mosaic-filename {
    font-weight: bold;
    text-transform: lowercase;
}

.mosaic-author {
    color: #aa0000;
}

.mosaic-publication {
}

.mosaic-issue {
}

.mosaic-article {
}

.mosaic-date {
}

.mosaic-summary {
}

.mosaic-nodoc {
    font-size: 11px;
    color: #aa0000;
    vertical-align: middle;
}

/*
 * Documents in the photo details interface.
 */
.photo-details-table {
    margin: 10px 5% 10px 5%;
    padding: 0px 0px 0px 0px;
    width: 90%;
    border-collapse: collapse;
}

.photo-details-document {
}

.photo-details-preview-td {
    vertical-align: top;
    width: 416px;
}

.photo-details-preview {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    border: 1px solid black;
    width: 416px;
    height: 448px;
    text-align: center;
    background-color: #afafaf;
}

.photo-details-toolbar {
    padding: 0px 0px 2px 0px;
    margin: 0px 15px 10px 15px;
    border-bottom: 1px dotted black;
    height: 18px;
    width: 386px;
    text-align: left;
    vertical-align: middle;
    overflow: hidden;
}

div.photo-details-toolbar img {
    vertical-align: middle;
}

div.photo-details-toolbar input {
    border: 0px solid black;
    vertical-align: middle;
}

/*
 * If we change the size of the image, its aspect ratio may change.
 * We enclose the image in a square frame to preserve that aspect ratio.
 */
.photo-details-frame {
    padding: 0px 0px 0px 0px;
    margin: 0px 16px 0px 16px;
    width: 384px;
    height: 384px;
}

.photo-details-image {
}

.photo-details-record-summary {
    padding: 2px 0px 0px 0px;
    margin: 10px 15px 0px 15px;
    border-top: 1px dotted black;
    height: 18px;
    width: 386px;
    text-align: left;
    vertical-align: middle;
    overflow: hidden;
    font-size: 11px;
    color: black;
}

.photo-details-filename {
    font-weight: bold;
    text-transform: lowercase;
}

.photo-details-size {
    text-transform: lowercase;
}

.photo-details-record-td {
    vertical-align: top;
}

.photo-details-record {
    border-left: 1px dotted #bbbbbb; 
    margin: 0px 0px 0px 10px;
    padding: 0px 0px 0px 10px;
    width: 480px;
}

.photo-details-buttons {
    margin: 10px 0px 0px 0px;
}

.photo-details-buttons input {
    vertical-align: middle;
    text-align: center;
    margin: 0px 5px 0px 0px;
}


/*
 * Controls in card lists.
 */
.card-list {
    margin: 0px 0px 0px 0px;
    padding: 10px 5% 20px 5%;
    width: 90%;
}

.card {
    background-color: #ffffe1;
    border-top: 1px solid #aaaaaa;
    margin-bottom: 20px;
}

.card-toolbar {
    float: right;
    vertical-align: middle;
}

.card-toolbar img {
    vertical-align: middle;
}

.card-toolbar input {
    border: 0px solid black;
    vertical-align: middle;
}

.card-field-label {
    color: #aaaaaa;
    display: block;
    font-size: 9px;
    font-weight: bold;
    padding: 0px 5px 0px 5px;
    text-decoration: none;
}

.card-field-value {
    border-bottom: 1px solid #aaaaaa;
    padding: 0px 5px 5px 5px;
}


/*
 * Controls in the card details page.
 */
.card-details {
    margin: 0px 0px 0px 0px;
    padding: 10px 5% 20px 5%;
    width: 90%;
}

.card-details-document {
    background-color: #ffffe1;
    border-bottom: 1px solid #aaaaaa;
    border-top: 1px solid #aaaaaa;
}

.card-details-toolbar {
    float: right;
    vertical-align: middle;
}

.card-details-toolbar img {
    vertical-align: middle;
}

.card-details-toolbar input {
    border: 0px solid black;
    vertical-align: middle;
}

.card-details-buttons {
    margin: 10px 0px 10px 5px;
}

.card-details-buttons input {
    vertical-align: middle;
    text-align: center;
    margin: 0px 5px 0px 0px;
}

.card-details-document .details-field {
    padding: 0px 5px 5px 5px;
}

.card-details-document .details-field-label {
    font-size: 9px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    color: #aaaaaa;
}

.card-details-document .details-field-text {
    background-color: #ffffe1;
    border: 1px solid #aaaaaa;
    font-size: 13px;
    width: 90%;
}

.card-details-document .details-field-read-only-text {
    background-color: #ffffe1;
    border: 1px solid #aaaaaa;
    font-size: 13px;
    width: 100%;
}

.card-details-document .details-field-area {
    background-color: #ffffe1;
    border: 1px solid #aaaaaa;
    font-family: Lucida Grande, Helvetica, Arial, sans-serif;
    font-size: 13px;
    width: 90%;
    height: 8em;
}

.card-details-document .details-field-read-only-area {
    background-color: #ffffe1;
    border: 1px solid #aaaaaa;
    font-family: Lucida Grande, Helvetica, Arial, sans-serif;
    font-size: 13px;
    width: 100%;
    height: 8em;
}

/*
 * Errors.
 */
.alert-message {
    /*
     * Boxed.
     *
    margin: 25px 50px 25px 50px;
    padding: 10px 10px 10px 10px;
    border: 1px solid black; 
    color: #aa0000;
    background-color: #dddddd;
    font-weight: bold;
     */
    margin: 0px 0px 0px 0px;
    padding: 25px 5% 25px 5%;
    color: #aa0000;
    font-weight: bold;
}

.alert-traceback {
    /*
     * Boxed.
     *
    margin: 25px 50px 25px 50px;
    padding: 10px 10px 10px 10px;
    border: 1px solid black; 
    color: black;
    background-color: #dddddd;
    white-space: pre;
    font-family: Courier, monospace;
     */
    padding: 10px 5% 10px 5%;
    color: #7f7f7f;
    white-space: pre;
    font-family: Courier, monospace;
}

.alert-original-message {
    font-weight: normal;
    color: black;
}

.alert-button-bar {
    padding: 10px 5% 10px 5%;
}

/*
 * Login.
 */
.login-dialog {
    margin: 15px 5% 15px 5%;
    padding: 10px 10px 10px 10px;
    border-collapse: collapse;
    border: 1px solid #7f7f7f;
    background-color: #afafaf;
}

.login-label {
    padding: 5px 5px 5px 5px;
}

.login-input {
    padding: 5px 5px 5px 5px;
}

.login-input input {
    width: 150px;
}

.login-button {
    padding: 5px 5px 5px 5px;
    text-align: right;
}
#numbers_or_dates_dates {width:622px;}

.help {
    margin: 25px 0px 0px 0px;
    padding: 25px 50px 25px 50px;
    border-top: 1px dotted #bbbbbb; 
    color: black;
}

.marcado {
    border: 3px solid #BB0000;

}

.desmarcado {
    border: 0px solid #BB0000;

}


.help-example {
}

div.help h1 {
    color: #aa0000;
}

div.help dt {
    font-weight: bold;
}
#numbers_or_dates_dates SPAN {float:right;}
