/****************** SETUP ********************/
* {border: 0; margin: 0; padding: 0;
	font-family: 'Raleway', sans-serif;}
	
body {     
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 12px;
	color: #000;
	background: #fff;
	text-align: left;
	max-width: 100%;
	min-width: 320px;
	align-items: center;
	width: 100%;
	width: 100%;
	display: flex;
	box-sizing: border-box;
	/*opacity: 0;*/
}
a {	
	color: #000;
	text-decoration: none; 
}
p {
	width: 100%;
}
nav ul { list-style: none; }

.clr::after { clear: both;height: 40px;content:""; }

h1 			{font-size: 34px;font-weight: normal;text-transform: uppercase;}
h2,h3,h4 	{font-size: 14px;font-weight: normal; }

/****************** BASIC CLASS ********************/
.main-container	{
	max-width: 1700px;
	width: 100%;
	display: flex;
	box-sizing: border-box;
}
.main-container-extended	{
	width: 100%;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}
.container 	{display: flex;box-sizing: border-box;}


.box-half 	{flex-basis: 50%;min-width: 320px;box-sizing: border-box;}
.box-small	{flex-basis: 33.3%;float: left;box-sizing: border-box;}
.box-large	{flex-basis: 66.6%;float: left;box-sizing: border-box;}

.column-two {flex-direction: row;flex-wrap: wrap;justify-content: center;align-items: stretch;padding-top: 40px;}
.column-two .box-image, .column-two .box-news, .column-two .box-attachments {flex-basis: 50%;} 

/****************** HEADER ********************/
	header {
		flex-wrap: wrap;
		align-items: center;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 10;
		background: #fff;
	}
	header p{
		font-size: 18px;
		text-align: center;
		font-weight: bold;
	}
	#logotyp {
		padding: 10px 20px;
		flex-grow: 1;
	}
	#logotyp img {
		height: 40px;
	}
	#menu {
		justify-content: center;
		align-items: stretch;
		flex-wrap: wrap;
		flex-grow: 6;
	}
		#social_links {
			flex-direction: row;
			flex-wrap: nowrap;
			justify-content: flex-end;
			padding: 0 10px;
			order: 1;
			align-items: center;
			flex-grow: 1;
		}
		#social_links a	{
			padding: 20px 10px;
			-webkit-transition: padding 0.2s, height 0.2s; /* Safari */
			transition: padding 0.2s, height 0.2s;
			font-size: 18px;
			font-family: Arial;
			font-weight: normal;
		}
		#social_links a:hover	{
			padding: 18px 8px;
		}
		#social_links a:hover img	{
			height: 34px;
		}
		#social_links img{
			height: 30px;
			-webkit-transition: padding 0.2s, height 0.2s; /* Safari */
			transition: padding 0.2s, height 0.2s;
		}
	
		nav ul{
			flex-direction: row;
			align-items: center;
			height: 100%;
		}
		nav ul li a{
			font-size: 16px;
			padding: 20px 20px;	
			position: relative;
			margin: 0 5px;
		}
		
		nav ul li a::after{
			content:"";
			position: absolute;
			bottom: 0;
			left: 0;
			right: 0;
			height: 3px;
			background: #fff;
			z-index: -1;
			-webkit-transition: bottom 0.5s, background 0.5s; /* Safari */
			transition: bottom 0.5s, background 0.5s;
		}
		
		nav ul li a:hover::after{
			bottom: 5px;
			background: #000;
		}
		
		
	.box-slider {
		flex-direction: column;
		justify-content: center;
		padding: 0 20px;
	}
	
	.box-slider-item {
		max-width: 100%;
	}	
	.box-slider-item img{
		max-width: 100%;
	}
/****************** GALLERY BOX ********************/
	.box-gallery {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: space-between;
		padding: 0 20px;
		width: 100%;
	}
	.box-gallery-item {
		flex-basis: 23%;
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		text-align: center;
		box-sizing: border-box;
		padding: 10px;
		flex-grow: 1;
		max-height: 240px;
		margin-bottom: 20px;
		overflow: hidden;
		min-width: 280px; 
		
	}
		.box-gallery-item a {
			max-width: 300px;
			min-width: 280px; 
		}
		
		.box-gallery-item-img {width: 100%;}
		
		.box-gallery-item-img a img {
			width: 100%;	
		}
		.box-gallery-item-title{padding: 5px 0;font-size: 24px;text-transform: uppercase;}
/****************** OFFER BOX *********************************************************************/
.box-offer {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		position: relative;
		padding: 40px 20px;
}
	.box-offer-item {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		position: relative;
		padding: 40px 20px;
	}
/****************** PAGE BOX ********************/
	.box-subpage {
		flex-direction: column;
		box-sizing: border-box;
		padding: 20px;
		align-items: center;
		box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3); 
	}
	
		.box-subpage-title h1 {text-decoration: underline;}
		.box-subpage-title {
			text-align: center;
			padding: 100px 0 50px;
			font-size: 34px;
		}
		.box-subpage-desc {
			max-width: 1000px;
		}
		.box-subpage-desc p{
			text-align: center;
			line-height: 28px;
			padding: 10px;
			box-sizing: border-box;
			font-size: 14px;
		}
		.box-subpage-image
		{
			justify-content: space-between;
			align-items: stretch;
		}
		.box-subpage-image-item {
			width: 23%;
			overflow: hidden;
			display: flex;
			justify-content: center;
		}
		.box-subpage-item-image {
			min-height: 100%;
		}
