body {
    padding: 0;
    margin: 0;
}

html, body, #map {
    height: 100%;
}

.tool-circle {
    display:block;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 255, 0.8);
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    bottom: 10px;
    right: 10px;
    color: white;
    font-weight:bold;
    border: none;
    cursor: pointer;
    box-shadow:inset 0 0 0 3px white;
    padding: 0;
    margin: 0;
}

.tool-circle img {
    width: 20px;
    height: 20px;
    padding: 10px 11px 10px 9px;
    margin: 0;
    display: inline-block;
}

.north-arrow {
    display:block;
    width: 30px;
    height: 30px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 5px;
    background: rgba(255, 255, 255, 1);
    position: absolute;
    z-index: 1;
    top: 47px;
    right: 10px;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(150, 150, 150, 0.4);
    padding: 0;
    margin: 0;
}

.north-arrow img {
    width: 20px;
    height: 20px;
    padding: 5px;
    margin: 0;
    display: inline-block;
}

/*.tool-circle:hover {*/
    /*box-shadow:inset 0 0 0 3px yellow;*/
/*}*/

.tool-circle-active {
    background: rgba(38, 170, 38, 0.8);
}

.tool-button {
    display:block;
    width: 40px;
    height: 40px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    color: white;
    font-weight:bold;
    border: none;
    cursor: pointer;
    text-align:center;
    vertical-align: middle;
    text-decoration:none;
    box-shadow:inset 0 0 0 3px white;
    background: rgba(255, 0, 0, 0.8);
    margin: 0;
    padding: 0;
}

.tool-button-active {
    background: rgba(38, 170, 38, 0.8);
}

#identify-tool {
    right: 10px;
    bottom: 110px;
    font: 17px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

#identify-tool img {
    width: 20px;
    height: 20px;
    padding: 10px;
    margin: 0;
    display: inline-block;
}

#help-tool {
    right: 60px;
    bottom: 110px;
    font: 17px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    background: rgba(255, 140, 0, 0.8);
}

#layer-switch-tool {
    right: 10px;
    bottom: 60px;
}

#layer-switch-tool img {
    width: 20px;
    height: 20px;
    padding: 10px;
    margin: 0;
    display: inline-block;
}

#find-parcel-tool {
    right: 110px;
    bottom: 10px;
}

#find-parcel-tool img {
    width: 24px;
    height: 24px;
    padding: 8px;
    margin: 0;
    display: inline-block;
}

#show-disclaimer-tool {
    right: 110px;
    bottom: 60px;
    background: rgba(255, 140, 0, 0.8);
}

#show-disclaimer-tool img {
    width: 20px;
    height: 20px;
    padding: 10px;
    margin: 0;
    display: inline-block;
}

#find-beacon-tool {
    right: 60px;
    bottom: 10px;
}

#find-beacon-tool img {
    width: 20px;
    height: 20px;
    padding: 10px;
    margin: 0;
    display: inline-block;
}

#map-business-tool {
    right: 60px;
    bottom: 60px;
}

#map-business-tool img {
    width: 20px;
    height: 20px;
    padding: 10px;
    padding: 9px 10px 11px 10px;
    margin: 0;
    display: inline-block;
}

#search-by-coordinate-tool {
    right: 160px;
    bottom: 10px;
}

#search-by-coordinate-tool img {
    width: 20px;
    height: 20px;
    padding: 10px;
    margin: 0;
    display: inline-block;
}

#show-coordinate-tool {
    right: 10px;
    bottom: 160px;
}

#show-coordinate-tool img {
    width: 20px;
    height: 20px;
    padding: 10px;
    margin: 0;
    display: inline-block;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 2s
}
.fade-enter, .fade-leave-active {
    opacity: 0
}

.map-overlay {
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: 150px;
    bottom: 10px;
    left: 10px;
}

.map-overlay .map-overlay-inner {
    background-color: #fff;
    opacity: 0.9;
    box-shadow:0 1px 2px rgba(0, 0, 0, 0.10);
    border-radius: 3px;
    padding: 10px;
}

.map-overlay-inner fieldset {
    border: none;
    padding: 0;
    margin: 0 0 10px;
}

.map-overlay-inner fieldset:last-child {
    margin: 0;
}

.map-overlay-inner input {
    width: 100%;
}

.map-overlay-inner label {
    display: block;
    font-weight: bold;
    margin: 0 0 5px;
}

.map-overlay-inner button {
    display: inline-block;
    width: 63px;
    height: 20px;
    border: none;
    cursor: pointer;
    background-color: #2190FE;
    color: white;
    font-weight: bold;
}

.map-overlay-inner button:focus {
    outline: none;
}

