/*  Generated by www.menucool.com/drop-down-menu  */


/* main menu
----------------------------*/

#ddmenu {
    display: block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: left;
    /*Specify the alignment of the whole UL if UL is not width:100%;*/
    letter-spacing: normal;
    /*background-color: rgb(9, 36, 73);*/
    padding: 0;
    margin: 0;
    background: url(/Assets/Common/Images/bg/menu_bg.jpg);
    background-size: cover;
}

    #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;
        background: url(/Assets/Common/Images/bg/menu_bg.jpg);
        background-size: cover;
        /*background: rgb(9, 36, 73);*/
        display: inline-block;
        list-style: none;
        position: relative;
        z-index: 999999990;
        border: none;
        border-radius: 0px;
    }

    #ddmenu li {
        margin: 0;
        padding: 0;
        font-size: 12px;
        display: inline-block;
        *
        display: inline;
        zoom: 1;
        /*for IE6-7*/
        position: relative;
        color: #aa7026;
        line-height: 3em;
        /*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 .search-bar.over {
        border-top: none;
        margin-top: 0;
        background-color: rgba(255, 255, 255, 0);
    }

    #ddmenu .search-bar {
        width: 200px;
        margin: 0;
        padding: 0;
        display: block;
        float: right;
        padding: .25em;
    }



    #ddmenu .over {
        color: #fffffe;
        /*background-color: rgba(255, 255, 255, 0.15);*/
        background-color: #917128;
        /*fallback for old IE*/
        /* border-top: 3px solid rgb(221, 54, 54); */
        /* margin-top: -3px; */
        -webkit-animation-delay: 2s;
        /* Safari 4.0 - 8.0 */
        animation-delay: 2s;
        transition: visibility 0s 2s, opacity 2s linear;
        -webkit-transition-property: width;
        /* Safari */
        -webkit-transition-duration: 5s;
        /* Safari */
        -webkit-transition-delay: 2s;
        /* Safari */
        transition-property: width;
        transition-duration: 5s;
        transition-delay: 2s;
    }

        #ddmenu .over.no-sub {
        }

    #ddmenu .top-heading {
        font-weight: bold;
        margin: 1px 1em 0px 1em;
        color: inherit;
        text-decoration: none !important;
        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: none;
        }

        #ddmenu a:focus {
            outline: 1px dotted #09F;
        }


    /* caret(arrow icon) */

    #ddmenu .caret {
        color: inherit;
        left: -1em;
        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;
        overflow: hidden;
        top: 100%;
        border: 1px solid #CCC;
        border-top: none;
        border-radius: 0 0 4px 4px;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.14);
    }

    #ddmenu .full-width .dropdown {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    #ddmenu .offset300 {
        left: -300px;
        right: auto;
    }

    #ddmenu .right-aligned {
        left: auto;
        right: 0px;
    }

    #ddmenu .over .dropdown {
        display: block;
    }

    #ddmenu .dd-inner {
        /* text-align: center; */
        padding: 10px;
        margin: 0px;
        background-color: #EEEEEE;
        white-space: nowrap;
        font-size: 13px;
        z-index: 999999999999;
    }

    #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: 12px;
            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: #b44617;
        }


    /* 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: 200px;
        padding: 0 30px;
        border-right: 1px solid #999;
    }

    #ddmenu .dd-inner ul:last-child {
        border-right: none;
    }

    #ddmenu .column h3 {
        font-weight: bold;
        line-height: 1.1;
        margin-top: 0px;
        margin-bottom: 0px;
        font-size: 14px;
        color: #b47026;
    }

        #ddmenu .column h3 a {
            color: #dc2727;
        }

            #ddmenu .column h3 a:hover {
                color: black;
            }

    #ddmenu li {
        /* border-left:1px solid #2e6fb2; */
        /* border-right:1px solid #14314f; */
    }

        #ddmenu li:first-child {
            border-left: none;
        }

        #ddmenu li:last-child {
            border-right: none;
        }


/* useful when http://www.menucool.com/ddmenu/one-menu-for-all-pages */

#ddmenuLink {
    display: none;
}


/*######## add additional styles for mobile-friendly responsive menu ########*/

#ddmenu .menu-icon {
    display: none;
    /* hide menu icon initially */
}

#ddmenu .menu-tools {
    display: none;
    /* hide menu icon initially */
}



