﻿body
{
    font-family: Arial,Verdana,Helvetica,sans-serif;
    background-image: url(images/bgHome.png);
    background-repeat: no-repeat;
    margin: 0;
}

h1
{
    font-size: 138.5%;
}
h2
{
    font-size: 123.1%;
}
h3
{
    font-size: 108%;
}
h1, h2, h3
{
    margin: 1em 0;
}
h1, h2, h3, h4, h5, h6, strong, dt
{
    font-weight: bold;
}

h1, h2
{
    margin: 0;
    font-weight: bold;
}
h3
{
    margin: 0;
    margin-bottom: 3px;
    padding-top: 3px;
}

textarea
{
    font-family: Arial,Verdana,Helvetica,sans-serif;
}

input[type=checkbox], input[type=radio]
{
    border: 0;
    background-color: transparent;
    vertical-align: bottom;
    margin: 0;
}

div.clear
{
    height: 0;
    clear: both;
    visibility: hidden;
    font-size: 0;
}

#header div.line
{
    height: 2px;
    border-bottom: 2px solid;
    color: #0046ad;
    margin: 0;
    padding: 0;
}

#header ul li
{
    display: inline;
}

#applicationlogo
{
    vertical-align: bottom;
    float: left;
    margin-bottom: 0px;
    padding: 10px 10px 0 15px;
}

#welcome, #globalLinks
{
    float: right;
}

#welcome
{
    font-weight: 400;
    vertical-align: middle;
    border-right: 2px solid #ddd;
    padding: 10px 10px 3px;
}
#appName
{
    font-size: 20px;
    font-weight: bold;
    color: #457DB0;
}
#globalLinks
{
    vertical-align: middle;
    padding: 8px 2px 3px;
}

#globalLinks ul li
{
    float: left;
    display: block;
    margin: 0 0.15em;
}

#globalLinks ul li img
{
    margin-bottom: 1px;
    margin-left: 2px;
    cursor: hand;
}


#leftColumn
{
    left: 10px;
    position: absolute;
    float: left;
    width: 14.5em;
    padding-right: 8px;
    padding-top: 10px;
}

div#content
{
    padding-top: 0px;
    padding-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
}

#subModuleList li.subTabMore
{
    position: relative;
}

#subModuleList ul.cssmenu
{
    display: block;
    position: absolute;
    top: 15px;
    left: 0;
    width: 127px;
}

#subModuleList ul.cssmenu li a, #subModuleList ul.cssmenu li a:hover
{
    color: #000;
    border: none;
    background: transparent none repeat scroll 0 0;
}

#subModuleList li.subTabMore ul.cssmenu
{
    visibility: none;
}

#subModuleList li.subTabMore:hover ul.cssmenu
{
    visibility: visible;
}

#subModuleList
{
    padding: 0.4em 0 0.3em 0;
}

#subModuleList span a
{
    text-decoration: none;
    padding: 0.2em 0.5em 0.3em 0.5em;
    margin: 0 -3px 0 0;
    white-space: nowrap;
}

#subModuleList
{
    border-bottom: none;
    border-top: 2px solid;
    padding: 0.4em 0 0.3em 1em;
}

#subModuleList span a
{
    white-space: nowrap;
    text-decoration: none;
    border-right: 1px solid;
    border-left: 1px solid;
    border-bottom: none;
    margin: 0 -3px 0 0;
    padding: 0.2em 0.5em 0.3em;
}

div.moduleTitle
{
    height: 10px;
    margin-bottom: 10px;
    margin-top: 0px;
    padding-bottom: 3px;
    padding-top: 0px;
}

.moduleTitle img
{
    margin-right: 3px;
    margin-top: 3px;
    border: 0;
}

.moduleTitle h2
{
    color: #0E70B8;
    display: block;
    float: left;
    font-size: 15px;
    padding-left: 4px;
    padding-top: 0px;
}

.moduleTitle h2 a
{
    color: #0E70B8;
    font-size: 16px;
    text-decoration: none;
}

.moduleTitle h2 span.pointer
{
    font-size: 18px;
    line-height: 16px;
    padding: 0px 8px;
}

/*.buttons {
padding-bottom:2px;
padding-left:0;
padding-right:3px;
}*/

#groupTabs li
{
    margin: 0 -3px 0 0;
}

#footer
{
    padding-top: 10px;
    text-align: center;
    padding-bottom: 5px;
    border: 2px solid #ddd;
    border-bottom: 0;
    border-right: 0;
}

