.cbp-hsmenu-toggler {
    display: none;
    padding: 14px 10px;
    font-size: 20px;
    cursor: pointer;
    margin-left: -15px;
    margin-right: -15px;
}

.cbp-hsmenu-wrapper {
    position: relative;
    margin-left: -15px;
    margin-right: -15px;
    font-size: 14px;
}

.cbp-hsmenu-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

.cbp-hsinner {
    position: relative;
    z-index: 100;
}

.cbp-hsmenu-wrapper .cbp-hsmenu {
    width: 100%;
}

.cbp-hsmenu > li {
    display: inline-block;
}

.cbp-hsmenu > li:first-child {
    margin-left: 0;
}

.cbp-hsmenu > li > a {
    display: inline-block;
    position: relative;
    z-index: 10000;
    outline: none;
    padding: 14px 14px;
}

.cbp-hsmenu li.active > a {
    color: #deae4c;
}

/*.no-touch .cbp-hsmenu > li > a:hover,
.no-touch .cbp-hsmenu > li > a:focus,
.cbp-hsmenu > li.cbp-hsitem-open > a {
    color: #02639d;
}*/

.cbp-hssubmenu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    z-index: 0;
    text-align: center;
    visibility: hidden;
}

.cbp-hssubmenu:before,
.cbp-hssubmenu:after {
    content: " ";
    display: table;
}

.cbp-hssubmenu:after {
    clear: both;
}

.cbp-hssubmenu > li {
    width: 16.2%;
    display: inline-block;
    vertical-align: top;
    box-shadow: -28px 0 0 -27px #ddd, 0 -28px 0 -27px #ddd;
    opacity: 0;
    -webkit-transition: opacity 0.1s 0s;
    -moz-transition: opacity 0.1s 0s;
    transition: opacity 0.1s 0s;
}

.cbp-hssubmenu > li:nth-child(-n+6) {
    box-shadow: -28px 0 0 -27px #ddd;
}

.cbp-hssubmenu > li:nth-child(6n+1) {
    box-shadow: 0 -28px 0 -27px #ddd;
}

.cbp-hssubmenu > li:first-child {
    box-shadow: none;
}

.cbp-hssubmenu > li a {
    display: block;
    text-align: center;
    color: #a2a2a2;
    outline: none;
    padding: 2em 1em 1em 1em;
}

.no-touch .cbp-hssubmenu > li a:hover,
.no-touch .cbp-hssubmenu > li a:focus {
    color: #888;
}

.cbp-hssubmenu > li a img {
    border: none;
    outline: none;
    display: inline-block;
    margin: 0;
    max-width: 100%;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.no-touch .cbp-hssubmenu > li a:hover img {
    opacity: 0.5;
}

.cbp-hssubmenu > li a span {
    display: block;
    min-height: 3em;
    margin-top: 0.4em;
}

.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu {
    z-index: 1000;
    visibility: visible;
}

.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu > li {
    opacity: 1;
    -webkit-transition: opacity 0.5s 0.1s;
    -moz-transition: opacity 0.5s 0.1s;
    transition: opacity 0.5s 0.1s;
}

.cbp-hsmenubg {
    background: #ffffff;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    z-index: 99;
    height: 0px;
}

.no-touch .cbp-hsmenubg {
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    transition: height 0.3s;
}

@media screen and (max-width: 51.4375em) {
    .cbp-hsmenu > li {
        background: #032950;
        border-top: 1px solid rgba(255, 255, 255, 0.5);
        text-align: center;
        margin: 0 auto;
        display: block;
    }

    .cbp-hsmenu > li:first-child {
        border-top: none;
    }

    .cbp-hsmenu > li > a {
        display: block;
        color: #fff;
        text-decoration: none;
        padding: 7px 0px;
    }

    .cbp-hsmenu > li > a:hover {
        text-decoration: none;
    }

    .cbp-hsmenu > li > a:not(:only-child):before {
        line-height: 1.8;
        right: 0;
        position: absolute;
        font-size: 200%;
    }

    .cbp-hsmenubg {
        display: none;
    }

    .cbp-hssubmenu {
        background: #f7f7f7;
        position: relative;
        overflow: hidden;
        height: 0;
    }

    .cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu {
        height: auto;
    }

    .cbp-hssubmenu > li {
        width: 100%;
    }

    .cbp-hsmenu-wrapper {
        display: none;
    }

    .cbp-hsmenu-toggler {
        display: block;
    }
}

/*@media screen and (max-width: 25em) {*/
@media screen and (max-width: 991px) {
    .cbp-hssubmenu > li {
        width: 100%;
        display: block;
    }

    .cbp-hsmenu-wrapper .cbp-hssubmenu > li {
        box-shadow: 0 1px #cecece;
        text-align: left;
    }

    .cbp-hssubmenu > li a {
        text-align: left;
        line-height: 50px;
        padding: 0.4em 1em;
    }

    .cbp-hssubmenu > li a img {
        float: left;
        max-height: 50px;
    }

    .cbp-hssubmenu > li a span {
        min-height: 0;
        margin: 0;
    }
}

@media screen and (max-width: 991px) {
    .cbp-hsmenu > li > a {
        padding: 14px 10px;
    }
}