@CHARSET "UTF-8";
@import url('THSarabunPSK.css');
@import url('Circular.css');
@import url('EDPenSook.css');
@import url('general.css');
@import url('Supermarket.css');

html{
    margin: 0px;
    width: 100%;
    height: 100%;
}
body{
    margin: 0px;
    width: 100%;
    height: 100%;
    font-family: tahoma !important;
    font-family: THSarabunPSKBold !important;
    line-height: 90% !important;
    background-color: #fff !important;
    font-size: 20px !important;
}
pre{
    margin: 0px;
}
div#footerDIV a:link, div#footerDIV a:active, div#footerDIV a:visited { text-decoration: none; color: #fff; }
.noSpacing{
    border-spacing: 0;
    border-collapse: collapse;
}

h1, h2, h3{
    padding: 0px;
    margin: 5px;
}
table.table_menu{
    background: none;
    border: none;
    margin: 0px !important;
    padding: 0px !important;
}
td#menu_home{
    text-align: center;
    width: 40px;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 3px #222; 
    /*font-family: tpqiFont;
    letter-spacing: 2px;*/
}
td#menu_home:hover{
    text-shadow: 0px 0px 3px #fff;
}

.table_01{
    background-color: #fff;
    box-shadow: 1px 1px 3px #888;
    /*border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;*/
    border: none;
}
.table_header, .table_subHeader, .table_header2{
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
}
.table_subHeader{
    background-color: #FFE7E7;
}
.table_topRadius{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.table_bottomRadius{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.table_keyFunction{
    background-color: #FFE7E7;
    background-image: url('../images/keyFunction.png');
    background-position: bottom right;
    background-repeat: no-repeat;
}
.table_header{
    background-color: #6e0505;
    color: #fff;
}

.table_header2{
    background-color: #DBB3B3;
    color: #000;
}

.table_footer{
	
}

td.table_footer{
    background-color: #6e0505;
    height: 10px;
    color: #fff;
    padding-left: 10px;
    padding-right: 10px;
}

td.table_footer:first-child{
    border-bottom-left-radius: 5px;
}
td.table_footer:last-child{
    border-bottom-right-radius: 5px;
}

table.table_01 th{
    background-color: #6e0505;
    color: #fff;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
}

table.table_01 tr:first-child th:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 0px !important;
}

table.table_01 tr:first-child th:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 0px !important;
}

table.table_01 tr:last-child th:first-child{
    border-bottom-left-radius: 5px;
}

table.table_01 tr:last-child th:last-child{
    border-bottom-right-radius: 5px;
}

.form_footer{
    text-align: right;
}
.form_field{
    text-align: right;
    color: #660A0A;
}
.form_input{
}


.border_solid{
    border: solid 1px #aaa;
}
.right_solid{
    border-right: solid;
    border-right-width: 1px;
    border-right-color: #aaa;
}
.left_solid{
    border-left: solid;
    border-left-width: 1px;
    border-left-color: #aaa;
}
.top_solid{
    border-top: solid;
    border-top-width: 1px;
    border-top-color: #aaa;
}
.bottom_solid{
    border-bottom: solid;
    border-bottom-width: 1px;
    border-bottom-color: #aaa;
}

.border_dash{
    border: dashed 1px #aaa;
}
.right_dashed{
    border-right: dashed;
    border-right-width: 1px;
    border-right-color: #aaa;
}
.left_dashed{
    border-left: dashed;
    border-left-width: 1px;
    border-left-color: #aaa;
}
.top_dashed{
    border-top: dashed;
    border-top-width: 1px;
    border-top-color: #aaa;
}
.bottom_dashed{
    border-bottom: dashed;
    border-bottom-width: 1px;
    border-bottom-color: #aaa;
}


th.title
{
    width: 15px;
    height: 100px;
    vertical-align: bottom;
    font-weight: normal;
    white-space: nowrap;
}
th.rotateTitle
{
    width: 15px;
    height: 100px;
    vertical-align: bottom;
    font-weight: normal;
    white-space: nowrap;
}
th.title > div {
   position: relative; 
}
th.rotateTitle > div {
   position: relative; 
}
th.title >div > div{
	position: absolute; 
   bottom: 0;
   -webkit-transform: rotate(-90deg);
   -ms-transform: rotate(-90deg);
   transform: rotate(-90deg);
   -webkit-transform-origin: 0 100%;
   -ms-transform-origin: 0 100%;
   transform-origin: 0 100%;
   left: 2.1em;
}

th.rotateTitle >div > div{
	position: absolute; 
   bottom: 0;
   -webkit-transform: rotate(-90deg);
   -ms-transform: rotate(-90deg);
   transform: rotate(-90deg);
   -webkit-transform-origin: 0 100%;
   -ms-transform-origin: 0 100%;
   transform-origin: 0 100%;
   left: 3.1em;
}
td.rotateTitlex
{
    width: 15px;
    height: 100px;
    vertical-align: bottom;
    font-weight: normal;
    white-space: nowrap;
}
td.rotateTitlex > div {
   position: relative; 
}
td.rotateTitlex >div > div{
	position: absolute; 
   bottom: 0;
 
   -webkit-transform: rotate(-90deg);
   -ms-transform: rotate(-90deg);
   transform: rotate(-90deg);
   -webkit-transform-origin: 0 100%;
   -ms-transform-origin: 0 100%;
   transform-origin: 0 100%;
   left: 2.1em;
}
.version{
	color: #fff;
	font-size: 14px;
	text-align: right;
}
.mouseOver:hover{
    background-color: rgb(111, 217, 251) !important;
}
.pointer:hover{
    cursor: pointer;
}


.inputForm input[type=text], .inputForm textarea, .inputForm input[type=email], .inputForm input[type=password]{
	border: 1px solid #aaa;
}
.inputForm td.form_field{
	padding-right: 5px;
	vertical-align: top;
}
.inputForm td.form_catName{
	font-weight: bold;
}

table{
    border-spacing:0;
    border-collapse:collapse;
}

.table_header{
    padding-left: 5px;
    padding-right: 5px;
}	
.table_header_leftRadius{
    border-top-left-radius: 5px;
}
.table_header_rightRadius{
    border-top-right-radius: 5px;
}
.table_01, .table_topRadius{
    border-top-left-radius: 5px !important;
        border-top-right-radius: 5px !important;
}
.table_01, .subMenu{
    border-bottom-left-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}
.statusText{
    color: #f00;
    padding-left: 10px;
}
.warningBG{
    background-color: rgb(255, 226, 226);
}
.contentWidth{
	max-width: 980px;
}