/* ----------
FORMS */

form {
	padding: 1em;
}

fieldset {
	float: left;
	border: none;
	margin: 0;
	padding: 0;
	width: 350px;
}

fieldset h2 {
	margin-top: 0;
}

#message-preview {
	float: left;
	width: 400px;
}

#message-preview label {
	font-weight: bold;
}

#message-preview p {
	margin-top: 10px;
}

/* Products table on Add Monitoring Party page */
#productsTable {
	border: 0;
	border-spacing: 0;
	table-layout: fixed;
	/* width: 400px; */
	width: 600px;
	overflow: hidden;
}

.calibration-dateLabel {
	margin-bottom: 6px !important;
}

#productsTable th {
	border: 0;
	border-spacing: 0;
	padding: 0 0 10px 0;
	text-align: left;
}

#productsTable.col1 {
	width: 340px;
}

#productsTable.col2 {
	width: 60px;
}

.col2 p {
	margin-top: -16px;
}

#productsTable input[type="text"] {
	width: 60px;
}

#productsTable label {
	font-weight: normal;
	display: inline-block;
	margin-right: 20px;
	margin-left: 0px;
}

#productsTable #bacCheckbox,
#productsTable #reports_checkbox,
#productsTable #location_checkbox,
#productsTable #reliatraxAgencyCheckbox,
#productsTable #driving_resriction,
#productsTable #band_monitoring,
#productsTable #phone_by_outreach,
#productsTable #bac_visibility_checkbox {
	/* padding-left: 30px; */
	padding-left: 24px;
}

#productsTable #gps_checkbox,
#productsTable #gps_upload_frequency {
	padding-left: 60px;
}

#gps_upload_frequency label {
	margin-left: 0px;
	font-size: small;

}

.warning-box {
	position: relative;
	border: 3px solid #f5d847;
	width: 60%;
	padding: 5px;
	margin-bottom: 10px;
	font-size: smaller;
	display: none;
}

.warning-box:after,
.warning-box:before {
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.warning-box:after {
	border-color: rgba(247, 247, 247, 0);
	border-bottom-color: #f7f7f7;
	border-width: 5px;
	margin-left: -5px;
}

.warning-box:before {
	border-color: rgba(245, 216, 71, 0);
	border-bottom-color: #f5d847;
	border-width: 9px;
	margin-left: -9px;
}

#checkin_monitoring_section {
	padding: 10px 0 15px 0;
	border-top: 1px solid #ccc;
}

#productsTable #sentryCheckbox {
	width: 400px;
	display: inline-block;
}

#productsTable input[disabled]:not(#MonitoringPartyCalendarEnabled):not(#MonitoringPartyQuestionnairesEnabled):not(#OffenderCalendarEnabled):not(#MonitoringPartySentryEnabled):not(#MonitoringPartyReliatraxEnabled)+label,
.dimmed {
	color: Gray;
}

#resetDeviceSection {
	position: absolute;
	padding: 15px 15px 20px 0;
	margin: 40px 0 0 0;
	color: #640f01;
}

#btnBarSeparator {
	clear: both;
	height: 10px;
	border-bottom: 1px solid #ddd;
	margin: 10px 80px 10px 0;
}

#btnBar {
	clear: both;
	border-top: 1px solid #ddd;
	margin: 10px 80px 10px 0;
}

#btnBarSeparatorOffender {
	clear: both;
	height: 10px;
	border-bottom: 1px solid #ddd;
	margin: 0 50px 20px 0;
}

#btnBarSeparatorForm {
	clear: both;
	height: 10px;
	border-bottom: 1px solid #ddd;
	margin: 20px 50px 20px 0;
}

#spacerWithoutDeactivateBtn {
	float: left;
	width: 160px;
	height: 10px;
	padding: 0;
	margin: 0;
}

#cancelLink {
	float: left;
	padding: 15px 15px 20px 0;
	margin: 10px 10px 0 300px;
}

#form-delete-btn,
.form-delete-btn,
#form-perm-delete-btn,
#form-activate-btn {
	float: left;
	padding: 12px 25px;
	font-size: 1.2em;
	color: rgba(255, 255, 255, .95);
	background: none;
	background-color: #111111;
	border-radius: 4px;
	border: 1px solid #000;
	margin: 10px 10px 0 10px;
}

.form-delete-btn:hover,
#form-delete-btn:hover,
#form-perm-delete-btn:hover,
#form-activate-btn:hover {
	color: rgba(255, 255, 255, 1);
	background-color: #222222;
	cursor: pointer;
}


#form-change-password-btn {
	float: left;
	padding: 12px 25px;
	font-size: 1.2em;
	color: rgba(255, 255, 255, .95);
	background: none;
	background-color: #666;
	border-radius: 4px;
	border: 1px solid #000;
	margin: 10px 10px 0 10px;
}

