﻿* {
    box-sizing: border-box;
}

html, body {
    background-color: white;
    height: 100%;
    font-family: arial,"微軟正黑體", "Microsoft JhengHei", sans-serif;
    font-size: 1rem;
    margin: 0;
    padding: 0;
}

a:hover {
    text-decoration: none;
}

/*footer*/
footer {
    bottom: 0;
    font-size: 0.75rem;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
    position: absolute;
    text-align: right;
    width: 100%;
}

/*header*/
header {
    background-color: white;
    height: 40px;
    line-height: 40px;
}

    header > img {
        margin: 0 10px;
        width: 1.5rem;
    }

    header > span a {
        color: black;
        font-size: 1.5rem;
        vertical-align: middle;
    }

    /*userinfo*/
    header ul {
        float: right;
        font-size: 0.8125rem;
        margin: 0 10px;
        padding: 0;
        vertical-align: bottom;
    }

        header ul li {
            list-style: none;
            display: inline;
        }

            header ul li .k-button {
                padding: 2px 10px;
            }
			
			header ul li .k-button:active {
				background-color: #003374 !important;
				box-shadow:none !important;
			}

pre {
    margin-bottom: 0 !important;
    font-family: arial," 微軟正黑體", "Microsoft JhengHei", sans-serif !important;
}

#container {
    bottom: 20px;
    position: absolute;
    top: 40px;
    width: 100%;
}

    /*menu*/
    #container nav {
        background: none;
        float: left;
        height: 100%;
        overflow-y: auto;
    }

        #container nav label {
            cursor: pointer;
			color: #fff;
    line-height: 1.2em;
        }

        #container nav .k-panelbar .k-panel,
        #container nav .k-menu .k-item {
            position: static;
			border:none !important;
			background-color: rgba(255,255,255,0.2) !important; 	
			
        }

    #container.navOpen nav {
        width: 240px;
    }

    #container #main {
        margin-left: 20px;
    }

    #container.navOpen #main {
        margin-left: 240px;
    }

    #container nav .k-button {
        /*background: inherit;*/
		background:none;
        border: none;
        color: white;
        padding: 2px 10px;
    }

    #container nav .k-widget {
        border: none
    }

    #container nav .k-header {
        background-image: none;
        /*border-color: #048b00;*/
		background: #0c9323;
		box-shadow:none !important;
    }
	
	   #container nav .k-header:focus {
		box-shadow:none !important;
    }
	
		   #container nav .k-header:hover {
		box-shadow:none !important;
    }
	

/*tabs*/
#tabs {
    background: inherit;
    border: none;
    margin: 0 5px;
}

	#tabs:hover {
		box-shadow:none !important;
		border:none !important;
		}
		
	#tabs:active {
		box-shadow:none !important;
		border:none !important;
		}
		
	#tabs:focus {
		box-shadow:none !important;
		border:none !important;
		}
	

    #tabs .k-tabstrip-items {
        border: none;
        padding: 0;
		}
	
        #tabs .k-tabstrip-items li {
            padding: 2px 10px;
        }

        #tabs .k-tabstrip-items .k-loading {
            border: none;
        }

        #tabs .k-tabstrip-items .k-link {
            line-height: 1.5rem;
            padding: 0;
        }

        #tabs .k-tabstrip-items .k-i-x {
            background-color: brown;
            border-radius: 8px;
            color: white;
            font-size: 0.8125rem;
            margin: 0 0 0 5px;
            padding: 1px;
        }

    #tabs .k-content {
        padding: 5px;
        padding-bottom: 0;
        margin: 0 auto;
        overflow: hidden;
		
		/*--隱藏框線--*/
		border-bottom: none !important;
		border-left: none !important;
		border-right: none !important;
		border-top:1px solid #ccc;
		}
		
	/*--內容頁籤的框線--*/	
	.k-tabstrip-items .k-state-active {
		border-color: #ccc;
	}

/*fn-path*/
.fn-path {
    background-color: whitesmoke;
    /*border: 1px solid lightgray;
	margin-bottom: 5px;*/
    border-radius: 4px;
    font-size: 0.75rem;
    height: 20px;
    line-height: 20px;    
    padding: 0 6px;
}

    .fn-path:empty {
        display: none;
    }

