body {
  overflow-x: hidden;
  background-color: #eeeeee;
}

header.main-container {
  background: #ffffff;
  height: 50px;
  border-bottom: 2px solid #dfdfdf;
}

#wrapper.main-container{
  background-color: #cccccc;
}

#wrapper {
    padding-left: 50px;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 285px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 285px;
    width: 50px;
    height: 100%;
    margin-left: -285px;
    overflow-y: auto;
    background-color: #1d4665;
    transition: all 0.5s ease;
}

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

#page-content-wrapper {
    width: 100%;
    position: absolute;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -285px;
}

/* Sidebar Styles */

#menu-toggle {
  margin-right: 15px;
}

#pin-toggle {
  position: absolute;
  top: 7px;
  right: 10px;
}

.login-section {
  background-color: #2c3e4f;
  text-align: left;
  height: 115px;
  position: relative;
}

.login-section img {
  margin: 0 20px;
  border-radius: 50%;
  position: absolute;
  top: 18px;
  border: 2px solid #ffffff;
}

.login-section button {
  height: inherit;
  font-size: .85em;
  padding: 4px 8px;
  background-color: var(--main-color);
  border: none;
}

.profile {
  color: #ffffff;
  display: inline-block;
  position: absolute;
  right: 20px;
  top: 25px;
}

.profile p {
  margin: 0;
  opacity: 1;
}

.profile p.username {
  opacity: .5;
  text-transform: uppercase;
  font-size: .75em;
  padding-bottom: 5px;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 285px;
    margin: 0;
    padding: 0;
    background-color: var(--main-color-dk);
}

.sidebar-nav-list {
    position: absolute;
    top: 175px;
    width: 285px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav-list li:nth-child(3),
.sidebar-nav-list li:nth-child(8),
.sidebar-nav-list li:nth-child(11){
  border-bottom: 5px solid #1a4e74;
}

.sidebar-nav-list li {
    text-indent: 15px;
    line-height: 45px;
    text-align: left;
}

.sidebar-nav-list li a {
    display: block;
    text-decoration: none;
    color: #999999;
    border-left: 5px solid transparent;
}

.sidebar-nav-list li a:hover {
    text-decoration: none;
    color: #fff;
    background: none;
    border-left: 5px solid transparent;
}

.sidebar-nav-list li a:active,
.sidebar-nav-list li a:focus {
    text-decoration: none;
    border-left: 5px solid var(--main-color);
    background-color: #163e5d;
    color: #52758f;
    opacity: 1;
}

.sidebar-nav-list li a img {
  padding-right: 15px;
  width: 34px;
}

.sidebar-nav > .sidebar-brand {
    height: 50px;
    font-size: 21px;
    line-height: 50px;
    text-align: left;
    border-bottom: 2px solid #293949;
}

.sidebar-nav > .sidebar-brand a {
    color: #ffffff;
    opacity: .75;
}

.sidebar-nav > .sidebar-brand a:first-child {
    margin-left: 20px;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #ffffff;
    opacity: 1;
    background: none;
    text-decoration: none;
}


/* FontAwesome Icon Styles */

.fa-circle {color: #f5f5f5;}
.fa-envelope-o {color: #a0a0a0; cursor:pointer;}
.fa-bell-o {color: #a0a0a0; cursor:pointer;}
.fa-bars {color: #a0a0a0; cursor:pointer;}

/* Header Styles */

.notifications {
  position: absolute;
  text-align: left;
  left: 55px;
  top: 3px;
}

.operations {
  position: absolute;
  right: 0;
  display: flex;
  height: 100%;
  padding: 0 15px;
  width: 375px;
}

.operations .form-group {
  margin-bottom: 0;
}

.operations .form-control {
  border-radius: 25px;
  height: 28px;
  font-size: 13px;
  background-color: #f5f5f5;
}

.operations input {
  border: none;
  box-shadow: none;
  margin-top: 10px;
}

.operations button {
  position: absolute;
  top: 11px;
  left: 140px;
  height: 28px;
  background: transparent;
  color: #777;
  border: none;
}

.operations button:hover {color: #777;}
.operations button:focus,
.operations button:active {outline-style: none; color:#777;}
.glyphicon:focus {outline-style: none;}


.operations ul {
  padding-left: 0;
  text-align: left;
  list-style: none;
  margin-bottom: 0;
}

.account {
  display: flex;
  align-items: center;
  border-left: 1px solid #ccc;
  padding-left: 15px;
  flex:1;
}

.account li a {
  color: #a0a0a0;
  opacity: 1;
  text-decoration: none;
}

.account img {
  margin-right: 5px;
  border-radius: 50%;
}

.search-bar {
  padding-right: 15px;
  display:flex;
}

.account .dropdown-menu {left: -40px;}

/* Main Section */

section.content-view {
  margin-left: 50px;
  text-align: left;
  padding: 20px;
}

section.content-view p {
  color: #777;
  opacity: 1;
}

section.content-view .container-fluid {
  padding: 0;
}

section.content-view .row {
  margin: 0;
}

/* Media Queries */


@media(min-width:768px) {
    section.content-view {
      margin-left: 285px;
      text-align: left;
    }

    #wrapper {
        padding-left: 285px;
    }

    #wrapper.toggled {
        padding-left: 50px;
    }

    #sidebar-wrapper {
        width: 285px;
    }

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

    #page-content-wrapper {
        position: relative;
    }

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

    .notifications {
      left: 290px;
    }
}
