/*
    These styles are ONLY used when rendering the individual finding aids by
    transforming the XML files (via XSLT) into HTML files.

    Sources:
        Two-column layout: https://www.thesitewizard.com/css/design-2-column-layout.shtml
        Horizontal menu: http://css-snippets.com/simple-horizontal-navigation/
*/

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin-left: 0px;
    margin-right: 0px;
}

.topbar {
	color: white;
	background-color: #1e5a95;
	height: 60px;
    font-size: 20px;
    margin-left: 280px;
    margin-top: -20px;
    padding-left: 20px;
 }

.topbar a {
    color: white;
    text-decoration: none;

}

.topbar a:hover {
    text-decoration: underline;
}

.topbar-heading {
	margin-bottom: 0px;
	padding-top: 3px;
}

.topbar-subheading {
	font-size: smaller;
	margin-bottom: 0px;
	margin-top: -2px;
}

/* left menu */
.nav_column {
    position: fixed;
    top: 0px;
    left: 0px;
    /* margin-top: 100px; */
    width: 270px;
    max-height: 99%;
    height: 100%;
    overflow: auto;
    background-color:white;
    border: 1px solid #333;
    /* border-radius: 4px; */
}

.nav_column h3 {
    color: white;
    background-color: #1e5a95;
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 25px;
    margin-top: 0px;
}

.right_two_thirds {
    margin-left: 270px;
    padding-left: 15px;
}

/* TODO: rename "nav" to top_menu */
.nav ul {
    list-style: none;
    background-color: #444;
    text-align: center;
    padding: 0;
    margin: 0;
}

.nav a {
    text-decoration: none;
    color: rgb(119, 119, 119);
    display: block;
}

.nav a:hover {
    color:black;
    background-color: darkgray;
}

.nav a.active {
    background-color: #fff;
    color: #444;
    cursor: default;
}

.nav li {
    display: inline-block;
    border-bottom: none;
    height: 50px;
    line-height: 25px;
    padding: 15px;
}

/* TODO: rename "nav" to left_menu */
.nav_section {
    margin-left: -20px;
}

.nav_section li {
    list-style: none;
    padding-bottom: 5px;
}

.nav_inv_series {
    margin-left: -20px;
}

.nav_inv_series li {
    list-style: disc;
}

h1 {
    margin-top: 0px;
    color: #254085;
}

h2 {
    margin-top: -20px;
    margin-bottom: 0px;
    color: #254085;
}

h3 {
    font-size: 1.2em;
    margin-top: 21px;
    margin-bottom: 9px;
    color: #254085;
    text-transform: uppercase;
    letter-spacing: 1px;
}

table {
    line-height: 20px;
}

.category_column {
    padding-right: 18px;
    text-align: right;
    font-weight: bold;
    vertical-align: top;
}

td {
    padding-bottom: 9px;
}

.info_column {
    padding-right: 18px;
    text-align: left;
    vertical-align: bottom;
}

#content {
    overflow: auto;
    padding-left: 15px;
}

#sponsor_footer {
    /* width: 100%; */
    margin-left: 290px;
    margin-right: 15px;
    padding-left: 25px;
    background-color:#e4e8f0;
}

#main_text a:link {
    color: #254085;
    text-decoration: none;
}

#main_text a:link {
    color : #254085;
    text-decoration : none;
}

#main_text a:visited {
    color : #254085;
    text-decoration : none;
}

#main_text a:hover {
    color : #254085;
    text-decoration : underline;
}

.table_section_header {
    font-weight: bold;
}

.table_inventory {
    text-align: left;
    border-collapse: collapse;
    width: 95%;
}

.table_inventory > tbody > tr:nth-child(even) {
    background-color: #eee;     /* light gray */
}

.inventory_row_print {
    border-width: 1px 0px 0px 0px;
    border-style: dashed;
}

.col_container {
    width: 20%
}

.col_dummy {
    width: 1%
}

.col_description {
    width: 60%
}

.col_date {
    width: 18%
}

/* Top right menu options */
.top_banner > hr {
    width: 75%;
    float: left;
    max-width:700px;
}

.top_banner_right {
    float: right;
    width: 173px;
    margin-right: 10px;
}

.top_banner_right > .panel {
    margin-top: 10px;
    border-style: solid;
    border-width: 1px;
    border-radius: 4px;
}

.top_banner_right > .panel > .panel-heading {
    background-color: #1e5a95;
}

.top_banner_right > .panel > .panel-heading > h3 {
    margin-top: 0px;
    text-transform: none;
    color:white;
    padding-top: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
    margin-top: 0;
    margin-bottom: 10px;
}

.list-unstyled > li {
    padding-bottom: 5px;
    margin-left: 10px;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(MaterialIcons-Regular.eot); /* For IE6-8 */
    src: local('Material Icons'),
         local('MaterialIcons-Regular'),
         url(MaterialIcons-Regular.woff2) format('woff2'),
         url(http://localhost:3000/css/MaterialIcons-Regular.woff) format('woff'),
         url(MaterialIcons-Regular.ttf) format('truetype');
  }

  .material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 18px;  /* Preferred icon size */
    display: inline-flex;
    vertical-align: middle;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
  }

.digital-file-view-hidden {
    display: none;
}

.digital-file-view-visible {
    display: inline;
}

.digital-file-info-hidden {
    display: none;
}

.digital-file-info-visible {
    display: inline;
}