﻿/*wiwynn-title為頁面標題*/
.wiwynn-title {
    color: #FFFFFF;
    padding: 5px;
    margin-right: 5px;
    background-color: #608CDC;
    /*width: 500px;*/
    font-size: large;
}
/*按鈕*/
input.wiwynn-btn {
    background-color: #608CDC;
    color: #FFFFFF;
    margin: 1px;
}
    /*按鈕hover的效果*/
    input.wiwynn-btn:hover {
        background-color: #487BD7;
        color: #FFFFFF;
    }
/*下拉式選單的下拉背景*/
.wiwynn-btn:focus, .wiwynn-btn:hover, .wiwynn-btn:active:hover {
    background-color: #FFF;
    color: #333;
}
/*下拉式選單的hover效果*/
.wiwynn-btn > option:hover {
    background-color: #608CDC;
    color: #FFF;
}
/*查詢條件的背景設置*/
.wiwynn-query-bg {
    background-color: #EEF9FC; /*淺藍*/
    border-collapse: collapse;
    padding: 10px;
}

    .wiwynn-query-bg td {
        padding: 3px 20px 0px 20px;
    }
/*查詢條件中左邊的查詢項目*/
.wiwynn-query-col {
    border-bottom: 1px solid #FFF;
    color: #696969;
}
/*樹狀結構*/
.list-group.list-group-root ul {
    margin-bottom: 0;
    list-style-type: none;
}

.list-group.list-group-root > li > ul > li {
    list-style-type: none;
}

    .list-group.list-group-root > li > ul > li > ul > li {
        padding-left: 45px;
        list-style-type: none;
    }

        .list-group.list-group-root > li > ul > li > ul > li > ul > li {
            padding-left: 45px;
            list-style-type: none;
        }

.list-group > li {
    padding: 0;
    border: 0;
    list-style-type: none;
}

/*頁面中有tree狀結構，分成兩大塊區域的設定*/
#wiwynn-panel-left {
    overflow: auto;
    float: left;
    /*display: inline-block;*/
}

#wiwynn-panel-right {
    overflow: auto;
    height: 620px;
    float: left;
    /*display: inline-block;*/
    padding-left: 10px;
}

.wiwynn-tree {
    overflow: auto;
    height: 480px;
    float: left;
    /*display: inline-block;*/
}
/*Gridview樣式*/
.wiwynn-table {
    margin-top: 10px;
    border: 1px #DDDDDD !important;
    border-collapse: collapse;
    width: 100%;
}

    .wiwynn-table > thead > tr > th {
        /*background-color: #006B91;*/
        padding: 3px;
        text-align: center;
        vertical-align: middle;
        border: 1px solid #DDDDDD !important;
        font-size: larger;
        height: 32px;
        color: #006B91;
    }

.wiwynn-table > thead > tr > th a {
    color: #333399;
    text-decoration-line: underline;
}

    .wiwynn-table > tbody > tr > th {
        /*background-color: #006B91;*/
        padding: 3px;
        text-align: center;
        vertical-align: middle;
        border: 1px solid #DDDDDD !important;
        color: #006B91;
    }

.wiwynn-table > tbody > tr > th a {
    color: #333399;
    text-decoration-line: underline;
}

    .wiwynn-table > tbody > tr > td {
        padding: 3px;
        text-align: center;
        vertical-align: middle;
        border: 1px solid #DDDDDD !important;
        height: 32px;
        color: #333333;
    }

.wiwynn-table > tbody > tr > td.left {
    text-align: left;
}

table.wiwynn-table > tbody > tr:hover td {
    background-color: #cce2e9;
}
/*table.wiwynn-table > tbody > tr:active td {
    background-color: yellow;
}*/
/*隔行換色*/
.wiwynn-table > tbody > tr:nth-child(odd) td {
    background-color: #FFF;
}

.wiwynn-table > tbody > tr:nth-child(even) td {
    background-color: #F7F6F3;
}

.wiwynn-table > tbody > tr.Focus:nth-child(odd) td {
    background-color: yellow;
}

.wiwynn-table > tbody > tr.Focus:nth-child(even) td {
    background-color: yellow;
}
/*New Description(黃底輸入textbox)*/
.new-desc-tb {
    color: DarkGray;
    background-color: Yellow;
    font-size: X-Small;
    border: 1px solid #A9A9A9;
}
/*high light description(粉底紅字輸入textbox)*/
.highlight-desc-tb {
    color: Red;
    background-color: LightYellow;
    font-size: X-Small;
    border: 1px solid #A9A9A9;
}
/*顯示訊息調整*/
.wiwynn-alert {
    padding: 0 4px;
    margin-bottom: 2px;
}
/*Tree*/

.tree {
    min-height: 20px;
    /*padding: 19px;*/
    margin-bottom: 20px;
    padding-right: 20px;
    /*background-color: #fbfbfb;*/
    /*border: 1px solid #999;*/
    /*-webkit-border-radius: 4px;*/
    /*-moz-border-radius: 4px;*/
    /*border-radius: 4px;*/
    /*-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);*/
    /*-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);*/
    /*box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05)*/
}

    .tree li {
        list-style-type: none;
        margin: 0;
        /*padding: 10px 5px 0 5px;*/
        position: relative
    }

        .tree li::before, .tree li::after {
            content: '';
            /*left: -20px;*/
            position: absolute;
            right: auto
        }

        /*.tree li::before {
            border-left: 1px solid #999;
bottom: 50px;
height: 100%;
top: 0;
width: 1px
        }*/

        /*.tree li::after {
            border-top: 1px solid #999;
height: 20px;
top: 25px;
width: 25px
        }*/

        .tree li span {
            /*-moz-border-radius: 5px;*/
            /*-webkit-border-radius: 5px;*/
            /*border: 1px solid #999;*/
            /*border-radius: 5px;*/
            display: inline-block;
            /*padding: 3px 8px;*/
            text-decoration: none
        }

        .tree li.parent_li > span {
            cursor: pointer
        }

    .tree > ul > li::before, .tree > ul > li::after {
        border: 0
    }

    /*.tree li:last-child::before {
        height: 30px
    }*/

    .tree li.parent_li > span:hover, .tree li.parent_li > span:hover + ul li span {
        background: #eee;
        border: 1px solid #94a0b4;
        color: #000
    }

