/* main menu
----------------------------*/
#ddmenu {
    display: block;
    text-align: center; /*Specify the alignment of the whole UL if UL is not width:100%;*/
    letter-spacing: normal;
	padding:5px 0;
}

#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;*/ /*removed for 100%*/
    z-index: 999999990;
    border:none;
}

#ddmenu li {
    margin:0;
    padding:0;
    font-size: 15px;
	float:left;
    /*display: inline-block;
    *display: inline;*/
    zoom: 1; /*for IE6-7*/
    /*position: relative;*/ /*removed for 100%*/
    color: #7c6f38;
    line-height: 18px; /*This determines the height of the menu*/
    transition: background-color 0.2s;
    outline:none;
}

#ddmenu li.full-width {
    position: static;
}

#ddmenu li.over {
    color:#7c6f38;
background-color: rgba(255,255,255,0.15);
background-color: #999 \9; /*fallback for old IE*/
}

#ddmenu li.over.no-sub {
    
}
#ddmenu:first-child > a.top-heading
{
	margin-left:0px;
}
#ddmenu .top-heading {
    font-family: 'OpenSansSemibold';
    white-space: nowrap;
    margin:0 10px;
    color: inherit;
    text-decoration: none;
    display:inline-block; 
    outline: 0;
    cursor: pointer;
	text-transform:uppercase;
}

/* links of top-heading */
#ddmenu li a, #ddmenu li a:link, #ddmenu li a:hover
{
    color:inherit;
	color:#7c6f38;
	-webkit-transition: all 0.5s ease-in-out;
	-khtml-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
#ddmenu li.active > a
{
	font-family: 'OpenSansBold';
	text-decoration:underline;
}
#ddmenu li a:hover
{
    text-decoration:none;
	color:#262626;
}

#ddmenu li a:focus
{
    outline:1px dotted #09F;
}

/* caret(arrow icon) */
#ddmenu i.caret {
    color: inherit;
    left:-10px;
    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: #000000;
    padding:0;
	margin:0;
	display:none;
	position:absolute;
    top: 100%;
    border-top:1px solid #7c6f38;
	border-bottom:1px solid #7c6f38;
	background:rgba(255,255,255,0.9);
	-webkit-transition: all 0.5s ease-in-out;
	-khtml-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

#ddmenu li.full-width .dropdown {
    width: 100%;
    padding: 0;
    margin: 0;
}

#ddmenu .offset300 {
    left: -300px;
	right:auto;
}

#ddmenu .right-aligned {
    left: auto;
    right: 0px;
}

#ddmenu li.over .dropdown {
    display: block;
}

#ddmenu .dd-inner {
    text-align: center;
    padding: 5px 10px;
    margin:8px 10px;
    /*background-color: #FFF;*/
    white-space: nowrap;
    font-size: 14px;
	font-family: 'OpenSansLightItalic';
}

/* links in sub menu
----------------------------*/

#ddmenu .dropdown a {
    display:table-row;
    *display:block;
    color: #7c6f38;
    line-height: 18px;
    text-decoration: none;
    padding: 0;
}

#ddmenu .dropdown a:hover, #ddmenu .dropdown a:focus {
    text-decoration: none;
    color: #262626;
}

/* blocks within the sub-menu
-----------------------------*/
#ddmenu div.column {
    text-align: left;
    vertical-align: top; /*or middle*/
    display: inline-block;
    *display: inline;*zoom: 1;
    white-space:normal;
    width:auto;
	/*min-width:170px;*/
padding:0 20px;
border-right:1px solid #999;
}

#ddmenu div.dd-inner div:last-child {
    border-right: none;
}

#ddmenu div.column h3 {
    font-weight: 500;
    line-height: 1.1;
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 24px;
}

#ddmenu li {
  border-right:1px solid #7c6f38; }
#ddmenu li:first-child {border-left:none;}
#ddmenu li:last-child {border-right:none;}

