﻿
html,
body,
#viewDiv {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}


#BasemapToggle {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 50;
}

.boxFromat {
    font-weight: bold;
    font-size: 15px;
    line-height: 23px;
}

.esri-widget h1 {
    margin: 0 0 0 0 !important;
}

.esri-popup__header {
    height: 32px;
    color: #AB4489;
    font-style: italic;
}

#bottomStyle {
    position: absolute;
    /* height: 40px; */
    width: 100%;
    z-index: 99;
    background-color: rgb(211, 255, 190) !important;
    color: #1948ec !important;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    font-weight: bold;
    /* border-radius: 5px; */
    /* border: 1px solid #b5bcc7; */
    cursor: pointer;
    font-size: 15px;
    padding: 5px 0;
}

.label {
    font-size: .625rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: +1.3px;
    margin-bottom: 1rem;
}

.searchBar {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#searchQueryInput {
    width: 100%;
    height: 2.8rem;
    background: #f5f5f5;
    outline: none;
    border: none;
    border-radius: 1.625rem;
    padding: 0 3.5rem 0 1.5rem;
    font-size: 1rem;
}

#searchQuerySubmit {
    width: 3.5rem;
    height: 2.8rem;
    margin-left: -3.5rem;
    background: none;
    border: none;
    outline: none;
}

    #searchQuerySubmit:hover {
        cursor: pointer;
    }

#searchQueryInput1 {
    width: 100%;
    height: 2.8rem;
    background: #f5f5f5;
    outline: none;
    border: none;
    border-radius: 1.625rem;
    padding: 0 3.5rem 0 1.5rem;
    font-size: 1.5rem;
}

#searchQuerySubmit1 {
    width: 3.5rem;
    height: 2.8rem;
    margin-left: -3.5rem;
    background: none;
    border: none;
    outline: none;
}

    #searchQuerySubmit1:hover {
        cursor: pointer;
    }

#sketchContainer {
    display: none; /* Hidden by default */
}

.modal-header {
    cursor: move;
}

.esri-layer-list {
    overflow: hidden;
}

.modal-backdrop {
    display: none !important;
}

    .modal-backdrop.show {
        opacity: 0 !important;
    }

.esri-search {
    position: absolute;
    left: 44px;
}
/*
        .modal-content {
            width: %;
        }*/
li[aria-labelledby="18fcd13c5cb-widget-2_18fcd13c54d-object-963__title"] {
    display: none !important;
}

div.esri-time-slider__animation,
div.esri-time-slider__previous,
div.esri-time-slider__next {
    display: none;
}

#widgetContainer {
    background: #fff;
    display: none;
    position: absolute;
    z-index: 999;
    top: 28%;
    left: 260px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    width: 350px;
}

    #widgetContainer .form-label {
        margin-bottom: 0px;
        font-size: 12px;
    }

#createBlockContainer {
    background: #fff;
    display: none;
    position: absolute;
    z-index: 999;
    top: 28%;
    left: 260px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    width: 450px;
}

    #createBlockContainer .form-label {
        margin-bottom: 0px;
        font-size: 10px;
    }


#layerListContainer {
    background: #fff;
    display: none;
    position: absolute;
    z-index: 999;
    top: 28%;
    left: 86%;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    width: 250px;
}

    #layerListContainer .form-label {
        margin-bottom: 0px;
        font-size: 12px;
    }

#divMeasurement {
    background: #fff;
    display: none;
    position: absolute;
    z-index: 999;
    top: 28%;
    left: 260px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    width: 200px;
}

   


.swipe-title {
    background-color: #1291c8;
    color: #fff;
    padding: 5px;
    cursor: move;
}

    .swipe-title h6 {
        margin-bottom: 0
    }

.sidebar-text .form-select {
    font-size: 12px;
}

.open-container {
    display: none !important;
}

#btn-close-swipe {
    background: transparent;
    border: none;
    color: #fff;
}

.esri-view .esri-ui .esri-attribution {
    display: none;
}

