﻿@charset "utf-8";
/*CSS Info ======================================================================
File Name: Grid.css
Create Editor: Sharon
Create Date: 2019/11/17
*Version: 5.1
---------------------------
【 風格 】
    藍色
【 Table of Contents 】
	MyGridView	自訂寬度
	MyGridView2	100%寬度
		MyHead
		MyRow
		MyAlt
		MyPager
		MyOver
	MyTable
		Alt
		Over
	MyQueryArea	查詢區域(預設寬度100%) 
	CommandArea 按鈕列置中
	btn			三種按鈕樣式含變換
	修正jQuery UI
【版本變更】
    樣式扁平化
=================================================================================*/

/*===============================================================================
                           Grid View 或列表表格設定 
=================================================================================*/
.MyGridView, .MyGridView2 { /*MyGridView2寬度自訂*/
	background: #fff;
}

.MyGridView {	
	width:100%;
}

.MyHead, .MyGridView tr.MyHead th, .MyGridView th, .MyGridView2 th {
	color: #1d1d1d;
	font-size: 1em;
	font-weight: bold;
	font-family: "Arial", "微軟正黑體";
	border-bottom: 1px solid #e1e1e1;
    padding: 0.5em 0;
    background-color: #77aede; 
}

.MyGridView th {
    vertical-align: middle;
}

.MyHead a,.MyGridView th a {
	color: #2e5380;
}

    .MyHead a:hover, .MyGridView th a:hover {
	    color: #7065a5;
    }

.MyGridView tr.MyHead th, .MyGridView2 tr.MyHead th {
	text-align: center;
}

.MyRow, .MyGridView td, .MyGridView2 td {
	color: #333;
    height: 2em;
}

.MyGridView td,.MyGridView2 td, .MyRow td,.MyAlt td {
    padding: 0.25em 0;
	font-size: 1em;
	vertical-align: middle;
	text-align: center;
}

.MyRow a, .MyGridView td a, .MyGridView2 td a {
	color: #2e5380;
}

.MyRow a:hover,.MyGridView td a:hover, .MyGridView2 td a:hover {
	color: #77aede;
}

.MyAlt {
	padding: 2px;
	background: #f7f7f7;
}

.MyAlt a {
	color: #2e5380;
}

.MyAlt a:hover{
	color: #7065a5;
}

div.MyPager {
    text-align: right;
	color: #555;
    background: none;
    padding: 5px;
    margin-top: 2px;
}

div.MyPager .Alert {
	color: #7065a5;
}

.MyOver, .MyHighlight {
	background-color: #fffaed;
}

/*===============================================================================
                           FontView、DetailVeiw套用 
=================================================================================*/
.Mytable {
	width: 100%;
	padding: 3px;
	margin-top: 10px;
	margin-bottom: 30px;
	line-height: 2em;
}

/*.Mytable.edit {
	border-top: 2px solid #aedbeb;
}*/

    /*表格標題*/
    .Mytable caption, .MyCaption, caption span {	
	    color: #2e5380;
	    font-size: 1.5em;
        font-weight: bold;
        text-align: center;
        line-height: 2em;
        font-family: "Arial", "微軟正黑體";
        padding: 0;
        margin: 0;
    }

    .Mytable th {
	    font-weight: normal;
	    color: #333;
	    font-size: 1.25em;
	    text-align: right;
	    padding: 8px 5px;
	    border-bottom: 1px dotted #ccc;
	    background-color: #f7f7f7;
	    vertical-align: middle;
    }

    .Mytable.edit th {
	    background-color: #f9f3f0;
    }

    .Mytable .odd { /*奇數行*/
	    background-color: #EEE;
    }

    .Mytable .even { /*偶數行*/
	    background: #FFF;
    }

    .Mytable td{
	    color: #555;
	    padding: 8px;
	    font-size: 1.125em;
	    text-align: left;
	    border-bottom: 1px dotted #ccc;
	    background-color: #FFF;
	    vertical-align: middle;
    }

    .Mytable thead th{
        font-family: "Arial", "微軟正黑體";
	    border-right: 1px solid #fff;
	    background: #77aede;
	    color: #1d1d1d;
	    text-align: center;
	    font-weight: bold;
	    padding: 8px 5px;
	    vertical-align: middle;
    }

        .Mytable td table {
	        padding: 0;
	        margin: 0 1px 0 0;
	        border-top: 2px solid #77aede;
        }

            .Mytable td table caption {
                font-size: 1.125em;
            }

            .Mytable td table th, .Mytable td table td {
                font-size: 1.125em;
            }

.Mytable a {
	color: #ff9900;
}

.Mytable a:hover {
	color: #7065a5;
}

.Mytable tbody.center tr th, .Mytable tbody.center tr td {
    text-align: center;
}

