/* ================================================================
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/cssplay-responsive-multi-level-two.html
Copyright (c) Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any
way to fit your requirements.
=================================================================== */
.trigger {
    width: 40px;
    height: 40px;
    position: fixed;
    left: 0;
    top: 5px;
    background: #D8AD4C;
    color: #fff;
    border-radius: 0 5px 5px 0;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    -moz-transition: 0.5s;
    transition: 0.5s;
display: none;
}
.trigger label {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    top: 0;
    background: url(menu-icon.png) no-repeat center center;
    cursor: pointer;
}
.trigger label span {
    position: absolute;
    left: -9999px;
    z-index: 25;
}
input.submenus, input#toggle {
  position: absolute;
  display: none;
}
.menuHolder {
    width: 100%;
    right: 0;
    top: 0;
    background: #444;
    z-index: 400;
}
.menu {
    float: left;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    -ms-touch-action: none;
}
.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
  text-align: left;
}
.menu li {
  display: block;
  position: relative;
}
.menu ul ul {
    position: absolute;
    left: -9999px;
    top: 24px;
    padding-top: 5px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 5px;
    z-index: 1000;
    border-radius: 0 0 5px 5px;
    -webkit-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    transition: opacity 0.5s;
}
.menu ul ul ul {
  left: 100%;
  top: auto;
  margin-top: -35px;
  border-radius: 5px;
}
.menu ul li.left > ul {
  left: auto;
  right: 0;
  top: 30px;
}
.menu ul li.left ul li > ul {
  left: auto;
  right: 100%;
  top: auto;
  margin-top: -35px;
}
.menu > ul {
  margin: 0 auto;
}
.menu > ul > li {
  float: left;
  position: relative;
}
.menu ul {
  background: #444;
}
.menu a {
    display: block;
    text-transform: uppercase;
    font: normal 13px/25px 'texgyreadventorbold', 'lucida sans', arial, sans-serif;
    color: #fff;
    text-decoration: none;
    padding-top: 0;
    padding-right: 30px;
    padding-left: 10px;
    padding-bottom: 0;
    position: relative;
    z-index: 10;
}
.menu > ul > li > a {
    line-height: 24px;
}
.menu > ul > li > label {
    display: block;
    position: relative;
    width: 100%;
    margin-top: -24px;
    height: 24px;
    background: url(trans.gif);
    z-index: 100;
    -webkit-transition: 0s 0.5s;
    -o-transition: 0s 0.5s;
    -moz-transition: 0s 0.5s;
    transition: 0s 0.5s;
}
.menu ul ul > li > label {
  display: block;
  position: relative;
  margin-top: -25px;
  width: 100%;
  height: 25px;
  background: url(trans.gif));
  z-index: 100;
  -webkit-transition: 0s 0.5s;
  -o-transition: 0s 0.5s;
  -moz-transition: 0s 0.5s;
  transition: 0s 0.5s;
}
.menu ul li.back {
  display: none; cursor:pointer;
}
.menu li:hover > label {
  width: 0;
}
.menu li.left ul a {
  text-align: right;
  padding: 0 20px 0 40px;
}
.menu li:hover > a, .menu ul li:hover > a {
  color: #fff;
  background: #555;
  text-decoration: none;
}
.menu ul li a.hassub {
  background: url(arrow-down.png) no-repeat right center;
}
.menu li ul li a.hassub {
  background: url(arrow-right.png) no-repeat right center;
}
.menu li.left ul li a.hassub {
  background: url(arrow-left.png) no-repeat left center;
}
.menu ul li:hover > a.hassub {
  color: #fff;
  background-color: #555;
  text-decoration: underline;
}
.menu li.left ul li:hover > a.hassub {
  color: #fff;
  background-color: #555;
  text-decoration: underline;
}
.menu > ul {
  *display: inline;
}
.menu ul ul, .menu ul ul ul, .menu ul li.left > ul, .menu ul li.left ul li > ul {
  left: -9999px;
  right: auto;
  opacity: 0;
}
.menu ul li:hover > ul {
  left: 0;
  opacity: 1;
}
.menu ul ul li:hover > ul {
  left: 100%;
  opacity: 1;
}
.menu ul li.left:hover > ul {
  left: auto;
  right: 0;
  opacity: 1;
}
.menu ul li.left ul li:hover > ul {
  left: auto;
  right: 100%;
  opacity: 1;
}
/* for narrow screns, tablets and smartphones */
@media only screen and (max-width: 1024px) {
.trigger {
	display: block;
	z-index: 400;
}
  .menuHolder {
	position: fixed;
	left: -280px;
	width: 280px;
	top: 0;
	bottom: 0;
	height: auto;
	overflow-x: hidden;
	background: #bbb;
	-webkit-transition: left 0.5s;
	-o-transition: left 0.5s;
	-moz-transition: left 0.5s;
	transition: left 0.5s;
	z-index: 400;
  }
  .menu {
	width: 280px;
	text-align: center;
	position: absolute;
	z-index: 400;
	background: #bbb;
	left: 0;
	top: 0;
	border-right: 1px solid #888;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	-ms-touch-action: none;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	-moz-transition: 0.5s;
	transition: 0.5s;
  }

  .menu a,.menu ul li a  { text-decoration:none; }

  .menu ul {
	margin: 0;
	padding: 0;
	width: 280px;
	list-style: none;
	white-space: nowrap;
	text-align: left;
	border-radius: 0;
	background: #bbb;
	border-right: 1px solid #888;
  }
  .menu li {
	display: block;
	position: static;
	width: 280px;
	height: 30px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #888;
  }
  .menu ul li.back {
    display: block;
  }
  .menu ul ul {
    position: absolute;
    left: 280px;
    top: -5000px;
    padding: 0;
    z-index: 400;
    opacity: 1;
    background: #bbb;
    -webkit-transition: 0s 0.5s;
    -o-transition: 0s 0.5s;
    -moz-transition: 0s 0.5s;
    transition: 0s 0.5s;
  }
  .menu ul ul ul {
    left: 300px;
    top: -5000px;
    margin-top: 0;
    opacity: 1;
  }
  .menu ul li.left > ul {
    left: 280px;
    right: auto;
    top: -5000px;
  }
  .menu ul li.left ul li > ul {
    left: 280px;
    right: auto;
    top: -5000px;
    margin-top: 0;
  }
  .menu > ul {
    margin: 0;
  }
  .menu > ul > li {
    float: left;
    position: static;
  }
  .menu ul {
    background: #bbb;
  }
  .menu a {
	display: block;
	font: normal 13px/30px 'texgyreadventorbold', 'lucida sans', arial, sans-serif;
	color: #333;
	text-decoration: none;
	padding: 0 0 0 20px;
	margin-right: 0px;
	position: relative;
	z-index: 10;
	background: transparent;
  }
  .menu > ul > li > a {
	line-height: 30px;
  }
  .menu > ul > li > label, .menu ul ul > li > label {
	display: block;
	position: relative;
	margin-top: -26px;
	margin-right: 4px;
	width: 20px;
	height: 20px;
	border: 1px solid #fff;
	border-radius: 4px;
	float: right;
	background: #aaa url(arrow-right.png) no-repeat center center;
	z-index: 100;
	cursor: pointer;
	-webkit-transition: 0s;
	-o-transition: 0s;
	-moz-transition: 0s;
	transition: 0s;
  }
  .menu li:hover > label {
    width: 20px;
  }
  .menu li.left ul a {
    text-align: left;
    padding: 0 40px 0 20px;
  }
  .menu ul li:hover > a {
	color: #FFFFFF;
	background: #bbb;
	text-decoration: none;
  }
  .menu ul li a:hover, .menu ul li a.hassub:hover {
	color: #FFFFFF;
	background: #D8AD4C;
	text-decoration: none;
  }
  .menu ul li a.hassub, .menu li.left ul li a.hassub, .menu li ul li a.hassub {
    background: none;
  }
  .menu ul li.back label {
    display: block;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    border-radius: 4px;
    float: right;
    background: #D8AD4C url(arrow-left.png) no-repeat center center;
    z-index: 100;
    cursor: pointer;
  }
  .menu ul li.back span {
    display: block;
    height: 18px;
    font: normal 12px/18px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #333;
    width: 180px;
    padding: 5px 0 0 20px;
    white-space: normal;
    float: left;
    text-transform: uppercase;
  }
  .menu ul ul, .menu ul ul ul, .menu ul li.left > ul, .menu ul li.left ul li > ul {
    left: 280px;
    top: -5000px;
    right: auto;
    opacity: 1;
  }
  .menu ul li:hover > ul, .menu ul ul li:hover > ul, .menu ul li.left:hover > ul, .menu ul li.left ul li:hover > ul {
    left: 280px;
    right: auto;
    opacity: 1;
  }
  .menu ul li:hover > a.hassub, .menu li.left ul li:hover > a.hassub {
	background: none;
	color: #FFFFFF;
	text-decoration: none;
  }
  .menu ul li a.hassub:hover, .menu ul ul li a.hassub:hover, .menu li.left ul li a.hassub:hover {
    color: #ffffff;
    background: #D8AD4C;
    text-decoration:none;
  }
  #submenu1:checked ~ .menu #p1,
  #submenu2:checked ~ .menu #p2,
  #submenu3:checked ~ .menu #p3,
  #submenu4:checked ~ .menu #p4,
  #submenu5:checked ~ .menu #p5,
  #submenu6:checked ~ .menu #p6,
  #submenu7:checked ~ .menu #p7,
  #submenu8:checked ~ .menu #p8,
  #submenu9:checked ~ .menu #p9,
  #submenu10:checked ~ .menu #p10,
  #submenu11:checked ~ .menu #p11,
  #submenu12:checked ~ .menu #p12,
  #submenu13:checked ~ .menu #p13,
  #submenu14:checked ~ .menu #p14,
  #submenu15:checked ~ .menu #p15,
   #submenu16:checked ~ .menu #p16
   {
    top: 0;
    -webkit-transition: 0s;
    -o-transition: 0s;
    -moz-transition: 0s;
    transition: 0s;
  }
  #submenu1:checked ~ .menu,
  #submenu2:checked ~ .menu,
  #submenu3:checked ~ .menu,
  #submenu4:checked ~ .menu,
  #submenu5:checked ~ .menu,
  #submenu6:checked ~ .menu,
  #submenu7:checked ~ .menu,
  #submenu8:checked ~ .menu,
  #submenu9:checked ~ .menu,
  #submenu10:checked ~ .menu,
  #submenu11:checked ~ .menu,
  #submenu12:checked ~ .menu,
  #submenu13:checked ~ .menu,
  #submenu14:checked ~ .menu,
  #submenu15:checked ~ .menu,
  #submenu16:checked ~ .menu
  {
    left: -280px;
  }

  /*
  #submenu3:checked ~ .menu, #submenu5:checked ~ .menu, #submenu6:checked ~ .menu, #submenu9:checked ~ .menu, #submenu11:checked ~ .menu {
    left: -560px;
  }
  #submenu4:checked ~ .menu, #submenu10:checked ~ .menu {
    left: -840px;
  }
  */



  #toggle:checked ~ .wrapper {
    left: 280px;
  }
  #toggle:checked ~ .wrapper .menuHolder {
    left: 0;
  }
  #toggle:checked ~ .wrapper .trigger {
    left: 280px;
  }
}

@media screen and (min-width:1920px){
.menuHolder {
    max-width: 1500px;
}

}
