/* Блок все новости начало*/
.grid {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.grid-item {
  padding-left: 15px;
  padding-right: 15px;
}

.grid-item .thumbnail {
  border-bottom: 2px solid #d8d8d8;
}

.thumbnail-lg {
  background: #d8d8d8;
}

.thumbnail-lg .caption {
  padding: 15px 15px 10px;
}

.thumbnail-lg h3 {
  font-size: 24px;
}

.content-btn {
  display: block;
  color: #797979;
  background: #ededed;
}

.content-btn:hover {
  background: #d6d6d6;
}

/* Блок все новости конец*/
/* Блок все новости по категориям начало */
.news-category-block {
  width: 100%;
}

.category-title {
  position: relative;
  color: #fff;
  padding: 10px 80px 10px 15px;
  margin-bottom: 20px;
}

.category-title a {
  display: inline-block;
  vertical-align: middle;
  color: #fff;
}

.category-title a:hover {
  color: #e1e1e1;
}

.category-title .tag {
  text-decoration: underline;
  margin-right: 20px;
}

.category-name {
  margin-right: 30px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
}

.subcategory {
  margin-right: 25px;
  text-transform: uppercase;
  padding-right: 15px;
}

.subcategory:after {
  content: '/';
  position: relative;
  left: 20px;
}

.news-row {
  margin-left: -15px;
  margin-right: -15px;
}

.news-item {
  padding-left: 15px;
  padding-right: 15px;
}

.accidents-tag {
  color: #d35400;
}

.accidents-background {
  background: #d35400;
}

.category-up-btn {
  cursor: pointer;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
}

.category-up-btn:hover {
  color: #ededed;
}

@media (max-width: 767px) {
  .news-row .column:nth-of-type(3) {
    display: none;
  }
}

@media (max-width: 480px) {
  .news-row .column:nth-of-type(2) {
    display: none;
  }
}
/* Блок все новости по категориям конец */
