body {
    background-color: #ffffff;
    color: #222222;
    text-align: left;
}
.container {
    background-color: #FFFFFF;
    padding-left: 10px;
    padding-right: 10px;
}
#header {
    width: 100%; 
    background-color: #f1f1f1;
}
#sidebarNav {
    margin-left: 20px;
    font-weight: 500;
}
#sidebarNav ul li {
    list-style: none;
    padding-bottom: 10px;
}

#sidebarNav ul li a {
    color: #777777;
    display: block;
    overflow: hidden;
    padding: 0;
    text-overflow: ellipsis;
    line-height: 20px;
    text-decoration: none;
    padding: 2px 0px 2px 10px;
}

#sidebarNav ul li a:hover, #sidebarNav ul li a.selected {
    background-color: #F1F1F1;
    color: #556CB3;
}

#rightColumn {
    height: 100%;
    padding-left: 40px;
}

#rightColumn #queryTool {
    padding-left: 0px;
}

.airNowLogo {
    margin: 10px 20px;
}

.airNowLogo img {
    margin: 0px;
    padding: 0px;
}

input.button
{
    height: 28px;
    vertical-align: middle;
    padding: 0px 5px 0px 5px;   
    border-radius: 2px 2px 2px 2px;    
    margin-bottom: 3px;
}

.button { 
   
    background-color: #F5F5F5;
    border: 1px solid #BBBBBB;
    color: #666666;
    border-radius: 2px 2px 2px 2px;
    cursor: pointer;
    /*display: inline-block;*/
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    font-family: "Arial",sans-serif;
    padding: 2px 8px;   
 
}

a.button {

    display: inline-block;
    height: 26px;
    line-height: 26px;
    vertical-align: middle;
    padding: 0px 5px;
    border-radius: 2px 2px 2px 2px; 
    margin-bottom: 3px;
    padding: 0px 5px 0px 5px; 

}

.button:hover {
   text-decoration: underline;
   color: #666666;
   box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}

/**** Query Tool step box wrappers ****/
.query_wrapper {
    background: #F1F1F1;
    width: 100%;
    padding: 10px 0 10px 0;
    font-size: 14px;
    color:#555;
}

.query_numericStep {
    padding: 2px 20px 0px 20px; 
    float:left; 
    line-height: 30px; 
    font-size: 33px; 
    color: #777; 
    font-weight:bold;       
}

/**** Query Tool Elements ****/

#WCSBoundingBoxTable td {
    background: #F1F1F1;
}

#WCSBoundingBoxTable td input[type="text"] {
    width: 105px;
}

#WCSBoundingBoxTable {
    margin-bottom: 0px;
}

.btnContainer_getCoverage {
    padding-left: 20px
}

#runItBtn {
    float: right;
}

#buildUrl {
    float: right;
    margin-top: 7px;
}

.output-select {
    width: 188px;
}

#queryTool {
    font-size: 13px;
    padding: 0 15px 0 15px;
}

#queryTool p {
    margin: 5px 0px;
}

#dateSelectorWpr select, #dateSelectorWpr input[type="image"], #beginDateSelectorWpr_hourSelector,
#beginDateSelectorWpr_dateSelector_picker, #beginDateSelectorWpr_offsetSelector,
#endDateSelectorWpr_dateSelector_picker, #endDateSelectorWpr_hourSelector, #endDateSelectorWpr_offsetSelector,
#startDateInput_minuteSelector, #endDateInput_minuteSelector{
    margin-left: 5px;
}

.latLonBox {
    padding-right:10px;
}

.mapContainer {
    padding-top: 11px;
}

.buildContainer {
    vertical-align: bottom;
    float: right;
    width: 100%;
}

#serviceForm p label{
 width: 110px;
 display:inline-block;
}

#serviceForm input[type="text"] {
    width: 80px;
}

#startDateInput input[type="text"], #startDateInput input[type="option"], #endDateInput input[type="text"] {
    width: 100px;
    margin-right: 5px;
    margin-left: 5px;
}

#startDateInput, #endDateInput {
    display: inline;
}

#serviceForm input[name="distance"] {
    width: 50px;
}

#serviceForm input[name="dateSelector"] {
    width: 100px;
}

#dateSelectorWpr label {
    display:inline-block; 
    width:79px;    
} 

.logging_label {
    padding: 0 5px 0 5px;
    display: inline;
}

#ObsByLatLongMap {
    height:290px; 
    width: 320px; 
    float:right;
}

#OpenLayersMap {
    height:290px; 
    width: 305px;    
}

#ForecastByLatLongMap {
    height:300px; 
    width: 400px;     
    float: right;
}

#serviceForm p label.shortLabel {
    width: 60px;
}

#serviceForm p label.longLabel {
    width: 114px;
}

table.documentation, table.documentationNew {
  border-collapse: collapse;
}

table.documentation td, table.documentationNew td {
    padding: 6px 10px;
    border: 1px solid #CCC;
    vertical-align: top;
}

table.documentationNew tbody:nth-child(even) {
    background:#EFEFEF;
}

table.documentation tbody tr:nth-child(even) td, table.documentation tbody tr.even td {
    background:#EFEFEF;
}

table.documentation th, table.documentationNew th {
    font-weight: bold;
    color: white;
    background: #6C92DE;
    padding: 6px 10px;
    border: 1px solid #6C92DE;
}

