body {
  background: url("../img/bg_body.png") repeat-x  top center #fff;
  color: #2E3436;
  font-family: Tahoma,'Lucida Grande',Verdana,Arial,Sans-Serif;
  font-size: 12px;
  height: 100%;
  margin: 0;
  padding: 0;
}

body.iframe {
    background: #fff !important;
}
body.iframe #content {
     background: #fff !important;
     padding: 20px;
}
body.iframe #content h1 {
    margin: 0 0 20px 0;
}
a {
    color: #007EAE;
}

#header {
    position: relative;
}

#logo {
    font-size: 30px;
    position: absolute;
    top: 21px;
    left: 23px;
    color: #5d7373;
    width: 156px;
    height: 63px;
    background: url(../img/logo.png) no-repeat top center;
    text-indent: -100000px;
    position: absolute;
}

#header {
    background: url("../img/bg_header.png") no-repeat top center;
    height: 189px;
    width: 986px;
    margin: 40px auto auto;
}

#content {
    min-height: 300px;
    background: url("../img/bg_content_foot.png") no-repeat bottom center;
    width: 986px;
    margin: 0 auto 20px;
    padding-bottom: 22px;
}

#content .repeat {
    min-height: 300px;
    background: url("../img/bg_content_repeat.png") repeat-y top center;
    width: 986px;
    padding-top: 17px;
}

.welcome .title {
    color: #808585;
    font-family: angsanaupc;
    font-size: 48px;
    margin: 10px 0 0;
    position: absolute;
    right: 23px;
    top: 23px;
}
.welcome .concept {
    color: #5D7373;
    font-family: angsanaupc;
    font-size: 24px;
    line-height: 10px;
    position: absolute;
    right: 23px;
    top: 72px;
}

#footer {
    background: url("../img/bg_footer.png") no-repeat top center;
    padding:  0;
    width: 100%;
    margin: 0 auto 40px;
    height: 85px;
    position: relative;
    clear:both;
    width: 986px;
}
#footer .inner {
    width: 940px;
    margin: 0 auto;
    padding: 20px;
}

#footer a {
    color: #fff;
}

#copyright {
bottom: 13px;
color: #FFFFFF;
left: 22px;
position: absolute;
}
#logoGray {
  background: url("../img/logo-gray.png") no-repeat scroll center top transparent;
  height: 39px;
  position: absolute;
  right: 23px;
  top: 21px;
  width: 91px;
}

#pageMenu {
    background: url("../img/bg_pagemenu.png") no-repeat center top transparent;
    bottom: 38px;
    height: 36px;
    left: 23px;
    position: absolute;
    width: 940px;
}
#pageMenu ul {
    margin-top: 7px;
}
#pageMenu li {
    margin-left: 10px;
}
#pageMenu li a {
    color: #333;
    font-size: 16px;
}
#pageMenu li.current-menu-item a {
    color: #000;
    font-weight: bold;
}
#pageMenu .admin_login {
    float: right;
}

#content .inner {
    padding: 0 20px;
}

.par {
    padding-bottom: 20px;
}

h1.title {
    border-bottom: 2px solid #ccc;
    margin: 0 28px 20px;
    padding: 0 0 20px;
}

.container_12 h1.title {
    margin: 0 0 20px;
}

.box {
    background: #f5f5f5;
    padding: 20px;
    border: 1px solid #d6d6d6;
}


h2 {
    line-height: 30px;
}

.more {
    background: #aaa;
    color: #fff;
    margin-bottom: 20px;
    display: table;
    padding: 5px 10px;
    border-radius: 8px;
}

ol li {
    line-height: 22px;
}

 .copyright {
    color: #999999;
    font-size: 12px;
    padding-top: 35px;
    text-align: center;
}

/* form */
div.input label {
    margin-left: -140px;
    float: left;
}
button em {
    font-style: normal;
}
div.input, div.section.button {
    margin-bottom: 20px;
    padding-left: 140px;
}
label {
    font-weight: bold;
}
input.text, textarea.textarea, input.password {
    font-size: 14px;
    padding: 5px !important;
    background: url("../img/bg_input.png") repeat-x left top #F5F5F5 !important;
    border-color: #aaa !important;
}
button {
  background: url("../img/bt.png") no-repeat scroll left top !important;
  border: 0 none !important;
  color: #626262;
  margin-top: 0;
  outline: medium none;
  padding: 0 0 0 5px !important;
  overflow: visible;
}

