/* BootStrap Overrides */
html,
body {
	font-size: 1em;
}

h1 {
	font-size: 2.5em;
	font-size: 2.5rem;
}

h2 {
	font-size: 2em;
	font-size: 2rem;
}

h3 {
	font-size: 1.75em;
	font-size: 1.75rem;
}

h4 {
	font-size: 1.5em;
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25em;
	font-size: 1.25rem;
}

h6 {
	font-size: 1em;
	font-size: 1rem;
}

.btn {
	font-size: 1em;
	font-size: 1rem;
	padding: 0.42em 0.85em;
}

.btn-group-lg > .btn,
.btn-lg {
	font-size: 1.28em;
	font-size: 1.28rem;
	padding: 0.714em 1.14em;
}

.btn-group-sm > .btn,
.btn-sm {
	font-size: 0.857em;
	font-size: 0.857rem;
	padding: 0.357em 0.714em;
}

.form-control {
	font-size: 1em;
	font-size: 1rem;
}

/* End Overrides */

/* Dropzone */
#attachment-dropzone {
	border: dotted;
	min-height: 9em;
}

.dropzone {
	min-height: 0px;
	border: none;
	background: none;
	padding: 0;
}

.dropzone.dz-drag-hover {
	border-style: none;
}

.dropzone .dz-preview .dz-details .dz-filename {
	white-space: normal;
}

.dropzone .dz-preview {
	width: 200px;
	overflow-wrap: break-word;
}

.dropzone .dz-preview .dz-image {
	overflow: visible;
	width: 200px;
	overflow-wrap: break-word;
}

.dropzone .dz-preview .dz-details .dz-filename:not(:hover) {
	overflow: visible;
	text-overflow: none;
	overflow-wrap: break-word;
}

.dropzone .dz-preview .dz-details {
	padding: 1em 1em;
}

.dropzone .dz-preview:hover,
.dropzone .dz-preview:focus {
	z-index: 1000;
}

.dropzone .dz-preview.dz-error:hover .dz-error-message,
.dropzone .dz-preview.dz-error:focus .dz-error-message {
	opacity: 1;
	pointer-events: auto;
}

.dropzone .dz-preview .dz-error-message {
	top: 150px;
}

/* backup file upload */
.btn-file {
	position: relative;
	overflow: hidden;
}

.btn-file input[type='file'] {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	font-size: 100px;
	text-align: right;
	filter: alpha(opacity=0);
	opacity: 0;
	outline: none;
	background: white;
	cursor: inherit;
	display: block;
}

/* general defaults for TED Public */

/* element styles */
blockquote {
	display: block;
	-webkit-margin-before: 1em;
	-webkit-margin-after: 1em;
	-webkit-margin-start: 40px;
	-webkit-margin-end: 40px;
}

/* Page Containers */
.content-container {
	min-height: 600px;
}

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

.offscreen {
	position: absolute;
	left: -999em;
}

.checkbox-container {
	display: table;
}

.checkbox-input {
	display: table-cell;
}

.checkbox-label-right {
	display: table-cell;
}

.checkbox-container label,
.checkbox-container input {
	cursor: pointer;
}

.yes-no-options-label,
.yes-no-options {
	cursor: pointer;
}

.yes-no-options-label {
	padding: 0;
}

/* MI.Gov Banner */
.navbar.tenant-navbar {
	background-color: #505060;
	border-radius: 0px;
	border: none;
	min-height: 44px;
}

.tenant-navbar-nav > li {
	height: 44px;
}

.tenant-navbar .navbar-nav > li > a {
	padding-top: 12px;
	padding-bottom: 12px;
}

.tenant-navbar .navbar-nav > li > a {
	color: #ffffff;
}

.tenant-navbar .navbar-nav > li > a:hover,
.tenant-navbar .navbar-nav > li > a:focus {
	background-color: #ffffff;
}

.tenant-navbar .tenant-brand {
	background-image: url('https://www.michigan.gov/images/miniMIgovLogo.png');
	background-repeat: no-repeat;
	color: #ffffff;
	display: inline-block;
	background-position: 12px 4px;
	height: 44px;
	margin-left: 15px;
	padding: 12px 12px 12px 50px;
}

