/*
** --- Startpage Template Styles. K-Meimbresse 2017 ---
*/

@import url('https://fonts.googleapis.com/css?family=PT+Sans');

*
{
	margin: 0;
	padding: 0;
}

html
{
	min-height: 100%;
}

body {
	font-size: 13px;
	color: #777;
	background: #e7e5e6;
	font-family: 'PT Sans', sans-serif;
	min-height: 100%;
} 

a
{
	text-decoration: none;
	color: #333;
	transition: color 0.5s;
	-webkit-transition: color 0.5s;
	-moz-transition: color 0.5s;
}

#site_wrapper
{
	min-height: 100%;
}

/*
** --- HEAD ---
*/

#header_wrapper
{
	background: #fff;
}

#header_top
{
    width: 100%;
    background: #000;
    padding: 5px 0;
}

.top_header_container
{
	max-width: 1000px;
    padding: 0 20px;
    margin: 0 auto;
}

.top_header_container .top_header_item
{
	color: #e2001a;
	margin-right: 20px;
	display: inline-block;
}

.top_header_container .top_header_item a
{
	color: #e2001a;
	text-decoration: none;
}

.top_header_container .top_header_item a:hover
{
	color: #fff;
}

#header_main_wrapper
{
    box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.5);
	-o-box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.5);
	position: relative;
}

#header_main 
{
    padding: 5px;
	position: relative;
	overflow: hidden;
	display: flex;
	max-width: 1000px;
    margin: 0 auto;
}

#logo_container
{
	margin-right: 20px;
}

#menu_container
{
	width: 100%;
	position: relative;
	overflow: hidden;
}

#menu_container .moduletable_menu {
	position: initial;
}

#menu_container .menu
{
	position: absolute;
    bottom: 0;
	list-style-type: none;
}

#menu_container .menu li
{
	list-style-type: none;
	display: inline-block;
	margin-right: 1px;
}

#menu_container .menu li a
{
	text-decoration: none;
	display: inline-block;
    color: #000;
	padding: 15px;
	border-bottom: 4px solid #fff;
    font-weight: bold;
	transition: color 0.5s, border 0.5s;
	-webkit-transition: color 0.5s, border 0.5s;
	-moz-transition: color 0.5s, border 0.5s;
}

#menu_container .menu li.active a, #menu_container .menu li:hover a
{
	color: #e2001a;
	border-bottom: 4px solid #e2001a;
}


/*
** --- CONTENT ---
*/
#content_wrapper
{
	padding-top: 20px;
}

#content_wrapper a
{
	color: #e2001a;
}

#pre_content
{
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5px;
}

#content_main {
	margin: 0 auto;
	display: flex;
	max-width: 1400px;
}

#content_left
{
	width: 100%;
}

.action_wrapper {
	display: flex;
	flex-wrap: nowrap;
	padding: 20px 20px 80px 20px;
	margin: 0 auto;
	justify-content: left;
}

.action_items_container {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	bottom: 240px;
}

.action_item 
{
    margin: 20px;
	box-shadow: 0 0 6px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 0 6px 0px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 0 6px 0px rgba(0, 0, 0, 0.5);
}

.action_item a 
{
    padding: 20px;
    display: block;
    width: 220px;
    text-align: center;
  	text-transform: uppercase;
 	letter-spacing: 0.1em;
    background: #e2001a;
    color: #fff !important;
	font-weight: bold;
	border-bottom: 4px solid #fff;
	transition: background 0.5s, color 0.5s, border 0.5s;
	-webkit-transition: background 0.5s, color 0.5s, border 0.5s;
	-moz-transition: background 0.5s, color 0.5s, border 0.5s;
}

.action_item a:hover
{
    background: #333;
    color: #fff !important;
	border-bottom: 4px solid #e84659;
}

.partner_wrapper
{
	position: relative;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.partner_wrapper img
{
	height: 30px;
	margin: 5px 10px;
}

.startpage-contact-wrapper {
	border: 1px solid #aaa;
	padding: 10px;
	margin-top: 20px;
	display: inline-block;
	margin-left: 20px;
}

.startpage-left {
	max-width: 50%;
	min-width: 500px;
}

.startpage-right {
	flex-grow: 1;
	background-image: url(../images/background001.jpg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top left;
	margin-top: 10px;
}

/*
** --- FOOTER ---
*/
#footer_wrapper {
	bottom: 0;
	width: 100%;
	z-index: 1;
}

#footer_container {
	padding: 20px 0 40px 0;
	width: 100%;
	background: #000;
	font-size: 1.2em;
}

#footer_container .menu
{
	list-style-type: none;
	margin: 0 auto;
    text-align: center;
	padding: 0 0 0 0;
}