#MorePanelHandle
{
    cursor: pointer;
    display: inline;
    margin-left: 2px;
    margin-bottom: 2px;
    text-align: center;
    background: url('images/more.gif') no-repeat bottom left;
    color: #444;
}

.h3Row
{
    margin-top: 10px;
    vertical-align: middle;
    background-repeat: repeat-x;
    background-position: top;
    background-color: #fff;
}

.h3Row td
{
    padding: 4px 5px 3px 3px;
}

h4, h5
{
    margin-bottom: 2px;
    padding-left: 4px;
}

#header
{
    min-width: 85em;
}

.moduleTitle
{
    padding-bottom: 3px;
    padding-top: 0;
    margin-bottom: 10px;
    margin-top: 0;
}

.subTabMore
{
    font-size: 11px;
    text-decoration: none;
    padding-top: 3px;
}

#moduleList
{
    display: block;
    height: 30px;
}

#moduleList ul li
{
    float: left;
    display: block;
    font-weight: 700;
    margin: 0 0.15em;
    padding: 8px 6px 4px 2px;
}

#moduleList > ul > li
{
    background-repeat: no-repeat;
    background-position: right top;
}

#moduleList > ul > li.noBorder
{
    background-image: none;
    padding-right: 0;
    padding-left: 0;
    margin-left: -2px;
}

#moduleList > ul:first-child
{
    padding-left: 14px;
}

#moduleList > ul > li#moduleTabExtraMenu
{
    padding-left: 16px;
    padding-right: 20px;
}

#moduleList ul li span.currentTab
{
    font-weight: 700;
    background-position: top center;
    border-bottom: 2px solid;
    border-left: 0 !important;
    margin: 0 !important;
    padding: 8px 5px 6px;
}

#moduleList ul li span.currentTabLeft
{
    background-position: top left;
    border-bottom: 2px solid;
    margin-right: 0 !important;
    border-left: 0 !important;
    padding: 8px 2px 6px;
}

#moduleList ul li span.currentTabRight
{
    background-position: top right;
    border-bottom: 2px solid;
    margin-left: 0 !important;
    border-left: 0 !important;
    padding: 8px 2px 6px;
}

#moduleList ul li a:link, #moduleList ul li a:visited
{
    text-decoration: none;
    padding-top: 0;
}

#moduleList ul li ul.cssmenu
{
    margin-left: -1.7em;
    margin-top: 0.3em;
}

#leftColumn h3, #HideMenu h3
{
    padding-left: 3px;
    padding-top: 8px;
    padding-bottom: 4px;
    margin-bottom: 0;
    border-bottom: 2px solid;
    color: #444;
}

#globalLinks ul li span
{
    color: #CCC;
}

h1, h2, h3, h4, h5, h6, strong, dt
{
    font-weight: bold;
}

input[type="checkbox"], input[type="radio"]
{
    padding: 0;
}

#subModuleList span, .moduleTitle > h2 > img
{
    display: none;
}

form
{
    margin: 0;
}

input[type=text], input[type=password], textarea, .small table
{
    width: 130px;
}

#globalLinks ul, #moduleList ul
{
    list-style: none;
    color: #ccc;
    margin: 0;
    padding: 0;
}

#globalLinks ul li:hover ul, #globalLinks ul a:hover ul, #moduleList ul li:hover ul, #moduleList ul a:hover ul, #subModuleList li.subTabMore:hover ul.cssmenu
{
    visibility: visible;
}

div#content > table, .small
{
    width: 100%;
}

div#content noLeftColumn, #content.noLeftColumn
{
    margin-left: 5px;
    border-left: none;
}

#subModuleList span.selected, #header ul.cssmenu li
{
    display: block;
}

#subModuleList li, #subModuleList ul
{
    margin: 0;
    padding: 0;
}

#moduleList ul li a:hover
{
    text-decoration: none;
}

#globalLinks ul li a
{
    color: #444;
}

#groupTabs
{
    margin-top: 20px;
}



input, select, textarea, .list
{
    border: 1px solid;
}

/* DetailView/EditView/ListView styles */
.view, table.view
{
    margin-bottom: 3px;
    margin-top: 3px;
    padding: 10px 6px 12px 10px;
    padding: 20px 16px 22px 30px;
    width: 99%;
}
.view tr td table, .view tr td table tr td
{
    padding: 0;
}
.view tr td input[type=checkbox]
{
    vertical-align: middle;
}


