/* (C) Copyright 2022 Lionhurst, LLC */

/* Document and element-level styling */

* {
    font-family: 'Helvetica', sans-serif;
    line-height: normal;
}

body {
    background-color: #dfeff5;
}

hr {
    border-top: solid black 2px;
    width: 1300px;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: #0e1de8;
    font-weight: 900;
    font-style: oblique;
}

/* Header */

#main-header {
    width: 100%;
    display: grid;
    grid-template-columns: 180px auto;
    grid-template-rows: 75px 55px 30px 40px;
    position: fixed;
    top: 0;
}

#header-pad {
    padding-top: 192px;
}

.header-image {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
}

#logo {
    height: 160px;
    width: 180px;
    border-left: black solid 1px;
}

.header-title {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    text-align: left;
    align-items: center;
    padding-left: 5px;
    background-color: #1a1a1a;;
    border-right: black solid 1px;
    border-left: white solid 1px;
/*    background: linear-gradient(to right, #1377bd, #4FBDBA); */
}

#title {
    color: white;
    font-weight:200;
    font-size: 48px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.page-title {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: flex;
    text-align: left;
    align-items: center;
    padding-left: 5px;
    background-color: #1a1a1a;
    border-right: black solid 1px;
    border-left: white solid 1px;
}

#page-info {
    color: #09bcd1;
    display: block;
    font-weight: 400;
    font-size: 30px;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.date-range {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    display: flex;
    text-align: left;
    align-items: center;
    padding-left: 5px;
    background-color: #1a1a1a;
    border-right: black solid 1px;
    border-left: white solid 1px;
}

#dates {
    color: #09bcd1;
    font-weight:400;
    font-size: 18px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 10px;
}

/* Navigation bar and keyword add buttons */

#nav-bar {
    grid-column: 1 / 3;
    grid-row: 4 / 4;
    background: #09bcd1;
    visibility: visible;
    border-bottom: black solid 1px;
    border-left: black solid 1px;
    border-right: black solid 1px;
}

#add-bar, #group-bar, #action-bar {
    display: inline-flex;
    grid-column: 1 / 3;
    grid-row: 4 / 4;
    background: #09bcd1;
    visibility: hidden;
    align-items: center;
    border-bottom: black solid 1px;
    border-left: black solid 1px;
    border-right: black solid 1px;
}

#nav-list {
    flex-wrap: nowrap;
    font-size: 14px;
    margin-top: 12px;
    padding-left: 10px;
}

#nav-list > li {
    display: inline;
    list-style-type: none;
    padding-right: 9px;
    border-right: solid;
    border-right-width: 2px;
    padding-left: 4px;
}

#nav-list > li:nth-last-child(1) {
    border-right: none;
}

.bulkaddbutton, .groupbutton {
    background-color: #09bcd1;
    margin-right: 5px;
    margin-left: 50px;
    border-radius: 3px;
    cursor: pointer;
    border-style: ridge;
    font-size: 16px;
    width: 200px;
    height: 30px;
    border-color: black;
}

.bulkaddbutton:hover, .groupbutton:hover {
    font-weight: bold;
    background-color: #dfeff5;
}

/* Add keywords */

.execute-adds {
    font-size: 14px;
    margin-left: 5px;
}

.menu-list {
    margin-left: 20px;
    list-style-type: '\25b8\0020';
    font-size: 25px;
}

.menu-item {
    font-size: 20px;
}

.main-menu-item {
    font-size: 28px;
    padding-top: 10px;
}

.new-report-req a {
    color: red;
}

.account-name {
    width: 400px;
    text-align: left;
}

.create-date {
    width: 180px;
    text-align: center;
}

.report-name {
    width: auto;
    border-style: none;
    font-size: 30px;
}

/* Column filters */

dialog {
    border-width: 1px;
    position: fixed;
    top: 220px;
    height: auto;
    font-size: 12px;
    margin: 1px;
}

#numeric-filter {
    width: 150px;
}

#minValue, #maxValue {
    width: 120px;
}

.applyBtn {
    float: left;
    margin-top: 10px;
}

.cancelBtn {
    float: right;
    margin-top: 10px;
}

.opt-menu {
    height: auto;
    list-style-type: none;
    font-weight: normal;
    font-size: 10px;
    overflow: scroll;
    padding-left: 0px;
    width: auto;
    margin-top: 0px;
}

.filter-opt {
    vertical-align: middle;
}

.hide-row {                 /* don't display the table row and eliminate space */
    visibility: collapse;
}

.noshow {                   /* don't display or reserve space for the element */
    display: none;
}

.select-hdr:hover {
    cursor: default;
}

#test-flag {
    font-weight: bold;
    background-color: white;
    color: red;
    margin-left: 30px;
    margin-bottom: 5px;
    padding: 2px;
    font-size: x-large;
}

/* Report requests */

fieldset {
    width: 150px;
    border-style: solid;
    border-color: black;
}

fieldset legend {
    font-weight: bold;
}

fieldset label {
    font-size: 14px;
}

.options {
    display: flex;
}

#account-list {
    width: 150px;
    border-style: solid;
    border-color: black;
    float: left;
    margin-left: 10px;
}

#account-list > select {
    width: inherit;
}

#report-type {
    width: auto;
    border-style: solid;
    border-color: black;
    margin-left: 10px;
}

#lookback, #num_groups {
    width: auto;
    border-style: solid;
    border-color: black;
    margin-left: 10px;
    height: 45px;
}

/* Grouping request */

input[type=range] {
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    width: 240px;
    height: 5px;
    background: black;
    margin-top: 22px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 3px;
    height: 12px;
    background-color: white;
    outline: 2px solid black;
}

.var-input  {
    display: flex;
    width: 300px;
}

.var-disclaimer {
    display: block;
    font-size: 12px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.var-disclaimer p {
    padding-top: 5px;
    margin-bottom: 0px;
}

#var-value {
    margin-left: 20px;
    border: 1px black solid;
    font-size: 14px;
    width: 38px;
    height: 17px;
    background-color: white;
    text-align: right;
    padding-right: 4px;
    padding-top: 2px;
}

/* Sorting */

.up .down {
    display: inline-block;
}

.match-type {
    text-align: center;
}

.dropdown {
    align-self: center;
}

.dl-button {
    border-style: none;
    border-radius: 6px;
    background-color: #dfeff5;
    vertical-align: middle;
}

.dl-button:hover {
    filter: invert(100%);
    cursor: pointer;
    font-style: italic;
    font-weight: bolder;
}

.sortable th {
  vertical-align: baseline;
  white-space: nowrap;
}

.method-off {
    opacity: .35;
}

.box-separator {
    padding-left: 0px;
    width: 40px;
    text-align: center;
    text-decoration: underline;
    font-weight: bold;
}

#grp-variance, #num-groups {
    border-color: black;
}
