/* news.css: Tulln2016 */

/* default: 62em, 93em-, 83em, 103em */
@media (min-width: 83em) {
  .nugget-bucket .hold, .nugget-bucket footer { max-width: 83em; }
  .nugget-bucket .header-img .welcome { margin-left: calc(50% - 41.5em); } /* see also header.css */
}
@media (min-width: 103.3em) {
  .nugget-bucket .hold, .nugget-bucket footer { max-width: 103.3em; }
  .nugget-bucket .header-img .welcome { margin-left: calc(50% - 51.65em); }
}
@media (max-width: 74em),
	 (max-width: 95em) and (min-width: 83em),
	 (max-width: 115.3em) and (min-width: 103.3em) { /* +12em, see header.css */
   .nugget-bucket  .mmenu-btn > span { text-align: left; margin-left: 3em; margin-right: -9em;
   position: relative; z-index: 1;
   }
  .nugget-bucket  .mmenu + * { margin-left: 4em; }
}
@media (min-width: 121.3em) { /* +18em */
  .nugget-bucket .ad { display: block; }
  .nugget-bucket .ad img { max-width: calc(50vw - 51em); }
}

/* --- */

.news-preview .scrollarea {
  display: -webkit-flex;
  display: flex; /* same height, because of border */
  justify-content: space-between;
  align-items: stretch;
}
/*._news-preview .scrollable > a {
  flex: none;
}*/

.news-preview .scrollarea > section {
  -webkit-flex: auto; flex: 0 1 auto; /* shrink allow, because of margin XXX */
  min-width: 19em;
  width: 33%; /*_width: calc(33.3% - .33em);*/
  /* Bevor flex-item: (Rundungsfehler => 33% statt 33.3%, bzw.) whitespace braucht auch Platz */
  /* _box-sizing: border-box; // _width: calc(33% - 15em);*/
  display: inline-block;
  vertical-align: top;
  border: 1px solid #ccc;
  padding: 0;
  /*margin-right: .5em;*/ /* Platz dazwischen, da flex whitespace dazwischen killt ... */
  margin-right: 1em; /* Platz dazwischen, da flex whitespace dazwischen killt ... */
}
@media (max-width: 25em) {
  .news-preview .scrollarea > section { min-width: 13em; min-width: calc(87vw - 3em); }
  	.news-preview section {
		display: none !important;
	}
	.news-preview section:first-child {
		display: flex !important;
		width: 100% !important;
		margin: 0 !important;
	}
}


.news-preview .scrollarea > section:last-of-type { margin: 0; }

.news-preview .scrollarea { margin-left: auto; margin-right: auto; }

.news-preview .scrollarea > section img { max-width: 100%; /*margin: 0 -.5em; box-sizing: border-box;*/ }

.news-detail p, .news-detail h3, .info-detail.info-detail h3 {
  margin: 0.5em 0;
}
/*.news  p, .news  h3*/
.news-preview .scrollarea > section > p, .news-preview .scrollarea > section > h3,
.news-list-view p, .news-list-view h3 {
  /*margin-left: .5em; margin-right: .5em;*/
  margin: .5em .7em; /* 2016-09-12 */
}
.news-preview h3, .news-detail h3, .news-container h3, /* 2016-10-03 */
.info-detail h3 { /* XXX -> to an other place? */
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.white [class$="-container"] div.more,
.news-preview  div.more { margin: .5em auto; text-align: center; color: white; }
a.more img { vertical-align: middle; }
/*
.white [class$="-container"] .more img,
.news-preview  .more img { width: 1.15em; margin-right: .5em; border-radius: 50%; vertical-align: top; }
.white [class$="-container"] .more a > *,
.news-preview  .more a > * { vertical-align: middle; }
.white [class$="-container"] .more,
.news-preview  .more { margin: .5em auto; text-align: center; color: white; }
.white [class$="-container"] .more a,
.news-preview  .more a {
  background-color: #93bf20;
  display: inline-block; padding: 0.12em .6em;
  vertical-align: middle;
  text-decoration: none;
  color: inherit;
  text-transform: uppercase;
}
.news-preview  .more a span {
  line-height: 1.15em;
  height: 1.15em;
}
.white [class$="-container"] .more a:before,
.news-preview  .more a::before {
  content: '';
  background-image: url('../Images/symbols/weiter-weiss-qu.svg');
  background-size: 1.15em 1.15em;
  display: inline-block;
  width: 1.15em; height: 1.15em;
  border-radius: 50%;
  margin-right: .5em; vertical-align: middle;
}
.white [class$="-container"] .more a:focus,
.news-preview  .more a:focus { outline: 0 none; }
.white [class$="-container"] .more a:focus::before,
.news-preview  .more a:focus::before { 
  background-color: #c756a0;
}
.white [class$="-container"] .more a:focus:not(:-moz-focusring)::before,
.news-preview  .more a:focus:not(:-moz-focusring)::before { background-color: inherit; animation: none; } 
*/
.news-preview h3, /*.news h3,*/ .news-detail h3, .white [class$="-container"] h3,
.info-detail.info-detail h3 {
  color: #93bf20;
  text-transform: uppercase; /* XXX 2016-09-12 */
}
.news-preview h3 a, /*.news h3 a,*/ .news-list-view h3 a,
.info-detail h3 a {
  text-decoration: none;
}

.news {
}
.news-container, .protocol-container {
  display: -webkit-flex;
  display: flex; /* same height, because of border */
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: stretch;
  align-items: stretch;
  margin: 0 -0.5em .5em 0;
}
.news-container > section, .news-container > div,
.protocol-container > section, .protocol-container > div {
  -webkit-flex: 1 0 19em; flex: 1 0 19em;
  min-width: 19em;
  min-height: 19em;
  __max-width: 33%; /* Bevor flex-item: (Rundungsfehler => 33% statt 33.3%, bzw.) whitespace braucht auch Platz */
  box-sizing: border-box; /*_width: calc(33% - 15em);*/
  display: inline-block;
  vertical-align: top;
  border: 1px solid #ccc;
  padding: 0;
  margin-right: .5em; /* Platz dazwischen, da flex whitespace dazwischen killt ... */
  margin-bottom: 1em;
  order: 3; /* default so two level can be arranged before (per JavaScript) */
}
.dummy:empty { height: 0; min-height: 0; margin-bottom: 0; border: 0 none; }
.protocol-container > section, .protocol-container > div { min-height: 0; }

.protocol-container {
	margin: 0 -.5em;
}
.protocol-container > section {
	padding: 1em 1em 3em;
	margin: 0 .5em 1em;
}
.protocol-container > section h3,
.protocol-container > section p {
	margin: 0;
}
.protocol-container > section a {
	color: black;
}

@media (max-width: 23em) { /* was: 20em, chgd js2016-09-16 */
  .news-container > div, .news-container > section,
  .protocol-container > div, .protocol-container > section { min-width: 11em; flex-shrink: 1; }
}

/*.__news .news-container > div:last-of-type { margin: 0; }
.news .__news-container { margin-left: auto; margin-right: auto; } */
.news-preview .scrollarea > section,
.news-container > section,
.protocol-container > section {
  position: relative;
  padding-bottom: 3em;
}
.news-preview .scrollarea > section > .footer,
.news-container > section > .footer,
.protocol-container > section > .footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3em;
  line-height: 2em;
  padding: .5em;
  box-sizing: border-box;
}
.news-preview .scrollarea > section > .footer > .share-buttons,
.news-container > section > .footer > .share-buttons,
.protocol-container > section > .footer > .share-buttons {
  margin: 0;
  float: right;
  height: 2em;
  line-height: 2em;
}
.news-preview .scrollarea > section > .footer > .share-buttons img,
.news-container > section > .footer > .share-buttons img,
.protocol-container > section > .footer > .share-buttons img {
  max-height: 2em;
  max-width: 2em;
}

