﻿/*:root {
  --primary-color: rgb(0, 76, 115); #32a852
  --accent-color: #b56200;
  --background-color: #fff;
  --title-background-color: #fafbfc;
  --light-border: 1px solid #f4f4f4;
 --border: 1px solid #c8c9ca;
  --border: 1px solid #c4c5c6;
  --border: 1px solid #d0d0d0;
    --border: 1px solid #b0b1b2;
  --border-radius: 0px;
  --scrollbar-color: rgb(200, 198, 196) rgba(0, 0, 0, 0);
  --primary-font: "Lato", sans-serif;
  --toast-top: 10%;
  --transition: all 500ms ease-in-out;
}*/

html,
body {
    width: 100%;
    height: 100%;
    font-family: "Lato", "Segoe UI","Helvetica Neue", sans-serif;
    background-color: #fff;
    margin: 0px;
    padding: 0px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
}

nav {
    display:flex;
    width: 100%;
    height: 2.5rem;
    background-color: #002266;
    /*background-color: rgb(0, 76, 115);*/
    color: white;
}

main {
    width: 100%;
    height: calc(100% - 2.5rem);
    background-color: #fff;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr;
    grid-template-columns: repeat(8, 1fr);
    -ms-grid-rows: 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr;
    grid-template-rows: repeat(12, 1fr);
    grid-gap: 8px;
    padding: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
}

    main > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    main > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }

    main > *:nth-child(3) {
        -ms-grid-row: 1;
        -ms-grid-column: 5;
    }

    main > *:nth-child(4) {
        -ms-grid-row: 1;
        -ms-grid-column: 7;
    }

    main > *:nth-child(5) {
        -ms-grid-row: 1;
        -ms-grid-column: 9;
    }

    main > *:nth-child(6) {
        -ms-grid-row: 1;
        -ms-grid-column: 11;
    }

    main > *:nth-child(7) {
        -ms-grid-row: 1;
        -ms-grid-column: 13;
    }

    main > *:nth-child(8) {
        -ms-grid-row: 1;
        -ms-grid-column: 15;
    }

    main > *:nth-child(9) {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }

    main > *:nth-child(10) {
        -ms-grid-row: 3;
        -ms-grid-column: 3;
    }

    main > *:nth-child(11) {
        -ms-grid-row: 3;
        -ms-grid-column: 5;
    }

    main > *:nth-child(12) {
        -ms-grid-row: 3;
        -ms-grid-column: 7;
    }

    main > *:nth-child(13) {
        -ms-grid-row: 3;
        -ms-grid-column: 9;
    }

    main > *:nth-child(14) {
        -ms-grid-row: 3;
        -ms-grid-column: 11;
    }

    main > *:nth-child(15) {
        -ms-grid-row: 3;
        -ms-grid-column: 13;
    }

    main > *:nth-child(16) {
        -ms-grid-row: 3;
        -ms-grid-column: 15;
    }

    main > *:nth-child(17) {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    main > *:nth-child(18) {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }

    main > *:nth-child(19) {
        -ms-grid-row: 5;
        -ms-grid-column: 5;
    }

    main > *:nth-child(20) {
        -ms-grid-row: 5;
        -ms-grid-column: 7;
    }

    main > *:nth-child(21) {
        -ms-grid-row: 5;
        -ms-grid-column: 9;
    }

    main > *:nth-child(22) {
        -ms-grid-row: 5;
        -ms-grid-column: 11;
    }

    main > *:nth-child(23) {
        -ms-grid-row: 5;
        -ms-grid-column: 13;
    }

    main > *:nth-child(24) {
        -ms-grid-row: 5;
        -ms-grid-column: 15;
    }

    main > *:nth-child(25) {
        -ms-grid-row: 7;
        -ms-grid-column: 1;
    }

    main > *:nth-child(26) {
        -ms-grid-row: 7;
        -ms-grid-column: 3;
    }

    main > *:nth-child(27) {
        -ms-grid-row: 7;
        -ms-grid-column: 5;
    }

    main > *:nth-child(28) {
        -ms-grid-row: 7;
        -ms-grid-column: 7;
    }

    main > *:nth-child(29) {
        -ms-grid-row: 7;
        -ms-grid-column: 9;
    }

    main > *:nth-child(30) {
        -ms-grid-row: 7;
        -ms-grid-column: 11;
    }

    main > *:nth-child(31) {
        -ms-grid-row: 7;
        -ms-grid-column: 13;
    }

    main > *:nth-child(32) {
        -ms-grid-row: 7;
        -ms-grid-column: 15;
    }

    main > *:nth-child(33) {
        -ms-grid-row: 9;
        -ms-grid-column: 1;
    }

    main > *:nth-child(34) {
        -ms-grid-row: 9;
        -ms-grid-column: 3;
    }

    main > *:nth-child(35) {
        -ms-grid-row: 9;
        -ms-grid-column: 5;
    }

    main > *:nth-child(36) {
        -ms-grid-row: 9;
        -ms-grid-column: 7;
    }

    main > *:nth-child(37) {
        -ms-grid-row: 9;
        -ms-grid-column: 9;
    }

    main > *:nth-child(38) {
        -ms-grid-row: 9;
        -ms-grid-column: 11;
    }

    main > *:nth-child(39) {
        -ms-grid-row: 9;
        -ms-grid-column: 13;
    }

    main > *:nth-child(40) {
        -ms-grid-row: 9;
        -ms-grid-column: 15;
    }

    main > *:nth-child(41) {
        -ms-grid-row: 11;
        -ms-grid-column: 1;
    }

    main > *:nth-child(42) {
        -ms-grid-row: 11;
        -ms-grid-column: 3;
    }

    main > *:nth-child(43) {
        -ms-grid-row: 11;
        -ms-grid-column: 5;
    }

    main > *:nth-child(44) {
        -ms-grid-row: 11;
        -ms-grid-column: 7;
    }

    main > *:nth-child(45) {
        -ms-grid-row: 11;
        -ms-grid-column: 9;
    }

    main > *:nth-child(46) {
        -ms-grid-row: 11;
        -ms-grid-column: 11;
    }

    main > *:nth-child(47) {
        -ms-grid-row: 11;
        -ms-grid-column: 13;
    }

    main > *:nth-child(48) {
        -ms-grid-row: 11;
        -ms-grid-column: 15;
    }

    main > *:nth-child(49) {
        -ms-grid-row: 13;
        -ms-grid-column: 1;
    }

    main > *:nth-child(50) {
        -ms-grid-row: 13;
        -ms-grid-column: 3;
    }

    main > *:nth-child(51) {
        -ms-grid-row: 13;
        -ms-grid-column: 5;
    }

    main > *:nth-child(52) {
        -ms-grid-row: 13;
        -ms-grid-column: 7;
    }

    main > *:nth-child(53) {
        -ms-grid-row: 13;
        -ms-grid-column: 9;
    }

    main > *:nth-child(54) {
        -ms-grid-row: 13;
        -ms-grid-column: 11;
    }

    main > *:nth-child(55) {
        -ms-grid-row: 13;
        -ms-grid-column: 13;
    }

    main > *:nth-child(56) {
        -ms-grid-row: 13;
        -ms-grid-column: 15;
    }

    main > *:nth-child(57) {
        -ms-grid-row: 15;
        -ms-grid-column: 1;
    }

    main > *:nth-child(58) {
        -ms-grid-row: 15;
        -ms-grid-column: 3;
    }

    main > *:nth-child(59) {
        -ms-grid-row: 15;
        -ms-grid-column: 5;
    }

    main > *:nth-child(60) {
        -ms-grid-row: 15;
        -ms-grid-column: 7;
    }

    main > *:nth-child(61) {
        -ms-grid-row: 15;
        -ms-grid-column: 9;
    }

    main > *:nth-child(62) {
        -ms-grid-row: 15;
        -ms-grid-column: 11;
    }

    main > *:nth-child(63) {
        -ms-grid-row: 15;
        -ms-grid-column: 13;
    }

    main > *:nth-child(64) {
        -ms-grid-row: 15;
        -ms-grid-column: 15;
    }

    main > *:nth-child(65) {
        -ms-grid-row: 17;
        -ms-grid-column: 1;
    }

    main > *:nth-child(66) {
        -ms-grid-row: 17;
        -ms-grid-column: 3;
    }

    main > *:nth-child(67) {
        -ms-grid-row: 17;
        -ms-grid-column: 5;
    }

    main > *:nth-child(68) {
        -ms-grid-row: 17;
        -ms-grid-column: 7;
    }

    main > *:nth-child(69) {
        -ms-grid-row: 17;
        -ms-grid-column: 9;
    }

    main > *:nth-child(70) {
        -ms-grid-row: 17;
        -ms-grid-column: 11;
    }

    main > *:nth-child(71) {
        -ms-grid-row: 17;
        -ms-grid-column: 13;
    }

    main > *:nth-child(72) {
        -ms-grid-row: 17;
        -ms-grid-column: 15;
    }

    main > *:nth-child(73) {
        -ms-grid-row: 19;
        -ms-grid-column: 1;
    }

    main > *:nth-child(74) {
        -ms-grid-row: 19;
        -ms-grid-column: 3;
    }

    main > *:nth-child(75) {
        -ms-grid-row: 19;
        -ms-grid-column: 5;
    }

    main > *:nth-child(76) {
        -ms-grid-row: 19;
        -ms-grid-column: 7;
    }

    main > *:nth-child(77) {
        -ms-grid-row: 19;
        -ms-grid-column: 9;
    }

    main > *:nth-child(78) {
        -ms-grid-row: 19;
        -ms-grid-column: 11;
    }

    main > *:nth-child(79) {
        -ms-grid-row: 19;
        -ms-grid-column: 13;
    }

    main > *:nth-child(80) {
        -ms-grid-row: 19;
        -ms-grid-column: 15;
    }

    main > *:nth-child(81) {
        -ms-grid-row: 21;
        -ms-grid-column: 1;
    }

    main > *:nth-child(82) {
        -ms-grid-row: 21;
        -ms-grid-column: 3;
    }

    main > *:nth-child(83) {
        -ms-grid-row: 21;
        -ms-grid-column: 5;
    }

    main > *:nth-child(84) {
        -ms-grid-row: 21;
        -ms-grid-column: 7;
    }

    main > *:nth-child(85) {
        -ms-grid-row: 21;
        -ms-grid-column: 9;
    }

    main > *:nth-child(86) {
        -ms-grid-row: 21;
        -ms-grid-column: 11;
    }

    main > *:nth-child(87) {
        -ms-grid-row: 21;
        -ms-grid-column: 13;
    }

    main > *:nth-child(88) {
        -ms-grid-row: 21;
        -ms-grid-column: 15;
    }

    main > *:nth-child(89) {
        -ms-grid-row: 23;
        -ms-grid-column: 1;
    }

    main > *:nth-child(90) {
        -ms-grid-row: 23;
        -ms-grid-column: 3;
    }

    main > *:nth-child(91) {
        -ms-grid-row: 23;
        -ms-grid-column: 5;
    }

    main > *:nth-child(92) {
        -ms-grid-row: 23;
        -ms-grid-column: 7;
    }

    main > *:nth-child(93) {
        -ms-grid-row: 23;
        -ms-grid-column: 9;
    }

    main > *:nth-child(94) {
        -ms-grid-row: 23;
        -ms-grid-column: 11;
    }

    main > *:nth-child(95) {
        -ms-grid-row: 23;
        -ms-grid-column: 13;
    }

    main > *:nth-child(96) {
        -ms-grid-row: 23;
        -ms-grid-column: 15;
    }

    main > section {
        border: 1px solid #b0b1b2;
        ;
        border-radius: 0px;
        -webkit-animation: fadein 0.5s;
        animation: fadein 0.5s;
        background: white;
    }

#map-container {
    -ms-grid-row: 1;
    -ms-grid-row-span: 8;
    grid-row: 1 / span 8;
    -ms-grid-column: 1;
    -ms-grid-column-span: 4;
    grid-column: 1 / span 4;
}

