.navbar {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    margin-bottom: 0
}
.navbar-default {
    background-color: transparent;
    border: none
}
.navbar-collapse {
    border: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none
}
.dnn-menu .topLevel li.menuItem a {
    color: #d5dee8; 
}
.dnn-menu .topLevel > li > a:focus,
.dnn-menu .topLevel > li > a:hover {
    color: #FFFFFF;
}

.dnn-menu .topLevel li.menuItem ul li a {
    color: #000000;
    justify-content: right !important;
}


.dnn-menu .topLevel li.menuItem ul li a:hover,
.dnn-menu .topLevel li.menuItem ul li a:focus {
    color: #FFFFFF;
}


.dnn-menu .topLevel > .open > a,
.dnn-menu .topLevel > .open > a:hover,
.dnn-menu .topLevel > .open > a:focus {
    background: none
}
.dnn-menu .topLevel > .active.open > a,
.dnn-menu .topLevel > .active.open > a:hover,
.dnn-menu .topLevel > .active.open > a:focus {
    background-color: #e7e7e7;
}

.dnn-menu .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
}

.dnn-menu .dropdown-menu {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0px 0px 2px 2px;
    background: #f1f1f1;
    padding: 0
}

.dropdown-menu-right {
    width: max-content !important;
    position: absolute;
    left: initial !important;
    right: 0px !important;
}




.dnn-menu ul li ul.subLevel {
    margin-top: 25px !important;
    background-color: #FFFFFF !important;
}

.dnn-menu .dropdown-menu::after {
    bottom: 100%;
    left: 35%;
    border: solid transparent;
    /*content: " ";*/
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(241,241,241,0);
    border-bottom-color: #f1f1f1;
    border-width: 10px;
    margin-left: -30px
}
    .dnn-menu .dropdown-menu li {
        background: none;
        float: none;
        clear: both;
        width: auto;
        padding: 5px 5px;
        -o-transition: all .3s ease 0s;
        -webkit-transition: all .3s ease 0s;
        -moz-transition: all .3s ease 0s;
        transition: all .3s ease 0s
    }
        .dnn-menu .dropdown-menu li:hover {
            background: #009EE3;
        }
    .dnn-menu .dropdown-menu li:last-child {
        border: none
    }
    .dnn-menu .dropdown-menu li > a {
        background: transparent
    }
    .dnn-menu .dropdown-menu li.active > a, 
    .dnn-menu .dropdown-menu li.active a:hover, 
    .dnn-menu .dropdown-menu li.active a:focus {
        color: #3f3f3f;
        font-weight: 600;
    }
    .dnn-menu .dropdown-menu a:hover {
        color: #fff;
    }

.dnn-menu .subLevelRight::after {
    border: none
}
/*@media only screen and (min-width:768px) and (max-width:995px) {
    .dnn-menu .nav li {
        font-size: 15px
    }
}
*/

.dnn-menu ul li.menuItem a {
    font-size: 20px;
    font-weight:normal !important;
    /*font-weight: 400;*/
    /*line-height: 23px;*/
    letter-spacing: 0em;
    text-align: left;
    text-transform: uppercase;
    color: #FFFFFF;
    background-color: transparent;
    text-decoration:none;
}

.dnn-menu ul.dropdown-menu li a {
    font-size: 16px;
    /*font-weight: 400;*/
    line-height: 23px;
    letter-spacing: 0em;
    text-align: right !important;
    text-transform: uppercase;
    color: black;
    background-color: transparent;
    padding-right:0;
}

.dnn-menu ul li a:hover {
    cursor: pointer;
}