/*fn-buttons*/
.fn-buttons {
    background: none;
    border: none;
    padding: 2px 6px;
    color: white;
}

    .fn-buttons .k-button {        
        padding: 2px 10px;
    }
    

    .fn-buttons .k-overflow-anchor {
        border-radius: 4px;
        line-height: 1rem;
        height: auto;
        width: auto;
        padding: 2px 10px;
        margin-top: 1rem;
    }

    /*form*/
    form table {
        margin: 5px auto;
        width: 98%;
    }

form th {
    padding: 2px 5px;
    text-align: right;
    white-space: nowrap;
    width: 120px;
}

form td {
    padding: 2px 5px;
}

/*input*/
input[readonly="readonly"], .k-input[readonly="readonly"], textarea[readonly="readonly"] {
    color: lightgray;
}

input[type="checkbox"], input[type="radio"] {
    height: 1rem;
    margin: 0;
    width: 1rem;
    vertical-align: middle;
}

/*validate*/
.field-validation-valid {
    display: none;
}

.field-validation-error {
    color: red;
    display: block;
    font-size: 0.8125em;
}

.input-validation-error {
    border: none;
    border: 1px solid red;
}

/*grid*/
.k-grid {
    border-radius: 4px;
	border:none;    
}

    .k-grid .k-grid-header {
        background: none;
        border: none;
    }

        .k-grid .k-grid-header .k-grid-header-wrap {
            border-top-left-radius: 4px;
        }

        .k-grid-header th.k-header > .k-link {
            color:white;
        }
        
        .k-grid .k-grid-header th {
            background: none;
            border: none;
            font-size: 0.9375rem;
            padding: 3px;           
        }

            .k-grid .k-grid-header th:first-child {
                border-top-left-radius: 4px;
            }

    .k-grid .k-grid-content td {
        border: none;
        cursor: pointer;
        padding: 3px;
        text-overflow: ellipsis;
        word-break: break-word;
    }

        .k-grid .k-grid-content td .k-button {
            background: none;
            border: none;
            color: black;
            padding: 2px;
            margin: 0 auto;
            min-width: 28px;
            vertical-align: middle;
        }

            .k-grid .k-grid-content td .k-button .k-icon {
                margin: 0 auto;
            }

    .k-grid .k-grid-content tr {
        border-bottom: 1px solid lightgray;
    }

    .k-grid .k-pager-wrap {
        background: none;
        border: none;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        color: white;
        font-size: 0.75rem;
        padding: 3px;
    }

        .k-grid .k-pager-wrap .k-link {
            border: none;
        }

        .k-grid .k-pager-wrap .k-pager-numbers .k-link {
            color: white;
        }

            .k-grid .k-pager-wrap .k-pager-numbers .k-link.k-pager-nav {
                color: black;
            }

/*button k-icon顏色設定*/
.k-icon {
    cursor: pointer;
}

.btn-default .k-icon {
    color: black;
}

.btn-primary .k-icon {
    color: white;
}

.btn-success .k-icon {
    color: white;
}

.btn-info .k-icon {
    color: white;
}

.btn-warning .k-icon {
    color: white;
}

.btn-danger .k-icon {
    color: white;
}

.btn-link .k-icon {
    color: #337ab7;
}

/*dialog*/
#timer {
    background-color: black;
    color: white;
    display: inline-block;
    margin: 5px;
    padding: 2px 10px;
}

.k-dialog .k-dialog-titlebar .k-dialog-title {
    font-size: 1rem;
    line-height: 1rem;
}

.k-dialog.k-confirm, .k-dialog.k-alert {
    min-width: 20%;
    text-align: center;
}

.k-dialog .k-dialog-buttongroup.k-dialog-button-layout-stretched {
    padding: 5px;
    text-align: center;
}

    .k-dialog .k-dialog-buttongroup.k-dialog-button-layout-stretched .k-button {
        border-radius: 4px;
        margin: 2px 10px;
        max-width: 30%;
        padding: 2px 10px;
    }

/*_CheckboxList,_RadioList*/
.checkboxList {
    list-style: none;
    padding: 0;
}

    .checkboxList li {
        padding: 2px 10px;
    }

        .checkboxList li label {
            /*color: #de4e15;*/
        }

/*_ListSelector*/
.k-listbox .k-listbox-toolbar {
    margin: 2px 10px;
}

