﻿#myNav{
background-color:#003777;
margin-right:0px;
}


.ms-core-listMenu-horizontalBox li.selected a.selected {
color:white;
}

#subnavlist{
background-color:#c8c8c8!important;
}
.dropdown-menu li a{
color:black!important;
}


.menu-item-text{
font-size:16px;
font-weight:normal;
}
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2;
    /*top: 0;*/
    left: auto;
	right: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    width:100%;
    text-align: left;
    margin-top: 45px;
    line-height:20px;
    color:white;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}
/*
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}
*/
.overlay.displayed {
	width:298px;
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.47);
}
.overlay .closebtn {
    position: absolute;
	padding: 0px;
	padding-top:15px;
    right: 200px;
}
.overlay.displayed .closebtn {
    right: 25px;
}
#zz13_RootAspMenu, .overlay-content > div > ul {
	padding-left:0px;
}
#zz13_RootAspMenu > li, .overlay-content > div > ul > li {
	width: 298px;
    padding-left: 30px;
	cursor: pointer;
    cursor: hand;
}

/*
.ms-core-listMenu-horizontalBox .dynamic-children.additional-background {
    padding-right: 0px !important;
	background-image:none !important;
}
#zz13_RootAspMenu > li > a:after, .overlay-content > div > ul > li  > a:after {
    content: url('/_layouts/15/images/menu-down.gif?rev=23');
	margin-left: 20px;
}
*/
/*shareboot is overriding this, so make it as important */
.ms-core-listMenu-horizontalBox .dynamic-children.additional-background {
    padding-right: 46px !important;
	background-image: url(/_catalogs/masterpage/Shareboot/images/down.png) !important;
}
@media screen and (max-width: 760px) {
	li.static.dynamic-children {
		background-image: none;
	}
}

#zz13_RootAspMenu > li:hover, .overlay-content > div > ul > li:hover {
    background-color: grey;
}
li.static.dynamic-children  ul.dynamic{
	position: relative !important;
	top:0px !important;
	left:-40px !important;
	margin-left:10px !important;
    display: none;
	/*background-color: #0072c6 !important;*/
	background-color: #a0a0a0 !important;
	width:298px !important;
}
li.static.dynamic-children:hover  ul.dynamic{
    display: block;
}
li.static.dynamic-children  ul.dynamic li.dynamic{
	width:298px;
    padding-left: 30px;
	background-color: #a0a0a0 !important;
	color: #fff !important;
}
li.static.dynamic-children  ul.dynamic li.dynamic:hover{
	background-color: #a0a0a0 !important;
	/*color: #a0a0a0 !important;*/
}
li.static.dynamic-children  ul.dynamic li.dynamic:hover a{
	background-color: #a0a0a0 !important;
	/*color: #a0a0a0 !important;*/
}
li.static.dynamic-children  ul.dynamic li.dynamic:hover .menu-item-text{
	/*color: #a0a0a0 !important;*/
	text-decoration: underline;
	color: #fff;
}
li.static.dynamic-children  ul.dynamic .menu-item-text{
	font-weight: normal;
	font-size: 14px;
	/*line-height: 70%;*/
	vertical-align: middle;
	color: #fff;
}
/*
li.static.dynamic-children  ul.dynamic .menu-item-text:hover{
	color: #a0a0a0 !important;
}*/
/*
li.static.dynamic-children.expanded {
    background-color: grey;
}
li.static.dynamic-children.expanded ul.dynamic{
    display: block;
}
*/
@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

#header div {
	white-space: nowrap;
}
#custom-search-input {
	margin: 30px;
    width: 220px;
}