:root{
--map-filter: saturate(1.5) contrast(1.02) brightness(1); /* Vibrant */
}
ul.main-nav li:hover {
    .dropdown-menu {
        display:block;
    }
}
body {
    margin: 0;
    font-family: monospace;
    width: 100%;
   
}
#worldMap {
    height: 100vh;
    width: 100vw;
    max-height: 100%;
    max-width: 100%;
    filter: var(--map-filter);
}
.windy-container {
    background-color: rgba(92, 92, 92, .6);
    border-radius: 5px;
    bottom: 30px;
    padding: 10px;
    position: fixed;
    right: 30px;
    a {
        cursor: pointer;
        display: flex;
        gap: 10px;
        .w-sprite {
            animation: windycom_logo 1s steps(47) infinite;
            background: url('/assets/images/windycom-logo/windycom-icon.png') 0 0 no-repeat;
            background-size: 1728px 32px;
            display: inline-block;
            height: 32px;
            width: 32px;
        }
        img {
            max-width: 100%;
            width: 100px;
        }
    }
}
.sidepop.pop-open ~ .block-click {
    position: fixed;
    padding: 20px;
    z-index: 1;
    border: none;
    transform: translate(-15px, 65px);
    background-color: transparent;
    border-radius: 100%;
}

body{
    font-family: 'Nunito';
    font-size: 18px;
}
/* Side Popup */
button {
    cursor: pointer;
}
.sidepop {
    position: fixed;
    bottom: 0;
    height: 90%;
    width: 92%;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: max-width .3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 5px rgb(0 0 0 / 10%);
    border-radius: 20px;
    left: 20px;
    top: 3%;
    max-width: 0;
    
}
.sidepop.pop-open {
    max-width: 900px;
    border: 3px solid #fff;
}
.sidepop .inner-content {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    height: 100%;
    min-width: max-content;
}
.sidepop .inner-content .inner-top {
    max-width: 100%;
}
.sidepop .inner-content .inner-top .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sidepop .inner-content .inner-top .inner .img-cont {
    display: flex;
    align-items: center;
}
.sidepop .inner-content .inner-top .img-cont img {
    max-width: 50px;
    width: 100%;
}
.sidepop .inner-content .inner-top .inner,
.sidepop .inner-content .inner-bottom {
    padding: 10px;
}
.sidepop .inner-content .inner-cont {
    border-style: solid;
    border-width: 1px 0 1px;
    border-color: #dddddd;
    padding: 20px;
    height: 100%;
    flex-grow: 1;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}
.sidepop:not(.loaded) .inner-cont:before,
.sidepop:not(.loaded) .inner-top:before {
    content: '';
    position: absolute;
    background-color: #dddddd;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0
}
.sidepop .inner-content .inner-bottom {
    text-align: center;
}
button.close-pop{
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 30px;
    padding: 0;
    font-weight: 900;
}
/* Title Overlay */
.device-name-container {
    background-color: #fff;
    padding: 2px 5px;
    border-radius: 5px 5px 5px 0;
    width: max-content;
    position: absolute;
    transform: translate(3px, -19px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.chart-data {
    max-height: 265px!important;
    width: 100%;
    max-width: 100%;
    cursor: crosshair;
}
.sidepop:not(.pop-open) .chart-data {
    opacity:0;
}


/* Search */
.search-container {
    position: relative;
    font-size: 14px;
    line-height: 1.3em;
    z-index: 1;
}
.search-container i {
    cursor: pointer;
}
.search-container .search-inner-container {
    position: absolute;
    right: calc(100% + 10px);
    top: calc(50% - (28px / 2));
    max-width: 300px;
    transition: max-width .3s;
    overflow: hidden;
}
.search-container .search-inner-container input {
    border-radius: 4px;
    border: none;
    padding: 5px 10px;
}
.search-container .search-inner-container.hidden {
    max-width: 0;
}
.search-container .device-search-list {
    padding: 0;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    overflow-x: hidden;
    overflow-y: scroll;
    transition-delay: 2s;
    transition: max-height .2s;
    max-height: 0;
    border-radius: 4px;
    transform: translateY(5px);
    border: 1px solid #fff;
}
.search-container .device-search-list::-webkit-scrollbar {
    width: 8px;
}
.search-container .device-search-list::-webkit-scrollbar-thumb {
    background-color: color(srgb 0.0235 0.3961 0.6079);
    border-radius: 3px;
}
.search-container .device-search-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
}
.search-container .search-inner-container input:focus + .result-container .device-search-list,
.search-container .search-inner-container .result-container:hover {
    transition: max-height .2s;
    max-height: 80vh;
}
.search-container .device-search-list > li,
.search-container .device-search-list > li button {
    background: none;
    border: none;
    padding: 4px 0;
    display: block;
    margin: 0;
    min-width: max-content;
    font-weight: 700;
    width: 100%;
}
.search-container .device-search-list > li button:hover {
    background-color: rgba(3, 88, 133, 0.3);
}
.search-container .device-search-list > li button span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    }
.search-container .device-search-list li.hide {
    display: none;
}

