﻿
.horizontalmenu {
    list-style: none;
    background: #FFFFFF;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 100000;
    display: flex;
}
.horizontalmenu li.parent{
   /* display:inline-block;*/
    /*position:relative;*/
    flex: 1 1 auto;
                text-align: center;
            padding: 5px 0px;
            border-right: 1px solid #fff;
            word-wrap: break-word; /* Ensure long words wrap */
}
    .horizontalmenu li .nav-item {
    color: #2f2533;
    font-weight: bold;
    font-size: 20px;
    }
.tray {    
    min-height: 300px;
    max-height: 400px;
    position: absolute;
    border-right: 1px #f5f5f5 solid;
    border-bottom: 1px #f5f5f5 solid;
    border-left: 1px #f5f5f5 solid;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    right: -10000px;
    max-bottom: -550px;
    width: 100%;
    max-width: 1470px;
    opacity: 0;
    background: #ffffff;
    transition: opacity 0.2s ease-out;
    box-sizing: border-box;
    overflow: hidden;
    padding: 5px;
    box-shadow: 0px 2px 4px #cccccc
}
.tray .col{
    width:auto;
    float:right;
    padding:5px;
    border-left:0px dotted #dedede;
    margin:0px 0px 0px 10px; 
    height:100%;  
    box-sizing:border-box;  
}

.tray .col:last-child{
    width:auto;
    float:right;
    padding:5px;
    border-left:0px dotted #dedede;
    margin:0px 0px 0px 10px; 
    height:100%;  
    box-sizing:border-box;  
}



.horizontalmenu li:hover .tray{
    opacity:1;
    right:0;    
}
.horizontalmenu li .nav-item:hover + .tray.pullleft{
    opacity:1;
    right:auto;
    left:0;
}
.horizontalmenu li:hover .nav-item{
    border-bottom:3px solid #9CD7FF;
    text-decoration:none;
}


.horizontalmenu .traytitle span {
    font-size: 26px;
    color: #9CD7FF;
    padding-right: 20px;
    text-align: right;
    box-sizing: border-box;
    padding-top: 10px;
    display: block;
    padding-left: 20px;
}

.horizontalmenu .parentcatname a span {
    font-size: 18px;
    color: #E2161B;
    height: 40px;
    overflow: hidden;
    margin-top: 10px;
    display: block
}

.horizontalmenu .theme
{
width:200px;  
float:right;
}


.tray .childes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 100%;
  height: 250px;
}
.tray .childes li {
    padding-left:40px;
    margin-bottom:10px;
    text-align: right;

}
.tray .childes li a {
     font-size:20px; color:#2f2533
}