﻿/* 開放日 */
#main-menu .menuNode182 a
{
   background-image: linear-gradient(to bottom, rgb(208 78 114), rgb(174 51 149));
}
#main-menu .menuNode182 > ul a
{
  color : #FFFFFF;
  background-image: linear-gradient(to bottom, rgb(208 78 114), rgb(174 51 149));
}

/* 整個主導覽列外圍 */
.mp主導覽列1 {
    background-color: rgb(48,146,192); /*顏色(1)*/
    background-image: linear-gradient(to bottom, rgb(48,146,192), rgb(49,152,199)); /*顏色(1), 顏色(2)*/
    border-radius: 8px; /*圓角度*/
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); /* 陰影 */
}

    .mp主導覽列1:after {
        clear: both;
        content: "\00a0"; /*Unicode Character 'NO-BREAK SPACE'*/
        display: block;
        height: 0;
        font: 0px/0 serif;
        overflow: hidden;
    }

    /* 學校名稱 */
    .mp主導覽列1 .schoolName {
        float: left;
        margin: 0;
    }

        .mp主導覽列1 .schoolName a {
            display: block;
            padding: 10px 10px 10px 20px;
            color: #fff; /*校名顏色*/
            /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
            font-size: 16px;
            font-weight: normal;
            line-height: 29px;
            text-decoration: none;
        }

    .mp主導覽列1 .schoolLogo {
        height: 22px;
        width: auto;
        vertical-align: middle;
        margin-right: 5px;
    }

/* ul 主導覽列節點容器 */
    #main-menu {
        clear: both;
        box-shadow: none;
    }

/* 桌面版時不顯示學校名 */
@media (min-width: 768px) {
    #main-menu {
        clear: none;
    }

    .mp主導覽列1 .schoolName {
        display: none;
    }

    /* 整個主導覽列置中，上層容器：text-align:center;
    .mp主導覽列1
    {
        display : inline-block;
    }*/
}

/* 手機版節點容器與校名之分隔 */
#main-menu:before {
    content: '';
    display: block;
    height: 1px;
    font: 1px/1px sans-serif;
    overflow: hidden;
    background-color: rgb(46,140,184);
}

/* 桌面版時不顯示節點容器與校名之分隔 */
@media (min-width: 768px) {
    .mp主導覽列1 #main-menu:before {
        display: none;
    }
}

/* 手機版, 整個主導覽列開合按鈕 */
.mp主導覽列1 .main-menu-btn {
    float: right;
    margin: 10px;
    position: relative;
    display: inline-block;
    width: 29px;
    height: 29px;
    text-indent: 29px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* hamburger icon，張開用 */
.mp主導覽列1 .main-menu-btn-icon,
.mp主導覽列1 .main-menu-btn-icon:before,
.mp主導覽列1 .main-menu-btn-icon:after {
    position: absolute;
    top: 50%;
    left: 2px;
    height: 2px;
    width: 24px;
    background: #fff; /* 展開按鈕顏色 */
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

    .mp主導覽列1 .main-menu-btn-icon:before {
        content: '';
        top: -7px;
        left: 0;
    }

    .mp主導覽列1 .main-menu-btn-icon:after {
        content: '';
        top: 7px;
        left: 0;
    }


/* x icon，關閉用 */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
    height: 0;
    background: transparent;
}

    #main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
        top: 0;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
        top: 0;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }


/* hide menu state checkbox (keep it visible to screen readers) */
#main-menu-state {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

    /* hide the menu in mobile view */
    #main-menu-state:not(:checked) ~ #main-menu {
        display: none;
    }

    #main-menu-state:checked ~ #main-menu {
        display: block;
    }

@media (min-width: 768px) {
    /* hide the button in desktop view */
    .mp主導覽列1 .main-menu-btn {
        position: absolute;
        top: -99999px;
    }
    /* always show the menu in desktop view */
    #main-menu-state:not(:checked) ~ #main-menu {
        display: block;
    }
}

/* =====================================================================================*/

