/* FONT STACK */
body,
input, select, textarea {
	font-family: Anuphan,"HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;

}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.1;
}

/* BASE LAYOUT */

html {
    /*
	background-color: #fff;
	background-image: -moz-linear-gradient(center top, #eee, #fff);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #eee), color-stop(1, #fff));
	background-image: linear-gradient(top, #eee, #fff);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#eeeeee', EndColorStr = '#ffffff');
	background-repeat: no-repeat;
	*/
	/* background: #cccccc url(../images/background.jpg) no-repeat center center fixed; */
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;

	height: 100%;


	/* change the box model to exclude the padding from the calculation of 100% height (IE8+) */
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

html.no-cssgradients {
	background-color: #ffffff;
}

.ie6 html {
	height: 100%;
}

html * {
	margin: 0;
}

body {
    /*background: #F4F3F3 ;*/
    color: #333;
    font: 11px verdana, arial, helvetica,Anuphan, sans-serif;
	height:100%;
/*
	background-color: #F4F3F3;
	background-image: -moz-linear-gradient(center top, #F4F3F3, #ddd);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #F4F3F3), color-stop(1, #ddd));
	background-image: linear-gradient(top, #F4F3F3, #ddd);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#F4F3F3', EndColorStr = '#dddddd');
	background-repeat: no-repeat;
	*/

/*
	background: #ffffff;
	color: #333333;
	margin: 0 auto;
	max-width: 960px;
	overflow-x: hidden; 
	   -moz-box-shadow: 0 0 0.3em #255b17;
	-webkit-box-shadow: 0 0 0.3em #255b17;
	        box-shadow: 0 0 0.3em #255b17;
			*/
}

@media print {
    body,
    input, select, textarea {
        font-family: 'THSarabunNew',Anuphan, sans-serif;
    }
}

#grailsLogo {
	background-color: #abbf78;
}

/* replace with .no-boxshadow body if you have modernizr available */
.ie6 body,
.ie7 body,
.ie8 body {
	border-color: #255b17;
	border-style: solid;
	border-width: 0 1px;
}

.ie6 body {
	height: 100%;
}

a:link, a:visited, a:hover {
	color: #48802c;
	text-decoration:none;
}

a:hover, a:active {
	outline: none; /* prevents outline in webkit on active links but retains it for tab focus */
}
h2 {
	color: #104E8B;
	font-weight: normal;
	font-size: 1.5em;
	/*margin: 0.8em 0 0.3em 0;*/
}

