/**
* VVM Templates
*
* Overwrite megamenu - layout "vvm"
*
* @copyright       Copyright 2016, Verkehrsunternehmens-Verbund Mainfranken GmbH - VVM
* @license         CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
*                  YAML-CDL (http://www.yaml.de/license.html)
* @link            http://www.vvm-info.de/
*/


body {
	background: none;
}
.megamenu_container {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	-ms-box-sizing: inherit;
	box-sizing: inherit;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}
.page_wrapper, 
.page_wrapper_vertical, 
.megamenu, 
.megamenu #megamenu_form label, 
.megamenu #megamenu_form textarea {
	font-family: MetaWeb-Normal, sans-serif;
	font-size: 1em;
	line-height: 1.5;
}
.megamenu li .dropdown_container,
.megamenu li .dropdown_fullwidth,
.megamenu li .dropdown_multilevel {
	margin: 8px 1px 0 1px;
	padding: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	height: 226px;
	overflow: hidden;
}
.megamenu li .dropdown_container.dropdown_right {
	margin: 0 15px 0 0;
}
.megamenu li .dropdown_fullwidth .content-wrapper {
	padding: 20px 20px 20px 240px;
}
.megamenu_light .megamenu li .dropdown_container,
.megamenu_light .megamenu li .dropdown_fullwidth,
.megamenu_light .megamenu li .dropdown_flyout li ul {
	border: none;
	background: rgba(242,242,242,0.9);
	color: inherit;
}
.megamenu {
	padding-top: 1em;
	position: absolute;
	top: 0;
	width: 100%;
}
.megamenu > li {
	padding: 1em 1.1em;
}
.megamenu > li > a {
	font-size: 1.076923077em;
	line-height: 1.3em;
	letter-spacing: 0.02em;
	padding: 0 0 2px 0;
	padding: 0;
	border-bottom: 3px solid rgba(0,0,0,0);
	-webkit-transition: border-color 0.5s ease;
	-moz-transition: border-color 0.5s ease;
	-o-transition: border-color 0.5s ease;
	-ms-transition: border-color 0.5s ease;
	transition: border-color 0.5s ease;
}
.megamenu li.megamenu_right a {
	margin-right: 1px;
}

/* Light bar */
.megamenu_light_bar .megamenu > li:hover > a, 
.megamenu_light_bar .megamenu > li.active > a {
	border-color: rgba(34,136,165,1);
}
.megamenu_light_bar .megamenu > li:hover > a.search {
/*
	border-color: rgba(34,136,165,0);
*/
}
.megamenu_light_bar .megamenu > li > a, 
.megamenu_light_bar .megamenu > li:hover > a {
	color: rgb(102,102,102);
	text-shadow: none;
}
.megamenu_light_bar .megamenu > li:hover, 
.megamenu_light_bar .megamenu > li.active {
	background: none;
}

/* Dark bar */
.megamenu_dark_bar .megamenu > li:hover > a, 
.megamenu_dark_bar .megamenu > li.active > a {
	border-color: rgba(255,255,255,1);
}
.megamenu_dark_bar .megamenu > li:hover > a.search {
/*
	border-color: rgba(255,255,255,0);
*/
}
.megamenu_dark_bar .megamenu > li > a, 
.megamenu_dark_bar .megamenu > li:hover > a {
	color: rgb(255,255,255);
	text-shadow: none;
}
.megamenu_dark_bar .megamenu > li:hover, 
.megamenu_dark_bar .megamenu > li.active {
	background: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}


/* Content */
.megamenu h2 {
	font-size: 1.461538462em;
	color: rgb(0,0,0);
	text-shadow: none;
	padding-bottom: 0.307692308em;
}
.megamenu_light .megamenu p, 
.megamenu_light .megamenu h1, 
.megamenu_light .megamenu h2, 
.megamenu_light .megamenu h3, 
.megamenu_light .megamenu h4, 
.megamenu_light .megamenu h5, 
.megamenu_light .megamenu h6 {
	color: rgb(0,0,0);
	text-shadow: none;
}
.megamenu h1, .megamenu h2, .megamenu h3, .megamenu h4, .megamenu h5, .megamenu h6 {
	font-weight: 400;
	margin: 0;	
}
.megamenu_light .megamenu > li > div a,
.megamenu_light .megamenu li ul li, 
.megamenu_light .megamenu li ol li {
	color: rgb(0,0,0);
	line-height: 3.076923077em;
}
.megamenu li ul li, .megamenu li ol li {
	font-size: 12px;
	line-height: 21px;
	position: relative;
	padding: 0;
	margin: 0;
	float: left;
	text-align: left;
}
.megamenu_light .megamenu p {
	font-size: 1.076923077em;
	line-height: 1.4;
	color: rgb(102,102,102);
}
.megamenu li ul, .megamenu li ol {
	padding: 0;
	margin: 0;
}
.megamenu li ul li, .megamenu li ol li {
	font-size: 1.076923077em;
	line-height: 1.4;
	list-style: none;
}
.megamenu_light .megamenu > li > div a.arrow {
	line-height: 1.25;
	margin: 0 0 15px 0;
}

/* Menue Item Formatierung */

.nav_items_1col ul li {
	display: block;
	width: 100%;
	float: left;
}

.nav_items_2col ul li {
	display: block;
	width: 50%;
	float: left;
}
.nav_items_2col .ym-gl .ym-gbox {
	padding: 0 19px;
}
.nav_items_2col .ym-gr h2 {
	padding-bottom: 0.538461538em;
}
.nav_items_3col ul {
	margin-top: -20px;
}
.nav_items_3col ul li {
	display: block;
	width: 33%;
	float: left;
}

/* 2016-07-23 Patch for touch devices */
.hover .dropdown_fullwidth {
	display:block !important;
}

