@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);

#divMenu {
    margin: 0 auto;
    /*background: #0964aa;*/
    background-color: unset;
    width: 100%;
    margin-bottom: 5px;
    height: 43px;
}

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    #cssmenu:after,
    #cssmenu > ul:after {
        content: ".";
        display: block;
        clear: both;
        visibility: hidden;
        line-height: 0;
        height: 0;
    }

    #cssmenu #menu-button {
        display: none;
    }

#cssmenu {
    max-width: 1140px;
    margin: 0 auto;
    width: auto;
    /*font-family: 'Open Sans', Helvetica, sans-serif;*/
   /* background: #0964aa;*/
   background: unset;
}

    #cssmenu > ul {
        /*box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05);*/
    }

    #cssmenu.align-right > ul > li {
        float: right;
    }

    #cssmenu > ul > li {
        float: left;
        display: inline-block;
       /* border-bottom: 2px solid #0964aa;*/
    }

    #cssmenu.align-center > ul {
        float: none;
        text-align: center;
    }

        #cssmenu.align-center > ul > li {
            float: none;
        }

    #cssmenu.align-center ul ul {
        text-align: left;
    }

    #cssmenu > ul > li > a {
        padding: 12px;
        /*border-right: 1px solid rgba(80, 80, 80, 0.12);*/
        text-decoration: none;
        font-size: 16px;
        font-weight: 700;
        color: #fff;
        letter-spacing: 0.4px;
       /* background: url("cut-menu.png");*/
        background-repeat: no-repeat;
        background-position: right 4px;
    }

    #cssmenu > ul > li:last-child > a {
        background: none;
    }

    #cssmenu > ul > li > a.img {
        height: 33px;
        padding-top: 7px;
    }

    #cssmenu > ul > li > a:hover {
        color: #fff !important;
    }
    

    #cssmenu > ul > li:hover > a,
    #cssmenu > ul > li > a:hover,
    #cssmenu > ul > li.active > a {
        color: #fff;
        /*background: #055593;
        background: rgba(0, 0, 0, 0.1);*/
        background-color: unset !important;
    }

    /*#cssmenu > ul > li.has-sub > a {
        padding-right: 15px;
    }*/

    /*#cssmenu > ul > li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #d3eced;
  right: 17px;
  top: 22px;
}*/
    #cssmenu > ul > li.has-sub.active > a::after,
    #cssmenu > ul > li.has-sub:hover > a {
        border-top-color: #ffffff;
    }
    #cssmenu > ul > li.has-sub > a > span {
        color: #055593;
    }
    #cssmenu > ul > li.has-sub:hover > a > span {
        color: brown;
    }
    #cssmenu > ul > li.has-sub > ul > li.has-sub > a > span {
        color: #055593;
    }
    #cssmenu > ul > li.has-sub > ul > li.has-sub > ul > li.has-sub > a > span {
        color: #055593;
    }
    #cssmenu ul ul {
        position: absolute;
        left: -9999px;
        top: 60px;
        padding-top: 3px;
        font-size: 15px;
        opacity: 0;
        z-index: 999;
        -webkit-transition: top 0.2s ease, opacity 0.2s ease-in;
        -moz-transition: top 0.2s ease, opacity 0.2s ease-in;
        -ms-transition: top 0.2s ease, opacity 0.2s ease-in;
        -o-transition: top 0.2s ease, opacity 0.2s ease-in;
        transition: top 0.2s ease, opacity 0.2s ease-in;
    }

    #cssmenu.align-right ul ul {
        text-align: right;
    }

    #cssmenu > ul > li > ul::after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border: 5px solid transparent;
        border-bottom-color: #ffffff;
        top: -4px;
        left: 20px;
    }

    #cssmenu.align-right > ul > li > ul::after {
        left: auto;
        right: 20px;
    }

    #cssmenu ul ul ul::after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border: 5px solid transparent;
        border-right-color: #ffffff;
        top: 11px;
        left: -4px;
    }

    #cssmenu.align-right ul ul ul::after {
        border-right-color: transparent;
        border-left-color: #ffffff;
        left: auto;
        right: -4px;
    }

    #cssmenu > ul > li > ul {
        top: 120px;
    }

    #cssmenu > ul > li:hover {
        border-bottom: 2px solid #fff;
    }

        #cssmenu > ul > li:hover > ul {
            top: 35px;
            left: 0;
            opacity: 1;
            /*background:rgba(35, 142, 255, 0.58)*/
           /* background: #055593;*/
           background-color: white;
        }

    #cssmenu.align-right > ul > li:hover > ul {
        left: auto;
        right: 0;
    }

    #cssmenu ul ul ul {
        padding-top: 0;
        padding-left: 6px;
        /*background: #0964aa;*/
        background-color: white;
    }

    #cssmenu.align-right ul ul ul {
        padding-right: 6px;
    }

    #cssmenu ul ul > li:hover > ul {
        left: 180px;
        top: 0;
        opacity: 1;
    }

    #cssmenu.align-right ul ul > li:hover > ul {
        left: auto;
        right: 100%;
        opacity: 1;
    }

    #cssmenu ul ul li {
        border-top: 1px solid #489bc7;
    }
    #cssmenu ul ul li a {
        text-decoration: none;
        font-weight: 400;
        padding: 8px 15px;
        width: 180px;
        color: #fff;
        /*background: #ffffff;*/
        line-height: 1.3;       
    }

        #cssmenu ul ul li a:hover {
            color: #fff !important;
        }

    #cssmenu ul ul li:hover {
       /* background: #003C7A;*/
        /*color:rgba(0, 0, 0, 0.05)!important*/
    }
        #cssmenu ul ul li span:hover {
            padding-left: 5px;
            transition-duration: 0.5s;
        }

        #cssmenu ul ul li:hover > a,
        #cssmenu ul ul li.active > a {
            /*color: #333333;*/
        }

    #cssmenu ul ul li:first-child > a {
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }

    #cssmenu ul ul li:last-child > a {
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
    }

    #cssmenu > ul > li > ul::after {
        position: absolute;
        display: none;
    }

    #cssmenu ul ul li.has-sub > a::after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        /*border: 4px solid transparent;
  border-left-color: #777777;*/
        right: 17px;
        top: 14px;
    }

    #cssmenu.align-right ul ul li.has-sub > a::after {
        border-left-color: transparent;
        border-right-color: #777777;
        right: auto;
        left: 17px;
    }

    #cssmenu ul ul li.has-sub.active > a::after,
    #cssmenu ul ul li.has-sub:hover > a::after {
        border-left-color: #333333;
    }

    #cssmenu.align-right ul ul li.has-sub.active > a::after,
    #cssmenu.align-right ul ul li.has-sub:hover > a::after {
        border-right-color: #333333;
        border-left-color: transparent;
    }

