﻿
.crmEntityFormView {
	clear: both;
}

.crmEntityFormView .form-actions {
	margin-top: 20px;
}

span.crmEntityFormView {
	display: block;
}

.crmEntityFormView table.tab {
	margin-bottom: 20px;
	width: 100%;
}

.crmEntityFormView table.tab > caption {
	color: inherit;
	font-family: inherit;
	font-size: 24px;
	line-height: 40px;
	border-bottom: 1px solid #EEEEEE;
	margin: 0 0 20px 0;
	text-align:left;
	-ms-text-rendering: optimizelegibility;
	    text-rendering: optimizelegibility;
}

.crmEntityFormView table.section:first-child {
	margin: 0;
}

.crmEntityFormView table.section {
	margin-top: 20px;
	table-layout: fixed;
	width: 100%;
}

.crmEntityFormView table.section caption {
	margin: 0 0 10px 0;
	padding: 0 0 5px 0;
	text-align: left;
	font-weight: bold;
}

.crmEntityFormView table.section caption.show-bar {
	border-bottom: 1px solid #EEEEEE;
	padding-bottom: 4px;
}

.crmEntityFormView .cell {
	padding: 0 0 20px 20px;
	/*width: 50%;*/
}

.crmEntityFormView .cell:first-child {
	padding-left: 0;
}

.crmEntityFormView table.tab td {
	padding-left: 20px;
}

.crmEntityFormView table.tab td:first-child {
	padding-left: 0;
}

.crmEntityFormView table.table td {
	padding: 8px;
}

.crmEntityFormView table.table td:first-child {
	padding: 8px;
}

@media (max-width: 767px) {
	.crmEntityFormView table.section {
		table-layout: auto;
	}

	.crmEntityFormView .cell {
		display: block;
		margin-bottom: 15px;
		padding: 0;
		width: 100%;
	}

	.crmEntityFormView table.tab td.cell {
		display: block;
		margin-bottom: 15px;
		padding: 0;
		width: 100%;
	}

	.crmEntityFormView table.tab col {
		width: 100%;
	}
}

.crmEntityFormView .cell div.info {
	float: left;
}

.crmEntityFormView .cell div.control {
	clear: both;
}

.crmEntityFormView .cell div.info.required label:after {
	content: ' *';
	color: red;
}

.crmEntityFormView .cell div.info.required div.validators {
	display: none;
}

.crmEntityFormView .cell div.info div.validators {
	margin: 0 0 0 3px;
	float: left;
	color: Red;
}

.crmEntityFormView td.cell {
	vertical-align: top;
}

.crmEntityFormView .cell label {
	float: left;
	display: inline;
}

.crmEntityFormView .cell input[type=text], .crmEntityFormView .cell select, .crmEntityFormView .cell textarea {
	float:left;
	width: 100%;
}

.crmEntityFormView .cell div.control span.checkbox {
	float: left;
	margin: 0;
}

.crmEntityFormView .cell div.control span.checkbox input[type="checkbox"] {
	margin-left: 0;
}

.crmEntityFormView .datetime-cell input.date {
	width: 75px;
}

.crmEntityFormView .datetime-cell select.time {
	width: 100px;
}

.crmEntityFormView .empty-cell {
	padding: 0;
}

.crmEntityFormView .empty-cell:only-child {
	display: none;
}

.crmEntityFormView .web-resource-cell {}

.crmEntityFormView .web-resource-cell iframe {}

.crmEntityFormView .cell .picklist input[type="radio"] {
	margin: 2px 5px 5px 0;
	vertical-align: top;
}

.crmEntityFormView .cell .picklist.horizontal input[type="radio"] {
	margin-left: 10px;
}

.crmEntityFormView .cell .picklist input[type="radio"]:first-child {
	margin-left: 0;
}

.crmEntityFormView .cell .picklist.horizontal span:not(:first-child) input[type="radio"] {
	margin-left: 10px;
}

.crmEntityFormView .cell .picklist label {
	float: none;
	font-weight: normal;
}

