/*
# -- BEGIN LICENSE BLOCK ---------------------------------------
#
# This file is part of Chestnut, a Dotclear 2 theme.
#
# Copyright (c) 2011 Azork - http://xtradotfreedotfr.free.fr
# Contributor: Pierre Van Glabeke - https://github.com/brol/chestnut
# Licensed under the GPL version 2.0 license.
# See LICENSE file or
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK -----------------------------------------
*/
#nav, #navsm {display:none;}

#menu {
  list-style: none;
  padding: 2px 2px 0 2px;
  height: 26px;
  position: relative;
  border-bottom: 1px solid #d9d9d9;
  background: #edeae3; /* Old browsers */
  background: -moz-linear-gradient(top,  #edeae3 0%, #f6f4ee 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #edeae3 0%,#f6f4ee 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #edeae3 0%,#f6f4ee 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edeae3', endColorstr='#f6f4ee',GradientType=0 ); /* IE6-9 */
  -webkit-border-top-left-radius: 2px;
  -webkit-border-top-right-radius: 2px;
  -moz-border-radius-topleft: 2px;
  -moz-border-radius-topright: 2px;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

#menu li {
  float: left;
  line-height: 25px;
  margin: 0 1px;
}

#menu a {
  color: #554c46;
  font-size: 12px;
  font-weight: 700;
  display: block;
  padding: 0 8px;
  float: left;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-transition: background 150ms ease;
  -moz-transition: background 150ms ease;
  transition: background 150ms ease;
}
#menu a:hover {
  background: #e2dac9;
  text-decoration: none;
}
#container_menu:hover #menu li:hover a { color: #554c46; background: #e2dac9; }

#menu li.category-current > a {
  background: #B88F00;
  text-decoration: none;
  color: #fff;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
#menu li.category-current a:hover { background: #B88F00; }

#menu li:hover .submenu { left: auto; }

.submenu {
  position: absolute;
  left: -9999em;
  margin-top: 24px;
  min-width: 150px;
  background: #e2dac9;
  padding: 4px;
  z-index: 5000;
  -moz-border-radius-topleft: 0px;
  -moz-border-radius-topright: 0px;
  -moz-border-radius-bottomright: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  -webkit-box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}
.submenu ul { overflow: hidden; }
.submenu ul li { line-height: 22px; border-bottom: 1px solid #cdc3ab; padding: 2px 0; }
.submenu ul li,
.submenu ul li a { float: none !important; color: #554c46; background: none !important; }
.submenu ul li a:hover { background: #d0c6b0 !important; }