button span {
  background: url("../img/bt.png") no-repeat right top !important;
  padding: 0 10px 1px 5px;
  line-height: 30px;
}
@-moz-document url-prefix() {
    button span {
    margin-top: -1px;
    }
}
.input div.options {
    display: table;
}
.input div.choice {
    float: left;
    margin-right: 30px;
}
.input .choice label {
    float: none;
    display: inline;
    line-height: 28px;
    margin: 0;
    vertical-align: middle;
    font-weight: normal;
}
.checkbox input[type="checkbox"], .radio input[type="radio"] {
  vertical-align: middle;
}
/* end form */

/* typography*/

div.wait {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../img/wait.gif) no-repeat center;
}

.gui_side_nav ul li a {
    display: inline-block !important;
}

table.dataGrid th {
    text-align: left;
    font-weight: bold;
}

table th.select, table td.select {
    text-align: center;
    width: 30px;
}

th, td {
    padding: 8px 10px;
}

table.data {
    border: none;
    margin-bottom: 10px !important;
}

table.dataGrid {
    border: 1px solid #ccc;
    border-bottom:0 none;
    margin-bottom: 0  !important;;
}

table.dataGrid td {
    background: #FFF;
    border-bottom: 1px solid #D0D0D0;
    border-top: 1px solid #FFFFFF;
    border-right: 1px solid #D0D0D0;
}

table.dataGrid td.right {
    text-align: right;
    float: none;
    margin: 0;
    width: auto;
}

table.dataGrid tr.current td, table.dataGrid tr.current td .detail {
    background: #fff;
}

table.dataGrid tr.current td .detail {
    border: 0 none;
}

table.dataGrid tr.current td .detail .inner-detail{
    margin-right: 250px;
}

table.data td {
    background: none;
    border: none;
    padding: 8px 0;
}

table.dataGrid th, table.dataGrid td {
    border-left: none;
}

table.data td.label {
    width: 120px;
    float: none;
}

table .label {
    font-weight: bold;
}

table {
    margin-bottom: 20px;
}

.msg {
    margin: 0 28px 20px    
}

.container_12 .msg {
    margin: 0 0 20px    
}

h4 {
    line-height: 24px;
}
h3 {
    margin-bottom: 20px;
}

p {
    margin-top: 0;
}

label {
    float: left;
}
/* end typography*/

/* widget */
.side .gui_widget {
background: #ddd;
border-radius: 8px 8px 8px 8px;
padding: 20px;
}
.gui_widget.promote {
    background: none repeat scroll 0 0 #EEEEEE;
    border: 1px solid #CCCCCC;
    border-radius: 8px 8px 8px 8px;
    height: 322px;
    overflow: hidden;
}
.search form input.text {
    margin-bottom: 10px;
}
/* end widget */

/* Object */

.pic .cover {
  background: url("../img/pic_cover.png") no-repeat center  ;
  display: block;
  height: 220px;
  position: relative;
  width: 220px;
}

.pic .cover .edit {
  background: #999;
  bottom: 8px;
  color: #fff;
  font-weight: bold;
  left: 7px;
  line-height: 30px;
  position: absolute;
  text-align: center;
  width: 205px;
  display: none;
}

.pic .avatar {
    background: url("../img/no_pic.png") no-repeat  center ;
    display: block;
    height: 205px;
    left: 7px;
    position: absolute;
    top: 7px;
    width: 205px;
}

.window {
    background: #fff;
    padding: 10px;
    border: 1px solid #a9a9a9;
    position: relative;
}
.window.overlay {
    position: absolute;
    display: none;
}
span.pointy {
    background: url("../img/pointy.png") no-repeat center center transparent;
    height: 22px;
    left: -11px;
    position: absolute;
    top: 20%;
    width: 11px;
}

