﻿/* For App doc views and pdfs */
.app-page {
	page-break-inside: avoid;
}

html {
	background: none;
}

body {
	background: none;
}

input[type=checkbox].checkbox, input[type=radio].radiobox {
	opacity: 1 !important;
	position: initial;
	margin: initial;
	margin-left: 10px;
	margin-right: 5px;
	transform: scale(1.3);
	vertical-align: middle;
}

.app-form-printable .app-page .rank-slider-wrapper label input[type=radio][disabled].radiobox + span:before {
	top: -5px;
}

label.checkbox-inline, label.radio-inline {
	padding-left: 0px;
}

.app-form-printable .form-readonly label input[type=checkbox][disabled].checkbox + span:before, .app-form-printable .form-readonly label input[type=checkbox][disabled].checkbox:checked + span:before {
	background: #eee !important;
	border-color: #CCC !important;
	color: #A7A7A7;
	box-shadow: none !important;
}

label input[type=checkbox].checkbox + span:before {
	content: "\a0";
}

.app-form-printable .form-readonly label input[type=checkbox].checkbox + span:before {
	font-family: FontAwesome;
	font-size: 12px;
	border-radius: 0;
	content: "\a0";
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	padding: 1px;
	height: 12px;
	line-height: 12px;
	min-width: 12px;
	margin-right: 5px;
	border: 1px solid #bfbfbf;
	background-color: #f4f4f4;
	font-weight: 400;
	margin-top: -3px;
}

.app-form-printable .form-readonly label input[type=checkbox][disabled].checkbox.style-2:checked + span:before, .app-form-printable .form-readonly label input[type=checkbox][disabled].checkbox:checked + span:before {
	content: "";
	max-width: 12px;
	background-image: url("/includes/theme/css/SmartV4/svg/checkbox-checked.svg") !important;
	background-size: 50% 50% !important;
	background-size: cover !important;
}

.app-form-printable .form-readonly input[type=checkbox].checkbox {
	display: none;
}

/* radio */
.app-form-printable .form-readonly label input[type=radio][disabled].radiobox + span:before, .app-form-printable .form-readonly label input[type=radio][disabled].radiobox:checked + span:before {
	background: #eee !important;
	border-color: #CCC !important;
	color: #A7A7A7;
	box-shadow: none !important;
}

label input[type=radio].radiobox + span:before {
	content: "\a0";
}

.app-form-printable .form-readonly label input[type=radio].radiobox + span:before {
	font-family: FontAwesome;
	font-size: 12px;
	border-radius: 50%;
	content: "\a0";
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	padding: 1px;
	height: 12px;
	line-height: 12px;
	min-width: 12px;
	margin-right: 5px;
	border: 1px solid #bfbfbf;
	background-color: #f4f4f4;
	font-weight: 400;
	margin-top: -3px;
}

.app-form-printable .form-readonly label input[type=radio][disabled].radiobox.style-2:checked + span:before, .app-form-printable .form-readonly label input[type=radio][disabled].radiobox:checked + span:before {
	content: "";
	max-width: 12px;
	background-image: url("/includes/theme/css/SmartV4/svg/radio-checked.svg") !important;
	background-size: 50% 50% !important;
	background-size: cover !important;
}

.app-form-printable .form-readonly input[type=radio].radiobox {
	display: none;
}

.matrix .matrix-radio.radio-inline {
	margin-left: 0px;
	text-align: center;
}

.matrix-column.col {
	text-align: center;
}

.matrix-row-label {
	max-width: 150px !important;
	min-width: 150px;
	word-break: break-word;
}

.matrix-column.fake-column {
	max-width: 150px;
	min-width: 150px;
}

label.matrix-radio input[type=radio].radiobox + span {
	margin-right: 0px;
}

.matrix .matrix-radio.radio-inline input[type=radio].radiobox + span:before {
	margin-right: 0px;
}

/* Matrix Mobile Print Overrides */
/*.matrix > div .matrix-radio.radio-inline.flex-eq-w {
    flex: 1 1 0px !important;
}

.matrix > div .col.flex-eq-w {
    flex: 1 1 0px !important;
    word-break: break-word;
}

.matrix-wrapper .matrix {
    overflow-y: unset;
    overflow-x: unset;
}

.matrix-wrapper {
    overflow-x: auto;
}*/

.matrix {
	overflow: hidden !important;
}

	.matrix thead tr td {
		text-align: center;
	}

	.matrix thead tr .matrix-column {
		text-align: left;
	}

	.matrix .matrix-rows tr td {
		text-align: center;
	}

		.matrix .matrix-rows tr td.matrix-row-label {
			text-align: left;
		}

.matrix table {
    margin-bottom: 0px!important;
}

.form-field-container .form-field-description-tooltip {
    display: none!important;
}

/* class to show mmi scenario in popup by default */
.mmi-sce-content.collapse:not(.show) {
    display: block !important;
}

/* disable pointer events on collapse */
.eval-popup-forms #mmi_container .link-secondary {
    pointer-events: none;
}