.sm-btn {
    background: transparent;
    border: 1px solid #EBEDF0;
    border-radius: 3px;
    /*border-radius: 8px;*/
    /*box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);*/
}
.sm-btn a {
    padding: 13px 10px;
}

.sm-btn a.has-submenu {
    padding-right: 20px;
}

.sm-btn a, .sm-btn a:hover, .sm-btn a:focus, .sm-btn a:active {
    /*padding: 13px 10px;*/
    /* make room for the toggle button (sub indicator) */
    /*padding-right: 58px;*/
    background: #0747a6;
    /*background-image: linear-gradient(to bottom, #3298c8, #2e8cb8);*/
    color: #deebff;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
    font-size: 14px;
    /*font-weight: bold;*/
    /*line-height: 23px;*/
    text-decoration: none;
    /*text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);*/
}
.sm-btn a.current {
    background: #006892;
    /*background-image: linear-gradient(to bottom, #006188, #006f9c);*/
    color: #fff;
}
.sm-btn a.disabled {
    color: #a1d1e8;
}
.sm-btn a .sub-arrow {
    position: absolute;
    /*top: 50%;*/
    /*margin-top: -17px;*/
    /*left: auto;*/
    /*right: 4px;*/
    width: 18px;
    height: 18px;
    /*overflow: hidden;*/
    /*font: bold 16px/34px monospace !important;*/
    /*text-align: center;*/
    /*text-shadow: none;*/
    /*background: rgba(0, 0, 0, 0.1);*/
    /*border-radius: 4px;*/
}
.sm-btn a .sub-arrow::before {
    content: '+';
}
.sm-btn a.highlighted .sub-arrow::before {
    content: '-';
}
.sm-btn > li:first-child > a, .sm-btn > li:first-child > :not(ul) a {
    /*border-radius: 8px 8px 0 0;*/
}
.sm-btn > li:last-child > a, .sm-btn > li:last-child > *:not(ul) a, .sm-btn > li:last-child > ul, .sm-btn > li:last-child > ul > li:last-child > a, .sm-btn > li:last-child > ul > li:last-child > *:not(ul) a, .sm-btn > li:last-child > ul > li:last-child > ul, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul {
    /*border-radius: 0 0 8px 8px;*/
    min-width: -moz-available !important;
    min-width: -webkit-fill-available !important;
}
.sm-btn > li:first-child > a, .sm-btn > li:first-child > *:not(ul) a, .sm-btn > li:first-child > ul, .sm-btn > li:first-child > ul > li:first-child > a, .sm-btn > li:first-child > ul > li:first-child > *:not(ul) a, .sm-btn > li:first-child > ul > li:first-child > ul, .sm-btn > li:first-child > ul > li:first-child > ul > li:first-child > a, .sm-btn > li:first-child > ul > li:first-child > ul > li:first-child > *:not(ul) a, .sm-btn > li:first-child > ul > li:first-child > ul > li:first-child > ul, .sm-btn > li:first-child > ul > li:first-child > ul > li:first-child > ul > li:first-child > a, .sm-btn > li:first-child > ul > li:first-child > ul > li:first-child > ul > li:first-child > *:not(ul) a, .sm-btn > li:first-child > ul > li:first-child > ul > li:first-child > ul > li:first-child > ul, .sm-btn > li:first-child > ul > li:first-child > ul > li:first-child > ul > li:first-child > ul > li:first-child > a, .sm-btn > li:first-child > ul > li:first-child > ul > li:first-child > ul > li:first-child > ul > li:first-child > *:not(ul) a, .sm-btn > li:first-child > ul > li:first-child > ul > li:first-child > ul > li:first-child > ul > li:first-child > ul {
    /*border-radius: 0 0 8px 8px;*/
    min-width: -moz-available !important;
    min-width: -webkit-fill-available !important;
}
.sm-btn > li:last-child > a.highlighted, .sm-btn > li:last-child > *:not(ul) a.highlighted, .sm-btn > li:last-child > ul > li:last-child > a.highlighted, .sm-btn > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-btn > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted {
    /*border-radius: 0;*/
}
.sm-btn ul {
    background: #fff;
}
.sm-btn ul ul {
    background: rgba(102, 102, 102, 0.1);
}
.sm-btn ul a, .sm-btn ul a:hover, .sm-btn ul a:focus, .sm-btn ul a:active {
    background: transparent;
    color: #2b82ac;
    font-size: 12px;
    text-shadow: none;
    border-left: 8px solid transparent;
}
.sm-btn ul a.current {
    background: #006892;
    /*background-image: linear-gradient(to bottom, #006188, #006f9c);*/
    color: #fff;
}
.sm-btn ul a.disabled {
    color: #b3b3b3;
}
.sm-btn ul ul a,
.sm-btn ul ul a:hover,
.sm-btn ul ul a:focus,
.sm-btn ul ul a:active {
    border-left: 16px solid transparent;
}
.sm-btn ul ul ul a,
.sm-btn ul ul ul a:hover,
.sm-btn ul ul ul a:focus,
.sm-btn ul ul ul a:active {
    border-left: 24px solid transparent;
}
.sm-btn ul ul ul ul a,
.sm-btn ul ul ul ul a:hover,
.sm-btn ul ul ul ul a:focus,
.sm-btn ul ul ul ul a:active {
    border-left: 32px solid transparent;
}
.sm-btn ul ul ul ul ul a,
.sm-btn ul ul ul ul ul a:hover,
.sm-btn ul ul ul ul ul a:focus,
.sm-btn ul ul ul ul ul a:active {
    border-left: 40px solid transparent;
}
.sm-btn ul li {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.sm-btn ul li:first-child {
    border-top: 0;
}

@media (min-width: 768px) {
    /* Switch to desktop layout
    -----------------------------------------------
       These transform the menu tree from
       collapsible to desktop (navbar + dropdowns)
    -----------------------------------------------*/
    /* start... (it's not recommended editing these rules) */
    .sm-btn ul {
        position: absolute;
        width: 12em;
    }

    .sm-btn li {
        float: left;
    }

    .sm-btn.sm-rtl li {
        float: right;
    }

    .sm-btn ul li, .sm-btn.sm-rtl ul li, .sm-btn.sm-vertical li {
        float: none;
    }

    .sm-btn a {
        white-space: nowrap;
    }

    .sm-btn ul a, .sm-btn.sm-vertical a {
        white-space: normal;
    }

    .sm-btn .sm-nowrap > li > a, .sm-btn .sm-nowrap > li > :not(ul) a {
        white-space: nowrap;
    }

    /* ...end */
    .sm-btn {
        background: #EBEDF0;
        /*background-image: linear-gradient(to bottom, #3298c8, #2e8cb8);*/
        /*border-radius: 8px;*/
        /*box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);*/
    }

    .sm-btn a {
        padding: .2em .5em;
    }

    .sm-btn a.has-submenu {
        padding-right: 20px;
    }

    .sm-btn a, .sm-btn a:hover, .sm-btn a:focus, .sm-btn a:active, .sm-btn a.highlighted {
        /*padding: 13px 10px;*/
        background: #EBEDF0;
        /*background-image: linear-gradient(to bottom, #3298c8, #2e8cb8);*/
        color: #344563;
    }
    .sm-btn a:hover, .sm-btn a:focus, .sm-btn a:active, .sm-btn a.highlighted {
        background: #E1E4E9;
        /*background-image: linear-gradient(to bottom, #2d89b4, #297ca3);*/
    }
    .sm-btn a.current {
        background: #E1E4E9;
        /*background-image: linear-gradient(to bottom, #006188, #006f9c);*/
        color: #fff;
    }
    .sm-btn a.disabled {
        background: #3092c0;
        /*background-image: linear-gradient(to bottom, #3298c8, #2e8cb8);*/
        color: #a1d1e8;
    }
    .sm-btn a .sub-arrow {
        /*top: 18px;*/
        /*margin-top: 0;*/
        /*bottom: 0px;*/
        /*left: 50%;*/
        /*margin-left: 4px;*/
        /*right: auto;*/
        /*width: 0;*/
        /*height: 0;*/
        /*border-width: 5px;*/
        /*border-style: solid dashed dashed dashed;*/
        /*border-color: #a1d1e8 transparent transparent transparent;*/
        /*background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAPUlEQVR4AWMYLmAU/P//3wCPnAOxhjj8h4B8LHL9IAnChmFqyMci1g8TI9kwMg3BNAzdEEoM6x+OiWoUAAC20V4NUUoi9AAAAABJRU5ErkJggg==");*/
        background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5QEfCzQu1O5fMQAAAD1JREFUOMtjYBgFwwSYuCb/J1WOEZ/CM7vnMhIrx0jIVpgGfIbgNAifF7AZgtcgbIbhMoTogMcX+KNgKAMAvzwfcXEj+EcAAAAASUVORK5CYII=");
        background-repeat: no-repeat;
        /*border-radius: 0;*/
    }
    .sm-btn a .sub-arrow::before {
        display: none;
    }
    .sm-btn > li:first-child > a, .sm-btn > li:first-child > :not(ul) a {
        /*border-radius: 8px 0 0 8px;*/
    }
    .sm-btn > li:last-child > a, .sm-btn > li:last-child > :not(ul) a {
        /*border-radius: 0 8px 8px 0 !important;*/
    }
    .sm-btn > li {
        /*border-left: 1px solid #2b82ac;*/
    }
    .sm-btn > li:first-child {
        border-left: 0;
    }
    .sm-btn ul {
        border: 1px solid #a8a8a8;
        /*padding: 6px 0;*/
        background: #fff;
        /*border-radius: 0 0 4px 4px !important;*/
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
        min-width: -moz-available !important;
        min-width: -webkit-fill-available !important;
    }
    .sm-btn ul ul {
        /*border-radius: 4px !important;*/
        background: #fff;
    }
    .sm-btn ul a, .sm-btn ul a:hover, .sm-btn ul a:focus, .sm-btn ul a:active, .sm-btn ul a.highlighted {
        border: 0 !important;
        padding: 6px 10px;
        background: transparent;
        color: #42526e;
        /*border-radius: 0 !important;*/
    }
    .sm-btn ul a:hover, .sm-btn ul a:focus, .sm-btn ul a:active, .sm-btn ul a.highlighted {
        background: #ebecf0;
        /*background-image: linear-gradient(to bottom, #3298c8, #2e8cb8);*/
        color: #42526e;
    }
    .sm-btn ul a.current {
        background: #006892;
        /*background-image: linear-gradient(to bottom, #006188, #006f9c);*/
        color: #fff;
    }
    .sm-btn ul a.disabled {
        background: #fff;
        color: #b3b3b3;
    }
    .sm-btn ul a .sub-arrow {
        top: 50%;
        margin-top: -5px;
        bottom: auto;
        left: auto;
        margin-left: 0;
        right: 10px;
        border-style: dashed dashed dashed solid;
        border-color: transparent transparent transparent #a1d1e8;
    }
    .sm-btn ul li {
        border: 0;
    }
    .sm-btn .scroll-up,
    .sm-btn .scroll-down {
        position: absolute;
        display: none;
        visibility: hidden;
        overflow: hidden;
        background: #fff;
        height: 20px;
    }
    .sm-btn .scroll-up-arrow,
    .sm-btn .scroll-down-arrow {
        position: absolute;
        top: -2px;
        left: 50%;
        margin-left: -8px;
        width: 0;
        height: 0;
        overflow: hidden;
        border-width: 8px;
        border-style: dashed dashed solid dashed;
        border-color: transparent transparent #2b82ac transparent;
    }
    .sm-btn .scroll-down-arrow {
        top: 6px;
        border-style: solid dashed dashed dashed;
        border-color: #2b82ac transparent transparent transparent;
    }
    .sm-btn.sm-rtl.sm-vertical a .sub-arrow {
        right: auto;
        left: 10px;
        border-style: dashed solid dashed dashed;
        border-color: transparent #a1d1e8 transparent transparent;
    }
    .sm-btn.sm-rtl > li:first-child > a, .sm-btn.sm-rtl > li:first-child > :not(ul) a {
        /*border-radius: 0 8px 8px 0;*/
    }
    .sm-btn.sm-rtl > li:last-child > a, .sm-btn.sm-rtl > li:last-child > :not(ul) a {
        /*border-radius: 8px 0 0 8px !important;*/
    }
    .sm-btn.sm-rtl > li:first-child {
        /*border-left: 1px solid #2b82ac;*/
    }
    .sm-btn.sm-rtl > li:last-child {
        border-left: 0;
    }
    .sm-btn.sm-rtl ul a .sub-arrow {
        right: auto;
        left: 10px;
        border-style: dashed solid dashed dashed;
        border-color: transparent #a1d1e8 transparent transparent;
    }
    .sm-btn.sm-vertical {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }
    .sm-btn.sm-vertical a {
        padding: 6px 10px;
    }
    .sm-btn.sm-vertical a .sub-arrow {
        top: 50%;
        margin-top: -5px;
        bottom: auto;
        left: auto;
        margin-left: 0;
        right: 10px;
        border-style: dashed dashed dashed solid;
        border-color: transparent transparent transparent #a1d1e8;
    }
    .sm-btn.sm-vertical > li:first-child > a, .sm-btn.sm-vertical > li:first-child > :not(ul) a {
        /*border-radius: 8px 8px 0 0;*/
    }
    .sm-btn.sm-vertical > li:last-child > a, .sm-btn.sm-vertical > li:last-child > :not(ul) a {
        /*border-radius: 0 0 8px 8px !important;*/
    }
    .sm-btn.sm-vertical > li {
        border-left: 0 !important;
    }
    .sm-btn.sm-vertical ul {
        /*border-radius: 4px !important;*/
    }
    .sm-btn.sm-vertical ul a {
        padding: 6px 10px;
    }
}
