@import url(../fonts/ptsans/stylesheet.css);
@import url(../fonts/th_sarabun_new/stylesheet.css);
@import url(../fonts/thaisans/stylesheet.css);

/* Normalize */
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary {
  display: block;
  padding: 0;
  margin: 0;
}

audio,canvas,video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

html {
  -webkit-text-size-adjust: 100%; 
  -ms-text-size-adjust: 100%;
}

td:hover { cursor:default; }

body {
  margin: 0;
  padding: 0;
  background: #fff;
  position: relative;
  min-width: 950px;
}

body, select, input, textarea {
	color: #494949;
  font-size: 15px;  

  vertical-align:middle !important;
	font-family: 'Sarabun', Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;

	margin: 10px 0 15px;
	padding: 0;
	font-family:  'PT Sans','Sarabun', Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}
h1 {
	font-size: 22px;
	font-weight: bold;
	text-transform: uppercase;
}
h2 {
	font-size: 22px;
}
h3 {
	font-size: 1.3em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
h6 {
	font-size: 1em;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
}
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
	color: #ff3366;
}
address {
	font-style: normal;
	font-size: 1.1em;
	padding: 5px 0;
	margin: 0 0 30px;
}

p {
	clear: both;
	padding: 0;
	margin: 0 0 10px;
}

a {
	color: #222;
	text-decoration: none;
}
a:hover,
a:active {
	color: #000;
	text-decoration: none;
	background: none;
	outline: none;
}

a:active,a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

code,kbd,pre,samp {
  font-family: monospace, serif;
  font-size: 1em;
}

pre {
  white-space: pre-wrap;
}

q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}

small, .small {
  font-size: 85%;
  line-height: 1.3em;
}
.vsmall {
	font-size: 75%;
}

sub,sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0; 
  padding: 0; 
}

button,input,select,textarea {
  font-size:100%; 
  margin: 0;
  /*line-height:17px !important;*/
  vertical-align:middle !important;
}

button,input {
  line-height: normal;
}

button,select {
  text-transform: none;
}

button,html input[type="button"], 
input[type="reset"],input[type="submit"] {
  -webkit-appearance: button; 
  cursor: pointer; 
}

button[disabled],html input[disabled] {
  cursor: default;
}

input[type="checkbox"],input[type="radio"] {
  box-sizing: border-box; 
  padding: 0; 
}

input[type="search"] {
  -webkit-appearance: textfield; 
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; 
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  line-height:17px !important;
  vertical-align: middle !important; 
}


table {
  border-collapse: collapse;
  border-spacing: 0;
  padding: 0;
 /* margin: 10px 0;*/
  line-height: 1.2em;
 /* border: 1px solid #666666; */
}
thead th {
	font-weight: bold;
	line-height: 40px;
	padding-top:10px;
}
th strong {
	font-size: 1.4em;
}
th, td {
  /*  border: 1px solid #666666; 
	text-align: center;  
	padding: 5px 3px;*/
}
th {
	padding: 4px 10px 5px 10px;
}
td {
	line-height: 18px;
/*	border-bottom: 1px solid #666666; */
	vertical-align: top;
}


td img {
	vertical-align: middle;
	margin: 0 0 3px;
}

dl {
	clear: both;
	overflow: hidden;
	margin: 0 0 20px;
}
dt {
	float: left;
	width: 40%;
	clear: both;
	padding: 0 0 6px;
	margin: 0;
}
dt strong {
	font-weight: normal;
	font-size: 1.02em;
	color: #000;
}
dd {
	padding: 0 0 6px;
	margin: 0;
	float: left;
	width: 60%;
}
dd strong {
	font-weight: normal;
	font-size: 1.1em;
	color: #f36522;
}
hr {
	clear: both;
	height: 0;
	border: none;
	border-top: 1px dashed #666666;
	display: block;
	padding: 0;
	margin: 0 0 15px;
}

