:root {
    --code-color: darkred;
    --code-bg-color: #f6f6f6;
    --code-font-size: 14px;
    --code-line-height: 1.4;
    --scroll-bar-color: #c5c5c5;
    --scroll-bar-bg-color: #f6f6f6;
  }  
 
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-bar-color) var(--scroll-bar-bg-color);
  }
  
  *::-webkit-scrollbar {
      width: 12px;
  }
  
  *::-webkit-scrollbar-track {
      background: var(--scroll-bar-bg-color);
  }
  
  *::-webkit-scrollbar-thumb {
      background-color: var(--scroll-bar-color);
      border-radius: 20px;
      border: 3px solid var(--scroll-bar-bg-color);
  }

* {
    box-sizing: border-box;
}

@font-face {
    font-family: "Poppins";
    src: url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
}

@keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
}

body, html {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    /* overflow: hidden; */
}

header {
    display: flex;
    position: relative;
    z-index: 9000;
    background-color: #eaeaea;
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    justify-content: space-between;
    /* padding for site name as title*/
    padding-top: 5px;
    padding-left: 3%;
    padding-right: 3%;
    padding-bottom: 5px;
    height: 5em;
}

.modal {
    z-index: 9999;
    text-align: center;
    padding: 0!important;
}

.modal:before {
    content: '';
    display: inline-block;
    height: 65%;
    vertical-align: middle;
    margin-right: -4px;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.modal-content{
    border: 0;
    border-radius: 15px;
    background-color: transparent;
}

.login-bckgrnd{
    height: 100%;
    background-image: url(); /* url('../img/background.png'); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

div.login-app-logo{
    background-image: url(); /* url('../img/logo/app-logo.svg'); */
    background-repeat: no-repeat;
    background-position: center;
    background-size:cover;
}

div.login-company-logo{
    background-image: url(); /* url('../img/logo/company-logo.png'); */
    background-repeat: no-repeat;
    background-position: center;
    background-size:cover;
}

.login-cntnr{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding-top: 7em;
    padding-bottom: 7em;
    border-radius: 10px;
}

.login-footer{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}

.frm-login {
    background-color: rgb(198,221,246, 0.8);
    font-family: "Poppins";
    font-size: 16pt;
    margin: 20px;
    border-radius: 10px;
    padding: 25px 25px 25px 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}
  
.frm-login span {
    position: relative;
    height: auto;
    padding: 5px;
    font-size: 16px;
}

.frm-login:focus {
    z-index: 2;
}

.frm-login button{
    background-color: rgb(0,64,98,0.9);
    color: #fff;
    height: 40px;
    width: 100%;
    padding: 5px;
}

.frm-login button:hover{
    background-color: rgb(0,64,98,1);
    color: #fff;
}

.input-box{
    position: relative;
    width: 100%;
}

.input-box input{
    width: 100%;
    padding: 5px;
    border: 1px solid rgb(255,255,255,0.25);
    border-radius: 5px;
    outline: none;
    font-size: 1em;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 3vh;
    line-height: 20px; /* Text vertically centered*/
    background-color: #f5f5f5;
    font-size: x-small;
}

.card-header{
    background-color: rgba(149,159,152,1);
}

.grid-card-header{
    background-color: #fd1221; /* rgba(0,65,101,1)*/
    color: #fff;
    font-weight: bold;
}

.battery-card-header{
    background-color: rgba(43,169,146,1);
    color: #fff;
    font-weight: bold;
}

.solar-card-header{
    background-color: rgba(253,192,21,1);
    color: #fff;
    font-weight: bold;
}

.generator-card-header{
    background-color: rgba(133,211,232,1);
    color: #fff;
    font-weight: bold;
}

.chart-card-header{
    background-color: rgba(191,191,191,0.5);
    color: rgba(0, 65, 101, 1);
    font-weight: bold;
}

.card-body{
    background-color: rgba(191,191,191,0.2);
}

.btn-form{
    display: block;
    width: 100%;
    margin: 0px 1px 0px 1px;
    background-color: #00aeef;
    color: #fff;
    text-align: center;
}

.btn-form:hover{
    background-color: rgb(0,64,98,0.5);
    color: #fff;
}

.btn-form-1{
    display: block;
    width: 100%;
    margin: 0px 1px 0px 1px;
    background-color: #31BEEC;
    color: #fff;
    text-align: center;
}

.btn-form-1:hover{
    background-color: rgb(49,190,236,0.5);
    color: #fff;
}

.btn-energy{
    display: block;
    width: 100%;
    margin: 0px 1px 0px 1px;
    background-color: #00aeef;
    color: #fff;
}

.btn-energy:hover{
    background-color: rgb(0,64,98,0.5);
    color: #fff;
}

.er-dates-range{
    font-size: 1em;
}

.er-dates-range small{
    font-size: 0.7em;
}

.btn-calendar{
    margin: 0px 1px 0px 1px;
    background-color: #b4b4b4;
    color: #fff;
    width:100%;
}

.btn-calendar:hover{
    background-color: rgb(0,63,100,0.3);
    color: #fff;
}

.btn-calendar:active{
    background-color: rgb(0,65,101,0.9) !important;
    color: #fff !important;
}

.input-calendar{
    background: #fff; 
    cursor: pointer;
    border: 1px solid #ccc; 
    padding:1px 0 1px 0;
}

.input-calendar-mob{
    background: #fff; 
    border: 1px solid #ccc; 
    padding:1px 0 1px 0;
}

.daterangepicker { z-index: 10000 !important; }

.card{
    margin: 5px 5px 5px 5px;
    justify-content: left;
    border: #939598;
}

header.sticky {
    position:-webkit-sticky; 
    position:sticky; 
    top:0;
}

div.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 5em; /*same value as header.height*/
    background-color: #fff;
    padding: 0px 0px 0px 0px;
    z-index: 999;
}