/* DetailView styles */
.detail h4
{
    font-weight: bold;
    margin: 0px;
    text-align: left;
    border: none;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 0;
    margin-left: 0;
}

.detail tr td
{
    border: none;
    vertical-align: top;
    padding: 5px 6px 5px 6px;
    vertical-align: top;
    text-align: left;
}

.detail tr td[scope=row]
{
    margin-top: 2px;
    margin-bottom: 10px;
    text-align: right;
    white-space: nowrap;
}
.detail tr td > li
{
    margin-left: 1.5em;
}
/* editviews top buttons */
#EditView > table
{
    margin-bottom: 2px;
}

/* editviews */
.edit
{
    padding: 0 6px 12px 10px !important;
}

.edit > table
{
    margin-bottom: 0px;
    padding: 3px 3px 3px 10px !important;
}

.edit h4
{
    text-align: left;
    margin-top: 0;
    padding-top: 0;
    margin-top: 10px;
    padding-left: 0;
}
.edit tr td
{
    font-weight: normal;
    padding: 0 !important;
    vertical-align: top;
    padding: 3px !important;
}
.edit tr td[scope=row]
{
    padding: 5px 5px 5px 7px !important;
    text-align: left;
    vertical-align: top;
}
.edit tr th
{
    padding: 5px 5px 5px 7px !important;
}

.edit tr td table, .edit tr td table tr td
{
    padding: 3px 3px 3px 0 !important;
    padding: 0 !important;
}
table.edit.view
{
    margin-top: 0;
}
/* detail view */
.detail.view, .detail table, table.detail
{
    padding: 0;
    width: 100%;
}
/* DetailView/EditView/ListView styles */
.view
{
    border-bottom: 1px solid;
    border-top: 2px solid;
}

/* DetailView styles */

.detail table, table.detail
{
    padding: 0;
}
.detail tr td
{
    border-bottom: 1px solid;
}
.detail tr td[scope=row]
{
    border-bottom: 1px solid;
}
.detail tr th
{
    border-bottom: 2px solid;
    background: #fff;
}
.toolbar
{
    margin-bottom: 5px;
}
/* search panel on top of list views ( extends .edit .view definition ) */
.search
{
    margin-top: 1px;
    margin-bottom: 5px;
    padding: 10px 6px 12px 10px;
    width: 99%;
    border-bottom: 1px solid;
    border-top: 3px solid;
    border-bottom-color: #abc3d7 !important;
    border-top-color: #4e8ccf !important;
    background-color: #F6F6F6;
}
.search td
{
    padding: 2px 0px 2px 0px;
}
.search_form
{
    overflow: visible;
    text-align: left;
    margin-bottom: 5px;
}

.search_form .view
{
    width: 99%;
    margin: 0 0 3px;
    padding-right: 0 !important;
    padding-left: 10 !important;
    padding-top: 10px !important;
}

#user_password, #user_name
{
    width: 150px;
}


/**/

.required, .error
{
    color: #ff0000;
}
.success
{
    color: #00ee00;
}

img.View
{
    src: url(images/icons/view_inline.png);
}

img.Delete
{
    src: url(images/icons/delete_inline.png);
}

img.Edit
{
    background: url(images/icons/edit_inline.png);
}

img.Refresh
{
    src: url(images/icons/refresh_inline.png);
}

span.Create
{
    padding-left: 20px;
    background: url(images/icons/add_inline.png) no-repeat 1px;
}

span.Edit
{
    padding-left: 20px;
    background: url(images/icons/edit_inline.png) no-repeat 1px;
}

span.View
{
    padding-left: 20px;
    background: url(images/icons/view_inline.png) no-repeat 1px;
}

span.Import
{
    padding-left: 20px;
    background: url(images/icons/Import_inline.png) no-repeat 1px;
}

span.Export
{
    padding-left: 20px;
    background: url(images/icons/export_inline.png) no-repeat 1px;
}

span.diagram
{
    padding-left: 20px;
    background: url(images/icons/corgen_diagram.png) no-repeat 1px;
}

span.Delete
{
    padding-left: 20px;
    background: url(images/icons/delete_inline.png) no-repeat 1px;
}
span.Xls
{
    padding-left: 20px;
    background: url(images/icons/xls_inline.png) no-repeat 1px;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}
/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, .editor-label, .display-field, .editor-field
{
    margin: 0.5em 0;
}