#footer_container .menu li
{
	list-style-type: none;
	display: inline-block;
	padding: 0 5px;
    border-right: 1px solid #777;
}

#footer_container .menu li:last-child
{
    border-right: none;
}

#footer_container .menu li a
{
	text-decoration: none;
	display: inline-block;
    color: #e2001a;
	padding: 1px 5px;;
	transition: color 0.5s;
	-webkit-transition: color 0.5s;
	-moz-transition: color 0.5s;
}

#footer_container .menu li.active a, #footer_container .menu li:hover a
{
	color: #fff;
}

/*
** --- Mobile Menu ---
*/
#mobile_menu_container
{
  	display: none;
	position: absolute;
	z-index: 3;
	height: 30px;
	width: 100%;
	left: 0;
	bottom: -30px;
	background: #fff;
}

#mobile_menu_button
{
    background: url(../../../images/menu_wrap.png) no-repeat center center;
	background-size: cover;
    height: 22px;
	width: 22px;
	margin: 4px auto;
	-webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}

#mobile_menu_container ul
{
	list-style-type: none;
	position: absolute;
	display: none;
    background: #fff;
	width: 100%;
	z-index: 3;
}

#mobile_menu_container ul li
{

}

#mobile_menu_container:hover #mobile_menu_button
{
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}

#mobile_menu_container:hover ul
{
	display: block;
}

#mobile_menu_container ul li a
{
	display: block;
	padding: 15px 10px;
	color: #999;
	transition: color 0.5s, background 0.5s;
	-moz-transition: color 0.5s, background 0.5s;
	-o-transition: color 0.5s, background 0.5s;
	-webkit-transition: color 0.5s, background 0.5s;
}

#mobile_menu_container ul li a:hover
{
	color: #fff;
	background: #e2001a;
}

/*
** --- RESPONSIVE ---
*/
.mobile_item
{
	display: none;
}

@media (max-height: 600px) {
	
	.action_items_container
	{
		position: static;
		margin-bottom: 160px;
	}	
}

@media (max-width: 1280px) {
    .action_item {
        margin: 15px;
    }
  
  	.action_item a {
        padding: 20px 10px;
        width: 200px;
        font-size: 0.9em;
    }
}

@media (max-width: 1000px) {
	#logo_container img 
	{
		width: 140px;
		padding: 10px;
	}
}

@media (max-width: 900px) {
    #content_wrapper {
        background-image: url(../images/background003.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
      	background-attachment: fixed;
    }
  
	.startpage-left {
        max-width: 100%;
    }
  
    .startpage-right {
        background-image: none;
        margin-top: 0;
    }
  
    .startpage-contact-wrapper {
        border: none;
        background: #e7e5e6;
    }
}

@media (max-width: 800px) {
	#logo_container
	{
		margin: 0 auto;
	}
	
	#logo_container img 
	{
		width: 140px;
		padding: 10px;
	}
	
	#mobile_menu_container
	{
		display: block;
	}

	#menu_container
	{
		display: none;
	}
	
	.partner_wrapper img 
	{
		height: 20px;
	}
	
	.action_item a {
        padding: 15px 10px;
        font-size: 1em;
        width: 180px;
    }
}

@media (max-width: 600px) {
	
	.action_items_container
	{
		position: static;
		margin-bottom: 40px;
		display: block;
	}	
  
  	.startpage-left {
        text-align: center;
      	min-width: 0;
    }
  
    .startpage-contact-wrapper {
        margin: 0;
    }
  
    .action_wrapper {
        display: block;
    }
  
    .action_item {
        display: inline-block;
    }
}

@media (max-width: 400px) {
	
	#logo_container img 
	{
		width: 140px;
		padding: 5px;
	}
	
	#bottom_container
	{
		display: none;
	}
	
	#content_wrapper 
	{
		padding-bottom: 0px;
	}
	
	#content_main 
	{
		min-height: 0px;
	}
	
	.action_items_container
	{
		margin-bottom: 40px;
	}
	
	.top_header_container .top_header_item
	{
		font-size: 0.6em;
	}
}

/* 
** Fading animation 
*/
#mobile_menu_container .menu
{
	-webkit-animation-name: fade2;
	-webkit-animation-duration: 1.0s;
	animation-name: fade2;
	animation-duration: 1.0s;
}

.fade {
	-webkit-animation-name: fade;
	-webkit-animation-duration: 1.5s;
	animation-name: fade;
	animation-duration: 1.5s;
}

@-webkit-keyframes fade {
	from {opacity: .4} 
	to {opacity: 1}
}

@keyframes fade {
	from {opacity: .4} 
	to {opacity: 1}
}

@-webkit-keyframes fade2 {
	from {opacity: .2} 
	to {opacity: 1}
}

@keyframes fad2e {
	from {opacity: .2} 
	to {opacity: 1}
}




