body {
	padding-top: 60px;
	padding-bottom: 40px;
}

.navbar.navbar-fixed-top { position:fixed;}
.navbar .navbar-inner { padding:0;}
@media (max-width:767px) {
	.navbar.navbar-fixed-top { padding:0 20px;}
}
@media (max-width:979px) {
	.navbar .container-fluid { padding:0 15px;}
}

.clear { clear:both;}

table thead tr .headerSortUp {
	background-image: url("../img/asc.gif");
	background-position: right center;
	background-repeat: no-repeat;
}
table thead tr .headerSortDown {
	background-image: url("../img/desc.gif");
	background-position: right center;
	background-repeat: no-repeat;
}

table thead th a {
	display: block;
}

table .headerSortUp, table .headerSortDown {
	background-color: rgba(141, 192, 219, 0.25);
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}

.well-tight { padding: 0px 10px; }

div.login {
	margin-top: 40px;
}

div.modal form { margin-bottom:0;}

dd ul.thumbnails > li {margin-bottom: 0px;}

#cke_special_instructions { margin-bottom:10px;}

/* jquery-ui */
.ui-widget { font-size:12px;}
ul.ui-autocomplete { z-index:1100;}

/* set z-index above modal popup */
#ui-datepicker-div { z-index:1061 !important;}


/* fine uploader */
.qq-uploader { font-size:14px; line-height:20px;}
.qq-uploader .qq-upload-button { width:160px; background-color:#006dcc; background-image:linear-gradient(to bottom, #0088cc, #0044cc); background-repeat:repeat-x;}
.qq-uploader .qq-upload-button:hover { background-color:#0044cc;}





/* table striping */
table.table-striped3 tbody tr:nth-child(4n+3) td,
table.table-striped3 tbody tr:nth-child(4n+3) th { background-color:#f9f9f9;}
table tr.expand_details { display:none; background-color:#dedede;}
table tr.expand_details > td { padding:14px;}
table tr.expand_details table { width:100%; background-color:#fff; margin-bottom:0;}

/* table toggle */
table.hover > tbody > tr:hover > td, table tr.expand:hover > td { cursor:pointer; background-color:#efefef;}
table.hover tbody tr.expand_details:hover > td { cursor: default; background-color:inherit;}

/* expand no results */
table tr.expand_details .well { margin-bottom:0;}


/* tags */
.well.tags { font-size:12px;}
.well.tags p { margin:0 0 8px 0;}
.well.tags p:last-child { margin:0;}
.well.tags p span { font-weight:bold; padding-right:8px;}



.search-form, .bottom-margin { margin-bottom:20px;}

/* tab width */
.tab-pane textarea { width:97%; height:150px;}

input[type="file"] {
	margin-bottom: 10px;
}

.appt_status select { margin:0;}

span.per-page.selected { color:#808080;}

form div.inline-set {display: inline-block; margin-bottom: 6px;}

/* artwork images */
#images { margin-bottom:10px;}
#images .make_image { border:1px solid #e5e5e5; min-height:60px; padding:10px; margin:0 10px 10px 0; display:inline-block; float:left;}
#images .make_image .left { float:left;}
#images .make_image .left.pad { padding-right:20px;}
#images .make_image img { height:60px;}


/* predefined comments */
.predefined_comments, .predefined_texts { margin-bottom:15px;}
	.predefined_comments a.toggle, .predefined_texts a.toggle { color:#333; background-image: url("../img/desc.gif"); background-position: left center; background-repeat: no-repeat; padding-left:20px;}
		.predefined_comments a.toggle.open, .predefined_texts a.toggle.open { background-image: url("../img/asc.gif");}
	.predefined_comments .list, .predefined_texts .list { width:100%; padding:8px 0; display:none;}
		.predefined_comments .list > div, .predefined_texts .list > div { float:left; width:33%;}

#applications td.app_status form { display: none; }
#campaign_list td.rep form { display: none; }

.text-center {text-align: center;}
.text-left {text-align: left;}
.text-right {text-align: right;}

#more_dealer_info {
	overflow-x: auto;
}

/* Progress bar */
div.progress.percent { width:90%; margin:0; float:left;}


/* Group Permission Checkboxes */
.admin_permissions .checkboxes label.checkbox { display: inline-block; float:left; clear:both;}


tr.missing-info {opacity: .5;}

@media print {
	body {
		padding-top:0;
	}

	a[href]:after {
		content:"";
	}

	div.navbar {
		display:none;
		visibility:hidden;
	}

	legend {
		font-size: 12px;
		line-height: 16px;
		margin-bottom: 4px;
	}

	p {
		font-size: 10px;
	}

	.table td, .table th {
		font-size: 10px;
	}
}
