@media only screen and (max-width: 768px) {
  .page-template-page-main-php .content-1208 {
    padding-left: 15px;
    padding-right: 15px;
  }
} 

.main-page-content-wrapper.top-plus-brief-news {
  padding-top: 10px;
}

.stat {
  float: left;
  margin-left: 10px;
}

.stat .counter,
.stat .comments {
  float: left;
  margin-left: 10px;
}

/*
  Main page
*/

/*brief news*/
/*week news*/
.week-news-wrapper,
.brief-news-wrapper {
  padding: 10px;
  float: left;
}

.week-news-borders,
.brief-news-borders {
  border-top: 4px solid #c40000;
  border-bottom: 1px solid #ededed;
}

.brief-news {
  width: 376px;
  height: 443px;
  border-left: 1px solid #ededed;
  border-right: 1px solid #ededed;
  font-size: 16px;
  padding: 0 15px;
  font-family: Roboto;
  background: #fff;
}

.brief-news .header {
  color: #737373;
  font-size: 1em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 15px 0;
  border-bottom: 1px solid #c7c7c7;
}

.brief-news .brief-news-item {
  position: relative;
  border-bottom: 1px solid #ededed;
  padding: 10px 0;
  height: 71px;
}

.brief-news .brief-news-item a {
  display: flex;
  text-decoration: none;
}

.brief-news .brief-news-item .date {
  color: #c40000;
  font-size: 0.75em;
  float: left;
  min-width: 35px;
  margin-right: 5px;
  font-family: Arial;
}

.brief-news .brief-news-item .title {
  color: #404040;
  font-size: 0.8125em;
  font-weight: 500;
  float: left;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-transition: color 0.6s ease;
  -moz-transition: color 0.6s ease;
  -ms-transition: color 0.6s ease;
  -o-transition: color 0.6s ease;
  transition: color 0.6s ease;
}

.brief-news .brief-news-item:hover .title {
  color: #000;
}

.brief-news .footer {
  font-size: 0.625em;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 0;
}

.brief-news .footer a {
  color: #737373;
  font-family: Arial;
  -webkit-transition: color 0.6s ease;
  -moz-transition: color 0.6s ease;
  -ms-transition: color 0.6s ease;
  -o-transition: color 0.6s ease;
  transition: color 0.6s ease;
}

.week-news {
  width: 376px;
  height: 444px;
  border-bottom: 1px solid #ededed;
  border-left: 1px solid #ededed;
  border-right: 1px solid #ededed;
  font-size: 16px;
  padding: 0 15px;
  font-family: Roboto;
  background: #fff;
}

.week-news .header {
  color: #303030;
  font-size: 1em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 13px 0 11px 0;
  border-bottom: 1px solid #c7c7c7;
}

.week-news .week-news-item {
  position: relative;
  padding: 10px 0;
  border-bottom: 1px solid #ededed;
}

.main-add-news-button {
  height: 37px;
  text-align: center;
  line-height: 37px;
  text-transform: uppercase;
  font-size: 10px;
  background-color: #303030;
  color: #ffffff;
  border: 1px solid #ededed;
  margin-top: 15px;
}

.week-news .week-news-item a {
  display: flex;
}

.week-news .week-news-item .title {
  color: #303030;
  font-size: 0.8125em;
  font-weight: 600;
  float: left;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0 0 10px;
  -webkit-transition: color 0.6s ease;
  -moz-transition: color 0.6s ease;
  -ms-transition: color 0.6s ease;
  -o-transition: color 0.6s ease;
  transition: color 0.6s ease;
}

/* main top item */
.main-top-news-item {
  float: left;
  padding: 10px;
  font-size: 16px;
}

.main-top-news-item a {
  color: #fff;
  display: block;
  position: relative;
  cursor: pointer;
}

.main-top-news-item .text-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  padding: 15px;
  height: 100%;
  width: 100%;
  background: rgba(30, 30, 30, 0.35);
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

.main-top-news-item .text-wrapper:hover {
  background: rgba(30, 30, 30, 0.5);
}

.main-top-news-item .float-text-block {
  position: absolute;
  bottom: 40px;
  padding-right: 15px;
}

