/* Shrinking the sidebar from 250px to 80px and center aligining its content*/
@import url('https://fonts.googleapis.com/css?family=Barlow');
@import url('https://fonts.googleapis.com/css?family=Poppins:200');

body {
    font-family: 'Poppins', sans-serif !important;
}

body, html {
	font-size: 90%;
}
.stretch {
    background-color: #fafafa;
}

.wrapper {
    display: flex;
    align-items: stretch;
}

html.js.no-touch.cssanimations.csstransitions body.pace-done div.wrapper main.main div#content div.stretch.ui-layout-column div#col2.stretch.ui-layout-container.animate-column {
    width: unset !important;
}

.top-bar {
	width:82%;
	height:60px; 
	background: #0d47a1;
    border-bottom: 1px solid #0277bd;
    color: white;
}

.dl-divider {
	background: #ececeb;
}

div[dropdown] a {
    background: white;
}

#content > div > .stretch {
    max-width: 82%;
	top: 60px !important;
}

.ui-layout-column > .ui-splitbar {
	width: 1px !important;
}

.ds-me a, .ds-me li{
	font-size: 15px;
	padding-top:0px !important;
	padding-bottom:0px !important;
}

.ds-me a {
	font-size: 18px;
}

.flyout-content .ds-nav .stacked .username{
    background-color: #37474f;
}

.flyout-content .ds-nav .stacked .username h5{
    color: white;
}

#sidebar {
	overflow: auto;
	width:18%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
	background-color: #546e7a;
	display: none;
    transition: all 0.3s;
}

#content {
	height:100vh;
	margin-left: 18%;
}

#content > div > .stretch {
    margin-left: 18%;
}

#sidebar a[data-toggle="collapse"] {
    position: relative;
}

#sidebar .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#dismiss {
    width: 35px;
    height: 35px;
    position: absolute;
    /* top right corner of the sidebar */
    top: 10px;
    right: 10px;
}

#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

#sidebar .sidebar-header {
    padding: 20px;
    color: white;
    background-color: #37474f;
    border-bottom: 1px solid #ececeb;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar a {
	text-decoration: none !important;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.2em;
    display: block;
	color: white;

}
#sidebar ul li a:hover {
    background: rgba(255,248,213,0.1);
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: rgba(255,248,213,0.1);
}

#sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #37474f;
}

/* Toggling the sidebar header content, hide the big heading [h3] and showing the small heading [strong] and vice versa*/
#sidebar .sidebar-header strong {
    display: none;
}
#sidebar.active .sidebar-header h3 {
    display: none;
}
#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar.active ul li a {
    padding: 20px 10px;
    text-align: center;
    font-size: 0.65em;
}

#sidebar.active ul li a i {
    margin-right:  0;
    display: block;
    font-size: 1.2em;
    margin-bottom: 5px;
}

/* Same dropdown links padding*/
#sidebar.active ul ul a {
    padding: 10px !important;
}

/* Changing the arrow position to bottom center position, 
   translateX(50%) works with right: 50% 
   to accurately  center the arrow */
#sidebar.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar::-webkit-scrollbar {
  width: 10px;
}

/* Track */
#sidebar::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
#sidebar::-webkit-scrollbar-thumb {
  background: #1966194c; 
  border-radius: 50px;
}

/* Handle on hover */
#sidebar::-webkit-scrollbar-thumb:hover {
  background: #196619; 
}

@media (max-width: 768px) {
    /* 80px and its content aligned to centre. Pushing it off the screen with the
       negative left margin
    */
    #sidebar.active {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }


    /* Reappearing the sidebar on toggle button click */
    #sidebar {
        margin-left: 0; 
    }


    /* Toggling the sidebar header content, 
       hide the big heading [h3] and showing the small heading [strong] and vice versa
    */
    #sidebar .sidebar-header strong {
        display: none;
    }
    #sidebar.active .sidebar-header h3 {
        display: none;
    }
    #sidebar.active .sidebar-header strong {
        display: block;
    }

    /* Downsize the navigation links font size */
    #sidebar.active ul li a {
        padding: 20px 10px;
        font-size: 0.65em;
    }

    #sidebar.active ul li a i {
        margin-right:  0;
        display: block;
        font-size: 1.2em;
        margin-bottom: 5px;
    }

    /* Adjust the dropdown links padding*/
    #sidebar.active ul ul a {
        padding: 10px !important;
    }

    /* Changing the arrow position to bottom center position, 
      translateX(50%) works with right: 50% 
      to accurately  center the arrow */
    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
}


