@charset "utf-8";
form {
	margin:0;
	padding:0;
}
fieldset {
	margin:1em 0;
	border:none;
	border-top:1px solid #ccc;
}
legend {
	margin:1em 0;
	padding:0 .5em;
	color:#036;
	background:transparent;
	font-size:1.3em;
	font-weight:bold;
}
label {
	float:left;
	width:100px;
	padding:0 1em;
	text-align:right;
}
fieldset div {
	margin-bottom:.5em;
	padding:0;
	display:block;
}
fieldset div input {
	width:150px;
	border-top:1px solid #555;
	border-left:1px solid #555;
	border-bottom:1px solid #ccc;
	border-right:1px solid #ccc;
	padding:1px;
	color:#333;
}
fieldset div textarea {
	width:320px;
	border-top:1px solid #555;
	border-left:1px solid #555;
	border-bottom:1px solid #ccc;
	border-right:1px solid #ccc;
	padding:1px;
	color:#333;
}
fieldset div select {
	padding:1px;
}
div.fm-multi div {
	margin:5px 0;
}
div.fm-multi input {
	width:1em;
	border:none;
}
div.fm-multi label {
	display:block;
	width:200px;
	padding-left:5em;
	text-align:left;
}
#fm-submit {
	clear:both;
	padding-top:3px;
	text-align:center;
}
#fm-submit input {
	border:1px solid #333;
	padding:2px 1em;
	background:#555;
	color:#fff;
	font-size:100%;
}
input:focus, textarea:focus {
	background:#efefef;
	color:#000;
}
fieldset div.fm-req {
	font-weight:bold;
}
fieldset div.fm-req label:before {
	content:"* ";
}

fieldset div.fm-req span {
	font-weight:400;
	color: #A1A1A1;
}

fieldset div.fm-opt span {
	font-weight:400;
	color: #A1A1A1;
}

body {
	padding:0;
	margin:20px;
	color:#333;
	background: #f1f1f1 url(../images/bg_appointment.gif) no-repeat top center;
	font:12px arial, verdana, sans-serif;
	text-align:center;
}
#container {
	margin:50px auto 0 auto;
	padding:1em;
	width:500px;
	text-align:left;
}
p#fm-intro {
	margin:0;
}
/*------Date Form----------*/

.hidden {
	opacity: 0;
	position: absolute;
}
.visible {
	opacity: 1;
}
input.calendar, select.calendar {
	width: 99px;
}
button.calendar {
	background: url(../calendar/calendar-icon.gif);
	border: 0;
	cursor: pointer;
	/*	float: left;*/
	height: 20px;
	margin-right: 6px;
	width: 20px;
}
button.calendar:hover, button.calendar.active {
	background-position: 0 20px;
}
div.calendar {
	background: url(../calendar/calendar.png);
	height: 195px;
	padding: 0 6px;
	text-align: center;
	width: 147px;
}
div.calendar * {
	margin: 0;
	padding: 0;
}
div.calendar div {
	background: none !important;
	cursor: move;
	height: 185px;
	overflow: hidden;
	padding-top: 10px;
	position: relative;
	width: 147px;
}
div.calendar caption {
	color: #333;
	font: normal 12px/16px Arial, Helvetica, sans-serif;
	padding-top: 6px;
	text-align: center;
	width: 100%;
}
div.calendar caption a {
	cursor: pointer;
	display: block;
	height: 12px;
	overflow: hidden;
	position: absolute;
	text-indent: -100px;
	top: 17px;
	width: 11px;
}
div.calendar caption a.prev {
	background-image: url(../calendar/calendar-prev.gif);
	left: 0;
}
div.calendar caption a.next {
	background-image: url(../calendar/calendar-next.gif);
	right: 0;
}
div.calendar caption a:hover {
	background-position: 0 12px;
}
div.calendar caption span {
	height: 25px;
	position: relative;
	text-align: center;
}
div.calendar caption span.month {
	padding-right: 8px;
}
div.calendar caption span.month:after {
	content: ',';
}
div.calendar table {
	background: #FFF;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	cursor: default;
	margin: 0 auto;
	overflow: hidden;
	width: 147px;
}
div.calendar td,  div.calendar th {
	border: 0;
	color: #0597DB;
	font: normal 12px Arial, Helvetica, sans-serif;
	height: 21px;
	text-align: center;
	width: 21px;
}
div.calendar td {
	background: url(../calendar/calendar-td.gif);
	color: #FFF;
	font-size: 11px;
}
div.calendar td.invalid {
	color: #999;
}
div.calendar td.valid {
	background: url(../calendar/calendar-valid.gif);
	color: #0597DB;
	cursor: pointer;
}
div.calendar td.hilite {
	background: url(../calendar/calendar-hilite.gif);
}
div.calendar td.inactive {
	background: url(../calendar/calendar-td.gif) 0 100%;
	color: #FFF;
}
div.calendar td.active,  div.calendar td.hover {
	background: url(../calendar/calendar-valid.gif) 0 100%;
	color: #FFF;
	cursor: pointer;
}
/*เขียมเพิ่มเติม by Neivkup */

.odd {
	background:#EDEDED
}
.even {
	background:#FFF
}
.bold { color:#f60e0e; font-weight:bold; font-size:13px; }
.blue { color:#2a3b64; font-weight:bold; font-size:13px; }
.foot {
	height: auto;
	padding:5px;
	margin:5px 0px;
}
.foot a, a:visited {
	font-size:12px;
	color:#545454;
	text-decoration:none;
}
.foot a:hover {
	padding-top:2px;
	color:#2B2B2B;
}
