.jarviswidget-color-magenta > header {
	background: #6E3671;
}

.btn-primary {
	background-color: #464671;
	border-color: #363661;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
	background-color: #363661;
}

.text-primary {
	color: #6E3671;
}

.text-bold {
	font-weight: bold;
}

.text-nowrap {
	white-space: nowrap;
}

.no-top-bot-margin {
	margin-top: 0;
	margin-bottom: 0;
}

.form-group input[type=checkbox]:focus {
	/* reset to bootstrap-like style because the theme removes all outlining on focus which is stupid */
	outline: rgb(94, 158, 214) solid 2px !important;
}

.form-group input[type=checkbox]:checked + span {
	font-weight: 700;
}

.form-group input[type=checkbox]:checked + span p.note {
	font-weight: normal;
}

.form-actions.content-after {
	border-bottom: 1px solid rgba(0,0,0,.1);
	margin-bottom: 25px;
}

input[type=number] {
	text-align: right;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

table.table td {
	vertical-align: middle;
}

table.table td i.fa {
	font-size: 16px;
}

table.table tfoot td {
	background-color: #EEE;
}

table.table tfoot td.bg-primary {
	background-color: #6E3671;
	color: #fff;
}

table.table-condensed>thead>tr>th,
table.table-condensed>tfoot>tr>th,
table.table-condensed>tfoot>tr>td {
	padding: 1px 5px;
}

table.table-condensed>tbody>tr>td {
	padding: 1px 5px;
}

table th.icon-column {
	width: 16px;
}

table.tight-inputs div.col-md-9,
table.tight-inputs div.col-md-12 {
	padding: 0;
}

table.tight-inputs input {
	padding: 6px 2px;
}

table th.min-width,
table td.min-width {
	white-space: nowrap;
	width: 1%;
}

table tr.striped > td {
	background-color: #f9f9f9;
}

.primary-highlight {
	background-color: #debee0;
}

.table-bordered>thead>tr>th.primary-highlight,
.table-bordered>tbody>tr>th.primary-highlight,
.table-bordered>tfoot>tr>th.primary-highlight,
.table-bordered>thead>tr>td.primary-highlight,
.table-bordered>tbody>tr>td.primary-highlight,
.table-bordered>tfoot>tr>td.primary-highlight {
	border-color: #debee0;
}

.login-info a span {
	text-transform: none;
}

.error-message {
	color: #C00;
	font-weight: bold;
}

.red-icon {
	color: #C00 !important;
}

.alert-info a {
	color: #000;
}

.inline-block {
	display: inline-block;
}

/* needed for jQuery UI Dialog to not have a close button */
.no-close .ui-dialog-titlebar-close {
	display: none;
}

/* needed for jQuery UI Dialog to be over the nav */
.ui-widget-overlay {
	z-index: 1003;
}

/* paginator sort column indicators */
table thead th a.asc::after { font-family: 'Glyphicons Halflings'; content: "\e093"; margin-left: 3px; }
table thead th a.desc::after { font-family: 'Glyphicons Halflings'; content: "\e094"; margin-left: 3px; }

/* adjustments to jQuery autocompleter to force the width to be at least the size of the longest item */
.ui-autocomplete { width: auto; }
.ui-autocomplete .ui-menu-item a { white-space: nowrap; margin-right: 15px; }

/* used by the address element */
.address-city { width: 46%; display: inline-block; }
.address-state { width: 25%; display: inline-block; margin-left: 2%; height: auto; }
.address-zip { width: 25%; display: inline-block; margin-left: 2%; }

/* remove the goofed up inherit styling by the theme that causes bootstrap input groups to render buttons incorrectly within a dialog */
.ui-dialog button { font-size: 13px; }

/* make sure datepickers display ok in dialogs */
#ui-datepicker-div { z-index: 9999 !important; }

#logo img {
	width: 190px;
}

#main-fix {
	margin-left: 315px;
}

#header > :first-child, aside {
	width: 315px;
}

.fixed-ribbon #ribbon {
	left: 315px;
}

.hidden-menu #left-panel {
	left: -305px;
}

@media (min-width: 768px) and (max-width: 880px) {
	#left-panel {
		left: -315px;
	}
	.hidden-menu #main-fix {
		left: 305px;
	}
	.hidden-menu.fixed-ribbon #ribbon {
		left: 315px;
	}
}

@media (max-width: 767px) {
	#left-panel {
		left: -305px;
	}
	
	#main-fix {
		margin-left: 10px;
	}
}

