@charset "UTF-8";

/* Color Management
 */

#dn_menu {
    background-color: rgba(221, 68, 68, 1); /*#D44F*/
}

#dn_menu li {
    background-image: linear-gradient(rgba(238, 102, 102, 1), rgba(0, 0, 0, 0)); /*#E66F, #0000*/
    border-top-color: rgba(255, 255, 255, 0.53); /*#FFF8*/
}

#dn_menu > li {
    border-right-color: rgba(255, 255, 255, 0.53); /*#FFF8*/
}

#dn_menu ul {
    background-color: rgba(221, 68, 68, 1); /*#D44F*/
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.6); /*#0009*/
}

#dn_menu ul ul {
    border-left-color: rgba(255, 255, 255, 0.27); /*#FFF4*/
}

#dn_menu .item-wrapper {
    color: rgba(255, 255, 255, 1); /*#FFFF*/
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.27); /*#0004*/
}

#dn_menu .item-wrapper a {
    color: rgba(255, 255, 255, 1); /*#FFFF*/
}

#dn_menu .item-wrapper .tail .target-icon {
    border-left-color: rgba(255, 255, 255, 0.53); /*#FFF8*/
}

#dn_menu .item-wrapper .tail .target-icon:hover {
    background-color: rgba(255, 255, 255, 0.2); /*#FFF3*/
}

@media screen and (max-width:1024px) {
    #dn_menu.small-screen-show {
        box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.6); /*#0009*/
    }

    #dn_menu li.small-screen-dim {
        background-color: rgba(0, 0, 0, 0.13); /*#0002*/
        border-bottom-color: rgba(85, 85, 85, 1); /*#555F*/
    }

    #dn_menu > li {
        border-top-color: rgba(255, 255, 255, 0.53); /*#FFF8*/
    }

    #dn_menu > li.small-screen-toggle {
        background-color: rgba(85, 85, 85, 1); /*#555F*/
        color: rgba(255, 255, 255, 1); /*#FFFF*/
    }
}

/* Functional Styling
 */

#dn_menu {
    display: none;
    list-style-type: none;
}

#dn_menu li {
    display: block;
}

#dn_menu > li > .item-wrapper > .head {
    opacity: 0;
}

#dn_menu ul {
    display: none;
    list-style-type: none;
}

#dn_menu .item-wrapper .head,
#dn_menu .item-wrapper .tail,
#dn_menu .item-wrapper .title {
    display: inline-block;
}

#dn_menu .item-wrapper .target-icon::before {
    content: "🗔";
}

#dn_menu .item-wrapper .sub-menu-icon::before {
    content: "+";
}

#dn_menu .item-wrapper .sub-menu-icon.opened::before {
    content: "-";
}

#dn_menu .small-screen-toggle {
    display: none;
}

#dn_menu .sub-menu-show {
    display: block;
}

@media screen and (max-width:1024px) {
    #dn_menu li.small-screen-hide {
        display: none;
    }

    #dn_menu > li {
        display: none;
    }

    #dn_menu > li.small-screen-toggle {
        display: block;
    }

    #dn_menu > li > .item-wrapper > .head {
        opacity: 1;
    }

    #dn_menu.small-screen-show > li {
        display: block;
    }

    #dn_menu.small-screen-show > li.small-screen-hide {
        display: none;
    }

}

/* Visual Styling
 */

#dn_menu {
    font-family: Arial, Helvetica, sans-serif;
    margin: 4px;
    padding: 0;
}

#dn_menu:after {
    clear: both;
    content: "";
    display: table;
}

#dn_menu li {
    border-top-style: solid;
    border-top-width: 1px;
    cursor: pointer;
    margin: 0;
    padding: 0;
    transition: 0.2s;
    vertical-align: top;
}

#dn_menu > li {
    border-right-style: solid;
    border-right-width: 1px;
    border-top-width: 0;
    float: left;
}

#dn_menu > li > ul {
    margin-left: 2px;
}

#dn_menu ul {
    padding-left: 0;
    position: absolute;
    top: 50px;
}

#dn_menu ul ul {
    border-left-style: solid;
    border-left-width: 1px;
    left: 100%;
    margin-top: -46px;
    top: inherit;
}

#dn_menu ul > li:after {
    clear: both;
    content: "";
    display: table;
}

#dn_menu .item-wrapper {
    font-size: 17px;
    font-weight: bolder;
    margin: 0;
    padding-left: 16px;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 68); /*#0004*/
    user-select: none;
    -webkit-touch-callout: none;  /*iOS Safari */
      -webkit-user-select: none;  /*afari*/
       -khtml-user-select: none;  /*Konqueror HTML*/
         -moz-user-select: none;  /*Firefox*/
          -ms-user-select: none;  /*Internet Explorer/Edge*/
    white-space: nowrap;
}

#dn_menu .item-wrapper * {
    border: none;
    margin: 0;
    padding: 0;
}

#dn_menu .item-wrapper a {
    text-decoration: none;
    color: white;
}

#dn_menu .item-wrapper .head,
#dn_menu .item-wrapper .tail,
#dn_menu .item-wrapper .title {
    padding: 14px 0;
    vertical-align: middle;
}

#dn_menu .item-wrapper .head {
    text-align: left;
    width: 24px;
}

#dn_menu .item-wrapper .tail {
    text-align: center;
    width: 32px;
    margin-left: 16px;
}

#dn_menu .item-wrapper .tail .target-icon {
    padding: 14px 6px;
    border-left-style: solid;
    border-left-width: 1px;
}

#dn_menu .item-wrapper .title {
    text-align: left;
}

#dn_menu .item-wrapper:hover .title .text {
    text-decoration: underline;
}

@media screen and (max-width:1024px) {
    #dn_menu li {
        position: relative;
        white-space: normal;
    }

    #dn_menu li.small-screen-dim {
        background-image: none;
        border-bottom-style: solid;
        border-bottom-width: 3px;
    }

    #dn_menu li.small-screen-dim ul {
        margin-top: 3px;
    }

    #dn_menu > li {
        border-right: none;
        border-top-style: solid;
        border-top-width: 1px;
        float: none;
        position: relative;
    }

    #dn_menu > li:after {
        clear: both;
        content: "";
        display: table;
    }

    #dn_menu > li.small-screen-toggle {
        background-image: none;
        border-top: none;
        cursor: pointer;
        float: none;
        padding: 14px 0;
        padding-right: 30px;
        position: static;
        text-align: right;
    }

    #dn_menu > li > ul {
        margin-left: 0;
    }

    #dn_menu ul {
        position: absolute;
        top: initial;
        width: 100%;
    }

    #dn_menu ul ul {
        border: none;
        left: initial;
        margin-top: initial;
        top: initial;
    }

    #dn_menu .item-wrapper .tail {
        position: absolute;
        right: 0;
    }
}
