@import url(../fonts/icon/style.css);
@import url(../fonts/thaisans/stylesheet.css);

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary {
  display: block;
}

audio,canvas,video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

html {
  font-family: sans-serif; 
  -webkit-text-size-adjust: 100%; 
  -ms-text-size-adjust: 100%; 
  
  min-height: 100%;
}

body {
  margin: 0;
  background: #e5cca8 url(../img/background/07.jpg);
  min-height: 100%;
  min-width: 550px;
}

body, select, input, textarea {
	color: #222;
  margin: 0;
	font-family: "Thai Sans",sans-serif;
	font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.5em;
	padding: 0;
	margin: 0 0 10px;
	font-weight: normal;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.8em;
}
h3 {
	font-size: 1.6em;
}
h4 {
	font-size: 1.4em;
}
h5 {
	font-size: 1.2em;
}
h6 {
	font-size: 1.1em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
}

p {
	padding: 0;
	margin: 0;
}

a {
	color: #d95b44;
	text-decoration: none;
	transition: color 0.3s ease-in;
	-webkit-transition: color 0.3s ease-in;
}
a:hover {color: #c02842;}

a:active,a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  width: 100%;
}

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 {
  font-size: 80%;
}

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 #b1b1b1;
  margin: 0;
  padding:  5px 10px 0;
  background: #fff;
}

legend {
  border: 0; 
  padding: 0; 
}

button,
input,
select,
textarea {
  margin: 0;
  font-size: 100%;
  vertical-align: middle;
}

button,
input {
  *overflow: visible;
  line-height: normal;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}

label,
select,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
input[type="radio"],
input[type="checkbox"] {
  cursor: pointer;
}

input[type="search"] {
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
  -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
table thead th {
	background: #222;
	text-align: left;
	color: #fff;
	font-size: 14px;
}
table tbody tr {
	background: #f1f1f1;
}
table tbody tr:nth-child(odd) {
	background: #f9f9f9;
}
table th, table td {
	padding: 5px 8px;
	line-height: 1.4em;
}

/* Styles */
#main-header {
	height: 35px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: #111 url(../img/black_linen.png);
	border-bottom: 1px solid #000;
	
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#main-content {
	margin: 45px 10px 10px;
	padding: 10px;
}
#main-nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
#primary-nav {
	float: left;
	border-right: 1px solid #484848;
}
#secondary-nav {
	float: right;
	border-left: 1px solid #000;
}
#main-nav li {
	float: left;
	padding: 0;
	margin: 0;
}
#main-nav a {
	font-size: 12px;
	height: 34px;
	line-height: 34px;
	color: #FFF;
	padding: 0 15px;
	margin: 1px 0 0 0;
	float: left;
	border-left: 1px solid #484848;
	border-right: 1px solid #000;
	text-decoration: none;
}
#main-nav a [class*="icon-"] {
	font-size: 14px;
	float: left;
	margin: 9px 7px 0 0;
}
#primary-nav li:first-child a{
	border-left-color: #000;
}
#main-nav a:hover {
	background: #ff890c; /* Old browsers */
	background: -moz-linear-gradient(top, #ff890c 0%, #dc6300 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff890c), color-stop(100%,#dc6300)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ff890c 0%,#dc6300 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ff890c 0%,#dc6300 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ff890c 0%,#dc6300 100%); /* IE10+ */
}

.fill {
	width: 98%;
}