.dates_bar {
    font-size: 1em;
    padding: 0.5em;
    border-radius: 1em;
    font-family: sans-serif;
    margin-right: 0.1em;
}

#dashboardchartsrange, #btnDashboardChartstNavPrev, #btnDashboardChartsNavNext, #btnDay, #btnWeek, #btnMonth, #btnYear, #btnLife{
    font-size: inherit;
    padding: 0.2em;
    margin: 0.1em 0.2em;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

#connectionStatus{
    font-size: xx-small;
    color: rgb(0,65,101,0.5);
}

.modal-body{
    border: 0;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 1);
    text-align: center;
}

.page-transit{
    width: 50%;
    animation: loadingAnimation 1s linear infinite;
    transform-origin: center center;
    text-align: center;
    margin: auto;
}

@keyframes loadingAnimation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.partial-transit{
    width: 5%;
    animation: rotation 1s infinite linear;
    text-align: center;
}

.cnn-status{
    width: 100%;
}

.sys-loc-frm {
    display:block;
    justify-content: space-between;
}

.sys-loc-frm label, input{
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

#btnSalesDemo{
    padding: 0px 0px 0px 0px;
    margin:  0px 0px 0px 0px;
    display: flex;
    justify-content:end;
    align-items: center;
}

.demo-icon{
    background-image: url("../img/demo.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size : cover;
    cursor: pointer;
    height: 12vh;
    width: 12vh;
}

.header-site-name{
    color: #003d60;
    float: right;
    padding: 4% 5px 5px 5px;
    margin: 0px 0px 0px 0px;
    font-family: "Poppins";
    font-size: 30px;
    font-weight: 100;
}

.guide-text{
    font-size: 1em;
    text-align: justify;
    text-justify: inter-word;
    color: rgba(0,64,101, 1);
    margin: 5px 5px 5px 5px;
  }
 
.guide-text-emphasis{
    font-size: 1em;
    text-align: justify;
    text-justify: inter-word;
    color: rgba(0,155,218,1);
}

.guide-text-emphasis a:link {
    color: rgba(0,155,218,1);
    text-decoration: none;
}

.guide-text-emphasis a:visited {
    color: rgba(0,155,218,0.5);
    text-decoration: none;
}

.guide-text-emphasis a:hover {
    color: rgba(0,155,218,0.5);
    text-decoration: none;
}

.guide-text-emphasis a:active {
    color: rgba(0,155,218,1);
    text-decoration: none;
}

.box {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 10px;
 }
 
 .box>*{
    flex: 1 1 13.25%;
 }
 
 .box div:nth-of-type(7) {flex-grow: 2;}

.square {
    margin: auto;
    width: 75%;
    background-color: rgba(0,155,218,1);
    border-radius: 10px;
}

.square img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
}