.window .close {
    background: url("../img/window_close.png") no-repeat center center #FFFFFF;
    border-color: #A9A9A9 #A9A9A9 #A9A9A9 ;
    border-style: solid solid solid none;
    border-width: 1px 1px 1px 0;
    height: 24px;
    position: absolute;
    right: -25px;
    top: -1px;
    width: 24px;
}

#accountPhoto {
    display: inline-block;
}

.accountNewPhoto {
    left: 227px;
    position: absolute;
    top: 76px;
    width: 240px;
    z-index: 1;
    display: none;
}

.selectFile {
    position: relative;
    display: table;
    width: 100%;
}

.selectFile #fileupload {
    position: absolute;
    outline: none;
    opacity:0;
    filter: alpha(opacity=0);
    height: 30px;
    width: 100px;
    cursor: pointer;
    direction:ltr;
    top: 0;
    left: 0;
}
.selectFile a.upload {
    float: left;
}

.profile {
    position: relative;
}

.checking {
    background: url("../img/loading.gif") no-repeat scroll left center;
    padding-left: 26px;
    line-height: 30px;
    display: none;
}

#UserLoginForm .input.checkbox label {
    margin: 0;
}

#UserJoinForm .text {
    width: 250px;
}

.cart .dataGrid th {
    background: #fafafa !important;
}
.cart .dataGrid {
    margin-bottom: 20px;
}
.cart .order {
border: 1px solid #ddd;
border-radius: 8px;
margin-bottom: 20px;
}
.cart .quantity {
    width: 40px;
}
.cart .action {
    display: table;
    width: 320px;
    float: right;
}
.cart .option {
    float: left;
}
.cart .option a{
    color: #333;
    margin-right: 10px;
    padding: 5px 5px 5px 26px;
}
.cart .option .calculate {
    background: url(../img/calculator.png) no-repeat left center;
}
.cart .option .continue {
    background: url(../img/continue.png) no-repeat left center;
}
.cart .option .downloadQuo {
    background: url(../img/doc_pdf.png) no-repeat left center;
}
.cart .action .dataGrid {
    margin-bottom: 10px;
}
.cart .action .checkout {
    float: right;
}
.cart .action .checkout, .cart .action .checkout span {
    background-image: url(../img/bt_green.png) !important;
    color: #fff;
}
.cart .action .result {
}
.cart .action .result .txt {
    font-weight: bold;
}
.cart .action .result .val {
    text-align: right;
}
.checkout .step .title {
background: #ddd;
border-radius: 8px;
display: block;
font-weight: bold;
margin-bottom: 10px;
padding: 10px;
}
.checkout .step .content {
    padding-bottom: 20px;
}
.checkout .panel {
    margin-top: 20px;
}
/* end object */

.innerLeft {
    padding: 0 0 0 18px;
}

.innerRight {
    padding: 0 18px 0 0;
}

/* button */

a.button {
background: url("../img/bt.png") no-repeat scroll left top transparent;
color: #333333;
display: inline-table;
padding: 0 0 0 10px !important;
}

a.button span {
background: url("../img/bt.png") no-repeat scroll right top transparent;
display: table;
font-weight: bold;
line-height: 30px;
padding-right: 10px;
}

a.button span em {
    font-style: normal;
}

a.button.green {
    background-image: url("../img/bt_green.png");
    color: #f7ffbc;
}

a.button.green span {
    background-image: url("../img/bt_green.png");
    color: #fff;
}

a.button.blue {
    background-image: url("../img/bt_blue.png");
    color: #000;
}

a.button.blue span {
    background-image: url("../img/bt_blue.png");
}

a.button.orange {
    background-image: url("../img/bt_orange.png");
    color: #885522;
}

a.button.orange span {
    background-image: url("../img/bt_orange.png");
}
/* end button */


/*Layout*/
.panel {
    display: table;
    width: 100%;
}
.panel .one, .panel .two {
    width: 49%;
}
.panel .one {
    float: left;
}
.panel .two {
    float: right;
}

/*end Layout*/

