@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700|Poppins:400,500&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");
:root {
    --primary-color: #012970;
    --secondary-color: #1769aa;
    --black-color: #000000;
    --white-color: #ffffff;

    --color-primary: #2196f3;
    --color-danger:#ff7782;
    --color-success: #41f1b6;
    --color-warning: #ffbb55;
    --color-white: #fff;
    --color-info-dark: #7d8da1;
    --color-info-light: #dce1eb;
    --color-dark: #363949;
    --color-light: rgba(132, 139, 200, 0.18);
    --color-primary-variant: #111e88;
    --color-dark-variant: #677483;
    --color-background: #f6f6f9;
    --color-purple: #7e3af2;
    --card-border-radius: 2rem;
    --border-radius-1: 0.4rem;
    --border-radius-2: 0.8rem;
    --border-radius-3: 1.2rem;

    --card-pading: 1.8rem;
    --padding-1: 1.2rem;

    --box-shadow: 0 2rem 3rem var(--color-light)
}
body,
button {
    /* font-family: "Inter", sans-serif; */
    font-family: poppins, sans-serif;
    font-size: 1rem;
    background: var(--color-background);
  
}
:root {
  --offcanvas-width: 250px;
  --topNavbarHeight: 60px;
}
#sensor-chart, #amchart {
  height: 50vh;
}


*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}
/* body{
    background: #0a1428;
} */
main {
    margin-top: 60px;
}
.bg-img{
  background: var(--primary-color);
  height: 100vh;
  background-size: cover;
  background-position: center;
}
.logo {
    width: 200px;
    height: 90px;
    margin-left: 20px;
    margin-top: 10px;
  }
.dashboard-logo{
    width: 100px;
    height: 50px;
    display: inline;
    margin-left: 15px;
}
html{
    font-size: 14px;
}
h1 {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
  }
h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
  }
h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
  }
h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
  }
h5 {
    font-size: 24px;
    font-weight: 400;
    color: var(--primary-color);
  }
h6 {
font-size: 16px;
font-weight: 200;
color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
}

/* Side Nav */
.sidebar-nav {
    width: var(--offcanvas-width);
    background: white;
    margin-top: 0.2rem;
  }
.sidebar-link {
    display: flex;
    align-items: center;
}
.sidebar-link .right-icon {
    display: inline-flex;
}
.sidebar-link[aria-expanded="true"] .right-icon {
    transform: rotate(180deg);
}

.sidenav-offcanvas-body {
    flex-grow: 1;
    /* padding: 1rem 1rem; */
    overflow-y: auto
}

.navbar {
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
}
nav {
    margin-top: 0px;
}
.navbar-nav{
    border-right: none;
}
.navbar-toggler, .navbar-toggler-icon{
    background-color: var(--secondary-color)!important;
}
.navbar-toggler:hover, .navbar-toggler-icon:hover, .navbar-toggler:hover{
    background-color: var(--color-primary)!important;
}
.nav-link span{
    color: var(--color-dark-variant);
    font-family: "Nunito", sans-serif;
    font-weight: 550;
    /* margin-left: .5rem; */
    gap: 1rem;
    align-items: center;
    position: relative;
    height: 3.7rem;
    transition: all 300ms ease;
}
.nav-link:hover{
    background: var(--secondary-color);
    color: var(--white-color);
}

.nav-link:hover span{
    color: var(--white-color);
    margin-left: 1rem;
}

/* .top-navbar{
    background-color: white;
}
.top-navbar button{
    background-color: #4154f1;
} */
.dropdown-toggle{
    color: var(--color-dark)!important;
}
.dropdown-toggle:hover{
    color: var(--white-color)!important;
}

/* -------------------- */
.white-color{
    color: var(--white-color);
}

.primary-color{
    color: var(--secondary-color);
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
    width: 370px;
    text-align: center;
    padding: 60px 32px;
    background: rgba(255, 255,255,0.14);
    box-shadow: -1px 4px 28px 0px rgba(0, 0,0,0.75);
}
.content header{
    color: white;
    font-size: 33px;
    font-weight: 600px;
    margin: 0 0 35px 0; 
    font-family: 'Montserrat', sans-serif;

}
.msg{
    color: red;
    font-family: 'Montserrat', sans-serif;
}

