/* Menu box
===================*/

ul.sm {
	position: relative;
	z-index: 4;
}

ul.sm li {
	/*width: 20%;*/
	text-align: center;
	margin-right: 0.7%;
}

#kurheim ul.sm li {
	/*width: 25%;*/
}

ul.sm li ul li {
	width: 100%;
	text-align: left;
}

#kurheim ul.sm li ul li,
#fehmarn ul.sm li ul li{
	width: 100%;
}

.sm-menu {
	background:#F8C410;
}

#kurheim .sm-menu,
#fehmarn .sm-menu{
	background:#083081;
}

.sm-menu ul {
	padding: 0;
	background:#F8C410;
}

#kurheim .sm-menu ul,
#fehmarn .sm-menu ul{
	padding: 0;
	background:#083081;
}


/* Menu items
===================*/

.sm-menu a {
	padding:10px 8px;
	color: #6B560F;
	font-size:16px;
	font-weight:bold;
	text-decoration:none;
	font-style: italic;
}
.sm-menu LI:nth-last-of-type(2) A,
.sm-menu LI:nth-last-of-type(1) A {
	color: #9e8635;
	}
.sm-menu UL LI:nth-last-of-type(2) A,
.sm-menu UL LI:nth-last-of-type(1) A {
	color: #6B560F;
	}
#kurheim .sm-menu LI:nth-last-of-type(2) A,
#kurheim .sm-menu LI:nth-last-of-type(1) A,
#fehmarn .sm-menu LI:nth-last-of-type(2) A,
#fehmarn .sm-menu LI:nth-last-of-type(1) A {
	color: #cececd;
	}
#kurheim .sm-menu UL LI:nth-last-of-type(2) A,
#kurheim .sm-menu UL LI:nth-last-of-type(1) A,
#fehmarn .sm-menu UL LI:nth-last-of-type(2) A,
#fehmarn .sm-menu UL LI:nth-last-of-type(1) A {
	color: #fff;
	}

#kurheim .sm-menu a,
#fehmarn .sm-menu a {
	color: #fff;
}

.sm-menu a:hover, .sm-menu a:focus, .sm-menu a:active,
.sm-menu a.highlighted {
	background:#daaa0a;
}

#kurheim .sm-menu a:hover,
#kurheim .sm-menu a:focus,
#kurheim .sm-menu a:active,
#kurheim .sm-menu a.highlighted,
#fehmarn .sm-menu a:hover,
#fehmarn .sm-menu a:focus,
#fehmarn .sm-menu a:active,
#fehmarn .sm-menu a.highlighted,
#fehmarn .sm-menu LI.aktiv a,
#fehmarn .sm-menu LI.aktiv LI A:HOVER,
#fehmarn .sm-menu LI.aktiv UL LI.aktiv A,
#fehmarn .sm-menu LI.aktiv LI.aktiv LI A:HOVER,
#fehmarn .sm-menu LI.aktiv LI.aktiv LI.aktiv A {
	background:#626cac;
}
#fehmarn .sm-menu LI.aktiv LI A,
#fehmarn .sm-menu LI.aktiv LI.aktiv LI A {
	background: #083081;
	}

.sm-menu ul a {
	padding:9px 20px 8px 20px;
	background:transparent;
	color: #6B560F;
	font-size:14px;
	font-weight: normal;
	text-shadow:none;
	font-style: normal;
}
	
#kurheim .sm-menu ul a,
#fehmarn .sm-menu ul a {
	color: #fff;
}

.sm-menu ul a:hover, .sm-menu ul a:focus, .sm-menu ul a:active,
.sm-menu ul a.highlighted {
	background:#daaa0a;
}

#kurheim .sm-menu ul a:hover,
#kurheim .sm-menu ul a:focus,
#kurheim .sm-menu ul a:active,
#kurheim .sm-menu ul a.highlighted,
#fehmarn .sm-menu ul a:hover,
#fehmarn .sm-menu ul a:focus,
#fehmarn .sm-menu ul a:active,
#fehmarn .sm-menu ul a.highlighted{
	background:#626cac;
}

/* current items - add the class manually to some item or check the "markCurrentItem" script option */
.sm-menu a.current, .sm-menu a.current:hover, .sm-menu a.current:focus, .sm-menu a.current:active,
.sm-menu ul a.current, .sm-menu ul a.current:hover, .sm-menu ul a.current:focus, .sm-menu ul a.current:active {
	background:#daaa0a;
}
.sm-menu a.has-submenu {

}


/* Sub menu indicators
===================*/

.sm-menu a span.sub-arrow {
	position:absolute;
	bottom:2px;
	left:50%;
	margin-left:-5px;
	/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
	width:0;
	height:0;
	overflow:hidden;
	border-width:5px; /* tweak size of the arrow */
	border-style:solid dashed dashed dashed;
	border-color:#a4cde1 transparent transparent transparent;
}

