/* ================================= */
/* ★★ Dolin-系統別 Style 專區 ★★ */
/* ================================= */
/* ★★★★★★★★★★ */
/* ★ dolin 基本設定 ★ */
/* ★★★★★★★★★★ */
:root {
    --title: #495D46;
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --navy: #000080;
}

body {
    width: 100%; /* 開啟 Dialog 時 , 不會放大 */
}
/* ★★★★★★★★★★★★ */
/* ★ Dialog Style 設定  ★ */
/* ★★★★★★★★★★★★ */
.modal {
    overflow: hidden !important; /* 開啟 Dialog 時 , 不會有右側 Scroll Bar */
}

.modal-content {
    text-align: left;
}

    .modal-content * {
        font-weight: bold;
        font-size: 16px !important;
    }
/* Dialog 抬頭列 */
.modal-header {
    padding: 8px !important;
}
    /* Dialog 關閉功能鍵 */
    .modal-header button {
        margin: 10px;
        margin-top: 4px !important;
    }
/* ★★★★★★★★★★★★★★ */
/* ★ 目前支援 6 種 Style    ★ */
/* ★ dolin-his   : 藍色系   ★ */
/* ★ dolin-phs   : 棕色系   ★ */
/* ★ dolin-stock : 綠色系   ★ */
/* ★ dolin-trans : 粉紅色系 ★ */
/* ★ dolin-other : 紫色系   ★ */
/* ★ dolin-lean  : 黑色系   ★ */
/* ★★★★★★★★★★★★★★ */
/* ★★★★★★★★ */
/* ★ Style 測試 ★ */
/* ★★★★★★★★ */
.dolin-green {
    background: #018b8d;
    background: #0ba29b;
    background: #63c0ab;
    background: #a3d7d5;
}
.dolin-yellow {
    background: #f7b500;
    background: #fdd100;
    background: #fff353;
}
.dolin-red {
    background: #950013;
    background: #c30d23;
    background: #db4e44;
}
/* ★★★★★★★★★★★★★★★★ */
/* ★        主選單特效          ★ */
/* ★ 1.hover時的顏色變化        ★ */
/* ★ 2.hover時往右移動          ★ */
/* ★ 3.hover時往右移動時作圓角  ★ */
/* ★ 4.第三層選單的位置調整     ★ */
/* ★  (要和第二層對齊)          ★ */
/* ★★★★★★★★★★★★★★★★ */
#global-nav nav ul li ul li a:hover {
    background: #c0c0c0;
    color: #000 !important;
    font-weight: bold;
    text-shadow: none;
    border-radius: 4px;
}
#global-nav nav ul li ul li:hover {
    margin-left: 8px;
    border-radius: 4px;
}
#global-nav nav ul li ul li ul {
    top: 0px !important; /* 對齊第二層選單 */
}

/* ★★★★★★★★★★★★★★ */
/* ★ 主系統 Style 基本設定  ★ */
/* ★★★★★★★★★★★★★★ */
#content-wrapper {
    /*padding-bottom: 8px;*/
}
.container {
    padding: 0px;
    max-width: none;
    margin: 0 auto;
}
.columns {
    padding: 0px;
    margin: 0px;
}
.row {
    padding: 0px;
    margin: 0px !important;
}
/* ★★★★★★★★★ */
/* ★ 主系統 字型  ★ */
/* ★★★★★★★★★ */
* {
    font-family: 'Microsoft JhengHei';
    font-size: 14px;
}

.dolin-full h2.logo a {
    width: 268px;
    background: url(../Resources/Images/Dolin/logo-dolin-phs.png) no-repeat;
}
/* ★★★★★★★★★ */
/* ★ 主系統 Logo  ★ */
/* ★★★★★★★★★ */
.dolin-his h2.logo a {
    width: 268px;
    background: url(../Resources/Images/Dolin/logo-dolin-his.png) no-repeat;
}
.dolin-phs h2.logo a {
    width: 268px;
    background: url(../Resources/Images/Dolin/logo-dolin-phs.png) no-repeat;
}
.dolin-stock h2.logo a {
    width: 268px;
    background: url(../Resources/Images/Dolin/logo-dolin-stock.png) no-repeat;
}
.dolin-trans h2.logo a {
    width: 268px;
    background: url(../Resources/Images/Dolin/logo-dolin-trans.png) no-repeat;
}
.dolin-other h2.logo a {
    width: 268px;
    background: url(../Resources/Images/Dolin/logo-dolin-other.png) no-repeat;
}
.dolin-learn h2.logo a {
    width: 268px;
    background: url(../Resources/Images/Dolin/logo-dolin-learn.png) no-repeat;
}
.dolin-full h2.logo a {
    width: 268px;
    background: url(../Resources/Images/Dolin/logo-dolin-phs.png) no-repeat;
}
/* ★★★★★★★★★★ */
/* ★ 下沈感覺的按鍵 ★ */
/* ★★★★★★★★★★ */
.btn-dolin-select {
    border-left: 2px solid #666;
    border-top: 2px solid #888;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    background: #ffffff;
}