.map-overlay-inner button:hover {
    box-shadow:inset 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.layer-switch-overlay {
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: 150px;
    bottom: 10px;
    left: 10px;
    overflow: hidden;
    max-height: 250px;
    border: 1px solid #333;
}

.layer-switch-overlay .layer-switch-overlay-inner {
    width: 170px;
    max-height: 250px;
    overflow-y: scroll;
    box-shadow:0 1px 2px rgba(0, 0, 0, 0.10);
}

ul, li {
    margin: 0;
    padding: 0;
    border: 0;
}

li {
    /* Use flexbox */
    display: flex;
    /* Center everything inside .panel and li vertically */
    align-items: center;
    /* Distribute space evenly between the contents*/
    justify-content: space-between;
    list-style-type: none;
    padding: 10px;
    background-color: #fff;
    opacity: 0.8;
    border-bottom: 1px solid lightgrey;
}

.layer-switch-overlay-inner li:last-child {
    border-bottom: 0;
}

.list label {
    padding-right: 10px;
    display: inline-block;
    width: 70%;
    line-height: 15px;
    z-index: 2;
    overflow: hidden;
    font-weight:bold;
}

.feature-info-overlay {
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: 170px;
    bottom: 10px;
    left: 10px;
    overflow: hidden;
    max-height: 250px;
    border: 1px solid #333;
}

.feature-info-overlay .feature-info-overlay-inner {
    width: 190px;
    max-height: 220px;
    overflow-y: scroll;
    box-shadow:0 1px 2px rgba(0, 0, 0, 0.10);
    background-color: #fff;
    opacity: 0.9;
}

.feature-info-overlay fieldset {
    border: none;
    padding: 5px;
    margin: 0;
    background-color: #666;
    opacity: 0.9;
    color: #fff;
    font-weight:bold;
}

table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 140px;
}

table td {
    word-wrap: break-word;         /* All browsers since IE 5.5+ */
    overflow-wrap: break-word;     /* Renamed property in CSS3 draft spec */
}

tr td {
    border-bottom: 1px solid lightgrey;
    padding: 5px;
}

tr:last-child > td {
    border-bottom: 0;
}

.attr-name {
    width: 68px;
    border-right: 1px solid lightgrey;
}

.attr-value {
    width: 81px;
}

.loop-button {
    display: inline-block;
    width: 25px;
    height: 25px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    right: 5px;
    top: 2px;
    z-index: 1;
    color: white;
    border: none;
    cursor: pointer;
    text-align: center;
    padding: 0 5px 0 5px;
    box-shadow: inset 0 0 0 2px white;
    background: rgba(0, 100, 255, 0.8);
}

.map-overlay .coord-tools-overlay-inner {
    background-color: #fff;
    opacity: 0.9;
    box-shadow:0 1px 2px rgba(0, 0, 0, 0.10);
    border-radius: 3px;
    padding: 10px;
}

.coord-tools-overlay-inner fieldset {
    border: none;
    padding: 0;
    margin: 0 0 10px;
}

.coord-tools-overlay-inner fieldset:last-child {
    margin: 0;
}

.coord-tools-overlay-inner input[type=number] {
    display: inline-block;
    width: 85px;
}

.coord-tools-overlay-inner input[type=text] {
    display: inline-block;
    width: 85px;
}

.coord-tools-overlay-inner input[type=radio] {
    display: inline-block;
    width: 26px;
}

.coord-tools-overlay-inner .radio {
    display: inline-block;
    font-weight: normal;
    margin: 6px 0;
    width: 90px;
}

.coord-tools-overlay-inner label {
    display: inline-block;
    font-weight: bold;
    margin: 6px 0;
    width: 26px;
}

.coord-tools-overlay-inner button {
    display: inline-block;
    width: 63px;
    height: 20px;
    border: none;
    cursor: pointer;
    background-color: #2190FE;
    color: white;
    font-weight: bold;
}

#show-coord-clear-button {
    width: 100%;
}

.coord-tools-overlay-inner button:focus {
    outline: none;
}

.coord-tools-overlay-inner button:hover {
    box-shadow:inset 0 0 0 3px rgba(255, 255, 255, 0.7);
}

@media all and (min-width: 960px) {
    .list-businesses-overlay {
        font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
        position: absolute;
        width: 550px;
        top: 0;
        left: calc(50% - 275px);
        overflow: auto;
        border: 1px solid #333;
        z-index: 30;
    }
}

@media all and (max-width: 959px) and (min-width: 600px) {
    .list-businesses-overlay {
        font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
        position: absolute;
        width: 400px;
        top: 0;
        left: calc(50% - 200px);
        overflow: auto;
        border: 1px solid #333;
        z-index: 30;
    }
}

@media all and (max-width: 599px) and (min-width: 320px) {
    .list-businesses-overlay {
        font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
        position: absolute;
        width: 100%;
        top: 0;
        overflow: auto;
        border: 1px solid #333;
        z-index: 30;
    }
}

.zzz {
    width: 50%;
    margin: 15px 0 15px calc(50% - 60px);
}

.list-businesses-overlay .list-businesses-overlay-inner {
    opacity: 0.95;
    background-color: #FFFFFF;
    height: 100%;
}

.business-table {
    width: 94%;
    margin: 0 auto 20px;
}

.titlebar-fieldset {
    border: none;
    padding: 5px;
    margin: 0;
    background-color: #666;
    opacity: 0.9;
    color: #fff;
    font-weight:bold;
}

.business-table-cell {
    font: 11px 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.business-table-header {
    font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-weight:bold;
}

.business-table-row td {
    padding: 0;
    margin: 0;
    height: 10px;
}

.business-dlg-overlay {
    opacity: 0.95;
}

.row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
}

/*
Remove the outline when focus is on a button (issue in Chrome only)
 */
button:focus {
    outline: 0 !important;
}

.disclaimer-dlg-overlay {
    opacity: 0.95;
}
