* {
    margin: 0;
    padding: 0;
}

body {
    word-break: break-all;
	background-color: #ccc;
	font-size: 13px;
}

hr {
	margin: 0 0 4px 0;
	border-color: #aaa;
}

h1 {
    font-size: 1.4em;
}

h2 {
    font-size: 1.1em;
	padding: 0;
    margin: 11px 0 7px;
	font-weight: bold;
	border-bottom: 1px solid #555;
}

h3 {
    font-size: 1em;
	font-weight: normal;
    padding-left: 0.5em;
	color: #fff;
	background-color: #555;
	margin-bottom: 0.3em;
}

h4 {
    font-size: 0.9em;
	font-weight: normal;
	color: #444;
	margin: 0.8em 0 0.3em;
}

a, a:hover {
	color: #005994;
}

li, dd, dt {
	list-style-type: none;
}

header {
	background-color: #666;
	color: #fff;
	padding: 5px 1em;
	margin-bottom: 1em;
}

header a, header a:hover {
	color: #ccc;
}

footer {
    padding: 5px 0;
    background-color: #4F8BCC;
}

fieldset {
	border: none;
}

label {
	font-weight: normal;
}

p {
	margin: 4px 0;
}
table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}
table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.description table {
	border-collapse: collapse;
}

.description table td {
	border: 1px solid #666;
}

table.list {
	background: #555;
	margin: 15px auto;
	border-collapse : collapse;
}	