.tenant-navbar .tenant-brand:hover,
.tenant-navbar .tenant-brand:focus {
	background-position: 12px -42px;
	background-color: #ffffff;
	color: #000000;
	text-decoration: none;
}

.tenant-navbar .navbar-toggle {
	border: none;
	border-radius: 0;
	height: 44px;
	color: #ffffff;
	margin: 0 0 0 15px;
}

.tenant-navbar .navbar-toggle:hover,
.tenant-navbar .navbar-toggle:focus {
	background-color: #ffffff;
	color: #000000;
}

.tenant-navbar .navbar-collapse {
	border: 0;
	margin-left: 0px;
	margin-right: 0px;
	width: 100%;
}

.agency-banner .banner-border {
	border-bottom: 3px solid #08a154;
	width: 100%;
}

@media only screen and (min-width: 768px) {
	.agency-banner .banner-left {
		padding-right: 0;
	}

	.agency-banner .banner-right {
		padding-left: 0;
	}

	.agency-banner .banner-border {
		float: right;
	}
}

/*
    Fixed Form Back To Top Header
 */
.fixed-back-to-top {
	bottom: 0;
	position: fixed;
	left: auto;
	right: 0;
	text-align: right;
	margin: 3em 3em;
	z-index: 1000;
}

.fixed-back-to-top-i {
	vertical-align: bottom;
}

@media screen and (max-width: 1020px) {
	.fixed-back-to-top {
		margin: 3em 1em;
	}

	.fixed-back-to-top span {
		display: none;
	}
}

/*
   footer styles
 */
.footer-links {
	padding-top: 4px;
}

.footer-links li {
	padding: 0;
	margin: 0;
}

.footer-links a:link,
.footer-links a:visited {
	color: #6262fb;
	text-decoration: none;
	display: inline-block;
	width: 10.9em;
	text-align: center;
}

.footer-links a:hover,
.footer-links a:focus {
	text-decoration: underline;
}

.footer-links a:active {
	color: #ff0000;
}

.tenant-footer {
	border-top: 1px solid #dddddd;
	margin-top: 20px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.tenant-footer li {
	display: inline;
}

@media only screen and (max-width: 480px) {
	.tenant-footer ul {
		margin-bottom: 10px;
		-webkit-padding-start: 0;
		-webkit-margin-before: 0;
		-webkit-margin-after: 0;
	}

	.tenant-footer li {
		padding: 0;
	}

	.tenant-footer li a {
		display: block;
		padding: 5px;
	}
}

/* Form Styles */
.alert-block {
	margin: 10px 0;
	display: block;
	font-weight: 400;
}

/* FontAwesome Override for Form Feedback Icons */
.form-horizontal .has-feedback .form-control-feedback {
	top: 3px;
	right: 16px;
}

.form-horizontal .select-list.has-feedback .form-control-feedback {
	right: 26px;
}

/* Form display */
.required:after {
	content: '*';
	margin-left: 2px;
	color: #a94442;
}

label input[type='checkbox'] {
	margin-right: 8px;
	vertical-align: top;
}

.checkbox-container {
	cursor: pointer;
}

/* More information (help) and important field markers */
.context-container {
	padding-left: 0;
}

.context-item {
	display: inline;
	margin-right: 3px;
}

.toggle-help-text {
	padding: 3px 10px;
}

/*
    Help button styles
 */
.help-marker {
	color: #3498db;
}

.important-marker {
	color: #f39c12;
}

.important-marker:hover,
.important-marker:focus {
	color: #e67e22;
}

/* Field feedback - errors and help text */
.form-control-feedback {
	display: none;
}

.has-feedback .form-control-feedback {
	display: block;
}

.checkbox-container label {
	padding-left: 10px;
	vertical-align: top;
}

/* Section action buttons */
.clear-sub-section-action {
	margin-top: 20px;
	margin-bottom: 10px;
}

@media only screen and (max-width: 990px) {
	.clear-sub-section-action {
		margin-top: 0;
		margin-bottom: 10px;
	}
}

/* Confirmation page */
.confirmation-container .jumbotron h1 {
	margin-top: 0;
}

.confirmation-container {
	padding-top: 40px;
}

#button-section {
	margin-top: 2em;
	background-color: #efefef;
	padding: 12px 0;
}