h1 {
	color: #104E8B;
	font-weight: normal;
	font-size: 2em;
	/*margin: 0.8em 0 0.3em 0;*/
}
.h1_title{
	color: #666666;
	font-weight: normal;
	font-size: 1.5em;
	margin: 0;
	padding: 0 1em;
	/*background:#f0f0f0;*/
	/*border-top:1px solid #ddd;*/
	background-color: #f0f0f0;
	background-image: -moz-linear-gradient(center top, #f0f0f0, #ddd);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f0f0f0), color-stop(1, #ddd));
	background-image: linear-gradient(top, #f0f0f0, #ddd);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#f0f0f0', EndColorStr = '#dddddd');
	background-repeat: no-repeat;

	-webkit-box-shadow: 0px 2px 2px #aaaaaa;
   -moz-box-shadow: 0px 2px 2px #aaaaaa;
        box-shadow: 0px 2px 2px #aaaaaa;
	line-height:2;
	height:32px;
	overflow:hidden;
}


ul {
	padding: 0;
}

img {
	border: 0;
}

/* GENERAL */

#grailsLogo a {
	display: inline-block;
	margin: 1em;
}



.content h1{
	/*border-bottom: 1px solid #CCCCCC;*/
	margin: 0;
	padding: 1em 0.75em;
-webkit-box-shadow: 0px 3px 3px #aaaaaa;
   -moz-box-shadow: 0px 3px 3px #aaaaaa;
        box-shadow: 0px 3px 3px #aaaaaa;
	background-color: #ffffff;
	background-image: -moz-linear-gradient(center top, #ffffff, #f0f0f0);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(1, #f0f0f0));
	background-image: linear-gradient(top, #ffffff, #f0f0f0);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#ffffff', EndColorStr = '#f0f0f0');
	background-repeat: no-repeat;
	/*font-weight:bold;*/
	text-shadow: 1px 1px white, -1px -1px #fff;
	z-index:2;
}

.scaffold-list h1 {
	border: none;
}
.scaffold-list ul {
    list-style: none;
	margin-top:10px;
}
.scaffold-list ul li{
    margin: 1.5em 1.2em 0;
    padding: 1em 0.8em;
    /*background: #fdf8f1;*/
    /*border-bottom: 1px solid #eee;*/
	border-left: 1px solid #eee;
	/*border-right: 1px solid #eee;*/
}
.scaffold-list ul li:hover{
    background: #fbf9dd;
}
.scaffold-list ul a{
    font-size: 14px;
}

.footer {
	background: #abbf78;
	color: #000;
	clear: both;
	font-size: 0.8em;
	margin-top: 1.5em;
	padding: 1em;
	min-height: 1em;
}

.footer a {
	color: #255b17;
}

.spinner {
	background: url(../images/spinner.gif) 50% 50% no-repeat transparent;
	height: 16px;
	width: 16px;
    padding: 0.5em;
    position: absolute;
    right: 0;
	top: 0;
	text-indent: -9999px;
}

/* NAVIGATION MENU */

.nav {
	background-color: #efefef;
	padding: 0.5em 0.75em;
	   -moz-box-shadow: 0 0 3px 1px #aaaaaa;
	-webkit-box-shadow: 0 0 3px 1px #aaaaaa;
	        box-shadow: 0 0 3px 1px #aaaaaa;
	zoom: 1;
}

.nav ul {
	overflow: hidden;
	padding-left: 0;
	zoom: 1;
}

.nav li {
	display: block;
	float: left;
	list-style-type: none;
	margin-right: 0.5em;
	padding: 0;
}

.nav a {
	color: #666666;
	display: block;
	padding: 0.25em 0.7em;
	text-decoration: none;
	   -moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
	        border-radius: 0.3em;
}

.nav a:active, .nav a:visited {
	color: #666666;
}

.nav a:focus, .nav a:hover {
	background-color: #999999;
	color: #ffffff;
	outline: none;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.no-borderradius .nav a:focus, .no-borderradius .nav a:hover {
	background-color: transparent;
	color: #444444;
	text-decoration: underline;
}

.nav a.home, .nav a.list, .nav a.create {
	background-position: 0.7em center;
	background-repeat: no-repeat;
	text-indent: 25px;
}

.nav a.home {
	background-image: url(../images/skin/house.png);
}

.nav a.list {
	background-image: url(../images/skin/database_table.png);
}

.nav a.create {
	background-image: url(../images/skin/database_add.png);
}

/* NAVIGATION MENU 2 */

.nav2 {
	position:relative;
	top:0;right:5px;
    padding: 0 0.75em;
	zoom: 1;
	z-index:2;
}

.nav2 ul {
	overflow: hidden;
	padding-left: 0;
	zoom: 1;
}

.nav2 li {
	display: block;
	float: right;
	list-style-type: none;
	margin-right: 0.5em;
	padding: 0;
}

.nav2 li a {
	display: block;
	padding: 0.35em 0.7em;
	text-decoration: none;
	   -moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
	        border-radius: 0.3em;
    background-color: #eee;
   -moz-box-shadow:    inset 0 1px 2px #555555;
   -webkit-box-shadow: inset 0 1px 2px #555555;
   box-shadow:         inset 0 1px 2px #555555;
    color: #555;
    /*text-shadow: 1px 1px white, -1px -1px #fff;*/
}

.nav2 li a:active, .nav2 li a:visited {
	color: #555;
}

.nav2 li a:focus, .nav2 li a:hover {
    background-color: #ddd;
	outline: none;
}

.no-borderradius .nav2 li a:focus, .no-borderradius .nav2 li a:hover {
	background-color: transparent;
	color: #fff;
	text-decoration: underline;
}

.nav2 li a.home, .nav2 li a.list, .nav2 li a.create, .nav2 li a.heart {
	background-position: 0.7em center;
	background-repeat: no-repeat;
	text-indent: 25px;
}

.nav2 li a.home {
	background-image: url(../images/skin/house.png);
}

.nav2 li a.list {
	background-image: url(../images/skin/database_table.png);
}

.nav2 li a.create {
	background-image: url(../images/skin/database_add.png);
}

/* CREATE/EDIT FORMS AND SHOW PAGES */

fieldset,
.property-list {
	margin: 0.6em 1.25em 0 0.1em;
	padding: 0.3em 1.8em 1.25em;
	position: relative;
	zoom: 1;
	border: none;
}

.property-list .fieldcontain {
	list-style: none;
	overflow: hidden;
	zoom: 1;
}

.fieldcontainhead {
	margin-bottom:  1em;
}

.fieldcontain {
	margin-top: 1em;
}

.fieldcontain label,
.fieldcontain .property-label {
	color: #666666;
	text-align: right;
	width: 25%;
}

.fieldcontain .property-label {
	float: left;
}

.fieldcontain .property-value {
	display: block;
	margin-left: 27%;
}

label {
	cursor: pointer;
	display: inline-block;
	margin: 0 0.25em 0 0;
}

input, select, textarea {
	background-color: #fcfcfc;
	border: 1px solid #cccccc;
	font-size: 1em;
	padding: 0.2em 0.4em;
}

select {
	padding: 0.2em 0.2em 0.2em 0;
}

select[multiple] {
	vertical-align: top;
}

textarea {
	width: 250px;
	height: 150px;
	overflow: auto; /* IE always renders vertical scrollbar without this */
	vertical-align: top;
}

input[type=checkbox], input[type=radio] {
	background-color: transparent;
	border: 0;
	padding: 0;
}

input:focus, select:focus, textarea:focus {
	background-color: #ffffff;
	border: 1px solid #eeeeee;
	outline: 0;
	   -moz-box-shadow: 0 0 0.5em #ffffff;
	-webkit-box-shadow: 0 0 0.5em #ffffff;
	        box-shadow: 0 0 0.5em #ffffff;
}

.required-indicator {
	color: #48802C;
	display: inline-block;
	font-weight: bold;
	margin-left: 0.3em;
	position: relative;
	top: 0.1em;
}

ul.one-to-many {
	display: inline-block;
	list-style-position: inside;
	vertical-align: top;
}

.ie6 ul.one-to-many, .ie7 ul.one-to-many {
	display: inline;
	zoom: 1;
}

ul.one-to-many li.add {
	list-style-type: none;
}

/* EMBEDDED PROPERTIES */

fieldset.embedded {
	background-color: transparent;
	border: 1px solid #CCCCCC;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
	   -moz-box-shadow: none;
	-webkit-box-shadow: none;
	        box-shadow: none;
}

fieldset.embedded legend {
	margin: 0 1em;
}

/* MESSAGES AND ERRORS */

.errors,
.message {
	font-size: 1em;
	line-height: 2;
	margin: 1em 2em;
    /*margin: 1em 0em;*/
	padding: 0.25em;
}

.message {
	background: #ECFFFF;
	border: 1px solid #b2d1ff;
	color: #006dba;
	   -moz-box-shadow: 0 0 0.25em #b2d1ff;
	-webkit-box-shadow: 0 0 0.25em #b2d1ff;
	        box-shadow: 0 0 0.25em #b2d1ff;
    display: none;
}

.errors {
	background: #fff3f3;
	border: 1px solid #ffaaaa;
	color: #cc0000;
	   -moz-box-shadow: 0 0 0.25em #ff8888;
	-webkit-box-shadow: 0 0 0.25em #ff8888;
	        box-shadow: 0 0 0.25em #ff8888;
}
.errors2 {
	font-size: 1em;
	line-height: 2;
	/*margin: 1em 2em;*/
    margin: 1em 0;
	padding: 0.25em;
	border: 1px solid #ffaaaa;
	color: #cc0000;
	   -moz-box-shadow: 0 0 0.25em #ff8888;
	-webkit-box-shadow: 0 0 0.25em #ff8888;
	        box-shadow: 0 0 0.25em #ff8888;
	background: #fff3f3 url(../images/skin/exclamation.png) 0.5em 50% no-repeat;
	text-indent: 2.2em;
}
.errors3 {
	font-size: 1em;
	line-height: 2;
	margin: 1em 2em;
	padding: 0.25em;
	border: 1px solid #ffaaaa;
	color: #cc0000;
	   -moz-box-shadow: 0 0 0.25em #ff8888;
	-webkit-box-shadow: 0 0 0.25em #ff8888;
	        box-shadow: 0 0 0.25em #ff8888;
	background: #fff3f3 url(../images/skin/exclamation.png) 0.5em 50% no-repeat;
	text-indent: 2.2em;
}

.errors ul,
.message {
	padding: 0;
}

.errors li {
	list-style: none;
	background: transparent url(../images/skin/exclamation.png) 0.5em 0.3em no-repeat;
	/*text-indent: 2.2em;*/
    padding-left:2.2em;
}

.message {
	background: #F9FFFF url(../images/skin/information.png) 0.5em 50% no-repeat;
	text-indent: 2.2em;
}

/* form fields with errors */

.error input, .error select, .error textarea {
	background: #fff3f3;
	border-color: #ffaaaa;
	color: #cc0000;
}

.error input:focus, .error select:focus, .error textarea:focus {
	   -moz-box-shadow: 0 0 0.5em #ffaaaa;
	-webkit-box-shadow: 0 0 0.5em #ffaaaa;
	        box-shadow: 0 0 0.5em #ffaaaa;
}

/* same effects for browsers that support HTML5 client-side validation (these have to be specified separately or IE will ignore the entire rule) */

input:invalid, select:invalid, textarea:invalid {
	background: #fff3f3;
	border-color: #ffaaaa;
	color: #cc0000;
}

input:invalid:focus, select:invalid:focus, textarea:invalid:focus {
	   -moz-box-shadow: 0 0 0.5em #ffaaaa;
	-webkit-box-shadow: 0 0 0.5em #ffaaaa;
	        box-shadow: 0 0 0.5em #ffaaaa;
}

/* TABLES */

table {
	border-top: 1px solid #DFDFDF;
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 1em;
}

tr {
	border: 0;
}
/*
tr>td:first-child, tr>th:first-child {
	padding-left: 1.25em;
}

tr>td:last-child, tr>th:last-child {
	padding-right: 1.25em;
}
*/
td, th {
	line-height: 1.5em;
	padding: 0.5em 0.6em;
	text-align: left;
	vertical-align: top;
}

th {
	background-color: #efefef;
	background-image: -moz-linear-gradient(top, #ffffff, #eaeaea);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(1, #eaeaea));
	    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#ffffff', EndColorStr = '#eaeaea');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#eaeaea')";
	color: #666666;
	font-weight: bold;
	line-height: 1.7em;
	padding: 0.2em 0.6em;
}

thead th {
	white-space: nowrap;
}

th a {
	display: block;
	text-decoration: none;
}

th a:link, th a:visited {
	color: #666666;
}

th a:hover, th a:focus {
	color: #333333;
}

th.sortable a {
	background-position: right;
	background-repeat: no-repeat;
	padding-right: 1.1em;
}

th.asc a {
	background-image: url(../images/skin/sorted_asc.gif);
}

th.desc a {
	background-image: url(../images/skin/sorted_desc.gif);
}

.odd {
    background: #f7f7f7;
}

.even {
    background: #ffffff;
}

tr:hover {
	/*
	background: #E1F2B6;
    background:#c5e8fa;
    background:#e9f2fb;
    */
    background-color: #c5e8fa;
    background-image: -moz-linear-gradient(top, #e9f2fb, #c5e8fa);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #e9f2fb), color-stop(1, #c5e8fa));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#e9f2fb', EndColorStr = '#c5e8fa');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#e9f2fb', EndColorStr='#c5e8fa')";
    background-repeat: no-repeat;
}

.hoverEl_blue:hover{
    background-color: #c5e8fa;
    background-image: -moz-linear-gradient(top, #e9f2fb, #c5e8fa);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #e9f2fb), color-stop(1, #c5e8fa));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#e9f2fb', EndColorStr = '#c5e8fa');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#e9f2fb', EndColorStr='#c5e8fa')";
    background-repeat: no-repeat;
}
.linear_bg_red{
    background-color: #FBD7D8;
    background-image: -moz-linear-gradient(top, #FCF0F1, #FBD7D8);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FCF0F1), color-stop(1, #FBD7D8));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#FCF0F1', EndColorStr = '#FBD7D8');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#FCF0F1', EndColorStr='#FBD7D8')";
    background-repeat: no-repeat;
}


.tr_heading{
    background-color: #efefef;
    background-image: -moz-linear-gradient(top, #ffffff, #eaeaea);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(1, #eaeaea));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#ffffff', EndColorStr = '#eaeaea');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#eaeaea')";
    color: #666666;
    font-weight: bold;
    line-height: 1.7em;
    padding: 0.2em 0.6em;
}

/* PAGINATION */
.beforePagination{
    position: relative;
    padding: 0.3em 0.2em;
    margin-top:1.8em;
    min-height: 15px;
}
.pagination {
    /* position: absolute; */
    bottom: 0;
    width: 100%;
	border-top: 0;
	margin: 0;
	padding: 0.3em 0em;
	margin-top: 15px;
	box-sizing: border-box; /* กันล้น */
	text-align: center;
	   -moz-box-shadow: 0 0 3px 1px #AAAAAA;
	-webkit-box-shadow: 0 0 3px 1px #AAAAAA;
	        box-shadow: 0 0 3px 1px #AAAAAA;
	background-color: #EFEFEF;
}



.pagination a,
.pagination .currentStep {
	color: #666666;
	display: inline-block;
	margin: 0 0.1em;
	padding: 0.25em 0.7em;
	text-decoration: none;
	   -moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
	        border-radius: 0.3em;
}

.pagination a:hover, .pagination a:focus,
.pagination .currentStep {
	background-color: #999999;
	color: #ffffff;
	outline: none;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.no-borderradius .pagination a:hover, .no-borderradius .pagination a:focus,
.no-borderradius .pagination .currentStep {
	background-color: transparent;
	color: #444444;
	text-decoration: underline;
}

/* ACTION BUTTONS */

.buttons {
	background-color: #efefef;
	overflow: hidden;
	padding: 0.3em;
	/*
	   -moz-box-shadow: 0 0 3px 1px #aaaaaa;
	-webkit-box-shadow: 0 0 3px 1px #aaaaaa;
	        box-shadow: 0 0 3px 1px #aaaaaa;
			*/
	margin: 0.1em 0 0 0;
	border: none;
}

.buttons input,
.buttons a {
	background-color: transparent;
	border: 0;
	color: #666666;
	cursor: pointer;
	display: inline-block;
	margin: 0 0.25em 0;
	overflow: visible;
	padding: 0.25em 0.7em;
	text-decoration: none;

	   -moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
	        border-radius: 0.3em;
}

.buttons input:hover, .buttons input:focus,
.buttons a:hover, .buttons a:focus {
	background-color: #999999;
	color: #ffffff;
	outline: none;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
	   -moz-box-shadow: none;
	-webkit-box-shadow: none;
	        box-shadow: none;
}

.buttonsRight {
	text-align:right;
	overflow: hidden;
	padding: 0.3em;
	margin: 0.1em 0 0 0;
	border: none;
}

.buttonsRight input,
.buttonsRight a {
	background-color: transparent;
	border: 1px solid #ccc;
	color: #666666;
	cursor: pointer;
	display: inline-block;
	margin: 0 0.25em 0;
	overflow: visible;
	padding: 0.25em 0.7em;
	text-decoration: none;

	   -moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
	        border-radius: 0.3em;
}

.buttonsRight input:hover, .buttonsRight input:focus,
.buttonsRight a:hover, .buttonsRight a:focus {
	background-color: #999999;
	color: #ffffff;
	outline: none;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
	   -moz-box-shadow: none;
	-webkit-box-shadow: none;
	        box-shadow: none;
}

.no-borderradius .buttons input:hover, .no-borderradius .buttons input:focus,
.no-borderradius .buttons a:hover, .no-borderradius .buttons a:focus {
	background-color: transparent;
	color: #444444;
	text-decoration: underline;
}

.buttons .delete, .buttons .edit, .buttons .save, .buttons .next, .buttons .previous, .buttons .cancel {
	background-position: 0.7em center;
	background-repeat: no-repeat;
	text-indent: 25px;
}

.ie6 .buttons input.delete, .ie6 .buttons input.edit, .ie6 .buttons input.save,
.ie7 .buttons input.delete, .ie7 .buttons input.edit, .ie7 .buttons input.save {
	padding-left: 36px;
}

.buttons .delete {
	background-image: url(../images/skin/database_delete.png);
}

.buttons .edit {
	background-image: url(../images/skin/database_edit.png);
}

.buttons .save {
	background-image: url(../images/skin/database_save.png);
}

.buttons .next {
	background-image: url(../images/skin/next.png);
}

.buttons .previous {
	background-image: url(../images/skin/previous.png);
}
.buttons .cancel {
    background-image: url(../images/skin/cancel.gif);
}

/* ACTION BUTTONS_1 */

.buttons_1 {
	background-color: #efefef;
	overflow: hidden;
	padding: 0.3em;
	/*
	   -moz-box-shadow: 0 0 3px 1px #aaaaaa;
	-webkit-box-shadow: 0 0 3px 1px #aaaaaa;
	        box-shadow: 0 0 3px 1px #aaaaaa;
			*/
	margin: 0.1em 0 0 0;
	border: none;
}

.buttons_1 input,
.buttons_1 a {
	background-color: transparent;
	border: 0;
	color: #666666;
	cursor: pointer;
	display: inline-block;
	margin: 0 0.25em 0;
	overflow: visible;
	padding: 0.25em 0.7em;
	text-decoration: none;

	   -moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
	        border-radius: 0.3em;
}

.buttons_1 input:hover, .buttons_1 input:focus,
.buttons_1 a:hover, .buttons_1 a:focus {
	background-color: #999999;
	color: #ffffff;
	outline: none;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
	   -moz-box-shadow: none;
	-webkit-box-shadow: none;
	        box-shadow: none;
}

.buttons_1Right {
	text-align:right;
	overflow: hidden;
	padding: 0.3em;
	margin: 0.1em 0 0 0;
	border: none;
}

.buttons_1Right input,
.buttons_1Right a {
	background-color: transparent;
	border: 1px solid #ccc;
	color: #666666;
	cursor: pointer;
	display: inline-block;
	margin: 0 0.25em 0;
	overflow: visible;
	padding: 0.25em 0.7em;
	text-decoration: none;

	   -moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
	        border-radius: 0.3em;
}

.buttons_1Right input:hover, .buttons_1Right input:focus,
.buttons_1Right a:hover, .buttons_1Right a:focus {
	background-color: #999999;
	color: #ffffff;
	outline: none;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
	   -moz-box-shadow: none;
	-webkit-box-shadow: none;
	        box-shadow: none;
}

.no-borderradius .buttons_1 input:hover, .no-borderradius .buttons_1 input:focus,
.no-borderradius .buttons_1 a:hover, .no-borderradius .buttons_1 a:focus {
	background-color: transparent;
	color: #444444;
	text-decoration: underline;
}

.buttons_1 .delete, .buttons_1 .edit, .buttons_1 .save, .buttons_1 .next, .buttons_1 .previous, .buttons_1 .cancel {
	background-position: 0.7em center;
	background-repeat: no-repeat;
	text-indent: 25px;
}

.ie6 .buttons_1 input.delete, .ie6 .buttons_1 input.edit, .ie6 .buttons_1 input.save,
.ie7 .buttons_1 input.delete, .ie7 .buttons_1 input.edit, .ie7 .buttons_1 input.save {
	padding-left: 36px;
}

.buttons_1 .delete {
	background-image: url(../images/skin/database_delete.png);
}

.buttons_1 .edit {
	background-image: url(../images/skin/database_edit.png);
}

.buttons_1 .save {
	background-image: url(../images/skin/database_save.png);
}

.buttons_1 .next {
	background-image: url(../images/skin/next.png);
}

.buttons_1 .previous {
	background-image: url(../images/skin/previous.png);
}
.buttons_1 .cancel {
    background-image: url(../images/skin/cancel.gif);
}

a.skip {
	position: absolute;
	left: -9999px;
}

/*  My CSS  */
.main_data{
	border:1px solid #ccc;
	background:#f0f0f0;
}
.pr_login{
	padding:0 25px 25px 25px;
	font-size:13px;
	color:red;
}
/* View SCROLLABLE */
.vs_button{
	/*padding:0 5px 25px 25px;*/
	font-size:15px;
}

.vs{
	padding:0 5px 25px 25px;
	font-size:13px;
}

.vs .sub_name {
    padding-left:10px;
}

.vs .sub_alert {
    padding-left:10px;
    color:red;
}

.vs .show_name {
    padding-left:5px;
    color:#228B22;
    text-decoration:underline;
}

.vs .show_details {
    color:#228B22;
    text-decoration:underline;
}

.vs .show_other {
    color:#228B22;
    text-decoration:underline;
}

.vs .div_itemlist{
	padding:5px;
	margin-bottom:5px;
}
.vs .div_itemlist:hover{
	background-color:#fdddbb;
}
.vs .div_itemlist span{
	color:#904b01;
	font-size:12px;
}
.vs .div_itemlist .text_soft{
	color:#08435f;
	font-size:12px;
}

/* TABLE */
.vs table {
     border: 0px;
	 margin-top: 1em;
	 margin-bottom: 3em;
}
.vs tr .td_name{
	width:20%;
    padding-top:3px;
    padding-left:10px;
    padding-right:0px;
    padding-bottom:10px;
}

.vs tr .td_nosurvey{
	width:20%;
    padding-top:3px;
    padding-left:10px;
    padding-right:0px;
    padding-bottom:10px;
    color:red;
}

.vs tr:hover{
	background:#f0f0f0;
}
.vs tr td .span_name{
    font-size:13px;
    font-weight:bold;
    border-bottom:1px solid #eee;
    color:#0771b4;
}
.vs tr td ol{
	color:#91400a;
}
.vs tr td ol li{
	padding:5px;
}
.vs tr td ol li:hover{
	background-color:#fdddbb;
}
.vs tr td ol li a{
	font-size:13px;
	color:#042b6b;
}
.vs .buttons{
    background-color: #EFEFEF;
    border: medium none;
    bottom: 0;
    margin: 25px 0 0 -25px;
    overflow: hidden;
    padding: 0.3em 0;
    position: absolute;
    width: 100%;
}
.vs .pop_dialog .buttons{
    position: relative;
    background-color: #efefef;
    overflow: hidden;
    padding: 0.3em;
    margin: 0.1em 0 0 0;
    border: none;
    width: auto;
}

/*.vs .buttons_1{
    background-color: #EFEFEF;
    border: medium none;
    bottom: 0;
    margin: 25px 0 0 -25px;
    overflow: hidden;
    padding: 0.3em 0;
    position: absolute;
    width: 100%;
}*/
.vs .pop_dialog .buttons_1{
    position: relative;
    background-color: #efefef;
    overflow: hidden;
    padding: 0.3em;
    margin: 0.1em 0 0 0;
    border: none;
    width: auto;
}

/*  vs for print  */
.vsprint{
	padding:0 5px 15px 15px;
	font-size:13px;
}

.vsprint .sub_name {
    padding-left:10px;
}

.vsprint .sub_alert {
    padding-left:10px;
    color:red;
}

.vsprint .show_name {
    padding-left:5px;
    color:#228B22;
    text-decoration:underline;
}

.vsprint .show_details {
    color:#228B22;
    text-decoration:underline;
}

.vsprint .show_other {
    color:#228B22;
    text-decoration:underline;
}

.vsprint .div_itemlist{
	padding:5px;
	margin-bottom:5px;
}
.vsprint .div_itemlist:hover{
	background-color:#fdddbb;
}
.vsprint .div_itemlist span{
	color:#904b01;
	font-size:12px;
}
.vsprint .div_itemlist .text_soft{
	color:#08435f;
	font-size:12px;
}

/* TABLE */
.vsprint table {
     border: 0px;
	 margin-top: 1em;
	 margin-bottom: 2em;
}
.vsprint tr .td_name{
	width:20%;
    padding-top:3px;
    padding-left:10px;
    padding-right:0px;
    padding-bottom:10px;
}

.vsprint tr .td_nosurvey{
	width:20%;
    padding-top:3px;
    padding-left:10px;
    padding-right:0px;
    padding-bottom:10px;
    color:red;
}

.vsprint tr:hover{
	background:#f0f0f0;
}
.vsprint tr td .span_name{
    font-size:13px;
    font-weight:bold;
    border-bottom:1px solid #eee;
    color:#0771b4;
}
.vsprint tr td ol{
	color:#91400a;
}
.vsprint tr td ol li{
	padding:5px;
}
.vsprint tr td ol li:hover{
	background-color:#fdddbb;
}
.vsprint tr td ol li a{
	font-size:13px;
	color:#042b6b;
}
.vsprint .buttons{
    background-color: #EFEFEF;
    border: medium none;
    bottom: 0;
    margin: 25px 0 0 -25px;
    overflow: hidden;
    padding: 0.3em 0;
    position: absolute;
    width: 100%;
}
.vsprint .pop_dialog .buttons{
    position: relative;
    background-color: #efefef;
    overflow: hidden;
    padding: 0.3em;
    margin: 0.1em 0 0 0;
    border: none;
    width: auto;
}

.vsprint .pop_dialog .buttons_1{
    position: relative;
    background-color: #efefef;
    overflow: hidden;
    padding: 0.3em;
    margin: 0.1em 0 0 0;
    border: none;
    width: auto;
}

/*  Manage  */
.year_control_list{
	padding:0 10px 0 10px;
	border: 1px solid transparent;
}
.year_control_list:hover{
	border: 1px solid #CCCCCC;
    box-shadow: 0 1px 1px rgba(100, 100, 100, 0.2);
	background:#f5f5f5;
}
.year_control_year{
	color:green;
	font-size:1.25em;
	line-height:30px;
}
.enable_year{
	color:green;
	background:transparent url('../images/icon/pass.png') no-repeat   4px 6px;
}
.disable_year{
	color:red;
	background:transparent url('../images/icon/false.png') no-repeat   4px 7px;
}
.enable_year, .disable_year{
	float:left;
	top:0;
	line-height:23px;
	height:23px;
	top:0;
	min-width:15px;
	padding-left:5px;
	padding-right:5px;
}
.select_year{
	font-size:1.75em;
	margin:0.5em 0em;
	color:#27408B;
}

/* txt color */
.txt_number{
	color:#8B0000;
}

.staff-select {
    width: auto;
    max-width: 300px;
}

/*เลือก Slot วันที่*/
.slot-day {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
}

.slot-day-title {
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
}

.slot-time-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.slot-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #3498db;
    background-color: #ffffff;
    color: #3498db;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slot-btn:hover {
    background-color: #3498db;
    color: #ffffff;
}

.slot-btn:active {
    transform: scale(0.97);
}

#list-selfAssessment {
    position: relative;
}