.navbar {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  margin-bottom: 0;
}

.navbar-default {
  background-color: transparent;
  border: none;
  z-index: 999;
}

.navbar-collapse {
  border: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#dnnMenu .topLevel > li > a {
  color: #ffffff;
}

#dnnMenu .topLevel > li > a:focus, #dnnMenu .topLevel > li > a:hover {
  color: #ffffff;
}

.nav.navbar-nav.topLevel.sm span:hover {
  border-bottom: 2px solid #51B948;
}

.nav.navbar-nav .active span {
  border-bottom: 2px solid #51B948;
}

#dnnMenu .topLevel > li.active > a:focus, #dnnMenu .topLevel > li.active > a:hover {
  color: #ffffff;
}

#dnnMenu .topLevel > .open > a, #dnnMenu .topLevel > .open > a:hover, #dnnMenu .topLevel > .open > a:focus {
  background: none;
}

#dnnMenu .topLevel > .active.open > a, #dnnMenu .topLevel > .active.open > a:hover, #dnnMenu .topLevel > .active.open > a:focus {
  background-color: transparent;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
  background-color: transparent;
}

#dnnMenu .navbar-default .topLevel > li > a {
  -webkit-transition: all .3s ease 0s;
  -moz-transition: all .3s ease 0s;
  -o-transition: all .3s ease 0s;
  transition: all .3s ease 0s;
}

#dnnMenu .dropdown-menu {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  background: #f1f1f1;
  padding: 0;
}

#dnnMenu .dropdown-menu::after {
}

#dnnMenu .dropdown-menu li {
  background: none;
  float: none;
  clear: both;
  width: auto;
  padding: 5px 5px;
  border-bottom: 1px solid #e1e1e1;
  -o-transition: all .3s ease 0s;
  -webkit-transition: all .3s ease 0s;
  -moz-transition: all .3s ease 0s;
  transition: all .3s ease 0s;
}

#dnnMenu .dropdown-menu li:hover {
  background: transparent;
  color: #00539B !important;
}

#dnnMenu .dropdown-menu li:last-child {
/*    border: none;   */
}

#dnnMenu .dropdown-menu li > a {
  background: transparent;
}

#dnnMenu .dropdown-menu li.active > a, #dnnMenu .dropdown-menu li.active a:hover, #dnnMenu .dropdown-menu li.active a:focus {
  color: #3f3f3f;
  font-weight: 600;
}

#dnnMenu .dropdown-menu a:hover {
  color: #000;
}

#dnnMenu .subLevelRight::after {
  border: none;
}

/*@media only screen and (min-width:768px) and (max-width:995px) {
  #dnnMenu .nav li {
    font-size: 15px;
  }
  #dnnMenu .topLevel li {
    position: relative;
    background: #383c40;
    list-style-type: none;
    float: none;
    width: 100%;
    margin-bottom: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
  }
}*/

ul.nav.navbar-nav.topLevel.sm > li:hover{
  background-color:#51B948;
/*    -moz-border-radius: 0px;
-webkit-border-radius: 3px 3px 0px 0px;
border-radius: 3px 3px 0px 0px;  */
     -webkit-transition: background-color 200ms ease-out;
    -moz-transition: background-color 200ms ease-out;
    -ms-transition: background-color 200ms ease-out;
    -o-transition: background-color 200ms ease-out;
    transition: background-color 200ms ease-out;
}
 

 
@media only screen and (max-width:991px) {
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: transparent!important;
}
  #navbar{
    width:100% !important;
  }
  #dnnMenu .dropdown-menu {
  border-top: none!important;
}


  .navbar-nav .open .dropdown-menu{
  
     background-color: transparent;
    border: 0 none;
    box-shadow: none;
    float: none;
    margin-top: 0;
    position: static;
    width: auto;
  }
  .dropdown-menu{
    font-size: 14px;
    left: 0;
    list-style: outside none none;
	text-align: left;
    top: 100%;
    z-index: 1000;
  }
  #dnnMenu .dropdown-menu {
    padding: 0;
  }

  #dnnMenu .dropdown-menu::after {
    border: none;
    pointer-events: none;
    border-color: none;
    border-width: 0;
  }

  #dnnMenu .dropdown-menu.subLevel {
    padding: 0px;
  }

  #dnnMenu .dropdown-menu.subLevel li.active a span {
    color: #51B948;
  }

  #dnnMenu .dropdown-menu.subLevel li {
     background:  #00529B;  
    border-bottom: 1px solid #4a4b4c;
    padding: 0;
	margin:0px;
  }

  #dnnMenu .dropdown-menu.subLevelRight li {
    background: #00529B;
    padding: 0;
  }

  #dnnMenu .topLevel li {
    position: relative;
    background: #00529B;
    list-style-type: none;
    float: none;
    width: 100%;
    margin-bottom: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
  }

  #dnnMenu .topLevel li.active a {
    color: #50B948;
    font-weight: bold;
  }

  #dnnMenu .topLevel li a {
    display: block;
    color: #ddd;
    -webkit-transition: all .2s ease 0s;
    -moz-transition: all .2s ease 0s;
    -o-transition: all .2s ease 0s;
    transition: all .2s ease 0s;
    padding-top: 1px;
    padding-bottom: 1px;
  }

  #dnnMenu .topLevel li a:hover {
    background: #51B948;
	color:white;
  }
  #dnnMenu .topLevel li a:focus {
    background: #51B948!important;
	color:white;
  }
  #dnnMenu .topLevel li a:hover span {
    color: #3f3f3f;
  }

  #dnnMenu .topLevel li a span {
    line-height: 52px;
    margin: 0;
    padding: 0 3px;
    font-size: 16px;
  }

  #dnnMenu .topLevel .dropdown.open a span {
    color: white;
  }

  #dnnMenu .topLevel .dropdown-menu.subLevel a span {
    color: #fff;
	font-size:14px;
  }

  #dnnMenu .topLevel > li > a {
    color: #fff;
  }

  #dnnMenu .topLevel > li > a:hover span {
    color: white;
  }

  #dnnMenu .dropdown.open .subLevel > li a:hover span {
    color: white;
  }

  .navbar-nav.sm-collapsible .caret, .navbar-nav.sm-collapsible ul .caret {
    position: absolute;
    right: 0;
    padding: 0;
    width: 65px;
    height: 62px;
    line-height: 60px;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    top: 0;
    border: none;
/*     background-color:  #51B948; */
    display: block;
    margin: 0;
    border-radius: 0;
    font-size: 1.3em;
  }
}

