﻿.dropdown:hover .dropdown-menu {
    display: block;
    transition: all .5s;
    color: #555;
}

.fixed {
    position: fixed;
    top: 0;
    height: 70px;
    z-index: 1;
    transition: all 1s;
    background-color: black;
}

/* Responsiveness */
@media (min-width: 768px) {
    .nav {
        max-height: none;
        top: 0;
        position: absolute;
        float: right;
        width: fit-content;
    }

    .menu li {
        float: left;
    }

    .menu a:hover {
        background-color: transparent;
        color: var(--gray);
    }

    .hamb {
        display: none;
    }
}

nav {
    width: 100%;
    margin: 0 auto;
    background: #fff;
}

    nav ul {
        list-style: none;
        text-align: center;
    }

        nav ul li {
            display: inline-block;
        }

            nav ul li a {
                display: block;
                padding: 15px;
                text-decoration: none;
                color: #aaa;
                font-weight: 800;
                text-transform: uppercase;
                margin: 0 10px;
            }

                nav ul li a,
                nav ul li a:after,
                nav ul li a:before {
                    transition: all .5s;
                }

                    nav ul li a:hover {
                        color: #555;
                    }


    nav.stroke ul li a,
    nav.fill ul li a {
        position: relative;
    }

        nav.stroke ul li a:after,
        nav.fill ul li a:after {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
            width: 0%;
            content: '.';
            color: transparent;
            background: #aaa;
            height: 1px;
        }

    nav.stroke ul li div a:after,
    nav.fill ul li div a:after {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 0%;
        content: '.';
        color: transparent;
        background: #aaa;
        height: 1px;
    }

    nav.stroke ul li a:hover:after {
        width: 100%;
    }


    nav.stroke ul li div a:hover:after {
        width: 100%;
    }

    nav.fill ul li a {
        transition: all 2s;
    }

    nav.fill ul li div a {
        transition: all 2s;
    }

    nav.fill ul li a:after {
        text-align: left;
        content: '.';
        margin: 0;
        opacity: 0;
    }

    nav.fill ul li div a:after {
        text-align: left;
        content: '.';
        margin: 0;
        opacity: 0;
    }

    nav.fill ul li a:hover {
        color: #fff;
        z-index: 1;
    }

    nav.fill ul li div a:hover {
        color: #fff;
        z-index: 1;
    }

    nav.fill ul li a:hover:after {
        z-index: -10;
        animation: fill 1s forwards;
        -webkit-animation: fill 1s forwards;
        -moz-animation: fill 1s forwards;
        opacity: 1;
    }

    nav.fill ul li div a:hover:after {
        z-index: -10;
        animation: fill 1s forwards;
        -webkit-animation: fill 1s forwards;
        -moz-animation: fill 1s forwards;
        opacity: 1;
    }

@-webkit-keyframes fill {
    0% {
        width: 0%;
        height: 1px;
    }

    50% {
        width: 100%;
        height: 1px;
    }

    100% {
        width: 100%;
        height: 100%;
        background: #333;
    }
}




html {
    position: relative;
    scroll-behavior: smooth;
}

.long-title h3 {
    font-family: 'Segoe UI Light', 'Helvetica Neue Light', 'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana;
    font-weight: 200;
    font-size: 28px;
    text-align: center;
    margin-bottom: 5px;
}

.right-side {
    position: fixed;
    right: 1px;
    padding-bottom: 1px;
}

.left-content {
    display: inline-block;
    width: 180px;
    float: left;
    padding: 0 10px 10px;
    background-color: rgba(191, 191, 191, 0.15);
    box-shadow: -5px 0px 14px -8px rgba(0, 0, 0, 0.25) inset;
}

.long-title h2 {
    font-family: 'Segoe UI Light', 'Helvetica Neue Light', 'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana;
    font-weight: 400;
    font-size: 34px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 0px;
}

.long-title h5 {
    font-family: 'Segoe UI Light', 'Helvetica Neue Light', 'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana;
    font-weight: 400;
    font-size: 22px;
    text-align: center;
    margin-bottom: 5px;
}

#gridContainer .dx-datagrid-header-panel {
    padding: 0;
    background-color: rgba(85, 149, 222, 0.6);
}

    #gridContainer .dx-datagrid-header-panel .dx-toolbar {
        margin: 0;
        padding-right: 20px;
        background-color: transparent;
    }

    #gridContainer .dx-datagrid-header-panel .dx-toolbar-items-container {
        height: 70px;
    }

    #gridContainer .dx-datagrid-header-panel .dx-toolbar-before .dx-toolbar-item:not(:first-child) {
        background-color: rgba(103, 171, 255, 0.6);
    }

    #gridContainer .dx-datagrid-header-panel .dx-toolbar-before .dx-toolbar-item:last-child {
        padding-right: 10px;
    }

    #gridContainer .dx-datagrid-header-panel .dx-selectbox {
        margin: 17px 10px;
    }

    #gridContainer .dx-datagrid-header-panel .dx-button {
        margin: 17px 0;
    }

