/*
 * Table styles
 */

/*Custom styles*/
#tableprod {
  margin:0;
  background: #f9f9f9;
}

.products-header {
  background: #D8D8D8;
  font-weight: bold;
}

#tableprod .brown-header {
  background: #a2a2a2;
  color: white;
}

#tableprod .brown-header td {
  text-align: left;
}

#tableprod th,
#tableprod td {
  border: solid 1px #C8C8C8;
  text-align: center;
  vertical-align: middle;
}

#tableprod tbody tr:hover {
  background: #e4e4e4;
}

#tableprod .td_article {
  color: #0aa948;
  font-weight: bold;
}

#tableprod .td_price {
  color: #ffb200;
  font-weight: bold;
  font-size: 18px;
}

#tableprod button {
  background: #0aa948 !important;
  padding: 4px 7px !important;
}

.sorting {
  cursor: pointer;
}

.sorting_asc,
.sorting_desc {
  background-repeat: no-repeat !important;
  background-position: center right !important;
  cursor: pointer;
}

.sorting_asc {
  background: url('../images/sort_asc.png');
}

.sorting_desc {
  background: url('../images/sort_desc.png');
}

/*--------------Tehnomir.product js class */
#tableprod td.article,
#tableprod td.brand_analog,
#tableprod td.analog {
  position: relative;
  color: #333;
}

#tableprod td.article:after,
#tableprod td.brand_analog:after,
#tableprod td.analog:after {
  content:'\f103';
  font-family: FontAwesome;
  position: absolute;
  color: #333;
  font-size: 18px;
  top:7px;
  padding-left: 6px;
}

#tableprod td.article.hide:after,
#tableprod td.brand_analog.hide:after,
#tableprod td.analog.hide:after {
  content:'\f102';
  font-family: FontAwesome;
  position: absolute;
  color: #333;
  font-size: 18px;
  top:5px;
  padding-left: 6px;
}

#searchprod_filter {
  display:none;
}

@media (max-width: 480px) {
  #tableprod td.article:after,
  #tableprod td.brand_analog:after,
  #tableprod td.analog:after {
    content: '\f103';
    font-family: FontAwesome;
    position: absolute;
    color: #333;
    font-size: 14px;
    top: 0;
    padding-left: 4px;
  }

}

@media (max-width: 600px) {
  .dataTables-wrapper {
    overflow-y: auto !important;
  }
}