.esri-time-slider {
    background-color: #0c1e35;
    padding: 10px;
}

.esri-time-slider__slider .esri-slider__tick {
    background: #d8d8da;
}

.esri-time-slider__slider .esri-slider__ticks {
    color: #fff;
}

.esri-time-slider__slider .esri-slider {
    background: transparent;
}

.esri-time-slider__slider {
    background: transparent;
}

.bottom-left-popup {
    position: fixed;
    bottom: 140px;
    left: 272px;
    width: 374px;
    background: white;
    border-radius: 10px;
    border: 1px solid #ccc;
    z-index: 1055;
    display: none;
}

    .bottom-left-popup .popup-body {
        font-size: 13px;
    }

    .bottom-left-popup .popup-header {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

.btn-close {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

#btn-close-MP {
    background: transparent;
    border: none;
    color: #fff;
}

.switch {
    position: relative;
    display: inline-block;
    margin: 0 5px;
	vertical-align: middle;
}

    .switch > span {
        position: absolute;
        top: 10px;
        pointer-events: none;
        font-family: 'Helvetica', Arial, sans-serif;
        font-weight: bold;
        font-size: 12px;
        text-transform: uppercase;
        text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
        width: 50%;
        text-align: center;
    }

input.check-toggle-round-flat:checked ~ .off {
    color: #1088bd;
}

input.check-toggle-round-flat:checked ~ .on {
    color: #fff;
}

.switch > span.on {
    left: 0;
    padding-left: 2px;
    color: #1088bd;
}

.switch > span.off {
    right: 0;
    padding-right: 4px;
    color: #fff;
}

.check-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
}

    .check-toggle + label {
        display: block;
        position: relative;
        cursor: pointer;
        outline: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

input.check-toggle-round-flat + label {
    padding: 2px;
    width: 97px;
    height: 35px;
    background-color: #1088bd;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
}

    input.check-toggle-round-flat + label:before, input.check-toggle-round-flat + label:after {
        display: block;
        position: absolute;
        content: "";
    }

    input.check-toggle-round-flat + label:before {
        top: 2px;
        left: 2px;
        bottom: 2px;
        right: 2px;
        background-color: #1088bd;
        -webkit- -moz-border-radius: 60px;
        -ms-border-radius: 60px;
        -o-border-radius: 60px;
        border-radius: 60px;
    }

    input.check-toggle-round-flat + label:after {
        top: 4px;
        left: 4px;
        bottom: 4px;
        width: 48px;
        background-color: #fff;
        -webkit-border-radius: 52px;
        -moz-border-radius: 52px;
        -ms-border-radius: 52px;
        -o-border-radius: 52px;
        border-radius: 52px;
        -webkit-transition: margin 0.2s;
        -moz-transition: margin 0.2s;
        -o-transition: margin 0.2s;
        transition: margin 0.2s;
    }

input.check-toggle-round-flat:checked + label {
}

    input.check-toggle-round-flat:checked + label:after {
        margin-left: 44px;
    }

.nav {
    display: flex;
    align-items: center;
}

ul.tabs {
    margin: 0px;
    padding: 0px;
    list-style: none;
    display: inline-flex;
    width: 100%;
}

    /*ul.tabs li {
        background: none;
        color: #fff;
        display: inline-block;
        padding: 10px 10px;
        cursor: pointer;
        font-size: 12px;
        width: 50%;
        text-align: center;
    }*/

    ul.tabs li {
        background: none;
        color: #fff;
        display: inline-flex;
        padding: 10px 10px;
        cursor: pointer;
        font-size: 12px;
        width: 50%;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

        ul.tabs li.current {
            background: #1088bd;
            color: #fff;
            width: 50%;
        }

.tab-content {
    display: none;
    background: #1088bd;
    padding: 15px;
}

    .tab-content.current {
        display: inherit;
    }

.filter-box label, .filter-box .form-select {
    font-size: 12px;
}

.content-box {
    background: #1088bd;
    padding: 15px;
}

.layout .sidebar .menu .menu-item.sub-menu > .sub-menu-list {
    padding-left: 10px;
}

.esri-layer-list__item {
    background-color: revert-layer;
    border-radius: 3px;
    margin-bottom: 10px;
}

.esri-ui-top-right {
   /* background-color: #1088bd;*/
    padding: 10px;
    border-radius: 3px;
}

    .esri-ui-top-right .esri-component {
        margin-bottom: 0;
    }

.esri-snapping-controls  {
    display: none !important;
}

/* Hide the 'Select feature' button */
calcite-action[title="Select feature"] {
    display: none !important;
}

/* Hide the selection toolbar (rectangle and lasso) */
.esri-selection-toolbar {
    display: none !important;
}

.esri-time-slider__row {
    display: none !important;
}


.legendCls li span {
    font-size: 12px;
}
#legendDiv {
    position: absolute;
    /* top: 0; */
    right: 10px;
    z-index: 999;
    bottom: 100px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    padding: 10px;
}

.legendCls {
    list-style: none;
    padding: 0;
    margin: 0;
}
.btn-secondary1 {
    background-color: #0c1e35;
    border-color: #0c1e35;
    color:#fff;

}
    .btn-secondary1 :hover {
        background-color: #0c1e35 !important;
        border-color: #0c1e35 !important;
        color: #fff !important;
    }
.close-icon-popup {
    background-color: #fff;
    border: none;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    line-height: 0;
    color: #1291c8;
    font-size: 15px;
}


.hidden {
    display: none !important;
}
.esri-ui-top-right button {
    /*background-color: #1291c8;
    color: #fff;
    border: none;
    border-radius: 5px;*/
    background-color: #fff;
    color: #6c757d;
    border: none;
    /* border-radius: 5px; */
    padding: 5px 2px;
    width: 32px;
    height: 32px;
    box-shadow: 0 2px 2px rgb(0 0 0 / 0.2);
    font-size: 16px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    grid-gap: 10px;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden; /* prevents overflow */
}

    .image-grid img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
    }

