#ddmenu {
    display: block;
    text-align: center;
    /*Specify the alignment of the whole UL if UL is not width:100%;*/
    letter-spacing: normal;
	border-top:1px solid #e9e9e9;
}

#ddmenu ul {
    margin: 0 auto;
    padding: 0;
    text-align: center;
    /* Alignment of each top-level menu items within the UL */
    width: 100%;
    font-size: 0;
    display: inline-block;
    list-style: none;
    position: relative;
    z-index: 100;
    max-width: 1400px;
}

#ddmenu li {
    margin: 0;
    padding: 0 10px;
    font-size: 15px;
    display: inline-block;
    *display: inline;
    zoom: 1;
    /*for IE6-7*/
    position: relative;
    color: #000;
    line-height: 38px;
    /*This determines the height of the menu*/
    vertical-align: middle;
    transition: background-color 0.2s;
    outline: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#ddmenu .full-width {
    position: static;
}

#ddmenu .over {
    color: #FFF;
    background-color: #31b2c5;
}

#ddmenu .over.no-sub {}

#ddmenu .top-heading {
    margin: 0 10px;
    color: inherit;
    text-decoration: none;
    display: inline-block;
    outline: 0;
    cursor: pointer;
}


/* links of top-heading */

#ddmenu a,
#ddmenu a:link,
#ddmenu a:hover {
    color: inherit;
}

#ddmenu a:hover {
    text-decoration: underline;
}

#ddmenu a:focus {
    outline: 1px dotted #D32C84;
}


/* caret(arrow icon) */

#ddmenu .caret {
    color: inherit;
    left: -12px;
    width: 0;
    height: 0;
    overflow: hidden;
    /*for IE6*/
    vertical-align: middle;
    margin-bottom: 2px;
    border-top: 4px solid;
    /*caret size is 4px now*/
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    display: inline-block;
    position: relative;
}


/* sub-menu layout----------------------------*/

#ddmenu .dropdown {
    width: auto;
    left: 0px;
    color: #000;
    padding: 0px 0px;
    margin: 0;
    display: none;
    position: absolute;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 500px;
    top: 100%;
    border: 1px solid #cccccc;
    border-top: 5px solid #31b2c5;
    border-radius: 0px;
}

#ddmenu .full-width .dropdown {
    width: 100%;
    padding: 0;
    margin: 0;
}

#ddmenu .offset300 {
    left: auto;
    right: auto;
}

#ddmenu .right-aligned {
    left: auto;
    right: 0px;
}

#ddmenu .over .dropdown {
    display: block;
}

#ddmenu .dd-inner {
    text-align: center;
    padding: 10px;
    background-color: #FFF;
    white-space: nowrap;
    font-size: 13px;
}

#ddmenu ul ul {
    margin: 0;
    padding: 0;
    text-align: left;
    width: auto;
    background: none;
    border: none;
    display: block;
    position: static;
    z-index: 0;
    border-radius: 0;
}

#ddmenu ul ul li {
    font-size: 13px;
    padding: 6px 0;
    /*It determines the line height*/
    color: inherit;
    line-height: 1;
    margin: 0;
    display: block;
    position: static;
    background: none;
    border: none;
    transition: none;
    border-radius: 0;
}


/* links in sub menu----------------------------*/

#ddmenu .dropdown a {
    color: #333333;
    line-height: 1;
    text-decoration: none;
    transition: color 0.4s;
}

#ddmenu .dropdown a:hover,
#ddmenu .dropdown a:focus {
    text-decoration: none;
    color: #31b2c5;
}


/* blocks within the sub-menu-----------------------------*/

#ddmenu .column {
    text-align: left;
    vertical-align: top;
    /*or middle*/
    display: inline-block;
    *display: inline;
    *zoom: 1;
    white-space: normal;
    width: auto;
    min-width: 220px;
    padding: 0 30px;
}

#ddmenu .dd-inner ul:last-child {
    border-right: none;
}

#ddmenu h3 {
    font-weight: bold;
    line-height: 1.1;
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 16px;
}

#ddmenu div.column h3 {
    text-transform: uppercase;
}


/* useful when http://www.menucool.com/ddmenu/one-menu-for-all-pages */

#ddmenuLink {
    display: none;
}

#ddmenu .lastcat {
    right: 0px!important;
    left: auto!important;
}

#ddmenu hr {
    margin: 10px 0px 5px 0!important;
}

@media screen and (min-width:320px) {
    #ddmenu {
        display: none;
    }
}

@media screen and (min-width:1024px) {
    #ddmenu {
        display: block;
    }
}