.square p {
    display: block;
    margin: 0px 0px 0px 0px;
    font-size: 1vw;
    text-align: center;
    color: #fff;
}

@keyframes drop {
    0% {
      transform: translateY(-200px) scaleY(0.9);
      opacity: 0;
    }
    5% {
      opacity: 0.7;
    }
    50% {
      transform: translateY(0px) scaleY(1);
      opacity: 1;
    }
    65% {
      transform: translateY(-17px) scaleY(0.9);
      opacity: 1;
    }
    75% {
      transform: translateY(-22px) scaleY(0.9);
      opacity: 1;
    }
    100% {
      transform: translateY(0px) scaleY(1);
      opacity: 1;
    }
  }
  .drop {
    animation: drop 0.3s linear forwards var(--delay-time);
  }


/*Weather Icons*/
.wi{
    font-size: 1.25em;
    color: rgba(253,192,21,1);
}

.icon{
    color: rgba(0,155,218,1);
    font-size: 3em;
    margin-top: 0.3em;
}

.weather-card {
    max-width: 100%;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

.column-left {
    text-align: left;
}

.column-right {
    text-align: right;
}

.temp {
    font-size: 3rem;
    margin-left: 0.5em;
}

.temp-icon-wrapper {
    display: flex;
    justify-content: left;
}

.local{
    background: rgba(0,155,218,0.1);
    font-size: 1em;
}

.last-seen {
    font-size: 1.5rem;
    margin-left: 0.5em;
}

.time-pad{
    padding: 0px 8px 0px 0px;
}

.log-detail{
    /* color: rgba(253,192,21,1); */
    color: rgba(0,155,218,1);
}

.active-schedule-rt{
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    font-size: 0.75em;
    color: rgba(43,169,146,1);
}

@media only screen and (max-width: 600px) {
    .frm-login {
        margin: 5px;
    }
    
    .demo-icon{
        height: 100%;
    }

    .header-site-name{
        color: #003d60;
        float: right;
        padding-top: 5%;
        padding-left: 5%;
        padding-right: 10%;
        padding-bottom: 0;
        font-size: 20px;
    }

    .guide-text{
        padding: 0px 0px 0px 0px;
        margin: 0px 0px 0px 0px;
    }
    
    .guide-text p{
        color: #00aeef;
        font-size: 0.75em;
        line-height: 0.99;
        margin: 5px 0px 5px 0px;
    }

    .modal:before {
        height: 30%;
    }

    .square {
        margin: auto;
        width: 85%;
        background-color: rgba(0,155,218,1);
        border-radius: 10px;
    }

    .square img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 60%;
    }

    .square p {
        display: block;
        margin: 0px 0px 0px 0px;
        font-size: 3vw;
        text-align: center;
        color: #fff;
    }

    /*Weather Icons*/
    .icon{
        color: rgba(0,155,218,1);
        font-size: 2em;
        margin-top: 0.3em;
    }

    .temp {
        font-size: 2rem;
        margin-left: 0.5em;
    }
}
