.container {
    width: 1000px;
    max-width: 100%;
    text-align: right;
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
}

.navbar {
    width: 1000px;
    /* border:#D8D8D8 2px solid; */
    border-bottom:#57a6e9 2px solid; 
    background:#ffffff;
    margin-bottom: 2px;
}

.navbar td:first-child a,
.navbar td:first-child img {
  display: block;
}

.td-empty {
    padding: 0px 0px 0px 0px;
}

.navbar-green {
    border-top: 1px solid #739301;
    border-bottom: 1px solid #739301;
    margin: 0;
    padding: 2px 0;
    background: #FFFFFF url('/static/images/greenbg.jpg') repeat-x scroll left 2px;
}

.navbar-bottom {
    width: 100%;
    background: url('/static/images/bottombg.jpg');
}

.subtitle {
    font-size: 13pt;
    font-weight: bold;
    color: #686767;
    margin-right: 10pt;
}

.top-menu {
    margin: 0;
    padding: 0;
}

.top-menu li {
    display: block;
    float: right;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    position: relative;
}

.top-menu-link {
    background: #d7ff5d url(/static/images/greenbg.jpg) repeat-x top left;
    color: #003C70;
    display: block;
    font-size: 17px;
    font-weight: normal;
    line-height: 36px;
    /* padding: 6px 10px 9px; */
    padding: 0 10px;
    text-decoration: none;
}

.sep {
    background: #D7FF5D url(/static/images/sep.gif) no-repeat scroll 0 0;
    height: 32px;
    width: 1px;
    position: absolute;
    left: 0;
    top: 0;
}

.tborder {
    background: #E1E1E1;
    color: #000000;
    border-top: 2px solid #57A6E9;
    border-bottom: 2px solid #57A6E9;
    margin-top: 16px;
}

.tcat {
    background: #C9DEF1 url(/static/images/bg.jpg) repeat-x top left;
    color: #003C70;
    font: bold 14px arial;
    padding: 8px 6px 8px 6px;
    white-space: nowrap;
    border-bottom: 0px solid #57A6E9;
    border-top: 1px solid #FFFFFF;
}

.tres {
    background: #FAFAFA;
    color: #000000;
    font: 14px arial;
    padding: 8px 6px 8px 6px;
    height:18px;
    white-space: nowrap;
    border-bottom: 0px solid #57A6E9;
    border-top: 1px solid #FFFFFF;
}


.query-panel {
    background: #FAFAFA;
    padding: 10px;
    border: #D8D8D8 2px solid;
    width: 740px;
}
.tres.clickable {
    cursor: pointer;
}

.tres.selected {
    background: #E9EBEC;
}

.tres.comment {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tres.truncated {
    cursor: pointer;
}

.tres img {
    vertical-align: middle;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal[hidden] {
    display: none;
}

.modal-panel {
    width: 640px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal .tborder {
    width: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.tres .count {
    font-weight: bold;
    color: rgb(38, 117, 173);
}

.error {
    color: #C00000;
    font-weight: bold;
    padding-top: 8px;
}

.tres.link {
    text-align: center;
}

.post-link {
    color: #000000;
    text-decoration: underline;
}

.post-link:visited {
    color: #551A8B;
}

.advanced-panel {
    margin-top: 6px;
}

.advanced-panel label {
    white-space: nowrap;
}

.age-7 {
    background: #FCE4C4;
}

.age-14 {
    background: #E4F4BF;
}

.age-30 {
    background: #D3E6F7;
}

span.age-7,
span.age-14,
span.age-30 {
    padding: 0 3px;
}

#summary-table td {
    padding: 2px 6px;
}