.main-top-news-item .news-info {
  font-family: Arial;
  font-size: 0.625em;
  color: #bfbfbf;
  margin-bottom: 15px;
}

.main-top-news-item .date {
  float: left;
  text-transform: lowercase;
}

.main-top-news-item .title {
  font-family: Roboto;
  font-size: 2.25em;
  color: #fff;
  font-weight: 700;
  line-height: initial;
  margin-bottom: 5px;
  line-height: 1.1;
}

.main-top-news-item .section {
  font-family: Arial;
  color: #ed1516;
  font-size: 0.625em;
  text-transform: uppercase;
  position: absolute;
  left: 15px;
  bottom: 10px;
}

/* feature item */

.feature-item {
  width: 50%;
  float: left;
  padding: 10px;
}

.feature-item a {
  display: block;
  position: relative;
}

.feature-item .shortcuts {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
}

.feature-item .text-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(48, 48, 48, 0.35);
  padding: 15px;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

.feature-item .float-text-block {
  position: absolute;
  bottom: 40px;
  padding-right: 15px;
}

.feature-item .news-info {
  font-size: 10px;
  color: #bfbfbf;
  margin-bottom: 15px;
}

.feature-item .date {
  float: left;
  text-transform: lowercase;
}

.feature-item .counter {
  float: left;
  margin-left: 10px;
}

.feature-item .title {
  font-size: 24px;
  color: #fff;
  font-weight: 600;
  font-family: Roboto;
  line-height: 26px;
  line-height: 1.1;
}

.feature-item .section {
  position: absolute;
  color: #ed1516;
  font-size: 10px;
  text-transform: uppercase;
  left: 15px;
  bottom: 10px;
  font-family: Arial;
}

.feature-item .image-wrapper img {
  width: 100%;
  height: auto;
}

.clear-left {
  clear: left;
}

/* promo articles */
/* TODO: вынести одинаковые стили */
.promo-articles {
  float: left;
}

.promo-articles .promo-article-item {
  width: 25%;
  float: left;
  padding: 10px;
}

.promo-articles .promo-article-item a {
  display: block;
  position: relative;
}

.promo-articles .promo-article-item .shortcuts {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
}

.promo-articles .promo-article-item .image-wrapper img {
  width: 100%;
  height: auto;
}

.promo-articles .promo-article-item .text-wrapper {
  height: 190px;
  position: relative;
  padding: 15px;
  background-color: #303030;
}

.promo-articles .promo-article-item .news-info {
  font-size: 10px;
  color: #bfbfbf;
}

.promo-articles .promo-article-item .title {
  color: #fff;
  font-family: Roboto;
  font-size: 17px;
  font-weight: 600;
  margin-top: 10px;
  line-height: 1.1;
  -webkit-transition: color 0.6s ease;
  -moz-transition: color 0.6s ease;
  -ms-transition: color 0.6s ease;
  -o-transition: color 0.6s ease;
  transition: color 0.6s ease;
}

.promo-articles .promo-article-item:hover .title {
  color: #ededed;
}

.promo-articles .promo-article-item .section {
  color: #ed1516;
  font-size: 10px;
  text-transform: uppercase;
  position: absolute;
  left: 15px;
  bottom: 10px;
}

/* popular news */

.popular-news {
  padding: 10px;
  float: left;
  width: 100%;
}

.popular-news-inner {
  border-top: 4px solid #c40000;
  background: #303030;
  padding: 14px;
}

.popular-news .header {
  font-size: 1em;
  font-family: Arial;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid #3e3e3e;
  padding-bottom: 12px;
  color: #ededed;
}

.popular-news .popular-news-items-list {
  margin: 0 -6px;
}

.popular-news .popular-news-item {
  float: left;
  width: 20%;
  padding: 15px 6px;
}

.popular-news .popular-news-item a {
  display: block;
}

.popular-news .popular-news-item .image-wrapper img {
  width: 100%;
  height: auto;
}

.popular-news .popular-news-item .text-wrapper {
  padding: 11px 0;
}

.popular-news .popular-news-item .date {
  color: #bfbfbf;
  font-size: 0.625em;
  font-family: Arial;
  padding-bottom: 6px;
}

.popular-news .popular-news-item .title {
  font-family: Roboto;
  font-weight: 500;
  font-size: 0.9375em;
  color: #fff;
  line-height: 1.2;
}

