:root { 
    /* These variables are also used by PtrTextEditor.css. */
    --bg-color-menu-selected:  #346fa8; /* Slightly pastel blue */  
    --bg-color-menu-hover:     #0f0f6f; /* Dark blue purple, came out quite elegant */
}
body {
    font-family: Verdana, Helvetica, Arial, sans-serif; /* A clunky font, need better. ================ */
    background-color: white;
    margin: 0; 
    padding: 0;
    /* font-size: 14px; /* Need to explore using default here and em elswehere. */
    background: url(PageBackground.jpg) top center repeat;
    box-sizing: border-box;
}
/* Can't style ul li easily because that used in app menubar. Style ul li later. ===== 
   Better yet, redo menubar to not use ul li. Use divs instead.  
*/
p, ol li, .trs-pages ul li, blockquote {
    font-family: georgia,"times new roman",times,serif;
    line-height: 1.6em;
    font-size: 18px;
}
ol li {
    margin: 18px 0;
    /* line-height: 24px; */
}
button {
    padding: 4px 8px;
}
/* ---------- Shell Layout ---------- */
body       { height: 100vh; }
#app       { height: 100vh; display: flex; flex-direction: column; }
.trs-pages { flex: 1; position: relative; }
.trs-page    { 
    position: absolute; 
    top: 0; right: 0; bottom: 0; left: 0; 
    overflow-x: auto;
}
.trs-page:focus {
    outline: none;
}
/* ----- Page menu dropdown. This is on the menubar at the far right. ----- */
.trs-page-menu {
    position: relative;
    padding: 1px 14px 10px 14px;
    margin-right: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    float: right;
    cursor: default;
}
.trs-page-menu:hover {
    background-color: var(--bg-color-menu-selected);
    color: white;
}
.trs-page-menu:active {
    background-color: #20476d; /* Slightly darker than selected. */
    color: white;
}
.trs-page-menu-selected {
    background-color: var(--bg-color-menu-selected);
    color: white;
}
/* ----- Page menu dropdowns ----- */
.trs-page-menu ul {
    position: absolute;
    top: 25px;
    right: 0;
    width: 280px;
    display: none;

    opacity: .9;
    padding: 0;
    background-color: var(--bg-color-menu-selected); /* To match selected tab color, but too bright. */
    text-align: left;
    z-index: 100;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
.trs-page-menu ul, .trs-page-menu ul li:last-child {
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}
.trs-page-menu ul li:last-child { 
    padding-bottom: 8px;
}
.trs-page-menu ul li, .trs-page-menu-item-key {
    font-weight: normal;
    letter-spacing: 0;
}
.trs-page-menu ul li {
    padding: 5px 15px 5px 13px;
    list-style-type: none;
    /* border-top: 1px solid #6d8abd; */
    color: white;
}
.trs-page-menu-separator { 
    border-top: 1px solid #adc0e2; /* Light blue to match background */
}
.trs-page-menu ul li:hover {
    background-color: var(--bg-color-menu-hover);
}
.trs-page-menu ul li.trs-page-menu-item-dim, .trs-page-menu-item-key {
    color: LightGray;
}
.trs-page-menu-item-key {
    float: right;
    padding: 5px 7px 5px 0;
}
/* ---------- Menu bar ---------- */
.trs-menu {
    top: 0; right: 0; left: 0;
    padding-left: 10px;
    margin: 0;
    background-color: #b9cde1;  /* Lighter shade of select color */

    /* Gradient, gray, dark to light from bottom. */
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#cedce7+0,728691+100 */
    background: rgb(206,220,231); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(206,220,231,1) 0%, rgba(114,134,145,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(206,220,231,1) 0%,rgba(114,134,145,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(206,220,231,1) 0%,rgba(114,134,145,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cedce7', endColorstr='#728691',GradientType=0 ); /* IE6-9 */

    white-space: nowrap;
    font-size: 12px;
    /* border-bottom: 1px solid var(--bg-color-menu-selected); */
}
.trs-menu > li {
    position: relative;
    display: inline-block;
    text-align: center;
    padding: 5px 14px 6px 14px;
    text-decoration: none;    
}
.trs-menu li:hover {
    background-color: var(--bg-color-menu-hover);
    color: white;
    cursor: pointer;
}

li.trs-menu-current {
    background-color: var(--bg-color-menu-selected);
    color: white;
}
.trs-menu-home  {
    letter-spacing: 2px;
    font-weight: bold;
    color: #4848c2; /* Blue black */
}
li.trs-menu-logon {
    float: right;
}
/* ---------- Various elements ---------- */
.trs-input {
    padding-left: .5em;
}
.trs-image-center {
    display: block;
    margin: 20px auto;
    max-width: 100%;
}
.trs-image-right {
    float: right;
    margin: 0 5px 5px 5px;
    /* max-width: 100%; */
}
/* ---------- Info pages ---------- */
.trs-info-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    height: 100%;
    box-shadow: 0px 1px 2px 0px rgba(60, 64, 67, 0.3), 0px 2px 6px 2px rgba(60, 64, 67, 0.15);
}
.trs-info-sidebar {
    width: 350px;
    border-right: 1px solid LightGray;
    border-left: 1px solid LightGray;
    background-color: aliceblue;
    overflow-x: auto;
}
.trs-info-sidebar-item {
    margin: 0 10px;
    padding: 3px;
    border: 1px solid steelblue;
    border-radius: 25px;
    /* border-top-left-radius:    25px;  */
    /* border-bottom-left-radius: 25px;  */
    background-color: steelblue;
    overflow: hidden;
    font-size: 15px;
    color: white;
}
.trs-info-sidebar-item:first-child {
    margin-top: 30px;
}
.trs-info-sidebar-item-spacer {
    margin: 0 auto;
    /* border-left: 1px solid #80868B;
    border-right: 1px solid #80868B; */
    width: 15px;
    height: 30px;
    /* background-color: LightBlue; */
    background: url(../images/InfoSidebarItemSpacer.png) top center;
}
.trs-info-sidebar-item-spacer:last-child {
    /* display: none; */
    height: 0;
    margin-bottom: 30px;
}
.trs-info-sidebar-item:hover {
    background-color: LightBlue;
    border: 1px solid Gray;
    color: black;
}
.trs-info-sidebar-item:active {
    background-color: rgb(142, 182, 196);
}
.trs-info-sidebar-item, .trs-info-sidebar-item-number, .trs-info-sidebar-item-text {
    cursor: default;
}
/* Designed to support 1 or 2 digits for the number. */
.trs-info-sidebar-item-number {
    display: inline-block;
    /* padding: 6px 7px 6px 5px; */
    padding: 6px 6px 6px 6px;
    border: 2px solid white;
    border-radius: 50%;
    height: 18px;
    line-height: 18px;
    width: 19px;
    text-align: center;
}
.trs-info-sidebar-item-text{
    display: inline-block;
    padding-left: 8px;
}
.trs-info-content {
    flex: 1;
    padding: 10px;
    /* font-family: georgia,"times new roman",times,serif; */
    font-size: 18px;
    line-height: 22px;
    border-right: 1px solid LightGray;
    background-color: White;
    overflow-x: auto;
}
.trs-info-content h2 {
    margin-top: 40px;
    padding-top: 10px; /* So scroll into view element has padding on top.  */
}
.trs-info-content-title {
    font-size: 1.8em;
    margin-top: 20px;
    text-align: center;
    color: darkblue;
}
.trs-info-image-right {
    float: right;
    margin: 5px 0 5px 5px;
}
.trs-info-indentbox {
    margin: 20px 30px 20px 30px;
    padding: 0px 10px 0px 15px;
    border: 1px solid #999999;
    border-radius: 20px;
    background-color: GhostWhite;

    -webkit-box-shadow: #acacac 1px 2px 4px;
    -moz-box-shadow: #acacac 1px 2px 4px;
    box-shadow: #acacac 1px 2px 4px;
}
.trs-info-separator {
    height: 2px;
    margin: 30px 0;
    background-color: LightGray;
}
/* ---------- Home Page ---------- */
.trs-content {
    max-width: 630px; /* To match the help page. */
    margin: 25px auto;
    padding: 5px 30px;
    background-color: ghostwhite;
    border-radius: 25px;
    box-shadow: #acacac 0px 3px 10px 3px;
}
.trs-content-pretitle {
    margin: 25px 0 -10px 0;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: darkblue;
}
.trs-content-title {
    margin: 25px 0;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    color: darkblue;
}
.trs-content-quote {
    width: 400px;
    margin: 20px auto;
    text-align: center;
}
.trs-content-callout-right {
    width: 220px;
    float: right;
    margin: 8px 0 5px 10px;
    padding: 8px 5px 8px 10px;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    border: 3px solid DarkBlue;
    border-radius: 12px;
    box-shadow: #acacac 2px 3px 9px -1px;
    background: rgb(236, 244, 255); /* Started with LightSteelBlue. */
    font-size: .9em;
    line-height: 1.5em;
}
/* ---------- Logon Page ---------- */
.trs-logon-box {
    width: 350px;
    margin: 100px auto 0 auto;
    border: solid 1px Gray;
    border-radius: 12px;
    background-color: GhostWhite;
    box-shadow: #acacac 2px 3px 10px; /* h-offset, v-offset, blur, no spread */
}
.trs-logon-box-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
.trs-logon-box-title, .trs-logon-userid, .trs-logon-password {
    margin: 20px auto 20px auto;
}
.trs-logon-userid, .trs-logon-password {
    display: block;
    width: 250px;
    /* border-radius: 4px; */
}
.trs-logon-button-box {
    text-align: center;
}
.trs-logon-button {
    margin: 20px 10px;
}
/* ---------- Ratings Page ---------- */
.trs-ratings-dummy-image {
    margin: 10px auto 30px auto;
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
}
/* --------------- General ---------- */
.trs-center-element {
    display: flex; 
    justify-content: center;
}
.trs-file-input, .trs-file-input:hover { /* Hide 'No files chosen'. */
    background-color: white;
}