@font-face {
	font-family: "ThaiSans Neue";
	src: url('fonts/ThaiSansNeue-Regular.ttf'),
	url('fonts/ThaiSansNeue-Regular.eot?#iefix') format('embedded-opentype');;
}

@font-face {
	font-family: 'RSU_Regular';
	src: url('fonts/RSU_Regular.eot');
	src: local('☺'), url('fonts/RSU_Regular.woff') format('woff'), url('fonts/RSU_Regular.ttf') format('truetype'), url('fonts/RSU_Regular.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

tspan { font-family: 'RSU_Regular',Verdana,Arial,sans-serif; font-size: 12px; }

.remark {
	right: 0;
	bottom: 0;
	font-size: 10px;
	position: absolute;
	display: none;
}

.map-container {
	display: block;
	position: relative;
	width: 100%;
	min-height: 40em;
	color: black;
}

/* map content */
.map-content {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 45%;
	min-height: 40em;
	height: 95%;
}
.map-content #map-search {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 10%;
}
.map-content #map-render {
	display: block;
	position: relative;
	margin-top: 15%;
	width: 100%;
	height: 100%;
	max-height: 650px;
}

/* table content */
.table-content,
.preview-content {
	display: block;
	position: relative;
	margin-left: 45%;
	width: 55%;
	min-height: 40em;
	height: 100%;
}
#iframe-travel {
	max-height: 650px;
	overflow-y: scroll;
}

#iframe-activity {
	max-height: 650px;
	overflow-y: scroll;
}

.result {
	margin: 10px 0;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0px;
	border: 1px solid #a9a9a9;
	font-size: 14px;
}
.result tr:nth-child(odd) { background-color: #e5e5e5; }
.result th { background-color: #0099CC; color: #fff; }
.result th, td { border: 1px solid #a9a9a9; }
.result td { padding-left: 5px; }
.result td.col1 {
	vertical-align: top;
	font-weight: bold;
}
.result td.col2 {
	vertical-align: top;
	font-weight: bold;
}
.attr-address {
	min-width: 180px;
}
.acti-year {
	padding-left: 0 !important;
	width: 50px;
	text-align: center;
}

/* combobox province */
#search-box {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  margin: auto;
  padding-top: 15px;
  text-align: center;
}
.ui-autocomplete {
	max-height: 300px;
	overflow-x:	hidden;
	overflow-y: auto;
}
.custom-combobox {
	position: relative;
	display: inline-block;
}
.custom-combobox-toggle {
	position: absolute;
	top: 0;
	bottom: 0;
	margin-left: -1px;
	padding: 0;
}
.custom-combobox-input {
	margin: 0;
	padding: 5px 10px;
}

/* tab */
.ui-widget { font-family: 'RSU_Regular',Verdana,Arial,sans-serif; font-size: 1.0em; }
.ui-widget input { font-family: 'RSU_Regular',Verdana,Arial,sans-serif; font-size: 1.0em; }
.ui-widget-content { border: 0px!important; }
.ui-widget-header {
	border: 0px!important;
	background: none!important;
}
.ui-tabs-panel {
	border: 1px solid #aaaaaa!important;
}

/* pagination */
.pagination { 
	display: inline-block;
	width: 100%;
	margin: 0.7em 0;
	padding-left: 0;
	text-align: center;
}
.pagination li { display: inline-flex; }
.pagination span, .pagination a { 
	color: #337ab7;
	line-height: 2em;
	width: 2em;
	text-align: center;
	text-decoration: none;
	display: block;
	text-align: center;
	background-color: #ebebeb;
	margin: 0 4px 0 0;
	-o-border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	box-shadow: 0 1px 2px rgba(10, 10, 10, 0.1) inset;
	-moz-box-shadow: 0 1px 2px rgba(10, 10, 10, 0.1) inset;
	-webkit-box-shadow: 0 1px 2px rgba(10, 10, 0, 0.1) inset;
	-o-box-shadow: 0 1px 2px rgba(10, 10, 10, 0.1) inset;
	border-bottom: solid 1px #fff;
}
.pagination .disabled a, .pagination .disabled a:focus, .pagination .disabled a:hover, 
.pagination .disabled span, .pagination .disabled span:focus, .pagination .disabled span:hover {
    color: #777;
    cursor: not-allowed;
}
.pagination .active a, .pagination .active a:focus, .pagination .active a:hover, 
.pagination .active span, .pagination .active span:focus, .pagination .active span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
}

/* loader */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  border-top: 5px solid #0099CC;
  width: 60px;
  height: 60px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