/* ★★★★★★★★ */
/* ★ 按鍵(Btn)  ★ */
/* ★★★★★★★★ */
.dolin-his .btn-warning {
    color: #000000;
    border-color: #5bc0de;
    border-radius: 8px;
    background-color: #5bc0de;
    font-weight: bold;
    background: linear-gradient(#dbf0fe,#5bc0de);
}
    .dolin-his .btn-warning:focus {
        background-color: #0769ad;
    }
.dolin-phs .btn-warning {
    color: #ffffff;
    background-color: #e27956;
    border-color: #b24926;
}
    .dolin-phs .btn-warning:focus {
        background-color: #b24926;
    }
.dolin-stock .btn-warning {
    color: #000000;
    border-color: #9cd89c;
    border-radius: 8px;
    font-weight: bold;
    background-color: #7dc4a1;
    background-color: #9cd89c;
    background-color: #cce3d6;
    background: linear-gradient(#fcf3f6,#7dc4a1);
}
    .dolin-stock .btn-warning:focus {
        background-color: #30a040;
    }
.dolin-trans .btn-warning {
    color: #ffffff;
    background-color: #7e1618;
    border-color: #7e1618;
}
    .dolin-trans .btn-warning:focus {
        background-color: #9a1b1e;
    }
.dolin-other .btn-warning {
    color: #ffffff;
    background-color: #9c3393;
    border-color: #9c3393;
}
    .dolin-other .btn-warning:focus {
        background-color: #390f39;
    }
.dolin-learn .btn-warning {
    color: #ffffff;
    background-color: #4d4d4d;
    border-color: #4d4d4d;
}
    .dolin-learn .btn-warning:focus {
        background-color: #4d4d4d;
    }
.dolin-full .btn-warning {
    color: #ffffff;
    background-color: #b24926;
    border-color: #b24926;
}
    .dolin-full .btn-warning:focus {
        background-color: #b24926;
    }


/* ★★★★★★★★★★★ */
/* ★ 按鍵(Btn)-Hover  ★ */
/* ★★★★★★★★★★★ */
.dolin-his .btn-warning:hover {
    background-color: #0769ad;
    border-color: #0769ad;
}
.dolin-phs .btn-warning:hover {
    background-color: #b24926;
    border-color: #b24926;
}
.dolin-stock .btn-warning:hover {
    background-color: #30a040;
    border-color: #30a040;
}
.dolin-trans .btn-warning:hover {
    background-color: #9a1b1e;
    border-color: #9a1b1e;
}
.dolin-other .btn-warning:hover {
    background-color: #390f39;
    border-color: #390f39;
}
.dolin-learn .btn-warning:hover {
    background-color: #4d4d4d;
    border-color: #4d4d4d;
}
.dolin-full .btn-warning:hover {
    background-color: #b24926;
    border-color: #b24926;
}
/* ★★★★★★★★★★★ */
/* ★ table 表頭列(th) ★ */
/* ★★★★★★★★★★★ */
.dolin-stock .hiscms-table-head {
    background: linear-gradient(#f0fff0, #a8c1a8) !important;
    border-radius: 4px!important;
    border:1px solid #ccc;
}
.dolin-his .hiscms-table-head {
    background: linear-gradient(#f0fff0, #7acef4) !important;
}

/* ★★★★★★★★★★★ */
/* ★ table 表頭列(th) ★ */
/* ★★★★★★★★★★★ */
.dolin-his .dolin-table-head {
    background: #7acef4 !important;
    background: linear-gradient(#80ffff, #7acef4) !important;
    background: linear-gradient(#eaedf0, #2aa5dc) !important;
    background: linear-gradient(#eaedf0, #389bf2) !important;
}
.dolin-phs .dolin-table-head {
    background: #b24926 !important;
    color: #ffffff;
    border: 1px solid #dddddd;
}
.dolin-stock .dolin-table-head {
    background: #6cc86c !important;
    background: linear-gradient(#a8c1a8, #f0fff0) !important ;
}
.dolin-trans .dolin-table-head {
    background: #7e1618 !important;
    color:#ffffff ;
    border: 1px solid #dddddd;
}
.dolin-other .dolin-table-head {
    background: #9c3393 !important;
    color: #ffffff;
    border: 1px solid #dddddd;
}
.dolin-learn .dolin-table-head {
    background: #4d4d4d !important;
    color: #ffffff;
    border: 1px solid #dddddd;
}
.dolin-full .dolin-table-head {
    background: #b24926 !important;
    color: #ffffff;
    border: 1px solid #dddddd;
}
/* ★★★★★★★★★★★ */
/* ★ 特殊功能鍵(漸層) ★ */
/* ★★★★★★★★★★★ */
.dolin-his .dolin-function {
    text-align: center;
    white-space: nowrap;
    color: #ffffff;
    font-size: 20px;
    border: 0px;
    /* 不可選取 */
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    /* 漸層底色 */
    background: -webkit-linear-gradient(#5bc0de,#311e0a);
    background: -o-linear-gradient(#5bc0de,#311e0a);
    background: -moz-linear-gradient(#5bc0de,#311e0a);
    background: linear-gradient(#5bc0de,#468fd8);   /*#62a7ed*/
    /* 圓角 */
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
    border-radius: 4px;
    border-radius: 4px;
    /* 游標 */
    cursor: pointer;
    /* 不要折行 */
    white-space: nowrap;
}
.dolin-stock .dolin-function {
    text-align: center;
    white-space: nowrap;
    color: #ffffff;
    font-size: 20px;
    border: 0px;
    /* 不可選取 */
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    /* 漸層底色 */
    /*background: -webkit-linear-gradient(#004400,#108040);
    background: -o-linear-gradient(#004400,#108040);
    background: -moz-linear-gradient(#004400,#108040);
    background: linear-gradient(#004400,#108040);*/
    background: linear-gradient(#1ea6a4,#1e5634);
    /* 圓角 */
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
    border-radius: 4px;
    border-radius: 4px;
    /* 游標 */
    cursor: pointer;
    /* 不要折行 */
    white-space: nowrap;
}
.dolin-phs .dolin-function {
    text-align: center;
    white-space: nowrap;
    color: #ffffff;
    font-size: 16px;
    border: 0px;
    /* 不可選取 */
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    /* 漸層底色 */
    background: -webkit-linear-gradient(#000000,#b24926);
    background: -o-linear-gradient(#000000,#b24926);
    background: -moz-linear-gradient(#000000,#b24926);
    background: linear-gradient(#000000,#b24926);
    /* 圓角 */
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
    border-radius: 4px;
    border-radius: 4px;
    /* 游標 */
    cursor: pointer;
    /* 不要折行 */
    white-space: nowrap;
}
.dolin-trans .dolin-function {
    text-align: center;
    white-space: nowrap;
    color: #ffffff;
    font-size: 16px;
    border: 0px;
    /* 不可選取 */
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    /* 漸層底色 */
    background: -webkit-linear-gradient(#000000,#7e1618);
    background: -o-linear-gradient(#000000,#7e1618);
    background: -moz-linear-gradient(#000000,#7e1618);
    background: linear-gradient(#000000,#7e1618);
    /* 圓角 */
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
    border-radius: 4px;
    border-radius: 4px;
    /* 游標 */
    cursor: pointer;
    /* 不要折行 */
    white-space: nowrap;
}
.dolin-other .dolin-function {
    text-align: center;
    white-space: nowrap;
    color: #ffffff;
    font-size: 16px;
    border: 0px;
    /* 不可選取 */
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    /* 漸層底色 */
    background: -webkit-linear-gradient(#000000,#9c3393);
    background: -o-linear-gradient(#000000,#9c3393);
    background: -moz-linear-gradient(#000000,#9c3393);
    background: linear-gradient(#000000,#9c3393);
    /* 圓角 */
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
    border-radius: 4px;
    border-radius: 4px;
    /* 游標 */
    cursor: pointer;
    /* 不要折行 */
    white-space: nowrap;
}
.dolin-learn .dolin-function {
    text-align: center;
    white-space: nowrap;
    color: #ffffff;
    font-size: 16px;
    border: 0px;
    /* 不可選取 */
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    /* 漸層底色 */
    background: -webkit-linear-gradient(#000000,#4d4d4d);
    background: -o-linear-gradient(#000000,#4d4d4d);
    background: -moz-linear-gradient(#000000,#4d4d4d);
    background: linear-gradient(#000000,#4d4d4d);
    /* 圓角 */
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
    border-radius: 4px;
    border-radius: 4px;
    /* 游標 */
    cursor: pointer;
    /* 不要折行 */
    white-space: nowrap;
}
/* ★★★★★★★★★★★★ */
/* ★ 背景色(container)  ★ */
/* ★★★★★★★★★★★★ */
.dolin-his .dolin-container {
    background: #0769ad;
}
.dolin-phs .dolin-container {
    background: #b24926;
}
.dolin-stock .dolin-container {
    background: #108040 !important;
    background: #40a070 !important;
    background: #60c090 !important;
    background: #b0ddb0 !important;
}
.dolin-trans .dolin-container {
    background: #9a1b1e;
}
.dolin-other .dolin-container {
    background: #390f39;
}
.dolin-learn .dolin-container {
    background: #4d4d4d;
}
/* ★ 選取的列 , 和 container 同色 ★ */
.dolin-stock .row-selected {
    background: #e0ffe0 !important;
    background: #669d7d !important;
}
    .dolin-stock .row-selected td, .row-selected input {
        color: #ffffff !important;
        font-weight: bold;
    }
.dolin-his .row-selected {
    background: #0089d2 !important;
}

    .dolin-his .row-selected td, .row-selected input {
        color: #000000;
        font-weight:bold;
    }


/* ★★★★★★★★★★★★★★★ */
/* ★ 背景色(container-light)  ★ */
/* ★★★★★★★★★★★★★★★ */
.dolin-his .dolin-container-light {
    background: #c7f9fd;
}
.dolin-phs .dolin-container-light {
    background: #ffc9a6;
}
.dolin-stock .dolin-container-light {
    background: #e0ffe0 !important;
}
.dolin-trans .dolin-container-light {
    background: #fa7b7e;
}
.dolin-other .dolin-container-light {
    background: #b98fb9;
}
.dolin-learn .dolin-container-light {
    background: #dddddd;
}
/* ★ table-hover , 和 container-light 同色 ★ */
.dolin-stock .table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
    background-color: #e0ffe0;
}
.dolin-stock .table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
    color: #000;
}
/* ★★★★★★★★★★★★ */
/* ★ 背景色外框(border) ★ */
/* ★★★★★★★★★★★★ */
.dolin-his .dolin-border {
    border: 2px solid #00aaaa;
}
.dolin-phs .dolin-border {
    border: 2px solid #b24926;
}
.dolin-stock .dolin-border {
    border: 2px solid #00aaaa;
}
.dolin-trans .dolin-border {
    border: 2px solid #9a1b1e;
}
.dolin-other .dolin-border {
    border: 2px solid #390f39;
}
.dolin-learn .dolin-border {
    border: 2px solid #4d4d4d;
}
/* ★★★★★★★★★ */
/* ★ 背景色 Hover ★ */
/* ★★★★★★★★★ */
.dolin-his .dolin-hover:hover {
    background: #87e9fd;
}
.dolin-phs .dolin-hover:hover {
    background: #ffc9a6;
}
.dolin-stock .dolin-hover:hover {
    background: #e0ffe0;
}
.dolin-trans .dolin-hover:hover {
    background: #fa7b7e;
}
.dolin-other .dolin-hover:hover {
    background: #b98fb9;
}
.dolin-learn .dolin-hover:hover {
    background: #dddddd;
}
/* ★★★★★★★★★★★★ */
/* ★ 背景色 Hover(Light)★ */
/* ★★★★★★★★★★★★ */
.dolin-his .dolin-hover-light:hover {
    opacity: 1 !important;
}
.dolin-phs .dolin-hover-light:hover {
    opacity: 1 !important;
}
.dolin-stock .dolin-hover-light:hover {
    opacity: 1 !important;
}
.dolin-trans .dolin-hover-light:hover {
    opacity: 1 !important;
}
.dolin-other .dolin-hover-light:hover {
    opacity: 1 !important;
}
.dolin-learn .dolin-hover-light:hover {
    opacity: 1 !important;
}
/* ★★★★★★★★ */
/* ★ 主畫面配置 ★ */
/* ★★★★★★★★ */
#container {
    background-image: url(../Resources/Images/Dolin/hisCMSLogoTransNew.png), url(../Resources/Images/Dolin/hisCMSLogoTransNew.png);
    background-repeat: repeat, repeat;
    background-position: left top, 45px 60px;
    background-size: 90px 120px, 90px 120px;
    margin: 0 auto;
    padding: 0 20px;
    border-top: 1px solid #3eb249;
    /*height:679px;*/    /* 最大值 : 701px  */
}
footer {
    border-top: 1px solid #3eb249;
}

/* dolin-stock */
.dolin-stock #container {
    background-color: #f0fff0;
}
/* dolin-his */
.dolin-his #container {
    background-color: #e7ffff;
}
/* dolin-phs - 藥局系統 */
.dolin-phs #container {
    background-color: #f2d9b7;
    background-color: #e7ffff; /* 使用 dolin-his Style 即可 */
}
/* dolin-trans */
    .dolin-trans #container {
    background-color: #9a1b1e;
}
/* dolin-other */
.dolin-other #container {
    background-color: #390f39;
}
/* dolin-learn */
.dolin-learn #container {
    background-color: #b24926;
}
/* dolin-full */
.dolin-full #container {
    background-color: #b24926;
}
/* ★★★★★★★★★ */
/* ★ 功能列背景色 ★ */
/* ★★★★★★★★★ */
/* dolin-other 功能列背景色 */
.dolin-other nav#main {
    background-color: rgba(156, 52, 147, 0.5);
}
/* ============= */
/* ★★ End ★★ */
/* ============= */

/* ================ */
/* Dolin 標準 Style */
/* ================ */
/* 外框陰影特效  */
.sidebar-nav {
    min-height: 0;
    box-shadow: 0 0 10px #BDBDBD;
    border-radius: 5px;
    margin-bottom: 0;
    padding-bottom: 0;
    max-height: none;
}
.twelve, .row .twelve {
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 100%; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

body {
    margin: 0;
}

menu,
ol,
ul {
    padding: 0;
}

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}
#content-wrapper {
    background-color: #fff;
    box-shadow: -3px 0 5px -3px rgba(1, 1, 1, 0.87), 3px 0 5px -3px rgba(1, 1, 1, 0.87);
    border-top: 1px solid #333;
    border-radius: 0 0 10px 10px;
    position: relative;
    padding-top: 2px;
    padding-bottom: 12px;
}

.constrain {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}


.tinynav-container {
    display: none;
}

.tinynav {
    display: none;
}


#logo-events {
    clear: both;
    padding: 20px 0;
}

h2.logo {
    float: left;
    margin: 20px 0 0 0;
}


    h2.logo a {
        float: left;
        display: block;
        height: 66px;
        overflow: hidden;
        text-indent: -1000px;
    }



#logo-events aside {
    float: right;
}


nav#main {
    background-color: rgba(0, 0, 0, 0.18);
    border-radius: 10px 10px 0 0;
    border-right: 1px solid rgba(2, 2, 2, 0.28);
    border-left: 1px solid rgba(2, 2, 2, 0.28);
    border-top: 1px solid rgba(250, 250, 250, 0.27);
    box-shadow: rgba(255,255,255,0.3) 0 1px 0, rgba(0,0,0,0.3) 0 -1px 0;
    box-shadow: 0 0 5px rgba(1, 1, 1, 0.7);
}

nav#main ul {
    margin: 0;
    float: left;
    width: 90%;
    padding-top: 10px;
    padding-bottom: 10px;
}

nav#main li {
    float: left;
    font: normal normal 16px "klavika-web", "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
}

    nav#main li a {
        color: #fff;
        color: #000;
        text-decoration: none;
        padding: 6px 10px;
        display: block;
        border: 1px solid transparent;
        /*text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.76);*/
    }

    nav#main li a:hover,
    nav#main li.current a,
    nav#main .searchform {
        box-shadow: inset 0 0 5px rgba(0,0,0, 0.4), rgba(255,255,255,0.1) 0 1px 0;
        border-radius: 4px;
        border: 1px solid rgba(0,0,0,0.25);
        color: #000;
        /*text-shadow: rgba(0, 0, 0, 0.796875) 0 -1px 0, rgba(255, 255, 255, 0.296875) 0 0 10px;*/
    }

nav#main .searchform {
    float: right;
    width: 28%;
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 0;
    border-radius: 20px;
    position: relative;
}

    nav#main .searchform input {
        text-decoration: none;
        font: 12px/12px "Lucida Grande", Lucida, Verdana, sans-serif;
        padding: 5px 10px;
        margin: 0;
        background-color: transparent;
        border-style: none;
        color: #fff;
        line-height: 1.3;
        text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.76);
        width: 85%;
        box-shadow: none;
    }

nav#main .searchform input::-webkit-input-placeholder {
    color: #fff;
}

nav#main .searchform .icon-search {
    position: absolute;
    right: 10px;
    top: 3px;
    bottom: 3px;
    border-width: 0;
    border-left: 1px solid rgba(7, 7, 7, 0.65);
    background-color: transparent;
    padding: 0 0 0 7px;
    opacity: 0.33;
    color: #fff;
}


#banner-secondary {
    background-image: url(../Resources/Images/Dolin/dark-grey-tile.png);
    margin: -20px -25px 15px;
    padding: 20px;
}


    #banner-secondary h1,
    #banner-secondary h2 {
        margin-bottom: 0;
        color: #fff;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.85);
    }


body {
    background: url(../Resources/Images/Dolin/bg-footer-noise.jpg) repeat;
}

/* 讓 footer 的上沿 可以高於 container */
footer {
    background: url(../Resources/Images/Dolin/bg-footer-noise.jpg) repeat;
    margin-top: -20px;   
    padding-top: 36px;
}

    /*footer.simple {
        padding-top: 45px;
        padding-bottom: 10px;
    }*/

    footer a,
    footer strong {
        color: #fff;
        text-decoration: none;
    }


    footer #legal {
        margin-top: 1em;
        border-top: solid 1px #333;
        box-shadow: #000 0 -1px 0;
    }

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.row-dolin {
    width: 1240px;
    max-width: 100%;
    margin: 0 auto;
}

.row { width: 1240px; max-width: 100%; min-width: 768px; margin: 0 auto; }
.row.collapse .column, .row.collapse .columns { padding: 0; }
.row .row.collapse { margin: 0; }

/* ============== */
/* 系統選單列底圖 */
/* ============== */
#global-nav {
    background: url(../Resources/Images/Dolin/jq-global-nav.png) repeat-x 0 bottom #1b1b1b;
    background: var(--title);
}

    #global-nav nav ul.links {
        float: right;
    }

    #global-nav nav {
        height: 34px;
    }

        #global-nav nav ul {
            text-align: left;
            display: inline;
            float: left;
            margin: 0;
            list-style: none;
            border-right: 1px solid rgba(255, 255, 255, 0.0976562);
            border-left: 1px solid rgba(0, 0, 0, 0.347656);
        }
            /* ============ */
            /* 系統選單圖示 */
            /* ============ */
            #global-nav nav ul.projects li.project {
                width: 42px;
                padding: 0;
                height: 33px;
                text-indent: -9999px;
                background: url(../Resources/Images/Dolin/jq-nav-icons.png) -6px 0;
                z-index: 10;
            }

                #global-nav nav ul.projects li.project a {
                    display: block;
                    height: 33px;
                }
            /* 系統選單 dolin-his 預設圖示 */
            #global-nav nav ul.projects li.dolin-his {
                background-position: -7px -3px;
            }
            /* 系統選單 dolin-phs 預設圖示 */
            #global-nav nav ul.projects li.dolin-phs {
                background-position: -57px -3px;
            }
            /* 系統選單 dolin-stock 預設圖示 */
            #global-nav nav ul.projects li.dolin-stock {
                background-position: -107px -3px;
            }
            /* 系統選單 dolin-trans 預設圖示 */
            #global-nav nav ul.projects li.dolin-trans {
                background-position: -156px -3px;
            }
            /* 系統選單 dolin-other 預設圖示 */
            #global-nav nav ul.projects li.dolin-other {
                background-position: -205px -3px;
            }
            /* 系統選單 dolin-learn 預設圖示 */
            #global-nav nav ul.projects li.dolin-learn {
                background-position: -7px -3px;
            }
            /* 系統選單 dolin-full 預設圖示 */
            #global-nav nav ul.projects li.dolin-full {
                background-position: -57px -3px;
            }

    #global-nav nav ul li {
        font: bold 13px/17px "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
        display: inline-block;
        float: left;
        position: relative;
        top: 1px;
        cursor: pointer;
        transition: all 0.2s;
        /*text-shadow: 0 0 2px #000;*/
        border-left: 1px solid rgba(255, 255, 255, 0.0976562);
        border-right: 1px solid rgba(0, 0, 0, 0.347656);
    }

        #global-nav nav ul li a:not(.systemHead) {
            color: #e6e6e6;
            font-weight: normal;
            font-style: normal;
            text-decoration: none;
            display: block;
            padding: 8px 12px;
            background-color: var(--title);
        }

        #global-nav nav ul li ul {
            /* ul 底色(不設的話為透明) */
            background: url(../Resources/Images/Dolin/bg-footer-noise.jpg) #000;
            background: var(--title);
            padding: 0;
            position: absolute;
            top: 32px;
            left: -2px; /* Main Menu 子功能對齊主項 */
            width: 170px; /* 預留 Main Menu 子功能10個中文字的寬度 */
            display: none;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s;
            box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
            z-index: 400;
        }
        #global-nav nav ul li ul li {
            width: 170px; /* 預留 Main Menu 子功能10個中文字的寬度 */
        }

        /* 第二層 menu 顯示位置右移 , 預設隱藏  */
        #global-nav nav li ul li ul {
            left: 100%;
        }
        #global-nav nav li ul li ul li {
            display: none;
        }

        #global-nav nav li ul li:hover li {
            display: block;
            top:0;
        }

            /* 主選單項目的底圖 */
            #global-nav nav ul li ul li {
                background: url(../Resources/Images/Dolin/bg-footer-noise.jpg) #000;
                display: block;
                color: #fff;
                float: none;
                margin-left: -2px; /* Main Menu 子功能對齊主項 */
            }
                /* 主選單項目的 hover */
                #global-nav nav ul li ul li:hover {
                    background: #000;
                }

        #global-nav nav ul li ul li:hover ul {
            display: block;
            opacity: 1;
            visibility: visible;
        }