.search {
/*    position: fixed;*/
    top: 7px;
    left: 35px;
    z-index: 1;
}
.search .results-container.hide {
    display: none;
}
.search .results-container li.hide {
    display: none;
}

/*Header*/
header.main-header {
    padding: 5px 0;
    color: #fff;
    z-index: 99;
    background: linear-gradient(94deg, rgb(0 69 107 / 78%) 0%, rgb(7 103 156 / 62%) 100%);
    width: 1300px;
    max-width: 100%;
    position: fixed;
    margin: 20px auto;
    border-radius: 100px;
    left: 0;
    right: 0;
    min-height: 70px;
    display: flex;
    align-items: anchor-center;
    box-shadow: 0 3px 5px rgb(0 0 0 / 7%);
    backdrop-filter: blur(5px);
}
header .logo img {
    /*filter: brightness(0) invert(1);*/
    width: 110px;
    max-width: 100%;
    padding: 10px;
}
header.main-header .row>div{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
header .row>.main-nav-con{
    justify-content: end;
}
header .row>.align-right{
    justify-content: flex-end;
}
header.main-header a {
    color: inherit;
}
.site-nav-toggle{
    padding-left: 20px;
}
ul.main-nav {
    padding: 0;
    list-style: none;
    margin-bottom: 0;
}
ul.main-nav li {
    display: inline-block;
    text-align: center;
    font-family: "montserrat";
   
}

ul.main-nav li a {
    margin: 10px;
    text-decoration: none;
}
header .search{
    display: flex;
    align-items: center;
}
ul.main-nav.icons-nav {
    margin-left: 21px;
}
header .search input{
    background: transparent;
    border: 1px solid #ffffff45;
    padding: 10px;
    border-radius: 0 50px 50px 0;
    color: #fff;
    height: 45px;
    border-left: 0;
}
header .search input::placeholder{
    color: #fff;
}
header .search i{
    padding: 10px 0 10px 17px;
    border: 1px solid #ffffff45;
    border-radius: 50px 0 0 50px;
    height: 45px;
    border-right: 0;
    display: flex;
    align-items: center;
}

/*General*/
h1,h2,h3,h4,h5,h6{
    font-family: "Archivo", serif;
}
/*p, a, li, body, td{
    font-family: 'montserrat';
}*/
p.subtitle {
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 13px;
    color: #616161;
}
.heading{
    font-weight: 900;
    color: #055C8B;
}
.main-title{
    text-transform: uppercase;
    letter-spacing: 3px;
}
body{
    background-image: url(/weams/assets/images/background-img.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

/* .layer-switcher button {
    background-image: url('../../assets/images/double18.png');
} */
/*.light-mode:after {*/
/*    content: "";*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: #ffffff69;*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 0;*/
/*}*/
.primary-content{
    position: relative;
    z-index: 2;
    padding: 200px 10px 50px;
}
.tp-box {
    border: 2px solid #fff;
    border-radius: 20px;
    padding: 25px;
    background-color: rgb(255, 255, 255, 0.2);
    backdrop-filter: blur(35px);
    margin-bottom: 20px;
    box-shadow: 0 8px 13px rgb(0 0 0 / 4%);
}
.mb-header {
    min-height: 80px;
}
/*end*/
/*sidebar box*/
.dvc-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 10px;
}
.dvc-box .icon {
    margin-right: 10px;
    position: relative;
}
.dvc-box .icon:after{
    content: "";
    width: 50px;
    height: 50px;
    border-radius: 100px;
    background: #96aad1ab;
    position: absolute;
    right: -4px;
    filter: blur(5px);
    bottom: 0;
}
.dvc-box .icon i {
    font-size: 43px;
    background: radial-gradient(circle farthest-corner at center center, #e4fffa 0%, #FFFFFF 56%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}
.dvc-info h3 {
    font-weight: 900;
    font-size: 30px;
    margin-bottom: 0
}
.dvc-info p {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 13px;
    color: #fff;
}
.dvc-box.dvc-arg{
    background: rgb(200,255,245);
    background: linear-gradient(95deg, rgba(200,255,245,1) 0%, rgba(143,230,214,1) 100%);
}
.dvc-arg .dvc-info h3,
.dvc-arg .dvc-info p{
    color: #00705b;
}
.dvc-arg .icon:after{
    background: #99eadb;
}

.dvc-aws{
    background: rgb(255, 248, 201);
    background: linear-gradient(95deg, rgba(255, 248, 201, 1) 0%, rgba(255, 231, 57, 1) 100%);
}
.dvc-aws .icon:after{
    background: #ffec64;
}
.dvc-aws h3,
.dvc-aws p{
    color: #4f4f4f ;
}
.dvc-box.dvc-aws .icon i{
    background-image: radial-gradient(circle farthest-corner at center center, #fffbe0 0%, #FFFFFF 36%);
}

.dvc-wlm{
    background: rgb(191, 232, 255);
    background: linear-gradient(95deg, rgba(191, 232, 255, 1) 0%, rgba(41, 151, 212, 1) 100%);
}
.dvc-wlm .icon:after{
    background: #95d2f4;
}
.dvc-wlm h3,
.dvc-wlm p{
    color: #2e4f8d;
}
.dvc-box.dvc-wlm .icon i{
    background-image: radial-gradient(circle farthest-corner at center center, #f3fbff 0%, #FFFFFF 56%);
}
.time-date{
    margin-bottom: 20px;
}
.time-date h3{
    color: #a8a8a8;
}
/*end*/
/*Table list*/
table{
    width: 100%;
}
thead{
    text-transform: uppercase;
    color: #024F7A;
    font-family: 'montserrat';
    font-size: 14px;
}
thead th{
    padding: 10px 10px 15px;
    border-bottom: 1px solid #fff;
}
td{
    padding: 15px 10px; 
    font-size: 15px;
    position: relative;
}
table tr{
border-bottom: 1px solid #fff;
}

table td a,
.show-more{
    font-size: 12px;
    color: #16577b;
    font-style: italic;
    cursor: pointer;
}
 .more-list {
    background: #fff;
    border-radius: 10px;
    position: absolute;
    top: 0;
    z-index: 2;
    box-shadow: 0 12px 25px rgb(0 0 0 / 6%);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out;
}
.more-list.open{
    display: block;
    max-height: 1000px;
    transition: max-height 2s ease;
}
.more-list ul {
    padding: 15px;
    list-style: none;
    margin-bottom: 0;
}

.more-list ul a {
    font-style: unset;
    text-decoration: none;
    color: inherit;
    font-size: 15px;
    padding: 7px 0;
    display: block;
}

.listing ul.locations {
    padding: 0;
    list-style-type: none;
    margin: 0;
    height: max-content;
    width: 320px;
    overflow: hidden;
    max-height: 44px;
    position: relative;
}
.listing td label {
    cursor: pointer;
    z-index: 9;
}
.listing td>input:not(:checked) ~ ul label {
    position: absolute;
    bottom: 0;
    right: 0;
}
.listing td>input:checked + ul.locations {
    position: absolute;
    max-height: 1000px;
    top: 100%;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    z-index: 1;
    left: 0;
    right: 0;
}
.listing td > ul>label {
    background-color: #ffd07a;
    padding: 10px 20px;
    border-radius: 5px;
}
.listing td>input:checked + ul.locations,
.listing td>input:checked + ul.locations > li {
    display: block;
    width: unset;
}
.listing td>input,
.listing td>input:not(:checked) ~ .hid,
.listing td>input:checked ~ ul label,
.listing td>input:checked + ul.locations > span {
    display: none;
}
.listing ul.locations li {
    display: inline-block;
    width: max-content;
    cursor: pointer;
}
ul.page-nav {
    list-style: none;
    padding: 0;
    text-align: right;
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
}
ul.page-nav li a {
    text-decoration: none;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #4e8db0;
    width: 30px;
    height: 30px;
    background: transparent;
    margin: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px !important;
    border: 1px solid #fff;
    transition: all .2s;
}
ul.page-nav li a.current,
ul.page-nav li a:hover{
    background: #006da8;
    color: #c6e3f3;
}
.close {
    font-weight: 600;
    background: #4ca191;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: #fff;
    padding: 14px;
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}
.device-video-container > video{
    height: 400px;
    max-width: 100%;
    width: 400px;
}
/*end*/

/*monitoring rainfall*/
.tabs-container {
    transform: translateY(120px);
    ul.regions {
        list-style: none;
        padding: 0;
        li {
            padding: 10px;
            border: 1px solid rgba(0, 0, 0, 0.05);
            button {
                background-color: transparent;
                border: 0;
                text-align: left;
                width: 100%;
            }
        }
        .active {
            border-width: 2px 0 2px 2px;
            border-color: #73a1c2;
            border-style: solid;
            position: relative;
            pointer-events: none;
        }
        .active:after {
            content: '';
            border: 2px solid #fff;
            position: absolute;
            left: calc(100% - 1px);
            height: 100%;
            top: 0;
        }
    }
    .results {
        border: 2px solid #73a1c2;
        .region-results .region-result:not(.active) {
            display: none;
        }
        .region-results,.region-result {
            height: 100%;
        }
        .center-middle {
            height: 100%;
            position: relative;
            h3 {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: max-content;
            }
        }
    }
}
/*end*/


/* sidebar Public View */
.sidebar{
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    background-color: #04334C;
    height: 100vh;
    border-radius: 20px 20px 0 0;
    color: #fff;
    overflow: hidden;
    .scontent{
        width: 100%;
        padding: 20px;
    }
    img{
        width: 100%;
    }
    .shead{
        display: flex;
        flex-wrap: wrap;
        justify-content: end;
        align-items: center;
        background-color: #03263A;
        padding: 30px 20px;
        >div:first-child{
            order: 2;
        }
        >div{
            margin: 0 10px;
        }
        .white-bg{
            background: #fff;
            border-radius: 100px;
            height: 100px;
            width: 100px;
            padding: 10px;
        }
        .date-time{
            text-align: right;
            h6{
                text-transform: uppercase;
                letter-spacing: 1px;
                font-size: 12px;
                margin-bottom: 0;
            }
        }    

    }
    .dvc-lst-con{
        .dvc-card{
            border-radius: 10px;
            background-color: #F2B264;
            overflow: hidden;
            display: flex;
            align-items: center;
            
            .dvc-cont{
                padding: 10px;
                color: #6C481D;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                .heat-index{
                    background-color: #fff;
                    border-radius: 10px;
                    padding: 10px;                    
                    text-align: center;
                }
                h5{
                    text-transform: uppercase;
                    font-weight: 700;
                }
                ul{
                    list-style: none;
                    padding: 0;
                    font-size: 13px;
                }
            }
            .dvc-img{
                height: 200px;
                background-size: cover;
                background-position: center;
                background-repeat: no-repeat;
            }
        }
    }
    .sfooter{
        background-color: #03283C;
        padding: 10px;
        position: absolute;
        bottom: 0;
        width: 100%;
        p{
            margin-bottom: 0;
            font-size: 11px;
            font-weight: 300;
            
        }
    }
    
}

/* end::Sidebar Public View */

@media screen and (min-width: 768px){
    .site-nav-toggle,
    .sidebar-con .mobile{
        display: none;
    }
}
@media screen and (max-width: 980px){
    .container{
        max-width: 100% !important;
    }
    .main-content{
        order: 2;
    }
    .sidebar-con{
        order: 1;
    }

}
@media screen and (max-width: 768px){
    .primary-content{
        padding: 30px 10px;
    }
    header.main-header{
        padding: 15px 0;
    }
    ul.main-nav:not(.icons-nav),
    .sidebar-con .desktop{
        display: none;
    }
    /* sidebar */
    .dvc-box {
        text-align: center;
        display: block;
        padding: 15px 10px;
    }
    .dvc-box .icon {
        margin: 0 auto 20px;
        width: 53px;
        max-width: 100%;
    }
    .dvc-info h3{
        font-size: 25px;
    }
    .sidebar-con .data-box .heading{
        font-size: 17px;
        font-weight: 900;
        letter-spacing: 1px;
        margin-bottom: 0;
    }
    .time-date p,
    .dvc-total p,
    .dev-name>p:first-child{
        font-size: 8px;
        font-weight: 500;
    }
    .sidebar-con .data-box{
        background: linear-gradient(95deg, rgb(66, 151, 197) 0%, rgb(7, 102, 155) 100%);
        margin-right: 10px;
        padding: 15px 10px;
    }
    .sidebar-con .data-box .icon i{
        font-size: 31px;
        margin-bottom: 15px;
    }
    .sidebar-con .data-box i,
    .sidebar-con .data-box .heading,
    .sidebar-con .data-box p{
        color: #fff;
    }
    .time-date {
        margin-bottom: 13px;
    }
    .devices-con .cstm-btn-slide {
        width: 20px;
        height: 20px;
        border-radius: 20px;
        padding: 14px;
        display: flex    ;
        align-items: center;
        justify-content: center;
        background-color: rgb(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
        border: 1px solid #fff;
    }
    .devices-con .cstm-btn-slide:after {
        font-size: 9px;
        color: #00476e;
        font-weight: bold;
    }
    .cstm-btn-slide.swiper-button-next{
        right: -15px;
    }
    .cstm-btn-slide.swiper-button-prev{
        left: -15px;
    }
    /*end*/
    /*Table listing*/
    .more-list ul a,
    .listing td,
    .listing th{
        padding: 5px  0;
        font-size: 10px;
    }
    .devices-con.mobile{
        position: relative;
    }
    /*end*/
}

/*begin::Footer*/
footer {
    background-color: #10293a;
    padding: 60px 0;
    color: #fff;
    img{
        width: 200px;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    ul{
        list-style: none;
        padding: 0;
    }
    .widget-title{
        font-weight: 600;
        font-size: 20px;
        letter-spacing: 1px;
    }
    .copyright {
        padding-top: 20px;
        margin-top: 50px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 14px;
        font-weight: 100;
        .col-md-6:last-child{
            text-align: right;
        }
    }
}
/*end::Footer style*/

@keyframes windycom_logo {
    from {background-position: 0 0}
    to {background-position: 99.75% 0}
}