#form-change-password-btn:hover {
	color: rgba(255, 255, 255, 1);
	background-color: #222222;
	cursor: pointer;
}

#form-save-btn,
.submit input[type="submit"],
#add-offender-save {
	/*float: left;*/
	padding: 12px 25px;
	/*padding: .3em 2em;*/
	font-size: 1.2em;
	/*font-size: 1.5em;*/
	color: #fff;
	background-color: #84231A;
	background-image: none;
	border-color: #080100;
	border-radius: 4px;
	border: 1px solid #290000;
	margin: 10px 10px 0 20px;
}

#form-save-btn:hover,
#reset-device-registration:hover,
.submit input[type="submit"]:hover,
#add-offender-save:hover {
	color: rgba(255, 255, 255, 1);
	background-color: #992605;
	cursor: pointer;
}


/* modal popup for confirmation */
.confirmation_dialog {
	display: none;
}

.bpopup-msg {
	font-family: helvetica, arial, sans-serif;
	font-size: 1em;
	margin: 10px;
}

.bpopup-btn {
	float: right;
	margin: 4px 8px;
	padding: 4px 8px;
}

.bpopup-btn:hover {
	color: #000;
}


/* Validation message below field when validation error occurs */
.error-message {
	font-size: 1em;
	text-align: center;
	color: rgb(182, 20, 12);
	/* Bright Red */
	margin: .1em 0 0.75em 0;
}

.message {
	font-size: 1.0em;
	font-weight: bold;
	color: rgb(182, 20, 12);
	/* Bright Red */
	margin-bottom: .5em;
}


/* put daily rates and notification options in new column to right of name/address */
#container form {
	width: 1120px;
	margin: 0;
}

#header {
	width: 100%;
}

#footer {
	clear: both;
	width: 100%;
}

legend {
	font-size: 1.5em;
	margin: 0 0 1em 0;
	padding: 0;
}


/*div.input {
	margin-bottom: 1em;
}*/



div.input label {
	display: block;
	font-weight: bold;
	margin-bottom: .2em;
}

div.input {
	margin-bottom: 1em;
}

#showInactiveCheckbox label {
	display: unset;
	font-weight: unset;
	margin-bottom: unset;
}

#date_of_birth {
	width: 25em;
	font-size: 1em;
	padding: .5em;
	margin-bottom: 3px;

	/* width: 20em; */
	border-radius: 3px;
	border: 1px solid transparent;
	border-bottom: 1px solid #DDD;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .39), 0 -1px 1px #FFF, 0 1px 0 #FFF;
}

.dwi_type {
	width: 21em;
	font-size: 1em;
	padding: .5em;
	margin-bottom: 3px;

	/* width: 20em; */
	border-radius: 3px;
	border: 1px solid transparent;
	border-bottom: 1px solid #DDD;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .39), 0 -1px 1px #FFF, 0 1px 0 #FFF;
}

.participant_type {
	width: 21em;
	font-size: 1em;
	padding: .5em;
	margin-bottom: 3px;

	/* width: 20em; */
	border-radius: 3px;
	border: 1px solid transparent;
	border-bottom: 1px solid #DDD;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .39), 0 -1px 1px #FFF, 0 1px 0 #FFF;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
	font-size: 1em;
	padding: .5em;
	margin-bottom: 3px;

	width: 20em;
	border-radius: 3px;
	border: 1px solid transparent;
	border-bottom: 1px solid #DDD;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .39), 0 -1px 1px #FFF, 0 1px 0 #FFF;
}

#text-note {
	font-size: smaller;
	margin-top: 4px;
	width: 75%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
	border: 1px solid #999;
	-webkit-box-shadow: 0px 0px 3x 1px rgba(44, 177, 221, .5);
	-moz-box-shadow: 0px 0px 3px 1px rgba(44, 177, 221, .5);
	box-shadow: 0px 0px 3px 1px rgba(44, 177, 221, .5);

	outline: #b3d3dd;
	auto 5px;
}

/* For Edit Forms page */
.question-section {
	display: block;
	margin: 5px 0;
}

.question-section.hidden {
	display: none;
}

.question-input {
	display: inline-block;
}

.question-explanation,
.question-notify {
	margin: 10px 0 10px 20px;
}

.question-section div.select label {
	font-weight: bold;
	font-size: 13px;
	margin-bottom: .4em;
}

.question-delete {
	cursor: pointer;
}

div.radios h4,
div.checkboxes h4 {
	margin-bottom: .2em;
}

div.radios label,
div.checkboxes label {
	font-weight: normal;
	display: inline-block;
	margin-right: 10px;
	margin-left: 5px;
}


/* display only space for 4 digits */
input[type="text"].ss-num {
	width: 3em;
}

#form-controls {
	width: 100%;
	clear: both;
}

.label {
	font-weight: bold;
	display: block;
}

#point-value {
	width: 4em;
}

#incentive-types {
	margin-bottom: 20px;
}


