/* Base HTML elements */
p { padding-left: 10px; }
table { clear: both; }
label { padding-right: 2px; }
body { background-color: #EEEEEE; }
a { color: #336699; }
.head2 {
    font-size: 1.5em;
    font-weight: 800;
    padding-left: 5px;
}
.head3 {
    font-size: 1.2em;
    font-weight: 800;
}
.head4 {
    font-weight: 800;
}
.head5 {
    font-weight: 800;
    font-size: .8em;
}
.viewHeader {
    font-size: 1.2em;
    font-weight: bold;
    color: #336699;
}
.viewHeaderData {
    font-size: 1.2em;
}
.para {
    padding-left: 10px;
}
.ui-widget-header {
    padding: 2px;
}
/* Layout styles */
#frame {
    background: #EEE;
    /*padding-right: 8px;*/
    max-width: 972px;
    margin-left: auto;
    margin-right: auto;
}
#footer {
    color: #4D4D4D;
    padding: 10px;
    border-top: 2px solid #808080;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

#content {
    font-size: 1.2em;
    flex: 1;
    min-width: 0;
    /*float: left;*/
    /*z-index: -1;*/
    /*width:750px;*/
    /*min-height:500px;*/
}
#innercontent .head3 {
    padding-left: 10px;
}
#content .accordian {
    padding-left: 10px;
    padding-bottom: 10px;
}
.accordian-small {
    width: 98%;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 10px !important;
}
#search-criteria {
    padding: 5px;
}
#search-criteria div {
    padding:2px;
}
#search-criteria form {
    display: none;
}
#search-criteria form#search_by_street_address {
    display: block;
}
/* Sidebar */
#sidebar {
    /*position: absolute;*/
    /*margin-left: 758px;*/
    min-width: 215px;
    font-size: 12px;
}
#sidebar .box {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
}
#sidebar .ui-widget-header {
    font-size: 1.5em;
    font-weight: 800;
    padding-left: 5px;
    text-align: left;
}

#sidebar a {
    text-decoration: none;
    display: block;
    line-height: 18px;
    border: 1px solid white;
}

#sidebar a:hover {
    border: 1px solid #929463;
}
#sidebar #parcel-tabs a {
    padding-left: 16px;
}
#sidebar a.fg-active-link:hover {
    cursor:default;
}

/* Search result table */
.resultnav {
    padding-right: 10px;
    font-size: 1.0em;
    font-weight: 800;
    float: right;
    padding-top: 3px;
}
.resultnav a {
    text-decoration: none;
    font-weight: normal !important;
    outline: none;
    padding: 3px;
}
.resultnav a:hover {
    color: #880000;
    background-color: white;
}
/* Table layouts for data display */
.datagrid {
    width: 100%;
    border-collapse: collapse;
}
.datagrid thead tr th .head3{
    margin-bottom: 3px;
}
.datagrid tbody td {
    border: 1px solid #666666;
    padding: 1px 3px 1px 3px;
}
.nogrid tbody td {
    border-style: none !important;
    padding-left: 10px;
}

/* Result set navigation controls */
.nav { border: 0; }
.pagenav { text-decoration: none; cursor: pointer; }

/* Visibility */
.hidden { display:none !important; }

/* Colors */
.blue  { color: blue; }
.red   { color: red; }
.green { color: green; }

/* Other styles */
.image img { border: 0; }
.searchhint { font-size: .9em; }
.fg-button {
    margin-left: 10px;
    padding: 2px 5px;
    width:auto;
    overflow:visible;
}

/* jQuery UI Overrides */
.ui-state-error, .ui-widget-content .ui-state-error { background-repeat: repeat !important; }
.ui-state-highlight, .ui-widget-content .ui-state-highlight { background-repeat: repeat !important; }

/* Fix stupid 1.1em default font size for widgets, it causes nested widgets to
  keep increasing font size */
.ui-widget .ui-widget { font-size: 100%; }
.miniheader { font-weight: bold; text-align: center; }