.field{
    position: relative;
    height: 45px;
    width: 100%;
    display: flex;
    background: rgba(255, 255,255,0.74);
}
.field input{
    height: 100%;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #222;
    font-size: 16px;
    font-family: 'Poppins',sans-serif;

}
.show_password{
    right: 13px;
    font-size: 13px;
    font-weight: 700;
    color: #2ecc71;
    cursor: pointer;
    display: none;
    font-family: 'Montserrat',sans-serif;
    
}
.password:valid ~ .show_password{
    display: block;
}
.field span{
    color: rgb(14, 14, 14);
    width: 40px;
    line-height: 45px;
}
.space {
    margin-top: 16px;
}
.pass{
    text-align: left;
    margin: 10px 0;
}
.pass a{
    color: white;
    font-family: 'Poppins',sans-serif;
    text-decoration: none;
}
.pass:hover a{
    text-decoration: underline;
}
input[type="submit"]{
    background: var(--secondary-color);
    border: 1px solid #1d2d50;
    color: gray;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: 'Montserrat',sans-serif;
}
input[type="submit"]:hover{
    background: rgb(59, 34, 65);
}
.login{
    color: var(--primary-color);
    margin: 20px 0;
    font-family: 'Poppins',sans-serif;
}
.link{
    display: flex;
    cursor: pointer;
    color: white;
    margin: 0 0 20px 0;
}
.signup{
    color: var(--primary-color);
    font-size: 15px;
    font-family: 'Poppins',sans-serif;
}
.signup a{
    color: #4154f1;
    text-decoration: none;
}
.signup a:hover{
    text-decoration: underline;
}

/* Error page */
.error-container{
    max-width: 500px;
    width: 100%;
    /* background-color: var(--white-color); */
    padding: 25px 30px;
    color: red;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
    border-radius: 8px;
    box-shadow: -1px 4px 28px 0px rgba(0, 0,0,0.75);
}

/* Login and register styles */
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
.login-body, .register-body{
    /* background-color: #fff; */
    /* background-image: url("img/map-bg.png"); */
    /* background-repeat: no-repeat, repeat; */
}
.card {
    background: var(--color-white);
    border-radius: var(--card-border-radius);
    margin-top: .5rem;
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;
}
.card:hover {
    background-color: #e6ebf7;

}
.card h4{
    color: var(--color-dark);
    font-size: 1.1rem;
    margin-top: 10px;
    margin-left: 20px;
  }
.box {
    width: 400px;
    padding: 40px;
    position: absolute;
    background: whitesmoke;
    text-align: center;
    transition: 0.25s;
    border-radius: 24px;
    box-shadow: -1px 4px 28px 0px rgba(175, 167, 167, 0.75);;
}

.box input[type="text"],
.box input[type="email"],
.box input[type="number"],
.box input[type="file"],
.box input[type="password"] {
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 1px solid grey;
    padding: 10px 10px;
    width: 250px;
    outline: none;
    color: var(--primary-color);
    border-radius: 12px;
    transition: 0.25s
}
.register-box input[type="text"],
.register-box input[type="email"],
.register-box input[type="password"],
.register-box input[type="number"],
.register-box input[type="file"],
.register-box select  {
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 1px solid grey;
    padding: 10px 10px;
    width: 250px;
    outline: none;
    color: var(--primary-color);
    border-radius: 12px;
    transition: 0.25s
}

/* .box h1 {
    color: white;
    text-transform: uppercase;
    font-weight: 500
} */

.box input[type="text"]:focus,
.box input[type="password"]:focus,
.box input[type="email"]:focus  {
    width: 300px;
    border-color: #4154f1
}

.box input[type="submit"] {
    border: 0;
    background: var(--secondary-color);
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid var(--secondary-color);
    padding: 14px 40px;
    outline: none;
    color: white;
    border-radius: 12px;
    transition: 0.25s;
    width: 250px;
    cursor: pointer
}