.line_hr { margin:40px 0 0 0; padding:40px 0 0 0; border-top:1px dashed #666; }

/* End Normalize */

/* Layout Elements */
html, body {
	margin:0; padding:0;
	height: 100%;
}
#wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
}
#main-body {
	padding-bottom: 100px;
}
#main-body-popup {
	padding-bottom: 5px;
}
#main-header {
	width:1280px;
	background:url(../img/color-ribbon.gif) repeat-x center bottom /*#f8f8f8*/;
	background-size:auto;
	padding: 20px 0;
	margin: 0 auto 20px auto;
}
#main-logo {
	float: left;
	width: 190px;
	padding: 0 0 0 10px;
}
#header-info {
	height: 80px;
	margin: 5px 0 0 12px;
	padding: 0 0 0 18px;
	width: 240px;
	float: left;
	border-left: 1px solid #bbc8d7;
	font-size: 13px;
	line-height: 20px;
	color: #000;
	text-transform: uppercase;
	font-family:  'Thai Sans', Helvetica, Arial, sans-serif;
}
#header-menu {
	float: right;
	clear: none;
	width: 530px;
	margin: 0;
	padding: 18px 0 0 0;
	position: relative;
	font-family: sans-serif;
}
#header-menu a {
	color: #999;
}
#header-menu a:hover {
	color: #333;
}
#header-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 10px;
	line-height: 10px;
	text-transform: uppercase;
}
#header-menu li {
	float: left;
	/*width:100px;*/
	white-space: nowrap;
	margin: 0 0 5px 15px;
}
#header-menu li:first-child {
	border-left: none;
}
#header-menu img {
	float: left;
	margin: -1px 5px 0 10px;
}


#main-footer {
	width:1280px;
	background: url(../img/color-ribbon.gif) repeat-x center top;
	padding: 22px 0 8px 0;
	height: 65px;
	margin: -95px auto 0 auto;
	font-size: 12px;
	font-family: sans-serif;
	color: #666666;
}
#main-footer h3 {
	padding: 0;
	margin: 0;
}
#main-footer p {
	padding: 0;
	margin: 0;
}

/* Shared Layout */
.box {
	border: 8px solid #e7e7e7;
	background: #efefef;
	padding: 1px;
	margin:0 0 20px 0;
	
}
.box-header {
	margin: 0;
	border: 1px solid #fff;
	padding: 0 0 0;
	border-width: 12px 15px 0;
	font-size: 24px;
	text-transform: uppercase;
	background: #fff;
}
.box-header-color {
	background: #fff url(../img/color-ribbon-small-fade.gif) repeat-x bottom;
}
.box-content {
	padding: 13px;
	background: #fff;
}
.box-nav {
	background: #fff;
	padding: 0;
	margin: 0;
	list-style: none;
	overflow: hidden;
}
.box-nav li {
	width: 33%;
	display: block;
	float: left;
	margin: 0 0 0 -1px;
	padding: 30px 0;
}
.box-nav a {
	border-left: 1px dotted #c2c2c2;
	display: block;
	height: 70px;
	line-height: 70px;
	font-size: 22px;
	text-align: center;
	font-weight: bold;
	color: #ccc;
}
.box-nav a:hover {
	color: #999;
}
.box-nav li.active {
	background: #fff url(../img/color-ribbon-small.gif) repeat-x center bottom;
	/*width: 33%;*/
}
.box-big-nav li,
.box-big-nav li.active {
	width: 50%;
}
.box-nav li.active a {
	color: #000;
}

.box-big-nav li {
	/*background: #fff url(../img/color-ribbon-mid-fade.gif) repeat-x left bottom;*/
}
.box-big-nav li.active {
	background: #fff url(../img/color-ribbon-mid.gif) repeat-x left bottom;
}



/* Shared Layout Elements */
.text-right {
	text-align: right;
}
.text-left {
	text-align: left;
}
.text-center {
	text-align: center;
}
.fl-left {
	float: left;
}
.fl-right {
	float: right;
}
.clear {
	clear: both !important;
}

/* Form */
.avatar-holder {
	border: 4px solid #999;
	border-radius: 3px;
	background: #e6e6e6;
	width: 192px;
	height: 280px;
	margin:0 0 10px 0;
	font-weight: bold;
	font-size: 14px;
}
table input[type=text] {
	width: 50px;
	text-align: center;
	line-height:17px !important;
	vertical-align:middle !important;
}

.standard-form .row {
	padding: 0 0 20px;
	clear: both;
}
.standard-form .row-close {
	padding: 0 0 10px;
}
.standard-form .row-vclose {
	padding: 0 0 0;
}
.standard-form label {
	display: inline-block;
	*display: inline;
	font-weight: bold;
	padding: 8px 0 0 0;
}
.standard-form .asterik {
	color: #ff0000;
	position: absolute;
	font-size: 20px;
	top: 5px;
	right: -15px;
}
.standard-form .offscreen {
	position: absolute;
	top: 0;
	right: -20px;
}
.standard-form select {
	min-width: 90px;
}
.standard-form .input-inline label {
	padding-right: 6%;
}
.form-buttons {
	text-align: right;
	padding: 20px 0 30px 0;
	clear: both;
}
.form-remark {
	color: #ff0000;
	padding: 0 30px 0 0;
}

