.content-wrapper {
    position: relative;
    width: 100%;
    margin-left: 90px;
}

.wrapper {
    /*overflow-y: hidden;*/
    min-height: 100%;
}

#content {
    margin-left: 15px;
}

#page {
    height: 222px;
    left: 40%;
    position: absolute;
    top: 28%;
    width: 278px;
}

.form-element-button, .element-inline {
    display: inline;
    width: auto !important;
}

.control.shift .fa.fa-times {
    margin-left: 5px;
}

div.element-inline .element-inline {
    display: inline;
    width: 21% !important;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.scroll-modal {
    height: 350px;
    overflow: auto;
}

span.form-info {
    font-style: italic;
    font-size: 13px;
}

.bootstrap-switch-success {
    padding-left: 5px;
    padding-right: 5px;
}

#show-tree .btn-group a,
#show-tree .tool-form input,
#show-tree #treeTableActiveElementsCheck,
#right-panel .tools, /*Outlet index*/
#goodsTable .tools { /*Goods index*/
    margin-top: 5px;
}

#show-tree .tool-form input {
    margin-right: 5px;
}

#show-tree .btn-group, /*Dashboard*/
#ipaddrTable .btn-group,
#revenueTable .btn-group,
#inboxTable .btn-group, /*message index*/
#outboxTable .btn-group { /*message index*/
    margin-left: 0;
}

#menu .report-filter .time-range-parent {
    height: 36px;
}

#menu .report-filter .btn-group #time-range-btn {
    border-radius: 0;
}

.sales-time-range {
    height: 37px;
}

#menu .report-filter > * {
    margin-left: 5px !important;
    margin-right: 5px !important;
}

#menu #btnIcons {
    margin: 0 5px !important;
}

#graph-view {
    margin-top: 5px;
}

#graph-view ul {
    padding: 0;
}

* {
    border-radius: 0 !important;
}

table a {
    color: #466373 !important;
}

table a:hover {
    color: #31566c !important;
}

.btn-primary {
    background-color: #466373 !important;
}

.btn-primary.active,
.btn-primary:hover {
    background-color: #31566c !important;
}

.left-sidebar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    width: 90px;
    min-height: 150vh;
    padding-top: 10px;
    background-color: #222d32;
    z-index: 10;
}

.logo {
    margin-left: 18px;
    margin-bottom: 15px;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-left: 0;
    overflow: hidden;
}

.sidebar-elem,
.messages,
.sidebar-elem:visited,
.sidebar-elem:active,

.sub-list li > a,
.sub-list li > a:visited,
.sub-list li > a:active {
    color: #bcc0c1;
    text-decoration: none !important;
}

.sidebar-elem-selected {
    font-size: 200%;
    background-color: #384246;
}

.tree, .messages {
    display: inline-block;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    cursor: pointer;
}

/*.user {
    padding-left: 30px;
    padding-right: 30px;
}*/

.sidebar-elem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sidebar-elem:hover {
    cursor: pointer;
    color: #7acde0;
}

.version span {
    color: #bcc0c1;
    position: absolute;
    left: 5px;
    top: 650px;
}

.sidebar-elem-name {
    font-size: 12px;
    text-align: center;
}

.sub-list {
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 85px;
    width: 200px;
    min-height: 1024px;
    padding-top: 10px;
    padding-left: 0;
    background-color: #384246;
    box-shadow: 3px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.sub-list li {
    padding: 7px 10px;
    list-style-type: none;
}

.sub-list li > a {
    position: relative;
    left: 10px;
    display: block;
    font-size: 14px;
}

.sub-list li > a:hover {
  color: #7acde0;
}

.sub-list li > a::after {
    display: block;
    position: absolute;
    top: 0;
    left: -10px;
    content: '•';
}

.sub-list-title {
    color: #fff;
    font-size: 16px;
    margin: 20px;
    width: 100%;
}

.sub-list-title-text {
    padding-left: 5px;
    text-transform: uppercase;
}

.statistics .sidebar-elem-icon-image:before, .statistics .sub-list-title-icon-image:before {
    /*fa-pie-chart*/
    content: "\f200";
    font-family: "FontAwesome";
    font-size: 20px;
}

.directories .sidebar-elem-icon-image:before, .directories .sub-list-title-icon-image:before {
    /*fa-book*/
    content: "\f02d";
    font-family: "FontAwesome";
    font-size: 20px;
}

.loyality .sidebar-elem-icon-image:before, .loyality .sub-list-title-icon-image:before {
    /*fa-users*/
    content: "\f0c0";
    font-family: "FontAwesome";
    font-size: 20px;
}

.docs .sidebar-elem-icon-image:before, .docs .sub-list-title-icon-image:before {
    /*fa-file*/
    content: "\f15b";
    font-family: "FontAwesome";
    font-size: 20px;
}

.messages .sidebar-elem-icon-image:before, .messages .sub-list-title-icon-image:before {
    /*fa-envelope*/
    content: "\f0e0";
    font-family: "FontAwesome";
    font-size: 20px;
}

.reports .sidebar-elem-icon-image:before, .reports .sub-list-title-icon-image:before {
    /*fa-flag*/
    content: "\f024";
    font-family: "FontAwesome";
    font-size: 20px;
}

.settings .sidebar-elem-icon-image:before, .settings .sub-list-title-icon-image:before {
    /*fa-cog*/
    content: "\f013";
    font-family: "FontAwesome";
    font-size: 20px;
}

.external-systems .sidebar-elem-icon-image:before, .external-systems .sub-list-title-icon-image:before {
    /*fa-cog*/
    content: "\f0ec";
    font-family: "FontAwesome";
    font-size: 20px;
}

.external-system .sidebar-elem-icon-image:before, .external-system .sub-list-title-icon-image:before {
    /*fa-cog*/
    content: "\f0ec";
    font-family: "FontAwesome";
    font-size: 20px;
}

.current-user .sidebar-elem-icon-image:before, .current-user .sub-list-title-icon-image:before {
    /*fa-lock*/
    content: "\f023";
    font-family: "FontAwesome";
    font-size: 20px;
}

.tree .sidebar-elem-icon-close:before {
    /*fa-time*/
    content: "\f00d";
    font-family: "FontAwesome";
    font-size: 20px;
}

.sub-list {
    display: none;
}

.sub-list-show {
    display: flex;
}

.sales {
    display: block;
    position: absolute;
    top: 100px;
    left: 20px;
    width: 25px;
    height: 25px;
    background: url(/images/sales.png);
    background-repeat: no-repeat;
}

.connection {
    display: block;
    position: absolute;
    top: 150px;
    left: 20px;
    width: 25px;
    height: 23px;
    background: url(/images/link.png);
    background-repeat: no-repeat;
}