@media only screen and (max-width:1305px) and (min-width:1200px) {
    .dnn-menu ul li.menuItem a {
        font-size: 18px;
        padding-left:10px !important;
        padding-right:10px !important;
    }
}

    @media only screen and (max-width:1199px) {
        .dnn-menu .dropdown-menu {
            padding: 0
        }


        .navbar-collapse {
            align-items: end !important;
            flex-direction: column !important;
            display: flex !important;
        }

        .dnn-menu .topLevel {
            margin-right: 0px;
        }

        .dnn-menu .dropdown-menu::after {
            border: none;
            pointer-events: none;
            border-color: none;
            border-width: 0
        }

        .dnn-menu .dropdown-menu .subLevel {
            margin-top:25px !important;
            padding: 0
        }

            .dnn-menu .dropdown-menu.subLevel li.active a span {
                color: #3f3f3f;
            }

            .dnn-menu .dropdown-menu.subLevel li {
                background: #4a4f54;
                border-bottom: 1px solid #4a4b4c;
                padding: 0
            }

        .dnn-menu .dropdown-menu.subLevelRight li {
            background: #5d6062;
            padding: 0;
            height:45px;
        }

        .dnn-menu .topLevel li {
            position: relative;
            background: #FFFFFF; /* #383c40 ;*/
            list-style-type: none;
            float: none;
            width: 100%;
            margin-bottom: 0;
        }

        .dnn-menu .topLevel > li > a {
            display: block;
            color: #3f3f3f !important;
            font-weight: bold !important;
            padding-top: 5px;
            padding-bottom: 5px;
            text-align: right !important;
            padding-right: 16px;
        }

            .dnn-menu .topLevel > li > a:hover {
                color: #000000 !important;
            }

        .dnn-menu .topLevel li a span {
            line-height: 52px;
            margin: 0;
            padding: 0 15px;
            font-size: 15px
        }

        .dnn-menu .topLevel .dropdown.open a span {
            color: #7ca0c0
        }

        .dnn-menu .topLevel .dropdown-menu.subLevel a span {
            color: #fff;
        }

        .dnn-menu .topLevel > li > a {
            color: #fff
        }

            .dnn-menu .topLevel > li > a:hover span {
                color: #7ca0c0
            }

        .dnn-menu .dropdown.open .subLevel > li a:hover span {
            /*color: #69849d*/
        }

        .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: #2c2f33;
            display: block;
            margin: 0;
            border-radius: 0;
            font-size: 1.3em
        }

        .caret-down {
            display: none;
        }

        .dnn-menu ul li a span.caret-right {
            /*display: none;*/
        }

        .dnn-menu ul li.menuItem {
            margin-top: 1rem;
        }



        .dnn-menu ul.dropdown-menu li a {
            color: black;
            background-color: white;
            padding-right: 0;
            border:none !important;
        }


        .dnn-menu ul.dropdown-menu-right{
            border: none !important;
            box-shadow: none;
        }

        .dropdown-menu-right li{
            border: none !important;
            background:white !important;
        }

        .dropdown-menu-right li a {
            border: none !important;
        }
            .dropdown-menu-right li a:hover {
                color:#000000 !important;
            }

    }

    @media only screen and (min-width:1200px) {
        .caret-right {
            display: none;
        }
    }

    .collapse:not(.show) {
        display: none !important;
    }

.caret-right-rotate-90{
    transform:rotate(90deg);
}

.dnn-menu ul li.dropdown ul li {
    height: 45px;
}


@media only screen and (min-width:1200px) {
    .dnn-menu ul li.dropdown:hover ul.dropdown-menu-right, ul.dropdown-menu-right:hover {
        display: block;
    }

    .dnn-menu ul li.dropdown .has-submenu {
        padding-bottom: 40px !important;
    }

}

@media only screen and (max-width:1199px) {
    /*open submenu on mobile on click*/
    .menuItem.dropdown.open ul.dropdown-menu {
        display: block;
    }

    /*close submenu on mobile on click*/
    .menuItem.dropdown:not(.open) ul.dropdown-menu {
        display: none;
    }

    /*toggle rotate down arrow-right on submenu unfold*/
    .menuItem.dropdown.open > a > svg.caret-right {
        transform: rotate(90deg);
    }
}
