@media screen and (max-width: 350px) {
  #prod_navigation {
    font-size: 14px; } }

/********************************** Button Style **********************************/
.btn {
  width: 88px;
  position: relative;
  margin: 0 2px;
  padding: 0;
  overflow: hidden;
  border-width: 0;
  outline: none;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  background-color: #e6f3ff;
  color: #004f99;
  transition: background-color 0.3s;
  font-size: 1em;
  cursor: pointer; }

.btn:hover,
.btn:focus {
  background-color: #cce6ff; }

.btn > * {
  position: relative; }

.btn span {
  display: block;
  padding: 9px 14px; }

.btn:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 0;
  padding-top: 0;
  border-radius: 100%;
  background-color: rgba(236, 240, 241, 0.3);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%); }

.btn:active:before {
  width: 120%;
  padding-top: 120%;
  transition: width 0.2s ease-out, padding-top 0.2s ease-out; }

/********************************* End Button Style **********************************/
/************ Material Style *****************/
.material-style {
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }

.material-style:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); }

/********** End Material Style ***************/
* {
  /*border: 1px solid black;*/ }



#wrapper {
  display: flex;
  flex-flow: column;
  min-height: 100vh;
  background-color: var(--main-content); }

.card-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-flow: column;
  justify-content: center;
  margin: 0 auto; 
  
 }

.card {
  display: grid;
  align-content: center;
  align-items: center;
  font-size: calc(15px + 0.3vmax);
  font-family: Calibri;
  background-color: white;
  font-family: emoji;
  text-align: center; }

.card-body {
  font-family: emoji; }

.card-body .card-title {
  display: block;
  padding: 0em 0 0.3em 0;
  font-weight: bold; }

.card-body .card-text {
  display: block;
  padding: 0.3em 0 0.3em 0; }

.card-body .prod_beschreibung {
  line-height: 1.5; }

.card-body .prod_rubrik {
  font-style: italic; }

.untere-links {
  display: flex;
  align-items: baseline;
  justify-content: center; }

.untere-links .mail-to {
  display: inline-block;
  color: blue; }

.vertical {
  grid-template-rows: auto 1fr;
  grid-auto-flow: row; }

.vertical .card-head img {
  max-height: 100%;
  width: auto;
  max-width: 100%; }

.vertical .card-body {
  padding: 0.7em 0.5em 0.6em 0.5em; }

.horizontal {
  grid-template-columns: 48% 52%;
  grid-auto-flow: column; }

.horizontal .card-head {
  display: flex;
  align-items: center;
  max-width: 100%; }

.horizontal .card-head .light_box_class {
  display: flex; }

.horizontal .card-head img {
  max-width: 100%;
  height: auto;
  max-height: 600px; }

.horizontal .card-body {
  display: flex;
  flex-flow: column;
  justify-content: center;
  padding: 0.5em 0.5em 0.5em 0.5em; }

#prod_navigation {
  padding-top: 5vh; }

#prod_navigation form {
  display: flex;
  justify-content: space-between; }

#prod_navigation form button {
  flex: 0 0 auto; }

#footer {
  flex: 0 0 auto; }

@media only screen and (min-width: 350px) {
  .btn {
    width: 100px; }
  .btn span {
    display: block;
    padding: 9px 14px; }
  #wrapper {
    display: flex;
    flex-flow: column;
    min-height: 100vh;
    background-color: var(--main-content); }
  .card-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-flow: column;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 6% 0 5% 0; }
  .card {
    display: grid;
	align-content: center;
	align-items: center;
    font-size: calc(14px + 0.2vmax);
    font-family: Calibri;
    background-color: white;
    font-family: emoji; }
  .card-head .light_box_class {
    display: flex; }
  .card-body {
    font-family: emoji; }
  .card-body .card-title {
    display: block;
    padding: 0em 0 0.3em 0;
    font-weight: bold; }
  .card-body .card-text {
    display: block;
    padding: 0.3em 0 0.3em 0; }
  .card-body .prod_rubrik {
    font-style: italic; }
  .vertical {
    grid-template-rows: auto 1fr;
    grid-auto-flow: row;
	align-content: center;
	align-items: center; }
  .vertical .card-head img {
    max-height: 100%;
    width: auto;
    max-width: 100%; }
  .vertical .card-body {
    padding: 0.7em 0.5em 0.7em 0.5em; }
  .horizontal {
    grid-template-columns: 48% 52%;
    grid-auto-flow: column; }
  .horizontal .card-head {
    display: flex;
    align-items: center;
    max-width: 100%; }
  .horizontal .card-head img {
    max-width: 100%;
    height: auto;
    max-height: 600px; }
  .horizontal .card-body {
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding: 0.5em 0.5em 0.5em 0.5em; }
  #prod_navigation {
    padding-top: 5vh; }
  #prod_navigation form {
    display: flex;
    justify-content: space-around; }
  #prod_navigation form button {
    flex: 0 0 auto; }
  #footer {
    flex: 0 0 auto; } }

@media only screen and (min-width: 480px) {
  .card-wrapper {
    margin: 0 auto;
    padding: 5% 7% 5% 7%;
    max-width: 100%; }
  .card .card-head {
    /* Unhide the lightbox when it's the target */ }
  .card .card-head .light_box_class {
    display: flex; }
  .card .card-head a:hover {
    color: #bbb; }
  .card .card-head .lightbox {
    /* Default to hidden */
    display: none;
    /* Overlay entire screen */
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* A bit of padding around image */
    padding: 1em;
    /* Translucent background */
    background: rgba(0, 0, 0, 0.8); }
  .card .card-head .lightbox:target {
    display: block; }
  .card .card-head .lightbox span {
    /* Full width and height */
    display: block;
    width: 100%;
    height: 100%;
    /* Size and position background image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; }
  #prod_navigation {
    padding-top: 5vh; }
  #prod_navigation form {
    display: flex;
    justify-content: left; }
  #prod_navigation form button {
    flex: 0 0 auto; } }

@media only screen and (min-width: 767px) {
  .card-wrapper {
    width: 80%;
    max-width: 700px;
    margin: auto; 
	background-color: var(--main-content); }
} }

@media only screen and (min-width: 980px) {
  .card-wrapper {
    width: 80%;
    max-width: 700px;
    margin: auto;
	background-color: var(--main-content); }
  .card-wrapper .card-body {
    font-size: 16px; 
	align-self: center;} }

@media only screen and (min-width: 1680px) {
  .card-wrapper {
    width: 80%;
    max-width: 900px;
    margin: auto; 
	background-color: var(--main-content);
	} 
	
	
	.horizontal .card-head img {
  		max-width: 100%;
	  	height: auto;
	   	max-height: 700px; 
	}
} 

@media only screen and (min-width: 4000px) {
	
	
  .card-wrapper {
    width: 80%;
    max-width: 900px;
    margin: auto;
	padding: 0% 0% 0% 0%;  } 
	
	
	.horizontal .card-head img {
  		max-width: 100%;
	  	height: auto;
	   	max-height: 900px; 
	}
} 