/* ================== */
/* 系統選單圖示(選取) */
/* ================== */
/* 目前系統選單為 doliny-his , 更換選單圖示 */
.dolin-his #global-nav nav ul.projects li.dolin-his {
    background-position: 0px bottom;
    position: relative;
    margin-top: 1px;
    border: none;
}

/* 目前系統選單為 doliny-phs , 更換選單圖示 */
.dolin-phs #global-nav nav ul.projects li.dolin-phs {
    background-position: -50px bottom;
    position: relative;
    margin-top: 1px;
    border: none;
}

/* 目前系統選單為 dolin-stock , 更換選單圖示 */
.dolin-stock #global-nav nav ul.projects li.dolin-stock {
    background-position: -106px bottom;
    position: relative;
    margin-top: 1px;
    border: none;
}

/* 目前系統選單為 dolin-trans , 更換選單圖示 */
.dolin-trans #global-nav nav ul.projects li.dolin-trans {
    background-position: -150px bottom;
    position: relative;
    margin-top: 1px;
    border: none;
}

/* 目前系統選單為 dolin-other , 更換選單圖示 */
.dolin-other #global-nav nav ul.projects li.dolin-other {
    background-position: -200px bottom;
    position: relative;
    margin-top: 1px;
    border: none;
}

/* 目前系統選單為 dolin-learn , 更換選單圖示 */
/* dolin-learn , 沒有選取圖示
/*.dolin-learn #global-nav nav ul.projects li.dolin-learn {
    background-position: 0px bottom;
    position: relative;
    margin-top: 1px;
    border: none;
}*/

/* 目前系統選單為 doliny-full , 更換選單圖示 */
.dolin-full #global-nav nav ul.projects li.dolin-full {
    background-position: -50px bottom;
    position: relative;
    margin-top: 1px;
    border: none;
}
