@font-face {
    font-family: 'HsvSansLight';
    src: url('../font/HsvSans-Light.eot'); /* IE9 Compat Modes */
    src: url('../font/HsvSans-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../font/HsvSans-Light.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../font/HsvSans-Light.svg#HsvSans-Light') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'HsvSlabExtrabold';
  src: url('../font/HsvSlab-Extrabold.eot'); /* IE9 Compat Modes */
  src: url('../font/HsvSlab-Extrabold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../font/HsvSlab-Extrabold.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../font/HsvSlab-Extrabold.svg#HsvSlab-Extrabold') format('svg'); /* Legacy iOS */
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'HsvSlabLight';
  src: url('../font/HsvSlab-Medium.eot'); /* IE9 Compat Modes */
  src: url('../font/HsvSlab-Medium.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../font/HsvSlab-Medium.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../font/HsvSlab-Medium.svg#HsvSlab-Medium') format('svg'); /* Legacy iOS */
  font-style: normal;
  font-weight: bold;
  text-rendering: optimizeLegibility;
}


.headline {
  font-family: HsvSlabLight, Georgia;
  text-transform: uppercase;
}

H2 {
  font-family: HsvSlabExtrabold, Georgia;
  text-transform: uppercase;
}

body {
  font-family: HsvSansLight, sans-serif, Helvetica, Arial;
  font-weight: 200;
  max-width: 750px;
  margin:auto;
  background-color: #005aa9; 
  /* background-image: url(../images/hintergrund_design.jpg);
  background-position: center;
  background-repeat: repeat; */
}

.btn {
  font-family: HsvSlabLight, Georgia;
}

a {
  color: #005aaa;
}

.infotext {
  font-size: 0.7em;
  margin-top:5%;
}
.header {
  background-image: url(../images/header.png);
  background-size: cover;
  background-repeat: no-repeat;
  height: 50px;
  background-position-y: bottom;
  background-position-x:center;
  margin-bottom: 2%;
}

.header_image {
  margin-top: 1%;
  width: 52px;
}

.card_wrapper {
  margin-top: 2%;
  margin-bottom: 2%;
  margin-left: auto;
  margin-right:auto;
  width: 97%;
  border-radius: 0px;
  overflow: hidden;
  /* -webkit-box-shadow: 7px 7px 20px -1px rgba(0,0,0,0.5); 
  box-shadow: 7px 7px 20px -1px rgba(0,0,0,0.5); */
  background-color: #afabab;
  
}

.buttons_wrapper {
  margin: auto;
  width: 100%;
}

.template_container {
  background-color: white;
  margin: auto;
  margin-bottom: 5%;
  width: 90%;
}

.templates_wrapper {
  width: 100%;
}

#stage-parent {  
  width: 100%;
}

.spinner_load {
  display: none;
  text-align: center;
  width:100%;
}

.spinner_img {
  width: 50%;
}

.btn-hsv {
  background-color: #005aaa;
  border-radius: 0px;
  color:white;
  font-size: 0.8em;
}
.btn-hsv:hover {
  color: #b7c5e2;
}


.btn-hsv-light {
  background-color: #003264;
  border-radius: 0px;
  color:white;
  font-size: 0.8em;
}
.btn-hsv-light:hover {
  color: #b7c5e2;
}

.btn-hsv-sekundär {
  background-color: #ed1c24;
  border-radius: 0px;
  color:white;
  font-size: 0.8em;
}
.btn-hsv-sekundär:hover {
  color: #b7c5e2;
}


.form-switch .form-check-input {
  width: 2.5em;
  height: 1.5em;

}

.form-check-input:checked {
  background-color: #9ccd0a;
  border-color: #9ccd0a;
}

.template_row {
padding: 0px;
}

.template_image {
  outline: 6px solid white;
}

.headline_block {
  background-color: white;
  padding: 2%;
}


.konvajs-content {
margin:auto;

}

.download_info_wrapper {
  margin-top: -1em;
  margin-bottom: 0.5em;
  display: flex;
  padding-bottom:10px;
  justify-content: center;
  white-space: nowrap;
  width: 100%;
  z-index: 5;
  opacity: 0;  
}

.download_info_button {
  font-size: inherit;
  color: black;
  width: auto;
  text-align: center;
  padding: 8px;
  line-height: 14px;
  position: relative;
  border-radius: 6px;
  opacity: 1;
  transition: opacity 0.3s ease-in-out 0s;
  top: 0px;
  border: 0px solid rgb(255, 255, 255);
  -webkit-box-shadow: 7px 7px 20px -1px rgba(0,0,0,0.7); 
  box-shadow: 7px 7px 20px -1px rgba(0,0,0,0.7);
  background-color: rgb(255, 255, 255);
}

.download_info_pointer {
  content: " ";
    position: absolute;
    bottom: 100%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent rgb(255, 255, 255);
    left: 50%;
}


.btn_animate {
  animation-duration: 1s;
  animation-name: slidein;
}

@keyframes slidein {
  from {
    padding-top: 10px;
    padding-bottom: 0px;
    opacity: 0;
  }

  to {
    padding-top: 0px;
    padding-bottom: 10px;
    opacity: 1;
  }
}



.accordion-button:not(.collapsed) {
    color: #000000;
    background-color: #f1f1f1;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}


/* Orientation Lock */
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}



/* Desktop View */
@media (min-width: 800px) {
  body {
    max-width: 100%;
  }
.header {
  background-size: inherit;
  background-repeat: no-repeat;
  height: 90px;
}
}