.hor-menu { 
  position: relative;
  display: table;
  width: 100%;
}

.hor-menu ul { 
  position: absolute;
  z-index: 15;
  display: none;
}

.hor-menu li:hover ul {
  display: block;
}

.hor-menu>li {
    display: table-cell;
}

.hor-menu ul li {
  display: block;
  text-align: left;
}

.hor-menu>li:nth-last-of-type(1), /* последнее подменю будет расширяться справа налево */
.hor-menu>li:nth-last-of-type(2) { 
  direction: rtl;
}

.hor-menu  li:nth-last-of-type(1) ul, /* для IE, решение найдено случайно, где связь ??? */
.hor-menu  li:nth-last-of-type(2) ul { /* для IE, решение найдено случайно, где связь ??? */
  right: 0;
}

.hor-menu  li:nth-last-of-type(1) li, /* последнее подменю будет расширяться справа налево, но не пункты последнего подменю */
.hor-menu  li:nth-last-of-type(2) li { 
  direction: ltr;
}

.hor-menu a {
  display: block;
}