.news-container > section img { max-width: 100%; /*margin: 0 -.5em; box-sizing: border-box;*/ }
.news-container > section > p, .news-container > section > h3 { margin-left: .5em; margin-right: .5em; }

.asocmedia-inside {
  text-align: right;
  margin: 0 0.5em 0.35em auto; /*was: 0 0.5em 0 auto;*/
} /*news, news-preview, newsdetail, protocols */
.asocmedia-inside img { width: 2em; height: 2em; }

/* news-detail (position stuff moved to base.css) */
.news-detail article { overflow: hidden; }
._news-detail article aside { float: right; max-width: 33%; margin: 0.5em 0 1em 1.5em; }
.news-detail article aside figure { margin: 0; }
.news-detail article figcaption { font-size: .85em; }
/*.news-detail article section { text-align: justify; }*/
.news-detail article section { text-align: left; }


.share-buttons img {
	height: 100%;
}


@media (min-width: 55em) {
  ._news-detail article section { overflow: hidden; } /* bfc */
}
/*@media (max-width: 40em) {
  ._news-detail article { -webkit-display: flex; display: flex; -webkit-flex-flow: column; flex-flow: column; }
  ._news-detail article aside { float: none; order: 2; max-width: none; margin-left: 0; }
}*/

/* noch 'ne Ebene mit flex */
.news-preview .scrollarea > section, .news-container > section {
  display: -webkit-flex; display: flex;
  -webkit-flex-flow: column nowrap; flex-flow: column nowrap;
}
.news-preview .scrollarea > section > *, .news-container > section > * { -webkit-flex: none; flex: none; }
.news-preview .scrollarea > section > p:last-of-type,
.news-container > section > p:last-of-type { -webkit-flex: auto; flex: auto; }

.news-container .widget:empty { display: none; }

.news-list-view .btn-arrow { text-transform: uppercase; }


.news-list-view .page-navigation {
	width: 100%;
	min-width:100%;
	height:auto;
	min-height: auto;
	border: none;
}
.news-list-view .news-clear{
	width: 100%;
    min-width: 100%;
    height: auto;
    min-height: auto;
    border: none;
}
.news-detail .leiste li a img {
	width: 10px;
	position: relative;
	top: 3px;
	margin: 0 0.5em;
}

.img-popup {
	position: absolute;
    width: auto;
    left: 0;
    right: 0;
    top: 0;
    padding: 3em;
    background: #999;
    border: 1px solid;
    border-radius: 5px;
}
.img-popup img {
	width: 100%;
}
.close-popup {
	position: absolute;
    right: 0.5em;
    top: 0.5em;
}
.close-popup:hover {
	cursor: pointer;
}
.close-popup img {
	width:30px;
}
.popup-overlay {
	position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    background: rgba(0,0,0,0.7);
    right: 0;
    top: 0;
}
.h2.leiste li a {
	float: left;
}
.h2.leiste li .next {
	float: right;
}