/* main menu
----------------------------*/
#ddmenu {
    display: block;
}

    #ddmenu ul {
        margin: 0 auto;
        padding: 0;
        text-align: left; /* Alignment of each top-level menu items within the UL */
        width: 100%;
        font-size: 0;
        background-color: transparent;
        display: inline-block;
        list-style: none;
        position: relative;
        z-index: 9999;
        border-radius: 3px;
        border: 0px solid #d2d2d2;
    }

    #ddmenu li {
        margin: 0;
        padding: 0;
        font-size: 14px;
        display: inline-block;
        *display: inline;
        zoom: 1; /*for IE6, IE7, IE8, IE10, IE11, IE12*/
        position: relative;
        color: #FFF;
        line-height: 54px; /*This determines the height of the menu*/
        transition: background-color 0.2s;
        outline: none;
        background: url(../../Content/images/menu_diveder.png) no-repeat left center;
    }

        #ddmenu li.full-width {
            position: static;
        }

        #ddmenu li.over {
            color: #FFF;
            background-color: transparent;
        }

            #ddmenu li.over.no-sub {
            }

    #ddmenu .top-heading {
        font-weight: normal;
        white-space: nowrap;
        padding: 0 20px;
        color: inherit;
        text-decoration: none;
        display: inline-block;
        outline: 0;
        cursor: pointer;
    }

    /* links of top-heading */
    #ddmenu li a, #ddmenu li a:link, #ddmenu li a:hover {
        color: inherit;
    }

        #ddmenu li a:hover {
            color: rgb(28, 174, 231);
            text-decoration: none;
        }

        #ddmenu li a:focus {
            outline: none;
        }

    /* caret(arrow icon) */
    #ddmenu i.caret {
        color: inherit;
        left: -18px;
        width: 0;
        height: 0;
        overflow: hidden; /*for IE6, IE7, IE8, IE10, IE11, IE12*/
        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;
        display: none;
    }

    /* sub-menu layout
----------------------------*/

    #ddmenu .dropdown {
        width: auto;
        left: 0px;
        color: #000000;
        padding: 0;
        margin: 0;
        display: none;
        position: absolute;
        top: 100%;
        border: 1px solid #ddd;
        border-top: none;
        border-radius: 0 0 2px 2px;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.22);
    }

    #ddmenu li.over .dropdown {
        display: block;
        /*position:relative;*/
        width: auto;
        margin-left: 0px;
        border: #3A7AC3 solid 1px;
        box-sizing: border-box;
        box-shadow: 0px 3px 14px -3px #444;
        border-top: none;
    }

    #ddmenu li.full-width .dropdown {
        width: 100%;
        padding: 0;
        margin: 0;
        margin-left: -1px; /*Set to 0 if UL has no border*/
    }

    #ddmenu .offset300 {
        left: -300px;
        right: auto;
    }

    #ddmenu .right-aligned {
        left: auto;
        right: 0px;
    }



    #ddmenu .dd-inner {
        text-align: center;
        padding: 20px 0px 20px 0px;
        margin: 0px;
        background-color: #FFF;
        white-space: nowrap;
        font-size: 13px;
        line-height: 20px;
    }

    /* links in sub menu
----------------------------*/

    #ddmenu .dropdown a {
        display: table-row;
        *display: block;
        color: #444;
        line-height: 22px;
        text-decoration: none;
        padding: 0;
    }

        #ddmenu .dropdown a:hover, #ddmenu .dropdown a:focus {
            text-decoration: underline;
            color: #de4a4a;
        }

    /* 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 30px;
        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;
    }



/* useful when http://www.menucool.com/ddmenu/one-menu-for-all-pages */
#ddmenuLink {
    display: none;
}

/*######## add additional styles for mobile-friendly responsive menu ########*/

#ddmenu div.menu-icon {
    display: none; /* hide menu icon initially */
}

#ddmenu li:first-child {
    background: none;
}