/* Parcel View related items */
.parcel_overview { height: 3em; }
.parcel_overview > div { float: left; }
.parcel_overview .label { font-weight: bold; color: #336699; }

td, th { padding: 2px; }
#results-nav { font-weight: normal; }
#results-nav a { cursor: pointer; text-decoration: none; }
#view-search-results { display:inline-block; background-color:white; color: #880000; margin: -4px 4px -4px 4px; padding: 4px;}
.viewSalesReport { color: #336699; font-weight: bold; text-decoration: none; }
.subheading { background-color: #336699; color: white; font-weight: bold; text-align: center; }
#ajaxDiv { 
    background-color: white; 
    border: 1px solid gray; 
    padding: 5px;
    overflow: auto;
}

#sectiontitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#sectiontitle > div {
    padding: 10px;
    font-size: 12px;
    font-weight: bold;
}


#future_year_disclaimer {
    margin-bottom: 5px;
    padding:3px;
    border: 2px solid red;
    color: red;
    font-weight: bold;
}

table.summary {
    border: 1px solid #666666;
    text-align: right;
}

table.summary tbody tr td:first-child {
    text-align: left;
}

#property_overview_wrapper {
    padding-top: 1em;
    padding-bottom: 1em;
    text-align: right;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

#property_overview_wrapper table {
    flex-basis: 325px;
}

#property_information tbody td div {
    margin-left: 1.5em;
}

#property_information tbody td div.label {
    font-weight: bold;
    margin-left: 0.5em;
}

.search-advice {
    white-space:pre-line;
    font-size: smaller;
    margin-top: -15px;
    padding: 5px;
}

#parcel-header-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#parcel-header-info div {
    display: inline-block;
    padding: 5px;
}
#parcel-header-info .label {
    color: #336699;
    font-weight:bold;
}

.form-row label {
    display:inline-block;
    width:14em;
    vertical-align:middle;
}

#sales-criteria .form-row label {
    text-align: right;
}

.form-field-short {
    width: 7em;
}
.form-field-long {
    width: 16em;
}
.date_input {
    width: 7em;
}
#tax-credit-value-summary a {
    text-decoration: none;
    font-weight: bold;
}
/*makes it so datatable has scroll bar but only when overflowing*/
#search-results {
    width: auto !important;
}
#search-results td {
    border: 1px solid #b4b4b4;
}
#search-results {
    border-collapse: collapse;
}
#search-results tbody tr:hover {
    background-color: khaki;
    cursor: pointer;
}
#search-results tbody a {
    text-decoration: none;
    color:black;
}
#search_method_selection div { display: inline-block; }
#search_method_selection { padding: 3px 10px; }
.ms-container .ms-selectable {
    width: 45%;
}
.billing_collection .subheading {
    text-align: center;
    background-color: #336699;
    color: white;
    font-weight: bold;
}

table.tax_detail tr td {
    text-align: right;
}

table.tax_detail tr td:first-child {
    text-align: left;
    font-weight: bold;
}

.billing_collection > table {
    margin-bottom: 3px;
}

#tax_distribution_info {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 4px;
}

#tax_distribution_info > div { margin-bottom: 10px; }
#tax_distribution_info table th { text-align: center; }

#tax_distribution_chart { width: 100%; height: 625px; }

.tax_details {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tax_details table {
    display: inline-table;
    text-align: right;
    min-width: 200px;
}

table#tax_calculations {
    flex: 4;
}

table#tax_distributions {
    flex: 6;
}

.tax_details table tbody tr td:first-child { text-align: left; }
.value_info table { text-align: right; }
.value_info table td.label { text-align: left; }

#levy-footnotes p { margin: 1em; }
#levy-boilerplate p { margin: 1em; }


main {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    position: relative;
    min-height: 550px;
}

#menu-button {
    display: none;
}




@media (max-width: 700px) {

    main {
        flex-direction: column;
    }

    #menu-button {
        display: inline-block;
        margin-right: 10px;
        padding: 4px;
        background-color: white;
        color: #880000;
        border: none;
        border-radius: 2px;
        font-weight: bold;
    }

 /*   #sectiontitle {
        flex-direction: column;
    }
*/
    #results-nav {
        display: none;
    }

   /* #results-nav {
        display: flex;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }*/

    /* Make jquery-ui dialogs fit on mobile screens */
   .ui-dialog {
       max-width: 100vw !important;
       left: 0 !important;
   }
}

@media (max-width: 500px) {
    #property_overview_wrapper {
        flex-direction: column;
    }
}