#cssgallery ul li a {
 background:#fed204;
 
}
#cssgallery ul li.active a{  background:#950505; color:#fff!important;}
#cssgallery ul li.active a .fa{
color:#fed204;
}


#cssgallery > ul > li > a {
padding:15px 10px !important;
 color:#000!important;
      border-bottom: 1px solid #ffe87b!important;
	
}
#cssgallery > ul > li > a .fa{
color:#950505;
}
#cssgallery > ul > li > a:hover{ background:#950505; color:#fff!important;}

#cssgallery > ul > li > a:hover .fa{
color:#fed204;
}
#cssgallery ul ul li a{color:#000!important;}
#cssgallery ul ul li a:hover {
  background:#950505; color:#fff!important;
}

#cssgallery ul ul li a .fa{
color:#950505;
}
#cssgallery ul ul li a:hover .fa{
color:#fed204;
}


/**/
#cssgallery,
#cssgallery ul,
#cssgallery ul li,
#cssgallery ul li a {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
    z-index:99;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;  
}
#cssgallery {
  
}
#cssgallery > ul {
  /*width: 180px;*/
  width: auto;
  background: #ffffff;
}
#cssgallery > ul > li > a {
  padding: 10px 15px;
  font-size: 14px;
  
 color:#333;
  text-decoration: none;
  -webkit-transition: color .2s ease;
  -o-transition: color .2s ease;
  -ms-transition: color .2s ease;
  transition: color .2s ease;
       
}
#cssgallery > ul > li:hover > a,
#cssgallery > ul > li > a:hover {
  color: #222222;
}
#cssgallery ul li.has-sub > a::after {
  position: absolute;
  right: 15px;
  display: block;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 2px;
}
#cssgallery > ul > li.has-sub > a::after {
  top: 14px;
  background: #666666;
}
#cssgallery > ul > li.has-sub:hover > a::after,
#cssgallery > ul > li.has-sub > a:hover::after {
  background: #222222;
}
#cssgallery ul ul li.has-sub > a::after {
  top: 13px;
  background: #ffffff;
}
#cssgallery ul ul li.has-sub:hover > a::after,
#cssgallery ul ul li.has-sub > a:hover::after {
  background: #dddddd;
}
#cssgallery ul li.has-sub > a::before {
  position: absolute;
  right: 15px;
  z-index: 2;
  display: block;
  width: 0;
  height: 0;
  border: 3px solid transparent;
  content: "";
}
#cssgallery > ul > li.has-sub > a::before {
  top: 16px;
  border-left-color: #ffffff;
}
#cssgallery ul ul li.has-sub > a::before {
  top: 15px;
  border-left-color: #2e353b;
}
#cssgallery ul {
  -webkit-perspective: 600px;
  -moz-perspective: 600px;
  perspective: 600px;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
#cssgallery ul ul {
  position: absolute;
  top: 0;
  left: -9999px;
  width: 180px;
  background: #2e353b;
  opacity: 0;
  z-index:9999999;
  -moz-transition: opacity 0.2s ease, -moz-transform 0.2s ease;
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  -ms-transition: opacity 0.2s ease, -ms-transform 0.2s ease;
  -o-transition: opacity 0.2s ease, -o-transform 0.2s ease;
  transition: opacity .2s ease, transform .2s ease;
  -webkit-transform: rotate3d(0, 1, 0, 45deg);
  -moz-transform: rotate3d(0, 1, 0, 45deg);
  transform: rotate3d(0, 1, 0, 45deg);
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  transform-origin: left center;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}
#cssgallery ul li:hover > ul {
  left: 100%;
  opacity: 1;
  transform: rotate3d(0, 0, 0, 0);
}
#cssgallery ul ul::after {
  position: absolute;
  left: -8px;
  top: 14px;
  z-index: 5;
  display: block;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-right-color: #2e353b;
  content: "";
}
#cssgallery ul ul a {
  padding: 12px 15px;
  font-size: 12px;
  color: #ffffff;

  text-decoration: none;
  -webkit-transition: color .2s ease;
  -o-transition: color .2s ease;
  -ms-transition: color .2s ease;
  transition: color .2s ease;
}
#cssgallery ul ul li:hover > a,
#cssgallery ul ul li a:hover {
  color: #dddddd;
}