#ddmenu li:last-child {
    /* float: right; */
    background: none;
    width: 100%;
}


#ddmenu li:last-child {
    float: right;
    background: none;
    width: auto;
}

#WidgetLauncher {
    margin: 0px!important;
    width: 120px;
    height: 44px;
    display: block !important;
}


/*styles for mobile*/
@media only screen and (max-width: 768px) {
    #ddmenu li div.column.mayHide {
        display: none;
    }

    #ddmenu li.over .dropdown {
        display: block;
        position: absolute;
        width: 100%;
        margin-left: 0px;
        border: #3A7AC3 solid 1px;
        box-sizing: border-box;
        box-shadow: 0px 3px 14px -3px #444;
        margin-left: 0px!important;
    }


    #ddmenu {
        display: block;
        width: 100%;
    }

        /*override the original settings*/
        #ddmenu ul {
            width: 94.6%;
            display: none;
            border-radius: 0;
            border: 1px solid #d2d2d2;
            border-right: none;
            position: absolute;
            background-color: #fff;
            box-sizing: border-box;
            box-shadow: 0px 1px 13px -3px #444;
        }

        #ddmenu li {
            color: #272727;
            position: relative;
            display: block;
            font-size: 13px;
            text-align: left;
            border-bottom: 1px solid #d2d2d2;
            border-right: 1px solid #d2d2d2;
            background: none;
            line-height: 32px;
            width: 50%;
            float: left;
            box-sizing: border-box;
        }

            #ddmenu li.full-width {
                position: relative;
            }

            #ddmenu li.over {
                color: #fff;
                background-color: #1e64a2;
            }

        #ddmenu .top-heading {
            font-weight: normal;
            white-space: nowrap;
            padding: 0 20px;
            color: inherit;
            text-decoration: none;
            display: block;
            outline: 0;
            cursor: pointer;
        }

        #ddmenu li a {
            display: block;
        }

            #ddmenu li a:hover {
                color: rgb(28, 174, 231);
                text-decoration: none;
                background-color: #1e64a2;
                display: block;
            }


    .cart_body {
        width: 100%;
        font-family: Calibri;
        position: relative;
        z-index: 9999;
        top: 0px;
        margin: 0px;
        padding: 0px;
    }

        .cart_body table {
            width: 100%;
            border: none;
            border-spacing: 0px;
        }

    #ddmenu li a:focus {
        outline: none;
    }

    #ddmenu li .dropdown .column a {
        background-color: transparent!important;
    }

    #ddmenu li .dropdown {
        position: relative;
        *top: auto; /*for IE7, IE8, IE10, IE11, IE12*/
        border: none;
        border-radius: 0;
        box-shadow: none;
        text-align: left;
        background-color: #FFF;
    }

    #ddmenu .offset300 {
        left: 0;
    }

    #ddmenu li.full-width div.dropdown {
        width: auto;
    }

    #ddmenu .dd-inner {
        margin: 0 0 2px 0;
        background: none;
        text-align: left;
    }

    /*turn each column to list vertically instead of horizontally */
    #ddmenu li div.column {
        width: auto;
        padding: 0 30px;
        border: none;
        display: block;
    }

    /*move the arrow icon to right*/
    #ddmenu i.caret {
        color: inherit;
        left: -18px;
        width: 0;
        height: 0;
        overflow: hidden; /*for IE6, IE7, IE8, IE10, IE11, IE12*/
        vertical-align: middle;
        margin-bottom: 2px;
        border-top: 0px solid; /*caret size is 4px now*/
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
        display: inline-block;
        position: absolute;
        left: auto;
        right: 14px;
        top: 14px;
        border-width: 5px;
    }

    .navigation {
        height: auto;
    }

    /* All the following are for the div.menu-icon (pure CSS) */
    #ddmenu div.menu-icon {
        font-size: 18px;
        display: block;
        text-transform: uppercase;
        position: relative;
        /* width: 95.5%; */
        /* height: 36px; */
        text-align: left;
        cursor: pointer;
        -moz-user-select: none;
        -webkit-user-select: none;
        background-color: #1e64a2;
        /* border-radius: 3px; */
        padding: 8px 15px 9px 15px;
        margin-bottom: 0px;
        margin-left: auto;
        /* margin-right: 11px; */
        color: #fff;
    }

        #ddmenu div.menu-icon::before {
            content: "";
            position: absolute;
            top: 15px;
            left: 94%;
            width: 25px;
            font-weight: bold;
            height: 2px;
            border-top: 8px double #F6F6F9;
            border-bottom: 3px solid #F6F6F9;
            box-sizing: content-box;
            color: #FFFFFF;
        }

    #ddmenu div.menu-icon-active {
        /*background-color:#1c64a1;
        color:#fff;*/
    }

        #ddmenu div.menu-icon-active::before {
            content: "";
            position: absolute;
            top: 15px;
            left: 94%;
            width: 25px;
            font-weight: bold;
            height: 2px;
            border-top: 8px double #F6F6F9;
            border-bottom: 3px solid #F6F6F9;
            box-sizing: content-box;
            color: #FFFFFF;
        }
}

