

.tbits-sidebar + .tbits-main-container {
    transition: .5s ease all;
    margin-left: 0;
}

.auto-footer {
    transition: .5s ease all;
}

.tbits-sidebar {
    width: 300px;
    height: calc(100vh - 71px);
    color: white;
    left: 0;
    display: flex;
    font-size: 18px;
    flex-direction: column;
    background: #00BE8B;
    position: fixed;
    top: 71px;
    transition: .5s ease all;
    overflow: auto;
    z-index: 1080;
}

.tbits-sidebar-item.has-subnav.expanded .subnav-toggle.glyphicons-chevron-down {
    display: none;
}

.tbits-sidebar-item.has-subnav:not(.expanded) .subnav-toggle.glyphicons-chevron-up {
    display: none;
}

@media print {
    .tbits-sidebar {
        display: none !important;
    }
}

.tbits-sidebar-icon {
    margin-right: 20px;
    font-size: 16px
}
.tbits-sidebar-item:not(.active):not(.tbits-sidebar-header):not(.tbits-sidebar-selector) .tbits-sidebar-icon {
    opacity: .85;
}
.tbits-icon.tbits-sidebar-icon {
    width: 16px;
    height: 16px;
    background-color: white;
}
img.tbits-sidebar-icon {
    width: 22px;
    height: 22px;
    border-radius: 22px;
    margin-right: 16px;
    margin-left: -4px;
}
.tbits-sidebar-icon.glyphicons {
    top:0;
}

.tbits-sidebar-header {
    background-color: #00AC7E;
    transition: .5s ease all;
    font-weight: 600;
    box-shadow: 0 2px 2px 0 #1e9263;
    position: relative;
}
.tbits-sidebar-item.tbits-sidebar-header {
    padding:14px 30px 14px 21px;
}
.tbits-sidebar-header .tbits-sidebar-text {
    font-size: 18px;
}
.tbits-sidebar-header .tbits-sidebar-icon {
    font-size: 18px;
    margin-right: 18px;
    height:18px;
    width:18px;
}
.tbits-sidebar-header + .tbits-sidebar-item:not(.tbits-sidebar-selector) {
    margin-top:10px;
}
.hover-bg {
    transition: 1s ease background;
}
.hover-bg::after {
    content:'';
    z-index: -1;
    position: absolute;
    height:36px;
    width:36px;
    bottom:calc(-18px + 50%);
    right:calc(-18px + 50%);
    transform: scale(0);
    border-radius: 50%;
    transition: .2s ease transform;
}
.hover-bg:hover::after {
    transform: scale(1);
    background-color: hsla(0, 0%, 0%, 0.1)
}
.tbits-sidebar-item.tbits-sidebar-selector{
    padding: 24px 30px 24px 22px;
}
.tbits-sidebar-text-nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis
}

.tbits-sidebar-item {
    display: flex;
    color: white;
    align-items: center;
    padding: 14px 30px 14px 22px;
}
.tbits-sidebar-item span {
    color: white;

}
.subnav-toggle.glyphicons {
    font-size: 14px;
}
.tbits-sidebar-item.active {
    font-weight: 700;
}

.tbits-sidebar-item.has-subnav, a.tbits-sidebar-item {
    cursor: pointer;
}

.tbits-sidebar-item.has-subnav:hover, a.tbits-sidebar-item:hover {
    color: white;
    background-color: #00b282;
}

.tbits-sidebar-text {
    flex: 1;
    font-size: 14px
}

.tbits-sidebar-subnav {
    display: none;
    padding: 15px 0;
    background-color: #0AC895;
    box-shadow: inset 0 4px 4px -4px #038b6d, inset 0 -4px 4px -4px #038b6d;
}

.tbits-sidebar-subnav .tbits-sidebar-item {
    padding: 8px 25px;
}

.tbits-sidebar-subnav .tbits-sidebar-text {
    font-size: 13px;
}

.tbits-sidebar-subnav .tbits-sidebar-item:hover {
    background-color: #00c38e;
}

.tbits-sidebar-hr {
    margin: 0 10px 10px;
    border-bottom: 1px solid white;
    border-top: none;
}

.tbits-sidebar ~ div .container {
    width:auto;
    margin-left: 40px;
    margin-right:40px;
}

@media (max-width: 576px) {
    .tbits-sidebar ~ div .container {
        margin-left: 0;
        margin-right: 0;
    }
}

.tbits-sidebar .popover {
    color: #262626;
}

@media (max-width: 991px) {
    .wrapper div.tbits-sidebar {
        position: fixed;
        left: -300px;
        overflow: visible;
    }
    .wrapper div.tbits-sidebar.expanded {
        left: 0;
    }
    .tbits-sidebar > .tbits-sidebar-header:first-child {
        width: 100vw;
    }

    .tbits-sidebar:not(.expanded) > .tbits-sidebar-header:first-child {
        left: 300px;
    }
    .tbits-sidebar.expanded > .tbits-sidebar-header:first-child {
        left: 0;
    }
    .tbits-main-container {
        padding-top:9em;
    }
    #modal-dialog, #media-manager-selector-modal {
        margin-top:60px;
    }

}

@media (min-width: 992px) {
    .tbits-sidebar ~ #modal-dialog, .tbits-sidebar ~ #media-manager-selector-modal, .tbits-sidebar ~ .modal.fade {
        left: 300px;
    }
    .tbits-sidebar + .tbits-main-container {
        margin-left: 300px;
    }
    .tbits-sidebar + .tbits-main-container .auth-footer,
    .tbits-sidebar + .tbits-main-container .projects-warning,
    .tbits-sidebar + .tbits-main-container #edit-bottom-bar:not(.fixed-bottom-bar),
    .tbits-sidebar ~ #helper-div .tbits-helper-div {
        width: calc(100% - 300px);
        margin-left: 300px;
    }


}


@media (min-width: 1580px) {
    .tbits-sidebar ~ div .container {
        width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}