html {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-color:transparent;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center center;
}

#top,
#bottom,
#left,
#right {
	z-index: 9990;
}

/* New header */
a.brand.pull-right {
	background-size: 100px 86px;
}

.navbar .brand img {
	width: 100px;
}

.premium img {
	position: absolute;
	bottom: 40px;
	right: 265px;
}

@media (min-width: 768px) and (max-width: 979px) {
	a.brand.pull-right {
		background-size: auto;
	}
}

/* Fix display for home */
.home .frame-type-textpic {
	padding: 30px;
	background-color: #FFF;
}

/* Search */
.tx-indexedsearch-res {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #ededed;
  }

  .tx-indexedsearch-browsebox .tx-indexedsearch-browsebox {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-bottom: 20px;
  }

  .tx-indexedsearch-browsebox .tx-indexedsearch-browsebox li {
	display: inline-block;
	vertical-align: middle;
	margin-right: 2px;
  }

  .tx-indexedsearch-browsebox .tx-indexedsearch-browsebox li::before {
	  display: none;
  }

  .tx-indexedsearch-browsebox .tx-indexedsearch-browsebox li a,
  .tx-indexedsearch-browsebox .tx-indexedsearch-browsebox .tx-indexedsearch-browselist-currentPage a {
	color: #404040;
	background: #ededed;
	display: inline-block;
	padding: 12px 10px;
	min-width: 20px;
	min-height: 20px;
	text-align: center;
	transition: all 300ms ease-in-out;
  }

  .tx-indexedsearch-browsebox .tx-indexedsearch-browsebox .tx-indexedsearch-browselist-currentPage a,
  .tx-indexedsearch-browsebox .tx-indexedsearch-browsebox li > a:hover {
	background: #97a678;
	color: white;
	text-decoration: none;
  }

  .tx-indexedsearch-searchbox legend,
  .tx-indexedsearch-info {
	display: none;
  }

/* Pagination news */
#posts {
	padding-bottom: 120px;
}

.home #posts {
	padding: 0;
}

#posts .page-navigation {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: #FFF;
	padding: 15px;
}

#posts .f3-widget-paginator {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

#posts .f3-widget-paginator li {
    display: inline-block;
	vertical-align: middle;
	line-height: 1;
	margin-right: 3px;
}

#posts .f3-widget-paginator li::before {
	display: none;
}

#posts .f3-widget-paginator li > a,
#posts .f3-widget-paginator .current {
    background: #ededed;
    display: inline-block;
    padding: 12px 10px;
    text-align: center;
	transition: all 300ms ease-in-out;
}

#posts .f3-widget-paginator li > a {
	color: #4d4d4d;
}

#posts .f3-widget-paginator .current,
#posts .f3-widget-paginator li > a:hover {
    background: #97a678;
    color: white;
    text-decoration: none;
}

/* News customisation */
div.news.news-single div.article div.teaser-text {
    font-weight: bold;
    margin: 0;
}

.news-img-caption {
	display: none;
}

/* Text on home
.home .frame-default {
	background: #FFF;
	padding: 15px;
}
*/

/* Fluid styled content */
.frame-default ul {
    list-style: none;
    margin-left: 0;
    padding-left: 1em;
}

.frame-default li::before {
    display: inline-block;
    content: "-";
    width: 1em;
    margin-left: -1em;
}

.frame-type-text a,
.frame-type-textpic a {
	color: #97a678;
}

.frame-type-textmedia .ce-gallery figure {
	display: block;
}

.frame-type-textmedia .ce-left .ce-gallery,
.frame-type-textmedia .ce-column {
	float: none;
}

.frame-type-textmedia .video-embed {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
	margin-bottom: 20px;
}

.frame-type-textmedia .video-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Info message */
.infopopup {
	background-color: #f0f0f0;
	border-bottom: 1px solid #cccccc;
	position: relative;
	color: #6b6b6b;
	display: none;
}

.infopopup__inner {
	padding: 40px 15px 15px;
}

.infopopup h1,
.infopopup h2,
.infopopup h3,
.infopopup h4 {
	font-size: 20px;
}

.infopopup p:last-child {
	margin: 0;
}

.infopopup__close {
	position: absolute;
	right: 30px;
	top: 30px;
}

.infopopup__close abbr {
	display: block;
	cursor: pointer;
	text-decoration: none;
	width: 20px;
	height: 20px;
	border: 1px solid #CCC;
	border-radius: 50%;
	position: relative;
}
.infopopup__close abbr::after {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	background: url("../Images/icon-close.svg") no-repeat center center;
	background-size: 8px 8px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -4px 0 0 -4px;
}

/* Social Media Icons */
.socialmedia-link {
	opacity: 0.8;
	transition: opacity .3s ease-in-out;
}

.socialmedia-link:hover {
	opacity: 1;
}

/* Transparent Content */
#transparent-content {
	margin: 35px 0;
}

/* Calendar home */
.calendar__widget {
	display: block;
	position: fixed;
	top: 185px;
	right: 30px;
	width: 220px;
	background: #FFF;
	padding: 15px;
	z-index: 9999;
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
}

