/********************
* general css
********************/

html, body {
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #7c755e;
	font-size: 17px;
}

h1 {
	color: #b28f3a;
	font-size: 22px;
	border-bottom: 1px solid #b28f3a;
	padding-bottom: 5px;
	width: 50%;
	margin-bottom: 25px;
	text-transform: uppercase;
}

h2 {
    margin: 5px 0 15px;
    font-size: 20px;
    text-transform: uppercase;
}

#content {
	padding: 30px 0;
}

.btn, .btn:active, .btn:focus, .btn:active:focus, .btn:active:hover {
	border-radius: 0;
	background: #638E49;
	border-color: #638E49;
    font-size: 16px;
    padding: 8px 20px;    

    -webkit-transition: background 500ms ease-out 50ms;
    -moz-transition: background 500ms ease-out 50ms;
    -o-transition: background 500ms ease-out 50ms;
    transition: background 500ms ease-out 50ms;
}

.btn:hover {
	background: #3d5a2b;
	border-color: #3d5a2b;
}

a {
	color: #628e49;
	text-decoration: none;
}

a:hover {
	color: #3d5a2b;
}

.img-inline {
	padding-left: 20px;
}

.btn-to-top {
	background: url('../images/arrow_up.png');
	width: 30px;
	height: 30px;
	background-size: cover;
	display: inline-block;
}
	
/********************
* header / navbar
********************/

#logo {
	padding: 20px 0;
	display: inline-block;
}

.navbar-toggle {
	margin: 17px 0 7px;
}

.navbar-toggle .icon-bar {
    background-color: #888;
}

#main-nav a{
	color: #628e49;
}

#main-nav > li.active > a {
	font-weight: bold;
}

#main-nav > li:hover > a, #main-nav > li:focus > a, #main-nav > li:active > a, .nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
	background: none;
}

#main-nav .dropdown-menu>li>a:focus, #main-nav .dropdown-menu>li>a:hover, #main-nav .dropdown-menu>li>a:active {
	background: none; 
	font-weight: bold;
}

#main-nav .dropdown-menu {
	background: rgba(255,255,255,.8);
	border: 0;
	max-height: 0;
	display: block;
	overflow: hidden;
    padding: 0;

    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
}

#main-nav .dropdown-link .glyphicon-triangle-bottom {
    font-size: 13px;
    margin-left: 10px;
}

	

/********************
* slider
********************/

.carousel-indicators li {
	border-radius: 0px;
	margin: 0 5px;
	background: #fff;
}

.carousel-indicators li.active {
	margin: 0 5px;
	border: 7px solid #fff;
}

.carousel-control {
	z-index: 5;
}

.carousel-control.right, .carousel-control.left {
	background: none;
}

.img-slider-btn {
	position: absolute;
    top: 50%;
	width: 50px;
    height: 50px;
    margin-top: -25px;
    z-index: 5;
    display: inline-block;
}

#img-previous {
	margin-left: -10px;
}

#img-next {
	margin-left: -40px;
}

.carousel-caption a {
	color: #fff;
    display: inline-block;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 2px solid #fff;
    text-decoration: none;
    text-transform: uppercase;
    background: rgba(0,0,0,.4);

    -webkit-transition: background 500ms ease-out 100ms;
    -moz-transition: background 500ms ease-out 100ms;
    -o-transition: background 500ms ease-out 100ms;
    transition: background 500ms ease-out 100ms;
}

.carousel-caption a:hover {
	background: rgba(0,0,0,.8);
}

#slider-title {
    position: absolute;
    top: 40%;
    margin-top: -20px;
    text-align: center;
    color: #fff;
    left: 0px;
    right: 0px;
    font-size: 36px;
    text-transform: none;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,1);
}

/********************
* expander
********************/

.panel, .panel-group .panel {
	border-radius: 0;
}

.panel-default>.panel-heading {
	background: #8BA87A;
	color: #fff;
	border-radius: 0;
	padding: 0;
}

.panel-default>.panel-heading a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 10px 15px;
}

.expander-indicator {
	position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    float: right;
}

.panel-default>.panel-heading .expander-indicator:before {
    content: "\e252";
}

.panel-default>.panel-heading.active .expander-indicator:before {
    content: "\e253";
}

.panel-default>.panel-heading.active {
	background: #628e49;
}

