﻿@charset "utf-8";
/*CSS Info ======================================================================
File Name: Grid.css
Create Editor: Sophia,Eliam
Create Date: 2012/06/19
Last Editor: Sophia
Last Date: 2015/6/2
Version： 1.5.3
---------------------------
【 風格 】
	菊暖蘭系
	jq：jquery-ui-1.10.4.custom(LyallCMS)
   font-awesome：font-awesome 4.3.0  http://fortawesome.github.io/Font-Awesome/

【 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寬度自訂*/
    border-top: 2px solid #cdc3b7;
    border-bottom: 1px solid #cdc3b7;
    font-size: 1em;
    color: #a45919;
    padding: 3px;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    background: #fff;
}

.MyGridView {
    width: 100%;
}

    .MyGridView caption, .caption {
        color: #5E4C0F;
        font-size: 1.15em;
        letter-spacing: 0.1em;
        padding: 0 10px;
        margin: 0 0 0 0;
        caption-side: top;
        text-align: center;
        font-weight: bold;
        line-height: 2em;
        font-family: "Arial", "\5FAE\8EDF\6B63\9ED1\9AD4";
    }

    .MyHead, .MyGridView tr.MyHead th, .MyGridView th, .MyGridView2 th {
        color: #a45919;
        font-weight: bold;
        font-family: "\5FAE\8EDF\6B63\9ED1\9AD4", Arial;
        font-size: 1.15em;
        padding: 5px;
        border-bottom: 1px solid #cdc3b7;
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f2ece0), color-stop(1, #ede4d4) );
        background: -moz-linear-gradient( center top, #f2ece0 5%, #ede4d4 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2ece0', endColorstr='#ede4d4');
        background-color: #ede4d4;
    }

    .MyGridView th {
        vertical-align: middle;
    }

        .MyHead a, .MyGridView th a {
            color: #e96b00;
        }

            .MyHead a:hover, .MyGridView th a:hover {
                color: #a45919;
            }

    .MyGridView tr.MyHead th, .MyGridView2 tr.MyHead th {
        text-align: center;
    }

    .MyGridView tr.MyHead td {
    }

    .MyRow, .MyGridView td, .MyGridView2 td {
        color: #888;
    }

        .MyGridView td, .MyGridView2 td, .MyRow td, .MyAlt td {
            padding: 5px;
            padding: 3px\9;
            vertical-align: middle;
        }

            .MyRow a, .MyGridView td a, .MyGridView2 td a {
                color: #F57004;
            }

                .MyRow a:hover, .MyGridView td a:hover, .MyGridView2 td a:hover {
                    color: #ADD60F;
                }

.MyAlt {
    padding: 2px;
    background: #fbf9f8;
}

    .MyAlt a {
        color: #8aae00;
    }

        .MyAlt a:hover {
            color: #769304;
        }

.MyPager {
    font-size: .9em;
    padding: 2px;
    background: #f2ece0;
    text-align: right;
    color: #5E4C0F;
}

div.MyPager {
    margin-top: 2px;
    padding: 5px;
    background: none;
    color: #5E4C0F;
}

    div.MyPager .Alert {
        color: #d36201;
    }

.MyOver, .MyHighlight {
    background-color: #f2ece0;
}

/*===============================================================================
                           FontView、DetailVeiw套用 
=================================================================================*/
.Mytable {
    width: 100%;
    padding: 3px;
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: 1.5em;
}

    .Mytable caption { /*表格標題*/
        color: #5E4C0F;
        font-size: 1.15em;
        letter-spacing: 0.1em;
        padding: 0 10px;
        margin: 0 0 0 0;
        caption-side: top;
        text-align: center;
        font-weight: bold;
        line-height: 2em;
        font-family: "Arial", "\5FAE\8EDF\6B63\9ED1\9AD4";
    }

    .Mytable thead th {
        font-weight: 700;
        font-size: 1.125rem;
        color: #fff;
        padding: 15px 10px;
        width: 15%;
        background-color: #27808e;
        border: 1px solid #fff;
        vertical-align: middle;
    }


    .Mytable tbody tr td {
        color: #333;
        padding: 15px 10px;
        text-align: center;
        border: 1px solid #ccc;
        vertical-align: middle;
    }

    .Mytable tbody tr:nth-child(odd) {
        background-color: #fff;
    }

    .Mytable tbody tr:nth-child(even) {
        background-color: #fbf9f8;
    }

/* .Mytable thead th {
        border-right: 1px solid #fff;
        background-color: #27808e;
        font-family: "Arial", "\5FAE\8EDF\6B63\9ED1\9AD4";
        font-size: 1.15em;
        color: #fff;
        text-align: center;
        font-weight: bold;
        padding: 10px;
        vertical-align: middle;
    }*/


/*===============================================================================
                           查詢區域 套用 
=================================================================================*/
.MyQueryArea {
    padding: 10px;
    background-color: #fff;
    margin-bottom: 10px;
}

    .MyQueryArea table {
        width: 100%;
        background-color: #fff;
        padding: 5px;
        font-size: 1em;
    }

        .MyQueryArea table caption, .MyCaption {
            text-align: left;
            font-size: 1.5rem;
            line-height: 1.7em;
            color: #27808e;
            font-weight: bold;
            padding-bottom: 10px;
        }

        .MyQueryArea table th {
            font-size: 1em;
            text-align: left;
            width: 7em;
            padding: 5px;
            padding-right: 0.75em;
            color: #656565;
            vertical-align: middle;
        }

        .MyQueryArea table td {
            font-size: 0.8em;
            text-align: left;
            padding: 2px;
            vertical-align: middle;
        }

            .MyQueryArea table th img, .MyQueryArea table td img {
                vertical-align: middle;
            }

        .MyQueryArea table select, .MyQueryArea table label, .MyQueryArea table input {
            color: #555;
        }

    .MyQueryArea select {
        font-size: 1.2em;
        border: 1px solid #CCC;
        min-width: calc(100% - 50px);
    }

    .MyQueryArea table label {
        font-size: 1.25em;
        vertical-align: middle;
    }

    .MyQueryArea input[type="text"], .MyQueryArea textarea {
        border: 1px solid #CCC;
        font-size: 1.15em;
        padding: 0 5px;
    }


.CommandArea { /*-------------------------- 按鈕列 --------------------------*/
    text-align: center;
    margin: 10px 5px 10px 5px;
}

.MyQueryArea .CommandArea {
    margin: 10px 0 5px 0;
}

    .MyQueryArea .CommandArea .btn {
        color: #CCC;
    }

/*===============================================================================
                           按鈕 套用 
=================================================================================*/


/*----------------- QueryComm 及主要按鈕樣式 -----------------*/
.QueryComm {
    padding-top: 30px;
}

input[type="button"],
button[type="button"] {
    -webkit-appearance: none;
}

.btn {
    min-width: 160px;
    height: 40px;
    font-size: 1.125rem;
    padding: 0 30px;
    background-color: #27808e;
    border: none;
    border-radius: 5px;
    color: #fff;
    box-shadow: 0 -3px 0 rgba(0,0,0,0.15) inset;
    text-transform: uppercase;
    white-space: nowrap;
    transition-property: transform;
    transform: translateZ(0);
    transition: box-shadow 0.5s cubic-bezier(0.390, 0.500, 0.150, 1.360);
}

    .btn:hover {
        color: #fff;
        box-shadow: 0 0 0 28px rgba(0,0,0,0.25) inset;
    }

    .btn:focus-visible,
    .btn:focus {
        outline: 2px dashed #f09819;
    }

    .btn:active {
        transform: translateY(2px);
    }

.btn-second {
    background-color: #999;
}

    .btn-second:hover {
        background-color: #707070;
    }

.special-btn {
    background-color: #C94733;
}

button.btn + button.btn {
    margin-left: 20px;
    margin-bottom: 20px;
}

.btn-sm {
    padding: 0;
    min-width: 40px;
    width: 40px;
}

@media only screen and (max-width: 47.9735em) {
    .btn {
        font-size: 1rem;
    }
}


/*-----------------修正jQuery UI-----------------*/
.ui-datepicker select.ui-datepicker-month {
    width: 30%;
}

.ui-datepicker select.ui-datepicker-year {
    width: 40%;
}

.ui-datepicker-trigger {
    margin-left: 5px;
}
/*-----------------修正Font Awesome-----------------*/
.fa-input {
    font-family: FontAwesome, "\5FAE\8EDF\6B63\9ED1\9AD4", Arial;
}