.fileWrapper {
	position: relative;
	width: 100%;
	cursor: pointer;
	overflow: hidden;
	zoom: 1;
}
/*.fileWrapper input[type=file] {
	cursor: pointer;
}*/
.fileInputText {
	width: 70% !important;
	position: relative;
	z-index: 1;
	float: left;
	text-align:left;
}
.fileInputButton {
	float: left;
	width: 30% !important;
	border: none;
	background: #CCCCCC;
	height: 32px;
	color: #000000;
	font-weight: bold;
	font-size: 14px;
	border: 1px solid #000000;
	box-shadow: none;
	/*position: relative;*/
	z-index: 1;
}
label.arrow {
	background: transparent url(../img/label-arrow.png) no-repeat 40px center;
	padding-left: 65px;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
	min-height: 32px;
	padding:0 10px !important;
	margin:0 !important;
	font-size: 15px;
	line-height:17px !important;
	color:#000000;
	background: #D8D8D8;
	border: 1px solid #000000;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	box-shadow: none;
	vertical-align:middle !important;
}
textarea {
	height: 50px;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
		  
		  vertical-align:middle !important;
		  line-height:17px !important;
}



input.datepicker {
	background: #D8D8D8	url(../img/calendar.png) no-repeat right center;
}
input.require_fix {
	background: #D8D8D8 url(../img/bg-line-alert.gif) no-repeat right center;
}