.text-box.multi-line
{
    height: 4.5em;
}

/* Function Style*/
.ItemNumberTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    width: 118px !important; /*HEIGHT:30px;*/
}
.ItemNumberTd
{
    width: 120px;
}

.ItemNumberDescrTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    width: 118px !important;
}
.ItemNumberDescrTd
{
    width: 120px;
}


.BranchTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    width: 98px !important; /*HEIGHT:30px;*/
}
.BranchTd
{
    width: 100px;
}

.VendorNumberTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    width: 78px !important; /*HEIGHT:30px;*/
}
.VendorNumberTd
{
    width: 80px;
}

.LineNumberTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    width: 58px !important; /*HEIGHT:30px;*/
}
.LineNumberTd
{
    width: 60px;
}

.QtyTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    width: 70px !important; /*HEIGHT:30px;*/
}
.QtyTd
{
    width: 72px;
}
.MaxQtyTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    width: 78px !important; /*HEIGHT:30px;*/
}
.MaxQtyTd
{
    width: 80px;
}
.RemarkTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    width: 210px !important; /*HEIGHT:30px;*/
}
.RemarkTd
{
    width: 212px;
}
.MaxRemarkTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    width: 298px !important; /*HEIGHT:30px;*/
}
.MaxRemarkTd
{
    width: 300px;
}
.VendorTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    width: 168px !important; /*HEIGHT:30px;*/
}
.VendorTd
{
    width: 170px;
}
.MaxVendorTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    width: 180px !important; /*HEIGHT:30px;*/
}
.MaxVendorTd
{
    width: 182px;
}
.LocationTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    width: 118px !important; /*HEIGHT:30px;*/
}
.LocationTd
{
    width: 120px;
}
.IssueOutDocumentTypeTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    width: 148px !important; /*HEIGHT:30px;*/
}
/*button style*/
button, input[type=submit], input[type=reset], input[type=button], .button
{
    font-weight: normal;
    background-repeat: repeat-x;
    background-position: top;
    padding-bottom: 1px;
    padding-right: 6px;
    padding-left: 6px;
    vertical-align: middle;
}

button:hover, input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover, button:focus, input[type=submit]:focus, input[type=reset]:focus, input[type=button]:focus, button[selected], input[type=submit][selected], input[type=reset][selected], input[type=button][selected]
{
    color: #fff;
    background-image: none;
    cursor: pointer;
    font-weight: normal;
}

button, input[type=submit], input[type=reset], input[type=button], .button, .buttons .button
{
    border: 1px solid #ccc;
    background-color: #fff;
    color: #666;
    background-image: url(images/form-button-bg.png);
    background-position: center;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    padding: 0px 8px 3px 8px;
    padding: 2px 8px 1px 8px\9; /* ie hack */
    text-shadow: 1px 1px #fff;
}

.button.primary, input[type=submit]
{
    background-image: url(images/form-button-primary-bg.png);
    border: 1px solid #326a9c;
    background-color: #356ea1;
    color: #fff;
    text-shadow: -1px -1px #254f74;
}

button:hover, input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover, button:focus, input[type=submit]:focus, input[type=reset]:focus, input[type=button]:focus, button[selected], input[type=submit][selected], input[type=reset][selected], input[type=button][selected]
{
    background-color: #f9f9f9;
    background-image: url(images/form-button-bg.png);
    background-position: center;
    border-color: #ccc;
    color: #666;
    text-shadow: 0.1em 0.1em #fff;
}

.button.primary:hover, .button.primary:focus, button.primary[selected], input[type=submit]:hover
{
    border: 1px solid #326a9c;
    background-color: #3f83c0;
    text-shadow: -1px -1px #3a79b2;
    background-image: url(images/form-button-primary-bg.png);
    color: #fff;
}

button[disabled], input[type=submit][disabled], input[type=reset][disabled], input[type=button][disabled]
{
    border-color: #c1c1c1;
    background-color: #f0f0f0;
    color: #999;
    text-shadow: none;
    background-image: url(images/form-button-bg2.png);
}

.loginBox
{
    background-image: url(images/icons/login-bg.png);
    background-repeat: repeat-x;
    border: 1px solid #999999;
    background-color: #e8e8e8;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    padding: 20px;
}

.loginBox .login_more
{
    text-align: right;
    padding-right: 18px !important;
}

/*dashletPanel*/