.displayNone {
  display: none;
}

.nav.navbar-nav .active span, .nav.navbar-nav.topLevel.sm span:hover {
  border-bottom: none;
}

#dnnMenu .dropdown-menu {
  border-top: 5px solid #50B948;
  border-right: 0px;
  background-color:white;
  -webkit-box-shadow: 0 5px 5px -5px #333;
       -moz-box-shadow: 0 5px 5px -5px #333;
            box-shadow: 0 5px 5px -5px #333;
  /*width:771px !important;
  min-width:600px !important;
  max-width:800px !important;*/
  
}

#dnnMenu .dropdown-menu li {
  margin: 0 13px;
  padding: 4px 0px;  
  border-bottom: 0px;
}

#dnnMenu .navbar-nav > li > a {
  padding-bottom: 7px;
}

#dnnMenu .subLevel a span:hover {
  color: #51B948;
}

#dnnMenu .active:after {
  bottom: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  top: 39px;
}

#dnnMenu .subLevelRight {
  top: 0 !important;
  margin-top: 0px !important;  
}

#dnnMenu > ul > li.dropdown.open {
  position: relative; 
}

#dnnMenu > ul > li.dropdown.open:after, #dnnMenu > ul > li.dropdown.open:before, #dnnMenu > ul > li.dropdown.active:after, #dnnMenu > ul > li.dropdown.active:before {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0; 
  position: absolute;
  pointer-events: none;
}

#dnnMenu > ul > li.dropdown.open:after, #dnnMenu > ul > li.dropdown.active:after {
  /*border-color: rgba(136, 183, 213, 0);
  border-top-color: #00529B;
  border-width: 17px;
  margin-left: -17px;*/
}

@media all and (max-width: 12000px) and (min-width: 1000px) {

#dnnMenu .dropdown:hover .subLevel{
display:inline;
width:100%;
}
.nav li{
height:45px;
}

#dnnMenu .dropdown ul {
 width:100% !important;
 margin:0px !important;
 left:0px;
 position:absolute;
 top:101px;
 padding:15px;
 padding-top:0px;
 padding-bottom:0px;
 
  
}
.affix #dnnMenu .dropdown ul {
top:55px;
}
.dropdown-menu > li > a{
    padding: 10px 20px;
}
.nav > li{
position:inherit !important;
}
.navbar-nav:not(.sm-collapsible) ul a.has-submenu{
padding-right:8px;
}
#navbar {
    position: initial;
}
#dnnMenu .dropdown ul li{
 display:inline-table;  
 border-right:1px solid #ddd; 
 margin:7px auto;
}
#dnnMenu .dropdown ul li a{
font-size:13px;
}

#dnnMenu .dropdown ul li a span{
	font-size:18px;
   color: #00529A; 
}
#dnnMenu .dropdown .subLevelRight{
display:block !important;
position:relative !important;
box-shadow:none;
border-top:none !important;
border-bottom:none !important;
display:inline-block; 
  min-width:100px !important;
 margin-left:5px !important;
 border-left:none !important;
 padding-left: 5px!important;
 
}
 	
#dnnMenu .dropdown .subLevelRight li{
    margin-top: 0px;
    margin-bottom: 0px;
 height:28px;
 border:none;
padding:0px;
display:block;
}
#dnnMenu .dropdown .subLevelRight li a{
font-size:15px;
min-width:200px;
padding-left:10px;
padding-top:4px;
padding-bottom:0px;
}
#dnnMenu .dropdown .subLevelRight li a span{
font-size:15px;
color:#555;
font-weight:normal;
}
#dnnMenu .dropdown .subLevelRight li a span:hover{
font-size:15px;
color:#51B948;

}
}

@media all and (max-width: 12000px) and (min-width: 1200px) {

 

#dnnMenu .dropdown ul {
 width:99% !important;
 
  
}
}

@media all and (max-width: 1160px) and (min-width: 1000px) {
 
#dnnMenu .dropdown ul {
 
 top:84px;
 
 
  
}
.affix #dnnMenu .dropdown ul {
top:55px;
} 

}

/* Overriding some bootstrap elements here */
.navbar-toggle {
    padding: 14px;
    margin-top: 18px;
    border: 2px solid transparent;
    border-radius: 0px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: white;
}
toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #51B948;
}

.navbar-nav.sm-collapsible .caret, .navbar-nav.sm-collapsible ul .caret {
 
    font-size: 1.3em!important;
}
@media all and (max-width:  992px){
.padd-bottom{
padding-bottom:28px;
}

}
