body, nav, ul, li, a  {margin: 0; padding: 0;}
body {font-family: Arial, Helvetica, sans-serif; }
a {text-decoration: none;}
.navigation {
   width: 100%;
       margin: 0px 0px 20px auto;
  /*   max-width: 1200px;*/
/*   margin: -50px 0px 20px auto;*/
    float: right;
}
/*.toggleMenu {
    display: none;
    background: rgb(255, 255, 255);
    padding: 10px 15px;
    color: #eee;
}*/


     label.hamburg { 
   display: block;
   width: 50px; height: 50px; 
   position: relative; 
   margin-left: auto; margin-right: auto;
   border-radius: 4px; 
}

input#hamburg {display:none}
     
   


.fancy-input {
	margin: 1em 0 1em 0;
	position: relative;
}

.fancy-input label {
	position: absolute;
	color: #666;
	background: #fff;
	padding: 0 .5em;
	font-size: .8em;
	top: -.6em;
	left: .5em;
}

.fancy-input label.like-placeholder {
	font-size: 1em;
	top: .5em;
	left: .5em;
}

.fancy-input input {
	padding: .5em .5em .5em 5.5em;
        width: 500px;
}


     
     .line { 
   position: absolute; 
   left:-2px;
   height: 5px; width: 35px; 
   background: #fff; border-radius: 2px;
   display: block; 
   transition: 0.5s; 
   transform-origin: center; 
}

.line:nth-child(1) { top: 12px; }
.line:nth-child(2) { top: 24px; }
.line:nth-child(3) { top: 36px; }

#hamburg:checked + .hamburg .line:nth-child(1){
   transform: translateY(12px) rotate(-45deg);
}

#hamburg:checked + .hamburg .line:nth-child(2){
   opacity:0;
}

#hamburg:checked + .hamburg .line:nth-child(3){
   transform: translateY(-12px) rotate(45deg);
}


.nav {
	list-style: none;

     *zoom: 1;
	font-size: 19px;
}
.nav:before,
.nav:after {
    content: " "; 
    display: table; 
}
.nav:after {
    clear: both;
}
.nav ul {
    list-style: none;
    width: 16em;
}
.nav a {
	padding: 10px 30px 10px 13px;
	margin-right: 0px;
	color: #999999;
}
.nav li {
    position: relative;
}
.nav > li {
    float: left;
 /*border-top: 1px solid #333;*/
}
.nav > li > .parent {
    background-image: url("images/downArrow.png");
    background-repeat: no-repeat;
    background-position: left;
}
.nav > li > a {
	display: block;
	color: #fff;
}
.nav li  ul {
    position: absolute;
    left: -9999px;
}
.nav > li.hover > ul {
    left: 0;
	font-size: 16px;
}
.nav li li.hover ul {
    left: 100%;
    top: 0;
}
.nav li li a {
    display: block;
    background-color: #c1ada2;
    position: relative;
    z-index:100;
    border-top: 1px solid #fff;
/*	padding:10px; */   
    color: rgb(255, 255, 255);
}


.nav li li a:hover {
    display: block;
    background-color: rgba(255, 255, 255, 1);
    position: relative;
    z-index:100;
    border-top: 1px solid #333;
    color: #333;
}
.nav li li li a {
    background: rgb(102, 104, 103);
    z-index:200;
    border-top: 1px solid #333;
    color: rgb(255, 255, 255);
}

@media screen and (max-width: 768px) {
    .active {
        display: block;
    }
    .nav > li {
        float: none;
    }
    .nav > li > .parent {
        background-position: 95% 50%;
		background-color: rgba(103, 177, 227, 0.32);
		border-bottom: 1px solid #333;
    }
    .nav li li .parent {
        background-image: url("images/downArrow.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }
    .nav ul {
        display: block;
        width: 100%;
    }
   .nav > li.hover > ul , .nav li li.hover ul {
        position: static;
    }

}