#depricated_div {
    height: 100%;
}
/*#legend-container {
  -ms-grid-row: 7;
  -ms-grid-row-span: 6;
  grid-row: 7 / span 6;
  -ms-grid-column: 5;
  -ms-grid-column-span: 1;
  grid-column: 5 / span 1;
  overflow: auto;
}*/
#legend-container {
    -ms-grid-row: 9;
    -ms-grid-row-span: 6;
    grid-row: 9 / span 4;
    -ms-grid-column: 5;
    -ms-grid-column-span: 1;
    grid-column: 1/ span 1;
    overflow: auto;
}
/*#summary-container {
  -ms-grid-row: 1;
  -ms-grid-row-span: 6;
  grid-row: 1 / span 6;
  -ms-grid-column: 5;
  -ms-grid-column-span: 4;
  grid-column: 5 / span 4;
}*/


#summary-container {
    display: none;
    -ms-grid-row: 1;
    -ms-grid-row-span: 6;
    grid-row: 1 / span 6;
    -ms-grid-column: 5;
    -ms-grid-column-span: 4;
    grid-column: 5 / span 4;
}

#summary-container1 {
    background-color: white;
    -ms-grid-row: 1;
    -ms-grid-row-span: 6;
    grid-row: 1 / span 6;
    -ms-grid-column: 5;
    -ms-grid-column-span: 4;
    grid-column: 5 / span 4;
    /*z-index:2*/
}


/*#alerts-container {
  -ms-grid-row: 7;
  -ms-grid-row-span: 4;
  grid-row: 7 / span 4;
  -ms-grid-column: 6;
  -ms-grid-column-span: 3;
  grid-column: 6 / span 3;
}*/
#alerts-container {
    -ms-grid-row: 9;
    -ms-grid-row-span: 4;
    grid-row: 9 / span 4;
    -ms-grid-column: 6;
    -ms-grid-column-span: 3;
    grid-column: 2/ span 3;
}