table.aqiTable {
    width: 55%;
}

table.aqiTable td.aqi_green {
    color: #000;
    background: #00E400;
    font-weight: bold;    
}

table.aqiTable td.aqi_yellow {
    color: #000;
    background: #FFFF00;    
    font-weight: bold;    
}

table.aqiTable td.aqi_orange {
    color: #ffffff;
    background: #FF7E00;   
    font-weight: bold;    
}

table.aqiTable td.aqi_red {
    color: #ffffff;
    background: #FF0000;    
    font-weight: bold;
}

table.aqiTable td.aqi_purple {
    color: #ffffff;
    background: #8f3f97;
    font-weight: bold;
}

table.aqiTable td.aqi_maroon {
    color: #ffffff;
    background: #7E0023; 
    font-weight: bold;    
}
.calendar {
    z-index: 1025;
}


#navContainer {
    border-bottom: 5px solid #F1F1F1;
    background: #6c92de;
    margin: 0px auto;
    padding: 0px;
    clear: both;
}

#navigation {
    list-style: none;
    background: #6c92de; 
    height: 35px;
    margin: 0px 0px 0px 40px;
    border-left: solid 1px #385ac4;
    padding:0px;
}

#navigation li {
    float: left;
    border-right: solid 1px #81aae8;
    height: 35px;
}

#navigation li.first {
    border-left: solid 1px #81aae8;
}

#navigation li a, #navigation li a:link, #navigation li a:visited {
    text-decoration: none;
    display: block;
    float: left;
    height: 35px;
    color: #fff;
    line-height: 35px;
    padding: 0 20px 0 20px;
    border-right: solid 1px #385ac4;
    font-family: system-ui,"Segoe UI","Roboto","Helvetica Neue", sans-serif;
    font-size: 1.2em;
    font-weight: 600;
    outline: none;
}

#navigation li.selected, #navigation li.selected:hover {
    background-color:#F1F1F1 ;
}

#navigation li.selected a {
    color: #556cb3;
}

#navigation li a:hover, #navigation li a:focus, #navigation li a:active {
    background: #556cb3;
    color: #ffffff;
}

#navigation li.selected a:hover {
    background: none;
    color: #556cb3;
}

.pageTitleContainer {
    padding: 20px 0px 10px 40px;
    border-bottom: 1px solid #dddddd;
    margin-bottom: 20px;
    height: 45px;
}
.pageTitleContainerSecondary {
    padding: 10px 0px 0px 0px;
    border-bottom: 1px solid #dddddd;
    margin-bottom: 20px;
    height: 45px;
}
.pageTitleContainer h1, .pageTitleContainerSecondary h1 {
    border: 0 none;
    font-family: inherit;
    font-size: 1.75em;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}
h1.retired {
    color: #ff0000;
}

.apiKeyContainer {
    font-weight: normal;
    font-size: .5em;
    margin-right: 10px;
}

.serviceOverview .sectionTitle {
    border-bottom: 1px solid #CCCCCC;
    font-size: 1.3em;
    padding-bottom: 4px;
}

.subSectionTitle {
    font-size: 1.1em;
    padding-bottom: 4px;
}

.serviceOverview .sectionBody {
    margin-bottom: 20px;
}

.serviceOverview h3 {
    font-size: 1.1em;
    margin: 5px 0px;
}

.serviceOverview p {
    margin: 5px 0px;
}

.pageContent {
    border-left: 1px solid #dddddd;
    padding-left: 10px;
    margin-bottom: 20px;
}

#footer {
    border-top: 1px solid #dddddd;
    clear: both;
    padding: 10px 0px 0px 0px;
    text-align: center;
}

.text-center { 
    text-align:center; 
}
.right {
    float: right;
}

.airnow-logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.airnow-logo-container img {
    max-width: 300px;
    height: auto;
}

.apiKeyDoc {
    display: flex;
    align-items: flex-start;
    height: min-content;
    width: fit-content;
    padding: 2px 0.5ch;
    gap: 0.5ch;

    font-family: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
    line-height: normal;
    text-wrap: nowrap;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    cursor: pointer;
}

.tooltip {
    position: relative;

    span:not(.tooltipPopup) {
        cursor: pointer;
    }

    img:not(.tooltipPopup) {
        height: 1em;
        cursor: pointer;
    }

    .tooltipPopup {
        visibility: hidden;
        opacity: 0;

        display: block;
        position: absolute;
        width: max-content;
        max-width: 150px;
        z-index: 1;
        bottom: 100%;
        left: 50%;
        transform: translate(-50%, 0);
        pointer-events: none;

        background-color: #fafafa;
        padding: 3px 1ch;
        border-radius: 3px;
        border: rgba(0, 0, 0, 0.06) solid 1px;

        font-size: 0.7rem;
        text-align: center;
        line-height: normal;
        font-family: var(--an-font-family), sans-serif;

        transition: opacity 0.1s ease, bottom 0.1s ease, visibility 0s linear 0.1s;
    }

    &:hover .tooltipPopup {
        visibility: visible;
        opacity: 1;
        bottom: calc(100% + 4px);

        transition: opacity 0.1s ease, bottom 0.1s ease, visibility 0s linear 0s;
    }
}