.arrows a {
	width: 50px;
	height: 50px;
	background-color: #b8b8b8;
	color: #d7d7d7;
	font-size: 24px;
	padding: 10px;
	padding-top: 1px;
	padding-bottom: 1px;
	border-radius: 3px;
	position: relative;
	top: -3px;
	font-family: "PTSansRegular", sans-serif;
	margin-left: 9px;
	margin-right: 9px;
}
.arrows a:link {
	text-decoration: none;
}
.arrows a:hover {
	box-shadow: 0 0 3px #ccc;
}	
#licenz .gallery {
	margin: 0 auto;
}
#licenz .gallery {
	overflow-x: hidden;
	width: 100%;
}
#licenz .gallery li {
	vertical-align: top;
	margin-left: 16px;
	margin-right: 16px;	
}
#licenz .gallery li div {
	text-align: center;
	background-color: white;
	box-shadow: 0 0 3px #ccc;	
	padding: 30px;
	height: 330px;		
	margin: 1px;
}
#licenz .gallery img {
	width: 240px;
	height: 330px;
	cursor: pointer;
}
#licenz .gallery span {
	vertical-align: top;
	padding-top: 45px;
	display: block;
	width: 240px;	
	text-align: left;
	position: relative;
	top: -110px;
	min-height: 165px;
	color: #3e495e;
	font-family: "PTSansRegular", sans-serif;
	background: rgba(255,255,255,1);
	background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 56%, rgba(255,255,255,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1 );
	margin-left: auto;
	margin-right: auto;
}
#licenz .gallery ul {
	width: 9999px;
	margin: 0;
	padding: 0;
	list-style: none;
	margin-left: 60px;	
}
#licenz .gallery li {
	display: inline-block;
}
#licenz h1 {
	padding: 25px;
	margin-bottom: 10px;
}
#licenz .arrows {
	text-align: center;
	margin-top: 35px;
}

@media only screen and (max-width: 479px){
	#licenz .gallery {

	}
	#licenz .gallery li {
		width: 100vw;
		position: relative;
		left: 0vw;		
		margin-left: 0;
		margin-right: 0;
	}
}

#myModal #myImg {
	border-radius: 5px;
	cursor: pointer;
	transition: 0.3s;
}

#myModal #myImg:hover {opacity: 0.7;}

#myModal.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: hidden; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

#myModal .modal-content {
	margin: auto;
	display: block;
	max-width: 80%;
	max-height: 80%;
}

#myModal #caption {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #ccc;
	padding: 10px 0;
	height: 150px;
}

#myModal .modal-content, #caption {    
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
	from {-webkit-transform:scale(0)} 
	to {-webkit-transform:scale(1)}
}

@keyframes zoom {
	from {transform:scale(0)} 
	to {transform:scale(1)}
}

#myModal .close,
#myModal .prev, 
#myModal .next {
	color: #f1f1f1;
	font-weight: bold;
	transition: 0.3s;
	z-index: 10000;
	color: white;
	position: absolute;
	font-size: 400%;	
}

#myModal .close {	
	top: 85px;
	right: 35px;
}

#myModal .prev:hover, 
#myModal .next:hover,
#myModal .prev:focus, 
#myModal .next:focus,
#myModal .close:hover,
#myModal .close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

#myModal .prev, 
#myModal .next {
	top: 48%;
}

#myModal .prev {
	left: 10px;
}

#myModal .next {
	right: 10px;
}

@media only screen and (max-width: 1199px){
	#myModal .modal-content {
		margin-top: 50px;
	}		
	#myModal .close { 
		margin-top: 50px;
	}
}

@media only screen and (max-width: 767px){
	#myModal .modal-content {
		margin-top: 50px;
		width: 100%;
	}
	#myModal .close { 
		margin-top: 0px;
	}	
	#myModal .prev, 
	#myModal .next {
		font-size: 280%;
		top: 38%;
	}	
	
	#myModal .prev {
		left: 5px;
	}

	#myModal .next {
		right: 5px;
	}	
}

