.flexdropdownmenu {
    /* font-family: 'Open Sans', sans-serif; */
    margin: 0;
    padding: 0;
    position: fixed;
    left: 0;
    top: 110px;
    list-style-type: none;
    border-bottom-width: 0;
    visibility: visible;
    display: block !important;
    /*collapse all sub menus to begin with*/
}

.flexdropdownmenu ul {
    /*topmost and sub ULs, respectively*/

    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    list-style-type: none;
    background: #333333;
    border-bottom-width: 0;
    visibility: hidden;
    display: none;
    /*collapse all sub menus to begin with*/
}

/* .flexdropdownmenu ul.submenu_third_layer{
background-color: #a5c226;
} */

.flexdropdownmenu ul.second_layer_menu li a:hover {
    background: #0f0f0f;
    color: #f47921;
}

.flexdropdownmenu ul.second_layer_menu li a {
    padding: 15px 20px 15px 40px;
}

.flexdropdownmenu ul.submenu_third_layer li a:hover {
    /* background: #424e0f; */
    color: #f47921;
    opacity: 0.5;
}

.flexdropdownmenu li {
    position: relative;
    margin-top: 0px;
}

.flexdropdownmenu li a {
    display: block;
    width: 295px;
    color: #000;
    font-size: 15px;
    font-weight: 500;
    padding: 15px 45px;
    text-decoration: none;
    transition: all 150ms;
}

.flexdropdownmenu li ul li a {
    color: #fff;
}

* html .flexdropdownmenu li {
    /*IE6 CSS hack*/
    display: inline-block;
    width: 170px;
    /*width of menu (include side paddings of LI A*/
}

.flexdropdownmenu li a:hover,
.flexdropdownmenu li.selected>a {
    background: #5d5d5d;
    color: #f47921;
}

.flexdropdownmenu li.selected::after {
    content: '';
    width: 20px;
    top: 0;
    right: -47px;
    height: 0px;
    position: absolute;
    border-top: 27px solid transparent;
    border-bottom: 27px solid transparent;
    border-left: 27px solid #5d5d5d;
    z-index: 9999;
}


.flexdropdownmenu ul.second_layer_menu li.selected>a {
    background: #0f0f0f;
    color: #f47921;
}

.flexdropdownmenu ul.second_layer_menu li.selected::after {
    content: '';
    width: 30px;
    top: 0;
    right: -58px;
    height: 0px;
    position: absolute;
    border-top: 28px solid transparent;
    border-bottom: 28px solid transparent;
    border-left: 28px solid #0f0f0f;

}

.flexdropdownmenu ul.second_layer_menu li:last-child.selected::after {
    background-color: transparent;
    width: 0;
    border: 0;
}

.has-submenu {
    /* background-image: url(../assets/images/menu/submenu-arrow.svg);
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: 8px 14px; */
}

.rightarrowclass {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    max-width: 7px;
}

/* ######### CSS for shadow added to sub menus  ######### */

.ddshadow {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    background-color: #ccc;
    /* generally should be just a little lighter than the box-shadow color for CSS3 capable browsers */
}

.toplevelshadow {
    margin: 5px 0 0 5px;
    /* in NON CSS3 capable browsers gives the offset of the shadow */
    opacity: 0.8;
    /* shadow opacity mostly for NON CSS3 capable browsers. Doesn't work in IE */
}

.ddcss3support .ddshadow.toplevelshadow {
    margin: 0;
    /* in CSS3 capable browsers overrides offset from NON CSS3 capable browsers, allowing the box-shadow values in the next selector to govern that */
    /* opacity: 1; */
    /* optionally uncomment this to remove partial opacity for browsers supporting a box-shadow property which has its own slight gradient opacity */
}

.ddcss3support .ddshadow {
    background-color: transparent;
    box-shadow: 5px 5px 5px #aaa;
    /* box-shadow color generally should be a little darker than that for the NON CSS3 capable browsers background-color */
    -moz-box-shadow: 5px 5px 5px #aaa;
    -webkit-box-shadow: 5px 5px 5px #aaa;
}

/* ######### Mobile menu container CSS ######### */

div.flexoverlay {
    /* overlay that covers page when mobile menu is shown */
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: fixed;
    background: black;
    -webkit-transform-style: preserve-3d;
    opacity: 0.7;
    z-index: 1000;
    /* z-index value should be smaller than 	mobilezindex: 1001 variable inside flexdropdown.js */
    display: none;
}

div.flexmenumobile {
    /* main mobile menu container */
    position: fixed;
    color: white;
    width: 250px;
    /* width of mobile menu */
    display: none;
}

div.flexmenumobile a {
    color: white;
    text-decoration: none;
}


div.flexmenumobile ul {
    /* style for all ULs in general inside mobile menu */
    list-style: none;
    width: 100%;
    top: 0;
    left: 0;
    background: white;
    border: 1px solid black;
    margin: 0;
    padding: 0;
    position: absolute;
    opacity: 0;
    visibility: hidden;
}



div.flexmenumobile ul li {
    border-bottom: 1px solid gray;
    position: relative;
    font-weight: bold;
}

div.flexmenumobile ul li.breadcrumb {
    /* breadcrumb LI that's added to the top of every sub level UL */
    cursor: pointer;
    padding: 8px;
    padding-left: 5px;
    background: gray;
    font-size: 1.1em;
}

div.flexmenumobile ul li a {
    display: block;
    color: black;
    background: #fae7a9;
    border-bottom: 1px solid black;
    padding: 6px;
    font-size: 1.1em;
}

div.flexmenumobile ul li a:hover {
    background: #F0CE7D;
}

div.flexmenumobile ul img.backarrow {
    margin-right: 5px;
}

div.flexmenumobile ul img.rightarrow {
    position: absolute;
    right: 5px;
    top: 10px;
}