/* custom shit. watch out for updates borking it below here */
body {
	background: rgba(0, 0, 200, 0.075);
}
label.disabled {opacity:0.65;}
.flyout legend {cursor: pointer;}
.label-block {display:block;}
@media (min-width: 1200px) {
	.row {margin:0 -20px 0 -10px;}
	[class*="span"].well-small, .span-first {
		margin-left:10px;
	}
}
@media (min-width: 768px) and (max-width: 1199px) {
	.row {margin:0 -20px 0 0;}
	[class*="span"].well-small, .span-first {
		margin-left:0;
	}
}
.piggy .well.span6 .scroll, .piggy .well.span4 scroll  {
	max-height:12em;
	overflow: scroll;
}
.piggy .well.span6 table tr:last-child td, .piggy .well.span4 table tr:last-child td {
	padding-bottom:20px;
}
.survey {
	display:block;
	max-height:20em;
	overflow: scroll;
}
.survey_breakdown + .survey_breakdown { page-break-before: always; }

ul.group-concat {
	padding:0;
	margin: 0;
}
.group-concat li { 
	display: none;
	list-style: none;
}
.group-concat li:first-of-type { 
	display: list-item; 
}
.expand-header {
	position: relative;
	left: -18px;
}
.checkbox.list {
	margin-right: 0.75em;
}
.stretch {
	width: 100%;
}
.one-third {
	width: 33%;
}
.one-third .input-append, .one-third .input-prepend {
  margin-bottom:0;
}
.table-striped tbody > tr > td.highlight {
	background-color: #CAE1FF;
}
.ninja {
	display: none !important;
	visibility: hidden;
}
.btn-toggle {
	margin:1em inherit;
}
.notreg input, .notreg select, .notreg a, .notreg a:hover, .notreg a:visited {
	color:#c00; !important
}
.notreg input:focus, .notreg select:focus {
	color:#555; !important
}
.exhibiting td.company a {
	padding-left:20px;
	background:transparent url('/img/pumpershow_logo.png') no-repeat scroll 0 0;
}
.advertising td.company a {
	padding-left:20px;
	background:transparent url('/img/oscar.png') no-repeat scroll 0 0;
	background-size: 16px;
}
#staff_list .controls {
	clear:both;
	position:relative;
}
#staff_list .checkbox {
	position:absolute;
	top: 0;
	left: -20px;	
}
.clear {
	clear: both;
}
.vertical-spacer {
	margin: 2em;
}
table.checklist th, table.checklist td {
	font-size:75%;
}
table.checklist tr.printed td {
	font-weight:bold;
}
/* badge printing styles */
@media print {
	.navbar {
		display:none;
	}
}
@media all {
	.pb	{ display: none; }
	.vcard .photo, .vcard .no-qr-code {
		display:block;
		height:2in;
		width:2in;
		margin: 0 auto;
	}
	.vcard {
		padding-top:1.7in;
		page-break-before: always;
		line-height:1.1;
	}
	.vcard:first-child{
		page-break-before: auto;
	}
	.given-name {
		font-weight:900;
	}
	.special_pass {
		position:relative;
	}
	.left-banner, .right-banner {
		word-wrap: break-word; 
		display:block;
		font-weight:900;
		font-size:1in;
		position:absolute;
		top:1.5in;
	}
	.left-banner { 
		left:0;
	}
	.right-banner { 
		right:0;
	} 
	.family-name, .secondary_info { 
		font-weight:normal; 
	}
	.f1 { font-family: Arial, sans-serif; }
	.f1 .given-name { font-family: "Arial Black", Arial, sans-serif; }
	.vcard p {
		margin:0;
		text-align: center;
	}
}
@media print {
	.container, body { 
		width: auto !important;
		margin:0 !important;
		padding:0 !important;
	}
	.cover_page {
		page-break-before: always;
		padding-top:7in;
		padding-left:4.1in;
	}
	.cover_page:first-of-type {
		page-break-before: avoid; /* the noid */
	}
	.mailing_label {
		height:1.25in;
	}
}
/* see https://github.com/danielfarrell/bootstrap-combobox/blob/master/css/bootstrap-combobox.css */
.combobox-container {
  margin-bottom: 5px;
  *zoom: 1;
}
.combobox-container:before,
.combobox-container:after {
  display: table;
  content: "";
}
.combobox-container:after {
  clear: both;
}
.combobox-container input,
.combobox-container .uneditable-input {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}
.combobox-container input:focus,
.combobox-container .uneditable-input:focus {
  position: relative;
  z-index: 2;
}
.combobox-container .uneditable-input {
  border-left-color: #ccc;
}
.combobox-container .add-on {
  float: left;
  display: inline-block;
  width: auto;
  min-width: 16px;
  height: inherit !important;
  margin-right: -1px;
  padding: 4px 5px;
  font-weight: normal;
  color: #999999;
  text-align: center;
  text-shadow: 0 1px 0 #ffffff;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
  
}
.combobox-container .active {
  background-color: #a9dba9;
  border-color: #46a546;
}
.combobox-container input,
.combobox-container .uneditable-input {
  float: left;
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}
.combobox-container .uneditable-input {
  border-left-color: #eee;
  border-right-color: #ccc;
}
.combobox-container .add-on {
  margin-right: 0;
  margin-left: -1px;
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}
.combobox-container input:first-child {
  *margin-left: -160px;
}
.combobox-container input:first-child + .add-on {
  *margin-left: -21px;
}
.combobox-container select {
  display: inline-block;
  width: 0;
  height: 0;
  border: 0;
  padding: 0;
  margin: 0;
  text-indent: -99999px;
  *text-indent: 0;
}
.form-search .combobox-container,
.form-inline .combobox-container {
  display: inline-block;
  margin-bottom: 0;
  vertical-align: top;
}
.form-search .combobox-container .add-on,
.form-inline .combobox-container .add-on {
  vertical-align: middle;
}
.combobox-selected .combobox-clear {
  display: inline-block;
}
.combobox-selected .caret {
  display: none;
}
.combobox-clear {
  display: none;
  width: 14px;
  height: 14px;
  line-height: 14px;
  vertical-align: top;
  opacity: 0.3;
  filter: alpha(opacity=30);
}
.dropdown:hover .combobox-clear,
.open.dropdown .combobox-clear {
  opacity: 1;
  filter: alpha(opacity=100);
}
.btn .combobox-clear {
  margin-top: 1px;
  margin-left: 1px;
}
.btn:hover .combobox-clear,
.open.btn-group .combobox-clear {
  opacity: 1;
  filter: alpha(opacity=100);
}
.typeahead-long {
  max-height: 300px;
  overflow-y: auto;
}
.control-group.error .combobox-container .add-on {
  color: #B94A48;
  border-color: #B94A48;
}
.control-group.error .combobox-container .caret {
  border-top-color: #B94A48;
}
.control-group.warning .combobox-container .add-on {
  color: #C09853;
  border-color: #C09853;
}
.control-group.warning .combobox-container .caret {
  border-top-color: #C09853;
}
.control-group.success .combobox-container .add-on {
  color: #468847;
  border-color: #468847;
}
.control-group.success .combobox-container .caret {
  border-top-color: #468847;
}
.btn .combobox-clear [class^="icon-"] {
  line-height: 1.4em;
}
.readership-num {
  font-size: 200%;
  text-indent: 1em;
  font-weight: bold;
  line-height: 1.6em;
}
.indent {
	padding-left: 2em;
}
.underline {
	 text-decoration: underline;
}
.full-width {
	width:100%;
}
.flexbuttons {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
	flex-direction: row nowrap;
	-webkit-flex-flow: row nowrap; 
	flex-flow: row nowrap;
}
.flexbuttons>.btn {
	flex-grow: 1;
	-webkit-flex: 1 auto; 
	flex: 1 auto;
	margin: 1px;
}
.well form, .well table {
	margin: 0;
}