/* afisha carousel */

.afisha-carousel {
  float: left;
  width: 100%;
  padding: 10px;
}

.afisha-carousel-inner {
  background: #303030;
  border-top: 4px solid #c40000;
}

.afisha-carousel .header {
  font-family: Arial;
  font-size: 1em;
  font-weight: 600;
  color: #fff;
  padding: 15px;
  text-transform: uppercase;
}

.afisha-wrapper {
  padding: 0 5px 11px;
}

.afisha-carousel .nav-justified.afisha-tabs > li:hover,
.afisha-carousel .nav-justified.afisha-tabs > li.active {
  border-top: 1px solid #3e3e3e;
  background: #303030;
}

.nav-tabs.afisha-tabs > li {
  padding: 3px 0;
}
.afisha-carousel .afisha-tabs li {
  border-top: 1px solid #3e3e3e;
}

.afisha-carousel .nav-justified.afisha-tabs > li > a {
  font-weight: normal;
  color: #737373;
  font-size: 0.875em;
  text-transform: uppercase;
}

.nav-tabs.afisha-tabs > li > a {
  display: block;
  padding: 0;
  margin: 0;
}

.nav-justified.afisha-tabs > li > a,
.nav-justified.afisha-tabs > li.active > a,
.nav-justified.afisha-tabs > li.active > a:hover,
.nav-justified.afisha-tabs > li.active > a:focus {
  /* color: #000; */
  font-size: 1.0625em;
  font-weight: bold;
  white-space: nowrap;
  border: none;
  border-radius: 0;
  outline: none;
}

.nav-justified.afisha-tabs > li > a {
  padding: 2px 15px;
}

.afisha-carousel .nav-justified.afisha-tabs > li.active > a,
.afisha-carousel .nav-justified.afisha-tabs > li.active > a:hover,
.afisha-carousel .nav-justified.afisha-tabs > li.active > a:focus,
.afisha-carousel .nav-justified.afisha-tabs > li > a:focus,
.afisha-carousel .nav-justified.afisha-tabs > li > a:hover,
.afisha-carousel .nav-justified.afisha-tabs > li > a:active {
  color: #ededed !important;
  background: #303030;
  font-weight: normal;
  font-size: 0.875em;
}

.nav-justified.afisha-tabs > li > a,
.nav-justified.afisha-tabs > li.active > a,
.nav-justified.afisha-tabs > li.active > a:hover,
.nav-justified.afisha-tabs > li.active > a:focus {
  font-size: 1.0625em;
  font-weight: bold;
  white-space: nowrap;
  border: none;
  border-radius: 0;
  outline: none;
}

.nav-tabs.nav-justified {
  width: 100%;
  border-bottom: 0;
}

.tab-content>.tab-pane {
  display: none;
  visibility: hidden;
}

.tab-content>.active {
  display: block;
  visibility: visible;
}

.afisha-carousel .carousel-wrapper {
  background: #303030;
  min-height: 250px;
  position: relative;
  background: #ededed;
}

/* big promo */
.big-promo-item {
  float: left;
  padding: 10px;
  font-size: 16px;
}

.big-promo-item a {
  color: #fff;
  display: block;
  position: relative;
  cursor: pointer;
}

.big-promo-item .text-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  padding: 15px;
  height: 100%;
  width: 100%;
  background: rgba(30, 30, 30, 0.35);
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

.big-promo-item .text-wrapper:hover {
  background: rgba(30, 30, 30, 0.5);
}

.big-promo-item .float-text-block {
  position: absolute;
  bottom: 40px;
}

.big-promo-item .section {
  font-family: Arial;
  color: #ed1516;
  font-size: 0.625em;
  text-transform: uppercase;
  position: absolute;
  left: 15px;
  bottom: 10px;
}

.big-promo-item .news-info {
  font-family: Arial;
  font-size: 0.625em;
  color: #bfbfbf;
  margin-bottom: 10px;
}

.big-promo-item .title {
  font-family: Roboto;
  font-size: 2.25em;
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 5px;
}

.big-promo-item .subtitle {
  font-family: Roboto;
  font-size: 1em;
  font-weight: 500;
  color: #fff;
}