/* 整個流動版導覽列 */
.mp主導覽列1 .sm-blue {
    background: transparent;
}
    /* 所有節點通用樣式 */
    .mp主導覽列1 .sm-blue a, .mp主導覽列1 .sm-blue a:hover, .mp主導覽列1 .sm-blue a:focus, .mp主導覽列1 .sm-blue a:active {
        padding: 10px 20px;
        /* make room for the toggle button (sub indicator) */
        padding-right: 58px;
        background-color: rgb(48,146,192);
        background-image: linear-gradient(to bottom, rgb(49,152,199), rgb(46,140,184)); /*顏色(3), 顏色(4)*/
        color: #fff; /* 文字顏色(2) */
        font-size: 18px;
        font-weight: bold;
        line-height: 23px;
        text-decoration: none;
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    }
        .mp主導覽列1 .sm-blue a.current { /* 現選節點預設樣式 */
            background-color: rgb(0,104,146);
            background-image: linear-gradient(to bottom, rgb(0,97,135), rgb(0,111,156)); /*顏色(5), 顏色(6)*/
            color: #fff; /* 文字顏色(3) */
        }
        .mp主導覽列1 .sm-blue a.disabled { /* 已停用節點預設樣式 */
            color: rgb(161,209,232); /* 文字顏色(4) */
        }
        .mp主導覽列1 .sm-blue a .sub-arrow { /* 有下層節點的節點的符號（+,-）樣式 */
            position: absolute;
            top: 50%;
            margin-top: -17px;
            left: auto;
            right: 4px;
            width: 34px;
            height: 34px;
            overflow: hidden;
            font: bold 16px/34px monospace !important;
            text-align: center;
            text-shadow: none;
            background: rgba(0, 0, 0, 0.1);
            border-radius: 4px;
        }
            .mp主導覽列1 .sm-blue a .sub-arrow::before { /* 未被展開時 */
                content: '+';
            }
        .mp主導覽列1 .sm-blue a.highlighted .sub-arrow::before { /* 已被展開後 */
            content: '-';
        }
    .mp主導覽列1 .sm-blue > li:first-child > a, .mp主導覽列1 .sm-blue > li:first-child > :not(ul) a {
        border-radius: 8px 8px 0 0; /* 左上、右上角圓角 */
    }
    .mp主導覽列1 .sm-blue > li:last-child > a, .mp主導覽列1 .sm-blue > li:last-child > *:not(ul) a, .mp主導覽列1 .sm-blue > li:last-child > ul, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > a, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > *:not(ul) a, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > a, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul {
        border-radius: 0 0 8px 8px; /* 左下、右下角圓角 */
    }
        .mp主導覽列1 .sm-blue > li:last-child > a.highlighted, .mp主導覽列1 .sm-blue > li:last-child > *:not(ul) a.highlighted, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > a.highlighted, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .mp主導覽列1 .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted {
            border-radius: 0;
        }
    /* 第2層 */
    .mp主導覽列1 .sm-blue ul {
        background: #fff; /* 第2層，顏色(7) */
    }
        /* 第3層 */
        .mp主導覽列1 .sm-blue ul ul {
            background: rgba(102, 102, 102, 0.1); /* 第3層，顏色(8) */
        }
        /* 第2層的節點 */
        .mp主導覽列1 .sm-blue ul a, .mp主導覽列1 .sm-blue ul a:hover, .mp主導覽列1 .sm-blue ul a:focus, .mp主導覽列1 .sm-blue ul a:active {
            background: transparent;
            color: rgb(48,146,192); /* 第2層文字顏色，文字顏色(5) */
            font-size: 16px;
            text-shadow: none;
            border-left: 8px solid transparent;
        }
            /* 第2層現選節點 */
            .mp主導覽列1 .sm-blue ul a.current {
                background-color: rgb(0,104,146);
                background-image: linear-gradient(to bottom, rgb(0,97,135), rgb(0,111,156)); /*顏色(5), 顏色(6)*/
                color: #fff; /* 文字顏色(3) */
            }
            /* 第2層已停用節點 */
            .mp主導覽列1 .sm-blue ul a.disabled {
                color: #b3b3b3;
            }
        /* 第3層節點 */
        .mp主導覽列1 .sm-blue ul ul a,
        .mp主導覽列1 .sm-blue ul ul a:hover,
        .mp主導覽列1 .sm-blue ul ul a:focus,
        .mp主導覽列1 .sm-blue ul ul a:active {
            border-left: 16px solid transparent;
        }
        /* 第4層節點 */
        .mp主導覽列1 .sm-blue ul ul ul a,
        .mp主導覽列1 .sm-blue ul ul ul a:hover,
        .mp主導覽列1 .sm-blue ul ul ul a:focus,
        .mp主導覽列1 .sm-blue ul ul ul a:active {
            border-left: 24px solid transparent;
        }
        /* 第5層節點 */
        .mp主導覽列1 .sm-blue ul ul ul ul a,
        .mp主導覽列1 .sm-blue ul ul ul ul a:hover,
        .mp主導覽列1 .sm-blue ul ul ul ul a:focus,
        .mp主導覽列1 .sm-blue ul ul ul ul a:active {
            border-left: 32px solid transparent;
        }
        /* 第6層節點 */
        .mp主導覽列1 .sm-blue ul ul ul ul ul a,
        .mp主導覽列1 .sm-blue ul ul ul ul ul a:hover,
        .mp主導覽列1 .sm-blue ul ul ul ul ul a:focus,
        .mp主導覽列1 .sm-blue ul ul ul ul ul a:active {
            border-left: 40px solid transparent;
        }
        /* 第2層，節點之間 */
        .mp主導覽列1 .sm-blue ul li {
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }
            /* 第2層，第一個節點上方 */
            .mp主導覽列1 .sm-blue ul li:first-child {
                border-top: 0;
            }

    .mp主導覽列1 .sm-blue li.notShowInMobileMode
    {
        display : none;
    }



    @media (min-width: 768px) {
        /* Switch to desktop layout
  -----------------------------------------------
     These transform the menu tree from collapsible to desktop (navbar + dropdowns)
  -----------------------------------------------*/
        /* start... (it's not recommended editing these rules) */
        .mp主導覽列1 .sm-blue ul {
            position: absolute;
            width: 12em;
        }

        .mp主導覽列1 .sm-blue li {
            float: left;
        }

        .mp主導覽列1 .sm-blue li.notShowInMobileMode {
            display : inherit;
        }

    .mp主導覽列1 .sm-blue.sm-rtl li {
        float: right;
    }

    .mp主導覽列1 .sm-blue ul li, .mp主導覽列1 .sm-blue.sm-rtl ul li, .mp主導覽列1 .sm-blue.sm-vertical li {
        float: none;
    }

    .mp主導覽列1 .sm-blue a {
        white-space: nowrap;
    }

    .mp主導覽列1 .sm-blue ul a, .mp主導覽列1 .sm-blue.sm-vertical a {
        white-space: normal;
    }

    .mp主導覽列1 .sm-blue .sm-nowrap > li > a, .mp主導覽列1 .sm-blue .sm-nowrap > li > :not(ul) a {
        white-space: nowrap;
    }

  /* ...end */

    /* static Block 靜態方塊 */
    .mp主導覽列1 .sm-blue {
        background-color: rgb(48,146,192);
        background-image: linear-gradient(to bottom, rgb(49,152,199), rgb(46,140,184)); /*顏色(1), 顏色(2)*/
        border-radius: 8px;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    }
        /* 節點預設樣式 */
        .mp主導覽列1 .sm-blue a, .mp主導覽列1 .sm-blue a:hover, .mp主導覽列1 .sm-blue a:focus, .mp主導覽列1 .sm-blue a:active, .mp主導覽列1 .sm-blue a.highlighted {
            padding: 13px 24px;
            background-color: rgb(48,146,192);
            background-image: linear-gradient(to bottom, rgb(49,152,199), rgb(46,140,184)); /*顏色(1), 顏色(2)*/
            color: #fff;
        }
            /* 節點 Hover 樣式 */
            .mp主導覽列1 .sm-blue a:hover, .mp主導覽列1 .sm-blue a:focus, .mp主導覽列1 .sm-blue a:active, .mp主導覽列1 .sm-blue a.highlighted {
                background-color: rgb(46,140,184);
                background-image: linear-gradient(to bottom, rgb(45,137,180), rgb(41,124,162)); /*顏色(9), 顏色(10)*/
            }
            /* 現選節點 */
            .mp主導覽列1 .sm-blue a.current {
                background-color: rgb(0,104,146);
                background-image: linear-gradient(to bottom, rgb(0,97,135), rgb(0,111,156)); /*顏色(5), 顏色(6)*/
                color: #fff;
            }
            /* 停用節點 */
            .mp主導覽列1 .sm-blue a.disabled {
                background-color: rgb(48,146,192);
                background-image: linear-gradient(to bottom, rgb(49,152,199), rgb(46,140,184)); /*顏色(1), 顏色(2)*/
                color: rgb(161,209,232); /* 顏色(11) */
            }
            /* 第一層，向下箭頭 */
            .mp主導覽列1 .sm-blue a .sub-arrow {
                top: auto;
                margin-top: 0;
                bottom: 2px;
                left: 50%;
                margin-left: -5px;
                right: auto;
                width: 0;
                height: 0;
                border-width: 5px;
                border-style: solid dashed dashed dashed;
                border-color: rgb(161,209,232) transparent transparent transparent; /* 顏色(11) */
                background: transparent;
                border-radius: 0;
            }
                .mp主導覽列1 .sm-blue a .sub-arrow::before {
                    display: none;
                }
        /* 第1層，左邊圓角 */
        .mp主導覽列1 .sm-blue > li:first-child > a, .mp主導覽列1 .sm-blue > li:first-child > :not(ul) a {
            border-radius: 8px 0 0 8px;
        }
        /* 第1層，右邊圓角 */
        .mp主導覽列1 .sm-blue > li:last-child > a, .mp主導覽列1 .sm-blue > li:last-child > :not(ul) a {
            border-radius: 0 8px 8px 0 !important;
        }
        /* 第1層，節點左邊Border */
        .mp主導覽列1 .sm-blue > li {
            border-left: 1px solid rgb(41,124,162); /*顏色(5)*/
        }
            /* 第1層，第一個節點左邊Border */
            .mp主導覽列1 .sm-blue > li:first-child {
                border-left: 0;
            }
        /* 第2層方塊 */
        .mp主導覽列1 .sm-blue ul {
            border: 1px solid #a8a8a8;
            padding: 7px 0;
            background: #fff;
            border-radius: 0 0 4px 4px !important;
            box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
        }
            /* 第 3 層方塊 */
            .mp主導覽列1 .sm-blue ul ul {
                border-radius: 4px !important;
                background: #fff; /* 顏色(7) */
            }
            /* 第 2 層節點 */
            .mp主導覽列1 .sm-blue ul a, .mp主導覽列1 .sm-blue ul a:hover, .mp主導覽列1 .sm-blue ul a:focus, .mp主導覽列1 .sm-blue ul a:active, .mp主導覽列1 .sm-blue ul a.highlighted {
                border: 0 !important;
                padding: 9px 23px;
                background: transparent;
                
                color: rgb(0,97,135); /*顏色(5)*/
                
                border-radius: 0 !important;
            }
                /* 第 2 層節點 Hover */
                .mp主導覽列1 .sm-blue ul a:hover, .mp主導覽列1 .sm-blue ul a:focus, .mp主導覽列1 .sm-blue ul a:active, .mp主導覽列1 .sm-blue ul a.highlighted {
                    background-color: rgb(48,146,192);
                    background-image: linear-gradient(to bottom, rgb(49,152,199), rgb(46,140,184)); /*顏色(1), 顏色(2)*/
                    color: #fff;
                }
                /* 第 2 層節點現選 */
                .mp主導覽列1 .sm-blue ul a.current {
                    background-color: rgb(0,104,146);
                    background-image: linear-gradient(to bottom, rgb(0,97,135), rgb(0,111,156)); /*顏色(5), 顏色(6)*/
                    color: #fff;
                }
                /* 第 2 層節點停用 */
                .mp主導覽列1 .sm-blue ul a.disabled {
                    background: #fff;
                    color: #b3b3b3;
                }
                /* 第 2 層節點，下層箭頭 */
                .mp主導覽列1 .sm-blue ul a .sub-arrow {
                    top: 50%;
                    margin-top: -5px;
                    bottom: auto;
                    left: auto;
                    margin-left: 0;
                    right: 10px;
                    border-style: dashed dashed dashed solid;
                    border-color: transparent transparent transparent rgb(161,209,232); /* 箭頭顏色 */
                }
            /* 第 2 層節點之間無邊框 */
            .mp主導覽列1 .sm-blue ul li {
                border: 0;
            }
        /* 彈出來的方塊（即第2層、3、4....）上下的箭頭 */
        .mp主導覽列1 .sm-blue .scroll-up,
        .mp主導覽列1 .sm-blue .scroll-down {
            position: absolute;
            display: none;
            visibility: hidden;
            overflow: hidden;
            background: #fff;
            height: 20px;
        }
        /* 彈出來的方塊上下的箭頭 */
        .mp主導覽列1 .sm-blue .scroll-up-arrow,
        .mp主導覽列1 .sm-blue .scroll-down-arrow {
            position: absolute;
            top: -2px;
            left: 50%;
            margin-left: -8px;
            width: 0;
            height: 0;
            overflow: hidden;
            border-width: 8px;
            border-style: dashed dashed solid dashed;
            border-color: transparent transparent rgb(49,152,199) transparent;
        }
        .mp主導覽列1 .sm-blue .scroll-down-arrow {
            top: 6px;
            border-style: solid dashed dashed dashed;
            border-color: rgb(49,152,199) transparent transparent transparent;
        }
}




/*Color Variable Start*/
.mainMenuColors
{
--color01 : rgb(48,146,192); /*C*/
--color02 : rgb(49,152,199); /*C*/
--color03 : rgb(46,140,184); /*C*/
--color04 : rgb(161,209,232); /*C*/
--color05 : rgb(45,137,180); /*C*/
--color06 : rgb(41,124,162); /*C*/
--color07 : rgb(0,104,146); /*C*/
--color08 : rgb(0,97,135); /*C*/
--color09 : rgb(0,111,156); /*C*/
--color10 : rgb(68,178,229); /*C*/
--color11 : rgb(108,182,216); /*C*/
--color12 : rgb(61,158,204); /*C*/
--color13 : rgb(174,213,232); /*C*/
--color14 : rgb(46,180,242); /*C*/
--color15 : rgb(54,188,249); /*C*/
}
/*Color Variable End*/