/*#alerts-legend-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
  grid-template-columns: repeat(3, 1fr);
  -ms-grid-row: 11;
  -ms-grid-row-span: 2;
  grid-row: 11 / span 2;
  -ms-grid-column: 6;
  -ms-grid-column-span: 3;
  grid-column: 6 / span 3;
  padding: 0.5rem;
  overflow: auto;
}*/

#current-datetime-container {
    display: none;
}

#archive-container {
    display: none;
}

#forecast-container {
    display: none;
}

#compare-tool-container {
    display: none;
}

#compare-map-container {
    display: none;
}

#legend_second-container {
    display: none;
    overflow: auto;
}

#toast-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 100;
}

#toast {
    visibility: hidden;
    position: fixed;
    top: 10%;
    z-index: 100;
    background-color: rgba(62, 10, 36, 0.8);
    color: #fff;
    font-size: 1rem;
    text-align: center;
    border-radius: 2px;
    padding: 1rem;
}

#loading-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 0;
}

    #loading-container > img {
        width: 1.75rem;
        z-index: 100;
    }

nav > #logo , nav > #biharLogo {
    float: left;
    width: 2rem;
    height: 2rem;
    background: white;
    border-radius: 50%;
    margin: 0.25rem;
    /*padding: 0.25rem;*/
}

nav > #title {
    float: left;
    /* color: white; */
    letter-spacing: 1.5px;
    font-size: 1.25rem;
    /*margin: 0.5rem;*/
    margin-top: auto;
    margin-bottom: auto;
    padding: 0rem;
    text-transform: uppercase;
}

nav > #titleHindi {
    float: left;
    /* color: white; */
    letter-spacing: 1.5px;
    font-size: 1.5rem;
    /*margin: 0.5rem;*/
    margin-top: auto;
    margin-bottom: auto;
    padding: 0rem;
    text-transform: uppercase;
}

nav > ul {
    float: right;
}

    nav > ul > li {
        float: right;
        padding: 0.75rem 1rem;
        margin: 0rem;
        font-size: 0.8rem;
        text-transform: uppercase;
        text-decoration: none;
    }

        nav > ul > li > a {
            text-decoration: none;
            color: white;
            letter-spacing: 2px;
            cursor: pointer;
        }

        nav > ul > li:hover {
            background: #b56200;
        }

        nav > ul > li.highlight {
            background: #b56200;
        }

hr {
    margin: 0.5em;
}

.esriLegendService {
    padding-top: 5px;
}

    .esriLegendService table td {
        vertical-align: middle;
        /*align-items:flex-start;
  font-size-adjust: inherit;
  scroll-behavior:auto;
  text-indent:each-line;
  text-combine-upright:all;*/
        /*
  text-align: justify-all;
  text-size-adjust:auto;
*/
        /*  scrollbar-base-color:aqua;
  word-wrap:break-word;*/
        padding: 0px -1px 3px 5px;
    }
/*
    .esriLegendService table {
        text-indent: hanging;
    }*/
/*.esriLegendServiceLabel {
  padding: 5px 10px;
}*/
.esriLegendServiceLabel {
    padding: 5px 5px;
    /*align-content: flex-start;*/
    /*text-size-adjust:auto;*/
    /* text-align: right;
*/
}
.esriLegendLayer {
    margin-left: 5px;
}
.app-title-bar {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    font-size: 1.1rem;
    /* height: 2rem; */
    background: #fafbfc;
    color: black;
    padding: 5px 10px;
    border-bottom: 1px solid #b0b1b2;
    ;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    /*max-width: 50%;*/
}

.hide {
    display: none;
}

.customScrollBar,
body {
    -ms-overflow-style: -ms-autohiding-scrollbar;
    scrollbar-color: #fafbfc transparent;
    scrollbar-width: thin;
}
/*.customScrollBar {
    scroll-behavior: smooth;

}*/
.play-pause-button {
    border: 0;
    padding: 0;
    background: transparent;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 0;
    height: 1.3rem;
    border-color: transparent transparent transparent #202020;
    -webkit-transition: 100ms all ease;
    -o-transition: 100ms all ease;
    transition: 100ms all ease;
    cursor: pointer;
    border-style: solid;
    border-width: 0.7rem 0 0.7rem 1.1rem;
}

    .play-pause-button.paused {
        border-style: double;
        border-width: 0px 0 0px 1.1rem;
    }

    .play-pause-button:hover {
        border-color: transparent transparent transparent #404040;
    }

    .play-pause-button:focus {
        outline: none;
    }

    .play-pause-button.hide {
        display: none;
    }

.arrow-button {
    background-repeat: no-repeat;
    height: 1.7rem;
    width: 1.7rem;
    position: relative;
    top: -0.2rem;
    background-color: transparent;
    border: none;
}

    .arrow-button > img {
        height: 1.7rem;
    }

    .arrow-button:focus {
        outline: none;
    }

    .arrow-button:hover {
        -webkit-transform: scale(1.1, 1.1);
        -ms-transform: scale(1.1, 1.1);
        transform: scale(1.1, 1.1);
    }

.loadingImg {
    position: absolute;
    right: 50%;
    top: 50%;
    width: 1.5rem;
    z-index: 100;
}

.layerselect {
    overflow: hidden;
    border: none;
    border-bottom: 3px solid #CC9900;
    font-family: Windows;
    font-size: 14pt;
    color: #FFFFFF;
    background: #000000;
}

#map {
    /*height: 100%;*/
    width: 100%;
    height: calc(100% - 4rem);
    /*height: calc(100% - 1rem);*/
    position: relative;
}

#HomeButton {
    position: absolute;
    top: 115px;
    left: 20px;
    z-index: 50;
}

#buttonDiv {
    position: relative;
    float: right;
    right: 0px;
    top: 0px;
    z-Index: 999;
}

#backbtn, #bkbtn {
    position: relative;
    float: right;
    right: 0px;
    top: 0px;
    z-Index: 999;
    display: none;
}

#alerts-legend-container img {
    width: 1rem;
}

#tooltipDialog {
    position: absolute;
    width: 175px;
    font: normal normal normal 10pt Lato;
    z-index: 100;
    opacity: 1;
    color: black;
    /*  background: #b56200; */
}

#toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#legend-name {
    font-size: 0.8em;
    color: darkslategray;
}

@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 10%;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 10%;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 10%;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 10%;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}
/*@media screen and (max-height: 810px) {
    #graph-area {
        display: grid !important;
        grid-template-columns: 20% 80% !important;
        grid-template-rows: 70% !important;
    }
}*/



