﻿
body {
    margin: 0PX;
}

div, a, span, td {
    box-sizing: border-box;
}

P {
    margin-bottom: 0px;
    margin-top: 0px;
 }
 
 

/*  General Block Start */

DIV , SPAN , IMG , TD , INPUT , A , SPAN , IFRAME
{
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
    font-family:  "微軟正黑體", Arial ,sans-serif;    
}

P
{
    font-family: "微軟正黑體" ,Arial ,Microsoft JhengHei,Zawgyi-one;
    margin:0px;
    padding:0px;
}
 


.Message
{
    font-family:  "微軟正黑體", Arial ,sans-serif;
    font-size:16px;
    text-align:center;  
}
 
 
.MessageWindow
{
    height:110px;
    border:4px solid #A0A0b0;
    background-color:rgb(240,240,240);
    position:absolute;
    filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=95)";
    opacity:0.95;
    z-index:3000;
}



.ItemFloatingContent
{
   position:absolute;
   top:110%;
   bottom:0px;
   right:0px;
   left:0px; 
   font-size:15px;   
}


.PictureViewPictureContainer
{
    max-height:400px;
    overflow:hidden;
}

.PictureViewPictureContainer Img
{
    width:auto;
    min-height:100%;
    max-height:120%;
    max-width:100%;
    position:relative;
    left:50%;
    transform:translateX(-50%);
}
/*  General Block End*/

 
 
.Panel {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.PageTitle {
    font-size: 20PX;
    text-align: left;
    vertical-align: top;
    font-weight: bold;
    font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
}


.SearchTable {
    border-collapse: collapse;
    border: 1px solid white;
    width: 600px;
    font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
    margin-left: auto;
    margin-bottom: 20px;
}


    .SearchTable .TR.Header {
        text-align: center;
    }


    .SearchTable .CaptionContainer {
        text-align: center;
        background-color: #99CCFF!important;
        border: none;
        color: #0066FF!important;
        padding: 5PX;
        font-size: 15PX;
        width: 100px;
        font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
    }


    .SearchTable .Row TD {
        border: 1px solid white;
        padding: 2px;
        text-align: center;
        background-color: #E1E8F5;
    }



    .SearchTable .Button {
        color: black;
        background-color: rgb(114, 199, 6)!important;
        color: white!important;
    }


.CommandBar {
    text-align: right;
    margin-bottom: 10px;
    padding-right: 10px;
    position: relative;
}


    .CommandBar .Button.Left {
        float: left;
    }

    .CommandBar .Button:nth-child(n+2).Left {
        margin-left: 10px;
    }


.RedTextbox {
    background-color: red;
    color: white;
}


input[type=text] {
    border: 1px solid gray;
    font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
}

Textarea {
    border: 1px solid gray;
    font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
    width: 95%;
    height: 120px;
}

.Noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}


select {
    font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
}

.Button {
    background-color: rgb(114,199,6);
    color: white;
    border: 1px solid lightgray;
    font-size: 15PX;
    cursor: hand;
    cursor: pointer;
    font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
    padding-left: 20px;
    padding-right: 20px;
    white-space: nowrap;
}

    .Button:disabled {
        color: #C0C0C0;
        cursor: default;
    }



    .Button:not(:disabled):hover {
        background-color: rgb(110,179,5);
        color: white;
    }


.ListSummary {
    text-align: right;
    font-style: italic;
    padding-right: 10px;
    margin-bottom: 4px;
}


.ListTable {
    border-collapse: collapse;
    font-family: Arial;
    border: 1px solid white;
    font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
    width: 100%;
    margin-bottom: 20px;
}

    .ListTable .Header td {
        background-color: #99CCFF!important;
        border: none;
        color: #0066FF!important;
        padding: 5PX;
        font-size: 15PX;
        font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
        font-weight: bold;
    }

    .ListTable .Row TD {
        background-color: #E1E8F5;
    }


        .ListTable .Row TD.AlignLeft {
            text-align: left;
            padding-left: 4px;
        }

    .ListTable .Header td.ASC:after {
        content: "▲";
        padding-left: 3px;
    }

    .ListTable .Header td.DESC:after {
        content: "▼";
        padding-left: 3px;
    }



    .ListTable .Row {
        border: none;
        font-size: 15px;
        font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
    }


        .ListTable .Row:not(.Checked):hover {
            background-color: #FAFAFA;
        }


        .ListTable .Row.Checked {
            background-color: #f6f4eb;
        }

        .ListTable .Row.LastDetail:not(.Checked) {
            animation: LastDetailAnimation 2s ease 0s 1 forwards;
            -webkit-animation: LastDetailAnimation 2s ease 0s 1 forwards;
        }


            .ListTable .Row.LastDetail:not(.Checked):hover {
                background-color: #FAFAFA;
            }

    .ListTable .Link {
        color: #6699FF;
    }


