#cssmenu {
    float: left;
}

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

    #cssmenu > ul {
        position: relative;
        display: block;
        z-index: 500;
        margin-left: 0px;
    }

        #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;
        padding: 0;
        margin-bottom:2px;
        background-image: url('../images/menuicon.png');
        background-repeat:no-repeat;
        background-position:left center;
       /*border-style: solid;
border-width: 0px 10px;
-moz-border-image: url(../images/ok.png) 0 15 repeat;
-webkit-border-image: url(../images/ok.png) 0 15 repeat;
-o-border-image: url(../images/ok.png) 0 15 repeat;
border-image: url(../images/ok.png) 0 15 fill repeat;*/
       /*border-bottom:3px solid #19196f;
       border-top:3px solid #19196f;*/
      

      
    }
    /*#cssmenu ul li a:before {
	 position:absolute;
  content:"";
  transform:rotate(45deg);
  bottom:0px;
  left:-10px;
  width:20px;
  height:20px;
  background:transparent;
  border-right:5px solid tomato;
  border-bottom:5px solid tomato;
}*/
    /*.borderust {
	 position:absolute;
  content:"";
  transform:rotate(45deg);
  bottom:39px;
  left:-11px;
  width:10px;
  height:10px;
  background:transparent;
  border-right:3px solid #19196f;
  border-bottom:3px solid #19196f;
}
        .borderust:last-child {
        border-right:0;
  border-bottom:0;
        }

            .borderalt{
	 position:absolute;
  content:"";
  transform:rotate(-135deg);
  top:39px;
  left:-11px;
  width:10px;
  height:10px;
  background:transparent;
  border-right:3px solid #19196f;
  border-bottom:3px solid #19196f;
}*/
        /*#cssmenu > ul > li.ayrac {
            border-right: 1px solid #fff;
        }*/

    #cssmenu > ul > #menu-button {
        display: none;
    }

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

    #cssmenu > ul > li > a {
         font-family: 'Courgette', cursive;
         /*font-family: 'Parisienne', cursive;*/
        font-weight:400;
        font-size: 18px;
        padding:8px 15px 8px 23px; 
          -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        /*color:#fff;*/
           color: #191970;
 /*text-shadow: 1.0px 1.0px 3.0px #EDBA11;*/
    }

        #cssmenu > ul > li > a:hover {
            
           color: #19196f;
 /*text-shadow: 1.0px 1.0px 3.0px #EDBA11;*/
        }

.active {
    /*margin-bottom:2px;*/
}
    #cssmenu > ul > li.has-sub > a {
        padding-right: 20px;
    }

    #cssmenu > ul > li:hover > a {
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
        text-decoration: none;
    }

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

    #cssmenu > ul > li.has-sub::after {
        float: left;
        right: 20px;
        top: 19px;
        border: 5px solid transparent;
        border-top-color: #444;
    }

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

    /*#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;
    border-top-color: #2b2f3a;
    z-index: -2;
}

#cIndicator {
    position: absolute;
    height: 0;
    width: 100%;
    border: 12px solid transparent;
    border-top-color: #2b2f3a;
    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: 1000;
    }

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

        #cssmenu ul ul li {
            position: relative;
        }

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

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

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

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

    #cssmenu ul ul li a {
     font-family: 'Courgette', cursive;
        width: 160px;
        border-bottom: 1px dashed #191970;
        padding: 10px 10px;
        font-size: 14px;
        color: #191970;
        background:#dac59a;
        /*-webkit-transition: all .35s ease;
    -moz-transition: all .35s ease;
    -ms-transition: all .35s ease;
    -o-transition: all .35s ease;
    transition: all .35s ease;*/
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

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

    #cssmenu ul ul li:hover > a {
       background: #19196f;
        color: #dac59a;
        font-size:15px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

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

    #cssmenu > ul > li > ul::after {
        content: '';
        border: 8px solid transparent;
        width: 0;
        height: 0;
        border-bottom-color: #19196f;
        position: absolute;
        top: -13px;
        left: 7px;
        z-index: -99999;
    }

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

    #cssmenu ul ul li.has-sub::after {
        float: left;
        border: 4px solid transparent;
        border-left-color: #9ea2a5;
        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: #9ea2a5;
        right: auto;
        left: 10px;
    }

    #cssmenu ul ul li.has-sub:hover::after {
        border-left-color: #ffffff;
        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 {
        border-right-color: #ffffff;
        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);
    }

@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
    #mainmenu {
        margin-left:0px !important;
    }
    #cssmenu {
        width: 140px;
        border: 2px solid #fff;
        padding: 0px 0px;
        font-size: 14px;
        color: #fff;
        background-color:transparent;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px; 
    }

        #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 > ul > li > a {
       margin-right:0 !important;
        padding: 10px 10px 10px 10px ;
        color: #fff !important;
      
    }

        #cssmenu ul li:hover > a {
            background: rgba(194, 46, 40, 0.80)!important;
            color: #fff;
        }

            #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 {
        }

        #cssmenu ul ul li a {
            border: 0;
            background: none;
            width: auto;
            padding: 8px 35px;
              color: #fff !important;
        }

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

        #cssmenu ul ul li:hover > a {
            background: none;
            color: #8c9195;
        }

        #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: 10px !important;
            
        }

        #cssmenu ul.open li,
        #cssmenu > ul.open > li {
            padding-bottom:10px !important;
            display: block;
        border-bottom: 1px solid #fff;
        font-size: 14px;
      
        background: rgba(25, 25, 25, 0.60);
        /*-webkit-transition: all .35s ease;
    -moz-transition: all .35s ease;
    -ms-transition: all .35s ease;
    -o-transition: all .35s ease;
    transition: all .35s ease;*/
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        }

            #cssmenu > ul.open > li#menu-button > a {
                color: #fff;
                border-bottom: 1px solid rgba(150, 150, 150, 0.1);

            }

        #cssmenu ul ul::after {
            display: none;
        }

        #cssmenu #menu-button::after {
            display: block;
            content: '';
            position: absolute;
            height: 3px;
            width: 22px;
            border-top: 2px solid #7a8189;
            border-bottom: 2px solid #7a8189;
            right: 20px;
            top: 15px;
        }

        #cssmenu #menu-button::before {
            display: block;
            content: '';
            position: absolute;
            height: 3px;
            width: 22px;
            border-top: 2px solid #7a8189;
            right: 20px;
            top: 25px;
        }

        #cssmenu ul.open #menu-button::after,
        #cssmenu ul.open #menu-button::before {
            border-color: #fff;
        }
}