@media all and (max-width: 768px) {
    #cssmenu {
        background: white;
        z-index: 999;
    }

        #cssmenu > ul {
            display: none;
        }

            #cssmenu > ul.open {
                display: block;
                /*border-top: 1px solid rgba(0, 0, 0, 0.1);*/
            }

        #cssmenu.align-right > ul {
            float: none;
        }

        #cssmenu.align-center > ul {
            text-align: left;
        }

        #cssmenu > ul > li:hover {
            border: none;
        }

        #cssmenu > ul > li > a {
            background: white !important;
        }

        #cssmenu > ul > li,
        #cssmenu.align-right > ul > li {
            float: none;
            display: block;
        }

            #cssmenu > ul > li > a {
                padding: 18px 25px 18px 25px;
                border-right: 0;
            }

            #cssmenu > ul > li:hover > a,
            #cssmenu > ul > li.active > a {
                background: rgba(0, 0, 0, 0.1);
            }

        #cssmenu #menu-button {
            display: block;
            text-decoration: none;
            font-size: 14px;
            font-weight: 700;
            color: #fff !important;
            padding: 18px 25px 18px 25px;
            text-transform: uppercase;
            letter-spacing: 1px;
            background: url('images/bg.png');
            cursor: pointer;
            background: white;
        }



        #cssmenu ul ul,
        #cssmenu ul li:hover > ul,
        #cssmenu > ul > li > ul,
        #cssmenu ul ul ul,
        #cssmenu ul ul li:hover > ul,
        #cssmenu.align-right ul ul,
        #cssmenu.align-right ul li:hover > ul,
        #cssmenu.align-right > ul > li > ul,
        #cssmenu.align-right ul ul ul,
        #cssmenu.align-right ul ul li:hover > ul {
            left: 0;
            right: auto;
            top: auto;
            opacity: 1;
            width: 100%;
            padding: 0;
            position: relative;
            text-align: left;
        }

            #cssmenu ul ul li {
                width: 100%;
            }

                #cssmenu ul ul li a {
                    width: 100%;
                    box-shadow: none;
                    padding-left: 35px;
                    background: white !important;
                }

            #cssmenu ul ul ul li a {
                padding-left: 45px;
            }

            #cssmenu ul ul li:first-child > a,
            #cssmenu ul ul li:last-child > a {
                border-radius: 0;
            }

        #cssmenu #menu-button::after {
            display: block;
            content: '';
            position: absolute;
            height: 7px;
            width: 22px;
            border-top: 2px solid #055593;
            border-bottom: 2px solid #055593;
            right: 25px;
            top: 15px;
        }

        #cssmenu #menu-button::before {
            display: block;
            content: '';
            position: absolute;
            height: 3px;
            width: 22px;
            border-top: 2px solid #055593;
            right: 25px;
            top: 10px;
        }

        #cssmenu > ul > li.has-sub > a::after,
        #cssmenu ul ul li.has-sub > a::after {
            display: none;
        }
}