.success-button-group {
	padding-bottom: 1em;
}

[data-json-wrapper] {
	display: none;
}

.inline-confirm,
.inline-confirm:hover,
.inline-confirm:active,
.inline-confirm:focus {
	background-color: red;
	color: white;
}

/* persist.js -- remember me, remember this X interface */
.persist-this-data-checkbox-parent,
.load-persisted-data-button,
.hide-persisted-data-button {
	padding: 0.5em 0.5em;
	cursor: pointer;
	border-radius: 4px 4px;
	display: block;
	font-weight: bold;
	background-color: transparent;
	border: none;
}

.persist-this-data-checkbox-parent {
	padding-left: 0;
}

.load-persisted-data-button:hover,
.load-persisted-data-button:focus,
.hide-persisted-data-button:hover,
.hide-persisted-data-button:focus,
.persist-ui-selectable-item:hover,
.persist-ui-selectable-item:focus {
	background-color: #3498db;
	color: white;
}

.load-persisted-data-text {
	padding-left: 0.4em;
}

.persist-this-data-checkbox-wrapper,
.persist-loader-wrapper,
.persist-cancel-wrapper {
	display: inline-block;
}

.persist-loader-wrapper {
	margin-bottom: 1em;
}

.persist-list-wrapper li {
	padding: 8px 4px;
}

.persist-ui-selectable-item {
	cursor: pointer;
	display: table-cell;
	padding: 4px;
	width: 85%;
}

.persist-delete-item-button {
	vertical-align: middle;
	cursor: pointer;
	display: table-cell;
	text-align: center;
	border-left: 1px solid #efefef;
	width: 15%;
}

.persist-delete-item-button:hover,
.persist-delete-item-button:focus {
	background-color: red;
	color: white;
}

.persist-list-wrapper {
	overflow: hidden;
	padding-left: 0.8em;
}

.persist-list-wrapper ul {
	padding: 0;
	list-style: none;
	margin-bottom: 2px;
}

.persist-list-wrapper ul:focus {
	outline: none;
}

.persist-list-wrapper ul li {
	display: table;
	width: 100%;
	padding: 0;
}

.persist-cancel-wrapper {
	margin-bottom: 10px;
}

/* section clone: add another X */
.add-optional-section-button,
.remove-optional-section-button {
	vertical-align: text-top;
}

.remove-optional-section-button {
	margin-left: 1em;
}