.big-promo-item .image-wrapper img,
.big-promo-item .image-wrapper picture,
.big-promo-item .image-wrapper source {
  width: 100%;
}

/* MOBILE AND TABLET */

@media only screen and (max-width: 1208px) {
  .top-plus-brief-news {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-flow: column;
    -webkit-flex-flow: row-reverse wrap;
  }

  .top-plus-brief-news .brief-news-wrapper, .top-plus-brief-news .week-news-wrapper {
    -webkit-order: 2;
    order: 2;
    width: 100%;
    margin-right: 0px;
  }

  .top-plus-brief-news .main-top-news-item {
    -webkit-order: 1;
    order: 1;
    width: 100%;
  }
}

@media only screen and (max-width: 1208px) and (min-width: 768px) {
  .week-news-wrapper {
    float: none;
    margin: 0;
  }

  .main-top-news-item {
    float: none;
  }

  .main-top-news-item .image-wrapper img,
  .feature-item .image-wrapper img {
    width: 100%;
    height: auto;
  }

  .brief-news,
  .week-news {
    width: 100%;
    height: auto;
  }

  .brief-news .brief-news-item,
  .week-news .week-news-item { 
    height: auto;
  }

  .brief-news .brief-news-item .date {
    font-size: 1em;
    min-width: 45px;
  }

  .brief-news .brief-news-item .title,
  .week-news .week-news-item .title {
    font-size: 1em;
  }

  /*feature item*/
  .feature-item {
    width: 100%;
  }

  .feature-item .float-text-block {
    bottom: 35px;
  }

  .feature-item .news-info {
    margin-bottom: 10px;
  }

  .feature-item .title {
    line-height: 1;
    font-size: 1.25em;
  }

  /* promo articles */
  .promo-articles .promo-article-item {
    width: 50%;
  }

  /* big promo */
  .big-promo-item {
    width: 100%;
  }

  .big-promo-item .image-wrapper .desktop {
    display: none;
  }

  .big-promo-item .image-wrapper .mobile {
    display: block;
    width: 100%;
    height: auto;
  }

  /* popular news */

  .popular-news .popular-news-item:nth-child(odd) {
    clear: left;
  }

  .popular-news .popular-news-item:last-child {
    display: none;
  }

  .popular-news .popular-news-item {
    width: 50%;
  }

}

@media only screen and (max-width: 767px) {
  /*.main-top-news-item {
    padding: 15px;
  }
*/
  .main-top-news-item .image-wrapper img {
    width: 100%;
    height: auto;
  }

  .main-top-news-item .float-text-block {
    bottom: 30px;
  }

  .main-top-news-item .news-info {
    margin-bottom: 5px;
  }

  .main-top-news-item .title {
    font-size: 1.125em;
    line-height: 1;
  }

/**/
  .week-news-wrapper {
    float: none;
    margin: 0;
  }

  .brief-news,
  .week-news {
    width: 100%;
    height: auto;
  }

  .brief-news .brief-news-item,
  .week-news .week-news-item {
    height: auto;
  }

  .brief-news .brief-news-item .date {
    font-size: 1em;
    min-width: 45px;
  }

  .brief-news .brief-news-item .title {
    font-size: 1em;
  }

  .week-news .week-news-item .title {
    font-size: 0.8125em;
    font-weight: 500;
  }

/**/
  .feature-item {
    width: 100%;
    padding: 10px;
  }

/**/

  .promo-articles .promo-article-item {
    width: 100%;
    padding: 5px;
  }

  .promo-articles .promo-article-item .title {
    font-size: 1.125em;
    line-height: 1.2;
  }

/**/

  .big-promo-item {
    width: 100%;
    padding: 10px;
  }

  .big-promo-item .news-info {
    font-size: 0.625em;
  }

  .big-promo-item .title {
    font-size: 1.125em;
    line-height: 1;
  }

  .big-promo-item .subtitle {
    font-size: 0.75em;
    display: none;
  }

/**/
  .popular-news {
    padding: 10px;
  }

  .popular-news .popular-news-item:nth-child(odd) {
    clear: left;
  }

  .popular-news .popular-news-item {
    width: 50%;
  }

  .popular-news .popular-news-item:last-child {
    display: none;
  }

}