@keyframes LastDetailAnimation {
    0% {
        background-color: #ffffff;
    }

    10% {
        background-color: #e6edf2;
    }

    100% {
        background-color: #ffffff;
    }
}

@-webkit-keyframes LastDetailAnimation {
    0% {
        background-color: #f0f0f0;
    }

    10% {
        background-color: #e6edf2;
    }

    100% {
        background-color: #f0f0f0;
    }
}


.ListTable .Row TD {
    border: 1px solid rgb(200,200,200);
    padding: 2px;
    border-collapse: collapse;
    text-align: center;
    font-size: 14px;
    font-family: 微軟正黑體, Microsoft JhengHei, Zawgyi-one;
}


    .ListTable .Row TD.AlignLeft {
        text-align: left;
        padding-left: 4px;
    }

    .ListTable .Row TD.ButtonList {
        text-align: right;
        padding-right: 10px;
        padding-top: 4px;
        padding-bottom: 4px;
    }




.ListTable A.Button {
    text-decoration: none;
}


.SingleLine {
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    max-width: 300px;
    overflow: hidden;
}


.EditTable {
    border: 1px solid rgb(200,200,200);
    width: 100%;
    font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
    border-collapse: collapse;
}


    .EditTable .Splitter {
        background-color: rgb(250,250,250);
        height: 30px;
        font-size: 16px;
        font-weight: bold;
        padding: 5px;
        border-top: 1px solid lightgray;
        border-bottom: 1px solid lightgray;
        cursor: pointer;
    }

    .EditTable .CaptionContainer {
        background-color: rgb(250,250,250);
        border: none;
        color: rgb(50,50,50);
        padding: 5PX;
        font-size: 14PX;
        width: 100px;
        font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
        text-align: left;
    }


    .EditTable > TR > TD:not(.CaptionContainer) {
        border: 1px solid rgb(200,200,200);
        padding: 2px;
        padding-left: 10px;
        text-align: left;
        font-size: 15px;
    }


    .EditTable .No {
        border: 1px solid #E0E0E0;
        background-color: #f0f0f0;
        min-width: 40px;
        display: inline-block;
        padding-left: 2px;
        padding-right: 2px;
    }

        .EditTable .No:empty {
            display: none;
        }

    .EditTable .Long {
        width: 95%;
    }

    .EditTable .Short {
        width: 50px;
    }

INPUT.Date {
    width: 110px;
    background-image: url(/Static/Image/DatePicker.png);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 14px auto;
}

    INPUT.Date:required {
  
      
    }

        INPUT.Date:required:invalid {
            background-image: none;
        }

.RadioButtonList SPAN.Checked {
    font-weight: bold;
    font-size: 14px;
}

.CheckboxList SPAN.Checked {
    font-weight: bold;
}

.ErrorMessage,
.error_message {
    color: red;
    font-size: 13px;
}

.EditTable .error_message {
    white-space: nowrap;
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}


    .EditTable .error_message:empty {
        display: none;
    }

.ValidationMessage {
    white-space: pre-wrap;
    border: 1px solid #a0a0a0;
    background-color: rgba(255,255,255,0.9);
    padding: 10px;
    font-size: 13px;
    font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
    min-width: 200px;
    min-height: 100px;
}


.FooterNote {
    max-width: 800PX;
    margin-left: auto;
    margin-right: auto;
    text-align: right;
    font-size: 13px;
    font-family: 微軟正黑體,Microsoft JhengHei,Zawgyi-one;
    margin-top: 10px;
    font-style: italic;
}

