/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  #padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  
   width:20%; 
   float: left;
   position: relative; z-index: 300;

}
.sidebar-mobile{width: 50%!important}

@media (max-width: 974px) {
  .sidebar {
  } 

}

@media (min-width: 992px) {
 .sidebar-restore,
  .sidebar {
    
    bottom: 0;
    left: 0;
    z-index: 1000;
    padding:   0;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #fff;
    border-right: 1px solid #eee;

  }
}

@media (max-width: 768px) {
  .sidebar {
     width:25%;
      display: none;
  }
  .navicon{
    display: block;
  }
  .main{
    width:100%; 

  }
}


@media (min-width: 1200px) {
 .sidebar-restore,
 .sidebar {
     width:20%; 

  }
}

/* Sidebar navigation */
.nav-sidebar {
  #margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 0px;
  padding-left: 40px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff!important;
  background-color: #CC0001;
}


/*
 * Main content
 */

.main {
  min-height: 690px;
  float: left;   
  position: relative; z-index: 299;
  overflow: hidden;
}
.main-mobile{width: 50%!important}


@media (max-width: 668px) {
 
}

@media (min-width: 767px) {
  .main { 
    width:80%;
  }
}

@media (min-width: 992px) {
  .main {
   
    width:80%;

  }
}


@media (min-width: 1200px) {
 .main {
     width:80%; 
  }
}


.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}