/* Align checkbox to the left of the label */
.crmEntityFormView .cell.checkbox-cell div.info {
	float: none;
	clear: none;
	display: inline-block;
	*display: inline; /* IE7 */
	padding-left: 20px;
}
.crmEntityFormView .cell.checkbox-cell div.control {
	clear: none;
	float: left;
	display: inline;
}
.crmEntityFormView .cell.checkbox-cell div.info div.validators {
	display:inline;
	float: left;
	clear: none;
}
.crmEntityFormView .cell.checkbox-cell label {
	clear: none;
	float: none;
	display: inline;
}
/* End - Align checkbox to the left of the label */

.crmEntityFormView .cell.checkbox-cell:first-child {
	padding: 0 10px 0 0;
}

/* Boolean formatted as radio button list */
.crmEntityFormView .cell.boolean-radio-cell input[type="radio"] {
	margin: 2px 5px 5px 10px;
	vertical-align: top;
}
.crmEntityFormView .cell.boolean-radio-cell input[type="radio"]:first-child {
	margin-left: 0;
}

/*.crmEntityFormView .cell.boolean-radio-cell .boolean-radio span:nth-child(2) input[type="radio"] {
	margin-left: 10px;
}*/

.crmEntityFormView .cell.boolean-radio-cell label {
	float: none;
	display: inline;
}

.crmEntityFormView .boolean-radio label {
	font-weight: normal;
}

/* End Boolean formatted as radio button list */

.crmEntityFormView .validation-summary ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.crmEntityFormView .validator-text {
	color: red;
	margin: 0 0 0 3px;
}