#gridContainer .informer {
    height: 70px;
    width: 130px;
    text-align: center;
    color: #fff;
}

#gridContainer .count {
    padding-top: 15px;
    line-height: 27px;
    font-size: 28px;
    margin: 0;
    font-weight: normal;
    font-family: "Helvetica Neue", "Segoe UI", Helvetica, Verdana, sans-serif;
}

.centered {
    position: absolute;
    width: 100px;
    height: 50px;
    top: 50%;
    left: 50%;
    margin-left: -50px; /* margin is -0.5 * dimension */
    margin-top: -25px;
}

navbar navbar-expand-lg navbar-dark bg-dark rounded .sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

.gotopbtn {
    position: fixed;
    width: 50px;
    height: 50px;
    background: #99BFEB;
    bottom: 40px;
    right: 50px;
    text-decoration: none;
    text-align: center;
    line-height: 50px;
    color: white;
    font-size: 22px;
}

/*HomePageCSS Down*/
@import url(https://fonts.googleapis.com/css?family=Lato);

#info {
    position: absolute;
    left: 5%;
}

.section {
    padding-top: 40px;
    font-size: 1em;
    text-align: center;
    background: #f1ede3;
    width: 100%;
    height: 800px;
    color: #555;
    -webkit-transition: background 0.5s ease-in-out;
    transition: background 0.5s ease-in-out;
}

.night .section {
    background: #080d17;
    color: #e9e5d5;
}

.night #intro-text {
    color: #e9e5d5;
}

.time-circle {
    position: relative;
    background: linear-gradient(to bottom, #BE4405, #F6C60C);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 4.5px solid #555;
    overflow: hidden;
    padding: 0px;
    margin: 0 auto;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    text-align: center;
    -webkit-transition: all 1.1s ease-in-out;
    transition: all 1.1s ease-in-out;
}

.night .time-circle {
    background: linear-gradient(to bottom, #111936, #285A7B);
    border-color: #e9e5d5;
}

.sun {
    margin-top: 20px;
    background: #F2EF88;
    box-shadow: 0 0 20px rgba(242, 239, 136, 0.4);
    width: 30%;
    height: 30%;
    border-radius: 50%;
    position: relative;
    left: 35%;
    top: 48%;
    -webkit-animation: pulse 5s ease infinite alternate;
    animation: pulse 5s ease infinite alternate;
    -webkit-transition: all 1.1s 0.4s ease;
    transition: all 1.1s 0.4s ease;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(242, 239, 136, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(242, 239, 136, 1);
    }

    100% {
        box-shadow: 0 0 20px rgba(242, 239, 136, 0.4);
    }
}

@-webkit-keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(242, 239, 136, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(242, 239, 136, 1);
    }

    100% {
        box-shadow: 0 0 20px rgba(242, 239, 136, 0.4);
    }
}

.night .sun {
    top: 70%;
    left: 20%;
    -webkit-transition: all 1.1s 0s ease;
    transition: all 1.1s 0s ease;
}

.moon {
    position: absolute;
    margin-top: 20px;
    background: #d9d8d0;
    box-shadow: inset -10px 2px 0 0px #899098;
    width: 22.5%;
    height: 22.5%;
    border-radius: 100%;
    position: relative;
    left: 120%;
    margin-left: -50px;
    top: -50%;
    overflow: hidden;
    -webkit-transition: all 1.1s 0s ease;
    transition: all 1.1s 0s ease;
}

.night .moon {
    left: 65%;
    top: -10%;
    -webkit-transition: all 1.1s 0.4s ease;
    transition: all 1.1s 0.4s ease;
}

.moon div:nth-child(n) {
    position: relative;
    background: #b9b8b0;
    border-radius: 50%;
    box-shadow: inset 4px -2px 0 0px #535457;
}

.moon div:nth-child(1) {
    top: 25%;
    left: 12%;
    width: 27%;
    height: 27%;
}

.moon div:nth-child(2) {
    top: -11%;
    left: 60%;
    width: 16%;
    height: 16%;
}

.moon div:nth-child(3) {
    top: 25%;
    left: 44%;
    width: 16%;
    height: 16%;
}

.stars {
    opacity: 0;
    margin-left: 100px;
    top: 0;
    left: 0;
    -webkit-transition: all 0.8s 0s ease;
    transition: all 0.8s 0s ease;
    z-index: 1000;
}

.night .stars {
    opacity: 1;
    -webkit-transition: all 3s 0.4s ease;
    transition: all 3s 0.4s ease;
}

.stars div:nth-child(n) {
    position: absolute;
    background: radial-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 1);
    overflow: hidden;
    width: 0.4%;
    height: 0.4%;
    margin-left: 20%;
    margin-top: -20%;
    -webkit-transition: all 1s 0s ease;
    transition: all 1s 0s ease;
}

.night .stars div:nth-child(n) {
    margin-left: 0;
    margin-top: 0;
    -webkit-transition: all 1s 0.4s ease-out;
    transition: all 1s 0.4s ease-out;
}

