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

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

#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: 80px;
    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,
/*.sidebar-elem-name:hover,*/
/*.sidebar-elem-name:visited,
.sidebar-elem-name:active,
.sidebar-elem-name:focus,*/
.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;
}

/*.tree:hover {
  background-color: #384246;
  cursor: pointer;
}*/

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

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

.version span {
    position: absolute;
    width: 100%;
    top: 650px;
    color: #bcc0c1;
    text-decoration: none !important;
}

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

.sub-list {
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 79px;
    width: 100vw;
    height: 100vh;
    padding-top: 10px;
    padding-left: 0;
    background-color: #384246;
    background-color: rgba(56, 66, 70, 0.95);
    box-shadow: 3px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1;
    overflow-y: scroll;
}

.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: #fff;
}

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

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

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

.sub-group {
    flex-basis: 33%;
    max-width: 400px;
    margin: 20px;
}

/*.sub-statictics,
.sub-directories,
.sub-loyality,
.sub-docs,
.sub-reports,
.sub-settings,
.sub-user {
  display: none;
}*/

/*.statistics:hover .sub-statictics,*/
/*.directories:hover .sub-directories,
.loyality:hover .sub-loyality,
.docs:hover .sub-docs,
.reports:hover .sub-reports,
.settings:hover .sub-settings,
.user:hover .sub-user {
  display: flex;
}*/

/*.sub-statictics, .sub-directories, .sub-loyality, .sub-docs, .sub-reports, .sub-settings, .sub-user  {
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
}*/

.group-title {
    margin-left: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

ul.tree {
    padding: 0;
}

/*.fa.fa-pie-chart,
.fa.fa-book,
.fa.fa-users,
.fa.fa-file,
.fa.fa-envelope,
.fa.fa-flag,
.fa.fa-cog,
.fa.fa-lock {
    display: inline-block;
    font-size: 20px;
    color: #bcc0c1;
}*/

/*.tree:hover .fa.fa-pie-chart,
.tree:hover .fa.fa-book,
.tree:hover .fa.fa-users,
.tree:hover .fa.fa-file,
.messages:hover .fa.fa-envelope,
.messages:hover .sidebar-elem-name,
.tree:hover .fa.fa-flag,
.tree:hover .fa.fa-cog,
.tree:hover .fa.fa-lock,
.tree:hover .sidebar-elem-name {
    color: #fff;

}*/

.fa.fa-lock {
    margin-left: 2px;
}

.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;
}

.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-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;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
}

.disabled-text {
    color: #b2b2b2;
}