/*styles for mobile*/

@media only screen and (max-width: 768px) {
    #ddmenu .search-bar {
        display: none;
    }

    #ddmenu .column.mayHide {
        display: none;
    }
    /*override the original settings*/
    #ddmenu ul {
        width: 100%;
        display: none;
        border-radius: 0;
    }

    #ddmenu li {
        position: relative;
        display: block;
        font-size: 13px;
        text-align: left;
        border-top: 1px solid rgba(200, 200, 200, 0.2);
        border-radius: 0;
    }

    #ddmenu .full-width {
        position: relative;
    }

    #ddmenu .dropdown {
        position: relative;
        *top: auto;
        /*for IE7*/
        border: none;
        border-radius: 0;
        background-color: #EEEEEE;
    }

    #ddmenu .offset300 {
        left: 0;
    }

    #ddmenu .full-width .dropdown {
        width: auto;
    }

    #ddmenu .dd-inner {
        margin: 0;
        background: none;
        text-align: left;
    }
    /*turn each column to list vertically instead of horizontally */
    #ddmenu .column {
        width: auto;
        padding: 0;
        border: none;
        display: block;
    }

    #ddmenu .menu-tools .menu-search-bar {
        height: 100%;
        width: 150px;
        float: left;
        font-size: 14px;
        color: white;
        font-weight: 700;
        display: table-caption;
        padding: 0.5em 0.5em 0.5em 0.5em;
        /* z-index: 100000; */
    }

    .menu-search-bar .over {
        border-top: none;
        margin-top: 0;
        background-color: rgba(255, 255, 255, 0);
    }

    .menu-search-bar {
        width: 200px;
        margin: 0;
        padding: 0;
        display: block;
        float: right;
    }

        .menu-search-bar .input-group {
            display: inline-block;
            float: left;
            width: 500px;
            font-family: Roboto, sans-serif;
            font-size: .875em;
            background: none;
            border: none;
            position: relative;
            opacity: 1 !important;
            font-weight: 400;
        }

            .menu-search-bar .input-group input {
                background: none;
                border-top: none;
                border-left: none;
                border-right: none;
                border-bottom: 1px solid white;
            }

                .menu-search-bar .input-group input:focus {
                    background: white;
                }

            .menu-search-bar .input-group button {
                background: none;
                border-top: none;
                border-left: none;
                border-right: none;
                border-radius: 0;
                border-bottom: none;
            }

                .menu-search-bar .input-group button:hover {
                    color: #ec951b;
                }

    #ddmenu .menu-tools .menu-language {
        height: 100%;
        float: left;
        font-size: 14px;
        color: white;
        font-weight: 700;
        display: inline-block;
        padding: 0.5em 0.5em 0.5em 0.5em;
    }
    /*move the arrow icon to right*/
    #ddmenu .caret {
        position: absolute;
        left: auto;
        right: 14px;
        top: 22px;
        border-width: 5px;
    }
    /* All the following are for the .menu-icon (pure CSS) */
    #ddmenu .menu-tools .menu-icon {
        font-size: 32px;
        /*icon size*/
        display: inline-block;
        position: relative;
        width: 40px;
        height: 36px;
        text-align: center;
        cursor: pointer;
        -moz-user-select: none;
        -webkit-user-select: none;
        background-color: rgba(255, 255, 255, 0);
        border-radius: 0px;
        margin-bottom: 6px;
        /*align the icon to the left*/
        margin-left: 6px;
        margin-right: 0px;
        margin-top: 2px;
        float: left;
    }

        #ddmenu .menu-tools .menu-icon::before {
            content: "";
            position: absolute;
            top: 0.25em;
            left: 4px;
            width: 1em;
            height: 0.125em;
            border-top: 0.375em double #2b3389;
            border-bottom: 0.125em solid #2b3389;
            box-sizing: content-box;
        }

    #ddmenu .menu-tools .menu-icon-active {
        background-color: #092449;
    }

        #ddmenu .menu-tools .menu-icon-active::before {
            border-color: #EEE;
        }
    /* All the following are for the .menu-tools (pure CSS) */ /*  Generated by www.menucool.com/drop-down-menu  */


    /* main menu
----------------------------*/

    #ddmenu {
        display: block;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        text-align: left;
        /*Specify the alignment of the whole UL if UL is not width:100%;*/
        letter-spacing: normal;
        background-color: rgb(9, 36, 73);
        padding: 0;
        margin: 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;
            background: rgb(9, 36, 73);
            display: inline-block;
            list-style: none;
            position: relative;
            z-index: 999999990;
            border: none;
            border-radius: 0px;
        }

        #ddmenu li {
            margin: 0;
            padding: 0;
            font-size: 12px;
            display: inline-block;
            * display: inline;
            zoom: 1;
            /*for IE6-7*/
            position: relative;
            color: #EEE;
            line-height: 3em;
            /*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 .search-bar.over {
            border-top: none;
            margin-top: 0;
            background-color: rgba(255, 255, 255, 0);
        }

        #ddmenu .search-bar {
            width: 200px;
            margin: 0;
            padding: 0;
            display: block;
            float: right;
        }

            #ddmenu .search-bar .input-group {
                display: inline-block;
                float: left;
                width: 500px;
                font-family: Roboto, sans-serif;
                font-size: .875em;
                background: none;
                border: none;
                position: relative;
                opacity: 1 !important;
                font-weight: 400;
            }

                #ddmenu .search-bar .input-group input {
                    background: none;
                    border-top: none;
                    border-left: none;
                    border-right: none;
                    border-bottom: 1px solid white;
                }

                    #ddmenu .search-bar .input-group input:focus {
                        background: white;
                    }

                #ddmenu .search-bar .input-group button {
                    background: none;
                    border-top: none;
                    border-left: none;
                    border-right: none;
                    border-radius: 0;
                    border-bottom: none;
                }

                    #ddmenu .search-bar .input-group button:hover {
                        color: #ec951b;
                    }

        #ddmenu .over {
            color: #ec951b;
            background-color: rgba(255, 255, 255, 0.15);
            /*fallback for old IE*/
            border-top: 3px solid rgb(221, 54, 54);
            margin-top: -3px;
            -webkit-animation-delay: 2s;
            /* Safari 4.0 - 8.0 */
            animation-delay: 2s;
            transition: visibility 0s 2s, opacity 2s linear;
            -webkit-transition-property: width;
            /* Safari */
            -webkit-transition-duration: 5s;
            /* Safari */
            -webkit-transition-delay: 2s;
            /* Safari */
            transition-property: width;
            transition-duration: 5s;
            transition-delay: 2s;
        }

            #ddmenu .over.no-sub {
            }

        #ddmenu .top-heading {
            font-weight: bold;
            margin: 0px 1em;
            color: inherit;
            text-decoration: none !important;
            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: none;
            }

            #ddmenu a:focus {
                outline: 1px dotted #09F;
            }


        /* caret(arrow icon) */

        #ddmenu .caret {
            color: inherit;
            left: -1em;
            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;
            overflow: hidden;
            top: 100%;
            border: 1px solid #CCC;
            border-top: none;
            border-radius: 0 0 4px 4px;
            box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.14);
        }

        #ddmenu .full-width .dropdown {
            width: 100%;
            padding: 0;
            margin: 0;
        }

        #ddmenu .offset300 {
            left: -300px;
            right: auto;
        }

        #ddmenu .right-aligned {
            left: auto;
            right: 0px;
        }

        #ddmenu .over .dropdown {
            display: block;
        }

        #ddmenu .dd-inner {
            /* text-align: center; */
            padding: 10px;
            margin: 0px;
            background-color: #EEEEEE;
            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: 12px;
                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: #b51717;
            }


        /* 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: 200px;
            padding: 0 30px;
            border-right: 1px solid #999;
        }

        #ddmenu .dd-inner ul:last-child {
            border-right: none;
        }

        #ddmenu .column h3 {
            font-weight: bold;
            line-height: 1.1;
            margin-top: 0px;
            margin-bottom: 0px;
            font-size: 14px;
            color: #dc2727 !important;
            padding: 0;
        }

        #ddmenu h3 a {
            font-weight: bold;
            line-height: 1.1;
            margin-top: 0px;
            margin-bottom: 0px;
            font-size: 14px;
            color: #dc2727 !important;
            padding: 0;
        }

        #ddmenu .column h3 a:hover {
            color: black;
        }

        #ddmenu li {
            /* border-left:1px solid #2e6fb2; */
            /* border-right:1px solid #14314f; */
        }

            #ddmenu li:first-child {
                border-left: none;
            }

            #ddmenu li:last-child {
                border-right: none;
            }


    /* useful when http://www.menucool.com/ddmenu/one-menu-for-all-pages */

    #ddmenuLink {
        display: none;
    }


    /*######## add additional styles for mobile-friendly responsive menu ########*/

    #ddmenu .menu-icon {
        display: none;
        /* hide menu icon initially */
    }

    #ddmenu .menu-tools {
        display: none;
        /* hide menu icon initially */
    }
}