.k-listbox .k-item {
    font-size: 0.9375rem;
    white-space: nowrap;
}

.k-tooltip-content {
    font-size: 0.75rem;
}

.news-row {
    margin: 0 auto;
    /*margin-top: 100px;*/
    width: 100%;
}

.news-bg {
    background-color: white;
    border-radius: 8px;
    padding: 2px 4px;
}

.news-head {
    border-bottom: 3px solid gray;
    font-size: 1.875rem;
    margin: 30px 0px 10px 0px;
    text-align: center;
}

.news-group {
    border: 1px solid lightgray;
    border-radius: 4px;
    margin: 10px 2px;
}

.news-heading {
    background-color: whitesmoke;
    /*color: #0668ad;*/
    color: blue;
}

    .news-heading .news-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.125rem;
        padding: 2px 10px;
    }

        .news-heading .news-toggle:hover, .news-heading .news-toggle.active {
            background-color: #e5e6e5;
        }

        .news-heading .news-toggle .date {
            color: black;
            font-size: 0.9375rem;
            margin-left: 10px;
            padding: 2px 10px;
        }

.news-download {
    border-left: 1px dotted gray;
    color: #0668ad;
    cursor: pointer;
    float: right;
    padding: 1rem;
    z-index: 99;
}

    .news-download span:hover {
        color: #178bd6;
    }

.news-inner {
    /*border-top: 1px solid gray;*/
    padding: 2px 30px 10px 30px;
}


/*--grid框線--*/
.k-grid-footer td {
	border:none;
}

.k-grid-footer-wrap {
	border:none;
}


/*.required:before {
    content: '*';
    color: red;
}*/

