﻿body {
    overflow:hidden;
}

.userPwd {
    -webkit-text-security: disc;
}

.form-control {
    height: auto;
    font-size: inherit;
}
.form-select {
/*    height: 50px;
*/}
.col {
    width: 100%;
}

.col-sm-4 {
    width: auto;
}
label {
    margin-top: 10px;
}
input[type="checkbox"]
{
    width: 20px;
    height: 20px;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #ddd;
    background-color: #ffffff;
}

thead {
    color: white;
    background-color: gray;
}

th, td {
    text-align: left;
    padding: 2px;
}

tr:nth-child(even) {
    background-color: #f2f2f2
}

/*Table add/edit/delete---------------------------------------------------------------------------------------*/
/*body {
    color: #404E67;
    background: #F5F7FA;
    font-family: 'Open Sans', sans-serif;
}*/
    .table-wrapper {
        width: 100%;
        margin: 30px auto;
        margin-top: 0px;
        background: #fff;
        /*    padding: 20px;
*/ box-shadow: 0 1px 1px rgba(0,0,0,.05);
    }

.table-title {
/*    padding-bottom: 10px;
    margin: 0 0 10px;
*/}

    .table-title h2 {
        margin: 6px 0 0;
        font-size: 22px;
    }

    .table-title .add-new {
        float: right;
        width: 10vw;
/*        height: 5vh;
*/        font-weight: bold;
        font-size: large;
        text-shadow: none;
        min-width: 100px;
        border-radius: 5px;
        line-height: 20px;
    }

        .table-title .add-new i {
            margin-right: 4px;
        }

table.table {
    table-layout: fixed;
}

    table.table tr th, table.table tr td {
        border-color: #e9e9e9;
    }

    table.table th i {
        font-size: 13px;
        margin: 0 5px;
        cursor: pointer;
    }

/*    table.table th:last-child {
        width: 100px;
    }*/

    table.table td a {
        cursor: pointer;
        display: inline-block;
        margin: 0 5px;
        min-width: 24px;
    }

        table.table td a.add {
            color: #27C46B;
        }

        table.table td a.edit {
            color: #FFC107;
        }

        table.table td a.delete {
            color: #E34724;
        }

    table.table td i {
        font-size: 19px;
    }

    table.table td a.add i {
        font-size: 24px;
        margin-right: -1px;
        position: relative;
        top: 3px;
    }

    table.table .form-control {
        height: 32px;
        line-height: 32px;
        box-shadow: none;
        border-radius: 2px;
    }

        table.table .form-control.error {
            border-color: #f50000;
        }

    table.table td .add {
        display: none;
    }

.form-control {
    height: 32px;
    line-height: 32px;
    box-shadow: none;
    border-radius: 2px;
}

.form-control.error {
    border-color: #f50000;
}

.error {
    border-color: #f50000;
}

.mustinput {
    background-color: #FFD4D4;
}

.table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 2px;

}

.table > thead > tr > th, .table > thead > tr > th > p {
    text-align: center;
    vertical-align: middle;
    padding: 0px;
    margin: 0px;
}


input[type="password"] {
    /*width: auto;*/
    max-width: 280px;
    display: inline-block;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: 3px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

input[id="txt_passwd"] {
    width: auto;
    max-width: 280px;
    display: inline-block;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: 3px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

#accTable {
    background-color: white;
}

.accTable td {
    padding: 15px;
}

.eddate, .eadate, .openorder a:active {
    color: brown;
    font-size: x-large;
    margin-left: 5px;
    margin-right: 5px;
    text-decoration: none;
    outline: 0;
}

#calendar {
    margin-top: 20px;
}

/* Just common table stuff. Really. */
.tlist table {
    background: white;
}

.tlist th {
    color: white;
    background: gray;
}

.tlist tr {
    background: white;
}

    .tlist tr:nth-child(even) {
        background-color: white;
    }

/*表格捲頁*/
.table-adjuest1 tbody {
    overflow-y: scroll; /*設定卷軸 auto 是有超過我的高度的時候才會出現卷軸*/
    height: calc(75vh - 50px); /*自己設定*/
    display: block;
}
.table-adjuest2 tbody {
    overflow-y: scroll; /*設定卷軸 auto 是有超過我的高度的時候才會出現卷軸*/
    height: calc(40vh - 50px); /*自己設定*/
    display: block;
}
.table-adjuest3 tbody {
    overflow-y: scroll; /*設定卷軸 auto 是有超過我的高度的時候才會出現卷軸*/
    height: calc(35vh - 50px); /*自己設定*/
    display: block;
}
.table-adjuest4 tbody {
    overflow-y: scroll; /*設定卷軸 auto 是有超過我的高度的時候才會出現卷軸*/
    height: calc(20vh - 50px); /*自己設定*/
    display: block;
}

.table-adjuest5 tbody {
    overflow-y: scroll; /*設定卷軸 auto 是有超過我的高度的時候才會出現卷軸*/
    height: calc(30vh - 50px); /*自己設定*/
    display: block;
}

.table-adjuest6 tbody {
    overflow-y: scroll; /*設定卷軸 auto 是有超過我的高度的時候才會出現卷軸*/
    height: calc(25vh - 50px); /*自己設定*/
    display: block;
}

.table-adjuest7 tbody {
    overflow-y: scroll; /*設定卷軸 auto 是有超過我的高度的時候才會出現卷軸*/
    height: calc(17vh - 50px); /*自己設定*/
    display: block;
}

.table-hidden tr {
    width: 100%;
    display: inline-table;
}

.table-hidden > thead > tr > th {
    padding: 5px;
}

/*登入畫面*/
#accTable table {
    background: white;
}

#accTable th {
    color: white;
    background: gray;
}

#accTable tr {
    background: white;
}

    #accTable tr:nth-child(even) {
        background-color: white;
    }


/*解決畫面寬度問題*/
@media (max-width: 768px) {
    #FeeApplyForm {
        width: 700px;
    }
    #BusiTripApplyForm {
        width: 700px;
    }
    #SignFlowSetup {
        width: 700px;
    }
    #CustomApplyForm {
        width: 700px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #FeeApplyForm {
        width: 768px;
    }
    #BusiTripApplyForm {
        width: 768px;
    }
    #SignFlowSetup {
        width: 768px;
    }
    #CustomApplyForm {
        width: 768px;
    }
}

@media (min-width: 1024px) {
    #FeeApplyForm {
        width: 1000px;
    }
    #BusiTripApplyForm {
        width: 1000px;
    }
    #TECVForm {
        width: 1024px;
    }
    #CustomApplyForm {
        width: 1200px;
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    #SignFlowSetup {
        width: 1000px;
    }
    #TECVForm {
        width: 1200px;
    }
}

@media (min-width: 1280px) {
    #FeeApplyForm {
        width: 1000px;
    }

    #BusiTripApplyForm {
        width: 1000px;
    }

    #TECVForm {
        width: 1024px;
    }
    #CustomApplyForm {
        width: 1200px;
    }
}

@media (min-width: 1320px) {
    #SignFlowSetup {
        width: auto;
    }
    #TECVForm {
        width: 1280px;
    }
}

@media (min-width: 1440px) {
    #TECVForm {
        width: 1440px;
    }
}