/**************************************/
/* Default styles for news extension */
/**************************************/

.news h1 {
  color: #000;
  font-size: 38px;
  text-transform: none;
  font-weight: 700;
}

.news.news-single h2 {
  font-size: 22px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.03125em;
}

.news.news-single .title-wrap h1 {
  color: #fff;
  font-weight: normal;
}

.news.news-single .news-text-wrap {
  padding: 30px 0px;
}

.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;
}

.news .nav:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.news .article {
	padding-bottom: 0px;
	margin-bottom: 0px;
}

.news .article:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
}

.news .article:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.news .article .news-img-wrap {
	margin: 0;
}

.news .article .news-img-wrap a {
	display: block;
}

.news .article .news-img-wrap img {
	float: left;
	height: auto;
	width: auto;
}

.news .article .teaser-text {
	margin: 0 0 0px 0;
}

.news .article h3 {
	margin-bottom: 0;
}

.news .footer {
	clear: both;
	padding: 10px 0 0 0;
	border-top: 1px solid #eee;
	margin-top: 15px;
	color: #888;
}

.news .footer p {
	line-height: 1em;
}

.news .footer span {
	display: inline-block;
	padding-right: 8px;
	margin-right: 8px;
	border-right: 1px solid #ddd;
}

.news .footer span:last-child {
	border-right: 0;
}

.news .footer .news-category a {
	text-transform: uppercase;
}

.news .no-news-found {
	color: #DB0202;
	font-style: italic;
}

.news .page-navigation p {
	float: left;
}

.news .page-navigation ul {
	float: right;
}

.news .page-navigation ul li {
	float: left;
	display: block;
	padding: 0 2px;
	background: none;
}

.news .page-navigation ul li a {
	display: block;
}

/* category menu view */
.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: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.news-category-view .category-desc {
	padding-left: 10px;
	margin-left: 10px;
	border-left: 1px solid #ddd;
}

/* single view */
.news-single .footer {
	margin-bottom: 20px;
	margin-top: 5px;
	padding: 10px 0 0 0;
	border-bottom: 0;
	border-top: 1px solid #eee;
}

.news-single .article .news-img-wrap {
	width: 100%;
    height: auto;
	margin: 0 0 40px 0px;
}

.news-single .article .news-img-wrap img {
	float: none;
}

.news-single .teaser-text {
	font-size: 15px;
	color: #888;
}

.news-text-wrap {
	margin-bottom: 10px;
}

.news-img-caption {
	color: #888;
}

/* related news + files */
.news-related-wrap {
	display: table;
	margin-top: 20px;
	width: 100%;
}

.news-related {
	width: 50%;
	padding: 15px;
	border: 1px solid #eee;
	display: table-cell;
}

.news-related ul li {
	line-height: 1em;
	margin-bottom: 12px;
}

.news-related ul li span {
	border-right: 1px solid #DDDDDD;
	display: inline-block;
	margin-right: 8px;
	padding-right: 8px;
	color: #888;
}

.news-related ul li span:last-child {
	border-right: 0;
	padding-right: 0;
}

.news-related h4 {
	margin-bottom: 10px;
}

.news-related-files ul li {
	margin-bottom: 20px;
}

.news-related-files .news-related-files-link .jpg {
	background-position: 0 0;
}

.news-clear {
	clear: both;
}

/* List View */

.news-list-view {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; 
  width: 100vw;
  height: auto;
}

.news-list-view .card-container {
  height: 100%;
}

.news-list-view .card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  background: #f4f4f4;
  margin-bottom: 0px;
  border: 5px solid #fff;
  padding: 0px;
  margin: 0px;
}

.card-front .flip-title {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: -0.0415625em;
  line-height: 1.25;
  text-shadow: 3px 3px 4px #777;
  padding: 5%;
  box-sizing: border-box;
}

.card-front .flip-title h2 {
  color: #fff;
}


.news-list-view .article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    aspect-ratio: 1 / 1;
    background: none;
    position: relative;
    border: 0px;
    padding: 0px;
    margin: 0px;
}

.news-list-view .article .news-item {
    position: absolute;
    top: 0px;
    left: 0px;
    display: block;
    margin: 0px;
    padding: 0px;
    z-index: 2;
    height: 100%;
    width: 100%;
    border: 0px;
    padding: 0px;
    margin: 0px;
}

.news-list-view .article .news-item a {
    display: block;
    margin: 0px;
    padding: 5%;
    background: rgba(0,0,0,0.7);
    z-index: 2;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end; 
    opacity: 0; 
    transition: opacity 0.5s ease;
}

#stage .news-list-view .article .card-front img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-list-view .article .card-back {
  background: #f4f4f4;
}

.news-list-view .article .news-item a:hover {
    opacity: 1; 
}

.news-list-view .article .news-item a h2,
.news-list-view .article .news-item a p,
.news-list-view .article .news-item a {
  color: #fff;
  text-decoration: none;
  text-transform: none;
  line-height: 1.25;
}

/* Tags */

.select-wrapper {
  text-align: cemter;
  display: flex; justify-content: center;
}

.news-list-tags span {
  background: #f4f4f4;
  padding: 5px 20px;
  margin-right: 20px;
}

.news-category {
  background: #2a4b74;
  padding: 5px 20px;
  margin-right: 20px;
  display: inline-block;
  color: #fff;
}

.news-tags-select {
    appearance: none;
    background-color: #2a4b74;
    border: 1px solid #2a4b74;
    padding: 0.6rem 2.5rem 0.6rem 0.8rem;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: #fff;
}

.news-tags-select:focus {
    border-color: #007acc;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,122,204,0.2);
}

.news-list-tags-wrapper,
.news-list-cat {
    width: 100%;
    display: block;
    font-size: 16px;
    line-height: 32px;
    color: #2a4b74;
    font-style: normal;
    font-weight: 400;
    padding-bottom: 30px;
}

/* Filter */

/*
.customers-wrapper {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.news form {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 50px;
}

.news form .form-group {
  max-width: 500px;
  display: inline-block;
  vertical-align: top;
  padding-right: 5%;
}

.frame-type-news_categorylist.frame-layout-0, 
.frame-type-news_taglist.frame-layout-0 {
  max-width: 45%;
  display: inline-block;
}

*/

.news-category-select {
  margin-right: 10px;
  float: right;
}

.select-wrapper {
  margin-left: 10px;
  float: left;
}

.news-category-select select,
.select-wrapper select {
  min-width: 400px;
}



/* end */

@media (max-width: 1300px) {

.news-list-view {
  width: 100%;
}
  
}  


@media (max-width: 800px) {

.news-list-view {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  width: 100vw;
  height: auto;
}
  
} 

@media (max-width: 767px) {
  
.news-list-view .article .news-item a h2 {
    opacity: 1; 
}

}  

@media (max-width: 600px) {

.news-list-view {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0;
  width: 100vw;
  height: auto;
}
  
} 

#uid36 .news-list-view .article .news-item a {
    opacity: 0.5; 
}



