#cssmenu>ul li.has-sub .rozwin {
    display: none;
}

#cssmenu {
    float: left;
    width: 100%;
    position: relative;
    background-repeat: no-repeat;
    background-size: auto;
    background-image: url(images/menu.png);
    background-color: #eee;
    border-bottom: solid black 1px;
    border-top: transparent;
}

[contrast="high"] #cssmenu {
    background-color: #333;
}

#cssmenu ul {
    list-style: none;
    padding: 0;
    margin-top: 0;
    line-height: 1;
}

#cssmenu>ul {
    position: relative;
    display: block;
    width: 100%;
    z-index: 50;
}

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

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

#cssmenu.align-center ul {
    text-align: center;
}

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

#cssmenu>ul>li {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0;
}

#cssmenu>ul>#menu-button {
    border-right: 1px;
    display: none;
}

#cssmenu ul li a {
    display: block;
    text-decoration: none;
}

#cssmenu>ul>li>a {
    font-size: 1.4rem;
    padding: 15px 11px;
    text-transform: uppercase;
}

#cssmenu li {
    background-color: #eee;
}

[contrast="high"] #cssmenu li {
    background-color: #333;
}

#cssmenu li:hover,
#cssmenu li:focus {
    background-color: #ddd;
}

[contrast="high"] #cssmenu li:hover,
[contrast="high"] #cssmenu li:focus {
    background-color: #333;
}

#cssmenu>ul>li.has-sub>a {
    padding-right: 32px;
}

#cssmenu>ul>li:hover>a {
    text-decoration: none;
}

#cssmenu li.has-sub::after {
    display: block;
    content: "";
    position: absolute;
    width: 0;
    height: 0;
}

#cssmenu>ul>li.has-sub::after {
    right: 10px;
    top: 18px;
    border: 5px solid transparent;
    border-top-color: #000;
}

#cssmenu>ul>li:hover::after {
    border-top-color: #fff;
}

#indicatorContainer {
    position: absolute;
    height: 12px;
    width: 100%;
    bottom: 0px;
    overflow: hidden;
    z-index: -1;
}

#pIndicator {
    position: absolute;
    height: 0;
    width: 100%;
    border: 12px solid transparent;
    z-index: -2;
    -webkit-transition: left .25s ease;
    -moz-transition: left .25s ease;
    -ms-transition: left .25s ease;
    -o-transition: left .25s ease;
    transition: left .25s ease;
}

#cIndicator {
    position: absolute;
    height: 0;
    width: 100%;
    border: 12px solid transparent;
    top: -12px;
    right: 100%;
    z-index: -2;
}

#cssmenu ul ul {
    position: absolute;
    left: -9999px;
    top: 70px;
    opacity: 0;
    -webkit-transition: opacity .3s ease, top .25s ease;
    -moz-transition: opacity .3s ease, top .25s ease;
    -ms-transition: opacity .3s ease, top .25s ease;
    -o-transition: opacity .3s ease, top .25s ease;
    transition: opacity .3s ease, top .25s ease;
    z-index: 10;
}

#cssmenu ul ul ul {
    top: 37px;
    padding-left: 5px;
}

#cssmenu ul ul li {
    position: relative;
}

#cssmenu>ul>li:hover>ul,
#cssmenu>ul>li:focus>ul {
    left: auto;
    top: 44px;
    opacity: 1;
}

#cssmenu.align-right>ul>li:hover>ul,
#cssmenu.align-right>ul>li:focus>ul {
    left: auto;
    right: 0;
    opacity: 1;
}

#cssmenu ul ul li:hover>ul,
#cssmenu ul ul li:focus>ul {
    left: 170px;
    top: 0;
    opacity: 1;
}

#cssmenu.align-right ul ul li:hover>ul,
#cssmenu.align-right ul ul li:focus>ul {
    left: auto;
    right: 170px;
    top: 0;
    opacity: 1;
    padding-right: 5px;
}

#cssmenu ul ul li a {
    width: 150px;
    padding: 10px 20px;
    font-size: 1.4rem;
    line-height: 19px;
    -webkit-transition: all .35s ease;
    -moz-transition: all .35s ease;
    -ms-transition: all .35s ease;
    -o-transition: all .35s ease;
    transition: all .35s ease;
}

#cssmenu.align-right ul ul li a {
    text-align: right;
}

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

#cssmenu>ul>li>ul::after {
    content: '';
    border: 6px solid transparent;
    width: 0;
    height: 0;
    border-bottom-color: #000;
    position: absolute;
    top: -12px;
    left: 30px;
}

#cssmenu.align-right>ul>li>ul::after {
    left: auto;
    right: 30px;
}