@media screen and (max-width: 600px) {
    /*Mobile Specific css by Faizan*/


    main {
        width: 100%;
        height: 100%;
        background-color: #fff;
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr;
        grid-template-columns: repeat(8, 1fr);
        -ms-grid-rows: 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr;
        grid-template-rows: repeat(12, 1fr);
        grid-gap: 8px;
        padding: 2px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        overflow: hidden;
    }

    #NationalH {
        position: absolute;
        top: 100px;
        left: 1.5rem;
        z-index: 50;
    }

    #MajorR {
        position: absolute;
        top: 120px;
        left: 1.5rem;
        z-index: 50;
    }

    #graph-container {
        display: none;
    }

    #Rivers {
        position: absolute;
        top: 130px;
        left: 1.2rem;
        z-index: 50;
    }

    nav > #title {
        float: left;
        /* color: white; */
        letter-spacing: 0.5px;
        font-size: 0.62rem;
        /*margin: 0.2rem;*/
        margin-top: auto;
        margin-bottom: auto;
        padding: 0rem;
        text-transform: uppercase;
    }

    nav > #titleHindi {
        float: left;
        /* color: white; */
        letter-spacing: 0.5px;
        font-size: 0.8rem;
        /*margin: 0.2rem;*/
        margin-top: auto;
        margin-bottom: auto;
        padding: 0rem;
        text-transform: uppercase;
    }

    #changeLang {
        font-size: 0.62rem;
    }

    nav > ul > li {
        float: right;
        padding: 0.75rem 1rem;
        margin: 0rem;
        font-size: 0.6rem;
        text-transform: uppercase;
        text-decoration: none;
    }

    #map-container {
        -ms-grid-row: 1 !important;
        -ms-grid-row-span: 6;
        grid-row: 1/span 6 !important;
        -ms-grid-column: 1;
        -ms-grid-column-span: 4;
        grid-column: 1/span 8 !important;
    }

    .map .esriMapContainer {
        position: relative;
        border: none;
        padding: 0px;
        margin: 0px;
        left: 0px;
        top: -1rem;
        width: 100%;
        /*height: 100%;*/
        text-align: left;
        Z-INDEX: 1;
        transform: scale(0.9);
        overflow: visible;
    }

    #summary-container1 {
        display: none
    }

    /*#depricated_section {
        display: none;
    }*/

    /*#summary-container {
        display: block;
    }*/

    #depricated_section {
        display: none !important;
    }

    #legend_trgTws_fc_trgTws > table.esriLegendLayer > tbody > tr:nth-child(1) {
        display: none;
    }




    #summary-container {
        -ms-grid-row: 1;
        -ms-grid-row-span: 6;
        grid-row: 8 / span 11 !important;
        -ms-grid-column: 5 !important;
        -ms-grid-column-span: 4;
        grid-column: 1/ span 8 !important;
    }

    #tooltipDialog {
        position: absolute;
        width: 90px;
        font: normal normal normal 8pt Lato;
        z-index: 100;
        opacity: 1;
        color: black;
        /* background: #b56200; */
    }

    #map {
        height: 100%;
        width: 100%;
        /* height: calc(100% - 0.5rem);
            width: calc(100% - 0.5rem);*/
        /* height: calc(100% - 1rem); */
        position: relative;
    }

    .tundra .dijitTooltip, .tundra .dijitTooltipDialog {
        background: transparent;
    }

    .dijitTooltipBelow {
        padding-top: 6px;
        padding-left: 1px;
        padding-right: 1px;
    }

    .div {
        background-color: #002266;
        color: white;
        opacity: 1;
        height: 70px;
        width: 75px;
        font: normal normal normal 6pt Lato;
    }

    .dj_webkit .tundra .dijitTooltipContainer {
        -webkit-box-shadow: 0 5px 10px #adadad;
    }

    .tundra .dijitTooltipContainer {
        background: #ffffff url(images/popupMenuBg.gif) repeat-x bottom left;
        border: 1px solid #7eabcd;
        padding: 0.45em;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
    }

    .dijitTooltipFocusNode {
        padding: 0;
    }

    #summary-table th {
        position: fixed;
        /*position: -webkit-sticky;*/
        font-size: 10px;
        /*position: sticky;*/
        top: 53px;
        padding: 0.2rem;
        font-weight: normal;
        background-color: #fbfcfd;
        vertical-align: middle;
    }

    #alerts-container {
        display: none;
    }

    #legend-container {
        -ms-grid-row: 6 ;
        -ms-grid-row-span: 6;
        grid-row: 7 / span 1 ;
        -ms-grid-column: 5;
        -ms-grid-column-span: 1;
        grid-column: 1/ span 8 ;
        overflow: auto ;
        font-size: 8px ;
        line-height: 1px ;
        Z-INDEX: 1 ;
    }

    #legend {
        width: auto;
        height: auto;
        font-size: 10px;
    }

    .esriLegendServiceLabel {
        display: none;
        /* padding: 1px 0px; */
        font-size: 8px;
        /* align-content: flex-start; */
        /* text-size-adjust: auto; */
        /* text-align: right; */
    }

    .esriLegendService {
        padding: 0px 0px;
        font-size: 6px;
        /* align-content: flex-start; */
        /* text-size-adjust: auto; */
        /* text-align: right; */
    }

        .esriLegendService table td {
            vertical-align: text-top;
            padding: 0px 2px 1px 1px;
            float: left;
            font-size: 6px;
            /*display: flex;*/
        }

    #alerts-container {
        display: none;
    }

    .app-title-bar {
        position: -webkit-sticky; /* Safari */
        position: sticky;
        top: 0;
        z-index: 50;
        width: 100%;
        font-size: 0.8rem;
        /* height: 2rem; */
        background: #fafbfc;
        color: black;
        padding: 5px 10px;
        border-bottom: 1px solid #b0b1b2;
    }

    select,
    input,
    textarea {
        font: 88% sans-serif;
    }

    .legend_titleM {
        position: -webkit-sticky; /* Safari */
        position: sticky;
        top: 0;
        z-index: 50;
        width: 100%;
        font-size: 8px;
        /* height: 2rem; */
        background: #fafbfc;
        color: black;
        padding: 1px 2px;
        border-bottom: 1px solid #b0b1b2;
    }

    .ellipsis {
        white-space: nowrap;
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        max-width: 50%;
    }

    .RCum_Small_title {
        white-space: unset;
        overflow: hidden;
        -o-text-overflow: unset;
        text-overflow: unset;
        font-size: 0.6rem;
        max-width: 65%;
        /* display: inline-block;
        overflow-wrap: break-word;*/
    }

    .dropdown_nav {
        overflow: hidden;
        z-index: 4;
        border: none;
        border-bottom: 3px solid #CC9900;
        font-family: Windows;
        font-size: 9pt;
        color: #FFFFFF;
        background: #000000;
        /* display: flex */
    }

    #fullScreen {
        display: none;
    }

    #BasemapToggle {
        position: absolute;
        top: 25px;
        right: 10px;
        z-index: 50;
    }

    .BasemapToggle .basemapImage {
        width: 40px;
        height: 40px;
        overflow: hidden;
    }

    .esriSimpleSliderTL {
        top: 25px;
        left: -10px;
    }

    .esriSimpleSlider div {
        width: auto;
        height: auto;
        font-size: 24px;
        font-family: verdana,helvetica;
        line-height: 25px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        cursor: pointer;
    }

    .esriLegendService table tr {
        /*vertical-align: middle;*/

        padding: 0px 2px 1px 1px;
        display: flex;
        float: left;
        /*vertical-align: inherit;*/
        border-color: inherit;
    }


    #HomeButton {
        position: absolute;
        top: 75px;
        left: 6px;
        z-index: 50;
    }

    .esriControlsBR {
        display: none;
        position: absolute;
        right: 5px;
        bottom: 5px;
        z-index: 30;
        text-align: right;
        pointer-events: none;
    }

    .HomeButton .home {
        padding: 2px;
        width: 20px;
        height: 20px;
    }

    element.style {
        width: 402px;
        height: 416px;
        direction: ltr;
    }

    .esriSimpleSliderTL {
        top: 0.5rem;
        left: -1.2rem;
    }

    #HomeButton {
        position: absolute;
        top: 4.5rem;
        left: 0.2rem;
        z-index: 50;
    }

    #NationalH {
        position: absolute;
        top: 6.5rem;
        left: 0.2rem;
        z-index: 50;
    }

    #MajorR {
        position: absolute;
        top: 8rem;
        left: 0.2rem;
        z-index: 50;
    }

    #Rivers {
        position: absolute;
        top: 10rem;
        left: 0.2rem;
        z-index: 50;
    }

    #BasemapToggle {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        z-index: 50;
    }
}