/*--20200721修改備份資料匯入button--*/
.k-ie8 .k-upload-button, .k-ie9 .k-upload-button, .k-upload-sync .k-upload-button {
    background: linear-gradient(270deg, #0077c0 25%, #003374 82%) !important;
    ;
    background: -moz-linear-gradient(270deg, #0077c0 25%, #003374 82%) !important;
    ;
    background: -webkit-linear-gradient(270deg, #0077c0 25%, #003374 82%) !important;
    ;
    background: -o-linear-gradient(270deg, #0077c0 25%, #003374 82%) !important;
    ;
}

    .k-ie8 .k-upload-button:hover, .k-ie9 .k-upload-button:hover, .k-upload-sync .k-upload-button:hover {
        background: #003374 !important;
    }


/* layouttable table style */
.layouttable {
    border-collapse: collapse;
    font-size: 100%;
    color: #222;
    /*width: 100%;*/
    margin-bottom: 5px;
}

    .layouttable th {
        padding: 5px 5px;
        line-height: 140%;
        text-align: left;
        font-weight: normal;
        vertical-align: middle;
        white-space: nowrap;
        background: #E5E5E5;
        padding-right: 10px;
        border: 1px solid #fff;
        font-weight: bold;
    }

    .layouttable.largeTitle th {
        white-space: normal;
    }

    .layouttable tr {
        border-bottom: dotted 1px #CCC;
    }

    .layouttable td {
        padding: 5px 3px;
        line-height: 140%;
        text-align: left;
        vertical-align: middle;
        padding-left: 10px;
        border: 1px solid #ddd;
    }

    .layouttable .title {
        text-align: left;
        border-bottom: 2px solid #1da6d5;
    }

    .layouttable .center {
        text-align: center;
    }

    .layouttable .left {
        text-align: left;
    }

    .layouttable .right {
        text-align: right;
    }


/* gridtable table style */
.gridtable {
    border-collapse: collapse;
    font-size: 100%;
    /*width: 100%;*/
    /*margin-top: 15px;*/
}

    .gridtable th {
        font-weight: normal;
        padding: 8px 5px 5px;
        line-height: 140%;
        white-space: nowrap;
        border: 1px solid #ccc;
        background: #E5E5E5;
        text-align: center;
        vertical-align: middle;
        font-weight: bold;
    }

    .gridtable td {
        padding: 5px;
        line-height: 140%;
        border: 1px solid #ddd;
    }

    .gridtable .center {
        text-align: center;
    }

    .gridtable .left {
        text-align: left;
    }

    .gridtable .right {
        text-align: right;
    }

    .gridtable tr {
        background: #fff;
    }

    .gridtable .odd {
        background: #f5f5f5;
    }

    .gridtable tr:hover {
        background: #C4E8FF;
    }

/* search table style */
.searchtable {
    border-collapse: collapse;
    font-size: 100%;
    color: #222;
    border: 1px solid #E5E5E5;
    /*width: 100%;*/
    /*margin-bottom: 50px;*/
}

    .searchtable th {
        padding: 5px 10px; /* 5px 3px; */
        line-height: 140%;
        text-align: left;
        font-weight: normal;
        vertical-align: middle;
        width: 12%; 
        white-space: nowrap;
        font-weight: bold; /* normal; */
        background: #E5E5E5; /* #ecf9ff; */ /* #E5E5E5; */
        /*padding-right: 10px;
    border: 1px solid #ccc;*/
    }

    .searchtable tr {
        border-bottom: dotted 1px #CCC;
    }

    .searchtable td {
        padding: 5px 5px; /* 5px 3px; */
        line-height: 140%;
        vertical-align: middle;
        text-align: left;
        /*padding-left: 10px;
    border: 1px solid #ddd;*/
    }

    .searchtable .center {
        text-align: center;
    }

    .searchtable .left {
        text-align: left;
    }

    .searchtable .right {
        text-align: right;
    }

/* checkbox/radio list by horizontal */
.checkbox-horizontal,
.radio-horizontal {
    white-space: nowrap;
}

    .checkbox-horizontal:not(.checkbox-end),
    .radio-horizontal:not(.radio-end) {
        margin-right: 5px;
    }

    .checkbox-horizontal input[type="checkbox"],
    .radio-horizontal input[type="radio"] {
        vertical-align: middle;
    }

        .checkbox-horizontal input[type="checkbox"] + label,
        .radio-horizontal input[type="radio"] + label {
            margin: 0px;
            vertical-align: middle;
        }

/* checkbox/radio list by vertical */
.checkbox-vertical,
.radio-vertical {
    white-space: nowrap;
}

    .checkbox-vertical input[type="checkbox"],
    .radio-vertical input[type="radio"] {
        vertical-align: middle;
    }

        .checkbox-vertical input[type="checkbox"] + label,
        .radio-vertical input[type="radio"] + label {
            margin: 0px;
            vertical-align: middle;
        }

/* kendo upload custom */
.k-upload.k-state-disabled {
    opacity: 1;
}

    .k-upload.k-state-disabled .k-dropzone {
        opacity: 0.7;
    }

.k-upload .k-file {
    padding: .65em .5em .65em .5em;
}

    .k-upload .k-file .k-file-name-size-wrapper {
        margin: 0px 16px 0px 0px;
        display: block;
    }

.k-upload li .k-file-name {
    min-width: 0px;
    max-width: none;
    text-align: left;
}

.k-upload .k-file .k-upload-status {
    top: 0.8em;
}

/* bodac custom grid */
div[data-custom-box="filegrid"] tr[data-table-empty] {
    background: #FFFFFF;
}

    div[data-custom-box="filegrid"] tr[data-table-empty]:hover {
        background: #FFFFFF;
    }

    div[data-custom-box="filegrid"] tr[data-table-empty] td {
        text-align: center;
        border: none;
    }

div[data-filegrid="head"] {
    overflow: hidden;
    /*margin: 5px 5px 0px 0px;*/
    /*width: 98%;*/
    padding-right: 17px;
    background: #E5E5E5;
}

    div[data-filegrid="head"] table {
        margin: 0px;
        width: 100%;
        table-layout: fixed;
    }

        div[data-filegrid="head"] table th {
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            text-align: center;
        }

div[data-filegrid="body"] {
    overflow-y: scroll;
    /*margin: 0px 5px 5px 0px;*/
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    height: 200px;
    /*width: 98%;*/
}

    div[data-filegrid="body"] table {
        margin: 0px;
        width: 100%;
        table-layout: fixed;
    }

        div[data-filegrid="body"] table td {
            text-align: center;
        }

.k-toolbar .k-split-button .k-split-button-arrow {
    background: -webkit-linear-gradient(270deg, #0077c0 25%, #003374 82%);
}

/* 編修提示 */
.modify-hint {
    text-align: center;
    color: green;
}

/* 欄位提示 */
.column-hint {
    color: forestgreen;
}