/*styles for mobile*/
/*Custom by NguyenBV*/
@media only screen and (max-width: 768px) {
    #ddmenu .menu-content-active {
        display: block;
        position: fixed;
        top: 40px;
        bottom: 0px;
        width: 75%;
        overflow-x: scroll;
    }

    #ddmenu .search-bar {
        display: none;
    }

    #ddmenu .column.mayHide {
        display: none;
    }
    /*override the original settings*/
    #ddmenu ul {
        width: 100%;
        display: none;
        border-radius: 0;
    }

    #ddmenu li {
        position: relative;
        display: block;
        font-size: 13px;
        text-align: left;
        border-top: 1px solid rgba(200, 200, 200, 0.2);
        border-radius: 0;
    }

    #ddmenu .full-width {
        position: relative;
    }

    #ddmenu .dropdown {
        position: relative;
        *top: auto;
        /*for IE7*/
        border: none;
        border-radius: 0;
        background-color: #EEEEEE;
    }

    #ddmenu .offset300 {
        left: 0;
    }

    #ddmenu .full-width .dropdown {
        width: auto;
    }

    #ddmenu .dd-inner {
        margin: 0;
        background: none;
        text-align: left;
    }
    /*turn each column to list vertically instead of horizontally */
    #ddmenu .column {
        width: auto;
        padding: 0;
        border: none;
        display: block;
    }
    /*move the arrow icon to right*/
    #ddmenu .caret {
        position: absolute;
        left: auto;
        right: 14px;
        top: 22px;
        border-width: 5px;
    }
    /* All the following are for the .menu-icon (pure CSS) */
    #ddmenu .menu-icon {
        font-size: 32px;
        /*icon size*/
        display: inline-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: 0px;
        margin-bottom: 6px;
        /*align the icon to the left*/
        margin-left: auto;
        margin-right: 0px;
        margin-top: 2px;
        float: right;
    }

        #ddmenu .menu-icon::before {
            content: "";
            position: absolute;
            top: 0.25em;
            left: 4px;
            width: 1em;
            height: 0.125em;
            border-top: 0.375em double #ffffff;
            border-bottom: 0.125em solid #ffffff;
            box-sizing: content-box;
        }

    #ddmenu .menu-icon-active {
        background-color: #8a6d3b;
    }

        #ddmenu .menu-icon-active::before {
            border-color: #EEE;
        }
    /* All the following are for the .menu-tools (pure CSS) */
    #ddmenu .menu-tools {
        width: 100%;
        height: 40px;
        display: inline-block;
    }

    #ddmenu .menu-language-bar {
        display: none;
    }

    #ddmenu .menu-search-btn {
        float: right;
        margin: .25em;
    }

        #ddmenu .menu-search-btn .btn {
            background: none;
            color: #2b3389;
        }

    #ddmenu .menu-search-input {
        display: none;
    }

    #ddmenu .menu-tools.search-mode {
        background: #d5ebff !important;
    }

        #ddmenu .menu-tools.search-mode .menu-search-input {
            background: #d5ebff !important;
            width: 100%;
            margin: 0.25em;
            display: block;
        }

            #ddmenu .menu-tools.search-mode .menu-search-input .btn {
                background: #d5ebff !important;
            }

    #ddmenu .main-menu-dock {
        -webkit-animation-name: menufade; /* Safari 4.0 - 8.0 */
        -webkit-animation-duration: .5s; /* Safari 4.0 - 8.0 */
        animation-name: menufade;
        animation-duration: .5s;
        /* The animation code */
    }

    @keyframes menufade {
        0% {
            width: 0%;
        }

        100% {
            width: 75%;
        }
    }

    @-webkit-keyframes menufade {
        0% {
            width: 0%;
        }

        100% {
            width: 75%;
        }
    }
}
