﻿html, form, main, .section-row, .body-content {
    height: 100% !important;
}

body {
    font-family: Calibri;
    margin: 0px;
    padding: 0px;
    background-color: #1566a7; /* #231f20 */
    height: 100%;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 200px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    position: relative;
    color: #ffffff;
    margin: auto;
    padding: 0;
    border: 0px solid #ffffff;
    text-align: center;
}

.modal-close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 10px 20px 10px 20px;
}

    .modal-close:hover, .modal-close:focus {
        color: dodgerblue;
        text-decoration: none;
        cursor: pointer;
    }

.modal-body {
    font-size: 20px;
    padding: 20px 30px 10px 30px;
}

.page {
    height: 100%;
}

.view-area {
    height: 100%;
    display: block;
}

.toolbarbutton {
    height: 30px;
    margin: 7px 0px 3px 5px;
    padding: 15px;
}

    .toolbarbutton:hover {
        height: 30px;
        background-color: #1566a7;
        margin: 7px 0px 3px 5px;
        padding: 15px;
    }

.propertydropdownlist {
    width: 125px;
    height: 30px;
    color: #0066CC;
    font-size: 18px;
    background-color: white;
    vertical-align: top;
    margin: 20px;
}

.testdropdownlist {
    width: 400px;
    height: 30px;
    color: #0066CC;
    font-size: 18px;
    background-color: white;
    vertical-align: top;
    margin: 20px;
}

.properties {
    vertical-align: text-top;
    background-color: #0F2D4F;
    width: 440px;
}

.imagecontainer {
    overflow: auto; /* adds scrollbars */
    width: 100px;
    height: 100px;
}

.image {
    margin: 0px 0px 0px 0px;
}

.image-hidden {
    display: none;
}

.propertylabel {
    color: white;
    margin-top: 15px;
    margin-right: 20px;
    margin-bottom: 10px;
    margin-left: 20px;
    font-size: 20px;
}

.propertytext {
    width: 400px;
    color: #000000;
    font-size: 18px;
    background-color: #ffffff;
}

.property {
    margin-top: 0px;
    margin-right: 20px;
    margin-bottom: 0px;
    margin-left: 20px;
}

.toolbar-header {
    text-align: left;
    margin: 0px;
    padding: 0px;
    display: block;
    background-color: #231f20;
}

.table {
    border-spacing: 0px;
    width: 100%;
    height: 100%;
    background-color: #1566a7;
}

.footer {
    color: #ffffff;
    text-align: center;
    vertical-align: bottom;
    margin: 0px auto;
    padding: 10px;
    background-color: #231f20;
}

td {
    padding: 0px;
    margin: 0px;
    vertical-align: top;
}

#divProgressBar {
    width: 90%;
    background-color: #ddd;
    margin: auto;

}

#divProgress {
    width: 50%;
    height: 30px;
    background-color: dodgerblue; /* #04AA6D */
}

.search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    min-height: 74px;
    padding: 22px 20px;
}

.search-logo {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: 50px;
    max-width: 30%;
    object-fit: contain;
    margin-left: auto;
}

.search-table {
    display: block;
    height: 100vh;
    overflow: hidden;
}

.search-table > tbody {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.search-header-row,
.search-footer-row {
    display: block;
    flex: 0 0 auto;
}

.search-header-row > td,
.search-footer-row > td {
    display: block;
}

.search-content-row {
    display: flex;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
}

.search-content-row > td {
    box-sizing: border-box;
    display: block;
    min-height: 0;
    overflow: auto;
}

.search-results {
    background-color: #1566a7;
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
}

.search-properties {
    flex: 0 0 440px;
    padding-bottom: 20px;
}

.search-textbox {
    box-sizing: border-box;
    border: 1px solid #cccccc;
    min-height: 34px;
    padding: 5px 8px;
}

.search-actions {
    box-sizing: border-box;
    display: flex;
    gap: 10px;
    margin: 25px 20px 0;
    width: 400px;
}

.search-button {
    background-color: #1566a7;
    border: 1px solid #ffffff;
    color: #ffffff;
    cursor: pointer;
    flex: 1;
    font-size: 18px;
    padding: 9px 14px;
}

.search-button:hover,
.search-button:focus {
    background-color: #2879ba;
}

.search-button-secondary {
    background-color: #231f20;
}

.search-button-secondary:hover,
.search-button-secondary:focus {
    background-color: #3d393a;
}

.results-grid {
    background-color: #ffffff;
    border-collapse: collapse;
    width: 100%;
}

.results-grid th {
    background-color: #0F2D4F;
    color: #ffffff;
    font-size: 18px;
    padding: 12px;
    text-align: left;
}

.results-grid td {
    border-bottom: 1px solid #d7d7d7;
    color: #231f20;
    padding: 10px 12px;
}

.results-grid a:link,
.results-grid a:visited {
    color: #0066CC;
}

.results-grid-empty {
    color: #555555 !important;
    padding: 25px 12px !important;
    text-align: center;
}
