/* .accessible-nav.css */

/* Top Menu and Mobile Menu */
/* Add Keyboard focus color change to menu item */
.list-item a:focus,
.list-item a:hover
 {
    background: #000000 !important;
}

/* Top Menu - Add DOWN ARROW to menu items with drop down menu items */
/* 3. Menu items that are able to expand could use visible drop down indicators such as a plus sign or an arrow. */
.down-arrow>a:after {
    content: '';
    border: 4px solid transparent;
    border-top: 4px solid white;
    margin-left: 6px;
    margin-bottom: 3px;
    display: inline-block;
    vertical-align: bottom;
}

/* Top Menu - Add RIGHT to drop down menu items that have fly out menu items to the right */
.right-arrow>a:after {
    content: '';
    border: 4px solid transparent;
    border-top: 4px solid white;
    margin-left: 6px;
    margin-bottom: 3px;
    display: inline-block;
    vertical-align: bottom;
    transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
}

/* Top Menu - Fixing Z-Index on Submenu Flyout items */
.js .department-content ul.list ul ul {
    z-index: 1;
}


/* Side Menu - fly out on focus */
.left-nav ul li.hover, 
.left-nav ul li ul li.hover{
    position:relative;
}
.left-nav > ul > li.hover > ul,
.left-nav ul li ul li.hover ul {
    left: 100%;
    top: 0px;
    display: block;
    width: 80%;
    -webkit-box-shadow: 9px 4px 28px -5px rgba(0,0,0,0.39);
    -moz-box-shadow: 9px 4px 28px -5px rgba(0,0,0,0.39);
    box-shadow: 6px 0px 14px -5px rgba(0,0,0,0.39);
    border-left: 1px solid #f3f3f3;
}

/* Side Menu - defining a focus state with class hover to mimic :hover pseudoclass */
@media screen and (min-width: 680px) {
   /* Side Items with flyout are colored. Remove this color */
    li.breadcrumb.sidebar-list-item, 
    li.breadcrumb.sidebar-list-item li {
        background-color: #FFFFFF !important;
   }
   /* First level - same as a.sidebar-link.hover */
    .left-nav li.sidebar-list-item a.hover,
    .left-nav li.sidebar-list-item a.focus,
    .left-nav li.sidebar-list-item a:focus {
        background-color: #eeeeeef2;
        background-color: rgba(218, 216, 216, 0.95) ;
        text-decoration: underline;
   }
    .left-nav li.sidebar-list-item .hover,
    .left-nav li.sidebar-list-item .focus,
    .left-nav li.sidebar-list-item :focus  {
        background-color: #EEEEEE;
        background-color: rgba(238, 238, 238, .95) !important;
   }
   /* Next level .hover is keyboard focus and :hover is mouse onhover */
    .left-nav li.sidebar-list-item.has-nested a.hover,
    .left-nav li.sidebar-list-item.has-nested a:hover,
    .left-nav li.sidebar-list-item.has-nested a:focus {
        background-color: #EEEEEE;
        background-color: rgba(238, 238, 238, .95) !important;
        text-decoration: underline;
   }
}


/* Mobile menu is top menu at screen widths of 779 pixels and below */

/* Mobile Menu - Add focus state to hamburger menu link icon */
.nav-toggle:focus {
    background-color: #555;
}

/* Mobile Menu - Increasing width of drop down width of menu items */
@media screen and (min-width: 780px) {
    .js .global-nav > ul li:hover > ul li {
        /* min-width: 153px; top menu right side issue */
        min-width: 129px;
   }
}

/* Mobile Menu - Decreasing width of last column of menu drop down items - last column */
@media screen and (min-width: 780px) {
    .js .global-nav > ul li:last-child > ul li {
       /* width: 100%;
        */
        min-width: min-content;
   }
}

/* Mobile Menu - Defining style of last column using path instead of the classic notation @media screen and (min-width: 780px) {
    .nav_dd_header ul li:last-child {
        width: 100%;
   }
}
*/

/* Mobile menu active links were darker*/
.global-nav a:visited {
    color: #ffffff;
}
/* Mobile menu Donate Link focus state */
.header-link.header-btn.give-btn:focus {
    color: #FFF;
    background-color: #CF4411;
}



/* MEDIA QUERIES START */
/* 681px Mobile not Desktop styles*/
/*@media only screen and (max-width: 680px) {  
/* Changing this to 780 as mobile styles start at 780 and below */
@media only screen and (max-width: 780px) {

    .js .global-nav ul li.hover ul,
    .js .global-nav ul li:focus ul {
        display: block;
        max-height: 100%;
   }
    .js .global-nav ul li.hover ul ul,
    .js .global-nav ul li:focus ul ul {
        display: none;
   }
    .js .global-nav ul li.hover ul li.hover ul,
    .js .global-nav ul li:hover ul li:focus ul {
        display: block;
        max-height: 100%;
   }
}



/* 780px  Desktop not Mobile styles */
@media screen and (min-width: 780px) {
    .js .global-nav>ul li.hover>ul {
        display: block;
        position: absolute;
        padding: 0;
        max-width: 100%;
   }
    .js .global-nav>ul li.hover>ul li {
        width: 100%;
   }
    .js .global-nav>ul li.hover>ul a, 
    .js .global-nav>ul li.active.hover>ul a {
        margin: 0 0 0 0;
        padding: 5px 10px;
        display: block;
        width: 90%;
        text-align: left;
        /* background: rgba(207, 67, 17, .9); */
        background: #CF4311;

   }
    .js .global-nav>ul li.hover>ul a.hover,
    .js .global-nav>ul li.active.hover>ul a.hover {
        /* background: rgba(189, 61, 15, .9); */
        background: #bd3d0f;

   }
    .js .global-nav .list-item a.hover {
        border-bottom: none;
        text-decoration: none;
        cursor: pointer;
        text-shadow: 1px 1px 3px rgba(102, 102, 102, .4);
        /* background: rgba(207, 67, 17, .9); */
        background: #CF4311;

        font-weight: normal;
   }
}