table.list > tbody > tr > th,
table.list > thead > tr > th {
	background: linear-gradient(#777, #444);
	border-left: 1px solid #555;
	border-right: 1px solid #777;
	border-top: 1px solid #555;
	border-bottom: 1px solid #333;
	color: #fff;
	font-weight: bold;
	padding: 3px 5px;
	position: relative;
	text-shadow: 0 1px 0 #000;	
	text-align: center;
}

table.list > tbody > tr > td,
table.list > thead > tr > td
{
	border-left: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
	padding: 3px 5px;
	background-color: #fff;
}

table.list > tbody > tr.selected > td, .selected-re
{
	background-color: #fbb;
}

table.list tr.working td, div .working {
	background-color: #d9dfe8;
}

table.list tr.working-c1 td, div .working-c1 {
	background-color: #C6E0DC;
}

table.list td.wide {
	min-width: 50px
}

table.detail {
	margin: 10px auto;
	border-spacing: 4px;
}	

table.detail > tbody > tr > th.section-header,
table.detail > thead > tr > th.section-header {
	width: 100%;
	text-align: center;
	background-color: #555;
	color: #fff;
	text-shadow: 0 1px 0 #000;	
	padding-top: 5px;
}

table.detail > tbody > tr > th
table.detail > thead > tr > th {
	color: #000;
	padding: 3px 5px;
	position: relative;
	text-align: right;
}

table.detail input[type='text'], table.detail select, table.detail textarea {
	width: 100%;
}

table.detail .with-button {
	margin: 0;
	padding: 0;
	display: inline-block;
	width: 80%;
}

table.detail input.join-button {
	width: 20%;
}

table td.nowrap, table tr.nowrap{
	white-space: nowrap;
}

form.form-horizontal .form-group {
	margin-bottom: 0.8em;
}

form.form-horizontal .control-label {
	display: block;
	float: left;
	width: 20%;
}

form.form-horizontal .form-control-wrapper  {
	display: block;
	float:left;
	width: 80%;
}

form.form-horizontal .form-control-wrapper.short  {
	width: 40%;
}

form.form-horizontal input[type=text], form.form-horizontal textarea, form.form-horizontal input[type=password]  {
	width: 99%;
}



iframe {
	width: 100%;
	height: 600px;
}

.alert.system {
	min-height: 2em;
	position: fixed;
	width: 100%;
	font-size: 1.2em;
	z-index: 9999;
	text-align: center;
	border: 3px solid #888;
}

.alert.alert-danger {
	background-color: #fee;
	color: #f00;
}

.alert.alert-success {
	background-color: #d9edf7;
	color: #1e616b;
}

.alert strong {
	display: block;
	padding: 2px;
	background-color: #fdd;
	text-align: center;
	font-weight: bold;
	font-size: 1em;
}

.collapse {
	display: none;
}

.price-history {
	margin-bottom: 1em;
}

.price-history dt {
	display: block;
	clear: left;
	float: left;
	margin-left: 1em;
	font-weight: bold;
	margin-right: 2em;
}

.price-history dd {
	display: block;
}

.tab-content {
	display: none;
}

.tab-content:target {
	display: block;
}

.btn-block {
	margin: 1em 0;
	position: relative;
}

.btn-block-right {
	right: 20px;
	top: 0;
	position: absolute;
}

.btn {
	background:-moz-linear-gradient( center top, #ededed 27%, #dddddd 78% );
	background:-ms-linear-gradient( top, #ededed 27%, #dddddd 78% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dddddd');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(27%, #ededed), color-stop(78%, #dddddd) );
	background-color:#ededed;
	font-weight:normal;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	border-radius:8px;
	border:none;
	text-decoration:none;
	color:#555;
	display:inline-block;
	cursor: pointer;
	border: 1px solid #777
}

.btn:hover {
	color: #210;
}

.btn:active {
	color: #888;
	position:relative;
	top:1px;
}

.btn.btn-xs {
	padding: 2px 1em;
}

.btn.btn-primary {
	background:-moz-linear-gradient( center top, #666 27%, #333 78% );
	background:-ms-linear-gradient( top, #666 27%, #333 78% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#666', endColorstr='#333');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(27%, #666), color-stop(78%, #333) );
	background-color:#666;
	color: #ddd;
}

.btn.btn-primary:hover,.btn.btn-primary:active {
	color: #fff !important;
}

.btn.btn-danger {
	background:-moz-linear-gradient( center top, #A44 27%, #722 78% );
	background:-ms-linear-gradient( top, #A44 27%, #722 78% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#A44', endColorstr='#722');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(27%, #A44), color-stop(78%, #722) );
	background-color:#666;
	color: #ddd;
}


a.order-mark, a.order-mark:hover {
	color: #9999bb;
	text-decoration: none;
	letter-spacing: 0.1em;
}

.full-width {
	width: 100% !important;
}

.clearfix:after, form.form-horizontal .form-group:after {
	content: "";
	clear: both;
	display: block;
}

.text-right {
	text-align: right;
}

.text-center {
	text-align: center;
}

.input-sm {
	height: 1.8em;
}

#wrapper {
	margin: 0 15px;
}

#login input[type='text'], #login input[type='password'] {
	width: 15em;
}

#login-info {
	display: block;
	text-align: right;
}

#menu {
	margin-top: 0.5em;
}

#menu li {
	float: left;
	margin-left: 1em;
}

#to-top {
	text-align: right;
	font-size: 0.8em;
}

table.detail th {
	width: 20%;
	text-align: right;
	padding-right: 1em;
	color: #000;
}

table.detail td {
	width: 30%;
	background-color: #ddd;
}

table.detail.three-items th {
	width: 16%;
}

table.detail.three-items td {
	width: 17%;
}

table.detail tr.category-header th{
	text-align: left;
	background-color: #558;	
	color: #fff;
	padding: 3px;
	font-size: 1.1em;
}

table.detail tr.category-header th a{
	color: #ffb;
}

table.detail tr.category-sub-header th{
	text-align: left;
	background-color: #bbb;
	border-left: 3px solid #888;
	border-bottom: 1px solid #888;
	color: #002;
	padding: 2px;
}

.order-arrows {
	font-size: 0.7em;
}

.search-block {
	margin-bottom: 4px;
}

.search-block .search-elem {
	display: inline-block;
	width: 20%;
}

.search-block label.search-elem {
	text-align: right;
	width: 10em;
}

.search-block .search-elem.range {
	width: 5%;
	text-align: center;
}

.ui-datepicker-calendar {
	display: none;
}

.thumbnail {
	width: 20%;
	float: left;
}

.thumbnail > div {
	padding: 5px;
}

.thumbnail img {
	max-width: 100%;
}

.description {
	padding: 1em;
	background-color: #fff;
	margin-bottom: 1em;
}

.re_delete {
	color: #fff;
	background-color: #f22;
	font-weight: bold;
}

.re_update {
	color: #fff;
	background-color: #662;
	font-weight: bold;
}

.re_add {
	color: #fff;
	background-color: #22f;
	font-weight: bold;
}

.re_mod {
	color: #fff;
	background-color: #f55;
	font-weight: bold;
	padding: 2px;
}

.breadcrumb {
	margin-top: 1em;
	font-size: 0.9em;
}

.hide {
	display: none;
}

.editcand {
	background-color: #f99 !important;
}

.count {
	font-weight: bold;
	font-size: 1.4em;
}

#drop-zone-area {
	border: 3px dotted #555;
	background-color: #eee;
	text-align: center;
	min-height: 50px;
}

#drop-zone-area.dropzone {
	padding: 1em;
}

#drop-zone-area .dz-default {
	margin: 5px;
}

#drop-zone-area.dz-drag-hover {
	background-color: #ffb !important;
}

.re-search {
	background-color: #FF9999;
	padding: 3px;
}

table.list tr.this-re td {
	background-color: #FF9999;
}

#remodal {
	background-color: #eee;
}

#remodal table.list > tbody > tr:hover > td {
	background-color: #fee;
}

#remodal table.list > tbody > tr.this-re > td {
	background-color: #ff9999;
}