.news .clear {
  clear: both
}

.news .nav ul {
  float: left;
  display: inline;
  margin: 0
}

.news .nav li {
  float: left
}

.news .nav a {
  float: left;
  display: block
}

.newsflex{
  display: grid;
  grid-template-columns: repeat(auto-fill, 12%);
  grid-gap: 1rem;
  justify-content: space-between;
  list-style: none;
  padding: 0 !important;
  margin: 0 auto;
}

.newsflex li{text-align:center;}
.newsflex li a{ background:#fae2d7; display:inline-block; width:100%; padding:10px 0;}
.newsflex li a:hover{ background:#d51317; color:#fff;}
.newsflex li a.active{ background:#d51317; color:#fff; display:inline-block; width:100%;}

.news .nav:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden
}
.news a.more {color:#fff !important; }

.news .article {
  margin-bottom: var(--base-size)
}

.news .article:last-child {
  margin-bottom: 0
}

.news .article:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden
}

.news .article .news-img-wrap {
  float: left;
  margin: 0 var(--gutter) var(--base-size-half) 0;
  background: #fff
}

.news .article .news-img-wrap a {
  width: 100%
}

.news .article .news-img-wrap img {
  float: left;
  height: auto;
  width: auto
}

.news .footer {
  clear: both;
  padding: var(--base-size-quarter) 0 0 0;
  border-top: var(--border-width, 1px) solid var(--border-color);
  margin-top: var(--base-size-half);
  color: var(--font-color-light);
  font-size: var(--font-size-small);
  line-height: var(--line-height-small)
}

.news .footer p {
  margin-bottom: 0
}

.news .footer span {
  display: inline-block;
  padding-right: var(--gutter-half);
  margin-right: var(--gutter-half);
  border-right: var(--border-width) solid var(--border-color)
}

.news .footer span:last-child {
  border-right: 0
}

.news .footer .news-category a {
  text-transform: uppercase
}

.news .no-news-found {
  color: var(--error, #ba0202)
}

.news .page-navigation p {
  float: left
}

.news .page-navigation ul {
  float: right
}

.news .page-navigation ul li {
  float: left;
  display: block
}

.news .page-navigation ul li a {
  display: block
}

.news-category-view ul li {
  padding: 5px 8px
}

.news-category-view ul li li {
  padding: 2px 8px 2px 12px
}

.news-category-view>ul>li:nth-child(even) {
  background: #f9f9f9;
  border-top: var(--border-width, 1px) solid var(--border-color);
  border-bottom: var(--border-width, 1px) solid var(--border-color)
}

.news-category-view .category-desc {
  padding-left: 10px;
  margin-left: 10px;
  border-left: var(--border-width, 1px) solid var(--border-color)
}

.news-single .footer {
  margin-bottom: var(--base-size);
  margin-top: var(--base-size-half);
  padding: var(--base-size-half) 0 0 0;
  border-bottom: 0;
  border-top: var(--border-width) solid var(--border-color)
}

.news-single .teaser-text p {
  font-size: var(--font-size4);
  line-height: var(--line-height4)
}

.news-single .article .news-img-wrap {
  float: right;
  width: 100%;
  margin: 0 0 var(--base-size) var(--gutter)
}

@media(min-width: 481px) {
  .news-single .article .news-img-wrap {
    width: 50%
  }
}

.news-single .article .news-img-wrap .outer {
  margin-bottom: var(--base-size)
}

.news-single .article .news-img-wrap img {
  float: none
}

.news-related-wrap {
  margin-top: var(--base-size);
  border-top: var(--border-width) solid var(--border-color);
  clear: both
}

.news-related {
  padding: var(--base-size) 0;
  border-bottom: var(--border-width) solid var(--border-color)
}

.news-related ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0
}

.news-related ul li span {
  border-right: var(--border-width, 1px) solid var(--border-color);
  margin-right: var(--gutter-half);
  padding-right: var(--gutter-half);
  color: var(--font-color-light)
}

.news-related ul li span:last-child {
  border-right: 0;
  padding-right: 0
}

.news-related-files .news-related-files-link .jpg {
  background-position: 0 0
}

.news-related-links a {
  display: inline-block
}

.news-clear {
  clear: both
}

.news-list-view {
  margin-bottom: var(--base-size)
}

.news-list-view a h3 {
  color: var(--body-link-color)
}

.news-list-view a h3:focus,
.news-list-view a h3:hover {
  color: var(--body-link-hover-color)
}

.news-list-view h3 {
  margin: 0 0 var(--base-size-quarter) 0
}

.news-list-view .teaser-text p:last-child {
  margin-bottom: 0
}

.news-list-view.layout-2 {
  box-sizing: border-box;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;
}

.news-list-view.layout-2::after {
  content: "";
  flex: auto;
}

.news-list-view.layout-2>div {
  margin-bottom: var(--base-size)
}




@media(min-width: 1024px) {
  .news-list-view.layout-2 {
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1)
  }

  .news-list-view.layout-2>div {
    -moz-box-flex: 0 0 50%;
    -webkit-flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    position: relative;
    min-height: 1px;
    padding-right: var(--gutter);
    padding-left: var(--gutter);
    min-width: 50%
  }
}

@media(min-width: 1025px) {
  .news-list-view.layout-2>div {
    -moz-box-flex: 0 0 33.33333%;
    -webkit-flex: 0 0 33.33333%;
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    position: relative;
    min-height: 1px;
    padding-right: var(--gutter);
    padding-left: var(--gutter);
    min-width: 33.33333%; 
  }	
}

@media(max-width: 1023px) {
	  .news-list-view.layout-2>div {
    -moz-box-flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    position: relative;
    min-height: 1px;
    padding-right: var(--gutter);
    padding-left: var(--gutter);
    min-width: 100%
  }
  .newsflex{
  display: grid;
  grid-template-columns: repeat(auto-fill, 22%);
  }
	
  .news .wrapper-card.img-enlarge img{
  max-width: 40%;
  float: left;
  margin-right: 2rem;
}
}
@media(max-width: 660px) {
  .news .wrapper-card.img-enlarge img{
  max-width: 100%;
  float: none;
  margin-right: 0;
  }
}
@media(max-width: 480px) {
  .newsflex{
  display: grid;
  grid-template-columns: repeat(auto-fill, 47%);
  }
}
	
  

.news-list-view.layout-2 .f3-widget-paginator {
  width: 100%;
  padding: 0 var(--gutter)
}