﻿/* Chat styles
-------------------------------------------------- */
i#askButtonIcon:hover {
    color: white;
}

.chat-message {
    max-width: 100%;
    border-radius: 20px;
    padding: 10px;
    line-height: 1.25;
}

.chat-bot {
    background: #F0F4F8;
    color: black;
    border-top-left-radius: 0;
    width: 100%;
    /* border: 1px solid #EFEFEF; */
    /* box-shadow: 0px 1px 0px #ccc; */
    /* border-bottom: 2px solid #EFEFEF; */
    margin: 4px;
    padding: 2px 6px;
}

.suggestionClass {
    cursor: pointer;
    list-style-type: circle;
}

.tablefont {
    font-size: 12px !important;
    /*border-style: solid;*/
    /*border-width: 1px;*/
    /* border-radius: 20px;*/
    padding: 0.5rem;
    line-height: 1.25;
}

.chat-user {
    background: #E5E7EB;
    /*color: white;*/
    border-top-right-radius: 0;
    justify-content: flex-end !important;
    border-bottom: 2px solid #EFEFEF;
    box-shadow: 0px 1px 0px #ccc;
    border: 1px solid #EFEFEF;
    text-decoration: underline;
}
.chat-user:hover {
    cursor:pointer !important;
}
    .chat-typing-loader {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    -webkit-animation: chat-typing 1s linear infinite alternate;
    -moz-animation: chat-typing 1s linear infinite alternate;
    -ms-animation: chat-typing 1s linear infinite alternate;
    animation: chat-typing 1s linear infinite alternate;
    position: relative;
    left: -12px;
    float: right;
    margin: 7px 15px 6px;
    animation: chat-typing-black 1s linear infinite alternate;
}

@-webkit-keyframes chat-typing {
    0% {
        background-color: rgba(255,255,255, 1);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4), 24px 0px 0px 0px rgba(255,255,255,0.2);
    }

    50% {
        background-color: rgba(255,255,255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,1), 24px 0px 0px 0px rgba(255,255,255,0.4);
    }

    100% {
        background-color: rgba(255,255,255, 0.2);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4), 24px 0px 0px 0px rgba(255,255,255,1);
    }
}

@-moz-keyframes chat-typing {
    0% {
        background-color: rgba(255,255,255, 1);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4), 24px 0px 0px 0px rgba(255,255,255,0.2);
    }

    50% {
        background-color: rgba(255,255,255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,1), 24px 0px 0px 0px rgba(255,255,255,0.4);
    }

    100% {
        background-color: rgba(255,255,255, 0.2);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4), 24px 0px 0px 0px rgba(255,255,255,1);
    }
}

@keyframes chat-typing-black {
    0% {
        background-color: rgba(74, 74, 74, 1);
        box-shadow: 12px 0px 0px 0px rgba(74, 74, 74, 0.4), 24px 0px 0px 0px rgba(74, 74, 74, 0.2);
    }

    50% {
        background-color: rgba(74, 74, 74, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(74, 74, 74, 1), 24px 0px 0px 0px rgba(74, 74, 74,0.4);
    }

    100% {
        background-color: rgba(74, 74, 74, 0.2);
        box-shadow: 12px 0px 0px 0px rgba(74, 74, 74,0.4), 24px 0px 0px 0px rgba(74, 74, 74,1);
    }
}

@keyframes chat-typing {
    0% {
        background-color: rgba(255,255,255, 1);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4), 24px 0px 0px 0px rgba(255,255,255,0.2);
    }

    50% {
        background-color: rgba(255,255,255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,1), 24px 0px 0px 0px rgba(255,255,255,0.4);
    }

    100% {
        background-color: rgba(255,255,255, 0.2);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4), 24px 0px 0px 0px rgba(255,255,255,1);
    }
}
/* Map styles
-------------------------------------------------- */
#mapDiv {
    width: 100%;
    height: 100%;
}



#tableDiv {
    height: 50%;
    width: 100%;
    display: none; /* Initially hidden */
}

.esri-popup--is-docked-top-right .esri-popup__main-container {
    max-height: 100%;
}

#mapContainer {
    /*display: flex;*/
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 100%;
    max-height: 100%;
    position: absolute;
}


.suggestion_list_box {
    position: absolute;
    bottom: 10px;
    right: 285px;
    width: 500px;
    border: 1px solid rgba(0,0,0,.5);
    border-radius: 0.25rem;
    color: #0d4465;
    font-size: 12px;
    /*background: #c6edfb;*/
    background-color: rgba(198, 237, 251, 0.3) !important;
    /*background-color: rgba(255, 255, 255, 0.5) !important;*/
    /*background-color: rgba(0, 112, 179, 0.5) !important;*/
}

#suggestionListQuery, #suggestionList {
    max-height: 200px;
    height: auto;
    overflow-y: scroll;
    background-color: #fff;
    padding: 10px;
    margin: 5px;
}

ul.suggestionClass li {
    list-style-type: circle;
}

    ul.suggestionClass li:hover {
        text-decoration: underline;
    }

.suggestion-border {
    border-left: 1px solid #000;
}

.chat-input-pad {
    padding-right: 5px;
    padding-left: 0px;
}

.chat-btn-pad {
    padding-right: 5px;
    padding-left: 0px;
}

