@font-face {
  font-family: 'gsans';
  src: url('fonts/gsans-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'gsans';
  src: url('fonts/gsans-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'gsans';
  src: url('fonts/gsans-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/*** DEFAULTS ***/
* {
	margin: 0;
	border: 0;
	padding: 0;
}
img {
  max-width: 100%;
  display: block;
}
.fullimg {
  width: 100vw;
  height: 56vw;
  max-height: 600px;
  object-fit: cover;
}
a {
  text-decoration: none;
  color: black;
}
input, textarea {
  border: none;
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  background-color: rgba(0,0,0,0.05);
  border-radius: 5px;
}
textarea {
  height: 150px;
  resize: none;
}
input:focus, textarea:focus {
  outline: none;
}
/*** DEFAULT CLASSES ***/
.clearfix:after { /* Allen Elternelementen diese Class geben */
  content: "";
  display: table;
  clear: both;
}
.wrapper {
	margin: 0 auto;
  margin-left: 25px;
  margin-right: 25px;
  margin-top: 50px;
  margin-bottom: 50px;
  max-width: 1024px;
}
.submit {
  font-weight: 700;
  width: auto;
  padding: 10px 30px;
  color: white;
  background-color: #00BAED;
  transition: transform 0.5s;
  float: right;
}
.submit:hover {
  transform: scale(1.1);
}
/* swiper */
.swiper-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  max-height: 90vh;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-slide p {
  position: absolute;
  display: inline;
  bottom: 0;
  width: calc(100% - 50px);
  padding: 15px 25px;
  background-color: rgba(0,0,0,0.5);
  color: white;
}
.swiper-button-next { /* eigene Anpassung (swiper.css überschreiben) */
  background-image: url(../images/icons/right-arrow.png);
  background-size: contain;
}
.swiper-button-prev { /* eigene Anpassung (swiper.css überschreiben) */
  background-image: url(../images/icons/left-arrow.png);
  background-size: contain;
}
/*** FONTS ***/
* {
  font-family: 'gsans', Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  font-size: 1em;
}
p {
  font-size: 1em;
  font-weight: 400;
}
h1 { /* Titel Seite */
  font-size: 2em;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  text-transform: uppercase;
}
h2 { /* Titel News */
  font-size: 1.5em;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
}
h3 { /* Überschrift Abschnitt / Thema */
  margin-bottom: 25px;
  font-weight: 500;
  color: rgba(0,0,0,0.4);
  text-transform: uppercase;
}
h4 { /* Überschrift Fliesstext */
  font-weight: 700;
  color: black;
}
.info {
  font-size: 0.7em;
  color: rgba(0,186,237,1);
  margin-bottom: 2px;
}
/*** HEADER + NAV ***/
header {
  position: relative;
	width: 100%;
  height: 130px;
  background-color: #00BAED;
  overflow: hidden;
  box-shadow: 3px 3px 6px rgba(0,0,0,0.15);
}
#logo {
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  height: 2em;
  top: 36%;

}
nav {
  margin-top: 80px;
  white-space: nowrap;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  text-align: center;
}
nav ul {
  display: inline;
}
nav::-webkit-scrollbar {
  display: none;
}
nav ul li {
  display: inline-block;
  padding: 0 13px;
}
nav ul li:first-child {
  margin-left: 12px;
}
nav ul li:last-child {
  margin-right: 12px;
}
nav ul li a {
  line-height: 50px;
  color: white;
  text-decoration: none;
  font-weight: 500;
}
nav ul li a:hover {
  color: #FFFA7E;
  transition: color 0.5s;
}
nav ul li #courentpage {
  color: #FFFA7E;
}
/*** HOME ***/
.home .widgets {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}
.home .widgets>div {
  float: left;
  margin-top: 40px;
  width: 33.33%;
}
.home .widgets>div>label>img {
  margin: 0 auto;
  margin-bottom: 10px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}
.home .widgets>div label>.popup {
  visibility: hidden;
  position: fixed;
  box-sizing: border-box;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 100%;
  z-index: 10;
  background-color: white;
  padding: 25px;
  text-align: left;
  box-shadow: 15px 15px 30px rgba(0,0,0,0);
  transform: translateY(-600px);
  -webkit-transition: transform 0.5s, box-shadow 0.5s;
  transition: transform 0.5s, box-shadow 0.5s;
}
.home .widgets>div .popup iframe {
  width: 100%;
  height: 300px;
  min-height: 60vh;
  margin-top: 25px;
}
.home .widgets>div .popup .arrowup {
  width: 15px;
  height: 15px;
  border: solid black;
  border-width: 0 3px 3px 0;
  display: block;
  margin: 0 auto;
  margin-top: 40px;
  padding: 3px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  cursor: pointer;
  transition: border 0.5s;
}
.home .widgets>div .popup .arrowup:hover {
  border: solid #00BAED;
  border-width: 0 3px 3px 0;
}
/* und so können die Popups eingeblendet (und ausgeblendet) werden */
.home .widgets>div>input {
  display: none;
}
.home .widgets>div>label {
  display: block;
}
.home .widgets>div>input:checked + label>.popup {
  visibility: visible;
  transform: translateY(0);
  box-shadow: 15px 15px 30px rgba(0,0,0,0.2);
  -webkit-transition: transform 0.5s, box-shadow 0.5s;
  transition: transform 0.5s, box-shadow 0.5s;
}
/* ... und damit wird der Hintergrund abgedunkelt */
.home .widgets>div>.blurbg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s;
}
.home .widgets>div>input:checked ~ .blurbg {
  visibility: visible;
  opacity: 1;
  transition: opacity <br>;
}
/* aktuelles... */
.home article {
  margin-bottom: 50px;
}
.home article .square {
  position: relative;
  width: calc(33.33% - 10px);
  height: 0;
  padding-bottom: calc(33.33% - 10px);
  margin-right: 15px;
  margin-top: 15px;
  float: left;
  background-color: grey;
}
.home article .square:nth-child(3n) {
  margin-right: 0;
}
.home article img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.home #chat {
  display: none;
  box-sizing: border-box;
  padding: 15px;
  background-color: #DDDDDD;
  height: 600px;
  color: grey;
}
.home #chat iframe {
  width: 100%;
  height: 100%;
}
/*** TRAINING ***/
.training {
  margin-top: 50px;
}
.training .videocontainer {
	position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
	background-color: grey;
}
.training .videocontainer iframe {
	position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/*** MANNSCHAFTEN ***/
.teams article {
  margin-top: 50px;
}
/*** GESCHICHTE ***/
.geschichte img {
  width: 100%;
}
/*** MEDIEN ***/
.gallery .square {
  position: relative;
  width: calc(33.33% - 10px);
  height: 0;
  padding-bottom: calc(33.33% - 10px);
  margin-right: 15px;
  margin-top: 15px;
  float: left;
  background-color: grey;
}
.gallery .square:nth-child(3n) {
  margin-right: 0;
}
.gallery img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
/*** KONTAKT ***/
.kontakt h1 {
  margin-bottom: 20px;
}
.kontakt .contactpers {
  margin-top: 50px;
  margin-bottom: 40px;
}
.kontakt .contactimg {
  float: left;
  margin-right: 25px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}
.kontakt .contactinfo {
  float: left;
}
.kontakt iframe {
  width: 100%;
  height: 300px;
}

/*** FOOTER ***/
footer {
	width: 100%;
  background-color: #444D53;
  overflow: hidden;
}
footer a {
  text-decoration: underline;
  display: inline-block;
}
footer a:hover {
  color: #00BAED;
}
footer>div.wrapper {
  margin-top: 0;
  margin-bottom: 0;
  padding: 25px 0;
}
footer img {
  display: inline-block;
  height: 1.5em;
  margin-top: 10px;
  margin-right: 25px;
}
.footerend {
  position: relative;
  padding: 15px 0;
  background-color: #34393C;
}
.footerend section {
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
}
.footerend section div {
  position: absolute;
  right: 0;
  top: 0;

}
footer h4 {
  color: white;
}
footer p {
  color: white;
}
footer a {
  color: white;
}
footer a:hover {
  text-decoration: underline;
}