/****************** PAGE BOX ********************/
	.box-page {
		flex-direction: column;
		box-sizing: border-box;
		padding: 20px;
		align-items: center;
		box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3); 
	}
		.box-page-title {
			text-align: center;
		}
		.box-page-desc {
			max-width: 1000px;
		}
		.box-page-desc p{
			text-align: center;
			line-height: 28px;
			padding: 10px;
			box-sizing: border-box;
			font-size: 14px;
		}
/****************** PAGE MAP********************/
	.box-map {
		flex-direction: column;
		box-sizing: border-box;
		padding: 50px 10px 10px;
		align-items: center;
		overflow: hidden;
	}	
	.box-map-desc iframe{
		max-width: 100vw !important;
		width: 100vw !important;
		height: 300px !important;
	}
/****************** ATTACHMENTS BOX ********************/
	.box-attachments {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		padding: 20px 0;
	}
		.box-attachments-item {
			min-width: 150px;
			text-align: center;
		}


/****************** BUTTON BOX ********************/
	.box-button {
		text-align: center;
		padding: 10px 0;
	}
		.box-button a{
			max-width: 200px;
			box-sizing: border-box;
			padding: 10px 20px;
			background: #000;
			color: #fff;
		}
		
/****************** NEWS BOX ********************/
	.box-news {
		flex-direction: column;
		order: 1;
		padding: 10px;
				flex-grow: 1;
	}
		.box-news-title {
			text-align: center;
			font-size: 24px;
			font-weight: bold;padding: 10px 0;
		}
			.box-news-item-title h3 {
				font-size: 18px;
				font-weight: bold;
				padding-bottom: 10px;
			}
			.box-news-item-desc {
				font-size: 14px;
				padding-bottom: 10px;
				text-align: justify;
				line-height: 24px;
			}
		.box-news-item .box-button a{
			padding: 5px 20px;
		}
		
		.box-news-item {
			position: relative;
			box-sizing: border-box;
			padding: 10px;
		}		
		.box-news-item::after {
			content:"";
			position: absolute;
			top: 0;
			bottom: 0;
			right: 0;
			width: 0;
			background: #cecece;
			z-index: -1;
			-webkit-transition: width 0.5s, background 0.5s; /* Safari */
			transition: width 0.5s, background 0.5s;		
		}
		.box-news-item:hover::after {
			width: 100%;
			background: #a0a0a0;			
		}
		
/****************** IMAGE BOX ********************/
	.box-image {
		background: #cecece;
		align-items: center;
		justify-content: center;
		padding: 10px 0;
				flex-grow: 1;
	}
	
/****************** ICON BOX ********************/
	.box-icons {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		position: relative;
		padding: 40px 20px;
	}
	
		.box-icons-item {
			flex-basis: 28%;
			flex-direction: column;
			flex-wrap: nowrap;
			align-items: center;
			max-width: 400px;
			padding: 20px;
			box-sizing: border-box;
			border: 1px #cecece solid;
			box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); 
		}
			.box-icons-item-image {
				flex-basis: 100%;
				width: 100%;
				justify-content: center;
				display: flex;
			}
			.box-icons-item-title {
				flex-basis: 100%;
				padding: 20px 0 0px;
				line-height: 28px;
				font-size: 20px;
				height: 30px;
				text-align: center;
			}
			.box-icons-item-desc {
				flex-basis: 100%;
				padding: 20px 0 25px;
				line-height: 28px;
				font-size: 14px;
				text-align: center;
				
			}
			.box-icons-item-more {
				padding: 10px 20px;
				border: 2px #000 solid;
				font-weight: bold;
				line-height: 12px;
				font-size: 12px;
				border-radius: 5px;
			}

footer {background: #000;padding: 40px 0 60px;}
footer p{text-align: center;color: #fff;font-size: 14px;line-height: 24px;}
footer p a {text-align: center;color: #fff;font-size: 14px;line-height: 24px;}



	@media all and (max-width:1340px) { 
	
	}
	
	@media all and (max-width:1000px) { 

	}
	
	@media all and (max-width:920px) { 
		#logotyp {width: 100%;text-align: center;box-sizing: border-box;}
		#menu {justify-content: flex-start;}
		header {position: static;}
		.box-subpage-title {padding: 0 0 20px;}
	}
	
	@media all and (max-width:799px) { 
		.box-slider {display: none;}
	}
	@media all and (max-width:660px) { 
		.box-icons {flex-direction: column;}
		.box-icons-item {max-width: 100%;}
	}
	@media all and (max-width:560px) { 
		header {flex-direction: column;}
	}
	@media all and (max-width:480px) { 
		nav ul{flex-direction: column;}
		nav ul li {padding: 10px 0 5px;}
		nav ul li a::after{bottom: 10px;}		
		nav ul li a:hover::after{bottom: 10px;}
	}
