.main{
    display:flex;
}
    /***********************  TOP Bar ********************/
    .sidebar {
        width: 15rem;
        background-color: #000;
        transition: all 0.5s ease-in-out;
        height: 100%;
    }

.footer-ul a{
	border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    font-size: 12px;
    background-color: #fff;
    padding: 7px 10px;
    border-bottom: 1px solid #eeeeee;
    color: #333 ; display: block;
    }

      .dropdown-menu-over .menu{  max-height: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: hidden;}

    .navbar-nav>.notifications-menu>.dropdown-menu li .menu>li>a {
    color: #444444;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px;
}
.navbar-nav>.notifications-menu>.dropdown-menu li .menu>li>a>.glyphicon, .navbar-nav>.notifications-menu>.dropdown-menu li .menu>li>a>.fa, .navbar-nav>.notifications-menu>.dropdown-menu li .menu>li>a>.ion {
    width: 20px;
}

a.navbar-brand {
    width: 165px;
}


/***    left menu ****/

/***********************  TOP Bar ********************/
.sidebar{ background-color:#fff;transition: all 0.5s  ease-in-out; }
.bg-defoult{background-color:#222;}
.sidebar ul{ list-style:none; margin:0px; padding:0px; background-color: red;}
.sidebar li a,.sidebar li a.collapsed.active{ display:block; padding:8px 12px; color:#5d5b6f;border-left:0px solid #fbb;  text-decoration:none;background-color: #fffefe;}
.sidebar li a.active {
	background-color: #e1e4f2;
	border-left: 5px solid #5867dd;
	transition: all 0.5s ease-in-out;
}
.sidebar li a:hover{transition: background-color 0.3s;}
.sidebar ul li .sub-menu li a{ position:relative}
.sidebar li a i {
	padding-right: 5px;
	color: #7e7e95;
}
.sidebar ul li .sub-menu li a:hover:after {
    content: "";
    position: absolute;
    left: -5px;
    top: 0;
    width: 5px;
    background-color: #111;
    height: 100%;
}
.sidebar .nav-label, .sidebar ul li .sub-menu li a {
    font-weight: 500;
    font-size: 1rem;
}
.sidebar i {
	font-size: 0.8rem;
}
.sidebar .fa-chevron-right {
	margin-top: 10px;
}

.sidebar ul li .sub-menu li a:hover{ background-color:#f4f4f4; padding-left:20px; transition: all 0.5s  ease-in-out;color: #5d78ff;}
.sub-menu{ border-left:5px solid #dedede;}
	.sidebar li a .nav-label,.sidebar li a .nav-label+span{ transition: all 0.5s  ease-in-out}
	

	.sidebar.fliph li a .nav-label,.sidebar.fliph li a .nav-label+span{ display:none;transition: all 0.5s  ease-in-out}
	.sidebar.fliph {
    width: 42px;transition: all 0.5s  ease-in-out;
   
}
	
.sidebar.fliph li{ position:relative}
.sidebar.fliph .sub-menu {
    position: absolute;
    left: 39px;
    top: 0;
    background-color: #222;
    width: 150px;
    z-index: 100;
}
	

	.user-panel {
    clear: left;
    display: block;
    float: left;
}
.user-panel>.image>img {
    width: 100%;
    max-width: 45px;
    height: auto;
}
.user-panel>.info,  .user-panel>.info>a {
    color: #fff;
}
.user-panel>.info>p {
    font-weight: 600;
    margin-bottom: 9px;
}
.user-panel {
    clear: left;
    display: block;
    float: left;
    width: 100%;
    margin-bottom: 15px;
    padding: 25px 15px;
    border-bottom: 1px solid;
}
.user-panel>.info {
    padding: 5px 5px 5px 15px;
    line-height: 1;
    position: absolute;
    left: 55px;
}

.fliph .user-panel{ display: none; }

.kt-content {
    width:100% !important;
}
@media (max-width: 1024px) {
    .kt-header-mobile__logo img {
      max-width: 34%;
    }
    .sidebar {
        display: none;
    }
    .sidebar.mobile {
        display: block !important;
    }
    .m-container {
        padding: 1rem;
    }
    .kt-content {
        max-width: width;
    }
    
}
@media (min-width: 1025px) {
    
    
    .kt-content {
        max-width: calc(100vw - 18rem);
    }
    .fliph > .kt-content {
        max-width: calc(100vw - 5rem) !important;
    }
    
}
.sidebar li a.active a:hover {
	background-color: #f4f4f4;
	color: #5d78ff !important;
}
.list-sidebar {
	margin-top: 1rem !important;
}

.sidebar ul li .sub-menu li.active a {
	background-color: #f4f4f4;
	transition: all 0.5s ease-in-out;
	color: #5d78ff;
}

.kt-header-mobile--fixed .kt-header-mobile {
    width: 100vw;
}


.collapse-multibar:hover .sidebar li a {
	background-color: #fff;
	border-left: 5px solid #5867dd;
	transition: all 0.5s ease-in-out;
}

.collapse-multibar:hover .sidebar li a,.collapse-multibar:hover .sidebar li a.collapsed {
	display: block;
	padding: 8px 12px;
	color: #5d5b6f;
	border-left: 0px solid #dedede;
	text-decoration: none;
	background-color: white;
}

div.dataTables_wrapper div.dataTables_processing {
	display:none !important;
	background-color: #2f3b99;
	border: 3px solid #5867dd2b;
    color:white;
    z-index: 3000000000000;
}
/*
.dt-buttons.btn-group {
    margin-top: 2rem;
}*/
.form-control {
	font-size: 14px !important;
}
.sidebar .collapse.show a {
	background-color: #f1f1f4 !important;
	/* padding-left: 14px; */
}
.kt-portlet .kt-portlet__body {
	padding: 11px 25px !important;
}
body {
	color: #313860 !important;
}


.kt-portlet .kt-portlet__foot {
	padding: 12px 25px;

}
.form-group {
	 margin-bottom: 1rem; 
}
.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
	color: #313860;
}
/*
.toUpper {
	text-transform: uppercase;
}
*/



/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 99999999999999999999999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  
  /* Transparent Overlay */
  .loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
      background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
  
    background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
  }
  
  /* :not(:required) hides these rules from IE9 and below */
  .loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
  }
  
  .loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
  }
  
  /* Animation */
  
  @-webkit-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-moz-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-o-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }


  .dataTables_wrapper {
    padding: 0 !important;
    position: relative;
    margin-top: 4rem;
  }

  .dt-buttons {
    position: absolute;
    top: 0;
  }