/* put state and timezone on same line for MPs*/
.state-selector,
.timezone-selector {
	display: inline-block;
	margin-right: 20px;
}

/* View Only Users Table */
#view-only-subjects-wrapper .dataTables_scrollFoot {
	display: none;
}

#view-only-subjects-wrapper .dataTables_scrollHead {
	z-index: 10;
}

#view-only-subjects-wrapper {
	height: 400px;
}

#data-table-view-only-subjects_filter {
	z-index: 100;
}

#view-only-subjects-wrapper,
#select-all-view-only {
	font-size: medium;
}

.datatable-scroll {
	overflow-x: auto;
	overflow-y: visible;
}

.basic-info,
#MonitoringPartyCustomPointDescription,
#IncentiveDescription {
	width: 35%;
}

#admin-checkbox {
	margin-right: 10px;
}

.osm-services {
	margin-bottom: 44px;
}

/* Edit Account */

.monitoring-staff {
	background: #fff;
	padding: 15px;
	border-radius: 5px;
	box-shadow: 1px 2px 12px #00000017;
	min-height: 360px;
	max-height: 360px;
	overflow-y: auto;
}

.ms-options.monitoring-staff ul {
	margin: 0;
	padding: 0;
}

.monitoring-staff .ms-search input {
	height: 37px !Important;
	line-height: 37px;
	border-radius: 47px;
	margin-bottom: 8px;
	padding: 0 0 0 12px;
	background: url(../img/multiple-select.png) no-repeat 100% -17px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
}

.ms-options.monitoring-staff li {
	margin-bottom: 12px;
	margin-top: 13px;
	font-size: 13px;
	display: flex;
	align-items: center;
	padding: 0;
}

.MainForm,
.monitoring-staff,
.col2 {
	margin-right: 25px;
}

.rightBox {
	background: #fff;
	padding: 15px;
	border-radius: 5px;
	box-shadow: 1px 2px 12px #00000017;
	min-height: 360px;
	max-height: 360px;
}

.rightBox #data-table-view-only-subjects_filter {
	display: none
}

.rightBox table.dataTable thead th {
	border: none
}

.rightBox table.dataTable caption {
	text-align: left;
	font-size: 20px;
	font-weight: bold;
	margin: 15px 0 4px 0;
}

div#view-only-subjects-wrapper.rightBox td label {
	font-size: 14px;
}

.MainForm {
	display: flex;
	justify-content: flex-start;
}

.osm-new-payment {
	float: right;
	position: absolute;
	top: 8px;
	right: 16px;
	top: 186px;
}

#select-payment-type {
	float: inline-end;
}

#showAddStaff {
	/*float: left;*/
	padding: 9px 10px;
	/*padding: .3em 2em;*/
	font-size: 1em;
	/*font-size: 1.5em;*/
	color: #fff;
	background-color: #28a745;
	background-image: none;
	border-color: #28a745;
	border-radius: 4px;
	/* border: 1px solid #290000; */
	/* margin: 10px 10px 0 20px; */
}

#showAddStaff:hover {
	color: rgba(255, 255, 255, 1);
	background-color: #1ebd43;
	cursor: pointer;
}

.staff-form {
	display: flex;
	gap: 10px;
	margin-top: 10px;
	align-items: center;
}

.staff-form input {
	padding: 6px 8px;
	width: 160px;
}

.staff-form button {
	padding: 9px 15px;
	cursor: pointer;
}

.staff-form {
	display: flex;
	gap: 15px;
	align-items: flex-start;
	/* IMPORTANT */
}

.save-staff-btn {
	background: #28a745;
	color: white;
	border: none;
}

.save-staff-btn:hover {
	background: #1bc242 !important;
}

.cancel-btn {
	background: #dc3545;
	color: white;
	border: none;
}

.cancel-btn:hover {
	background: #f33044 !important;
}

.error-msg {
	color: red;
	font-size: 12px;
	margin-top: 4px;
	min-height: 14px;
	/* prevents layout jump */
}

.preview-tc-btn button {
	float: left;
	padding: 12px 20px;
	font-size: 1.2em;
	color: rgba(255, 255, 255, .95);
	background: none;
	background-color: #111111;
	border-radius: 4px;
	border: 1px solid #000;
	margin: 10px 10px 0 10px;
}

.preview-tc-btn button:hover {
	color: rgba(255, 255, 255, 1);
	background-color: #222222;
}

.cstmFlexRow {
	display: flex;
	flex-wrap: wrap;
	width: 100% !important;
}

.cstm-width-50 {
	width: 50%;
}

.cstm-width-100 {
	width: 100%;
}

.cstmMx-0 {
	margin-left: 0px !important;
}

#cancelLink {
	padding-inline: 20px;
}

.cstmFlexCenter {
	display: flex;
	justify-content: center;
	align-items: center;
}

.editForm .application-version input[type="text"] {
	width: 100%;
	max-width: 230px;
}