@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

:root {
    --brand-primary: #002D72;
    --brand-accent: #4E5BA6;
    --brand-accent-light: #717BBC;
    --text-default: #344054;
    --text-muted: #667085;
    --text-focus: #101828;
    --border-light: #EAECF0;
    --bg-hover: #D5D9EB;
    --font-base: 'Source Sans 3', Arial, sans-serif;
    --font-size-sm: 12px;
    --control-height: 24px;
    --control-radius: 6px;
}

html,
body {
    border: 0px;
    margin: 0px;
    font: 13px var(--font-base);
}

.searchText {
    border: 1px solid var(--brand-accent);
    height: var(--control-height);
    font: var(--font-size-sm) var(--font-base);
    width: 180px;
    border-radius: 3px;
    color: var(--text-default);
}

.searchText:focus {
    outline: none;
    border-color: var(--brand-primary);
    color: var(--text-focus);
}

.searchText option {
    color: var(--text-default);
}

.searchText option:disabled {
    color: #aaa;
}

.searchText option:hover,
.searchText option:checked {
    background-color: var(--bg-hover);
    color: var(--brand-accent);
}

.secondaryBut {
    border: 1px solid var(--border-light);
    height: var(--control-height);
    font-family: var(--font-base);
    font-optical-sizing: auto;
    font-size: var(--font-size-sm);
    width: 55px;
    border-radius: var(--control-radius);
    background-color: #FFFFFF;
    color: var(--text-muted);
    cursor: pointer;
}

.secondaryBut:hover {
    background-color: var(--bg-hover);
    border-color: var(--brand-accent);
    color: var(--brand-accent);
}

.secondaryBut:active {
    background-color: #FFFFFF;
    border-color: var(--brand-accent);
    border-radius: 8px;
    color: var(--brand-accent);
}

.primaryBut {
    border: 1px solid var(--brand-primary);
    height: var(--control-height);
    font-family: var(--font-base);
    font-optical-sizing: auto;
    font-size: var(--font-size-sm);
    border-radius: var(--control-radius);
    background-color: var(--brand-primary);
    color: #FFFFFF;
    cursor: pointer;
}

.primaryBut:hover {
    background-color: var(--brand-accent-light);
    border-color: var(--brand-accent-light);
    color: #FFFFFF;
}

.primaryBut:active {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #FFFFFF;
}

.buttonrow {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 12px;
}

.ui-sortable-helper {
    background-color: #4e6d8f;
}

.gv {
    width: 100%;
    max-width: 1280px;
    border: 0 !important;
}

.gv th {
    font: 13px var(--font-base);
    font-weight: bold;
    height: 32px;
    background: #EAECF5;
    color: var(--brand-primary);
    border: 0;
    text-align: left;
}

.gv th:first-child {
    border-radius: 5px 0 0 5px;
    padding-left: 10px;
}

.gv th:last-child {
    border-radius: 0 5px 5px 0;
}

.gv tr:nth-child(2n+1) {
    background-color: #f3f1f1;
}

.gv td {
    font: 13px var(--font-base);
    height: 28px;
    border: 0;
    text-align: left;
}

.gv td:first-child {
    padding-left: 10px;
}

.heading {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    color: #5b1717;
}

.icons ul {
    float: left;
    padding: 2px 0px 1px 0px;
    list-style: none;
    margin: 0px;
    width: 500px;
    background-color: #e8e6e6;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #000000;
    border-right-style: solid;
    border-right-width: 1px;
    overflow: hidden;
}

.icons ul li {
    padding: 0px 3px 0px 3px;
    float: left;
    height: 25px;
    overflow: hidden;
}

select {
    cursor: default;
}

input {
    cursor: default;
}

.cImage {
    cursor: pointer;
    color: #1f4870;
}