.add-optional-section-button {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

/* reset: reset sections */
fieldset.modified .reset-button-ui {
	display: inherit;
}

.reset-button-ui button.reset-button {
	float: right;
	margin-bottom: 1em;
}

/*
  section classes
 */
.section-header {
	display: inline-block;
	line-height: 30px;
	vertical-align: middle;
	margin: 0;
}

.section-reset-button {
	line-height: 18px;
	vertical-align: text-top;
}

.section-underline {
	display: inline-block;
	width: 100%;
	padding: 0;
	margin-bottom: 20px;
	font-size: 21px;
	line-height: inherit;
	color: #333;
	border: 0;
	border-bottom: 1px solid #e5e5e5;
}

.legend-wrapper {
	display: table;
	width: 100%;
	padding: 0;
	margin-bottom: 20px;
	color: #333;
	border: 0;
	border-bottom: 1px solid #e5e5e5;
}

.legend-wrapper .left-cell,
.legend-wrapper .right-cell {
	display: table-cell;
}

.legend-wrapper .right-cell {
	text-align: right;
	padding-right: 14%;
	padding-bottom: 6px;
}

legend {
	display: block;
	width: 100%;
	padding: 0;
	margin-bottom: 0px;
	font-size: 21px;
	line-height: inherit;
	color: #333;
	border: 0;
	border-bottom: none !important;
}

/*
  Skip to content link styles
 */
.skip-to-content-link:focus,
.skip-to-content-link:active {
	background-color: white;
	clip: auto;
	color: #333;
	height: 44px;
	left: 0;
	margin: 0;
	overflow: visible;
	padding: 12px 10px;
	position: absolute;
	top: 0;
	width: auto;
	z-index: 999;
}

/*
   optional workflow styles
 */
.optional-workflow-button-wrapper {
	display: block;
	padding-bottom: 1em;
}

.optional-sections-heading {
	display: inline-block;
	margin-top: 0.2em;
}

.optional-section-parent-wrapper {
	border-top: 4px solid #08a154;
}

.optional-section-parent-wrapper h2,
.optional-section-parent-wrapper .context-tooltip {
	display: inline-block;
	margin-bottom: 10px;
}

/* Tool tip help */
.tooltip.top .tooltip-arrow {
	top: initial !important;
}

.fa-2x {
	font-size: 1.5em;
}

.underline {
	text-decoration: underline;
}

.landing-container {
	padding-top: 40px;
}

.revealing-fieldset {
	overflow: hidden;
	transition: all;
}

.copyright {
	font-size: 80%;
	padding-top: 10px;
}

.extra-top-margin {
	margin-top: 1em;
}

.title {
	font-weight: bold;
}

.intro {
	font-style: italic;
	color: navy;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
	margin-right: 10px;
}

.float-right:first-of-type {
	margin-right: 17%;
}

/* additional margin/whitespace for specific buttons and fieldsets */
.remove-clone-fieldset-btn,
.reset-button {
	margin-bottom: 6px;
}

fieldset {
	margin-bottom: 18px;
}

.section-clone-ui {
	margin-top: -14px;
}

section > div > div,
.section-header-wrapper {
	margin-bottom: 24px;
}

form.review .show-in-review:not(button) {
	visibility: visible;
	display: block;
}

form:not(.review) .show-label-in-review {
	visibility: collapse;
	max-height: 0;
}

form.review .hide-in-review,
form.review .optional-section-parent-wrapper > h2,
form.review .reset-button,
form.review .remove-optional-section-button,
form.review .add-optional-section-button,
form.review .toggle-help-text,
form.review .help-marker,
form.review .section-clone-ui,
form.review .add-clone-fieldset-btn,
form.review .remove-clone-fieldset-btn {
	display: none;
}

form.review .optional-section-parent-wrapper {
	border-top: none;
}

form:not(.review) .show-in-review {
	display: none;
}

form.review button.show-in-review {
	display: inline-block;
}

form .hidden-for-review {
	display: none;
}

form.review fieldset {
	background: #eee;
	border-radius: 10px;
	padding-top: 25px;
	padding-bottom: 25px;
}

form.review .form-control {
	color: #0f0f0f;
	border: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
}

form.review .form-group {
	margin: 0.3em;
	padding: 0;
}

.form-control.review {
	cursor: pointer;
}

.form-control.review:hover,
.form-control.review:focus {
	border-color: #2b542c;
	-webkit-box-shadow:
		inset 0 1px 1px rgba(0, 0, 0, 0.075),
		0 0 6px #67b168;
	box-shadow:
		inset 0 1px 1px rgba(0, 0, 0, 0.075),
		0 0 6px #67b168;
}

.review-label {
	color: #3c763d;
}

form.review input:not(.review),
form.review select:not(.review),
form.review .alert.alert-info,
form .summary:not(:disabled),
form .review:disabled,
form .review:not(.input-has-value),
form .review-label:not(.input-has-value),
form.review .col-sm-8.col-xs-10:not(.input-has-value),
form:not(.review) .review-label,
form:not(.review) .review,
form.review label:not(.review-label),
form.review .no-value,
form.review .persist-list-wrapper,
form .review .alert-info,
form.review .persist-button-container,
form.review .dropzone-instructions,
form.review .add-optional-section-button {
	display: none !important;
}

.submission-subtype-group {
	list-style: none;
	padding: 0 0 0.8em 0;
	margin: 0;
}

.submission-subtype-group label,
.submission-subtype-group input {
	cursor: pointer;
}

/* Dialog box styles */
.alert-message-wrapper {
	padding-bottom: 1em;
}
