#dssmenu,
#dssmenu ul,
#dssmenu ul li,
#dssmenu ul li a,
#dssmenu #menu-button {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 2;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size:16px;
}

#dssmenu:after,
#dssmenu>ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

#dssmenu #menu-button {
    display: none;
}

#dssmenu.small-screen #menu-button {
    display: block;
    padding: 17px;
    color: #dddddd;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

#dssmenu.small-screen #menu-button:after {
    position: absolute;
    top: 22px;
    right: 17px;
    display: block;
    height: 4px;
    width: 20px;
    border-top: 2px solid #dddddd;
    border-bottom: 2px solid #dddddd;
    content: '';
}

#dssmenu.small-screen #menu-button:before {
    position: absolute;
    top: 16px;
    right: 17px;
    display: block;
    height: 2px;
    width: 20px;
    background: #dddddd;
    content: '';
}

#dssmenu {
    /*font-family: Montserrat, sans-serif;*/
    background: #e1ecef !important; /*was #595A5B*/
    position: relative;
    /*margin-left: 217px;*/
    margin-top: -18px;
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    /*-webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;*/
    z-index: 7;
}

#dssmenu>ul>li {
    float: left;
    padding: 0px;
    line-height: 50px;
    /*-webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;*/
    font-weight: 300;
}

.dssmenu ul li>a {
    padding: 15px 35px 30px 35px;
    text-align: center;
    line-height: 14px;
}



#dssmenu > ul > li:last-child > a, #dssmenu > ul > li:last-child > a:after {
  border-right: none !important;
}




#dssmenu ul li a,
.dssmenu li.active {
    display: block;
    text-decoration: none;
    font-size: .95em;
    background-color: #e1ecef;
    border-right: 2px solid #fff;
    color: #003049; /*(dark-blue)*/
    text-shadow: none;
 
    
}





#dssmenu.align-center>ul {
    text-align: center;
}

#dssmenu.align-center>ul>li {
    display: inline-block;
    float: none;
}

#dssmenu.align-center ul ul {
    text-align: left;
}

#dssmenu.align-right>ul>li {
    float: right;
}

#dssmenu>ul>li>a {
    padding: 10px 39px;
    text-decoration: none;
}

#dssmenu ul ul li:first-child a {
    /*border-radius: 0 5px 0 0;
    /* border: 1px solid black; */
}

#dssmenu ul ul li:last-child a {
    border-radius: 0 0 5px 5px;
    /* border: 1px solid black; */
}

#dssmenu>ul>li:hover>a {
    color: #ffffff;
    background-color:#003049 !important;   /*was #f0534a*/
}

#dssmenu ul ul {
    position: absolute;
    left: -9999px;
    
}

#dssmenu.align-right ul ul {
    text-align: right;
}

#dssmenu ul ul li {
    height: 0;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

#dssmenu li:hover>ul {
    left: auto;
}

#dssmenu.align-right li:hover>ul {
    left: auto;
    right: 0;
}

#dssmenu li:hover>ul>li {
    height: auto;
}

#dssmenu ul ul ul {
    margin-left: 100%;
    top: 0;
}

#dssmenu.align-right ul ul ul {
    margin-left: 0;
    margin-right: 100%;
}

#dssmenu ul ul li a {
    width: 170px;
    text-decoration: none;
    color: #FFFFFF;
    text-align: left;
    line-height: 20px !important;
    border-bottom: 1px #3b646f solid;
    padding: 15px 30px;
    height: auto;
    /* background-color: #f0f4fc; */
    background: #003049; /*was #f0534a*/
    border-radius: 0;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    min-width: 256px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;  
    /*text-transform: uppercase;*/
}

#dssmenu ul ul li:last-child>a,
#dssmenu ul ul li.last-item>a {
    border-bottom: 0;
}

#dssmenu ul ul li:hover>a,
#dssmenu ul ul li a:hover {
    color: #003049;
    /*background-color: #bf1e2d;*/
    background: #e1ecef;/* was #bf1e2d*/
}

#dssmenu ul ul li.has-sub>a:after {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #dddddd;
    content: '';
}

#dssmenu.align-right ul ul li.has-sub>a:after {
    right: auto;
    left: 11px;
}

#dssmenu ul ul li.has-sub>a:before {
    position: absolute;
    top: 13px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #dddddd;
    content: '';
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

#dssmenu.align-right ul ul li.has-sub>a:before {
    right: auto;
    left: 14px;
}

#dssmenu ul ul>li.has-sub:hover>a:before {
    top: 17px;
    height: 0;
}

