/**************************************/
/* Default styles for news extension */
/**************************************/
/*
.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: 15px;
	margin-bottom: 15px;
}

.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 {
	float: left;
	margin: 3px 12px 5px 0;
	background: #fff;
}

.news .article .news-img-wrap a {
	display: block;
	float: left;
	padding: 4px;
	border: 1px solid #ddd;
	background: #fff;
}

.news .article .news-img-wrap img {
	float: left;
	height: auto;
	width: auto;
}

.news .article .teaser-text {
	margin: 0 0 10px 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 {
	float: right;
	width: 282px;
	margin: 0 0 0 25px;
}

.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;
}

.news-author { border: 1px solid #eee; padding: 10px; margin-bottom: 20px; width: 25%; }
*/

/* ==========================================================================
   General
   ========================================================================== */

.frame-default a:not([class]) { color: #ff4236; }
   
.frame-type-news_categorylist, .frame-type-news_pi1, .frame-type-news_newsdetail{
	max-width: inherit;
}

.categories *, .news *{
	margin: 0;
	padding: 0;
}

/* ==========================================================================
   Categories
   ========================================================================== */

.categories{
	display: flex;
	justify-content: center;
	align-items: center;
}
.categories ul{
	list-style: none;
	padding: 0 15px;
}
.categories .btn_category{
	display: inline-block;
	font-size: 18px;
	border-radius: 20px;
	cursor: pointer;
	background: linear-gradient(#222,#222) padding-box, linear-gradient(145deg, #FF0053 0%, #FFC200 100%) border-box;
	border: 2px solid transparent;
}
.categories .btn_category{
	margin: 0 3px;
}
.categories .btn_category.active{
	background: linear-gradient(145deg, #FF0053 0%, #FFC200 100%) padding-box, linear-gradient(145deg, #FF0053 0%, #FFC200 100%) border-box;
}
.categories .btn_category a{
	display: block;
	background: linear-gradient(145deg, #FF0053 0%, #FFC200 100%);
    background-clip: border-box;
  	background-clip: text;
  	-webkit-text-fill-color: transparent;
	text-decoration: none;
	padding: 10px 25px;
}
.categories .btn_category.active a{
	color: white;
	-webkit-text-fill-color: inherit;
}
.frame-default.frame-type-news_categorylist{
	margin-bottom: 44px;
}
.frame-type-news_categorylist + .frame-type-news_pi1{
	padding-top: 0;
}

/* ==========================================================================
   News - List view
   ========================================================================== */

.frame-default.frame-type-news_pi1 {
	margin-top: 44px;
}

.news{
	background: linear-gradient(145deg, #222 0%, #444 100%);
	border-radius: 20px;
}
.news .news-list-view{
	padding-left: 15px;
	padding-right: 15px;
	margin: 0 auto;
	max-width: 1110px;
}

.news .news-list-view .article{
	color: #222;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	margin-top: 30px;
}
.news .news-list-view .news-img-wrap{
	box-sizing: border-box;
	width: 100%;
}
.news .news-img-wrap img{
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px 20px 0 0;
}

.news .news-list-view .card_body{
	background-color: white;
	border-radius: 0 0 20px 20px;
	padding: 30px;
}

.news .news-list-view .card_body .header a {
	color: inherit;
}

.news .news-list-view .card_body .footer, .news .news-list-view .card_body .teaser-text {
	margin-top: 1rem;
}

.news .news-list-view .card_body h3 span, .news .news-list-view .card_body a{
	font-weight: 400;
}

.news .news-list-view .card_body .footer a{
	text-decoration: none;
}

.news .news-list-view .card_body h3 {
	font-size: 26px;
}

.news .news-list-view .card_body .teaser-text p {
	font-size: 17px;
    margin-bottom: 15px;
}

.news .news-list-view .card_body p:last-child:has(a) {
	margin-top: 30px;
}

.news .news-list-view .card_body a.btn {
	font-size: 17px;
}

.news .news-list-view .card_body .footer p {
    font-size: 17px;
}

/* Pagination */
.pagination{
	margin: 44px 0;
	padding-bottom: 44px;
}

.f3-widget-paginator{
	list-style: none;
	display: flex;
	justify-content: center;
	align-items: center;
}

.f3-widget-paginator li{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 2em;
	height: 2em;
	cursor: pointer;
	background: linear-gradient(#222,#222) padding-box, linear-gradient(145deg, #FF0053 0%, #FFC200 100%) border-box;
	border: 2px solid transparent;
	border-radius: 10px;
}

.f3-widget-paginator li:not(:first-child){
	margin-left: 10px;
}

.f3-widget-paginator a{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #FF0053 0%, #FFC200 100%);
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
}

.f3-widget-paginator .current {
	background: linear-gradient(145deg, #FF0053 0%, #FFC200 100%) padding-box, linear-gradient(145deg, #FF0053 0%, #FFC200 100%) border-box;
}

.f3-widget-paginator .current a{
	-webkit-text-fill-color: unset;
	color: inherit;
}


/* ==========================================================================
   News - Detail view
   ========================================================================== */

.news-single{
		padding-left: 15px;
		padding-right: 15px;
		margin: 0 auto;
		max-width: 1110px;
		font-family: 'Ubuntu', sans-serif;
		font-weight: 300;
}

.news-single .article{
	display: grid;
	flex-direction: column;
}

.news-single .news-img-wrap img{
	border-radius: 20px;
}

.news-single .news-author p{
	font-size: 16px;
}

.news-single .avatar{
	height: 70px;
	width: 70px;
	border-radius: 50%;
	overflow: hidden;
	margin-top: 30px;
	margin-bottom: 0.5rem;
}

.news-single .avatar img{
	filter: grayscale(100%);
}

.news-single .footer{
	margin-top: 1rem;
}

.news-single .footer p{
	font-size: 16px;
}

.news-single .news-text-wrap{
	margin: 1.25rem 0;
}

.news-single .news-text-wrap p:not(:first-child){
	margin-top: 1.25rem;
}

.news-single .btn{
	margin-top: 25px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (min-width:679px){
    .news-list-view{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .news-list-view .article{
        width:49%;
    }
    .article:not(:first-child){
        margin-top: 0;
    }
}

@media screen and (min-width:768px){
	.news-single{
		padding: 50px;
	}
}

@media screen and (min-width: 970px){
	.news-single .article{
		grid-template-columns: repeat(2, 1fr);
	}
	.news-single .article .news-author{
		grid-column: 1;
		grid-row: 1;
		display: grid;
		grid-template-columns: 85px auto;
		align-self: flex-end;
		padding-right: 25px;
	}
	.news-single .article .news-author .avatar{
		grid-row: 1 / span 2;
		align-self: center;
		margin: 0;
	}
	.news-single .article .news-author .author{
		align-self: flex-end;
	}
	.news-single .article .footer{
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
	}
	.news-single .article .news-text-wrap{
		grid-column: 1 / 3;
		grid-row: 3;
	}
	.news-single .article .news-backlink-wrap{
		grid-column: 1;
		grid-row: 4;
	}
	.news-single .article .news-img-wrap{
		grid-row: 1 / 3;
		margin-bottom: 1.5rem;
	}
}
	
/* ==========================================================================
   Youtube Video
   ========================================================================== */

.video iframe{
	border-radius: 20px;
}

/* ==========================================================================
   Youtube Placeholder
   ========================================================================== */

.videoConsentText{
    background: linear-gradient(145deg, #222 0%, #444 100%);
    display: grid;
    grid-template-columns: auto 65%;
    justify-content: center;
    padding: 7%;
	border-radius: 20px;
}
.videoConsentText img{
    grid-row: 1 / span 2;
    width: 50%;
    justify-self: center;
    align-self: center;
}
.videoConsentText > p{
    border: none;
    color: white;
    padding: 0;
    justify-self: center;
    justify-content: center;
    padding-right: 10%;
	margin-top: 0;
}
.videoConsentText .btn{
	margin: 0;
}

/* ==========================================================================
   Regular content elements
   ========================================================================== */

.image img {
	border-radius: 20px;
  }

.ce-column .image img {
	width: 540px;
	height: auto;
}

.ce-column .video .video-embed-item {
	width: 540px !important;
	height: 360px;
}

.ce-image div[data-ce-images="1"] .ce-column .image img {
	width: 100%;
}

div[data-ce-images="2"] .ce-column .image img {
	width: 450px;
}

div[data-ce-images="4"] .ce-column {
	width: calc(50% - 15px);
}

div[data-ce-images="4"] .ce-column .image img {
	width: 100%;
}

.ce-intext.ce-right .ce-gallery {
	margin-left: 30px;
	margin-bottom: 30px;
}

.ce-intext.ce-left .ce-gallery {
	margin-right: 30px;
}

.ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery {
	margin-top: 5px;
	margin-bottom: 30px;
}

.ce-intext .ce-row:not(:last-child) {
	margin-bottom: 30px;
}

.ce-bodytext p {
	margin-top: 0;
}

.ce-bodytext p:last-child {
	margin-bottom: 0;
}

div[data-ce-images="4"] .ce-row:not(:last-child) {
	margin-bottom: 30px;
}

div[data-ce-images="4"] .ce-column:not(:last-child) {
	margin-right: 30px;
}

@media (min-width: 970px) and (max-width: 1210px) {
	body > .frame-default {
		padding: 0 45px !important;
	}
}
@media screen and (max-width: 969px) {

	body > .frame-default:not(.frame-type-mask_text_with_picture_std) {
		padding: 0 30px !important;
	}

	.ce-column, .ce-column .video, .ce-column .video .video-embed-item {
		width: 100% !important;
	}

	.ce-column .image img {
		width: 100% !important;
	}

	.ce-column .video .video-embed-item {
		height: 450px;
	}

	.ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	div[data-ce-images="4"] .ce-column, div[data-ce-images="4"] .ce-column .image{
		width: 100%;
	}

	div[data-ce-images="4"] .ce-column:not(:last-child) {
		margin-right: 0 !important;
		margin-bottom: 30px;
	}


}
