.cow_stats_small {
  font-weight: bold;
  font-size: 10px;
}

.stacked_img {
  z-index: -1;
  position: absolute;
  top: 43px;
  left: 27px;
}

.cow_event {
  background: #f8f9fa;
}

.timestamp {
  font-size: 10px;
}

.cow-menu-bar {
  position: fixed;
  width: 100%;
  top: 56px;
  z-index: 100;
}

.category-menu-bar {
  position: fixed;
  width: 100%;
  z-index: 100;
}

.category-button {
  border-radius: 5px 0px 0px 5px;
}

.nav-link {
  text-align: center;
}

.navbar-side {
  height: 100%;
  width: 350px;
  position: fixed;
  top: 56px;
  left: 0;
  padding: 0;
  list-style: none;
  border-right: 2px solid #ccc;
  background-color: #f7f7f9;
  overflow-y: scroll;
  overflow-x: hidden;
  z-index: 1000;
  padding-bottom: 60px;
  
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: 300ms ease;
  transition: 300ms ease;
}

.navbar-side-item {
  padding: 1.5rem 0;
  margin: 0;
  border-bottom: 2px solid #ccc;
  height: 5rem;
}

.side-link {
  padding-left: 2rem;
}

.reveal {
  -webkit-transform: translateX(0%);
  -ms-transform: translateX(0%);
  transform: translateX(0%);
  -webkit-transition: 300ms ease;
  transition: 300ms ease;
}

.overlay {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  background-color: #ccc;
  opacity: 0.6;
  z-index: 990;
}

.bg-faded {
    background-color: #ececec;
}

.fix-btn {
  margin-top: -0.1rem !important
}

/*
 * Bootstrap overrides
 */
.btn-secondary {
  text-overflow: ellipsis;
  overflow: hidden;
  /*width: 200px;*/
  text-align:right;
}

.btn-upload {
  margin-left: 10px;
}

.btn-group-sm>.btn, .btn-sm {
  margin-top: .4rem;
  margin-bottom: .5rem;
}

.table-responsive {
  overflow: visible;
}

.slider-row {
  margin-left: 20px;
  margin-right: 20px;
}

/*
@media (min-width: 400px) {
  canvas {
    height: 100px !important;
  }
}
*/

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

  @media (max-width: 700px) {
     
    .index-alert {
      font-size: 14px;
    }
     
    .text-resize {
       font-size: 14px;
    }
     
    .table {
    	font-size: 14px;
    }
    
    td {
       padding-top: 9px !important;
       padding-bottom: 9px !important;
    }
    
    th {
       text-align: center;
    }
    
    .btn-secondary {
        text-overflow: ellipsis;
        overflow: hidden;
        /*width: 100px;*/
    }
    
    .btn {
        padding: 0.5rem 0.5rem;
    }
    
    .table-responsive {
       overflow-x: visible;
    }
    
    .dropdown-menu {
        font-size: 14px;
    }
    
    .form-control {
       font-size: 14px;
    }
    
    .form-group {
        margin-bottom: 0rem;
    }
    
    .input-group-addon {
       font-size: 14px;
    }
    
    .dropdown-toggle {
       font-size: 14px;
    }
    
    .table-button {
       font-size: 14px;
    }
    
    .btn-group-sm>.btn, .btn-sm {
      margin-bottom: .5rem;
      padding: 0.25rem 0.5rem;
    }
  }
  
    @media (max-width: 400px) {
      .text-resize {
         font-size: 10px;
      }
    }