/* 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'); */

@import url('https://fonts.googleapis.com/css?family=OpenSans');
body {
    font-family: 'OpenSans', sans-serif;
}

body,
html {
    font-size: 90%;
}

.stretch {
    /* background-color: #fafafa; */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


/* .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%; */
}

.dl-divider {
    background: #c1d9ff;
}

div[dropdown] a {
    background: white;
}

.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;
    min-width: 250px;
    z-index: 9;
    background-color: white;
    display: none;
    transition: all 0.3s;
    -webkit-box-shadow: 0px 0px 24px -10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 24px -10px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 24px -10px rgba(0, 0, 0, 0.2);
}

#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: 10px 20px;
    color: #2A2A2D;
    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: #2A2A2D;
}

#sidebar ul li a:hover {
    background: #c1d9ff;
    color: #0D47A1 !important;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #0D47A1 !important;
    background: #c1d9ff;
}

#sidebar ul ul a {
    font-size: 1em !important;
    padding-left: 30px !important;
    color: #0D47A1 !important;
    background: #EEF5FF;
}


/* 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: 8px;
}


/* Track */

#sidebar::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgb(230, 230, 230);
    border-radius: 10px;
    padding: 2px;
}


/* Handle */

#sidebar::-webkit-scrollbar-thumb {
    background: #a2c7ff;
    border-radius: 50px;
}


/* Handle on hover */

#sidebar::-webkit-scrollbar-thumb:hover {
    background: #418dff;
}

#sidebar>hr {
    margin-top: 2px !important;
}

@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: 1023px) {
    #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;
    }
}

@media only screen and (min-width: 1024px) {
    #sidebar {
        display: block;
    }
    #logo {
        margin-left: 0px;
        max-width: 100%;
    }
    .sidebar-header {
        display: none;
    }
}