/* @import url('https://fonts.googleapis.com/css?family=Lato:400,700'); */
@import 'fonts.css';
@import 'normalize.css';

body {
	/* font-family: 'Lato', sans-serif; */
	font-family:  'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 1.2rem;
	line-height: 1.4;
}

h1 {
	font-size: 2.2rem;
}

h3 {
	font-size: 1.5rem;
	font-weight: bold;
	margin: 2rem 0;
}

h4 {
	font-size: 1.8rem;
}

h5 {
	font-weight: bold;
	font-size: 1.1rem;
	margin: 1.4rem 0;
}

a {
	text-decoration: none;
}

a:hover {
	color: #38a2c6;
}

p {
	-moz-hyphens: auto;
  hyphens: auto;
}

p.kleiner {
	font-size: 1.2rem;
}

p.subline {
	font-size: 1rem;
}

.rand {
	border: 1px solid #999;
}

.hide {
	display: none;
}

/*********************/

nav {
	background-color: #0e6ca0;
	color: #fff;
	max-height: 100px;
}

nav a {
	color: #fff;
	font-weight: normal;
	font-size: 1rem;
}

nav .navbar-brand {
	margin: 10px 0;
}

nav .navbar-brand img {
	height: 80px;
}

.custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar {
	padding: 0;
}

.navbar .navbar-brand {
	display: none;
}

.navbar h1 {
	font-size: 1.3rem;
	font-weight: normal;
	padding: 10px;
}

.navbar .navbar-collapse {
	background-color: #0e6ca0;
	z-index: 999;
	padding: 1rem 2rem 2rem 2rem;
}

.navbar .navbar-collapse a {
	text-decoration: none;
}


/*********************/

header {
	background-color: #38a2c6;
	background-image: url(../images/header_xs.png);
	background-size: auto 100%;
	background-position: center;
	height: 150px;
}

header h1 {
	color: #fff;
	font-size: 2rem;
	text-transform: uppercase;
	font-weight: bold;
	background-color: rgba(14, 108, 160, .7);
	padding: 10px 15px;
	margin: 20px 0 0 0;
	display: none;
}

header h2 {
	color: #fff;
	font-size: 1.8rem;
	font-weight: normal;
	background-color: rgba(14, 108, 160, .7);
	padding: 10px 15px;
	margin: 20px 0 10px 0;
	display: inline-block;
}

/*********************/

section {
	padding: 1.5rem 0 3.5rem 0;
}

section.grau {
	background-color: #f5f5f5;
}

section.content2 {
	padding: 3rem 15px 3rem 15px;
}

section.foerderung {
	border-top: 2px solid #86b5cf;
}

section.foerderung img {
	padding: 0 10px;
}

section.foerderung img.BMFSFJ {
	max-height: 160px;
}

section.adresse {
	font-size: 1rem;
	white-space: nowrap;
}

section.adresse div {
	text-align: center;
}


/*********************/

.training {
	border-top: 10px solid #0e6ca0;
	border-bottom: 10px solid #0e6ca0;
}

.blog {
	border-top: 10px solid #c3262c;
	border-bottom: 10px solid #c3262c;
}

.training a, .blog a {
	text-decoration: none !important;
	color: #000;
}

.image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.imageover {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.imageover img {
	margin: 0;
}


.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  height: auto;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  border-radius: 6px;
}


.overlay.overtraining {
  background-image:url(../images/over_training.png);	
}

.overlay.overblog {
  background-image:url(../images/over_blog.png);	
}

.imageover .overlay, .imageover:hover .overlay {
  opacity: 1;
  left: 0;
  transition: .5s ease;
  border-radius: 6px;
}

.overlaytext {
  color: white;
  position: absolute;
  top: 50%;
  left: 67%;
  width: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: right;
}

.overlaytext h4 {
	font-size: 3rem;
	font-weight: bold;
}

.overlaytext h5 {
	font-size: 1.5rem;
	font-weight: normal;
	line-height: 2.4rem;
}

/*********************/
/**** Lightbox    ****/


.modal-footer {
	font-style: italic;
	color: #999999;
	font-size: 80%;
}

.ekko-lightbox-nav-overlay a {
	color: rgba(0, 0, 0, .2);
	opacity: 1;
	text-decoration: none;
	font-size: 40px;
}

.ekko-lightbox-nav-overlay a:hover {
	color: rgba(0, 0, 0, .5);
	opacity: 1;
	text-decoration: none;
}

.ekko-lightbox .modal-dialog {
	transition: opacity .25s ease-in-out;
}

/*********************/
/*********************/


footer {
	background-color: #0e6ca0;
	color: #fff;
	padding: 2rem 0 3rem 0;
	margin-top: 10px;
	font-size: .9rem;
}

footer a {
	color: #fff;
}

footer .impressum p {
	margin: 10px 4rem 10px 0;
}

footer .small {
	color: #a7cadd;
}



/*         */
/* Queries */
/*         */

@media(max-width: 400px) {

	.navbar h1 {
		font-size: 1rem;
	}

	header h2 {
		font-size: 1.2rem;
	}
	
}


@media(max-width: 510px) {

	.overlay.overtraining {
  		background-image: none;
  		background-color: rgba(14, 108, 160, .6);
	}

	.overlay.overblog {
  		background-image: none;
  		background-color: rgba(195, 38, 44, .6);	
	}

	
	.imageover:hover .overlay {
	  	left: 0%;
	}

	.overlaytext h4 {
		font-size: 2rem;
		font-weight: bold;
	}

	.overlaytext h5 {
		font-size: 1.2rem;
		font-weight: normal;
		line-height: 2rem;
	}

}



@media(max-width: 768px) {

	.container {
    	max-width: 100%;
	}

}

@media(min-width: 768px) {

	nav a {
		margin-left: 4rem;
	}

	.navbar .navbar-collapse {
		padding: 0;
	}

	.navbar .navbar-brand {
		display: inline;
	}

	.navbar h1 {
		display: none;
	}
	
	header h1 {
		display: inline-block;
	}

	header h2 {
		margin: 0 0 10px 80px;
	}

	section.adresse div {
		text-align: left;
	}

	footer .impressum p {
		text-align: right;
	}
	
}

@media(min-width: 992px) {

	header {
		background-image: url(../images/header.png);
		background-size: auto 100%;
		height: 200px;
	}
	
	nav a {
		text-decoration: none;
		font-size: 1.2rem;
	}
	
	header h1 {
		font-size: 2.2rem;
		padding: 14px 20px;
		margin: 20px 0 0 0;
	}

	header h2 {
		font-size: 2.1rem;
		padding: 14px 20px;
		margin: 0 0 10px 100px;
	}

	.linien {
		margin-left: 0;
		margin-right: 0;
	}
	
	.linien .links {
		background-color: #0e6ca0;
		height: 10px;
	}

	.linien .rechts {
		background-color: #c3262c;
		height: 10px;
	}

	.training {
		border: 0;
	}

	.blog {
		border: 0;
	}

	section.foerderung img.BMFSFJ {
		max-height: 100px;
	}
	
	footer a, footer a:hover {
		text-decoration: none;
	}
	
}

@media(min-width: 1200px) {

	header {
		background-image: url(../images/header_xl.png);
		background-size: auto 100%;
		height: 220px;
	}

	section.foerderung img.BMFSFJ {
		max-height: 150px;
	}
	
}