/*modify ui*/
.tabs {
    border: 0 none;
    padding: 0;
}
.ui-tabs-nav {
    border-width: 0 0 1px 0;
    background: none;
    padding: 0 !important;
    border-color: #ccc;
}
.ui-tabs .ui-tabs-panel {
    padding: 20px 0;
}
.ui-tabs .ui-tabs-nav li {
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    font-weight: bold;
    border-color: #ccc;
    margin-right: 5px;
}
.ui-widget-content {
    background: none;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected {
    background: #f1f1f1;
}
/*end modify ui*/


/*paging*/

.paging {
    border: 1px solid #ccc;
    border-radius: 8px;
    display: table;
    margin: 0 0 -5px;
    padding: 7px;
}
.paging ul li a {
    display: block;
    line-height: 20px;
    margin: 0;
    padding: 0;
    text-align: center;
    margin: 0 3px;
}
.gui_pagination .disabled {
    display: none;
}
.gui_pagination li a {
    width: 16px;
}
.gui_pagination li.first {
    background: url(../img/icons/16/resultset_first.png) no-repeat center;
    text-indent: -10000px;
}
.gui_pagination li.last {
    background: url(../img/icons/16/resultset_last.png) no-repeat center;
    text-indent: -10000px;
}
.gui_pagination li.next {
    background: url(../img/icons/16/resultset_next.png) no-repeat center;
    text-indent: -10000px;
}
.gui_pagination li.previous {
    background: url(../img/icons/16/resultset_previous.png) no-repeat center;
    text-indent: -10000px;
}
.gui_pagination li.current {
    text-align: center;
    margin: 3px 5px !important;
    line-height: 14px;
}
.gui_pagination  {
    margin: 0;
    padding: 0;
}
.gui_pagination li {
    list-style: none;
    float: left;
}
.gui_pagination li a {
    border: none;
    padding: 4px;
}

/*end paging*/

/*currency */
.currency {
    display: inline;
}
.currency select {
    background: #2F353E;
    border: 0 none;
    color: #fff;
}
/*end currency */

/*contact form*/

.sending {
    background: url("../img/sending.gif") no-repeat scroll left center transparent;
    line-height: 20px;
    padding-left: 20px;
    display: none;
}

#contactForm .success-box {
    display: none;
    margin: 0 68px 20px 0;
}

#captchaPic {
    float: left;
    margin-right: 10px;
}

/*end contact form*/

/*from*/
.input.checkbox label {
    margin-left: 0;
}
/*end form*/

/*checkout*/
.checkout .step .content {
    display: none;
}
.checkout .step.current .content {
    display: block;
}
/*end checkout*/

/*gui_widget catalog*/
.gui_vertical_nav ul {
    padding: 0;
    margin: 0;
}
.gui_vertical_nav ul li {
    list-style: none;
}
.gui_vertical_nav a {
    display: block;
    line-height: 16px;
    border-bottom: 1px solid #fff;
    padding: 8px 0;
}
.gui_vertical_nav ul li {
    position: relative;
}
.gui_vertical_nav li ul {
    background: #fff;
    border: 1px #ccc solid;
    display: none;
    position: absolute;
    left: 170px;
    top: 5px;
    z-index: 1;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 1px 0px #ccc;
}
.gui_vertical_nav ul ul li {
    width:180px;
    border-bottom: 1px solid #ccc;
}
.gui_vertical_nav .hasChilds {
    background: url(../img/catalog_node.png) no-repeat right center;
}
/*end gui_widget catalog*/

/*gui_widget vdo*/
.gui_widget.vdo a {
position: relative;
    display: block;
}
.gui_widget.vdo a .play {
    position: absolute;
    top: 0;
    left: 0;
    width: 180px;
    height: 138px;
    background: url(../img/player_play.png) no-repeat center;
}
/*end gui_widget vdo*/

/*gui_widget recommendCatalog*/
.recommendCatalog.products .name {
    display: block;
    height: auto;
    font-weight: bold;
    line-height: 16px;
    margin-bottom: 10px;
}

.recommendCatalog.products .description  {
    height: 58px;
    display: block;
}

/*end gui_widget recommendCatalog*/