#chatAskButton {
    text-align: center;
    position: absolute;
    right: 13px;
    bottom: 8px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0px;
    outline: none;
}

    #chatAskButton i {
        color: #1a335a !important;
    }

    #chatAskButton:hover i {
        color: #77abd2 !important;
    }

    #chatAskButton:hover, #chatAskButton:focus {
        background: #fff;
        outline: none !important;
        border: 0px !important;
        box-shadow: none !important;
    }
/* width */
::-webkit-scrollbar {
    width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

.pad-left {
    padding-left: 0px;
}

.pad-right {
    padding-right: 0px;
}

.pad-left-right {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.suggestion_list_box h5 {
    font-size: 14px;
}

.suggestion_list_box {
    /*display:none;*/
}

.mar-left {
    margin-left: 0px !important;
}

.mar-right {
    margin-right: 0px !important;
}

.chat_main_div {
    margin-top: 68px;
}
/*div#featuireTable {
    position: relative;
    top: -47px;
    left: 10px;
}*/

div#featuireTable {
    position: relative;
    top: -47px;
    left: 10px;
    font-size: 34px;
    background-color: white;
    padding: 2px;
    border: 13px;
    width: 41px;
    /* border-color: #ff0066; */
}

#chatAskInput {
    width: 100%;
    min-height: 40px;
    padding: 8px 29px 8px 10px;
    font-size: 14px;
    height: 40px;
    max-height: 80px;
    box-shadow: 0 1px 2px #0000004d;
    border: #eee solid 1px;
    border-radius: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    resize: none;
}
/*
#chatAskInputDiv {
    position: relative;
}
#chatAskButton {
    position: absolute;
    top: 30px;
    right: -29px;
}
div#exampleModalLong {
    height: 300px;
    min-height: 300px;
    overflow-y: auto;
    top: 104px;
}
    */
.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 22px;
    vertical-align: middle;
    margin-bottom: 0px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 1px;
        background-color: white;
        -webkit-transition: 0.4s;
        transition: 0.4s;
    }

input:checked + .slider {
    background-color: #2196f3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

/* Rounded sliders */

.slider.round {
    border-radius: 20px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.labelText {
    padding-left: 5px;
    font-size: 15px;
    margin-bottom: 0px;
}

#mainDiv {
    padding: 8px;
}



div.container {
    width: 80%;
}

div#examples_wrapper {
    height: 271px;
    padding: 10px;
    bottom: 0px !important;
    font-size: 10px;
    overflow: auto;
    background-color: #fff;
    border-top: 1px #999 solid;
    cursor: col-resize;
    width: 100%;
    scrollbar-width: thin !important;
    position: absolute !important;
}

.dataTables_wrapper {
    position: relative !important;
    clear: both;
    bottom: 0 !important;
    width: 100% !important;
    scrollbar-width: thin !important;
    overflow: auto;
}



#exportTable_excel {
    color: #fff;
    background-color: #0070b3;
    border-color: #0070b3;
}

#exportTable_excel {
    display: block;
    width: 96px;
    height: 31px;
    border-radius: 9px;
    cursor: pointer;
    float: left;
    margin: 4px;
}

.esri-ui-bottom-left {
    /*bottom: 0% !important;
    left: 0;
    position: absolute;
    z-index: 999999;
    top: 63% ;*/
    left: 0;
    position: absolute;
    z-index: 999999;
    bottom: 6%;
}

.esri-popup__header-title {
    padding: 4px 8px;
    margin: 0px;
    text-align: left;
}

.esri-popup__header-container--button {
    border: none !important;
    padding: 4px !important;
}

.esri-features__container.esri-features__content-container {
    max-height: 215px;
}

.tab-container {
    display: flex;
    flex-direction: row;
    margin-bottom: 0px;
}

.tab {
    padding: 4px 10px;
    margin: 8px 4px 0px 4px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    cursor: pointer;
    /* position: relative; */
    margin-block-end: 0.125rem;
    box-sizing: border-box;
    display: flex;
    block-size: 78%;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0px 0px;
}

.close-btn-tab {
    margin-left: 8px;
    background-color: #f44336;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
    /* padding: 5px; */
    border-radius: 50%;
    padding: 2px 6px;
}

.table-container {
    display: none;
    width: 100%;
    height: 300px;
    border-top: 1px solid #ccc;
    margin-top: -2px;
}

.table-content {
}

.tab .highlighted {
    background-color: #0078d4 !important;
    color: white !important;
}

.esri-feature-table__content {
    overflow: hidden;
}

button.close-btn-tab {
    display: none;
}

.highlighted {
    background-color: #77abd2 !important;
}

@media screen and (min-width: 1024px) and (max-height: 1310px) {
    .esri-feature-table__content {
        min-height: 190px;
        max-height: 190px;
    }
}

@media (min-width: 1920px) and (max-width: 2560px) {
    .esri-feature-table__content {
        min-height: 340px !important;
        max-height: 300px !important;
    }
}

.customDiv {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader1 {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.columns-container {
    display: flex;
    gap: 20px; /* Space between columns */
}

    .columns-container ul {
        list-style-type: none; /* Remove bullet points */
        padding: 0;
        margin: 0;
        width: 33.3%;
    }

#errorPopup {
    margin-right: 40px;
    display: none;
    position: fixed;
    background-color: #eefbff;
    color: black;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