.dashletPanel .hd
{
    padding: 0;
    border: none;
    text-align: left;
    vertical-align: middle;
    overflow: visible;
    position: relative;
    padding-left: 22px;
    padding-right: 22px;
    height: 15px;
}

.dashletPanel .hd .hd-center
{
    background: url(images/icons/dp-hd.png) repeat-x;
    height: 15px;
}

.dashletPanel .hd .tr
{
    width: 22px;
    height: 15px;
    top: 0;
    right: 0;
    background: url(images/icons/dp-tr.png) no-repeat;
    position: absolute;
}

.dashletPanel .hd .tl
{
    width: 22px;
    height: 15px;
    top: 0;
    left: 0;
    background: url(images/icons/dp-tl.png) no-repeat;
    position: absolute;
}

.dashletPanel .bd
{
    overflow: hidden;
    background: none;
    border-left: 0;
    border-right: 0;
    position: relative;
    padding: 0 22px;
}

.dashletPanel .bd .bd-center
{
    /*padding-top: 15px;*/
    background: url(images/icons/dp-bd.png) repeat;
}

.dashletPanel .bd .bd-center .screen
{
    background-color: #fff;
    border: 1px solid #999;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    padding: 10px;
}

.dashletPanel .bd .ml
{
    top: 0;
    left: 0;
    width: 22px;
    height: 100%;
    position: absolute;
    background: url(images/icons/dp-ml.png) repeat-y;
}
.dashletPanel .bd .mr
{
    width: 22px;
    top: 0;
    right: 0;
    height: 100%;
    position: absolute;
    background: url(images/icons/dp-mr.png) repeat-y;
}

.dashletPanel .ft
{
    font-size: 11px;
    border: none;
    position: relative;
    margin-bottom: 20px;
    height: 22px;
    padding-left: 22px;
    padding-right: 22px;
}

.dashletPanel .ft .bl
{
    bottom: 0;
    left: 0;
    position: absolute;
    background: url(images/icons/dp-bl.png) no-repeat;
    height: 22px;
    width: 22px;
}

.dashletPanel .ft .br
{
    bottom: 0;
    right: 0;
    position: absolute;
    background: url(images/icons/dp-br.png) no-repeat;
    height: 22px;
    width: 22px;
}

.dashletPanel .ft .ft-center
{
    background: url(images/icons/dp-ft.png) repeat-x;
    height: 22px;
}

.dashletPanel .bd .bd-center
{
    padding-top: 0px;
}
.IssueOutDocumentTypeTd
{
    width: 150px;
}

.ui-datepicker-trigger
{
    margin-left: -20px;
    margin-top: 2px;
    position: absolute;
}

.cssTextbox
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
}

.phoneList
{
    list-style: none;
    margin: 0px;
}
.phoneList li
{
    float: left;
    font-size: 15px;
    line-height: 24px;
    padding-left: 2px;
}



.phone
{
    background: url(../FlagIcon/Phone/phone.png) no-repeat;
    width: auto;
    height: 24px;
    padding: 0 0 0 17px;
    background-position: 10 3px;
}
.mobile
{
    background: url(../FlagIcon/Phone/mobile.png) no-repeat;
    width: auto;
    height: 24px;
    padding: 0 0 0 17px;
    background-position: 0 3px;
}
.fax
{
    background: url(../FlagIcon/Phone/fax.png) no-repeat;
    width: auto;
    height: 24px;
    padding: 0 0 0 17px;
    background-position: 0 3px;
}

.amountValue
{
    padding-left: 5px;
}


.productText
{
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    margin-left:0px !important;
    width: 120px !important;
    height:22px !important;
}
.poContent li .ui-icon-close
{
    float: left;
    margin: 0.4em 0.2em 0 0;
    cursor: pointer;
}
.financeArea
{
    padding: 0 0 0 0;
    border: 0;
    float: right;
}
.financeAreaTdLeft
{
    padding: 2px 2px 2px 2px;
    text-align: right;
    border-top: 1px solid #000000;
}
.financeAreaTdLeftFirst
{
    padding: 2px 2px 2px 2px;
    text-align: right;
}

.financeAreaTdRight
{
    padding: 2px 2px 2px 2px;
    border-left: 1px solid #000000;
    width: 100px;
    text-align: left;
    border-top: 1px solid #000000;
}
.financeAreaTdRightFirst
{
    padding: 2px 2px 2px 2px;
    border-left: 1px solid #000000;
    width: 100px;
    text-align: left;
}