/* shared styles */
.full-page {
	padding: 20px;
	background: #fff;
	border: 1px solid #fff;
	background: rgba(255,255,255,0.8);
}
.label {
	padding: 2px 5px;
	display: inline-block;
	line-height: 1.1em;
	background: #e26405;
	margin: 0 1px;
	border-radius: 1px;
	font-size: 13px;
	
	color: #fff;
	text-decoration: none;
}
.label:hover {
	background: #0481b6;
	color: #FFF;
}
.button {
	border-radius: 1px;
	display: inline-block;
	padding: 3px 10px;
	margin: 2px 1px;
	border: 1px solid #c95904;
	font-size: 14px;
	line-height: 1.5em;
	background: #e26405;
	color: #FFF;
	
	-moz-box-shadow:inset 0px 1px 0px 0px #fb8c39;
  -webkit-box-shadow:inset 0px 1px 0px 0px #fb8c39;
  box-shadow:inset 0px 1px 0px 0px #fb8c39;
}
.button.mini {
	font-size: 12px;
	padding: 1px 5px;
}
.button:hover {
	color: #FFF;
	background: #ff890c; /* Old browsers */
	background: -moz-linear-gradient(top, #ff890c 0%, #dc6300 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff890c), color-stop(100%,#dc6300)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ff890c 0%,#dc6300 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ff890c 0%,#dc6300 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ff890c 0%,#dc6300 100%); /* IE10+ */
}
.error-box {
	background: rgba(255,255,255,0.8);
	border: 1px solid #fff;
	padding: 0 10px;
	margin: 0 0 10px;
}
.error-box .alert {
	color: #ce4c0e;
}
.error-box .success {
	color: #21ab0c;
}
.date {
	width: 88px;	
}

.detail-list {
	margin: 0 40px 20px;
	list-style: none;
	padding: 0;
	border-radius: 1px;
}
.detail-list li {
	clear: both;
	box-sizing: border-box;
	position: relative;
	padding: 2px 0 2px 110px;
	margin: 0 0 5px;
	border: 1px solid #fff;
	background: rgba(255,255,255,0.7);
	min-height: 30px;
	border-radius: 1px;
}
.detail-list li > strong {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	background: #f0f0f0;
	padding: 2px 10px;
	width: 80px;
	border-right: 1px solid #fff;
}
.dialog-wrapper {
	padding: 10px 20px;
	min-height: 100px;
	min-width: 200px;
}
.booking-form {
	width: 380px;
	overflow: hidden;
}
.booking-app {
	font-size: 0;
	line-height: 0px;
	padding: 0;
	margin: 0;
	border: 0;
}
.app-credits {
	text-align: center;
	opacity: 0.05;
	color: #337AB7;
}

.select2-input {
	z-index: 9999 !important;
}
#client-table td {
	border: 1px solid #ddd;
}
#client-table tr.filters td {
	padding: 3px 0 3px 3px;
	margin: 0;
	background: #222;
	border: none;
}
#client-table tr.filters td input {
	padding: 0;
	width: 100% !important;
	border: 0;
}
#client-table tr.filters td select {
	font-size: 12px;
	height: 20px;
}
/* styles for desktop */
.tinynav { display: none }

/* styles for mobile */
@media screen and (max-width: 550px) {
  body {width: 550px;} 
}
@media screen and (max-width: 700px) {
  .tinynav { display: block;float: right; margin: 3px; }
  #secondary-nav { display: none }
}
@media screen and (min-width: 900px) {
	.booking-form {
		width: 760px;
	}
	.book-client-detail {
		width: 380px;
		float: left;
	}
	.book-book-detail {
		width: 380px;
		float: left;
	}
}

#packages ul {
	list-style: none;
	padding: 0;
	margin: 0;
	border-bottom: 1px solid #ddd;
}
#packages li {
	cursor: pointer;
	padding: 10px;
	border: 1px solid #ddd;
	border-bottom: none;
	display: block;
}
.selected-package .icon-remove {
	position: absolute;
	top: 3px;
	right: -20px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	cursor: pointer;
}
#packages li:hover {
	background: #f1f1f1;
}

.pagination {
	padding: 0;
	margin: 20px 0;
	display: block;
	list-style: none;
	text-align: center;
	font-size: 0px;
}
.pagination li  {
	list-style: none;
	display: inline-block;
	margin: 0 2px;
	font-size: 14px;
	border: 1px solid #d97426;
}
.pagination li a {
	display: block;
	padding: 0px 6px;
}
.pagination li.active {
	color: #fff;
	background:#d97426;
}
.pagination li.active a {
	color: #fff;
}
.pagination li.disabled {
	opacity: 0.5;
}
.pagination li.disabled a{
	cursor: not-allowed;
}
/* select package */
.choose-packages {
}
.selected-package {
	list-style: none;
	padding: 0;
	margin: 0;
}
.selected-package li {
	clear: both;
	margin: 0;
	padding: 0 0 3px;
}
.selected-package input {
	width: 92px;
	margin: 0 0 2px 1px;
}