/********************
* team
********************/

.team-member img {
	width: 100%;
}

.team-member .info {
	text-align: center;
	padding: 8px 15px;

	-webkit-transition: background 500ms ease-out 100ms;
    -moz-transition: background 500ms ease-out 100ms;
    -o-transition: background 500ms ease-out 100ms;
    transition: background 500ms ease-out 100ms;
}

.team-member .info .name {
	color: #628e49;
	font-weight: bold;
	margin: 0;
}

.team-member:hover .info {
	background: #628e49;
}

.team-member .info .email {
	margin: 0;
	opacity: 0;
}

.team-member:hover .info .email {
	margin: 0;
	opacity: 1;
}

.team-member .info .job-title {
	line-height: initial;
	height: 40px;
}

.team-member:hover .info .name, .team-member:hover .job-title, .team-member:hover .email a {
	color: #fff;
}

/********************
* form
********************/

.form-control:focus {
	border: 1px solid #638E49;
	box-shadow: none;
}

.contact-form label, 
.results-form label {
	width: 150px;
	vertical-align: top;
}

.contact-form input, .contact-form textarea,
.results-form input, .results-form textarea, .results-form select {
	border-radius: 0;
	display: inline-block;
	width: 50%;
}

.contact-form textarea,
.results-form textarea {
	min-height: 150px;
}

.contact-form .btn,
.results-form .btn {
	width: initial;
}

.btn-container {
	text-align: right;
	margin-right: calc(50% - 155px);
}

.results-form .form-group:nth-of-type(1) label {
	/*margin-top: 20px;*/
}

.form-login input {
	border-radius: 0;
	width: 50%;
}

.form-login label {
	display: block;
}

.form-login input[type="submit"] {
	width: initial;

}

.form-login .btn-container{
	width: 50%;
	margin-right: initial;
}

/********************
* downloads
********************/
.panel-group-downloads .panel-default {
	width: calc(50% - 30px);
	margin: 0 15px 10px;
	float: left;
}

.panel-group-downloads .panel-default:nth-of-type(2n+3) {
	clear: both;
}

.result-item {
	width: 100%;
}

.filter-options {
	width: 50%;
}

.filter-options select {
	border-radius: 0;
	margin-bottom: 9px;
	padding: 10px;
	height: initial;
}

.no-results-found {
	display: none;
	font-weight: bold;
}

.result-container {
	margin: 15px 0;
}

.result-item {
	padding: 10px 15px;
}

.result-item.odd {
	background: #eee;
}

.result-header {
	margin-top: 30px;
	font-weight: bold;
}

.nav-tabs {
	border-bottom: 0;
}

.nav-tabs li a {
	padding: 5px 10px;
	border-radius: 0;
	border: 1px solid;
    margin: 0;
}

.nav-tabs li:not(:last-child) {
	margin-right: 5px;
}

.nav-tabs li.active a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
	background: #628e49;
	color: #fff;
}

#tabs-year {
	margin-bottom: 10px;
}

.sort-filter-container {
	background: #555;
    color: #fff;
    padding: 5px;
    font-size: 14px;
}

.sort-filter {
	width: initial;
	border-radius: 0;
	display: inline-block;
    font-size: 13px;
    height: initial;
    padding: 5px;
}

.filter-type-of-test, .filter-sort {
	display: none;
}

/********************
* footer
********************/
 
footer {
	margin: 50px 0 30px;
	font-size: 14px;
}

footer .contact-label {
	width: 55px;
	display: inline-block;
}

footer a {
	text-decoration: underline;
}

#footer {
 	display: table;
 	width: 100%;
}

#footer > div {
    display: table-cell;
    vertical-align: bottom;
    float: none;
}

#footer img {
	margin-bottom: 10px;
}

.footer-link + .footer-link {
	margin-left: 20px;
}

/********************
* media queries
********************/

@media (min-width: 1200px) {
	.container {
	    width: 990px;
	}

	.carousel-control {
		width: 10%;
	}
}

@media (min-width : 992px) {
	#main-nav > li > a {
		font-size: 20px;
		padding: 25px;
	}

	#main-nav > li:not(:first-child) > a {
		margin-left: 20px;
	}

	.carousel-control {
		width: 10%;
	}
}