@media screen and (max-width:1150px) {
    #summary-container1 {
        display: none
    }

    /*#summary-container {
        display: block;
    }*/

    #summary-container {
        display: block;
        -ms-grid-row: 1;
        -ms-grid-row-span: 6;
        grid-row: 1 / span 8;
        -ms-grid-column: 5;
        -ms-grid-column-span: 4;
        grid-column: 5 / span 4;
    }

    #depricated_section {
        display: none !important;
    }

    #legend-container {
        -ms-grid-row: 9;
        -ms-grid-row-span: 6;
        grid-row: 9 / span 4;
        -ms-grid-column: 5;
        -ms-grid-column-span: 1;
        grid-column: 5/ span 1;
        overflow: auto;
    }

    #alerts-container {
        -ms-grid-row: 9;
        -ms-grid-row-span: 4;
        grid-row: 9 / span 4;
        -ms-grid-column: 6;
        -ms-grid-column-span: 3;
        grid-column: 6 / span 3;
    }

    #map-container {
        -ms-grid-row: 1;
        -ms-grid-row-span: 12;
        grid-row: 1 / span 12;
        -ms-grid-column: 1;
        -ms-grid-column-span: 4;
        grid-column: 1 / span 4;
    }

    #map {
        height: 100%;
    }

    #analytics-button {
        display: none;
    }
}
@media screen and (max-width: 375px) {
    nav > #title {
        float: left;
        /* color: white; */
        letter-spacing: 0.5px;
        font-size: 0.62rem;
        /*margin: 0.2rem;*/
        margin-top: auto;
        margin-bottom: auto;
        padding: 0rem;
        text-transform: uppercase;
    }

    nav > #titleHindi {
        float: left;
        /* color: white; */
        letter-spacing: 0.5px;
        font-size: 0.8rem;
        /*margin: 0.2rem;*/
        margin-top: auto;
        margin-bottom: auto;
        padding: 0rem;
        text-transform: uppercase;
    }
    #changeLang {
        font-size: 0.62rem;
    }

    .map .esriMapContainer {
        position: relative;
        border: none;
        padding: 0px;
        margin: 0px;
        left: 0px;
        top: -1rem;
        width: 100%;
        height: 100%;
        text-align: left;
        Z-INDEX: 1;
        transform: scale(1.2);
        overflow: visible;
    }

    #NationalH {
        position: absolute;
        top: 6.5rem;
        left: 0.2rem;
        z-index: 50;
    }
}



/*@media screen and (max-width: 375px) and (max-height: 640px) {

    #map {
        height: 100% !important;
        width: 100% !important;*/
/* height: calc(100% -2rem);
        width: calc(100% - 2rem);
        height: calc(100% - 1rem); */
/*position: relative !important;
    }
    .map .esriMapContainer {
        position: relative !important;
        border: none !important;
        padding: 0px !important;
        margin: 0px !important;
        left: 0px !important;
        top: -1rem;
        width: 100% !important;
        height: 100% !important;
        text-align: left;
        Z-INDEX: 1;
        transform: scale(0.8) !important;
        overflow: visible !important;
    }
    #legend_trgTws_fc_trgTws > table.esriLegendLayer {
        width: auto;
    }

    .esriSimpleSliderTL {
        top: 0.5rem;
        left: -2.5rem;
    }
    #HomeButton {
        position: absolute;
        top: 4.5rem;
        left: 0.2rem;
        z-index: 50;
    }
    #BasemapToggle {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        z-index: 50;
    }
    #graph-container {
        display: none;
    }
}*/


@media screen and (max-width: 375px) and (max-height: 640px) {

    #map {
        height: 100%;
        width: 100%;
        /* height: calc(100% -2rem);
        width: calc(100% - 2rem);
        height: calc(100% - 1rem); */
        position: relative;
    }

    .map .esriMapContainer {
        position: relative;
        border: none;
        padding: 0px;
        margin: 0px;
        left: 0px;
        top: -1rem;
        width: 100%;
        height: 100%;
        text-align: left;
        Z-INDEX: 1;
        transform: scale(1);
        overflow: visible;
    }

    #legend_trgTws_fc_trgTws > table.esriLegendLayer {
        width: auto;
    }

    .esriSimpleSliderTL {
        top: 0.5rem;
        left: -2.5rem;
    }

    #HomeButton {
        position: absolute;
        top: 4.5rem;
        left: 0.2rem;
        z-index: 50;
    }

    #BasemapToggle {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        z-index: 50;
    }
}
/*small screen till 359 ppx*/

/*small screen till 359 ppx*/

/*@media screen and (max-width: 320px) {
    nav > #title {
        float: left;*/
/* color: white; */
/*letter-spacing: 0.5px;
        font-size: 0.62rem;
        margin: 0.5rem;
        padding: 0rem;
        text-transform: uppercase;
    }


    #map {
        width: 100% !important;
        height: 100% !important;*/
/*width: 100%;
        height: 100%;*/
/*position: relative !important;
    }
    .map .esriMapContainer {
        position: relative;
        border: none;
        padding: 0px;
        margin: 0px;
        left: 0px;
        top: -1rem;
        width: 100%;
        height: 100%;
        text-align: left;
        Z-INDEX: 1;
        transform: scale(1.03);
        overflow: visible;
    }
    .esriSimpleSlider div {
        width: auto;
        height: auto;
        font-size: 16px;
        font-family: verdana,helvetica;
        line-height: 20px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        cursor: pointer;
    }

    .esriSimpleSliderTL {
        display:'none'
    }
    

    #HomeButton {
        position: absolute;
        top: 4.5rem;
        left: 0.2rem;
        z-index: 50;
    }

    #BasemapToggle {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        z-index: 50;
    }

    #summary-table th {
        position: fixed;
        font-size: 8px;*/
/* position: sticky; */
/*top: 53px;
        padding: 0.2rem;
        font-weight: normal;
        background-color: #fbfcfd;
        vertical-align: middle;
    }
    #graph-container{
        display:none;
    }
    
}*/