.stars div:nth-child(1) {
    left: 25%;
    top: 30%;
}

.stars div:nth-child(2) {
    left: 55%;
    top: 20%;
}

.stars div:nth-child(3) {
    left: 60%;
    top: 60%;
}

.stars div:nth-child(4) {
    left: 40%;
    top: 45%;
}

.stars div:nth-child(5) {
    left: 15%;
    top: 55%;
}

.stars div:nth-child(6) {
    left: 40%;
    top: 10%;
}

.stars div:nth-child(7) {
    left: 80%;
    top: 55%;
}

.water {
    position: absolute;
    background: repeating-radial-gradient(ellipse farthest-corner at center -400%, #f5c30e 30%, #518eac 90%) repeat scroll 0 0 #518eac;
    width: 100%;
    height: 200px;
    top: 68%;
    -webkit-transition: all 1.1s ease;
    transition: all 1.1s ease;
}

.night .water {
    background: repeating-radial-gradient(ellipse farthest-corner at center -400%, #7fa1bb 30%, #1d425a 90%) repeat scroll 0 0 #1d425a;
}

#switch,
#circle {
    height: 30px;
    -webkit-transition: all 0.4s cubic-bezier(0.54, 1.6, 0.5, 1);
    transition: all 0.4s cubic-bezier(0.54, 1.6, 0.5, 1);
}

#switch {
    width: 60px;
    margin: 0 auto;
    border: 2px solid #DA8508;
    border-radius: 27px;
    background: #DA8508;
    position: relative;
}

#circle {
    margin-top: 5%;
    margin-left: 5%;
    width: 40%;
    height: 80%;
    border-radius: 50%;
    box-shadow: 0 4px 4px rgba(26,53,71,0.25), 0 0 0 1px rgba(26,53,71,0.07);
    background: #e9e5d5;
}

.switched {
    border-color: #1C3958 !important;
    background: #1C3958 !important;
}

    .switched #circle {
        margin-left: 55%;
        background: #e9e5d5;
    }



.menu-icon {
    display: flex;
    justify-content: center;
}

.dx-list-item-content {
    padding-left: 10px !important;
}

.dx-button {
    background-color: rgba(191, 191, 191, -0.15);
    border: none;
}

.panel-list {
    height: 400px;
}

.dx-drawer-expand.dx-drawer-right .panel-list {
    float: right;
}

.panel-list .dx-list-item {
    color: #fff;
    border-top: 1px solid rgba(221, 221, 221, .2);
}

    .panel-list .dx-list-item .dx-icon {
        color: #fff !important;
    }

.options {
    padding: 20px;
    background-color: rgba(191, 191, 191, .15);
}

.caption {
    font-size: 18px;
    font-weight: 500;
}

.option {
    margin-top: 10px;
    display: inline-block;
    margin-right: 50px;
}

label {
    font-weight: bold;
}

#content {
    height: 100%;
    padding: 10px 20px;
}

    #content h2 {
        font-size: 26px;
    }

.left {
    float: right;
    position: relative;
    width: 100%;
    clear: right;
}

.left-status {
    float: right;
    position: relative;
    width: 100%;
    clear: right;
}

.right {
    float: right;
    width: 50%;
    clear: right
}

/* -------------------------------------------- Relevant Style ---------------------------------------------*/
.dropdown-cols-2 .dropdown-menu {
    min-width: 800px;
}

    .dropdown-cols-2 .dropdown-menu > div {
        float: left;
        padding: 10px 20px;
    }

    .dropdown-cols-2 .dropdown-menu ul {
        margin: 0;
        padding: 0;
        text-align: left;
        justify-content: left;
    }

    .dropdown-cols-2 .dropdown-menu li {
        list-style: none;
    }

@media screen and (max-width: 767px) {
    .dropdown-cols-2 .dropdown-menu {
        min-width: 140px;
    }
}


.dropdown-cols-2 .dropdown-menu h5 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

/*.dropdown-cols-2 a {
    color: #666;
}*/

.dropdown-menu .h5 {
    color: green;
}

.reports {
    color: green;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #ECECEC;
}

/* Header & Nav Bar */
header {
    background-color: #ECECEC;
}

.navbar-brand {
    font-weight: 700;
    color: #1d3557 !important;
}

.navbar-nav .nav-link {
    color: #1d3557 !important;
    font-weight: 500;
}

    .navbar-nav .nav-link:hover {
        color: #457b9d !important;
    }

/* Main Container */
.container-1 {
    padding: 2rem;
}

/* Footer */
footer {
    background-color: #ECECEC;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile-first adjustments */
@media (max-width: 576px) {
    .container-1 {
        padding: 1rem;
    }
}

/* Make the map fill the full viewport height */
#map {
    height: 100vh;
    width: 100%;
}

/* For mobile-first design, ensure the map container takes up available space */
@media (max-width: 576px) {
    #map {
        height: 80vh;
    }
}