.LeftFrame { 
    vertical-align: top;
    background-color: #BBBDBF;
    display:none;
}

.RightFrame {
    width: 100%;
    min-height: 400px;
    display: block;
    overflow: hidden;
    position: relative;
}

 
.LeftFrame {
    position: absolute;
    left: -300px;
    display: inline-block;
    transition-duration: 0.5s;
    -webkit-transition-duration: 0.5s;
    transition-property: left;
    -webkit-transition-property: left;
    z-index: 100000;
    max-width: 260px;
}

.LeftFrame .MobileMenu {
    min-width: 200px;
}
 

.RightFrameContent {
}


/* MainMenu Start*/

.MainMenuContainer {
    display: block;
    text-align: center;
    background-color: #26448d;
}

@media screen and (max-width : 1200px) {
}

@media screen and (max-width : 860px) {
    .MainMenuContainer {
        display: none;
    }
}

.MainMenu.Top /* 第一層選單 */ {
    display: table;
    height: 30px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

    .MainMenu.Top > .MenuItem /* 第一層選單 MenuItem */ {
        display: table-cell;
        white-space: nowrap;
        color: black;
        font-family: "微軟正黑體",Arial;
        font-weight: bold;
        vertical-align: middle;
        cursor: hand;
        cursor: pointer;
        margin: 0px;
        text-align: center;
        vertical-align: middle;
        position: relative;
        padding-top: 16px;
        padding-bottom: 16px;
    }



        .MainMenu.Top > .MenuItem > A /* 第一層選單 MenuItem 文字 */ {
            width: auto;
            display: block;
            margin-left: 10px;
            margin-right: 10px;
            vertical-align: middle;
            text-decoration: none;
            padding-left: 10px;
            padding-right: 10px;
            display: block;
            line-height: 28px;
            overflow: hidden;
            background-color: transparent;
            border-radius: 5px;
            color: #dfe6ff;
        }

        .MainMenu.Top > .MenuItem:hover > A ,/* 第一層選單 MenuItem 文字 */
        .MainMenu.Top > .MenuItem.Path > A  
        {
            background-color: #dfe6ff;
            color: #26448d;
        }




            .MainMenu.Top > .MenuItem > A > SPAN > IMG {
                border: none;
            }



            .MainMenu.Top > .MenuItem > A > .ItemName {
                font-size: 16px;
              
            }


 




    .MainMenu.Top > .MenuItem.Path /* 第一層選單文字 PathMenuItem */ {
        text-decoration: none;
    }




        .MainMenu.Top > .MenuItem .Menu /* 第二層以下選單樣式 */ {
            position: absolute;
            display: none;
            z-index: 3000;
            background-color: #26448d;
            padding: 0px; 
            text-align: left;
            left: 0px;
            min-width: 100%;
            top: 100%;
        }

 
 
    .MainMenu.Top > .MenuItem:hover > .Menu /* 第二層選單 Hover */ {
        position: absolute;
        display: block;
    }


    .MainMenu.Top > .MenuItem .Menu > .MenuItem /* 第二層以下選單 MenuItem */ {
        display: block;
        MIN-height: 30px;
        position: relative;
    }


        .MainMenu.Top > .MenuItem .Menu > .MenuItem > A /* 第二層以下選單 MenuItem 文字 */ {
            display: block;
            white-space: nowrap;
            vertical-align: middle;
            height: 100%;
            width: auto;

            text-decoration: none;
            vertical-align: middle;
            line-height: 36px;
            font-size: 16px;
            color: #dfe6ff;
            display: block;
            text-align:center;
        }






        .MainMenu.Top > .MenuItem .Menu > .MenuItem:hover > A, /* 第二層以下選單 MenuItem 文字 Hover */
        .MainMenu.Top > .MenuItem .Menu > .MenuItem.Path > A 
        {
            background-color: #dfe6ff;
            color: #26448d;
        }

            .MainMenu.Top > .MenuItem .Menu > .MenuItem.Path > A > DIV,
            .MainMenu.Top > .MenuItem .Menu > .MenuItem:hover > A > DIV {
                color: #01358b;
            }



    .MainMenu.Top > .MenuItem .Menu > .BranchMenuItem /* 第二以下層選單 BranchMenuItem */ {
        font-weight: bold;
    }


    .MainMenu.Top > .MenuItem .Menu > .MenuItem > .Menu /* 第三層以下 選單顯示位置 */ {
        left: 100%;
        top: 0px;
        margin-top: 0px;
        display: NONE;
        position: absolute;
    }

    .MainMenu.Top > .MenuItem .Menu > .MenuItem:hover > .Menu {
        display: block;
    }

/* MainMenu End*/




/* MobileMenu Start */

.MobileMenu.Top/* 第一層選單 */ {
    display: block;
}


    .MobileMenu.Top> .MenuItem /* 第一層選單 MenuItem */ {
        display: block;
    }

        .MobileMenu.Top> .MenuItem .SubTitle {
            display: none;
        }

        .MobileMenu.Top> .MenuItem > A /* 第一層選單 MenuItem 文字 */ {
            display: table;
            white-space: nowrap;
            font-family: "微軟正黑體",Arial;
            font-size: 16px;
            vertical-align: middle;
            text-align: left;
            cursor: hand;
            cursor: pointer;
            vertical-align: middle;
            height: 39px;
            line-height:38px;
            width: 100%;
            color: White;
            text-decoration: none;
            padding-left: 20px;
            _background-image: url(../Image/TreeMenu_TopTreeItemBack.png);
            border-bottom: 1px solid gray;
        }

 


    .MobileMenu.Top> .FocusMenuItem > A:before /* 第一層選單 MenuItem Focus Icon */ {
    }


    .MobileMenu.Top> .FocusMenuItem > A:hover:before /* 第一層選單 MenuItem Hover Focus Icon */ {
        background-image: url(/Image/BackEndHoverFocusIcon.jpg);
    }

    .MobileMenu.Top> .MenuItem > A > div {
        display: table-cell;
        vertical-align: middle;
    }

    .MobileMenu.Top  > A > DIV/* 路徑 MenuItem 樣式 */ {
        color: yellow;
    }


    .MobileMenu.Top.FocusMenuItem > A > DIV /* 焦點 MenuItem 文字樣式 */ {
        color: yellow;
        text-decoration: underline;
    }

    .MobileMenu.Top> .MenuItem > A:hover   /* 第一層選單 MenuItem Hover */ {
        color: yellow;
    }

    .MobileMenu.Top .MenuItem:hover > A   {
        color: yellow;
    }


    .MobileMenu.Top  .MenuItem.Path > A > DIV,
    .MobileMenu.Top  .MenuItem:hover > A > DIV{
        color: yellow;
    }

    .MobileMenu.Top > .MenuItem .Menu /* 第二層以下選單樣式 */ {
        position: block;
        padding: 0px;
        text-align: left;
    }


    .MobileMenu.Top> .MenuItem:hover > .Menu /* 第二層選單 Hover */ {
    }


    .MobileMenu.Top> .MenuItem > .Menu > .MenuItem /* 第二層以下選單 MenuItem */ {
        color: black;
        display: block;
        padding-left: 0px;
    }



    .MobileMenu.Top> .MenuItem .Menu > .MenuItem > A /* 第二層以下選單 MenuItem 文字 */ {
        display: table;
        white-space: normal;
        vertical-align: middle;
        height: 100%;
        width: 100%;
        height: 39px;
        line-height:38px;
        text-decoration: none;
        text-align: left;
        padding-left: 40px;
        color: White;
        cursor: hand;
        cursor: pointer;
        _background-image: url(/Image/TreeMenu_TreeItemBack.png);
        background-color: rgb(89,89,91);
    }

    .MobileMenu.Top> .MenuItem > .Menu > .MenuItem .Menu > .MenuItem > A /* 第二層以下選單 MenuItem 文字 */ {
        background-color: rgb(39,39,39);
        background-image: none;
        padding-left: 80px;
    }

    .MobileMenu.Top> .MenuItem .Menu > .MenuItem > A > DIV {
        display: table-cell;
        text-align: left;
        vertical-align: middle;
        width: 99%;
    }

    .MobileMenu.Top> .MenuItem .Menu > .MenuItem > A:hover > DIV {
        color: yellow;
    }

    .MobileMenu.Top> .MenuItem .Menu > .FocusMenuItem > A:hover > DIV /* 第二層以下選單 MenuItem 文字 Hover */ {
        color: yellow;
        text-decoration: underline;
    }




    .MobileMenu.Top> .MenuItem .Menu > .BranchMenuItem /* 第二以下層選單 BranchMenuItem */ {
    }

    .MobileMenu.Top> .MenuItem .Menu > .MenuItem > A:before /* 第二以下層選單 Icon */ {
    }

    .MobileMenu.Top> .MenuItem .Menu > .FocusMenuItem > A:before /* 第二以下層選單 Focus Icon */ {
    }

    .MobileMenu.Top> .MenuItem .Menu > .MenuItem > A:hover:before /* 第二以下層選單 Hover Icon */ {
    }


    .MobileMenu.Top> .MenuItem .Menu > .FocusMenuItem > A:hover:before /* 第二以下層選單 Focus Icon */ {
    }



    .MobileMenu.Top> .MenuItem .Menu > .MenuItem > .Menu /* 第三層以下 選單顯示位置 */ {
        left: 100%;
        top: 0px;
    }

    .MobileMenu.Top> .MenuItem .Menu > .MenuItem:hover > .Menu {
        display: block;
    }

/* MobileMenu End*/



/* PageHeaderContainer Start */
.PageHeaderContainer {
 
}

/* PageHeaderContainer End */


/* PageBottomContainer Start */
.PageBottomContainer {
    background-color: #042f8a;
    color: white;
    text-align: center;
    
}
/* PageBottomContainer End */




/*  SmallMenuContainer Start */
.SmallMenuContainer {
    text-align: left;
    display: none;
    background-color: white;
    -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.47);
    -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.47);
    box-shadow: 4px 4px rgba(20%,20%,40%,0.5);
    vertical-align: top;
    width: 100%;
    font-size: 0px;
    padding: 4px;
}

    .SmallMenuContainer IMG {
        width: 32px;
        height: 32px;
    }


