/**
  Font import
**/
/*
@import url("https://fonts.googleapis.com/css?family=Archivo|Lexend+Exa|Montserrat|Questrial|Quicksand|Saira|Varela|Varela+Round&display=swap");
*/

@font-face {
  font-family: OpenSans;
  src: local("font/OpenSans-Light"), url(../font/OpenSans-Light.ttf);
}
@font-face {
  font-family: OpenSans-Bold;
  src: local("font/OpenSans-Bold"), url(../font/OpenSans-Bold.ttf);
}
@font-face {
  font-family: Montserrat;
  src: local("font/Montserrat-Medium"), url(../font/Montserrat-Medium.ttf);
}


body,
html {
  height: 100%;
  width: 100%;
  margin: 0px;
  font-family: "OpenSans", sans-serif;
  font-weight: normal;
  font-size: 20px;
  color: #777;
/*  overflow-x: hidden; */
}

/***
* Head Navigation Definitions
***/

.sticky_nav {
  position: fixed;
  top: 0;
  background: rgba(128, 159, 255, 0.8);
  margin: 0;
  z-index: 10;
  width: 100vw;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  align-content: flex-start;
}

.headline {
  display: grid;
  grid-template-columns: 30% auto 30%;
}

.titleLogo {
  grid-column: 1;
  max-width: 60%;
  min-width: 20%;
  margin-left: 1%;
}

.titleText {
  grid-column: 2;
  text-align: center;
  font-family: "OpenSans-Bold", sans-serif;
  font-size: min(6vw, 40px);
  font-weight: bolder;
  color: rgba(21, 21, 214, 0.8);
}

nav {
  display: block;
  position: relative;
  left: 20px;
  margin-top: -40px;
  z-index: 20;
  -webkit-user-select: none;
  user-select: none;
}


#navBlock a
{
  text-decoration: none;
  color: #1a05d6;
  transition: color 0.3s ease;
}

#navBlock a:hover
{
  color: tomato;
}


#navBlock input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */

#navBlock span
{
  display: block;
  width: 33px;
  height: 2px;
  margin-bottom: 5px;
  position: relative;
  
  background: #1a05d6;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#navBlock span:first-child
{
  transform-origin: 0% 0%;
}

#navBlock span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#navBlock input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-7px, -4px);
  background: #1a05d6;
}

/*
 * But let's hide the middle one.
 */
#navBlock input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#navBlock input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(-0px, -2px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 180px;
  height: 100vh;
  margin: -200px 0 0 -50px;
  padding: 50px;
  padding-top: 225px;
  font-family: Montserrat;
  
  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 1.2rem;
}

/*
 * And let's slide it in from the left
 */
#navBlock input:checked ~ ul
{
  transform: none;
}

.bgimg {
/*  position: relative;*/
  opacity: 0.8;
  background: rgba(128, 159, 255, 0.9);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-size: 100%;
}

.img-2,
.img-3,
.img-4,
.img-5,
.img-6,
.img-7 {
  -webkit-animation: bgiAnim 5s; /* Chrome, Safari, Opera */
  animation: myfirst 5s;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes bgiAnim {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 1;
  }
}

/* Standard syntax */
@keyframes bgiAnim {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 1;
  }
}


.img-1 {
  background-image: url("../img/TSC_Opener_TopS.png");
  min-height: 100%;
}

.img-2 {
  background-image: url("../img/TSC_Contact.jpg");
  min-height: 100%; /*400px;*/
}

.img-3 {
  background-image: url("../img/TSC_UnserVerein.jpg");
  min-height: 400px;
}

.img-4 {
  background-image: url("../img/FormularBgrd2.jpg");
  min-height: 400px;
}

.img-5 {
  background-image: url("../img/TSC_Contact2.jpg");
  min-height: 400px;
}

.img-6 {
  background-image: url("../img/TSC_DatenSchutz_TopS.jpg");
  min-height: 100%;
}

.img-7 {
  background-image: url("../img/TSC_404_TopS.jpg");
  min-height: 100%;
}

.img-8 {
  background-image: url("../img/TSC_Training_S.jpg");
  opacity: 0.8;
  min-height: 600px;
}


.caption {
  position: relative;  /* absolute */
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #000;
}

/*
Design nur für die Error-Page
*/

.caption .border3 {
  width: 80%;
  background-color: rgba(255, 255, 255, 0.5);
  /*padding: 18px;*/
  font-size: 1.5rem;
  letter-spacing: 10px;
  color: rgba(10, 10, 10, 0.863);
  text-align: center;
  margin: auto;
}

.anchor {
  margin-top: 50px;
}

.vspace {
  margin-top: 130px;
}

.bgimg .caption {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #0853e8;
  font-family: "OpenSans-Bold", sans-serif;
  font-size: 2.0rem;
  letter-spacing: 10px;
  background-color: transparent;
}

.border-news {
  position: absolute;
  vertical-align: middle;
  text-align: center;
  margin-top: 25vh;
  margin-left: 5%;
  margin-right: 5%;
  padding: 18px;
  font-size: 5vw;
  letter-spacing: 3px;
  font-family: "OpenSans-Bold";
  font-style: italic;
  font-variant: small-caps;
  background-color: rgba(255, 255, 255, 0.5);
  color: #a10a51;
}