@media only screen and (max-width: 1359px) {
  #sidebar {
       display: none;
  }
  #content {
    margin-left: 0px;
  }
  #content > div > .stretch {
	margin-left: 0px;    
	max-width: 100% !important;
  }
  #logo{
    margin-left: 50px;
    max-width: 250px;
    height: 50px !important;
  }
  .top-bar {
	width:100%;
  }
}

@media only screen and (min-width: 1360px) {
  #sidebar {
       display: block;
  }
  #content {
    margin-left: 18%;
  }
  #content > div > .stretch {
    margin-left: 18%;
  }
  #logo{
	  margin-left:0px;
	  max-width:100%;
  }
  .top-bar {
	width:82%;
  }

}

#sidebar .sidebar-header {
    padding: 20px;
    color: #2F363C;
    background-color: #ffffff;
    border-bottom: 1px solid #ececeb;
}

#sidebar {
    background-color: #ffffff;
}

#sidebar {
    overflow: hidden;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.2em;
    display: block;
    color: #2F363C;
}

.list-unstyled.components{
    height: 420px;
    overflow: auto;
}

#sidebar ul ul a {
    background: #eeeeee;
}


.top-bar {
    backdrop-filter: blur(15px) brightness(75%) saturate(70%);
    background: white;
    border-bottom: white;
    padding: 10px;
}

.color-text{
    color:#2F363C
}

.dl-menuright{
    padding-right: 0px;
}

.dl-menuright > .logo{
    width: 130px;
}

.time-bar{
    font-size: 11px;
    margin-left: 2px;
}

.user-icon {
    border-radius: 50%;
    max-width: 55px!important;
}

.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
  }
  .badge:empty {
    display: none;
  }
  .btn .badge {
    position: relative;
    top: -1px;
  }
  .badge-pill {
    padding-right: 0.6em;
    padding-left: 0.6em;
    border-radius: 10rem;
  }
  .badge-primary {
    color: #fff;
    background-color: #007bff;
  }
  .badge-primary[href]:focus,
  .badge-primary[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #0062cc;
  }
  .badge-secondary {
    color: #fff;
    background-color: #6c757d;
  }
  .badge-secondary[href]:focus,
  .badge-secondary[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #545b62;
  }
  .badge-success {
    color: #fff;
    background-color: #28a745;
  }
  .badge-success[href]:focus,
  .badge-success[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #1e7e34;
  }
  .badge-info {
    color: #fff;
    background-color: #17a2b8;
  }
  .badge-info[href]:focus,
  .badge-info[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #117a8b;
  }
  .badge-warning {
    color: #212529;
    background-color: #ffc107;
  }
  .badge-warning[href]:focus,
  .badge-warning[href]:hover {
    color: #212529;
    text-decoration: none;
    background-color: #d39e00;
  }
  .badge-danger {
    color: #fff;
    background-color: #dc3545;
  }
  .badge-danger[href]:focus,
  .badge-danger[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #bd2130;
  }
  .badge-light {
    color: #212529;
    background-color: #f8f9fa;
  }
  .badge-light[href]:focus,
  .badge-light[href]:hover {
    color: #212529;
    text-decoration: none;
    background-color: #dae0e5;
  }
  .badge-dark {
    color: #fff;
    background-color: #343a40;
  }
  .badge-dark[href]:focus,
  .badge-dark[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #1d2124;
  }

  .badge-jabatan{
    position: absolute;
    top: 0;
    right: 10px;
    text-transform: uppercase;
    padding: 3px 10px;
  }

  .btn-group-sm > .btn,
.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}
.btn-block {
  display: block;
  width: 100%;
}
.btn-block + .btn-block {
  margin-top: 0.5rem;
}

.btn-logout{
    margin-top: 20px;
    font-size: 12px!important;
    border-radius: 0px!important;
    color: #356AFB;
    background-color: #ffffff;
    border-color: #356AFB;
}

.icon-side {
    border-radius: 4px;
    text-align: center;
    margin: 0px 10px 0px -1px;
    padding: 3px 4px 5px 8px;
    /* border: 0.7px solid #3060E4); */
    background: linear-gradient(180deg, rgba(192, 209, 254, 0.00) 3.73%, rgba(38, 75, 178, 0.24) 100%);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.14);
}