.crmEntityFormView fieldset {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.crmEntityFormView fieldset legend + .well {
	margin-top: 0;
}

.crmEntityFormView div.row.full div.cell {
	width: 100%;
}

.crmEntityFormView .actions {
	border-top: 1px solid #e5e5e5;
	margin: 20px 0;
	padding: 19px 0 0 0;
}

.crmEntityFormView .actions:empty {
	display: none;
}

.crmEntityFormView .actions .btn:first-child {
	margin-right: 5px;
}

.crmEntityFormView .actions:after {
	content: "."; display: block; height: 0; clear: both; visibility: hidden;
}

/* Section override to support section title as the question label to a group of fields within the section
   such as Two Options in support of Multiple Choice questions.  If the section's "Show a line at top of 
   the section" property is false then the caption is styled like field labels. */
.crmEntityFormView table.section > caption {
	margin: 0;
	font-weight: normal;
}
/*.crmEntityFormView table.section {
	margin: 0;
}*/
.crmEntityFormView table.section > caption.show-bar {
	margin: 0 0 10px 0;
	padding: 0 0 5px 0;
	text-align: left;
	font-weight: bold;
	border-bottom: 1px solid #EEEEEE;
}
/* End - Section override */

div.message.success {
	background-color: #DFF0D8;
	border-color: #D6E9C6;
	color: #468847;
	-ms-border-radius: 3px 3px 3px 3px;
	border-radius: 3px 3px 3px 3px;
	margin-bottom: 18px;
	padding: 9px 39px 9px 14px;
	-ms-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

div.message.error {
	background-color: #F2DEDE;
	border-color: #EED3D7;
	color: #B94A48;
	-ms-border-radius: 3px 3px 3px 3px;
	border-radius: 3px 3px 3px 3px;
	margin-bottom: 20px;
	padding: 9px 39px 9px 14px;
	-ms-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Multiple Choice Matrix */
.crmEntityFormView .cell.picklist-matrix-cell {
	padding: 0;
}
.crmEntityFormView .picklist.horizontal.labels-top label {
	display: block;
}
.crmEntityFormView .picklist.horizontal.labels-top td {
	padding-right: 20px;
	text-align: center;
}
.crmEntityFormView .picklist-matrix-cell .picklist.horizontal.labels-top input[type="radio"] {
	margin-left: 0px;
}
.crmEntityFormView .picklist-matrix-cell div.info {
	width: 250px;
}
.crmEntityFormView .picklist-matrix-cell div.control {
	clear: none;
	float: left;
}
.crmEntityFormView .picklist-matrix-cell div.control .picklist label {
	visibility: hidden;
	height: 0px;
	display: block;
}
.crmEntityFormView table.section tr:first-child .picklist-matrix-cell div.control .picklist label {
	visibility: visible;
	height: auto;
	display: block;
}
.crmEntityFormView table.section tr:first-child .picklist-matrix-cell div.info {
	padding-top: 18px;
	vertical-align: bottom;
}
.crmEntityFormView table.section tr:first-child .picklist-matrix-cell div.control {
	margin-top: -10px;
	padding-top: 10px;
}
/* End - Multiple Choice Matrix */

/* Description */
.crmEntityFormView div.description {
	margin-top: -2px;
	margin-bottom: 2px;
}
.crmEntityFormView div.description.below {
	margin: 0;
}
.crmEntityFormView div.description.above {
	clear: both;
}
.crmEntityFormView div.description.right {
	float: right;
}
/* End - Description */

/* Rank Order */
.crmEntityFormView .cell.rank-order-cell {
	padding: 0 0 3px 0;
}
.crmEntityFormView .rank-order-cell div.info {
	padding-top: 3px;
	width: 150px;
}
.crmEntityFormView .rank-order-cell div.control {
	clear: none;
	float: left;
	width: 100px;
}
.crmEntityFormView .rank-order-cell .validator-text {
	color: red;
	padding: 0 0 0 3px;
}
/* End - Rank Order */

/* Constant Sum */
.crmEntityFormView .cell.constant-sum-cell {
	padding: 0 0 3px 0;
}
.crmEntityFormView .constant-sum-cell div.info {
	padding-top: 3px;
	width: 150px;
}
.crmEntityFormView .constant-sum-cell div.control {
	clear: none;
	float: left;
	width: 100px;
}
.crmEntityFormView .constant-sum-cell div.control input.integer {
	text-align: center;
}
.crmEntityFormView .constant-sum-cell .validator-text {
	color: red;
	float: left;
	margin: 7px 0 0 3px;
}
.crmEntityFormView .constant-sum-cell div.control input.total {
	clear: both;
	border: none;
	background-color: transparent;
	color: black;
	border-top: solid 1px #555;
	font-weight: bold;
	text-align: center;
	width: 30px;
	margin: 3px 0 0 0;
}
/* End - Constant Sum */

/* Stack Rank */
.crmEntityFormView .cell.stack-rank-cell {
	padding: 0 0 3px 0;
}
.crmEntityFormView .stack-rank-cell div.info {
	margin-top: 9px;
	width: 150px;
}
.crmEntityFormView .stack-rank-cell div.control {
	clear: none;
	float: left;
	width: 100px;
}
.crmEntityFormView .stack-rank-cell .validator-text {
	color: red;
	padding: 0 0 0 3px;
}
.crmEntityFormView .sr-cell {
	padding: 2px 25px;
	margin-top: 5px;
	margin-bottom: 5px;
	border: 1px solid black;
	float: left;
	line-height: 1.8em;
}
.crmEntityFormView .sr-cell:hover {
	cursor: pointer;
	background: #36566b;
	color: white;
}
.crmEntityFormView .selected-cell {
	background: #014083;
	color: white;
}
/* End - Stack Rank */

/* Progress Indicator */

ol.progress {
	height: auto;
	list-style: none;
	padding: 0;
}

ol.progress.left, ol.progress.right {
	width: 200px;
}

ol.progress.left {
	float: left;
}

ol.progress.right {
	float: right;
}

ol.progress:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

ol.progress li {
	color: #777;
	display: block;
	float: left;
	text-align: center;
	padding: 10px 15px;
}

ol.progress.left li, ol.progress.right li {
	clear: both;
	text-align: left;
	padding-left: 0;
	margin-left: 0;
	margin-top: 10px;
}

ol.progress li.active {
	background-color: #428BCA;
	color: white;
}

ol.progress li.completed {
	color: #555;
}

ol.progress li span.number {
	padding-right: 10px;
}

@media (max-width: 767px) {
	ol.progress li {
		display: block;
		float: none;
		text-align: left;
	}
}

/* Progress Bar Style */

div.progress {
	background-color: #F5F5F5;
	-ms-border-radius: 4px 4px 4px 4px;
	border-radius: 4px 4px 4px 4px;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
	-ms-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
	height: 20px;
	margin-bottom: 20px;
	overflow: hidden;
}

div.progress .bar.zero {
	color: #0f0f0f;
	text-shadow: none;
	text-indent: 10px;
}

/* Numeric (Step x of N) */

div.progress-numeric {
	margin: 20px 0 20px 0;
	padding: 10px;
	list-style: none;
	background: #fdfefd;
	border: solid 1px #f0f0f0;
	-moz-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
	-webkit-box-shadow: 3px 3px 3px 0 #CCCCCC;
	-moz-box-shadow: 3px 3px 3px 0 #CCCCCC;
	box-shadow: 3px 3px 3px 0 #CCCCCC;
	font-weight: bold;
}

div.progress-numeric span.number {
	background-color: #E0E0E0; /* background-color: #014083; */
	border-radius: 20px 20px 20px 20px;
	color: white;
	display: inline-block;
	font-size: 1.6em;
	height: 40px;
	line-height: 40px;
	text-align: center;
	vertical-align: middle;
	width: 40px;
}

div.progress-numeric span.number.total {
	background-color: #E0E0E0;
}

/* End - Progress Indicator */

/* ReadOnly */

.crmEntityFormView.readonly {
	padding-left: 0;
}

.crmEntityFormView.readonly .cell input:disabled,
.crmEntityFormView.readonly .cell select:disabled,
.crmEntityFormView.readonly .cell textarea:disabled {
	background: none;
	border: none;
	box-shadow: none;
	-moz-box-shadow: none;
	padding: 0;
}

.crmEntityFormView.readonly .cell div.info.required label:after {
	content: none;
}

.crmEntityFormView.readonly .cell div.info label {
	font-weight: bold;
}

/* Centered */

.crmEntityFormView.centered .cell div.info {
	width: 100%;
}

.crmEntityFormView.centered .cell div.info label {
	width: 100%;
	text-align: center;
}

.crmEntityFormView.centered .cell input[type="text"], .crmEntityFormView.centered .cell select, .crmEntityFormView.centered .cell textarea {
	text-align: center;
}

/* Web Form Purchase
------------------------------------------------------------*/
.payment,
.purchase-summary {
	margin-bottom: 20px;
	margin-top: 20px;
}

.purchase-summary .grand-total {
	font-weight: bold;
}

.purchase-summary .total,
.purchase-summary table.line-items .price,
.purchase-summary table.line-items .qty {
	text-align: right;
}

.purchase-summary .discount {
	color: red;
	vertical-align: top;
}

.purchase-summary .discount-name {
	color: orange;
}

.purchase-summary table.line-items .price del {
	color: #666;
}

.purchase-summary .line-item {
	border-bottom: 1px solid #e3e3e3;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.purchase-summary .line-item .column {
	vertical-align: text-top;
}

.purchase-summary .line-item .column.selection {
	float: left;
	width: 20px;
}

.purchase-summary .line-item .column.selection + .column.title {
	margin-left: 30px;
}

.purchase-summary .line-item .column input[type="checkbox"],
.purchase-summary table.line-items input[type="checkbox"] {
	margin: 0 10px 0 0;
}

.purchase-summary .line-item .quantity input {
	width: 30px;
}

.purchase-summary legend + .well {
	margin-top: 20px;
}

.purchase-summary table.line-items {
	margin-bottom: 10px;
	width: 100%;
}

.purchase-summary table.line-items td.title {
	width: 100%;
}

.purchase-summary table.line-items td.qty {
	white-space: nowrap;
	padding-right:5px;
}

.purchase-summary table.line-items td.price {
	white-space: nowrap;
}

.purchase-summary table.totals {
	width: 100%;
}

.purchase-summary table.totals tr.total td:first-child {
	width: 100%;
}

.purchase-summary table.totals tr.total td {
	padding-left: 10px;
}

.purchase-summary table.line-items th,
.purchase-summary table.line-items td {
	border-bottom: 1px solid #e3e3e3;
	line-height: 20px;
	padding: 9px 0;
	text-align: left;
	vertical-align: top;
}

@media (max-width: 991px) {
	.payment .form-horizontal .control-label {
		float: none;
		text-align: left;
	}

	.payment .form-horizontal .controls {
		margin-left: 0;
	}
}

/* Entity List Filter
------------------------------------------------------------*/
.entitylist-filter-option-group {
	vertical-align: top;
}

.entitylist-filter-option-text {
	width: 180px;
}