.cbdropdownlist {
    background-color: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cbdropdownlist li {
    margin: 0;
    font-size: var(--font-size-sm);
    font-family: var(--font-base);
    text-transform: lowercase;
}

.cbOuterDiv {
    width: 174px;
    height: var(--control-height);
    position: relative;
    border: solid 1px #0094ff;
    text-align: left;
    float: left;
    border-radius: 3px;
    background-color: #fff;
    padding-left: 4px;
}

.cbOuterDiv a {
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-family: var(--font-base);
    color: #000;
    display: block;
    width: 100%;
    height: 100%;
    line-height: var(--control-height);
}

.cbInnerDiv {
    position: absolute;
    top: 25px;
    left: 0;
    width: 190px;
    height: 100px;
    overflow-y: scroll;
    display: none;
    border: solid 1px #808080;
    text-align: left;
    z-index: 9999;
    background-color: #fff;
}

.numberbox {
    padding-left: 5px;
    width: 99%;
    height: 25px;
    border: 1px solid gray;
    border-radius: 5px;
    font-size: var(--font-size-sm);
    font-family: var(--font-base);
}

.row {
    margin-bottom: 5px;
}

.row::after {
    display: table;
    content: " ";
    clear: both;
}

.column {
    float: left;
    width: 50%;
}

.grid {
    border-collapse: collapse;
    border: 1px solid #808080;
    width: 100%;
    max-width: 1000px;
}

.grid td {
    padding: 2px;
    border-bottom: 1px solid #adadad;
    height: 25px;
    max-width: 300px;
}

.grid th {
    padding: 2px;
    height: 25px;
    text-align: left;
    background: #EAECF5;
    color: var(--brand-primary);
    font-weight: bold;
    font-size: var(--font-size-sm);
    width: 10%;
}

.close {
    position: absolute;
    top: -8px;
    right: -8px;
}

.reportbutton {
    display: inline-block;
    padding: 0 12px;
    height: var(--control-height);
    line-height: var(--control-height);
    text-align: center;
    border: 1px solid var(--brand-primary);
    border-radius: var(--control-radius);
    text-decoration: none;
    color: #FFFFFF;
    font-family: var(--font-base);
    font-optical-sizing: auto;
    font-size: var(--font-size-sm);
    font-weight: normal;
    background-color: var(--brand-primary);
    cursor: pointer;
}

.reportbutton:hover {
    background-color: var(--brand-accent-light);
    border-color: var(--brand-accent-light);
    color: #FFFFFF;
}

.reportcontent {
    width: 1000px;
    margin: auto;
    font-size: 10px;
    font-family: Arial, sans-serif;
}

.reportsectionheading {
    font-size: 14px;
    font-weight: bold;
    color: #1D76AB;
}

.reportheadersection {
    background-color: #ccc;
    border-radius: 8px;
    padding: 15px;
}

.reportheading {
    font-size: 22px;
    color: #1D76AB;
    font-weight: bold;
}

.reporttable {
    width: 100%;
}

.reporttable tr td {
    height: 20px;
}

.reporttable tr td:first-child {
    font-weight: bold;
    width: 200px;
}

.GridViewHead th {
    font-weight: bold;
    background-color: #215a8a;
    color: #ffffff;
    height: 30px;
}

.GridviewFooter td {
    font-weight: bold;
    background-color: #ececec;
    color: #000000;
    height: 30px;
}

.GridViewItem td {
    height: 25px;
}

.hr {
    height: 1px;
    color: #256f96;
    background-color: #256f96;
    border: none;
}

.contextMenu,
.context-menu-list {
    font-family: var(--font-base);
    font-size: 13px;
}

.contextMenu div {
    padding: 0 !important;
}

.contextMenu div a {
    display: block;
    width: 100%;
    height: 22px;
    line-height: 22px;
    text-align: center;
    text-decoration: none;
    border-radius: 2px;
    margin-bottom: 3px;
    border: 1px solid #999;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ccc', endColorstr='#999');
    background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#999));
    background: -moz-linear-gradient(top, #ccc, #999);
    color: #fff;
}

.form input[type="text"],
.form input[type="number"],
.form input[type="email"],
.form select {
    font-size: var(--font-size-sm);
    font-family: var(--font-base);
    height: 25px;
    line-height: 25px;
    border-radius: 5px;
    border: 1px solid #a99d9d;
}

.ui-sortable-handle td:last-child {
    background: url(../images/icon_drag.png) no-repeat;
    background-position: right;
}

.ui-dialog .ui-dialog-titlebar-close span {
    margin: -8px;
}

.limg {
    max-height: 20px;
    max-width: 20px;
}

.ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ul a {
    display: block;
    padding: 5px;
    border: 1px solid #e9e3e3;
    height: 20px;
    width: 150px;
    text-align: center;
    text-decoration: none;
    margin: auto;
}

.ul a:hover {
    background-color: #f8f0f0;
}

#divDownloadMessage {
    font-family: var(--font-base);
    font-size: 14px;
}

.gv-dl {
    display: inline-block;
    padding: 0 10px;
    height: var(--control-height);
    line-height: var(--control-height);
    border: 1px solid var(--border-light);
    border-radius: var(--control-radius);
    background-color: #FFFFFF;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    font-family: var(--font-base);
    font-optical-sizing: auto;
    text-decoration: none;
    cursor: pointer;
}

.gv-dl:hover {
    background-color: var(--bg-hover);
    border-color: var(--brand-accent);
    color: var(--brand-accent);
}

.gv-dl:active {
    background-color: #FFFFFF;
    border-color: var(--brand-accent);
    border-radius: 8px;
    color: var(--brand-accent);
}

#descriptionPanel {
    width: 400px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    z-index: 1100;
    background-color: #ffffff;
}

