﻿html, body {
    margin: 0;
    padding: 0;
}

body {
    /*background: url("images/bg.jpg") no-repeat fixed center top;*/
    color: #303030; /*#7a7777;*/
    font-family: Tahoma;
    font-size: 13px;
}

.logo {
    padding-bottom: 11px;
}

.banner {
    max-width: 800px;
    padding-bottom: 4px;
}

.userbar {
    background: #fff url("images/shadow.jpg") repeat top;
    text-align: right;
}
    .userbar span {
        font-size: 14px;
        font-weight: bold;
        color: #224396;
    }

.leftmenu {
    
}
    .leftmenu span {
        background: url("images/buttonmain.png") no-repeat top;
        color: #fff;
        display: block;
        font-size: 14px;
        font-weight: bold;
        height: 30px;
        margin-left: -6px;
        padding-bottom: -5px;
        padding-left: 40px;
        padding-top: 5px;
        width: 157px;
    }
    .leftmenu hr {
        border: 1px solid #a2b3ba;
        background-color: #a2b3ba;
    }
    .leftmenu ul {
        margin: 0 0 20px 0;
        padding: 0;
    }
    .leftmenu li {
        background: url("images/button.jpg") no-repeat top;
        display: block;
        margin-bottom: 5px;
        margin-left: -10px;
        padding-bottom: 4px;
    }
    .leftmenu li a:hover {
        background: url("images/button_after.jpg") no-repeat top;
        display: block;
        height: 21px;
        margin-bottom: -4px;
    }
    .leftmenu a {
        color: #303030; /*#7a7777;*/
        display: block;
        font-size: 13px;
        padding-left: 31px;
        padding-top: 1px;
        text-decoration: none;
    }

.headmenu {
    background: #eceaeb;
    padding-left: 10px;
}
    .headmenu span {
        font-size: 14px;
        font-weight: bold;
        color: #224396;
    }

.head_paper {
    background: url("images/head_paper.jpg") repeat top;
    color: #3f529c;
    display: block;
    font-weight: bold;
    height: 23px;
    margin-left: -8px;
    padding: 5px 0 0 13px;
}

.footer {
    background: url("images/footer.png") no-repeat top;
    color: #6c6969;
}
.footerFull {
    background: url("images/footer.jpg") no-repeat top;
    background-size: 100%;
    color: #6c6969;
}
.footerMaster {
    background: url("images/footer.jpg") no-repeat top;
    color: #6c6969;
}
/* เฉพาะ Version ภาษาไทย */
.bt {
    filter: alpha(opacity=30);
    opacity: 0.3;
}


/* CSS ของเดิม */
h2 {
    font-weight: bold;
    color: #3f529c;
}
h3 {
    font-weight: bold;
    color: #3f529c;
}
h3.welcome {
    font-weight: bold;
    color: #f4793a;
}
hr {
    border: none;
    border-bottom: 1px #bbd8fb solid;
}

#header {
    border-bottom: 1px solid #c9d7f1;
    padding: 15px;
    text-align: left;
}
#middle {
    padding: 0px;
    margin: 0px;
    padding-bottom: 50px;
}
#middle h3 {
    color: #f4793a;
}
#middle-content {
    text-align: left;
    width: 100%;
    min-height: 550px;
    border-collapse: collapse;
}
#middle-content-left {
    color: Black;
    width: 150px;
    vertical-align: top;
    padding-top: 10px;
    padding-left: 10px;
}

/*.menu-left ul li a {
    display: block;
    padding: 3px;
    text-decoration: none;
    color: Black;
}
.menu-left ul li a:visited {
    display: block;
    padding: 3px;
    text-decoration: none;
    color: Black;
}
.menu-left ul li a:hover {
    display: block;
    padding: 3px;
    background-color: #f3f7fd;
    border: 1px #bbd8fb solid;
    color: Blue;
}*/

#middle-content-center {
    vertical-align: top;
    padding: 10px;
    border-left: 1px solid #c9d7f1;
    border-right: 1px solid #c9d7f1;
}
#middle-content-right {
    vertical-align: top;
    padding: 10px;
    width: 200px;
}
#middle-content-left ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.formInput {
    width: 729px;
}
.formInput tr td {
    padding: 3px;
}
.message-box {
    display: block;
    padding: 10px;
    padding-left: 25px;
    background-color: #f3f7fd;
    border: 1px #bbd8fb solid;
}
.line {
    height: 1px;
    border-bottom: 1px #bbd8fb solid;
}
.gridHeader {
    font-weight: bold;
    height: 25px;
    background-color: #eaf5fd;
    
}
.table-all-border {
    width: 950px;
    border-collapse: collapse;
}
.table-all-border tr th {
    border: 1px #f0f0f0 solid;
    padding: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    vertical-align: top;
    background-color: #eaf5fd;
    font-weight: normal;
}
.table-all-border tr td {
    border-left: 1px #f0f0f0 solid;
    /*border-right: 1px #bbd8fb solid;*/
    padding: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: right;
}
.table-all-border tr td.last {
    border-left: 1px #f0f0f0 solid;
    border-right: none;
    padding: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: right;
}
.table-all-border-head {
    width: 950px;
    border-collapse: collapse;
}
.table-all-border-head tr th.top {
    border-top: none;
    border-left: 1px #CCCCCC solid;
    border-right: none;
    padding: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    vertical-align: top;
    background-color: #eaf5fd;
    font-weight: bold;
}
.table-all-border-head tr th.last {
    border-left: 1px #CCCCCC solid;
    border-right: none;
    padding: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    vertical-align: top;
    background-color: #eaf5fd;
    font-weight: bold;
}
.table-all-border-head tr th {
    border: 1px #CCCCCC solid;
    border-bottom: 0px;
    padding: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    vertical-align: top;
    background-color: #eaf5fd;
    font-weight: bold;
}
.table-all-border-head tr td {
    border-left: 1px #CCCCCC solid;
    border-right: 1px #CCCCCC solid;
    padding: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: right;
}

.txtReadOnly {
    border: 1px solid Green;
    padding: 3px;
    width: 200px;
}
.CancelData td {
    font-weight: bold;
    color: Red;
    
}
.ApproveData td {
    font-weight: bold;
    color: #009500; /*#b6e14f;*/
}
.NotApproveData td {
    font-weight: bold;
    color: Blue;
}
.calenda {
    font-size: 12px;
}
.HaveList {
    background-color: #fef200;
}
.WorkDay {
    background-color: #e5e5e5;
}
.WeekEnd {
    background-color: #8ee7ef;
}
.Holiday {
    background-color: #fe7f3c;
}
.calendar a {
    margin-left: 0;
    display: block;
    background-image: url('../../Images/bg-header-day.png');
}
.txtDate {
    width: 80px;
}
.ui-datepicker-trigger:hover {
    cursor: Pointer;
}
input.btn {
    cursor: Pointer;
}
.center-text input {
    text-align: center;
}