.box input[type="submit"]:hover {
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.forgot {
    text-decoration: underline;
    color: var(--primary-color);
}


ul.social-network {
    list-style: none;
    display: inline;
    margin-left: 0 !important;
    padding: 0
}

ul.social-network li {
    display: inline;
    margin: 0 5px
}

.social-network a.icoFacebook:hover {
    background-color: #3B5998
}

.social-network a.icoTwitter:hover {
    background-color: #33ccff
}

.social-network a.icoGoogle:hover {
    background-color: #BD3518
}

.social-network a.icoFacebook:hover i,
.social-network a.icoTwitter:hover i,
.social-network a.icoGoogle:hover i {
    color: #fff
}

a.socialIcon:hover,
.socialHoverClass {
    color: #44BCDD
}

.social-circle li a {
    display: inline-block;
    position: relative;
    margin: 0 auto 0 auto;
    border-radius: 50%;
    text-align: center;
    width: 50px;
    height: 50px;
    font-size: 20px
}

.social-circle li i {
    margin: 0;
    line-height: 50px;
    text-align: center
}

.social-circle li a:hover i,
.triggeredHover {
    transform: rotate(360deg);
    transition: all 0.2s
}

.social-circle i {
    color: var(--primary-color);
    transition: all 0.8s;
    transition: all 0.8s
}
/* ======================================= Register Styles ================================================ */
.container{
    max-width: 500px;
    width: 100%;
    background: rgba(255, 255,255,0.14);
    padding: 25px 30px;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
    border-radius: 8px;
    box-shadow: -1px 4px 28px 0px rgba(0, 0,0,0.75);
}
.login-container{
    max-width: 500px;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 15%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
   
}
.register-container{
    /* max-width: 500px; */
    width: 100%;
    position: absolute;
    text-align: center;
    /* top: 15%; */
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
   
}
.container header{
    color: white;
    font-size: 33px;
    font-weight: 600px;
    margin: 0 0 15px 0; 
    font-family: 'Montserrat', sans-serif;
    position: relative;

}
.container header::before{
    content: '';
    position: absolute;
    left: 35%;
    bottom: 0;
    height: 3px;
    width: 30px;
    background: red;
}
.container form .user-details{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0 20px 0;
}
.container h5, .register-container h5{
    /* color: white; */
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}
.user-details .input-box input:focus,
.user-details .input-box input:focus{
    color: #9b59b6;
}
/* form .gender-details {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #3498db;
    padding: 10px 10px;
    width: 250px;
    outline: none;
    border-radius: 12px;
    transition: 0.25s
} */
/* select option[value="Female"],
select option[value="Male"],
select option[value="N/A"]{
    background: grey;
} */

/* form .gender-details .gender-category{
    display: flex;
    width: 100%;
    margin: 14px 0;
    justify-content: space-between; 
}
.gender-details .gender-category label{
    display: flex;
    align-items: center;
}
.gender-details .gender-category .dot{
    height: 18px;
    width: 18px;
    background: #d9d9d9;
    border-radius: 50%;
    margin-right: 10px;
    margin-left: 30px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
} */
#dot-1:checked ~ .gender-category label .one,
#dot-2:checked ~ .gender-category label .two,
#dot-3:checked ~ .gender-category label .three
{
    border-color: #d9d9d9 ;
    background: #9b59b6;
}
form input[type="radio"]{
    display: none;
}
.inline-display{
    display: inline;
}
.left-margin{
    margin-left: 1rem;
}
.right-margin{
    margin-right: 1rem;
}

@media (max-width:190px){
    body{
        /* background: white; */
    }
    .bg-img{
        /* background: white; */
        height: 100%;
        background-size: cover;
        background-position: center;
      }
    .container{
        max-width: 80%;
        margin-top: 30%;
        margin-left: 2%;
    }
    form .back_btn input{
        height: 45px;
        width: 180px;
    }
    form .register_btn input{
        width: 180px;
    }
form .register_btn input{
    height: 35px;
    width: 220px;
    font-size: 18px;
    border-radius: 5px;
    font-weight: 500;
    letter-spacing: 1px;
    }
    form .back_btn{
        height: 45px;
    }
    form .back_btn input{
        height: 35px;
        width: 220px;
        font-size: 18px;
        border-radius: 5px;
        font-weight: 500;
        letter-spacing: 1px;
        background: rgb(39, 104, 73);
    }

    .gender-details .gender-category .dot{
        height: 10px;
        width: 10px;
        background: #d9d9d9;
        border-radius: 50%;
        margin-right: 10px;
        margin-left: 15px;
        border: 3px solid transparent;
        transition: all 0.3s ease;
    }
    .user-details .input-box input{
        height: 30px;
     
    } 
}

.btn-main {
    color: #fff;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 10px;
}
.btn-main:hover {
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    border-radius: 10px;
}
.btn-verify {
    margin: 5px auto;
    padding: 5px 5px;
    color: #fff;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 10px;
}

.main-div{
    margin: 10px;

}
.btn-add{
    margin-top: 5px;
    top:0;
    right:0;;
}
.btn-add:hover{
    color: white;
}
.btn-apply{
    margin-left: 30%;
    margin-top: 20px;

}
.btn-close{
    background-color: white;
}
/* Home page cards */

.card-divider {
    display: flex
}
.card-name{
    font-size: 14px;
    font-weight: 200;
    color: #012970;
}
.card-right {
    width: 60%;
    margin-top: 20px;
}

.card-icon {
    margin-left: 5%;
    margin-top: 40%;
    color: lime;
}

.card-icon-offline {
    margin-left: 5%;
    margin-top: 40%;
    color: black;
}

.card-icon-online {
    margin-left: 5%;
    margin-top: 40%;
    color: lime;
}

.card-code {
    color: red;
    font-size: 15px;
    font-weight: bold
}

.card-left {
    width: 20%;
    background-color: var(--secondary-color);
    color: #fff
}

.card-left-online {
    width: 20%;
    background-color: green;
    color: #fff
}
.card-left-offline {
    width: 20%;
    background-color: #dc3545;
    color: #fff
}

.device-card-left {
    width: 10%;
}
.error_message{
    color: red;
}

.order-card {
    color: #fff;
}
.card-link
{
    text-decoration: none;
}
.bg-c-blue {
    background: linear-gradient(45deg,#4099ff,#73b4ff);
}

.bg-c-green {
    background: linear-gradient(45deg,#2ed8b6,#59e0c5);
}

.bg-c-yellow {
    background: linear-gradient(45deg,#FFB64D,#ffcb80);
}

.bg-c-pink {
    background: linear-gradient(45deg,#FF5370,#ff869a);
}
.bg-c-slateblue {
    background: linear-gradient(45deg,#6A5ACD,#8171e7);
}
.bg-c-purple {
    background: linear-gradient(45deg,#aa2498,#df20c5);
}

.bg-c-main {
    background: var(--primary-color);
}

.card {
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 2.94px 0.06px rgba(4,26,55,0.16);
    box-shadow: 0 5px 5px 10px rgba(4,26,55,0.16);
    border: none;
    margin-bottom: 30px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    min-width: 200px;
    color: var(--black-color);
    background-color: whitesmoke;
}

.system-card {
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 2.94px 0.06px rgba(4,26,55,0.16);
    box-shadow: 0 5px 5px 10px rgba(4,26,55,0.16);
    border: none;
    margin-bottom: 30px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    /* min-width: 150px; */
    margin-right: .5rem;
    color: var(--black-color);
    background-color: whitesmoke;
}

/* .table-card {
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 2.94px 0.06px rgba(4,26,55,0.16);
    box-shadow: 0 5px 5px 10px rgba(4,26,55,0.16);
    border: none;
    margin-bottom: 30px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    min-width: 200px;
    color: var(--black-color);
    background-color: whitesmoke;
} */
.data-table{
    background: whitesmoke;
    width: 90%;
    padding: var(--card-pading);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;
}
.data-table tbody td{
    height: 1.5rem;
    border-bottom: 1px solid var(--color-light);
    color: var(--color-dark-variant);
}
.data-table tr{
    height: 2rem;
    border-bottom: 1px solid var(--color-light);
    color: var(--primary-color);
}

.material-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
  }
  
  .material-table th,
  .material-table td {
    padding: 8px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .material-table th {
    background-color: #f5f5f5;
    font-weight: 600;
  }
  
  .material-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  .material-table tbody tr:hover {
    background-color: #d1cfcf;
  }
  
  .material-table h2 {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
    color: #333333;
  }
/* table.dataTable thead th,
table.dataTable thead td {
  padding: 10px 18px;
  border-bottom: 1px none #111;
}

table.dataTable tfoot th,
table.dataTable tfoot td {
  padding: 10px 18px 6px 18px;
  border-top: 1px none #111;
} */

.card .card-block {
    padding: 10px;
}
.card h6 {
    color: var(--white-color);
    margin-top: 5px;
}
.device-card h6 {
    color: var(--white-color);
}

.order-card i {
    font-size: 26px;
}
.card-block span, .card-header span{
    margin: 5px;
    padding: 2px;
    border-radius: 5px;
}
.card p input,
.modal-body label input{
    background: none;
    outline: none;
    border: none;
    color: black;
    width: 100%;
}

.modal-body code textarea{
    background: none;
    border: none;
    outline: none;
    color: black;
    width: 90%;
    height: 100px;
    margin-left: 20px;
}

.card p textarea{
    background: none;
    border: none;
    width: 100%;
    color: var(--black-color);
    display:black;
}
.card-text strong{	
	font-weight:700;
	color:var(--black-color);
	font-size:15px;
}
.card-text span{	
	color: var(--black-color);
	font-size:14px;
	display:block;
}
.card-header-color{
    background-color: var(--secondary-color);
    color: var(--white-color);
}
.card-field{
    border: 0;
    background: none;
    /* display: block; */
    margin: 5px auto;
    text-align: center;
    border: 2px solid grey;
    padding: 5px 5px;
    width: 300px;
    outline: none;
    color: var(--black-color);
    border-radius: 6px;
    transition: 0.25s
}

.input-field{
    border: 0;
    background: none;
    /* display: block; */
    margin: 5px auto;
    text-align: center;
    border: 2px solid grey;
    padding: 5px 5px;
    /* width: 300px; */
    outline: none;
    color: var(--black-color);
    border-radius: 6px;
    transition: 0.25s
}

  /* Device cards toggle */
.toggleSwitch:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .toggleSwitch {
    background-color: #00a152;
    height: 20px;
    width: 50px;
}

input + .toggleSwitch {
    background-color: grey;
    height: 20px;
    width: 50px;
}

/* input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
} */

input:checked + .toggleSwitch:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.modal-header{
    background-color:var(--secondary-color);
    color: var(--white-color);
}
.table-footer{
    background-color: var(--black-color);
}

.f-left {
    float: left;
}

.f-right {
    float: right;
}

.Online-status{
    border-radius: 999px;
    background-color: #00a152;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}
.table-online-status{
    background-color: green;
    color: #fff;
    padding: 2px;
    border-radius: 5px;
}
.Offline-status{
    border-radius: 999px;
    background-color: #e22c3b;
    color: #fff;
    font-size: 12px;
    /* font-weight: bold; */
}
.table-offline-status{
    background-color: rgb(248, 29, 29);
    color: #fff;
    padding: 2px;
    border-radius: 5px;
}
.table thead,
.table th {
    text-align: center;
}
.Unknown-status{
    background-color: orange;
}

/* Date slider */
.datetime-picker{
    background-color: #2691d9;
    width: 5px;
  }
  .select_time_zone{
    background-color: transparent;
    height: 32px;
  }
.select_time_zone_div{
    padding: 2px 10px;
}
.btn-save-time-zone{
    height: 32px;
}
.time_offset_label{
    border: 0; 
    color: #677483; 
    font-weight: 12px; 
}
label{
    color: var(--black-color);
    margin-left: 20px;
}
.date-picker input{
    width: 95%;
    margin: 10px;
    border: 0;
    display: block;
    text-align: center;
    padding: 10px 10px;
    outline: none;
    color: white;
    border-radius: 15px;
    transition: 0.25s
}
.date-picker .slider{
    width: 85%;
    margin-left: 20px;
    background: var(--secondary-color);
}

.slider::-webkit-slider-thumb{
    background-color: yellow;
}
.slider:hover{
    background-color: #373d74; 
}


/* Scroolbar */
::-webkit-scrollbar {
    width: 20px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: var(--secondary-color); 
    border-radius: 5px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary); 
  }

  @media (min-width: 962px) {
    body {
      overflow: auto !important;
    }
    main {
      margin-left: 130px;
      margin-top: 60px;
    }
    /* this is to remove the backdrop */
    .offcanvas-backdrop::before {
      display: none;
    }
    .sidebar-nav {
      -webkit-transform: none;
      transform: none;
      visibility: visible !important;
      height: calc(100% - var(--topNavbarHeight));
      top: var(--topNavbarHeight);
    }
    
  }
@media only screen and (max-width: 768px) {
    .btn-add{
        margin: 10px;
    }
}
@media only screen and (max-width: 380px) {
    main {
        margin-top: 70px;
      }
}

@media only screen and (max-width: 323px) {
    main {
        margin-top: 120px;
      }
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .switch input {display:none;}
  
  .slider {
    position: relative;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  } 
  
  .datatable-button{
    background-color: var(--secondary-color) !important;
    color: var(--white-color) !important;
    margin-top: 10px;
  }
  .material-button {
    display: inline-block;
    background-color: var(--secondary-color)!important;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .material-button:hover {
    background-color: #1976d2;
  }

  .material-divider {
    height: 1px;
    border: none;
    background-color: rgba(0, 0, 0, 0.12);
    margin: 8px 0;
  }
  .material-danger-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background-color: #e22c3b;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
  }

  .material-success-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background-color: #00a152;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
  }
.material-danger-color{
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background-color: #e22c3b;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}
.material-success-color{
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background-color: #00a152;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.material-font{
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
}

.material-dropdown {
    position: relative;
    display: inline-block;
  }
  
  .material-dropdown select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
  }
  
  .material-dropdown-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
  }
  
  .material-dropdown-icon i {
    font-size: 24px;
    color: #999;
  }
  
  .material-dropdown-icon i:hover {
    color: #666;
  }