/*
 * Global add-ons
 */

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

.center {
  margin: auto;
  width: 80%;
  border: 1px solid #f5f5f5;
  <!-- padding: 10px; -->
}
/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    
    position: fixed;
    top: 0px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5; /*1A5ABE*/
    border-right: 1px solid #eee;
  }
}

@media (max-width: 768px) {
  .sidebar {
    position: relative;
    top: 0px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;  /*Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-bottom: 1px solid #E5E5E5;
    width: 80%;
    margin-left: 47px;
    margin-top: 5px;
  }
}

@media (min-width: 768px) {
  .slide {
    display: none;
    visibility: hidden;
  }

  .collapse {
    display: block;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  .slide {
    display: inline-block;
    margin-top: 3px;
    margin-bottom: 3px;
    line-height: 1.1;
    padding: 1px 5px;
  }

  .glyphicon {
    font-size: 12px;
  }

  .slide .menu {
    font-size: 12px;
  }

  .table-responsive > .table > thead > tr,
  .table-responsive > .table > tbody > tr,
  .table-responsive > .table > tfoot > tr,
  .table-responsive > .table > thead > tr,
  .table-responsive > .table > tbody > tr,
  .table-responsive > .table > tfoot > tr {
    word-wrap: break-word;
    white-space: normal !important;
  }

  .table-responsive > .table > thead > tr > th,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > td {
     white-space: normal; 
  }

  .collapse {
    display: none;
    visibility: hidden;
  }
}

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


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: -8px;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  max-width: 80%;
}

.flag-icon {
  padding: 10px;
  margin: 3px;
}

h4 {
  font-size: 18px;
}

ul.with-tab {
  list-style-type: none;
}

.main {
  font-size: 15px;
}

.more-gap {
  line-height: 24px;
}

p.with-tab {
  list-style-type: none;
}