#cssmenu ul ul li.has-sub::after {
    border: 4px solid transparent;
    border-left-color: #999;
    right: 10px;
    top: 12px;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    -webkit-transition: -webkit-transform 0.2s ease, right 0.2s ease;
}

#cssmenu.align-right ul ul li.has-sub::after {
    border-left-color: transparent;
    border-right-color: #999;
    right: auto;
    left: 10px;
}

#cssmenu ul ul li.has-sub:hover::after,
#cssmenu ul ul li.has-sub:focus::after {
    border-left-color: #fff;
    right: -5px;
    -webkit-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

#cssmenu.align-right ul ul li.has-sub:hover::after,
#cssmenu.align-right ul ul li.has-sub:focus::after {
    border-right-color: #fff;
    border-left-color: transparent;
    left: -5px;
    -webkit-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

#cssmenu li.selected a {
    color: #aaa;
}

@media all and (max-width: 768px),
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px),
only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 768px),
only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 768px),
only screen and (min-device-pixel-ratio: 2) and (max-width: 768px),
only screen and (min-resolution: 192dpi) and (max-width: 768px),
only screen and (min-resolution: 2dppx) and (max-width: 768px) {
    #cssmenu>ul.open li ul {
        display: none;
    }
    #cssmenu>ul.open li a {
        border-top: 1px solid #555;
    }
    #cssmenu>ul.open li.has-sub .rozwin {
        font-weight: bold;
        width: 60px;
        height: 33px;
        text-align: center;
        line-height: 1.4rem;
        font-size: 1.4rem;
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 9999999;
    }
    #cssmenu>ul.open li.has-sub .rozwin:hover {
        cursor: pointer;
    }
    #cssmenu {
        float: none;
        width: auto;
        padding: 0% 0% 0% 0%;
        background-image: none;
    }
    #cssmenu.align-center ul {
        text-align: left;
    }
    #cssmenu.align-right>ul>li {
        float: none;
    }
    #cssmenu ul {
        width: auto;
    }
    #cssmenu .submenuArrow,
    #cssmenu #indicatorContainer {
        display: none;
    }
    #cssmenu>ul {
        height: auto;
        display: block;
    }
    #cssmenu>ul>li {
        float: none;
    }
    #cssmenu li,
    #cssmenu>ul>li {
        display: none;
    }
    #cssmenu ul ul,
    #cssmenu ul ul ul,
    #cssmenu ul>li:hover>ul,
    #cssmenu ul ul>li:hover>ul,
    #cssmenu.align-right ul ul,
    #cssmenu.align-right ul ul ul,
    #cssmenu.align-right ul>li:hover>ul,
    #cssmenu.align-right ul ul>li:hover>ul {
        position: relative;
        left: auto;
        top: auto;
        opacity: 1;
        padding-left: 0;
        padding-right: 0;
        right: auto;
    }
    #cssmenu ul .has-sub::after {
        display: none;
    }
    #cssmenu ul li a {
        padding: 10px 20px;
        font-size: 1.4rem;
        font-weight: 400;
        font-weight: bold;
    }
    #cssmenu ul ul li a {
        border: 0;
        background: none;
        width: auto;
        padding: 5px 30px;
        font-size: 1.4rem;
        font-weight: normal;
        border-top: 1px solid #555;
    }
    #cssmenu.align-right ul ul li a {
        text-align: left;
    }
    #cssmenu ul ul li:hover>a {
        background: none;
        color: #aaa;
    }
    #cssmenu ul ul ul a {
        padding: 8px 50px;
    }
    #cssmenu ul ul ul ul a {
        padding: 8px 65px;
    }
    #cssmenu ul ul ul ul ul a {
        padding: 8px 80px;
    }
    #cssmenu ul ul ul ul ul ul a {
        padding: 8px 95px;
    }
    #cssmenu>ul>#menu-button {
        display: block;
        cursor: pointer;
    }
    #cssmenu #menu-button>a {
        padding: 14px 20px;
    }
    #cssmenu ul.open li,
    #cssmenu>ul.open>li {
        display: block;
    }
    #cssmenu>ul.open>li#menu-button>a {
        border-bottom: 1px solid #fff;
    }
    #cssmenu ul ul::after {
        display: none;
    }
    #cssmenu #menu-button::after {
        display: block;
        content: '';
        position: absolute;
        height: 3px;
        width: 22px;
        border-top: 2px solid #777;
        border-bottom: 2px solid #777;
        right: 20px;
        top: 15px;
    }
    #cssmenu #menu-button::before {
        display: block;
        content: '';
        position: absolute;
        height: 3px;
        width: 22px;
        border-top: 2px solid #777;
        right: 20px;
        top: 25px;
    }
    #cssmenu ul.open #menu-button::after,
    #cssmenu ul.open #menu-button::before {}
}