.calendar header h3 {
	margin: 0 0 10px;
	padding: 0 0 10px;
	border-bottom: 1px solid #cccccc;
}

.calendar header h3::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 16px;
	background: url('../Images/icon-calendar-green.svg') no-repeat center 0;
	margin-right: 5px;
}

.calendar header h3 a {
	color: black;
}

.calendar header h3 a:hover {
	text-decoration: none;
	color: #97a678;
}

.calendar .article {
	margin-bottom: 15px;
	padding-right: 15px;
}

.calendar .article:nth-child(odd) {
	border-right: 3px solid #f0f0f0;
}

.calendar .article:last-child {
	margin: 0;
}

.calendar .news-item .header {
	margin: 0;
}

.calendar .news-item h3 {
	font-size: 16px;
	margin: 0;
}

.calendar__close {
	position: absolute;
	right: -7px;
	top: -7px;
}

.calendar__close abbr {
	display: block;
	cursor: pointer;
	text-decoration: none;
	width: 20px;
	height: 20px;
	border: 1px solid #CCC;
	background: #FFF;
	border-radius: 50%;
	position: relative;
}
.calendar__close abbr::after {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	background: url("../Images/icon-close.svg") no-repeat center center;
	background-size: 8px 8px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -4px 0 0 -4px;
}

.calendar__button {
	cursor: pointer;
	width: 60px;
	height: 50px;
	background: #97a678 url('../Images/icon-calendar-white.svg') no-repeat center center;
	position: fixed;
	top: 50%;
	right: 15px;
	margin-top: -25px;
	transition: transform .3s ease-in-out;
	z-index: 9980;
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
}

.calendar__button--off {
	transform: translate(200px, 0);
}

/* Cookie banner */
.cookie-notice {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
    background: rgba(0,0,0,.9);
    color: #fff;
    font-size: 14px;
    padding: 20px;
    width: 100%;
    max-width: 420px;
    position: fixed;
    bottom: 30px;
    right: 15px;
    z-index: 9999;
    display: none;
}

.cookie-notice__text {
    font-size: 14px;
}

.cookie-notice__button {
    -webkit-appearance: none;
    background-color: #97a678;
    border: 1px solid transparent;
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    line-height: 1;
    margin: 0;
    outline: 0;
    padding: 10px 38px 11px;
    position: relative;
    text-align: center;
    text-decoration: none;
    -webkit-transition: .5s ease;
    transition: .5s ease;
    vertical-align: middle;
    font-size: 14px;
}

.cookie-notice__button::after {
    content: "";
    width: 14px;
    height: 14px;
    background: url(../Images/icon-arrow-right-white.svg) no-repeat 0 0;
    position: absolute;
    top: 50%;
    right: 15px;
    margin-top: -7px;
    opacity: 0;
    -webkit-transition: .5s ease;
    transition: .5s ease;
}

.cookie-notice__button:focus,
.cookie-notice__button:hover {
    color: #fff !important;
    text-decoration: none;
    padding-left: 28px;
    padding-right: 48px;
}

.cookie-notice__button:focus::after,
.cookie-notice__button:hover::after {
    opacity: 1;
    right: 28px;
}

.cookie-notice__reject {
    margin-right: 15px;
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.cookie-notice__more {
	color: #97a678;
}

.cookie-notice__more:hover {
	color: #97a678;
}

/* Terminfilter */
.news__tags {
	display: block;
	padding-left: 20px;
	background: url('../Images/icon-tag.svg') no-repeat 0 center;
}

.news__filter {
	background: #FFF;
	padding: 10px 15px;
}

.news__filter .form-horizontal {
	margin: 0;
}

.news__filter .form-group--tags {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	margin-bottom: 10px;
}

.news__filter .form-group--tags .tag input {
	margin: 0 5px 0 0;
}

.news__filter .form-group--date {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 10px;
}

.news__filter .input-group {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding-right: 30px;
}

.filter-label {
	margin: 0;
	padding: 4px 5px 0 0;
}

.news__filter .btn {
	background-color: #97a678;
}

.news__filter .btn:hover,
.news__filter .btn:focus {
	color: black;
}

.header__search {
	display: flex;
	width: 542px;
	margin-bottom: 30px;
}

.header__searchlink {
	display: inline-block;
	padding: 5px 10px;
	margin-left: auto;
}

/* Mobile Styles */
@media (max-width: 990px) {
	.navbar .btn-navbar {
		left: 15px;
	}

	.header__search {
		width: 100%;
	}

	.header__searchlink {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (max-width: 767px) {
	.calendar__widget {
		width: auto;
		top: 80px;
		left: 23px;
		right: 23px;
		border: 1px solid #CCC;
	}

	.calendar__button {
		right: 0;
	}

	.news__filter .form-group--date {
		display: block;
	}

	.news__filter .input-group {
		padding: 0;
		margin-bottom: 10px;
	}

	.news__filter .input-group:last-child {
		margin: 0;
	}
}

@media (max-width: 640px) {
	.cookie-notice {
		left: 0;
		right: 0;
		bottom: 0;
		max-width: 100%;
	}
}