@media screen and (max-width : 960px) {
    .SmallMenuContainer {
        display: block;
        -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.47);
        -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.47);
        box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.47);
        margin-top: 2px;
        margin-bottom: 6PX;
    }
}
/*  SmallMenuContainer End */



.PagePathContainer {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}


@media screen and (max-width:900px) {
    .PagePathContainer {
        padding-left: 10px;
        padding-right: 10px;
    }
}
.PagePathContainer a {
    text-decoration: none;
}

    .PagePathContainer a:hover {
        text-decoration: underline;
    }

.LogoutButtonContainer
{
    margin-top:-30px;
}


A.Focus {
    animation-name: TextFocusAnimation;
    animation-duration: 2s;
    animation-iteration-count: 1;
}

@keyframes TextFocusAnimation {
    0% {
        color: #0000ff;
        background-color: #ffffff;
    }

    25% {
        color: #000000;
        background-color: #f0f0ff;
    }

    50% {
        color: #0000ff;
        background-color: #ffffff;
    }

    75% {
        color: #000000;
        background-color: #f0f0ff;
    }

    100% {
        color: #0000ff;
        background-color: #ffffff;
    }
}


.Menu.Top.NotLogin > .MenuItem.WWITEM01List,
.Menu.Top.NotLogin > .MenuItem.WWISSU01List,
.Menu.Top.NotLogin > .MenuItem.WWODER01List ,
.Menu.Top.NotLogin > .MenuItem.OrderRecpList,
.Menu.Top.NotLogin > .MenuItem.WWODER01List {
    display: none;
}


.Menu.Top.Login > .MenuItem.Login {
    display: none;
}



.PageNumber:hover {
    background-color: rgb(100,199,254) !important;
}

.PageNumber.Current {
    border: 1px solid lightgray;
    min-width: 30px;
    height: 30px;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    background-color: rgb(100,199,254) !important;
    color: white;
    margin-left: -1px;
}

.PageNumber.OnlyOne {
    color: rgb(154,136,170);
    background-color: White;
}

.PageNumber.Current:hover {
    background-color: rgb(100,199,254) !important;
    color: white;
}