:target {
  display: block;
  position: relative;
  top: -120px;
  visibility: hidden;
}

.text {
  padding-top: 40px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: normal;
  line-height: 1.1em;
  display: block;
  grid-gap: 10px;
 /* word-break: break-all; */
  word-wrap: break-word;
}

.light {
  color: #777;
  background-color: white;
/*  grid-template-columns: repeat(3, minmax(250px, 1fr));*/
  padding-bottom: 80px;
}

.text.light a {
  color:rgb(47, 38, 38);
  font-variant: small-caps;
}

.dark {
  color: #ddd;
  background-color: #282e34;
  padding-bottom: 80px;
}

.text.dark a {
  color:rgb(247, 238, 238);
  font-variant: small-caps;
}


.light h2,
.dark h2 {
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: left;
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.3em;
}

.light  h3,
.dark  h3 {
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.3em;
}

.light > h2 {
  grid-column: span 3;
  color: rgb(35, 30, 30);
}

.dark > h2 {
  grid-column: span 3;
  color: rgb(235, 230, 230);
}

.light > h3 {
  grid-column: span 3;
  color: rgb(35, 30, 30);
}

.dark > h3 {
  grid-column: span 3;
  color: rgb(235, 230, 230);
}

.dark .item,
.light .item {
  padding: 10px;
  border-style: solid;
  border-width: 3px;
  min-height: 10rem;
}

.light .item {
  border-color: rgba(229, 241, 252, 0.65);
}

.dark .item {
  border-color: rgba(44, 50, 55, 0.65);
}

.light .firstCol {
  grid-column: 1;
}

.light .twoCol {
  font-size: 1.0rem;
}

.light .twoCol p {
  font-weight: normal;
}

div .threeCol {
  margin-bottom: 100px;
}

h2 .threeCol {
  margin-bottom: 30px;
}

.dark .threeCol {
  grid-column: span 2;
}

.trainer p {
  font-size: 0.8rem;
  line-height: 1.1rem;
}

.vspace {
  margin-top: 150px;
}

#ourLocation {
  padding: 0px;
  grid-column: 1 ;
  grid-row: 2; 
  min-height: 15rem;
  height: 15rem;
  font-size: 0.8rem;
}

.ol-popup {
  position: absolute;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 80px;
}

.ol-popup:after,
.ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}
	  

.ol-popup:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}

.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
}

.ol-popup-closer:after {
  content: "✖";
}


/*
.light .inline_img {
  object-fit: cover;
  width: 100%;
  max-height: 100%;
}
*/

.slideshow-container {
  grid-column: 1 span -1;
}


.slideshow-container {
  grid-column: span 1;
}

.mySlides {
  display: none;
  padding-left: 0%;
  padding-right: 0%;
}

iframe {
  border-style: solid;
  border-width: 1px;
  border-color: #777;
  width: 95%;
  height: 70vh;
  grid-column: span 3;
  overflow: hidden;
}

.inline_img {
  border-radius: 0.25em;
  margin: 0em auto;
  opacity: 0;
  -webkit-transform: translateY(4em) rotateZ(-5deg);
  transform: translateY(200px);
  -webkit-transition: opacity 0.3s 0.25s ease-out,
    -webkit-transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1);
  transition: opacity 0.3s 0.25s ease-out,
    -webkit-transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1);
  transition: transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1),
    opacity 0.3s 0.25s ease-out;
  transition: transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1),
    opacity 0.3s 0.25s ease-out,
    -webkit-transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1);
  object-fit: cover;
  width: 90%;
  will-change: transform, opacity;
}

.is-visible {
  opacity: 1;
  -webkit-transform: translateY(4em);
  transform: translate(0px);
}


/* Slideshow container */
.slideshow-container {
  position: relative;
  padding-left: 0%;
  padding-right: 0%;
  margin-bottom: 150px;
}

/* Caption text */
.capt {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px auto;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */

.active {
  background-color: #717171;
}

/*
Video styling
*/

.video-block {
  background-color: #ccc;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-between;
  margin: 1em auto;
  padding: 0.5em 1em;
  max-width: 100%;
  grid-column: span 3;
  align-items: center;
  justify-content: center;
}


.video-block>.video-item {
  overflow: hidden;
  margin: 1em auto 2em auto;
  flex: 1 0 auto;
}

.video-block>.video-item>video {
  max-width: 70vw;
  max-height: 40vh;
  padding: 0.5em 1em;
}

.video-block>.video-item>.info {
  color:rgb(35, 30, 30);
  flex: 0 0 auto;
}

.cloud:link, .cloud:visited {
  background-color: rgb(65, 68, 241);
  color: rgb(247, 238, 238);
  border: 2px solid rgb(26, 13, 87);
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.cloud:hover, .cloud:active {
  background-color: rgb(187, 216, 243);
  color: rgb(39, 36, 63);
}


/* Fading animation */
.fade {
  -webkit-animation: flickerAnimation 1s infinite;
  animation: fade 6s infinite;
}

@-webkit-keyframes fade {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fade {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