/*===============================================================================
                           查詢區域 套用 
=================================================================================*/
/*-------------------------- 表格排版 --------------------------*/
.MyQueryArea {
	background-color: #FFF;
	border: 4px solid #77aede;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	/*behavior: url(JS/ie-css3.htc);*/ /*--ie用圓角套件--*/
	font-family: "微軟正黑體", Arial;
	padding: 1rem;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

    .preMyQueryArea {	/*--for ie 圓角 JS 產生父層物件 (搭配jq-Corner)--*/
	    background-color: #FFF;
    }

.MyQueryArea table {
	background-color: #f9f9f9;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	width: 100%;
	padding: 5px;

}

    .MyQueryArea table caption {
	    color: #7065a5;
	    font-size: 1.25em;
	    font-weight: bold;
	    text-align: left;
        line-height: 2.25em;
    }

        .MyQueryArea table caption .fa-search {
	        padding-right: 5px;
        }

    .MyQueryArea table th, .MyQueryArea table td {
        padding-bottom: 20px;
    }

        /*修正第一行*/
        .MyQueryArea table tr:nth-child(1) th,.MyQueryArea table tr:nth-child(1) td {
	        padding-top:20px;
        }

    .MyQueryArea table th {
	    color: #3f3f3f;
	    font-size: 1em;
	    text-align: right;
	    font-weight: normal;
	    width: 8em;
	    padding-right: 0.75em;
    }

    .MyQueryArea table td {
	    text-align: left;
    }

        .MyQueryArea table th img, .MyQueryArea table td img {
	        vertical-align: middle;
        }

        .MyQueryArea table select, .MyQueryArea table label, .MyQueryArea table input {
	        color: #555;
	        vertical-align: middle;
            
        }

        .MyQueryArea table select, .MyQueryArea table input[type="text"] {
            min-width: 175px;
            padding: 3px 5px;
        }

    /*--修正radio--*/
    input[type="radio"] {
        margin-left: 10px;
        margin-right: 3px;
    }
	
/*-------------------------- 輸入項float排版 --------------------------*/	
	.MyQueryArea .MyInputField {
		display: inline-block;
		margin-top: 0.5rem;
		margin-bottom: 1rem;
        width: 13%;
	}

        .MyQueryArea .MyInputField+.MyInputField {
            margin-left: 1%;
        }
	
		.MyQueryArea .MyInputField label {
			display: block;
			font-weight: bold;
			color: #2e5380;
			cursor: default;
		}
	
		.MyQueryArea .MyInputField select {
			width:100%;
			padding: 0.5rem 0;
			border: none;
			border-bottom: 4px solid #77aede;
			cursor: pointer;
		}

@media screen and (max-width: 1280px) {
    .MyQueryArea .MyInputField.third {
			width: 31%;
		}

    .MyQueryArea .MyInputField.third+.MyInputField.third {
				margin-left: 2%;
			}
			
		.MyQueryArea .MyInputField.four {
			width: 23.5%;
		}
		
			.MyQueryArea .MyInputField.four+.MyInputField.four {
				margin-left: 1%;
			}
}

@media screen and (max-width: 768px) {
    .MyQueryArea .MyInputField.four {
        width: 49%;
        margin-left: 0;
    }

    .MyQueryArea .MyInputField.four+.MyInputField.four {
        margin-left: 0;
    }

}

/*-------------------------- 按鈕列 --------------------------*/
.CommandArea {
    text-align: center;
	margin:10px 0 5px 0;
}

/*===============================================================================
                           按鈕 套用 
=================================================================================*/
.btn{
	color: #FFF;
	border: 1px solid #2e5380;
	background: #77aede;
	font-size: 1rem;
	line-height: 30px;
	margin: 0 0.25em;
	padding: 2px 14px;
	display: inline-block;
	*text-decoration: none !important;
	cursor: pointer;
	text-align: center;
	zoom: 1;
	overflow: visible;/* the overflow property removes extra width in IE */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.btnPoint{
	background: #fcedc7;
	color: #683b10;
	border: 1px solid #f8e2ac;
}

.btnImp{
	background: #f5b9b9;
	color: #e13f60;
	border: 1px solid #f5c1cb;
}

    .btn.Over{
	    background: #42987e;
	    color: #FFF;
	    border: 1px solid #42987e;
    }

    .btnPoint.btn.Over{
        background: #f3b84f;
	    color: #FFF;
	    border: 1px solid #f3b720;
    }

    .btnImp.btn.Over{
        background: #f16464;
	    color: #FFF;
	    border: 1px solid #ef2e2e;
    }

.CommandArea .btn {
    color: #073761;
	border: 1px solid #2e5380;
	background: #cee7fd;
}

    .CommandArea .btn.Over {
        background: #2e5380;
	    color: #FFF;
	    border: 1px solid #7065a5;
    }

/*-----------------修正jQuery UI-----------------*/
.ui-datepicker select.ui-datepicker-month {	width: 30%;}
 .ui-datepicker select.ui-datepicker-year{width: 40%;}


/*--dsy--*/
.Declare td {
	color:#363636;
	font-size:.95em;
	text-align:right;
	font-weight: 800;
}

.Declare td span {
	font-weight:bold;
}
