#wrapper {
    overflow: hidden;
}

/*#wrapper.toggled {
    padding-left: 220px;
}*/

#sidebar-wrapper {
    width: 220px;
    float: left;
    z-index: 1000;
    position: absolute;
    height: 100%;
    margin-left: -220px;
    /*background: #2c3136;*/
    background-image: linear-gradient(#313233,#1d1d1d);
}

#sidebar-wrapper .sidebar-header {
    display: inline-block;
    background-color: white;
    background-size: cover;
    background-repeat: no-repeat;
}

#wrapper.toggled #sidebar-wrapper {
    width: 220px;
}

#page-content-wrapper {
    float: left;
    position: inherit;
    width: 100%;
    overflow-x: hidden;
    /*background: linear-gradient(to top, #f1f1f1, #e6e4e4);*/
    background: linear-gradient(to top,#4a4a4a,#e6e4e4);
}

.xyz {
    min-width: 360px;
}

#wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0px;
}

.fixed-brand {
    width: auto;
}

.sidebar-nav {
    z-index: 1;
    position: fixed;
    width: 220px;
    height: 100%;
    margin: 0;
    padding-left: 0px;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 15px;
    line-height: 40px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999999;
}

.sidebar-nav li a:hover, .sidebar-nav li a.hover {
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.06) !important;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav>.sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav>.sidebar-brand a {
    color: #999999;
}

.sidebar-nav>.sidebar-brand a:hover {
    color: #fff;
    background: none;
}

.no-margin {
    margin: 0;
}

/*override bootstrap*/

.nav-pills>li>a {
    border-radius: 0px;
}

#sidebar-wrapper .dropdown-menu {
    border-radius: 0px !important;
    border: none;
    padding: 0px 0;
    margin: 0px 0 0;
    min-width: 260px;
}

#sidebar-wrapper .dropdown-menu>li>a {
    display: block;
    padding-left: 0px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    text-indent: 15px;
    line-height: 34px;
    white-space: nowrap;
}

/*end or*/

#sidebar-wrapper .dropdown-submenu {
    position: relative;
}

#sidebar-wrapper .dropdown-submenu>.dropdown-menu {
    background-color: #2c3136;
    top: 0;
    left: 100%;
    margin-left: -1px;
}

#sidebar-wrapper .dropdown-submenu:hover>.dropdown-menu {
    display: block;
    background-color: #2b2c2c;
}

.menu-search input {
    height: 25px;
    text-transform: inherit;
    text-align: center;
}

.menu-search {
    display: flex;
    margin-bottom: 10px;
}

#sidebar-wrapper .dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #adadad;
    margin-top: 12px;
    margin-right: 10px;
}

#sidebar-wrapper .dropdown-submenu .dropdown-submenu>a:after {
    margin-right: -10px;
}

#sidebar-wrapper .dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

#sidebar-wrapper .dropdown-submenu.pull-left {
    float: none;
}

#sidebar-wrapper .dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.copyright {
    position: absolute;
    color: #e0e0e0;
    font-size: 1.1rem;
    bottom: 0;
    font-weight: 300;
}

.copyright .box-primary-left {
    width: 100%;
    text-align: left;
    padding: 5px 1rem;
    background: #2C3136;
}

.copyright .box-primary-right {
    width: 100%;
    text-align: left;
    padding: 5px 1rem;
    background: #da0303;
}

.copyright .box-primary-left span a,
.copyright .box-primary-right span a {
    color: #fafafa;
    font-weight: 500;
}

.copyright .box-primary-left span a:hover,
.copyright .box-primary-right span a:hover {
    text-decoration: underline;
}

.copyright>span>span a {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    display: inline-block;
}

/* MEDIA ---------------------------------------------------------------- */

@media (min-width:768px) {
    #page-content-wrapper {
        position: relative;
    }
}

@media (min-width:768px) {
  #wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0;
  }
}

@media (min-width:768px) {
  #wrapper.toggled-2 #page-content-wrapper {
    position: relative;
    margin-right: 0;
    margin-left: -200px;
    width: auto;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .profile-userpic img {
    max-width: 30px;
  }
  .logo {
    margin-top: 8px;
  }
  .profile-usertitle-name,
  .profile-usertitle-job {
    font-size: 11px;
  }
  .sidebar-nav {
    width: 210px;
    font-size: 11px;
  }
  .profile-userbar {
    font-size: 11px;
  }
  #sidebar-wrapper {
    width: 200px;
  }
}

/*@media (min-width:768px) {
  #wrapper {
    padding-left: 220px;
  }
}*/

@media (min-width:768px) {
  .fixed-brand {
    width: 200px;
  }
}

@media (min-width:768px) {
  #wrapper.toggled {
    padding-left: 0;
  }
}

@media (min-width:768px) {
  #wrapper.toggled #sidebar-wrapper {
    width: 200px;
  }
}

@media (min-width:768px) {
  #wrapper.toggled-2 #sidebar-wrapper {
    width: 50px;
  }
}

@media (min-width:768px) {
  #wrapper.toggled-2 #sidebar-wrapper:hover {
    width: 200px;
  }
}

@media (min-width:768px) {
  #page-content-wrapper {
    position: relative;
  }
}

@media (min-width:768px) {
  #wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0;
  }
}

@media (min-width:768px) {
  #wrapper.toggled-2 #page-content-wrapper {
    position: relative;
    margin-right: 0;
    margin-left: -200px;
    width: auto;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .profile-userpic img {
    max-width: 30px;
  }
  .logo {
    margin-top: 8px;
  }
  .profile-usertitle-name,
  .profile-usertitle-job {
    font-size: 11px;
  }
  .sidebar-nav {
    width: 210px;
    font-size: 11px;
  }
  .profile-userbar {
    font-size: 11px;
  }
  #sidebar-wrapper {
    width: 200px;
  }
}

/** ipad pro **/
/*@media only screen and (min-device-width: 768px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
  .sidebar-nav {
    width: 200px;
    font-size: 13px;
  }
  #sidebar-wrapper {
    width: 200px;
    margin-left: -200px;
  }
  #wrapper {
    padding-left: 200px;
  }
  .profile-userbar {
    font-size: 13px;
  }
}*/