#ddmenuLink {display:none;}


/*######## add additional styles for mobile-friendly responsive menu ########*/

#ddmenu div.menu-icon {
    display: none; /* hide menu icon initially */
}


/*styles for responsive menu*/

/*@media only screen and (min-width: 481px) and (max-width: 900px) {
    #ddmenu li div.column.mayHide {
        display: none;
    }

    #ddmenu ul {
        width: 100%;
        border-radius: 0;
    }

    #ddmenu li {
        position:relative;
	    width:33.33%;
        box-sizing:border-box;
        text-align: left;
        border-top:1px solid rgba(255,255,255,0.3);
        border-right:1px solid rgba(255,255,255,0.3);
    }

    #ddmenu li.full-width {
        position: relative;
    }

    #ddmenu div.dropdown {
        width: auto;
        left: 0px;
        text-align: left;
    }

    #ddmenu li.full-width div.dropdown {
        width: auto;
    }

    #ddmenu div.dropdown.right-aligned, #ddmenu div.dropdown.mayRight {
        left: auto;
        right: 0px;
    }

    #ddmenu li div.column {
        width: auto;
        border: none;
    }
}*/

/*styles for mobile*/

@media (min-width: 768px) and (max-width: 989px) 
{
	 #ddmenu li {
		 float:none;
		 display:inline-block;
	 }
}
@media only screen and (max-width: 767px) {
    #ddmenu li div.column.mayHide {
        display: none;
    }

    /*override the original settings*/
    #ddmenu ul {
        width: 100%;
        display: block !important;
        border-radius: 0;
         
    }

    #ddmenu li {
		cursor:pointer;
        position: relative;
        display: block;
        text-align: left;
		float:none;
       /* border-bottom: 1px solid rgba(255,255,255,0.2);*/
		border-right:none;
    }
	
	#ddmenu .top-heading
	{
		margin:0px;
		padding:5px 0;
	}

    #ddmenu li.full-width {
        position: relative;
    }

    #ddmenu li .dropdown {
        position: relative;
        *top: auto; /*for IE7*/
        border: none;
        border-radius: 0;
        box-shadow: none;
        text-align: left;
        /*background-color: #FFF;*/
		
		border-left:1px solid #7c6f38;
		border-right:1px solid #7c6f38;
		border-bottom:1px solid #7c6f38;
		border-top:1px solid #7c6f38;
    }

    #ddmenu .offset300 {
        left: 0;
    }

    #ddmenu li.full-width div.dropdown {
        width: auto;
    }

    #ddmenu .dd-inner {
        margin:0;
        background:none;
        text-align:left;
    }

    /*turn each column to list vertically instead of horizontally */
    #ddmenu li div.column {
        width:auto;
        padding:0;
        border:none;
        display:block;
    }

    /*move the arrow icon to right*/
    #ddmenu i.caret {
        position:absolute;
        left:auto;
        right:0px;
        top: 16px;
        border-width:5px;
    }



    /* All the following are for the div.menu-icon (pure CSS) */
    #ddmenu div.menu-icon {
        font-size: 32px; /*icon size*/
        display: block;
        position: relative;
        width: 40px;
        height: 36px;
        text-align: center;
        cursor: pointer;
        -moz-user-select: none;
        -webkit-user-select: none;
        background-color: #EEE;
        border-radius: 3px;

        margin-bottom:6px;	
        /*align the icon to the left*/
        margin-left: 12px;
        margin-right: auto;
    }

    #ddmenu div.menu-icon::before {
        content: "";
        position: absolute;
        top: 0.25em;
        left: 4px;
        width: 1em;
        height: 0.125em;
        border-top: 0.375em double #205081;
        border-bottom: 0.125em solid #205081;
        box-sizing: content-box;
    }

    #ddmenu div.menu-icon-active {
        background-color: #205081;
    }

    #ddmenu div.menu-icon-active::before {
        border-color: #EEE;
    }
}