#descriptionPanel .descTop,
#descriptionPanel .descContent,
#descriptionPanel .descBottom {
    width: 100%;
}

#descriptionPanel .descTop,
#descriptionPanel .descBottom {
    background-size: 100% 100%;
}

#descriptionPanel .descContent {
    background-size: 100% auto;
}

#descriptionPanel .descContentPad {
    padding-right: 14px;
}

#descriptionPanel .descContent {
    font-size: 14px !important;
    font-family: var(--font-base);
    max-height: calc(100vh - 45px);
    overflow-y: auto;
}

#descriptionPanel .descTop {
    font-size: 14px;
    font-family: var(--font-base);
    background-image: none;
    background-color: #f0f0f0;
}

#descriptionPanel .descTextPadding div {
    font-size: 14px !important;
    font-family: var(--font-base) !important;
}

#descriptionPanel .descContent,
#descriptionPanel .descBottom {
    background-image: none;
    background-color: #ffffff;
}

#descriptionPanel b {
    display: block;
    margin: 8px 0 4px;
    font-size: 13px;
}

#maptools {
    font-size: var(--font-size-sm);
    line-height: 1.25;
    padding-top: 6px;
}

#maptools > b {
    display: block;
    margin: 8px 0 4px;
    font-size: 14px;
    line-height: 1.2;
}

#maptools .divheading {
    font-size: 14px;
    width: 140px;
    float: left;
    line-height: 22px;
}

#divLayers,
#divAddress,
#divThematicValue,
#divFilters > div {
    margin-bottom: 6px;
}

#maptools input,
#maptools select,
#maptools textarea,
#maptools button,
#maptools .searchText,
#maptools .secondaryBut,
#maptools .cbOuterDiv a {
    font-size: var(--font-size-sm);
    font-family: var(--font-base);
}

#maptools .searchText,
#maptools select,
#maptools input[type="text"],
#maptools textarea {
    width: 200px;
    box-sizing: border-box;
}

#maptools .cbOuterDiv {
    width: 200px;
}

#maptools .cbOuterDiv a {
    line-height: 20px;
}

#divLayers .searchText,
#divLayers select {
    float: left;
    width: 180px;
}

#layerSettings {
    float: left;
    margin: 3px 0 0 4px !important;
}

#maptools #divButtons {
    padding-left: 140px;
    margin: 6px 0 8px;
}

.Legend {
    font-size: var(--font-size-sm);
}

#butFilter {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #FFFFFF;
}

#butFilter:hover {
    background-color: var(--brand-accent-light);
    border-color: var(--brand-accent-light);
    color: #FFFFFF;
}


#mapModeTools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-top: 0;
}

#mapModeTools > * {
    margin-right: 0;
}

#mapModeTools a,
#mapModeTools div {
    display: flex;
    align-items: center;
}

#mapModeTools .radiusbox {
    margin-left: 4px;
}

#CustLayerSwitcherlayersDiv {
    max-height: calc(80vh - 40px);
    overflow-y: auto;
    opacity: 0.8 !important;
}

#CustLayerSwitcher > div[style*="background-color: transparent"] {
    display: none;
}

#CustLayerSwitcherlayersDiv .lsw input {
    display: block;
    margin: 0;
}

#CustLayerSwitcherlayersDiv .layercontainer {
    padding: 6px 0 !important;
}

#CustLayerSwitcherlayersDiv .layercontainer > div {
    vertical-align: middle !important;
}

#divGv,
#divfp {
    position: relative;
    z-index: 0;
}

#divGv input[type="image"] {
    height: 22px;
    width: 22px;
    margin-top: 4px;
}

.ui-autocomplete {
    z-index: 999999;
}


.ui-dialog {
    z-index: 9999;
}

.bselected {
    color: crimson;
}

#Map1,
#Map1Container {
    height: 80vh !important;
    min-width: 600px;
}

.radiusbox {
    width: 60px !important;
    height: 26px;
    box-sizing: border-box;
    display: none;
    background-image: url(../images/bg_km.gif);
    background-size: 28px auto;
    border: solid 1px #808080;
    border-radius: 4px;
    float: left;
    margin-left: 5px;
    padding: 0 28px 0 4px;
    line-height: normal !important;
    background-repeat: no-repeat;
    background-position: right center;
    font-size: 13px;
}