#widgetContainerheader button {
    background-color: #fff;
    color: #1291c8;
    border-radius: 50%;
    border: none;
    height: 20px;
    width: 20px;
    text-align: center;
    line-height: normal;
    font-weight: 600;
}

.selectize-control.single .selectize-input, .selectize-dropdown.single {
    border: none;
    font-size: 12px;
}

.selectize-input {
    overflow: visible;
}

.selectize-control.single .selectize-input:after {
    display: none !important;
}

.lease-form-container *,
.lease-form-container {
    font-size: 12px !important;
}

    .lease-form-container .card-header,
    .lease-form-container h6,
    .lease-form-container .results-bar {
        font-size: 14px !important;
        font-weight: bold;
    }

    .lease-form-container .card-header {
        background-color: #1291c8;
    }

    .lease-form-container .card {
        /*max-width: 450px;
        margin: 30px auto;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);*/
    }

    .lease-form-container .table-wrapper {
        overflow-x: auto;
        overflow-y: auto;
        max-width: 100%;
    }


    .lease-form-container .form-input {
        width: auto;
        display: inline-block;
        min-width: 40px;
        max-width: 100px;
        padding: 2px 4px;
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .lease-form-container .table-wrapper {
        max-height: 250px;
        overflow-y: auto;
    }

    .lease-form-container input[type="text"],
    .lease-form-container textarea {
        width: 100%;
    }

    .lease-form-container th,
    .lease-form-container td {
        text-align: center;
        vertical-align: middle;
    }

    .lease-form-container .btn-sm {
        padding: 3px 8px;
    }

    .lease-form-container .footer-btns {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .lease-form-container .results-bar {
        background-color: #1e90ff;
        color: white;
        padding: 8px 15px;
        border-top: 1px solid #ccc;
        border-radius: 0 0 5px 5px;
    }