@media screen and (max-width: 320px) {
    main {
        width: 100%;
        /*height: calc(100%);*/
        height: 100%;
        background-color: #fff;
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr;
        grid-template-columns: repeat(8, 1fr);
        -ms-grid-rows: 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr;
        grid-template-rows: repeat(12, 1fr);
        grid-gap: 0px;
        padding: 0px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        overflow: hidden;
    }

    nav > #title {
        float: left;
        /* color: white; */
        letter-spacing: 0.5px;
        font-size: 0.62rem;
        /*margin: 0.5rem;*/
        margin-top: auto;
        margin-bottom: auto;
        padding: 0rem;
        text-transform: uppercase;
    }

    nav > #titleHindi {
        float: left;
        /* color: white; */
        letter-spacing: 0.5px;
        font-size: 0.8rem;
        /*margin: 0.5rem;*/
        margin-top: auto;
        margin-bottom: auto;
        padding: 0rem;
        text-transform: uppercase;
    }

    #changeLang {
        font-size: 0.62rem;
    }


    #map {
        /* width: calc(100% - 1rem);
        height: calc(100% - 1rem);*/
        width: 100%;
        height: 100%;
        position: relative;
    }

    .map .esriMapContainer {
        position: relative;
        border: none;
        padding: 0px;
        margin: 0px;
        left: 0px;
        top: -1rem;
        width: 100%;
        height: 100%;
        text-align: left;
        Z-INDEX: 1;
        transform: scale(1.1);
        overflow: visible;
    }

    .esriSimpleSlider div {
        width: auto;
        height: auto;
        font-size: 16px;
        font-family: verdana,helvetica;
        line-height: 20px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        cursor: pointer;
    }

    .esriSimpleSliderTL {
        top: 2rem;
        left: 1rem;
    }


    #HomeButton {
        position: absolute;
        top: 4.5rem;
        left: 0.2rem;
        z-index: 50;
    }

    #BasemapToggle {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        z-index: 50;
    }

    #summary-table th {
        position: fixed;
        font-size: 8px;
        /* position: sticky; */
        top: 53px;
        padding: 0.2rem;
        font-weight: normal;
        background-color: #fbfcfd;
        vertical-align: middle;
    }

    #summary-table td {
        font-size: 8px;
        padding: 0.2rem;
        text-align: center;
        /* animation: moveSlideshow 5s linear infinite; */
        /* color: white; */
    }
}


#analytics-container {
    margin-top: 100px;
    position: absolute;
    height: 4em;
    width: 1em;
    right: 1px;
    background-color: #002266;
    color: white;
    z-index: 999;
    /*top: 50px;*/
}

#graph-container {
    margin-top: 10em;
    position: absolute;
    /*height: 4em;*/
    width: 1rem;
    right: 1rem;
    /*background-color: #002266;*/
    color: white;
    z-index: 999;
    /*top: 50px;*/
    /*-webkit-transform: rotate(270deg);*/ /* For WebKit browsers */
    /*-moz-transform: rotate(270deg);*/ /* For Mozilla browsers */
    /*-ms-transform: rotate(270deg);*/ /* For Microsoft browsers */
    transform: rotate(270deg);
}

#analytics-button {
    display: 'block';
    height: 3vh;
    width:5vw;
    color: white;
    Background: #002266;
    font-weight: normal;
}

/*#analytics-container:hover {
    background-color:white;

    button{
              display:block;
          }
}*/

#menu_option {
    /*display: flex;*/
    display: none;
    justify-content: flex-end;
    margin-left: auto;
    /*margin-right:5rem;*/
    /*top:0.5rem;
    position: relative;
}
#Menu_icon{
    /*z-index:-2;*/
    margin-right: 2%;
}

#Donwload_icon {
    /*z-index: -2;*/
    margin-right: 1%;
}

#close_chart_div {
    display: flex;
    /*justify-content: flex-end;*/
    font-weight: bold;
    margin-left: 1.1em;
    height: 2rem;
    align-items: center;
}

#chart_close {
    margin-left: 5px;
    margin-bottom: 10px;
}

#graph-area {
    display: grid;
    grid-template-columns: 20% 100%;
}

#myChart {
    height: 90% !important;
}

#Pie_Chart {
    display: grid;
    /*flex-wrap:wrap;*/
    grid-template-rows: 2rem;
    height: 90%;
}

    #Pie_Chart > span {
        margin-left: 1.1rem;
    }

#Line_Chart {
    width: 70%;
    margin-left: 2rem;
    margin-top: 1%;
    height:90% !important;
}