/* form */
form > ul,
form > ul > li,
ul.form-list,
ul.form-list li {
	list-style: none;
	padding: 0;
	margin: 0 0 5px;
	position: relative;
	clear: both;
}
form >ul > li > label,
ul.form-list > li > label {
	position: absolute;
	top: 1px;
	left: 0;
	width: 110px;
	text-align: right;
}
form > ul > li,
ul.form-list > li {
	margin: 0 40px 0 0;
	padding: 0 0 10px 120px;
}
input,
button,
select,
textarea {
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
}

input,
button,
select,
textarea {
  font-family: "Open Sans", Calibri, Candara, Arial, sans-serif;
}

label {
  display: block;
  margin-bottom: 5px;
}

select,
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"],
.uneditable-input {
  display: inline-block;
  height: 20px;
  padding: 4px 6px;
  font-size: 14px;
  line-height: 20px;
  vertical-align: middle;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

input,
textarea,
.uneditable-input {
  width: 206px;
}

textarea {
  height: auto;
}

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"],
.uneditable-input {
  background-color: #ffffff;
  border: 1px solid #bbbbbb;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border linear 0.2s, box-shadow linear 0.2s;
          transition: border linear 0.2s, box-shadow linear 0.2s;
}

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;
  outline: thin dotted \9;
  /* IE6-9 */

  -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);
}

input[type="radio"],
input[type="checkbox"] {
  margin: 1px 0 0;
  margin-top: 1px \9;
  *margin-top: 0;
  line-height: normal;
}

input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
  width: auto;
}

select,
input[type="file"] {
  height: 30px;
  /* In IE7, the height of the select element cannot be changed by height, only font-size */

  *margin-top: 4px;
  /* For IE7, add top margin to align select with labels */

  line-height: 30px;
}

input[readonly="readonly"] {
	color: #999;
}

select {
  width: 220px;
  background-color: #ffffff;
  border: 1px solid #bbbbbb;
}

select[multiple],
select[size] {
  height: auto;
}

select:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.uneditable-input,
.uneditable-textarea {
  color: #dfdfdf;
  cursor: not-allowed;
  background-color: #fcfcfc;
  border-color: #bbbbbb;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
     -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
}

.uneditable-input {
  overflow: hidden;
  white-space: nowrap;
}

.uneditable-textarea {
  width: auto;
  height: auto;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #bbbbbb;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #bbbbbb;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #bbbbbb;
}

.radio,
.checkbox {
  min-height: 20px;
  padding-left: 20px;
}

.radio input[type="radio"],
.checkbox input[type="checkbox"] {
  float: left;
  margin-left: -20px;
}

.controls > .radio:first-child,
.controls > .checkbox:first-child {
  padding-top: 5px;
}

.radio.inline,
.checkbox.inline {
  display: inline-block;
  padding-top: 5px;
  margin-bottom: 0;
  vertical-align: middle;
}

.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
  margin-left: 10px;
}

.input-mini {
  width: 60px;
}

.input-small {
  width: 90px;
}

.input-medium {
  width: 150px;
}

.input-large {
  width: 210px;
}

.input-xlarge {
  width: 270px;
}

.input-xxlarge {
  width: 530px;
}

input[class*="span"],
select[class*="span"],
textarea[class*="span"],
.uneditable-input[class*="span"],
.row-fluid input[class*="span"],
.row-fluid select[class*="span"],
.row-fluid textarea[class*="span"],
.row-fluid .uneditable-input[class*="span"] {
  float: none;
  margin-left: 0;
}

.input-append input[class*="span"],
.input-append .uneditable-input[class*="span"],
.input-prepend input[class*="span"],
.input-prepend .uneditable-input[class*="span"],
.row-fluid input[class*="span"],
.row-fluid select[class*="span"],
.row-fluid textarea[class*="span"],
.row-fluid .uneditable-input[class*="span"],
.row-fluid .input-prepend [class*="span"],
.row-fluid .input-append [class*="span"] {
  display: inline-block;
}

input,
textarea,
.uneditable-input {
  margin-left: 0;
}


/* shared styles */
.right {
	float: right;
}
.left {
	float: left;
}
.text-right {
	text-align: right;
}
.text-left {
	text-align: left;
}
.center {
	text-align: center;
}
.ui-dialog-buttonset {
	width: 98%;
}
.ui-dialog-buttonset>button {
	float: left;
}
.ui-dialog-buttonset>button:first-child {
	float: right;
}