#otzyv .gallery {
	margin: 0 auto;
}
#otzyv .gallery {
	overflow-x: hidden;
	width: 100%;
}
#otzyv .gallery li {
	vertical-align: top;
	margin-left: 16px;
	margin-right: 16px;	
}
#otzyv .gallery li > div {
	text-align: center;
	background-color: white;
	box-shadow: 0 0 3px #ccc;	
	padding: 20px;
	margin: 1px;
	width: 25vw;
	text-align: left;
	height: 490px;
}

#otzyv .gallery .grad {
	height: 490px;
	position: absolute;
	width: 6vw;
	background: rgba(241,244,249,1);
	top: 0;
}

#otzyv .gallery .left-grad {
	background: linear-gradient(to right, rgba(241,244,249,1) 0%, rgba(241,244,249,1) 16%, rgba(241,244,249,0) 100%);
}

#otzyv .gallery .right-grad {
	right: 0;
	background: linear-gradient(to left, rgba(241,244,249,1) 0%, rgba(241,244,249,1) 16%, rgba(241,244,249,0) 100%);
}

#otzyv .wrapper {
	clear: both;
    width: 100%;	
}

#otzyv .gallery {
	position: relative;
}

#otzyv .gallery p,
#otzyv .gallery span {
	position: relative;
    /*width: 1000px;*/
	left: -15px;
}

#otzyv .gallery li > div div {
	color: #3e495e !important;
	font-family: "PTSansRegular", sans-serif;
  padding-left: 15px;
}

#otzyv .gallery li > div > div > div {
    width: 63%;
    float: right;
}

#otzyv .gallery .text {
	margin-top: 15px;
}

#otzyv .gallery span {
	font-weight: bold;
	display: block;
	margin-bottom: 15px;
}

#otzyv .gallery p {
    font-style: italic;
    color: #888;
    font-size: 16px;
    line-height: 24px;	
}

#otzyv .gallery img {
	float: left;
   /* margin-right: 20px;	*/
	max-width: 30%;
	position: relative;
	top: 8px;
}
#otzyv .gallery ul {
	awidth: 999999px;
	margin: 0;
	padding: 0;
	list-style: none;
	amargin-left: -164px;	
}
#otzyv .gallery li {
	display: inline-block;
}
#otzyv h1 {
	padding: 25px;
	margin-bottom: 10px;
}
#otzyv .arrows {
	text-align: center;
	margin-top: 35px;
}
#otzyv {
	background-color: transparent;
}

@media only screen and (max-width: 1420px){
	#otzyv .gallery li > div {
		width: 33.33vw;
		height: 440px;
	}

	#otzyv .gallery ul {
		amargin-left: -193px;	
	}
}

@media only screen and (max-width: 990px){
	#otzyv .gallery li > div {
		width: 40vw;
		height: 400px;
	}

	#otzyv .gallery ul {
		amargin-left: 10px;
	}
}

@media only screen and (max-width: 835px){
	#otzyv .gallery .grad {
		display: none;
	}
	#otzyv .gallery ul {
		amargin-left: 0px;
	}	
	#otzyv .gallery .text {
		width: 95vw;
		position: relative;
		left: -5px;
	}
	#otzyv .gallery li {
		/*width: 100vw;*/
		margin-left: 0;
		margin-right: 0;		
	}
	#otzyv .gallery li > div {
		width: 100vw;
		aposition: relative;
		aleft: 36vw;		
		margin-left: 0;
		margin-right: 0;
		height: 300px;		
	}
	#otzyv .gallery img {
		max-width: 25%;
	}
	
	#otzyv .gallery p, 
	#otzyv .gallery span {
		left: -30px;
		font-size: 85% !important;
		line-height: 22px;
	}
}

@media only screen and (max-width: 620px){
	#otzyv .gallery li > div {	
		height: 500px;		
	}
}