@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

#center-content{
    width: auto;
    margin-left: 60px;
    margin-top: 65px;
    /* padding: 20px; */
    transition: 0.5s;
}
#center-content.move{
    width: auto;
    margin-left: 14rem;
}
/* sidebar */
aside{
    top: 0px;
    width: 60px;
}

#side-bar-text{
  display: none;
}
#side-bar-text.show-text{
  display: block;
}
#side-dropdown-icon{
  display: none;
}
#side-dropdown-icon.show-text{
  display: block;
}
aside ul li{
  cursor: pointer;
}
aside ul li:hover{
  background-color: rgba(255, 255, 255, 0.169);
  color: #fff;
  border-radius: 24px;
}
.active:hover{
  background-color: white;
  color: #032961;
}


#side-bar{
   transition: 0.5s;
}
#side-bar.move{
    width: 14rem;
}
/* sidebar end */

.table-header{
    font-size: 22px;
    font-weight: 600;
}

.active{
    display: block;
    border-radius: 24px;
    text-align: center;
    background-color: #ffff;
    color: #032961;
}
.dropdown-show{
  display: block;
}
#dropdown-container{
  display: none;
  background-color: rgba(255, 255, 255, 0.169);
  border-radius: 12px;
  width: 100%;
}
#dropdown-container.dropdown-show{
  display: none;
}
input[type=checkbox] {
  cursor: pointer;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
.header-section{
    margin-top: -45px;
}

body::-webkit-scrollbar {
    width: 8px;
  }

  body::-webkit-scrollbar-track {
    background: rgba(239, 240, 240, 0.808);        /* color of the tracking area */
  }

  body::-webkit-scrollbar-thumb {
    background-color: #032961;    /* color of the scroll thumb */
    border-radius: 24px;       /* roundness of the scroll thumb */
    z-index: 0;  /* creates padding around scroll thumb */
  }
  .overflow-y-auto::-webkit-scrollbar {
    width: 8px;               /* width of the entire scrollbar */
  }

  .overflow-y-auto::-webkit-scrollbar-track {
    background: rgba(239, 240, 240, 0.808);        /* color of the tracking area */
  }

  .overflow-y-auto::-webkit-scrollbar-thumb {
    background-color: #032961;    /* color of the scroll thumb */
    border-radius: 24px;       /* roundness of the scroll thumb */
    z-index: 0;  /* creates padding around scroll thumb */
  }
  .overflow-x-auto::-webkit-scrollbar {
    height: 6px;
  }
  .overflow-x-auto:hover::-webkit-scrollbar{
    height: 9px;
  }
  .overflow-x-auto::-webkit-scrollbar-track {
    background: rgba(239, 240, 240, 0.808);        /* color of the tracking area */
  }

  .overflow-x-auto::-webkit-scrollbar-thumb {
    background-color: #032961;    /* color of the scroll thumb */
    border-radius: 24px;       /* roundness of the scroll thumb */
    z-index: 0;  /* creates padding around scroll thumb */
  }
   /* #resize-column{
    resize: horizontal;
    overflow: auto;
    width: 60px;
    min-width: 30px;
    max-width: 250px;
    margin: 0px;
    padding: 0px;
    display:block;
    border: none;
  }  */
  

   /* drag table  */
   
/* drag table end  */
  .modal {
 /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  .drop-modal{
    display: block;
  }
  #modal-container{
    display: none;
  }
  #modal-container.drop-modal{
    display: block;
  }
.position-center{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
input::-webkit-calendar-picker-indicator {
    opacity: 0;
  }
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
.toggle-bg:after{background:#fff;border-color:#d1d5db;border-radius:9999px;border-width:1px;box-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);content:"";height:1.25rem;left:.125rem;position:absolute;top:.125rem;transition-duration:.15s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;width:1.25rem}input:checked+.toggle-bg:after{border-color:#fff;transform:translateX(100%);}input:checked+.toggle-bg{background:rgb(63 140 255);border-color:rgb(63 140 255)}

        @media (max-width: 780px) {
            body {
                /* height: 100vh; */
                /* overflow: auto; */
                overflow-x: hidden;
                overflow-y: scroll;

            }
            #center-content{
                margin-top: 13vh;
            }
            #side-bar{
                /* position: absolute;
                 */
                margin-top: 5vh;
            }
            nav {
                flex-wrap: wrap;
                height: 13vh;
            }

        .label-text {
            font-size: 9px;
        }
        td{
            font-size: 11px;
        }

        #gauge {
            height: 140px;
            width: 100%;
        }
        .modal-btn{
            color: var(--modal-btn-color);
            background-color: var(--modal-btn-bg-color);
            font-size: 9px;
            border: 1px solid white;
            padding: 2px 9px;
        }
        #circlechart {
            height: 140px;
            width: 100%;
        }
    }