/*一般設定*/
.wiwynn-lbl {
    color: #696969;
}

.wiwynn-hr {
    margin: 5px 0;
}

.coco_input {
    font-size: X-Small;
    line-height: normal;
}
/*FIO Relation*/
.text_input1 {
    width: 30px;
    text-align: center;
}

.text_input2 {
    width: 200px;
    text-align: left;
}

.text_input3 {
    width: 70px;
    text-align: center;
}

/*BlockUI CSS Define*/
/*背景底*/
/*加!important覆寫原本樣式*/
.blockOverlay {
    /*background-color: #fff !important;*/ /*白色底，視自己需求看要不要加*/
    cursor: default !important; /*預設游標*/
}
/*loading icon*/
.blockMsg {
    width: 100px; /*width、height改變圓的直徑大小*/
    height: 100px;
    display: inline-block !important;
    animation: container-rotate 1568ms linear infinite;
}

.spinner-layer {
    height: 100%;
    animation: fill-unfill-rotate 5332ms cubic-bezier(0.4,0,0.2,1) infinite both;
}

.circle-clipper {
    display: inline-block;
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

    .circle-clipper .circle {
        box-sizing: border-box;
        width: 200%;
        border-width: 7px; /*線條粗細*/
        border-style: solid;
        border-color: #4285f4;
        border-bottom-color: transparent !important;
        border-radius: 50% !important;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
    }

    .circle-clipper.left .circle {
        left: 0;
        border-right-color: transparent !important;
        animation: left-spin 1333ms cubic-bezier(0.4,0,0.2,1) infinite both
    }

    .circle-clipper.right .circle {
        border-left-color: transparent !important;
        animation: right-spin 1333ms cubic-bezier(0.4,0,0.2,1) infinite both
    }

/*定義動畫*/
@keyframes container-rotate {
    to {
        transform: rotate(360deg)
    }
}

@keyframes fill-unfill-rotate {
    12.5% {
        transform: rotate(135deg)
    }

    25% {
        transform: rotate(270deg)
    }

    37.5% {
        transform: rotate(405deg)
    }

    50% {
        transform: rotate(540deg)
    }

    62.5% {
        transform: rotate(675deg)
    }

    75% {
        transform: rotate(810deg)
    }

    87.5% {
        transform: rotate(945deg)
    }

    to {
        transform: rotate(1080deg)
    }
}

@keyframes left-spin {
    from {
        transform: rotate(130deg)
    }

    50% {
        transform: rotate(-5deg)
    }

    to {
        transform: rotate(130deg)
    }
}

@keyframes right-spin {
    from {
        transform: rotate(-130deg)
    }

    50% {
        transform: rotate(5deg)
    }

    to {
        transform: rotate(-130deg)
    }
}


/*add for dropdown menu*/
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    /*margin-right: -10px;*/
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 100px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.bg {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 2;
    top: 0;
    left: 0;
    opacity: 0.7;
}

.content {
    display: none;
    width: 500px;
    height: 300px;
    position: fixed;
    top: 30%;
    margin-top: -150px;
    background: #fff;
    z-index: 3;
    left: 40%;
    margin-left: -250px;
}

label {
    white-space: pre-wrap;
}

.hr-table {
    margin-top: 10px;
    border: 1px solid #DDDDDD !important;
    border-collapse: collapse;
    width: 100%;
}

    .hr-table > thead > tr > th {
        /*background-color: #FFF;*/
        padding: 3px;
        text-align: left;
        vertical-align: middle;
        border: 1px solid #DDDDDD !important;
        font-size: larger;
        height: 32px;
        color: #006B91;
        /*color: #333399;*/
    }

        .hr-table > thead > tr > th a {
            color: #333399;
            text-decoration-line: underline;
        }

    .hr-table > tbody > tr > td {
        background-color: #FFF;
        padding: 3px;
        text-align: left;
        vertical-align: middle;
        border: 1px solid #DDDDDD !important;
        height: 32px;
        /*color: #333333;*/
    }

        .hr-table > tbody > tr > td.left {
            text-align: left;
        }

table.hr-table > tbody > tr:hover td {
    background-color: #cce2e9;
}
.table_underline > tbody > tr:nth-child(even) td {
    border-bottom: 1px solid #858585;
}
.table_underline > tbody > tr:nth-child(odd) td {
    border-bottom: 1px solid #858585;
}

.ErrorColumn {
    border-color: red;
}

.ky-logo {
    position: relative;
}

    .ky-logo > a {
        position: absolute;
        top: -0.4em;
        left: 0;
        display: block;
        width: 250px;
        height: 92px;
        background:url(../Documents/wiwynn_Logo.svg) no-repeat;
        background-size:contain;
    }