﻿
.mobilemenubar {
       float: right;

    margin: 10px auto;
    width: 100%;
    position:relative;
    display:table;

 
    z-index: 6000;
}
.toggleMenu {
     background: #DF7924 none repeat scroll 0 0;
    color: #fff;
    padding: 7px 2%;
    position: absolute;
    top: 0;
    width: 97%;
}
     
 .nav {
    background: none repeat scroll 0 0 #fff;
    list-style: none outside none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 2%;
    top: 39px;
    display:none;
    width: 180px;
}



.nav:before,
.nav:after {
    content: " "; 
    display: table; 
}
.nav:after {
    clear: both;
}
.nav ul {
    list-style: none;
    width: 9em;
     padding:0;
    margin:0;
}
.nav a {
    padding: 10px 15px;
    color:#313131;
    text-transform:uppercase;
}
.nav li {
    position: relative;
}
.nav > li {
    float: left;
    border-top: 1px solid #e4e4e4;
}
.parent {
    /*background-image: url("../images/down2.png");
    background-repeat: no-repeat;
    background-position: right 20px top 17px;
    background-size:10px;*/
}
.nav > li > a {
    display: block;
    text-decoration:none;
    cursor:pointer;
    font-size:14px;
}
.nav li  ul {
 /*   position: absolute;
    left: -9999px;*/
}
.nav > li.hover > ul {
    left: 0;
}
.nav li li.hover ul {
    left: 100%;
    top: 0;
}
.nav li li a {
    text-decoration:none;
    position: relative;
    z-index:100;
   background: rgba(0, 0, 0, 0.1);
    /*border-top: 1px solid rgba(0, 0, 0, 0.4);*/
    display: block;
    font-size:15px;
}
.nav li li li a {
  background: #e3e3e3 none repeat scroll 0 0;
    border-top:1px solid #bebebe;
    z-index: 200;
}

.nav li li a:hover {
  color: #004789;

}


@media screen and (max-width: 1024px) {
    .active {
        display: block;
    }
    .nav > li {
        float: none;
    }
    .nav > li > .parent {
        background-position: 95% 50%;
    }
    .nav li li.parent {
        background-image: url("../images/down2.html");
        background-repeat: no-repeat;
        background-position: 95% 50%;
        background-size:10px;
    }
    .nav ul {
        display: block;
        width: 100%;
    }
   .nav > li.hover > ul , .nav li li.hover ul {
        position: static;
    }
    
    .nav
    {
        left:2%;
        }
    
    

}