body.embedded header,
body.embedded footer,
body.embedded #activity-titlebar{
	display: none;
}
body.embedded #body-inner .visible-embedded-block {
	display: block;
}
body.embedded #body-inner .visible-embedded-inline {
	display: inline;
}
body.embedded #body-inner,
body.embedded #content-inner,
body.embedded #content {
	background: #fff !important;
	border-color: none !important;
	border-image: none !important;
	border-style: none !important;
	border-width: none !important;
	margin: 0 0 0 0 !important;
	top: 0 !important;
}
body.embedded #content-inner {
	min-height: 300px;
}

body.embedded-compact #main-content {
	width: 100%;
}
body.embedded-compact #side-content {
	display: none;
}

/* bootstrap overrides */
body.embedded #content.container {
	width: auto;  /* removes limited 940px */
}
body.embedded .nav-pills a,
body.embedded .breadcrumb a {
	text-transform: uppercase;
}
body.embedded fieldset,
body.embedded .well,
body.embedded .breadcrumb {
	background-color: #f9f9f9;
	border: none;
	border-radius: 8px;
	box-shadow: none;
}
body.embedded fieldset{
	padding: 10px 20px;
}
body.embedded .progress,
body.embedded .bar {
	box-shadow: none;
}
body.embedded .bar {
	background: rgb(43,117,191); /*rgb(79, 191, 44);*/
}

/* jquery-ui overrides */
body.embedded .ui-widget-overlay {
	background: #fff 50% 50% repeat-x;
	opacity: 0.75;
}

@media screen and (max-width: 720px) {
	body.embedded .form-actions {
		padding: 12px 0;
	}

	body.embedded .form-actions .btn,
	body.embedded .form-actions .input[type=submit]{
		margin: 4px 0;
		width: 100%;
	}
}