@media (min-width: 768px) {
	#main-nav > li > a {
	    padding: 25px 15px;
	}

	#main-nav > li.dropdown:hover .dropdown-menu {
		max-height: 200px;
		padding: 15px 0;
	}
}

@media (max-width: 1199px) {
	.carousel-indicators {
		bottom: 0;
	}

	.carousel-caption {
		padding-bottom: 25px;
	    bottom: 0px;
	}

	.team-member .info .email {
		opacity: 1;
	}
}

@media (max-width: 991px) {
	#footer > div {
		display: block;
		float: left;
	}

	#footer > div:nth-of-type(3) {
		clear: both;
	}

	.carousel-caption a {
		margin-bottom: 20px;
		padding: 7px 20px;
	}

	#slider-title {
		top: 30%;
	}

	.team-member {
		margin-bottom: 30px;
	}

	.panel-group-downloads .panel-default {
		width: calc(100% - 30px);
	}
}

@media (max-width: 767px) {
	
	.img-inline  {
		padding-left: 0;
	}

	h1 {
		width: 100%;
	}

	#main-nav {
		padding: 0;
		margin: 0 -30px;
	}

	#main-nav > li > a {
		padding: 10px 15px;
	}

	#main-nav > li:first-child a {
		border-top: 1px solid #628e49;
	}

	#main-nav > li:not(:last-child) a {
		border-bottom: 1px solid #628e49;
	}

	#main-nav .dropdown-menu {
    	background: #8BA87A;
    	padding: 0px;
    	width: 100%;
    	position: static;
   	 	float: none;
	}

	#main-nav .dropdown-menu li a {
		padding: 10px 15px 10px 30px;
		color: #fff;
		border-bottom: 1px solid #333;
	}

	#main-nav .dropdown-link span {
		float: right;
		padding: 3px 15px 5px 5px;
	}

	#main-nav > li.dropdown.show-dropdown .dropdown-menu {
		max-height: 200px;
		width: 100%;
	}	

	#main-nav > li.dropdown.show-dropdown .glyphicon-triangle-bottom:before {
	    content: "\e253";
	}   

	.img-slider-btn {
		width: 25px;
		height: 25px;
		margin-top: 0px;
	}

	#img-next {
	    margin-left: -20px;
	}

	.carousel-indicators {
		display: none;
	}

	#slider-title {
		position: relative;
		background: #333;
	    margin: 0px;
	    padding: 20px 0;
	    font-size: 20px;
	}

	.carousel-caption {
		position: relative;
		left: 0;
		right: 0;
		padding: 0;
	}

	.carousel-caption a {
		width: 100%;
		margin-bottom: 0;
		border: 0;
		background: #8BA87A;
	}

	#content {
		padding: 10px 0 30px;
	}

	.team-member {
		margin-bottom: 30px;
		padding: 0 15%;
	}

	.contact-form label, .contact-form input, .contact-form textarea,
	.results-form label, .results-form input, .results-form textarea, .results-form select {
		width: 100%;
	}
	
	.btn-container {
		margin-right: 0;
	}

	.form-login input {
		width: 100%;
	}

	.form-login .btn-container{
		width: 100%;
	}

	.filter-options { 
		width: 100%;
	}
}

.Berichtsheft {
	border: solid 1px #555;
}
.federal-state {
	font-weight:bold;
	border-bottom: 1px solid #7c755e;
	margin-top: 0.5em;
}
.result-item .new-item {
    display: none;
   
}
.new-item .new-item {
	display:block;
	margin-left: 1em;
    position: absolute;
    top: -19px;
    left: 65px;
    width: 30px;
    height: 40px;
    background: url(../images/flag-new-item.png) no-repeat center center;
    background-size: contain;
}

.submenu-1 {
	width: 220px;
}

.submenu-2 {

}
.comments {
	font-size:0.8em;
	font-style:italic;
	
}
.result-item .file-type {
	background-position: 10px 4px;
	background-repeat:no-repeat;
	padding-left:20px;

}
.excel-file-type .file-type  {
	background-image:url(../images/file-types/excel.png);
}
.text-file-type .file-type {
	background-image:url(../images/file-types/txt.png);
}
.pdf-file-type .file-type {
	background-image:url(../images/file-types/pdf.png);
}
.zip-file-type .file-type {
	background-image:url(../images/file-types/zip.png);
}

.fhidden {
	display:none !important;
}