@import url(//fonts.googleapis.com/css?family=Amethysta|Roboto);


.centred_title {
    text-align: center;
}


.doc_area {
    width: 1024px;
    margin: 0 auto;
}

.doc_list_container {
    width: 184px;
    margin: 0 4px 0 0;
    background: #ffffff;
}

.doc_list_container .doclist_title {
    background: #575a59;
    color: #ddd;

    padding: 15px 10px;
    font-size: 1.3em;

    font-family: Amethysta, serif;
}

.doclist_title_small {
    background: #575a59;
    color: #ddd;

    padding: 15px 10px;
    font-size: 1.2em;

    font-family: Amethysta, serif;
}

.doclist_subheading {
    margin: 5px 0 10px 0;
    padding: 0;
    color: #404040;

    font-family: Amethysta, serif;
}

.doc_list {
    padding: 10px;
    background: #b8b18a;
    color: #fff;
}

.doc_list p {
    text-align: justify;
}

.doc_list_note {
    padding: 1px;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
}

.doc_list_commentary_available {
    font-weight: bold;
    color: #204080;
}

.doc_content_container {
    position: absolute;
    width: 836px;
    background: #ffffff;
    margin: 0 0 0 188px;
}

.doc_content {
    padding: 0 10px;
}

.doc_content p {
    text-align: justify;
}

.doc_content > h1, .doc_content > h2, .doc_content > h3 {
    margin-top: 15px;
}

.doc_content .doc_content_title {
    background: #575a59;
    color: #ddd;

    padding: 15px 10px;
    font-size: 1.3em;

    font-family: Amethysta, serif;
}






/*
DOCUMENT LIST STYLES
*/

ul.docs_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.docs_list li {
    padding: 1px 0;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
}

ul.docs_list li a {
    text-decoration: none;
    text-align: left;
    display: block;
    padding: 5px;
    background: #f2eeda;
    border-top: 1px solid #f2eeda;
    border-bottom: 1px solid #f2eeda;
    color: #59574c;
}

ul.docs_list li a:hover {
    background: #e6e2d1;
    border-top: 1px solid #e6e2d1;
    border-bottom: 1px solid #e6e2d1;
}

ul.docs_list li.doc_list_current_item a {
    text-decoration: none;
    display: block;
    background: #e6e1cf;
    border-top: 1px solid #807c74;
    border-bottom: 1px solid #807c74;
    color: #2b2a25;
}

ul.docs_list li.doc_list_current_item a:hover {
    background: #d9d5c5;
    border-top: 1px solid #736f68;
    border-bottom: 1px solid #736f68;
}


ul.docs_list li.docs_sub_list_item.collapsed > ul {
    display: none;
}

li.docs_sub_list_item > ul {
    padding-left: 8px;
}


.doc_list_item_title {
    font-family: "Roboto", sans-serif;
    font-weight: bold;
}

.doc_list_item_subtitle {
    font-family: "Roboto", sans-serif;
    font-size: 0.95em;
    color: #4d4b42;
}






/*
Embedded images
*/
.embedded_image_caption {
    margin: 0 0 5px 0;
    font-family: Roboto, sans-serif;
    font-size: 0.8em;
    color: #305070;
    text-align: center;
}

.embedded_image_container_left {
    margin-right: auto;
}

.embedded_image_container_centre {
    margin-left: auto;
    margin-right: auto;
}

.embedded_image_container_right {
    margin-left: auto;
}

.embedded_image_container_flow_left {
    float: right;
    padding-left: 10px;
}

.embedded_image_container_flow_centre{
    float: left;
}

.embedded_image_container_flow_right {
    float: left;
    padding-right: 10px;
}


/*
Embedded tables
*/

.embedded_table_caption {
    margin: 0 0 5px 0;
    font-family: Roboto, sans-serif;
    font-size: 0.8em;
    color: #305070;
    text-align: center;
}

.embedded_table_container_left {
    margin-right: auto;
}

.embedded_table_container_centre {
    margin-left: auto;
    margin-right: auto;
}

.embedded_table_container_right {
    margin-left: auto;
}

.embedded_table_container_flow_left {
    float: right;
    padding-left: 10px;
}

.embedded_table_container_flow_right {
    float: left;
    padding-right: 10px;
}


.rich_text_table {
}


/*
Surviving rolls table
*/

table.surviving_rolls_table {
    border-collapse:collapse;
    font-size: 0.8em;
    outline: 1px solid #e8e8e8;
}

table.surviving_rolls_table > tbody > tr > td {
    border: 1px solid #f0f0f0;
    border: 1px solid rgba(192, 192, 192, 0.1);
}

table.surviving_rolls_table > tbody > tr > th {
    font-weight: normal;
    background: #f8f8f8;
    border: 1px solid #f0f0f0;
    border: 1px solid rgba(192, 192, 192, 0.1);
}

table.surviving_rolls_table > tbody > tr > th.surviving_rolls_row_header {
    padding: 0.35em 0.5em;
}

table.surviving_rolls_table > tbody > tr > th.surviving_rolls_row_header > p {
    margin: 0;
    color: #204060;
}

table.surviving_rolls_table > tbody > tr > th.surviving_rolls_column_header {
    padding: 0.5em 0.6em;
}

table.surviving_rolls_table > tbody > tr > th.surviving_rolls_column_header > p {
    margin: 0;
    color: #204060;
    text-align: center;
}

table.surviving_rolls_table > tbody > tr > td.surviving_rolls_cell {
    padding: 0;
}

table.surviving_rolls_table > tbody > tr > td.surviving_rolls_cell > p {
    margin: 0;
}



/*
Surviving rolls key table
*/

table.surviving_rolls_key_table {
    border-collapse:collapse;
    font-size: 0.85em;
    outline: 1px solid #ececec;
}

table.surviving_rolls_key_table > tbody > tr > th {
    background: #f8f8f8;
    padding: 0.5em 1.5em;
    border: 1px solid #f0f0f0;
    border: 1px solid rgba(192, 192, 192, 0.1);
}

table.surviving_rolls_key_table > tbody > tr > th > p {
    margin: 0;
    color: #204060;
    font-weight: bold;
    text-align: center;
}

table.surviving_rolls_key_table > tbody > tr > td {
    padding: 0.5em 0.5em;
    border: 1px solid #f0f0f0;
    border: 1px solid rgba(192, 192, 192, 0.1);
}

table.surviving_rolls_key_table > tbody > tr > td > p {
    margin: 0;
    color: #f0f0f0;
}



/*
Charter witnessing table
*/

table.charter_witnessing_table {
    border-collapse:collapse;
    font-size: 0.75em;
    outline: 1px solid #ececec;
}

table.charter_witnessing_table > tbody > tr > th {
    background: #f8f8f8;
    padding: 0.5em 0.25em;
    border: 1px solid #f0f0f0;
    border: 1px solid rgba(192, 192, 192, 0.1);
    vertical-align: top;
    /* Set for equal spacing among *7* columns */
    width: 14%;
}

table.charter_witnessing_table > tbody > tr > th > p {
    margin: 0;
    color: #204060;
    text-align: center;
    font-weight: normal;
}

table.charter_witnessing_table > tbody > tr > td {
    padding: 0.5em 0.25em;
    border: 1px solid #f0f0f0;
    border: 1px solid rgba(192, 192, 192, 0.1);
    vertical-align: top;
}

table.charter_witnessing_table > tbody > tr > td > p {
    margin: 0;
    text-align: left;
}



/*
Itinerary table
*/

table.itinerary_table {
    border-collapse:collapse;
    outline: 1px solid #e8e8e8;
    font-family: "Amethysta", serif;
    margin: 30px 0;
}

table.itinerary_table > tbody > tr > th {
    font-weight: normal;
    background: #f8f8f8;
    border: 1px solid #f0f0f0;
    border: 1px solid rgba(192, 192, 192, 0.1);
    text-align: left;
}

table.itinerary_table > tbody > tr > td {
    border: 1px solid #f0f0f0;
    border: 1px solid rgba(192, 192, 192, 0.1);
    padding: 0 5px;
    font-size: 0.8em;
}

table.itinerary_table > tbody > tr > td > p {
    text-align: left;
}

table.itinerary_table > tbody > tr > td.itinerary_table_dates_cell {
    width: 5em;
}

table.itinerary_table > tbody > tr > td.itinerary_table_place_cell {
    width: 10em;
}

table.itinerary_table > tbody > tr > td.itinerary_table_sources_cell {
    width: 12.5em;
}

table.itinerary_table > tbody > tr > td.itinerary_table_notes_cell {
}



table.itinerary_table_abbrev {
    border-collapse:collapse;
    outline: 1px solid #e8e8e8;
    font-family: "Amethysta", serif;
    float: left;
    width: 280px;
    margin: 0 10px 10px 0;
}

table.itinerary_table_abbrev > tbody > tr > th {
    font-weight: normal;
    background: #f8f8f8;
    border: 1px solid #f0f0f0;
    border: 1px solid rgba(192, 192, 192, 0.1);
    text-align: left;
}

table.itinerary_table_abbrev > tbody > tr > td {
    border: 1px solid #f0f0f0;
    border: 1px solid rgba(192, 192, 192, 0.1);
    padding: 0 5px;
    font-size: 0.8em;
}

table.itinerary_table_abbrev > tbody > tr > td > p {
    text-align: left;
    margin: 5px 0;
}

table.itinerary_table_abbrev > tbody > tr > td.itinerary_table_dates_cell {
    width: 5em;
}


.itinerary_table_map_button_container {
    float: right;
}






/*
Tooltips
*/
.display_tooltip {
}

.tooltip_root {
    border-radius: 12px;
    max-width: 720px;
}

.tooltip_content {
    font-size: 0.9em;
    margin: 0.25em;
    text-align: justify;
}

.tooltip_content p {
    margin: 0.25em 0;
}

/*
Citation generator
*/

.citation_generator {
    float: right;
    margin: 0 0 2px 20px;
    padding: 0;
}

.citation_button {
    font-size: 0.9em;
}

.citation_button img {
    vertical-align: middle;
}

.citation_box {
    font-size: 0.9em;
}

.citation_header {
    text-align: justify;
    margin-top: 6px;
}

.citation_text {
    font-size: 0.9em;
    margin: 0.5em 0.5em;
}

.citation_url {
    color: #4070a0;
}





/*
Bibliography
*/

.citation {
    background-color: #e1e9f7;
    border-width: 1px;
    border-color: #a7b5cc;
    border-style: solid;
    border-radius: 2px;
    padding: 0 1px;

    font-weight: bold;
    color: #343c4d;

    vertical-align: super;
    font-size: 60%;
}


td.reference_number {
    vertical-align: top;
}

td.reference_number > p {
    padding-right: 1em;

    font-weight: bold;
    color: #343c4d;
}


table.footnotes_table > tbody > tr > td {
    font-size: 0.85em;
}

table.footnotes_table > tbody > tr > td > p {
    margin: 0.4em 0;
}


.bib_authors {
}

.bib_title {
    font-style: italic;
}

.bib_publisher {
}

.bib_volume {
}

.bib_edition {
}

.bib_city {
}

.bib_year {
}

.bib_pages {
}

.bib_misc {
}


/*
CLAUSES
*/


.clause_audio_available_icon {
    float: right;
    padding: 1px;
}

.clause {
}

.article_of_barons {
}

.latin_text_container {
    margin: 1em 0;

    border-width: 1px;
    border-color: #d4d4a4;
    border-style: solid;
    border-radius: 5px;

    background-color: #f8f8c8;
}

.latin_text_header {
    display: block;
    padding: 5px 10px;

    border-bottom: 1px solid #c4c494;
    background-color: #f4f4d0;

    font-family: 'Roboto', sans-serif;
    color: #606060;
    text-decoration: none;
}

.latin_text_header:hover {
    border-color: #b0b0b0;
    background-color: #ececc8;
    color: #505050;
}

.latin_text {
    margin: 0 1em;
}

.rich_text_field {
}

.rich_text_block {
    margin: 0 1em;
}


.expandable_arrows {
    float: right;
}

.expandable_header img.down_arrow {
    vertical-align: middle;
    display: inline;
}

.expandable_header img.up_arrow {
    vertical-align: middle;
    display: none;
}

.expandable_header.expandable_expanded img.down_arrow {
    vertical-align: middle;
    display: none;
}

.expandable_header.expandable_expanded img.up_arrow {
    vertical-align: middle;
    display: inline;
}



/*
COMMENTARY STYLES
*/

.clause_commentary_container {
    margin: 1em 0;

    border-width: 1px;
    border-color: #d4d4d4;
    border-style: solid;
    border-radius: 5px;

    background-color: #f8f8f8;
}

.clause_commentary_header {
    display: block;
    padding: 5px 10px;

    border-bottom: 1px solid #e0e0e0;
    background-color: #f0f0f0;

    font-family: 'Roboto', sans-serif;
    color: #808080;
    text-decoration: none;
}

.clause_commentary_header:hover {
    border-color: #b0b0b0;
    background-color: #e0e0e0;

    color: #707070;
}

.clause_commentary_expanded {
}

.clause_commentary_text {
    margin: 0 1.25em;
/*    margin: 0 1.5em 0 2.5em;
    counter-reset: paragraph;*/
}

/*.clause_commentary_text > p:not(:empty):before {
    position: absolute;
    margin-left: -1.5em;
    color: #777;
    content: counter(paragraph);
    counter-increment: paragraph;
    font-style: normal;
    font-weight: normal;
}*/

.no_commentary_note {
    margin: 2em 2em;

    text-align: center;

    color: #707070;
    font-size: 0.9em;
}



/*
FEATURE OF THE MONTH
*/
.feature_of_the_month {
}

.feature_author {
    font-size: 0.8em;
}



/*
ITINERARY
*/

.itinerary_diary_entry {
}

.itinerary_diary_author {
    font-size: 0.8em;
}




/*
Commentary buttons
*/

a.commentary_button {
    display: block;
    background: #f2ecce;
    padding: 2px;
    color: #404040;
    text-decoration: none;
    float: left;
    margin: 2px;
    border: 1px solid #807759;
    font-size: 0.8em;
    font-family: "Roboto", sans-serif;
    width: 71px;
}

a.commentary_button:hover {
    display: block;
    background: #fff8db;
    border: 1px solid #665f47;
    color: #202020;
}

a.commentary_button.commentary_button_selected {
    color: #303030;
    background: #cccac2;
}

a.commentary_button.commentary_button_selected:hover {
    color: #101010;
    background: #bfbeb8;
}

.repo_name {
    font-style: italic;
}


.thumbnail_in_lightbox {
    border: 1px solid #e0e0c0;
    border-radius: 5px;
    background: #f0f0e0;
    margin: 2px 4px 2px 4px;
    padding: 5px;
}


.related_to {
    color: #007000;
}


.ref_link_table_descr {
    font-style: italic;
}



/*
Credits
*/
.credits {
    text-align: right;
    color: #808080;
}

.authors {
    color: #404040;
}

.document_author_list {
    text-aligm: right;
    float: right;
    margin: 0 0 8px 8px;
}



/*
Link styles
*/


.link_witness {
}


.link_glossary_term {
    color: #557799;
    text-decoration: underline;
}




/*
Editing annotation styles
*/
.editing_annotation_removed {
    border: 1px solid #bfbf86;
    border-radius: 2px;
    background: #ffffe8;
    color: #808053;
    font-weight: bold;
    font-size: 0.95em;
}

.editing_annotation_illegible_recovered {
    border: 1px solid #849fbd;
    border-radius: 2px;
    background: #e8f4ff;
    color: #536880;
    font-size: 0.95em;
}

span.editing_annotation_illegible_recovered::before {
    content: "<";
}

span.editing_annotation_illegible_recovered::after {
    content: ">";
}

.editing_discrepancy_original {
    border: 1px solid #ffe8e8;
    border-radius: 2px;
    background: #fff8f8;
    color: #800000;
}

.editing_discrepancy_original:hover {
    border: 1px solid #ffd8d8;
    border-radius: 2px;
    background: #ffe8e8;
    color: #800000;
}

.editing_discrepancy_replacement {
    border: 1px solid #e8ffe8;
    border-radius: 2px;
    background: #f8fff8;
    color: #008000;
}

.editing_discrepancy_id {
    background: #ffe8e8;
    border: 1px solid #bd8484;
    border-radius: 2px;
    padding: 0 1px;
    font-weight: bold;
    color: #800000;
    vertical-align: super;
    font-size: 60%;
}

.editing_discrepancy_replacements {
    margin: 2em 0 1.5em 0;
}




/*
SEARCH RESULTS
*/

.search_results {
    list-style: none;
    padding: 0;
}

.search_results li {
    margin: 8px 0;
}