@media screen and (max-width: 913px){
    /*Mobile Specific css by Faizan*/
    /* main { */
    /* width: 100%; */
    /* height: calc(100% - 2.5rem); */
    /* background-color: #fff; */
    /* display: -ms-grid; */
    /* display: grid; */
    /* -ms-grid-columns: 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr; */
    /* grid-template-columns: repeat(8, 1fr); */
    /* -ms-grid-rows: 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr; */
    /* grid-template-rows: repeat(12, 1fr); */
    /* grid-gap: 8px; */
    /* padding: 2px; */
    /* -webkit-box-sizing: border-box; */
    /* box-sizing: border-box; */
    /* overflow: hidden; */
    /* } */
    main {
        width: 100%;
        /*height: calc(100%);*/
        height: 100%;
        background-color: #fff;
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr;
        grid-template-columns: repeat(8, 1fr);
        -ms-grid-rows: 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr;
        grid-template-rows: repeat(12, 1fr);
        grid-gap: 0px;
        padding: 0px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        overflow: hidden;
    }

    nav > #title {
        float: left;
        /* color: white; */
        letter-spacing: 0.5px;
        font-size: 0.62rem;
        /*margin: 0.2rem;*/
        margin-top: auto;
        margin-bottom: auto;
        padding: 0rem;
        text-transform: uppercase;
    }

    nav > #titleHindi {
        float: left;
        /* color: white; */
        letter-spacing: 0.5px;
        font-size: 0.8rem;
        /*margin: 0.2rem;*/
        margin-top: auto;
        margin-bottom: auto;
        padding: 0rem;
        text-transform: uppercase;
    }

    #changeLang {
        font-size: 0.62rem;
    }

    #map-container {
        -ms-grid-row: 1;
        -ms-grid-row-span: 11;
        grid-row: 1/span 6;
        -ms-grid-column: 1;
        -ms-grid-column-span: 4;
        grid-column: 1/span 8;
    }

    nav > ul > li {
        float: right;
        padding: 0.75rem 0rem;
        margin: 0rem;
        font-size: 0.6rem;
        text-transform: uppercase;
        text-decoration: none;
    }

    #NationalH {
        position: absolute;
        top: 100px;
        left: 3.5px;
        z-index: 50;
    }

    #MajorR {
        position: absolute;
        top: 120px;
        left: 3.5px;
        z-index: 50;
    }

    #Rivers {
        position: absolute;
        top: 140px;
        left: 3.5px;
        z-index: 50;
    }

    .map .esriMapContainer {
        position: relative;
        border: none;
        padding: 0px;
        margin: 0px;
        left: 0px;
        top: -10px;
        width: 100%;
        height: 100%;
        text-align: left;
        Z-INDEX: 1;
        transform: scale(1.2);
        overflow: visible;
    }

    #summary-container {
        -ms-grid-row: 1;
        -ms-grid-row-span: 6;
        grid-row: 8 / span 11;
        -ms-grid-column: 5;
        -ms-grid-column-span: 4;
        grid-column: 1/ span 8;
    }

    #tooltipDialog {
        position: absolute;
        width: 90px;
        font: normal normal normal 8pt Lato;
        z-index: 100;
        opacity: 1;
        color: black;
        /* background: #b56200; */
    }

    #map {
        height: 100%;
        width: 100%;
        /* height: calc(100% - 2rem); */
        /* height: calc(100% - 1rem); */
        position: relative;
    }

    .tundra .dijitTooltip, .tundra .dijitTooltipDialog {
        background: transparent;
    }

    .dijitTooltipBelow {
        padding-top: 6px;
        padding-left: 1px;
        padding-right: 1px;
    }

    .div {
        background-color: #002266;
        color: white;
        opacity: 1;
        height: 70px;
        width: 75px;
        font: normal normal normal 6pt Lato;
    }

    .dj_webkit .tundra .dijitTooltipContainer {
        -webkit-box-shadow: 0 5px 10px #adadad;
    }

    .tundra .dijitTooltipContainer {
        background: #ffffff url(images/popupMenuBg.gif) repeat-x bottom left;
        border: 1px solid #7eabcd;
        padding: 0.45em;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
    }

    .dijitTooltipFocusNode {
        padding: 0;
    }

    #summary-table th {
        position: fixed;
        /*position: -webkit-sticky;*/
        font-size: 10px;
        /*position: sticky;*/
        top: 53px;
        padding: 0.2rem;
        font-weight: normal;
        background-color: #fbfcfd;
        vertical-align: middle;
    }

    #alerts-container {
        display: none;
    }

    #legend-container {
        -ms-grid-row: 6;
        -ms-grid-row-span: 6;
        grid-row: 7 / span 1;
        -ms-grid-column: 5;
        -ms-grid-column-span: 1;
        grid-column: 1/ span 8;
        overflow: auto;
        font-size: 8px;
        line-height: 1px;
        Z-INDEX: 1;
    }

    #legend {
        width: auto;
        height: auto;
        font-size: 10px;
    }

    .esriLegendServiceLabel {
        display: none;
        /* padding: 1px 0px; */
        font-size: 8px;
        /* align-content: flex-start; */
        /* text-size-adjust: auto; */
        /* text-align: right; */
    }

    .esriLegendService {
        padding: 0px 0px;
        font-size: 6px;
        /* align-content: flex-start; */
        /* text-size-adjust: auto; */
        /* text-align: right; */
    }

        .esriLegendService table {
            width = 100%;
        }

            .esriLegendService table td {
                vertical-align: text-top;
                padding: 0px;
                float: left;
                font-size: 8px;
                /*display: flex;*/
            }

    #alerts-container {
        display: none;
    }

    .app-title-bar {
        position: -webkit-sticky; /* Safari */
        position: sticky;
        top: 0;
        z-index: 50;
        width: 100%;
        font-size: 0.8rem;
        /* height: 2rem; */
        background: #fafbfc;
        color: black;
        padding: 5px 10px;
        border-bottom: 1px solid #b0b1b2;
    }

    #legend_trgTws_fc_trgTws > table.esriLegendLayer > tbody > tr:nth-child(1) {
        display: none;
    }

    




    select,
    input,
    textarea {
        font: 88% sans-serif;
        z-Index: 1;
    }

    .legend_titleM {
        position: -webkit-sticky; /* Safari */
        position: sticky;
        top: 0;
        z-index: 50;
        width: 100%;
        font-size: 8px;
        /* height: 2rem; */
        background: #fafbfc;
        color: black;
        padding: 1px 2px;
        border-bottom: 1px solid #b0b1b2;
    }

    .ellipsis {
        white-space: nowrap;
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        max-width: 50%;
    }

    .RCum_Small_title {
        white-space: unset;
        overflow: hidden;
        -o-text-overflow: unset;
        text-overflow: unset;
        font-size: 0.6rem;
        max-width: 65%;
        /* display: inline-block;
        overflow-wrap: break-word;*/
    }

    .dropdown_nav {
        overflow: hidden;
        z-index: 4;
        border: none;
        border-bottom: 3px solid #CC9900;
        font-family: Windows;
        font-size: 9pt;
        color: #FFFFFF;
        background: #000000;
        /* display: flex */
    }

    #fullScreen {
        display: none;
    }

    #BasemapToggle {
        position: absolute;
        top: 25px;
        right: 10px;
        z-index: 50;
    }

    .BasemapToggle .basemapImage {
        width: 40px;
        height: 40px;
        overflow: hidden;
    }

    .esriSimpleSliderTL {
        top: 15px;
        left: -15px;
    }

    .esriSimpleSlider div {
        width: auto;
        height: auto;
        font-size: 24px;
        font-family: verdana,helvetica;
        line-height: 25px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        cursor: pointer;
    }

    .esriLegendService table tr {
        /*vertical-align: middle;*/

        padding: 0px;
        display: flex;
        float: left;
        /*vertical-align: inherit;*/
        border-color: inherit;
    }

    #esriMapContainer {
    }

    #map {
        /*width: 2390px;
        height:2386px;
        overflow: visible;
*/
    }

    #map_gc {
        width: 300px;
        height: 306px;
        overflow: visible;
    }

    #map_layers {
        width: 300px;
        height: 306px;
        direction: ltr;
    }
    /*style attribute {
        width: 430px;
        height: 426px;
        direction: ltr;
    }*/
    #HomeButton {
        position: absolute;
        top: 75px;
        left: 6px;
        z-index: 50;
    }

    .esriControlsBR {
        display: none;
        position: absolute;
        right: 5px;
        bottom: 5px;
        z-index: 30;
        text-align: right;
        pointer-events: none;
    }

    .HomeButton .home {
        padding: 2px;
        width: 20px;
        height: 20px;
    }

    element.style {
        width: 402px;
        height: 416px;
        direction: ltr;
    }

    .esriSimpleSliderTL {
        top: 0.5rem;
        left: -2rem;
    }

    #HomeButton {
        position: absolute;
        top: 4.8rem;
        left: 0.2rem;
        z-index: 50;
    }

    #BasemapToggle {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        z-index: 50;
    }
}
@media screen and (max-height: 850px) {
    #Line_Chart {
        width: 70%;
        height: 80%;
        margin-left: 2rem;
        margin-top: 1%;
    }

    #Pie_Chart {
        display: grid;
        /*flex-wrap:wrap;*/
        grid-template-rows: 1.5rem;
        height: 85%;
    }

    #deficit_Legend {
        font-size: 8px !important;
    }

    #TempLegendDiv {
        display: none;
        font-size: 8px !important;
    }
}

@media screen and (max-width: 1700px) {
    #deficit_Legend {
        font-size: 10px !important;
    }

    #TempLegendDiv {
        display: none;
        font-size: 8px !important;
    }
}

#DistrictSelect, #Block-for-graph, #Block-dropdown, #Category-graph, #Category-select, #fromSpan, #fromMonth, #toSpan, #toMonth, #dropdown, #dropdown_span, #close_span, #close_button {
    margin: 0 0 1rem 1rem;
    /*margin-left:1.5rem*/
}