@media only screen and (max-width: 480px) {

    #ddmenu div.menu-icon::before {
        content: "";
        position: absolute;
        top: 15px;
        right: 15px;
        left: 91%;
        width: 25px;
        font-weight: bold;
        height: 2px;
        border-top: 8px double #F6F6F9;
        border-bottom: 3px solid #F6F6F9;
        box-sizing: content-box;
        color: #FFFFFF;
    }

    #ddmenu div.menu-icon-active::before {
        content: "";
        position: absolute;
        top: 15px;
        right: 15px;
        left: 91%;
        width: 25px;
        font-weight: bold;
        height: 2px;
        border-top: 8px double #F6F6F9;
        border-bottom: 3px solid #F6F6F9;
        box-sizing: content-box;
        color: #FFFFFF;
    }

    #ddmenu ul {
        width: 95.8%;
        display: none;
        border-radius: 0;
        border: 1px solid #d2d2d2;
        border-right: none;
        position: absolute;
        background-color: #fff;
        box-sizing: border-box;
        box-shadow: 0px 1px 13px -3px #444;
    }
}

@media only screen and (max-width: 360px) {
    #ddmenu div.menu-icon {
        /* font-size: 22px; */
        display: block;
        position: relative;
        width: 91%;
        /* height: 36px; */
        text-align: left;
        cursor: pointer;
        -moz-user-select: none;
        -webkit-user-select: none;
        background-color: #1e64a2;
        /* border-radius: 3px; */
        /* padding: 05px 15px 05px 15px; */
        margin-bottom: 0px;
        margin-left: auto;
        /* margin-right: 11px; */
        color: #fff;
    }


        #ddmenu div.menu-icon::before {
            content: "";
            position: absolute;
            top: 15px;
            left: 89%;
            width: 25px;
            height: 2px;
            /*border-top: 0.375em double #F6F6F9;
    border-bottom: 0.155em solid #F6F6F9;*/
            box-sizing: content-box;
            color: #ff0000;
        }

    #ddmenu ul {
        width: 94.5%;
        display: none;
        border-radius: 0;
        border: 1px solid #d2d2d2;
        border-right: none;
        position: absolute;
        background-color: #fff;
        box-sizing: border-box;
        box-shadow: 0px 1px 13px -3px #444;
    }

    #ddmenu li {
        color: #272727;
        position: relative;
        display: block;
        font-size: 13px;
        text-align: left;
        border-bottom: 1px solid #d2d2d2;
        border-right: 1px solid #d2d2d2;
        background: none;
        line-height: 32px;
        width: 100%;
        float: left;
        box-sizing: border-box;
    }
}
