.navigation{ width:65%; height:auto; background:#2e3641; border-top:none; float:right; margin:1.5% 0 0;
 -webkit-transition: all 0.3s;
      -moz-transition: all 0.3s;
      -ms-transition: all 0.3s;
      -o-transition: all 0.3s;
      transition: all 0.3s;
	  z-index:999;
 }

.toggleMenu {
    display:  none;
    background: #666 url("http://c.cdnxp.com/gtheme/images/magma/menu1.jpg") no-repeat center center;
    padding: 15px 15px;
    color: #fff;
	float:right;
}
.nav {
float : right;	
list-style: none;
*zoom: 1;
clear : both;
}
.nav ul {
    list-style: none;
    width: 9em;
}
.nav a {
    padding: 15px 15px;
    color:#FFF;
	font-size:13pt;
	text-decoration:none;
	font-weight:normal;
	font-family: 'Source Sans Pro', sans-serif;
	 -webkit-transition: height 0.3s;
  -moz-transition: height 0.3s;
  -ms-transition: height 0.3s;
  -o-transition: height 0.3s;
  transition: height 0.3s;
}
.nav li {
    position: relative;
}
.nav > li {
    float: left;
}

.nav > li > .parent {
    background-repeat: no-repeat;
    background-position: right;
}
.nav > li > a {
    display: block;
}
.nav li  ul {
    position: absolute;
    left: -9999px;
}
.nav > li.hover > ul {
    left: 0;
}

.nav > li:last-child.hover > ul {left: auto; right:0; }

.nav > li.hover > ul li:first-child { border-top:2px solid #0CF;}
.nav li li.hover ul {
    left: 100%;
    top: 0;
}
.nav li li a {
    display: block;
    position: relative;
    z-index:100;
    background:#2e3641;


}
.nav li li li a {
    z-index:200;
     background:#2e3641;
	 
	
}
			.nav li.hover > ul li a:hover {
			 background:#22272e;
			}
			 
/* 3rd level */
.nav > li.hover > ul li.hover > ul li:first-child { border-top:2px solid #0CF;}


.nav li > ul li > ul li > ul {
    position: absolute;
    left: -9999px;
	display:none !important;
}
.nav > li > ul li > ul li.hover > ul{display:block!important;}

@media screen and (max-width: 768px) {
.navigation{ width:100%; height:auto; background:transparent !important; float:right; margin:-4% 0 0 0; clear:both;}
	.toggleMenu {
    display:  none;
    background: #666 url("http://c.cdnxp.com/gtheme/images/magma/menu1.jpg") no-repeat center center;
    padding: 15px 15px;
    color: #fff;
	float:right;
	position:relative; bottom:0px;
}   

    .nav{float:none;}
    .nav li li a{background:#22be9f;}
	.nav li.hover > ul li a:hover {background:#31c4a7;}

    .active {
        display: block;
    }
    .nav > li {
        float: none;
		border-bottom:1px solid #9a9a9a;
    }
	
	.nav > li.parent {
        background-position: 95% 50%;
		background-image: url("http://c.cdnxp.com/gtheme/images/magma/downArrow.png"); 
    	background-repeat: no-repeat;
   
    }
	
	.nav > li:first-child {
        float: none;
		border-top:1px solid #e5e6e6;
    }
    .nav > li > .parent {
        background-position: 95% 50%;
		background-image: url("http://c.cdnxp.com/gtheme/images/magma/downArrow.png"); 
    background-repeat: no-repeat;
   
    }
    .nav li li .parent {
        background-image: url("http://c.cdnxp.com/gtheme/images/magma/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;
    }

}