#graph-option {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

#DistrictSelect, #Block-dropdown, #Category-select, #dropdown_button, #Chart_reset {
    border-radius: 8px;
}

#menu-div {
    background-color: white;
    /*background-color:cornflowerblue;*/
    display: none;
    width: 7rem;
    /*height:8rem;*/
    position: absolute;
    right: 5.4rem;
    top: 9.1rem;
    border-width: 1.2px;
    border-style: solid;
    border-color: gray;
    box-shadow: 2px 2px 2px 2px #888888
}

    #menu-div > ul {
        margin: 0.2rem 0 0 0;
    }

        #menu-div > ul > li {
            padding: 0 0 0.5rem 0.5rem
        }

#download-ul :hover {
    background-color: deepskyblue;
    color: white;
}

#pieChartCanvas1, #pieChartCanvas2, #pieChartCanvas3 {
    width: 9rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1rem auto;
    /*margin-left: 1.1rem;
    margin-bottom: -5px;
    display: flex;
    flex-direction: column;
    align-items: center;*/
}

#Weather-heading {
    font-size: 12px;
    font-weight: bold;
    /*text-align: center;*/
    display: flex;
    justify-content: center;
    align-items: center
}
/*For the Bucket */
#pieChartCanvas1 > span, #pieChartCanvas2 > span, #pieChartCanvas3 > span {
    font-size: 12px;
    text-align: center;
    /*margin-left: 1.1rem;*/
}

#first-half-Canvas1, #first-half-Canvas2, #first-half-Canvas3 {
    grid-row: 2;
    text-align: center;
    align-content: center;
    margin-top: -15px;
}

#second-half-Canvas1, #second-half-Canvas2, #second-half-Canvas3 {
    grid-row: 1;
    grid-column: 2
}
/* Styling the bucket container */
.bucket {
    grid-column: 2;
    width: 35%;
    height: 60%;
    border-left: 5px solid #654321;
    border-right: 5px solid #654321;
    border-bottom: 5px solid #654321;
    border-top: none; /* No top border */
    border-radius: 0 0 25% 25%; /* Only round the bottom */
    position: relative;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.4); /* To give a 3D effect */
    margin: 5px auto;
    background-color: transparent; /* No background color */
}

/* Creating the water inside the bucket */
.water {
    width: 100%; /* Adjusting width to fit inside the border */
    /*height: 0%;*/ /* Start with no water */
    background: linear-gradient(to top, #3498db, #5dade2); /* Water gradient */
    position: absolute;
    bottom: 0; /* Water starts at the bottom */
    left: 0;
    border-radius: 0 0 10% 10%; /* Match bucket's bottom curve */
    /*animation: fillWater 5s ease-in-out infinite;*/ /* Simulate water filling infinitely */
}

/* Spilling water on the floor */
.spill {
    width: 60px;
    height: 15px;
    background: #3498db;
    position: absolute;
    bottom: -10px;
    left: -20px;
    border-radius: 50%;
    opacity: 0;
    z-index: 0;
}

/* Keyframes for water filling up */
@keyframes fillWater {
    0% {
        height: 60%;
    }
    /*50% {
        height: 100%;
    }*/

    100% {
        height: 100%;
    }
}

/* Keyframes for water spilling */
@keyframes showSpill {
    0%, 99% {
        opacity: 0;
    }

    99%, 100% {
        opacity: 0.7;
    }
}

@media screen and (max-height: 583px){
    #myChart {
        height: 75% !important;
    }
}

@media screen and (max-width: 1301px) {
    #myChart {
        height: 80% !important;
    }

    #Block-for-graph, #Category-graph, #dropdown_span, #close_span {
        display: none !important;
    }
}

@media screen and (max-height: 768px) {
    #myChart {
        height: 80% !important;
    }

    #pieChartCanvas1, #pieChartCanvas2, #pieChartCanvas3 {
        height: 95%;
    }

    #Block-for-graph, #Category-graph, #dropdown_span, #close_span {
        display: none !important;
    }

    #DistrictSelect, #Block-dropdown, #Category-select, #dropdown, #close_button {
        margin: 0 0 0.5rem 1rem;
        /*margin-left:1.5rem*/
    }

}




#depricated_section {
    background-color: white;
    -ms-grid-row: 1;
    -ms-grid-row-span: 6;
    grid-row: 7 /span 6;
    -ms-grid-column: 5;
    -ms-grid-column-span: 4;
    grid-column: 5 / span 4;
}

/*input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-text {
    display: none;
}*/
/* Show only the year */
/*input[type="date"]::-webkit-datetime-edit-year-field {
    font-size: 16px;
}*/

/* Set a width that is appropriate for displaying only the year */
/*input[type="date"] {
    width: 7em;
}*/

div[id^="deficit_Legend_graphicsLayer"] > table.esriLegendLayer:nth-of-type(2) {
    display: none !important;
}

/*.esriLegendLayer:nth-of-type(2) {
    display: none;
}*/
.dropdown {
    position: relative;
    display: inline-block;
}

#dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    /*min-width: 160px;*/
    width: 5rem;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    #dropdown-content label {
        display: block;
        margin-top: 5px;
        margin-bottom: 5px;
        padding-left: 5px
    }

/*.dropdown:hover #dropdown-content {
    display: block;
}*/

#close_span {
    /*margin-left:auto;*/
    display: flex;
}


#depricated_div {
    display: grid;
    grid-template-columns: 76% auto;
}

#depricated_section {
    display: flex;
    justify-content: center;
    align-items: center;
}

#Map_grid {
    border: 1px solid black;
    height: 95%;
    width: 95%;
    display: grid;
    grid-template-rows: 4rem auto;
}

#Map-element_zoom_slider {
    display: none !important;
}

#deficit_element {
    display: grid;
    grid-template-columns: 4rem auto 4rem;
    width: 98%;
    margin-left: 1%;
    margin-top: 1%;
    /*position:absolute;*/
}

#Map-element {
    height: 95%;
    width: 95%;
    padding-left: 2rem;
    /*position:absolute;*/
}

#Heading-Area {
    text-align: center;
    display: flex;
    flex-direction: column;
}

    #Heading-Area span {
        font-weight: bold;
    }

#deficit_Legend {
    font-size: 12px;
    display: grid;
    align-items: end
}

#TempLegendDiv {
    display: none;
    font-size: 12px;
    display: grid;
    align-items: end
}

.esriLegendLayerLabel {
    display: none;
}


input[name="checkbox_year"] {
    margin-right:5px;
}

#counterSection {
    display: flex;
    /*background-color: cyan;*/
    grid-row: 12 / span 1;
    grid-column: 5 / span 4;
    justify-content: center;
    text-align: center;
}
#counterDiv{
    display:grid;
    grid-template-columns:40% auto;
    align-items:center;
    width:15rem;

}
#CounterText {
    font-weight: bold;
}
#changeLang{
    font-size:1.25rem;
    float:right;
    margin-top:0.3rem;
    margin-right:1.5rem;
    margin-left:auto;
}
