/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --blue: #1e90ff;
  --white: #ffffff;
  --header_height:50px;
  --sidebar_width:78px; 
  --footer_height:20px;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
a:link{
  text-decoration: none;
}

body{
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  height: auto;
  width: 100%;
  overflow: auto;
}

/* home navigation bar */
#home_nav_bar{
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#home_nav_bar a{
  text-decoration:none;
  color: #0698d6;
}
#home_nav_bar a:link {
  background-color: none;
}

#home_nav_bar a:visited {
  background-color: none;
}

#home_nav_bar a:hover {
  background-color: none;
  color: #0698d6;
}

#home_nav_bar a:active {
  background-color: none;
}




.sidebar{
  width: var(--sidebar_width);
  background: #11101d;
  z-index: 100;
  transition: all 0.5s ease;

}
.sidebar::-webkit-scrollbar {
  display: none;
}
.sidebar.close{
  width: var(--sidebar_width);
}
.logo-details{
  height: var(--header_height);
  width: 100%;
  display: flex;
  align-items: center;
}
.sidebar .logo-details i{
  font-size: 30px;
  color: #fff;
  min-width: 78px;
  text-align: center;
  line-height: 50px;
}
.logo-details .logo_name{
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s ease;
  transition-delay: 0.1s;}
.sidebar.close .logo-details .logo_name{
  transition-delay: 0s;
  opacity: 0;
  pointer-events: none;
}
.sidebar .nav-links{
  height: 100%;
  padding: 10px 0 0 0;
  overflow: auto;
}
.sidebar.close .nav-links{
  overflow: visible;
}
.sidebar .nav-links::-webkit-scrollbar{
  display: none;
}
.sidebar .nav-links li{
  position: relative;
  list-style: none;
  transition: all 0.4s ease;
}
.sidebar .nav-links li:hover{
  background: #1d1b31;
}
.sidebar .nav-links li .iocn-link{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar.close .nav-links li .iocn-link{
  display: block
}
.sidebar .nav-links li i{
  height: 50px;
  min-width: 78px;
  text-align: center;
  line-height: 50px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.sidebar .nav-links li.showMenu i.arrow{
  transform: rotate(-180deg);
}
.sidebar.close .nav-links i.arrow{
  display: none;
}
.sidebar .nav-links li a{
  display: flex;
  align-items: center;
  text-decoration: none;
}
.sidebar .nav-links li a .link_name{
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  transition: all 0.4s ease;
}
.sidebar.close .nav-links li a .link_name{
  opacity: 0;
  pointer-events: none;
}
.sidebar .nav-links li .sub-menu{
  padding: 6px 6px 14px 80px;
  margin-top: -10px;
  background: #1d1b31;
  display: none;
}
.sidebar .nav-links li.showMenu .sub-menu{
  display: block;
}
.sidebar .nav-links li .sub-menu a{
  color: #fff;
  font-size: 15px;
  padding: 5px 0;
  white-space: nowrap;
  opacity: 0.6;
  transition: all 0.3s ease;
}
.sidebar .nav-links li .sub-menu a:hover{
  opacity: 1;
}
.sidebar.close .nav-links li .sub-menu{
  position: absolute;
  left: 100%;
  top: -10px;
  margin-top: 0;
  padding: 10px 20px;
  border-radius: 0 6px 6px 0;
  opacity: 0;
  display: block;
  pointer-events: none;
  transition: 0s;
}
.sidebar.close .nav-links li:hover .sub-menu{
  top: 0;
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
}
.sidebar .nav-links li .sub-menu .link_name{
  display: none;
}
.sidebar.close .nav-links li .sub-menu .link_name{
  font-size: 18px;
  opacity: 1;
  display: block;
}
.sidebar .nav-links li .sub-menu.blank{
  opacity: 1;
  pointer-events: auto;
  padding: 3px 20px 6px 16px;
  opacity: 0;
  pointer-events: none;
}
.sidebar .nav-links li:hover .sub-menu.blank{
  top: 50%;
  transform: translateY(-50%);
}
.sidebar.close .profile-details{
  background: none;
}
.sidebar.close .profile-details{
  width: 78px;
}
.sidebar .profile-details .profile-content{
  display: flex;
  align-items: center;
}
.sidebar .profile-details img{
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 14px 0 12px;
  background: #1d1b31;
  transition: all 0.5s ease;
}
.sidebar.close .profile-details img{
  padding: 10px;
}
.sidebar .profile-details .profile_name,
.sidebar .profile-details .job{
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}
.sidebar.close .profile-details i,
.sidebar.close .profile-details .profile_name,
.sidebar.close .profile-details .job{
  display: none;
}
.sidebar .profile-details .job{
  font-size: 12px;
}
.home-section{
  position: relative;
  background: #E4E9F7;
  height: 100vh;
  left: 260px;
  width: calc(100% - 260px);
  transition: all 0.5s ease;
}
.sidebar.close ~ .home-section{
  left: 78px;
  width: calc(100% - 78px);
}
.home-section .home-content{
  height: 60px;
  display: flex;
  align-items: center;
}
.home-section .home-content .bx-menu,
.home-section .home-content .text{
  color: #11101d;
  font-size: 35px;
}
.home-section .home-content .bx-menu{
  margin: 0 15px;
  cursor: pointer;
}
.home-section .home-content .text{
  font-size: 26px;
  font-weight: 600;
}
@media (max-width: 400px) {
  .sidebar.close .nav-links li .sub-menu{
    display: none;
  }
  .sidebar{
    width: 78px;
  }
  .sidebar.close{
    width: 0;
  }
  .home-section{
    left: 78px;
    width: calc(100% - 78px);
    z-index: 100;
  }
  .sidebar.close ~ .home-section{
    width: 100%;
    left: 0;
  }
}



/************************ customizing ***********/
.header_section{
  background: #11101d;
  height: var(--header_height);
}
.head_section{
  box-sizing: border-box;
  margin: 5px 10px;
  width: calc(100% - 20px);
  height: calc(100% - 10px);
  background-image: linear-gradient(to right, #323042, #11101d);
  border-radius: 5px;
}
.body_section{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  /* own */
  /*background: green;*/
  flex-grow: 1;
}
.footer_section{
  background: #11101d;
  height: var(--footer_height);
}
.footer_section p{
  font-size: calc(0.6 * var(--footer_height));
  font-style: italic;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.tab_identifier{
  display: flex;
  /*justify-content: center;*/
  align-items: center;
  background-image: linear-gradient(to right, #09eba7, #3497fa);
  height: 30px;
  width: calc(100%-10px);
  margin: 5px 5px 5px 5px;
  padding-left: 10px;
  border-radius: 7px;
}
.tab_identifier p{
  margin: 0px;
}

.tab_identifier *{
  display: inline-block;
}
.tab_actions{
  display: flex;
  /*justify-content: center;*/
  align-items: center;
  height: 50px;
  width: 100%;
  border: 1px solid grey;
  background-color: white;
  border-radius: 10px;
}

.tab_actions .action{
  width: 30px;
  height: 30px;
  margin-left: 10px;
  border: 0px solid grey;
  border-radius: 5px;
}
.tab_actions .action:hover{
  color: aqua;
}




.loader_section{
  display: block;
  background: white;
  /*max-height: 100%;*/
  min-height: 100%;
}

.loader_section .tab_identifier{
  
}
.loader_section .tab_actions{
  
}
.loader_section .tab_actions a.action{
  
}
.loader_section .tab_actions a.action_icon i{
  font-size: 30px;
}


.logout{
  position: fixed;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1d1b31;
  padding: 12px 0;
  transition: all 0.5s ease;
}

.the_tab{
  padding: 10px 5px;
}

.tab_data{
  background: white;
  /*height: calc(100% - 50px);
  width: 100%;
  padding-right: 10px; /* space for scroll bar */
  overflow-x: hidden;
  overflow-y: auto;
}

.listings_table{
  border: none;
  border-collapse: collapse;
  width: 100%;
  text-align: center;
}
.listings_table.header{
  margin: 0px;
  border-spacing: 1px;
  height: 20px;
}
.listings_table.data tr.entry:hover {
  background-color: #c8ccc9;
}
.listings_table td{
  border-top: 1px solid black;
  padding: 3px 5px;
}


.table.logs td,tr{
  border: 1px solid grey;
  font-size: 14px;
}
.table.logs tr:hover{
  background-color: #c8ccc9;
}

.package{
  background: #1c6dd6;
  text-transform: capitalize;
  padding: 3px 5px;
  color: white;
  width: 100%;
  border-radius: 3px;
}
.active{
  background: #16e30b;
  text-transform: capitalize;
  padding: 3px 5px;
  color: white;
  width: 100%;
  border-radius: 3px;  
}
.expired{
  background: #f00c0c;
  text-transform: capitalize;
  padding: 3px 5px;
  color: white;
  width: 100%;
  border-radius: 3px; 
}
.inactive{
  background: #b0aeae;
  text-transform: capitalize;
  padding: 3px 5px;
  color: white;
  width: 100%;
  border-radius: 3px; 
}


/* Cashbook css */
.popup *{
  margin: 0px;
  padding: 0px;
}
.popup_bg{
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: white;
  backdrop-filter:url(commonfilters.svg#filter);
  backdrop-filter:blur(10px);
  opacity: 0.6;
}
.popup_bg.active{
  display: block;
}
.popup{
  position: fixed;
  text-align: center;
  padding: 20px 0px;
  top: -150%;
  left: 50%;
  transform:translate(-50%, -50%) scale(1.1);
  width: 300px;
  /*padding:20px 30px;*/
  background: #39B54A;
  box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  transition: top 0ms ease-in-out 20ms,
        opacity 200ms ease-in-out 0ms,
        transform 20ms ease-in-out 0ms;
  -webkit-transition:width .3s ease-in-out;
  transition:width .3s ease-in
}
.popup.active{
  top: 50%;
  opacity: 1;
  transform:translate(-50%, -50%) scale(1);
  transition: top 0ms ease-in-out 0ms,
        opacity 200ms ease-in-out 0ms,
        transform 20ms ease-in-out 0ms;
}

/* MAIN SECTION */ 
.main{
  /*background: none;
  padding:10px 20px;*/
  background: white;
  /*overflow-y: scroll;*/
}


/*.main_section{
  background: white;
  border-radius: 15px;
  padding:10px;
}*/

/* offcanvas */
.offcanvas{
  width: 250px;
}

.offcanvas ul {
  padding: 0px;
}
.offcanvas li.nav-link{
  background: #878786;
  text-transform: capitalize;
  padding: 3px 5px;
  margin: 3px 0px;
  color: white;
  width: 100%;
  border-radius: 3px;
}
.offcanvas li.nav-link:hover{
  background: #486bf7;
}

.offcanvas .offcanvas-body {
  padding-top: 0px;
}

/*    UNIVERSAL POPUP      */
.popup_bg.active{
  display: block;
}
.popup{
  position: fixed;
  text-align: center;
  padding: 20px 0px;
  top: -150%;
  left: 50%;
  transform:translate(-50%, -50%) scale(1.1);
  /*width: 80%;
  padding:20px 30px;*/
  background: #39B54A;
  box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  transition: top 0ms ease-in-out 20ms,
        opacity 200ms ease-in-out 0ms,
        transform 20ms ease-in-out 0ms;
  -webkit-transition:width .3s ease-in-out;
  transition:width .3s ease-in
}
.popup.active{
  top: 50%;
  opacity: 1;
  transform:translate(-50%, -50%) scale(1);
  transition: top 0ms ease-in-out 0ms,
        opacity 200ms ease-in-out 0ms,
        transform 20ms ease-in-out 0ms;
}


a.action i:hover{
  color: blue;
}

/**/
.hidden{
  display: none;
}

/* scroll bar*/
/* width */
::-webkit-scrollbar {
  width: 6px;
}

/* track */
::-webkit-scrollbar-track{
  box-shadow: inset 0 0 3px grey;
  border-radius: 5px;
}

/* handle */
::-webkit-scrollbar-thumb {
  background: #c2c2c2;
  /*border-radius: 5px;*/
}

/* handle hover */
::-webkit-scrollbar-thumb:hover{
  background: #c2c2c2;
}