.btn-sm, .btn-xs {
	padding-right: 20px;
	padding-left: 20px;
	margin-bottom: 5px;
}

@media print {
	.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
		float: left;
	}
	.col-md-12 {
		width: 100%;
	}
	.col-md-11 {
		width: 91.66666667%;
	}
	.col-md-10 {
		width: 83.33333333%;
	}
	.col-md-9 {
		width: 75%;
	}
	.col-md-8 {
		width: 66.66666667%;
	}
	.col-md-7 {
		width: 58.33333333%;
	}
	.col-md-6 {
		width: 50%;
	}
	.col-md-5 {
		width: 41.66666667%;
	}
	.col-md-4 {
		width: 33.33333333%;
	}
	.col-md-3 {
		width: 25%;
	}
	.col-md-2 {
		width: 16.66666667%;
	}
	.col-md-1 {
		width: 8.33333333%;
	}
	.col-md-pull-12 {
		right: 100%;
	}
	.col-md-pull-11 {
		right: 91.66666667%;
	}
	.col-md-pull-10 {
		right: 83.33333333%;
	}
	.col-md-pull-9 {
		right: 75%;
	}
	.col-md-pull-8 {
		right: 66.66666667%;
	}
	.col-md-pull-7 {
		right: 58.33333333%;
	}
	.col-md-pull-6 {
		right: 50%;
	}
	.col-md-pull-5 {
		right: 41.66666667%;
	}
	.col-md-pull-4 {
		right: 33.33333333%;
	}
	.col-md-pull-3 {
		right: 25%;
	}
	.col-md-pull-2 {
		right: 16.66666667%;
	}
	.col-md-pull-1 {
		right: 8.33333333%;
	}
	.col-md-pull-0 {
		right: auto;
	}
	.col-md-push-12 {
		left: 100%;
	}
	.col-md-push-11 {
		left: 91.66666667%;
	}
	.col-md-push-10 {
		left: 83.33333333%;
	}
	.col-md-push-9 {
		left: 75%;
	}
	.col-md-push-8 {
		left: 66.66666667%;
	}
	.col-md-push-7 {
		left: 58.33333333%;
	}
	.col-md-push-6 {
		left: 50%;
	}
	.col-md-push-5 {
		left: 41.66666667%;
	}
	.col-md-push-4 {
		left: 33.33333333%;
	}
	.col-md-push-3 {
		left: 25%;
	}
	.col-md-push-2 {
		left: 16.66666667%;
	}
	.col-md-push-1 {
		left: 8.33333333%;
	}
	.col-md-push-0 {
		left: auto;
	}
	.col-md-offset-12 {
		margin-left: 100%;
	}
	.col-md-offset-11 {
		margin-left: 91.66666667%;
	}
	.col-md-offset-10 {
		margin-left: 83.33333333%;
	}
	.col-md-offset-9 {
		margin-left: 75%;
	}
	.col-md-offset-8 {
		margin-left: 66.66666667%;
	}
	.col-md-offset-7 {
		margin-left: 58.33333333%;
	}
	.col-md-offset-6 {
		margin-left: 50%;
	}
	.col-md-offset-5 {
		margin-left: 41.66666667%;
	}
	.col-md-offset-4 {
		margin-left: 33.33333333%;
	}
	.col-md-offset-3 {
		margin-left: 25%;
	}
	.col-md-offset-2 {
		margin-left: 16.66666667%;
	}
	.col-md-offset-1 {
		margin-left: 8.33333333%;
	}
	.col-md-offset-0 {
		margin-left: 0%;
	}
	.visible-xs {
		display: none !important;
	}
	.hidden-xs {
		display: block !important;
	}
	table.hidden-xs {
		display: table;
	}
	tr.hidden-xs {
		display: table-row !important;
	}
	th.hidden-xs,
	td.hidden-xs {
		display: table-cell !important;
	}
	.hidden-xs.hidden-print {
		display: none !important;
	}
	.hidden-md {
		display: none !important;
	}
	.visible-md {
		display: block !important;
	}
	table.visible-md {
		display: table;
	}
	tr.visible-md {
		display: table-row !important;
	}
	th.visible-md,
	td.visible-md {
		display: table-cell !important;
	}
	a[href]:after {
		content: none;
	}
	#header, #left-panel, #ribbon {
		display: none;
	}
	#main-fix, body, #content {
		margin-left: 0;
		overflow: visible;
	}
	.form-actions {
		display: none;
	}
}