input.table-input {
/*	margin: 0 2%; */
	/*width: 100%;*/
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Buttons */
.button_reset {
  display: inline-block;
  *display: inline;
  padding: 14px 15px 10px 15px;
  margin-bottom: 0;
  *margin-left: .5em;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  *border: 0;
  *zoom: 1;
  border: none;
  font-family: Sarabun, sans-serif;
  font-size: 18px;
  line-height: 18px;
  color: #999;
  box-shadow: none;
}
.button_reset:hover { color:#777; }

.button {
  display: inline-block;
  *display: inline;
  padding: 14px 15px 12px 15px;
  margin-bottom: 0;
  *margin-left: .5em;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  *border: 0;
  *zoom: 1;
  border: none;
  font-family: Sarabun, sans-serif;
  font-size: 18px;
  line-height: 18px;
  background: #ec1992;
  color: #fff;
  box-shadow: none;
}
.button:hover,
.button:active {
	
	color: #fff;
	outline: none;
}
.button img {
	display: inline-block;
	margin: -5px 0  0 0;
	vertical-align: middle;
}
.button-disabled,
.button-disabled:hover {
	background: #f691a7;
}

.button-purple {
	background: #9dd72a;
}

.button-yellow {
	background: #f9bb0a;
}

.button-blue {
	background: #0a97ff;
}

/* Grid */
.section {
	width:1280px;
	margin: 0 auto;
}
.section-popup {
	width: 700px;
	margin: 0 auto;
}
.clearfix,
.section {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after,
.section:before,
.section:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after,
.section:after {
  clear: both;
}
.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.input-block-level {
  display: block;
  width: 100%;
  background: #D8D8D8;
  border: 1px solid #000000;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align:middle !important;
  line-height:17px !important;
  
}

.row {
  width: 100%;
}
.row:before,
.row:after {
  display: table;
  content: "";
  line-height: 0;
}
.row:after {
  clear: both;
}
.row [class*="span"] {
  display: block;
  width: 100%;
  min-height: 25px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  margin-left: 2.127659574468085%;
  *margin-left: 2.074468085106383%;
}
.row [class*="span"]:first-child {
  margin-left: 0;
}
.row .controls-row [class*="span"] + [class*="span"] {
  margin-left: 2.127659574468085%;
}
.row .span12 {
  width: 100%;
  *width: 99.94680851063829%;
  position: relative;
}
.row .span11 {
  width: 91.48936170212765%;
  *width: 91.43617021276594%;
  position: relative;
}
.row .span10 {
  width: 82.97872340425532%;
  *width: 82.92553191489361%;
  position: relative;
}
.row .span9 {
  width: 74.46808510638297%;
  *width: 74.41489361702126%;
  position: relative;
}
.row .span8 {
  width: 65.95744680851064%;
  *width: 65.90425531914893%;
  position: relative;
}
.row .span7 {
  width: 57.44680851063829%;
  *width: 57.39361702127659%;
  position: relative;
  line-height:18px;
  padding-top:2px;
}
.row .span6 {
  width: 48.93617021276595%;
  *width: 48.88297872340425%;
  position: relative;
}
.row .span5 {
  width: 40.42553191489362%;
  *width: 40.37234042553192%;
  position: relative;
}
.row .span4 {
  width: 31.914893617021278%;
  *width: 31%;
}
.row .span3 {
  width: 23.404255319148934%;
  *width: 23.351063829787233%;
  position: relative;
}
.row .span2 {
  width: 14.893617021276595%;
  *width: 14.840425531914894%;
  position: relative;
}
.row .span1 {
	width:58px;
  position: relative;
}
.row .offset12 {
  margin-left: 104.25531914893617%;
  *margin-left: 104.14893617021275%;
}
.row .offset12:first-child {
  margin-left: 102.12765957446808%;
  *margin-left: 102.02127659574467%;
}
.row .offset11 {
  margin-left: 95.74468085106382%;
  *margin-left: 95.6382978723404%;
}
.row .offset11:first-child {
  margin-left: 93.61702127659574%;
  *margin-left: 93.51063829787232%;
}
.row .offset10 {
  margin-left: 87.23404255319149%;
  *margin-left: 87.12765957446807%;
}
.row .offset10:first-child {
  margin-left: 85.1063829787234%;
  *margin-left: 84.99999999999999%;
}
.row .offset9 {
  margin-left: 78.72340425531914%;
  *margin-left: 78.61702127659572%;
}
.row .offset9:first-child {
  margin-left: 76.59574468085106%;
  *margin-left: 76.48936170212764%;
}
.row .offset8 {
  margin-left: 70.2127659574468%;
  *margin-left: 70.10638297872339%;
}
.row .offset8:first-child {
  margin-left: 68.08510638297872%;
  *margin-left: 67.9787234042553%;
}
.row .offset7 {
  margin-left: 61.70212765957446%;
  *margin-left: 61.59574468085106%;
}
.row .offset7:first-child {
  margin-left: 59.574468085106375%;
  *margin-left: 59.46808510638297%;
}
.row .offset6 {
  margin-left: 53.191489361702125%;
  *margin-left: 53.085106382978715%;
}
.row .offset6:first-child {
  margin-left: 51.063829787234035%;
  *margin-left: 50.95744680851063%;
}
.row .offset5 {
  margin-left: 44.68085106382979%;
  *margin-left: 44.57446808510638%;
}
.row .offset5:first-child {
  margin-left: 42.5531914893617%;
  *margin-left: 42.4468085106383%;
}
.row .offset4 {
  margin-left: 36.170212765957444%;
  *margin-left: 36.06382978723405%;
}
.row .offset4:first-child {
  margin-left: 34.04255319148936%;
  *margin-left: 33.93617021276596%;
}
.row .offset3 {
  margin-left: 27.659574468085104%;
  *margin-left: 27.5531914893617%;
}
.row .offset3:first-child {
  margin-left: 25.53191489361702%;
  *margin-left: 25.425531914893618%;
}
.row .offset2 {
  margin-left: 19.148936170212764%;
  *margin-left: 19.04255319148936%;
}
.row .offset2:first-child {
  margin-left: 17.02127659574468%;
  *margin-left: 16.914893617021278%;
}
.row .offset1 {
  margin-left: 10.638297872340425%;
  *margin-left: 10.53191489361702%;
}
.row .offset1:first-child {
  margin-left: 8.51063829787234%;
  *margin-left: 8.404255319148938%;
}
[class*="span"].hide,
.row [class*="span"].hide {
  display: none;
}
[class*="span"].pull-right,
.row [class*="span"].pull-right {
  float: right;
}

.txt_width { width:230px; display:block;}
.txt_width_two { width:110px; display:block; padding:0 0  0 10px}
.txt_width_three { width:100px;}

h1.txthead { font-size:30px; color:#0796fe}

hr.line_pad { margin:20px 0 35px 0}

#header-datetime a:hover { text-decoration:underline; }