*{
  padding: 0;
  box-sizing: border-box;
}

.menu_item{
  color: #f80707;
  font-size: 16px;
  text-shadow: 2px 2px 2px #000000;
}
.tree{
  width: 100%;
  height: auto;
  text-align: center;
}
.tree ul {
  padding-top: 20px;
  position: relative;
  transition: all 0.5s;
}

.tree li {
  display: inline-table;
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 20px 5px 0 5px;
  transition:all 0.5s;
  margin-bottom: 5px;
}

.tree li::before,
.tree li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 1px solid #8f0b0b;
  width: 50%;
  height: 20px;
}

.tree li::after {
  right: auto;
  left: 50%;
  border-left: 1px solid #8f0b0b;
}

.tree li:only-child::after,
.tree li:only-child::before {
  display: none;
}

.tree li:only-child {
  padding-top: 0;
}

.tree li:first-child::before,
.tree li:last-child::after {
  border: 0 none;
}

.tree li:last-child::before {
  border-right: 1px solid #8f0b0b;
  border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
  border-radius: 5px 0 0 0;
}

.tree ul ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 1px solid #8f0b0b;
  width: 0;
  height: 20px;
}

.tree li div {
  border: 1px solid #8f0b0b;
  padding: 5px;
  text-decoration: none;
  color: #a33904;
  font-size: 16px;
  text-shadow: 1px 1px 1px #000000;
  display: inline-block;
  border-radius: 5px;
  transition: all 0.5s;
}

.tree li div:hover
{
  background:#d6a993;
  color: #000;
  border: 1px solid #f80707;
  box-shadow: 0px 0px 0px 0px #5f5f5f;
}