.sm-menu-vertical a span.sub-arrow,
.sm-menu ul a span.sub-arrow {
	bottom:auto;
	top:50%;
	margin-top:-5px;
	right:15px;
	left:auto;
	margin-left:0;
	border-style:dashed dashed dashed solid;
	border-color:transparent transparent transparent #a4cde1;
}


/* Scrolling arrows containers for tall sub menus
===================*/

.sm-menu span.scroll-up, .sm-menu span.scroll-down {
	position:absolute;
	display:none;
	visibility:hidden;
	overflow:hidden;
	background:#ffffff;
	height:20px;
	/* width and position will be automatically set by the script */
}

.sm-menu span.scroll-up-arrow, .sm-menu span.scroll-down-arrow {
	position:absolute;
	top:-2px;
	left:50%;
	margin-left:-8px;
	/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
	width:0;
	height:0;
	overflow:hidden;
	border-width:8px; /* tweak size of the arrow */
	border-style:dashed dashed solid dashed;
	border-color:transparent transparent #247eab transparent;
}

.sm-menu span.scroll-down-arrow {
	top:6px;
	border-style:solid dashed dashed dashed;
	border-color:#247eab transparent transparent transparent;
}


/*
---------------------------------------------------------------
  Responsiveness
  These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/

@media screen and (min-width: 1200px) {
.sm-menu ul a {
	min-width:219px;
}

#kurheim .sm-menu ul a,
#fehmarn .sm-menu ul a{
	min-width:274px;
}
}

@media screen and (max-width: 1199px) {
.sm-menu a {
	font-size:12px;
}
	
.sm-menu ul a {
	font-size:12px;
	min-width:158px;
}

#kurheim .sm-menu ul a,
#fehmarn .sm-menu ul a{
	min-width:198px;
}
}

@media screen and (min-width: 768px) and (max-width: 1199px){
.sm-menu a {
	padding:12px 8px;
}
}

@media screen and (min-width: 768px) {
#menu-icon {
	display: none;
}
}

@media screen and (max-width: 767px) {
#main-menu {
	display: none;
}

#menu-icon {
	display: block;
	width: 40px;
	height: 40px;
	background: url('../bilder/menu-icon1.png') top left;
	margin-left: 6px;
}

#menu-icon.kurheim-icon {
	background: url('../bilder/menu-icon2.png') top left;
	margin-left: 6px;
}

ul.sm li {
	width: 100%;
	text-align: left;
}

#kurheim ul.sm li,
#fehmarn ul.sm li {
	width: 100%;
}

/* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
ul.sm-menu{width:auto !important;}
ul.sm-menu ul{display:none;position:static !important;top:auto !important;left:auto !important;margin-left:0 !important;margin-top:0 !important;width:auto !important;min-width:0 !important;max-width:none !important;}
ul.sm-menu>li{float:none;}
ul.sm-menu>li>a,ul.sm-menu ul.sm-nowrap>li>a{white-space:normal;}
ul.sm-menu iframe{display:none;}

/* Uncomment this rule to disable completely the sub menus for small screen devices */
/*.sm-menu ul, .sm-menu span.sub-arrow, .sm-menu iframe {
	display:none !important;
}*/


/* Menu box
===================*/

.sm-menu {
	background:transparent;
}

.sm-menu ul {
	border:0;
	padding:0;
	background:#F8C410;
}


/* Menu items
===================*/

.sm-menu a {
	padding:10px 5px 10px 28px !important; /* add some additional left padding to make room for the sub indicator */
	background:#F8C410;
}
	
#kurheim .sm-menu a,
#fehmarn .sm-menu a{
	background:#083081;
}

.sm-menu a.current {
	background:#F8C410;
}

/* add some text indentation for the 2+ level sub menu items */
.sm-menu ul a {
	border-left:8px solid transparent;
}

.sm-menu ul ul a {
	border-left:16px solid transparent;
}

.sm-menu ul ul ul a {
	border-left:24px solid transparent;
}

.sm-menu ul ul ul ul a {
	border-left:32px solid transparent;
}

.sm-menu ul ul ul ul ul a {
	border-left:40px solid transparent;
}


/* Sub menu indicators
===================*/

.sm-menu a span.sub-arrow,
.sm-menu ul a span.sub-arrow {
	top:50%;
	margin-top:-9px;
	right:auto;
	left:6px;
	margin-left:0;
	width:17px;
	height:17px;
	font:bold 16px/16px monospace !important;
	text-align:center;
	border:0;
	text-shadow:none;
	background:rgba(0,0,0,0.1);
	-moz-border-radius:100px;
	-webkit-border-radius:100px;
	border-radius:100px;
}

/* Hide sub indicator "+" when item is expanded - we enable the item link when it's expanded */
.sm-menu a.highlighted span.sub-arrow {
	display:none !important;
}

.sm-menu ul li {
	border-top: none;
}
}