@charset 'UTF-8';
/* Some stylesheet reset */

#LftMenuBar > ul {
    /*list-style: none;*/
    margin: 0;
    padding: 0;
    font-family: "Microsoft JhengHei";
    /*vertical-align: baseline;*/
    /*line-height: 1;*/
}

/* The container */
#LftMenuBar > ul {
    display: block;
    position: relative;
    width: 100%; /* Take full width of parent flex child */
    /*box-shadow: 0 1px 2px rgba(48, 61, 155, 0.7);*/
}

    /* The list elements which contain the links */
    #LftMenuBar > ul li {
        display: block;
        position: relative;
        margin: 0;
        padding: 0;
        /*width: 100%;*/
        box-shadow: 2px 2px 5px rgba(2, 2, 2, 0.25), inset 0 5px 5px rgba(255, 255, 255, 0.4);
    }

        /* General link styling */
        #LftMenuBar > ul li a {
            /* Layout */
            display: block;
            position: relative;
            margin: 0;
            margin-bottom: 0.375rem; /* 6px / 16px */
            margin-top: 0.375rem;
            padding: 0.7rem 0.6rem; /* Relative padding expands with font size */
            /* Typography */
            /*font-family: Helvetica, Arial, sans-serif;*/
            color: #ffffff;
            text-decoration: none;
            /*text-shadow: 0 1px 0 #fff;  */
            font-weight: 600;
            font-size: 1rem;
            /* Background & effects */
            overflow: hidden; /* Ensures pseudo elements don't bleed out */
        }

        /* Effect: Corner Brackets */
        #LftMenuBar > ul li a::before, 
        #LftMenuBar > ul li a::after {
            content: '';
            position: absolute;
            width: 12px;
            height: 12px;
            border-color: #ffffff; /* Keeping the white color */
            border-style: solid;
            transition: all 0.3s;
            opacity: 0;
            pointer-events: none; /* Allows clicking through the bracket */
        }

        #LftMenuBar > ul li a::before {
            top: 5px; left: 5px;
            border-width: 2px 0 0 2px;
            transform: translate(10px, 10px);
        }

        #LftMenuBar > ul li a::after {
            bottom: 5px; right: 5px;
            border-width: 0 2px 2px 0;
            transform: translate(-10px, -10px);
        }

        #LftMenuBar > ul li a:hover::before, 
        #LftMenuBar > ul li a:hover::after {
            opacity: 1;
            transform: translate(0, 0);
            border-color: currentColor; /* Matches the theme color on hover */
        }

        #LftMenuBar > ul li a {
            background: #9798CC;
            transition: all 0.2s ease, font-size 0ms;
        }

            #LftMenuBar > ul li a:first-child {
                margin-top: 0;
            }

            #LftMenuBar > ul li a:hover,
            #LftMenuBar > ul li:hover > a {
                color: #9798CC
            }

            #LftMenuBar > ul li a.lmb-active {
                background: #D492D4 !important;
                color: #fff !important;
            }

            #LftMenuBar > ul li a.lmb-active:hover {
                background: #D492D4 !important;
                color: #fff !important;
            }

#LftMenuBar.lmb-opd > ul li a {
    background: #88BC40 !important;
}

    #LftMenuBar.lmb-opd > ul li a:hover,
    #LftMenuBar.lmb-opd > ul li:hover > a {
        color: #88BC40 !important;
    }

    #LftMenuBar.lmb-opd > ul li a.lmb-active {
        background: #37B5A7 !important;
        color: #fff !important;
    }

        #LftMenuBar.lmb-opd > ul li a.lmb-active:hover {
            background: #37B5A7 !important;
            color: #fff !important;
        }

#LftMenuBar.services ul li a {
    background: #49D183 !important;
}

    #LftMenuBar.services ul li a:hover,
    #LftMenuBar.services ul li:hover > a {
        color: #49D183 !important;
    }

#LftMenuBar.contactus ul li a {
    background: #F3866F !important;
}

    #LftMenuBar.contactus ul li a:hover,
    #LftMenuBar.contactus ul li:hover > a {
        color: #F3866F !important;
    }

#LftMenuBar > ul li a:hover,
#LftMenuBar > ul li:hover > a {
    /*text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);*/
    background: #fff !important;
    /*
  background: -webkit-linear-gradient(#2896eb, #137ccd);
  background: -moz-linear-gradient(#2896eb, #137ccd);
  background: linear-gradient(#2896eb, #137ccd);
  */
    /*border-color: transparent;*/
}

/* --- LEFT MENU HIGH CONTRAST (LIGHT) --- */
body.high-contrast #LftMenuBar > ul li {
    box-shadow: none !important;
    border: 1px solid #000000 !important;
    margin-bottom: 5px;
}

body.high-contrast #LftMenuBar > ul li a {
    background: #ffffff !important;
    color: #000000 !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0.2rem !important;
}

body.high-contrast #LftMenuBar > ul li a:hover,
body.high-contrast #LftMenuBar > ul li:hover > a {
    background: #000000 !important;
    color: #ffffff !important;
}

body.high-contrast #LftMenuBar > ul li a.lmb-active {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #ffffff;
}

body.high-contrast #LftMenuBar > ul li a::before,
body.high-contrast #LftMenuBar > ul li a::after {
    border-color: #000000 !important;
}

body.high-contrast #LftMenuBar > ul li a:hover::before,
body.high-contrast #LftMenuBar > ul li a:hover::after {
    border-color: #ffffff !important;
}

@media only screen and (max-width:1024px) {
    #LftMenuBar ul {
        margin-left: 15px;
        width: 170px;
    }
}