@media all and (max-width: 1150px),
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1023px),
only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1023px),
only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1023px),
only screen and (min-device-pixel-ratio: 2) and (max-width: 1023px),
only screen and (min-resolution: 192dpi) and (max-width: 1023px),
only screen and (min-resolution: 2dppx) and (max-width: 1023px) {
    #dssmenu {
        margin-left: 0;
    }
}

@media all and (max-width: 999px),
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1023px),
only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1023px),
only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1023px),
only screen and (min-device-pixel-ratio: 2) and (max-width: 1023px),
only screen and (min-resolution: 192dpi) and (max-width: 1023px),
only screen and (min-resolution: 2dppx) and (max-width: 1023px) {
    #dssmenu {
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }
    #dssmenu ul {
        width: 100%;
        display: none;
    }
    #dssmenu.align-center>ul {
        text-align: left;
    }
    #dssmenu ul li {
        width: 100%;
        border-top: 1px solid #eee;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    #dssmenu ul ul li,
    #dssmenu li:hover>ul>li {
        height: auto;
    }
    #dssmenu ul li a,
    #dssmenu ul ul li a {
        width: 100%;
        border-bottom: 0;
    }
    .hide-break {display: none;}
    #dssmenu ul li a {
        background: #fff;
        color: #003049;
        padding: 12px 10px;
        border-radius: 0;
        text-align: left;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        font-weight:600;
    }
    #dssmenu>ul>li {
        float: none;
    }
    #dssmenu ul ul ul li a {
        padding-left: 35px;
    }
    #dssmenu ul ul li a {
        color: #fff;
        background: #015481;
        background-color:#003049;
        padding: 15px 30px;
        font-size: 1.0em;
        text-shadow: none;
        font-weight:300;


    }
    #dssmenu ul ul li:hover>a,
    #dssmenu ul ul li.active>a {
        color: #003049;
        font-weight:600;
    }
    #dssmenu ul ul li:first-child a {
        border-radius: 0;
    }
    #dssmenu ul ul li:last-child a {
        border-radius: 0;
    }
    #dssmenu ul ul,
    #dssmenu ul ul ul,
    #dssmenu.align-right ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left;
    }
    #dssmenu>ul>li.has-sub>a:after,
    #dssmenu>ul>li.has-sub>a:before,
    #dssmenu ul ul>li.has-sub>a:after,
    #dssmenu ul ul>li.has-sub>a:before {
        display: none;
    }
    #dssmenu #menu-button {
        display: block;
        padding: 25px 0 25px 40px;
        color: #FFF;
        cursor: pointer;
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 700;
        background: #e1ecef;
    }
    #dssmenu #menu-button:after {
        position: absolute;
        top: 22px;
        left: 10px;
        display: block;
        height: 4px;
        width: 20px;
        border-top: 3px solid #003049;
        border-bottom: 3px solid #003049;
        content: '';
    }
    #dssmenu #menu-button:before {
        position: absolute;
        top: 15px;
        left: 10px;
        display: block;
        height: 3px;
        width: 20px;
        background: #003049;
        content: '';
    }
    #dssmenu #menu-button.menu-opened:after {
        top: 23px;
        border: 0;
        height: 2px;
        width: 15px;
        background: #003049;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    #dssmenu #menu-button.menu-opened:before {
        top: 23px;
        background: #003049;
        width: 15px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    #dssmenu .submenu-button {
        position: absolute;
        z-index: 99;
        right: 0;
        top: 0;
        display: block;
        /*border-left: 1px solid rgba(120, 120, 120, 0.2);*/
        height: 46px;
        width: 46px;
        cursor: pointer;
    }
    #dssmenu .submenu-button.submenu-opened {
        /*background: #262626;*/
    }
    #dssmenu ul ul .submenu-button {
        height: 34px;
        width: 34px;
    }
    #dssmenu .submenu-button:after {

        position: absolute;
        top: 17px;
        right: 22px;
        content: '';
        border: solid #fff;
        border-width: 0 3px 3px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
    }
    #dssmenu ul ul .submenu-button:after {
        top: 15px;
        right: 13px;
    }
    #dssmenu .submenu-button.submenu-opened:after {
        /*ackground: #ffffff;*/
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
    }
    #dssmenu .submenu-button:before {
        /*display: block;
    width: 2px;
    height: 8px;
    background: #dddddd;*/
        position: absolute;
        top: 13px;
        right: 22px;
        content: '';
        border: solid #003049;
        border-width: 0 3px 3px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
    }
    #dssmenu ul ul .submenu-button:before {
        top: 12px;
        right: 16px;
    }
    #dssmenu .submenu-button.submenu-opened:before {
        display: none;
    }
}