body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

header, section.page, section.menu, footer {
	width: 1024px;
	margin: 0 auto;
	padding-bottom: 20px;
}

/*
section.menu li {
	list-style-type: none;
	float: left;
	padding: 10px;
}
*/

section.page {
	clear: both;
}

section.left_box ul {
	background-color: #ededed;
	margin: 0px 10px 0px 0px;
	padding: 5px 20px 0px 5px;
	list-style: none;
}
section.left_box ul li {
	 margin: 0;
	 padding: 5px;
}

section.left_box a {
	text-decoration: none;
	color: #131313;
	font-variant: small-caps;
}
section.left_box a:hover {
	text-decoration: underline;
}

section.left_box a.sel {
	font-weight: bold;
	text-decoration: underline;
}

/* gridselect */
div.grid {
	/*width: 700px;*/
	width: 100%;
	/*max-width: 700px;*/
	/*height: 250px;*/
	height: auto;
	clear: both;
}
div.grid div.center {
	width: 700px;
	height: 42px;
	padding-top: 5px;
	text-align: center;
}
div.grid div.center a {
	width: 32px;
	height: 32px;
	color: #fff;
	padding: 0px 5px;
}


div.pq-grid * {
    font-size: 11px !important;
}
div.pq-grid-title span {
	float: right;
}
/*
div.grid {
	width: 1024px;
	height: 250px;
	clear: both;
}
div.grid div.left,
div.grid div.right {
	width: 500px;
	height: 250px;
	float: left;
}
div.grid div.center {
	width: 24px;
	float: left;
	margin-top: 40px;
}
div.grid div.center a {
	width: 24px;
	display: block;
	background-color: #ababab;
	text-align: center;
	color: #fff;
	margin: 10px 0px;
	padding: 2px 0px;
}
*/

/* bootstrap form customize */
label {
	margin-bottom: 0;
}

.form-group {
	margin-bottom: 8px;
}
.form-group.inline {
	float: left;
	margin-right: 10px;
}

.form-control {
	padding: 3px 12px;
	border: 1px solid #d7d7d7;
	border-radius: 0;
	box-shadow: none;
	font-size: 12px;
	height: 30px;
}
.form-control:focus {
	box-shadow: none;
}

.checkbox > label > input[type=checkbox] {
	margin-top: -1px;
}

.radio > label > input[type=radio] {
	margin-top: -1px;
}
.radio > label {
	padding-right: 20px;
}

.dbcontent {
	font-size: 1.2em;
}
.dbcontent h1 {
	font-size: 1.4em !important;
}
.dbcontent h2 {
	font-size: 1.3em !important;
}
.dbcontent ol, 
.dbcontent ul {
	padding: 10px 30px;
}
.dbcontent ol li, 
.dbcontent ul li {
	list-style: inherit;
}

.dbcontent .form-group,
.dbcontent .form-group select,
.dbcontent .form-group input {
	width: 100%;
}
.dbcontent .form-group label {
	display: block;
}
table.small-font {
	font-size: .9em !important;
	table-layout: fixed;
	word-wrap: break-word;
}
table.small-font tbody {
	display: block;
	height: 600px;
	overflow-y: scroll;
}
table.small-font thead, 
table.small-font tbody tr {
	display:table;
	width:100%;
	table-layout:fixed;
}

table.small-font thead {
    width: calc( 100% - 1em )/* scrollbar is average 1em/16px width, remove it from thead width */
}
table.small-font div.dropdown {
	float: left !important;
}
table.small-font span.readonly-dropdown,
table.small-font div.dropdown button {
	min-width: 150px;
}
table.small-font .dropdown > ul {
	padding: 10px 3px;
}
table.small-font .dropdown > ul li {
	clear: left;
	display: block;
	width: 100%;
}
table.small-font .dropdown > ul > li > a,
table.small-font .dropdown > ul > li > span {
	color: inherit;
	height: auto;
	font-size: inherit;
	text-transform: none;
	padding: 5px ;
	display: block;
	width: 100%;
}

