/*<meta conditions="" />*/

/* Import colors from common css */

@import url('ia-common.css');

/*========================================= UI tables =========================================*/
/* To dynamically re-size divs, use the vw unit on container div (width: 55vw). Then in @mobile media use transform: scale(.8) or something to make the whole div smaller. Might try this when we decide to go mobile */
/*-----------------Entries and Custom report tables -------------------------*/

/*
div.ui-container
{
	width: 55vw;
}

*/

div.form-page-container
{
	background-color: #f2f5f6;
	border: 2px solid #ccd6db;
	max-width: 850px;
	padding: 2px;
}

div.MCDropDown div.form-page-container
{
	border: 3px solid #fff;
}

div.form-page-header
{
	background-color: #fff;
	border-bottom: 0;
	/*border-top: 1px solid #ccd6db;
	border-right: 1px solid #ccd6db;
	border-left: 1px solid #ccd6db;*/
	display: flex;
	flex-direction: row;
	margin: -2px;
	/* margin-bottom: -8px; */
	min-height: 40px;
	mc-disabled: true;
}

div.form-page-header-icon
{
	color: #007e45;
	padding: 7px;
}

div.header-shadow
{
	box-shadow: 0 1px 5px 0 #d6d6d6;
	mc-disabled: true;
}

div.form-page-tabs
{
	
}

div.form-page-tabs ul
{
	display: block;
	list-style-type: none;
	margin-top: 0;
	margin-left: 5px;
	padding-top: 0px;
	padding-bottom: 15px;
}

div.form-page-tabs ul li
{
	float: left;
	position: relative;
	display: block;
	font-size: .93rem;
	font-weight: 600;
	margin-right: 12px;
}

li.tab-highlight
{
	border-bottom: 2px solid #007e45;
}

div.entries-container
{
	background-color: #f2f5f6;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 10px;
	mc-disabled: true;
}

li div.entries-container
{
	margin-top: 6px;
	margin-bottom: 6px;
}

div.MCDropDownBody > div.entries-container
{
	background-color: #fff;
	margin-top: 3px;
	margin-bottom: 20px;
	padding-top: 0;
	white-space: nowrap;
	mc-disabled: true;
}

div.MCDropDownBody > div.entries-container > div.entries
{
	border: none;
	overflow-x: auto;
	/*display: inline-block;
	width: 750px; */
	mc-disabled: true;
}

div.entries
{
	background-color: #fdffff;
	border: 1px solid #ccd6db;
	border-radius: 4px;
	/*min-width: 600px;*/
	padding: 12px;
	/* 7/3 trying to center show/hide details tab 
	text-align: center;*/
	overflow-x: auto;
	mc-disabled: true;
}

div.list-page-table-container
{
	background-color: #f2f5f6;
	border: 1px solid #ccd6db;
	overflow-x: auto;
	padding: 8px 0 8px 8px;
	mc-disabled: true;
}

p.list-page-header
{
	font-family: 'HelveticaNeueW01-55Roma', 'Arial', 'Helvetica', 'Ariel', 'sans-serif';
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 0;
	mc-disabled: true;
}

div.list-page-header
{
	border-top: 1px solid #ccd6db;
	border-right: 1px solid #ccd6db;
	border-bottom: 0;
	border-left: 1px solid #ccd6db;
	/* margin-bottom: -8px; */
	min-height: 40px;
	mc-disabled: true;
}

p.entries-title,
p.section-title
{
	font-size: 1rem;
	color: #666;
	font-family: 'HelveticaNeueW01-55Roma', 'Arial', 'Helvetica', 'Ariel', 'sans-serif';
	margin: 0;
	text-align: left;
	mc-disabled: true;
}

/*div.entries p span*/

span.entries
{
	padding-left: 70px;
	font-size: .75rem;
	color: #007e45;
	display: block;
	margin-top: -20px;
	font-weight: bolder;
}

table.entries th,
table.entries th p,
table.entries-clear th,
tab.entries-clear th p,
table.custom-report th,
table.custom-report th p
{
	font-size: .75rem;
	font-weight: 600;
	font-family: 'HelveticaNeueW01-65Medi', 'Arial', 'Helvetica', 'Ariel', 'sans-serif';
	line-height: 1.3;
}

table.entries-small th,
table.entries-small th p
{
	font-size: .6rem;
	font-weight: 500;
	font-family: 'HelveticaNeueW01-65Medi', 'Arial', 'Helvetica', 'Ariel', 'sans-serif';
	line-height: 1.3;
}

table.entries-small td,
table.entries-small td p
{
	font-size: .6rem;
	font-family: 'HelveticaNeueW01-65Medi', 'Arial', 'Helvetica', 'Ariel', 'sans-serif';
	background-color: transparent;
}

table.entries th,
table.entries-clear th,
table.entries-small th,
table.custom-report th,
table.list-page th
{
	background-color: #f2f5f6;
}

table.entries,
table.entries-clear th,
table.entries-small
{
	margin-top: 12px;
	margin-bottom: 12px;
	mc-disabled: true;
}

div.entries table.entries td,
div.entries table.entries td p,
div.entries table.list-page td,
div.list-page-table-container table.list-page td	/*div.entries table.entries-small td, 11/26/2019 */
{
	background-color: transparent;
	font-size: .75rem;
}

table.entries tr:nth-child(even),
table.entries-small tr:nth-child(even),
table.list-page tr:nth-child(even)
{
	background-color: #f2f5f6;
}

/* ----This makes the last row gray, like a total field. Removed because it isn't applicable in all situations. May create another table with total row in future ... 

table.entries tr:last-child
{
	background-color: var(--ia-main-gray);
	border: 1px solid var(--ia-main-gray);
}

table.entries tr:last-child td
{
	border: transparent;
}

*/

table.entries-clear td,
table.entries-clear th
{
	border-left: none;
	border-right: none;
}

/* table.entries th span,
table.entries-small th span,
div.ui-field-section-container span */

span.required
{
	color: #CE0058;
	font-size: 1rem;
}

table.list-page
{
	border: 1px solid #ccd6db;
	margin-top: 5px;
	margin-bottom: 6px;
	min-width: 600px;
	mc-disabled: true;
	background-color: #fff;
}

div.show-sub-container
{
	width: 635px;
	height: auto;
	background-color: #e3ebed;
	padding: 20px;
	margin-top: -54px;
	margin-left: 48px;
	position: relative;
	z-index: 1;
	border: 1px solid #b0b0b0;
	border-top: 0;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
	mc-disabled: true;
}

/*div.MCDropDown div.show-sub-container
{
	width: 500px;
} */

div.show-sub-container p.entries-title
{
	margin-bottom: 15px;
}

div.show-hide-details
{
	background-color: #e3ebed;
	width: 160px;
	text-align: center;
	align-content: center;
	display: inline-block;
	border-top: 0;
	border-right: 1px solid #b0b0b0;
	border-bottom: 1px solid #b0b0b0;
	border-left: 1px solid #b0b0b0;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
	position: relative;
	z-index: 2;
	margin-top: -1px;
}

div.show-hide-details p
{
	color: #007e45;
}

table.summary
{
	border: none;
	margin: 5px;
	width: 75%;
}

table.summary td
{
	border-top: 0;
	border-bottom: 0;
	border-left: 0;
	border-right: 1px solid #ccd6db;
	font-size: 15px;
	text-align: center;
}

/*----------------------- Interactive custom report table ------------------------------*/

div.custom-report-container
{
	border: 2px solid #ccd6db;
	overflow-x: auto;
	padding: 10px;
	mc-disabled: true;
}

div.custom-report-title
{
	mc-disabled: true;
}

div.custom-report-title p
{
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0px;
}

div.custom-report-table-container
{
	min-width: 600px;
	mc-disabled: true;
}

table.custom-report
{
	margin-top: 5px;
	margin-bottom: 5px;
	mc-disabled: true;
}

div.custom-report-table-container table.custom-report td
{
	background-color: transparent;
}

/*p.ia-link
{
	color: var(--ia-link);
}
*/

/*------------------------------------ Standard and Financial reports -----------------------*/

div.standard-report-container,
div.financial-report-container
{
	border: thin solid #ccd6db;
	overflow-x: auto;
	mc-disabled: true;
}

div.financial-report-container
{
	padding: 20px;
	mc-disabled: true;
}

div.standard-report-title
{
	mc-disabled: true;
}

div.standard-report-title p,
p.financial-report,
div.list-page-header p,
div.form-page-header p
{
	font-size: 1.3rem;
	font-weight: 600;
	margin: 7px;
	mc-disabled: true;
}

div.standard-report-table-wrapper
{
	background-color: #f2f5f6;
	padding-top: 20px;
	padding-left: 10px;
	mc-disabled: true;
}

div.standard-report-table-container,
div.financial-report-table-container
{
	background-color: #fff;
	min-width: 600px;
	mc-disabled: true;
}

div.standard-report-top-bar
{
	border-bottom: 1px solid #ccd6db;
	height: 20px;
	margin-right: 5px;
	margin-left: 5px;
	mc-disabled: true;
}

div.standard-report-table
{
	border: thin solid #f2f5f6;
	border-radius: 2px;
	margin-top: 0px;
	padding-top: 10px;
	mc-disabled: true;
}

table.standard-report,
table.financial-report
{
	border: none;
	border-collapse: separate;
	border-spacing: 5px 0px;
	margin-top: 5px;
	mc-disabled: true;
}

table.list-page th
{
	border-top: none;
	border-right: none;
	border-bottom: 1px solid #f2f5f6;
	border-left: none;
	padding-top: 0;
	padding-left: 3px;
	mc-disabled: true;
}

table.standard-report th,
table.financial-report th
{
	background-color: #fff;
	border-top: none;
	border-right: none;
	border-bottom: 1px solid #000;
	border-left: none;
	color: #333;
	font-weight: 600;
	font-size: .81rem;
	padding-left: 3px;
	mc-disabled: true;
}

table.standard-report td,
table.financial-report td,
table.list-page td
{
	border-top: none;
	border-right: none;
	border-bottom: 1px solid #ccd6db;
	/* light grayish blue */
	border-left: none;
	mc-disabled: true;
}

div.standard-report-table-container table.standard-report td,
div.financial-report-table-container table.financial-report td
{
	background-color: transparent;
	mc-disabled: true;
}

table.financial-report th:first-child,
table.financial-report tr td:first-child
{
	border-bottom: none;
	mc-disabled: true;
}

table.financial-report tr td:first-child + table.financial-report tr td:nth-last-child(2)
{
	border-bottom: 1px solid #000;
	mc-disabled: true;
}

/* trying to put a dark subtotal line - not working yet 
table.financial-report tr:last-child + table.financial-report tr td:nth-last-child(2)
{
	border-top: 2px solid #000;
}

*/

table.financial-report th p
{
	margin-top: 0px;
	margin-bottom: 0px;
	mc-disabled: true;
}

i.ia-report-icon
{
	color: #333;
	padding-right: 3px;
	mc-disabled: true;
}

/*----------------------------UI sections ----------------------------------*/

div.ui-field-section-wrapper
{
	background-color: #f2f5f6;
	padding: 10px;
	/*padding: 10px 10px 0 10px;*/
	mc-disabled: true;
}

div.ui-field-section-container
{
	background-color: #fdffff;
	border: 1px solid #ccd6db;
	border-radius: 4px;
	margin-top: 30px;
	/*padding: 10px; 11/26/2019 */
	padding: 2px 10px;
	mc-disabled: true;
}

p.section-title
{
	border-bottom: 1px solid #ccd6db;
	margin-top: 10px;
	mc-disabled: true;
}

table.ui-field-section
{
	border: 0;
	margin-top: 5px;
}

div.MCDropDown div.ui-field-section-container
{
	padding-bottom: 0;
}

div.ui-field-section-container + div.ui-field-section-container
{
	margin-top: 10px;
}

div.ui-field-section-container div.entries
{
	border: none;
}

div.ui-field-section-container div.entries p.entries-title
{
	border-bottom: 1px solid #ccd6db;
}

div.ui-field-section-flex-row
{
	display: flex;
	flex-direction: row;
	mc-disabled: true;
}

div.ui-column-1
{
	background-color: #fff;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	margin-right: 15px;
	mc-disabled: true;
}

div.ui-column-2
{
	background-color: #fff;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	margin-right: 15px;
	mc-disabled: true;
}

div.ui-column-3
{
	background-color: #fff;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	mc-disabled: true;
}

div.ui-column-1 table,
div.ui-column-1 table td
{
	border: none;
}

div.field-container
{
	padding-top: 5px;
	mc-disabled: true;
}

table.list-page div.field-container
{
	padding-left: 0px;
}

div.field-label
{
	mc-disabled: true;
}

div.field-label-radio
{
	mc-disabled: true;
}

div.field-label p
{
	font-family: 'HelveticaNeueW01-65Medi', 'Arial', 'Helvetica', 'Ariel', 'sans-serif';
	font-size: 12px;
	font-weight: 600;
	max-width: 100%;
	margin-bottom: 1px;
}

div.field-label-inline p
{
	font-family: 'HelveticaNeueW01-65Medi', 'Arial', 'Helvetica', 'Ariel', 'sans-serif';
	font-size: .75rem;
	font-weight: 400;
	margin-bottom: -5px;
}

div.field-read-only
{
	margin-top: -10px;
	mc-disabled: true;
}

div.field-read-only p
{
	font-family: 'HelveticaNeueW01-65Medi', 'Arial', 'Helvetica', 'Ariel', 'sans-serif';
	font-size: 12px;
	max-width: 100%;
	margin-bottom: 1px;
	margin-top: 5px;
}

div.field-input
{
	background-color: #fff;
	border: 1px solid #ccd6db;
	border-radius: 4px;
	color: #666;
	height: 24px;
	padding: 2px 5px;
	mc-disabled: true;
}

div.field-input p
{
	font-size: .81rem;
	margin: 0;
}

table.calculator div.field-input
{
	text-align: right;
	width: 55px;
}

/*div.field-drop-down
{
	background-color: #fff;
	border: 1px solid #ccd6db;
	border-radius: 4px;
	color: #666;
	display: block;
	float: left;
	height: 24px;
	padding: 2px 5px;
	position: relative;
	width: 100%;
	mc-disabled: true;
}

div.field-text-entry
{
	background-color: #fff;
	border: 1px solid #ccd6db;
	border-radius: 4px;
	color: #666;
	display: block;
	height: 24px;
	padding: 2px 5px;
	width: 100%;
	mc-disabled: true;
}

div.field-date
{
	background-color: #fff;
	border: 1px solid #ccd6db;
	border-radius: 4px;
	color: #666;
	display: block;
	height: 24px;
	padding: 2px 5px;
	width: 100%;
	mc-disabled: true;
}

div.field-drop-down p
{
	font-size: .81rem;
	margin: 0;
}

*/

div.checkbox-group
{
	align-items: center;
	display: flex;
	flex-direction: row;
	padding: 10px;
	mc-disabled: true;
}

div.field-checkbox
{
	/*border: 1px solid #ccd6db;
	height: 16px;
	width: 16px;
	margin-top: 6px;
	margin-right: 10px; */
	padding-right: 10px;
	mc-disabled: true;
}

div.radio-group
{
	display: flex;
	flex-direction: column;
	padding-top: 5px;
	mc-disabled: true;
}

div.field-radio
{
	margin-top: -2px;
	padding-right: 10px;
	mc-disabled: true;
}

div.radio-field-container
{
	display: flex;
	flex-direction: row;
	margin-top: -3px;
	mc-disabled: true;
}

div.field-multi-select-box
{
	mc-disabled: true;
}

div.field-multi-select-box table
{
	margin-top: 0;
	mc-disabled: true;
}

div.field-multi-select-box table tr
{
	line-height: 1rem;
	mc-disabled: true;
}

div.field-multi-select-box table td
{
	font-size: .75rem;
	mc-disabled: true;
}

i.ia-icon
{
	color: #000;
	font-size: .875rem !important;
	font-weight: 300 !important;
	opacity: .85;
	padding-left: 4px;
	mc-disabled: true;
}

div.field-input i.ia-icon
{
	float: right;
	padding-top: 2px;
}

i.ia-hierarchy
{
	font-size: 10px;
	padding-right: 3px;
	padding-left: 3px;
}

img.ia-align-middle
{
	margin-left: -3px;
	padding-right: 3px;
	vertical-align: middle;
	mc-disabled: true;
}

button.ia-ui
{
	color: #007e45;
	background-color: #fff;
	border: 1px solid #007e45;
	border-radius: 32px;
	border-color: #007e45;
	/*	-webkit-box-shadow: 0 0 5px #51cbee;
	-moz-box-shadow: 0 0 5px #51cbee;
	box-shadow: 0 0 5px #51cbee; */
	border-color: #007e45;
	outline: none;
	width: 120px;
	height: 30px;
}

button.ia-ui-header
{
	background-color: #fff;
	border: 2px solid #007e45;
	border-radius: 32px;
	color: #007e45;
	margin-top: 5px;
	outline: none;
	height: 25px;
}

button.ia-ui-inactive
{
	background-color: #e6ebed;
	border: 1px solid #ccd6db;
	color: #9e9e9e;
	width: 120px;
	height: 30px;
	border-radius: 32px;
}

div.ia-button-group
{
	margin-top: 3px;
	margin-left: auto;
}

/* Not sure what I was doing here - will leave and investigate later ...
div.field-group
{
	display: table;
	position: relative;
	
}

div.field-group span
{
	border-radius: 4px;
 	border: 1px solid #ccd6db;
	border-style: solid;
	border-top-width: 1px;
	border-bottom-width: 1px;
	display: table-cell;
}

*/

/*============================= Workflows===============================*/

div.workflow-vertical-container
{
	display: flex;
	flex-direction: column;
	min-width: 600px;
	overflow-x: auto;
	mc-disabled: true;
}

div.workflow-vertical-container + div.workflow-step
{
	justify-content: left;
	margin-bottom: 10px;
	text-align: left;
	mc-disabled: true;
}

div.workflow-step-container
{
	align-items: center;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	max-width: 65%;
	margin-bottom: 7px;
	mc-disabled: true;
}

div.workflow-step
{
	border: thin solid #ccd6db;
	border-radius: 20px;
	display: grid;
	align-items: center;
	justify-content: center;
	margin-right: 5px;
	min-height: 100px;
	min-width: 33%;
	padding: 8px;
	text-align: center;
	mc-disabled: true;
}

div.workflow-v-step
{
	border: thin solid #ccd6db;
	border-radius: 20px;
	display: grid;
	align-items: center;
	/*justify-content: center;*/
	margin-right: 5px;
	margin-bottom: 10px;
	padding: 8px 8px 8px 15px;
	text-align: left;
	mc-disabled: true;
}

div.workflow-step p,
div.workflow-v-step p
{
	font-size: 1.1rem;
	line-height: 25px;
	color: #fff;
}

div.workflow-step-detail
{
	border: thin solid gray;
	border-radius: 0px 20px 20px 0px;
	display: grid;
	align-items: center;
	min-width: 67%;
	min-height: 90px;
	mc-disabled: true;
}

div.workflow-step-detail p
{
	padding-left: 10px;
	mc-disabled: true;
}

div.workflow-step-detail ul
{
	margin: 0px 0px 0px 30px;
}

/* Removed 06/09/2021 
div.workflow-step-detail ul li
{
	font-size: .93rem;
}
*/

div.workflow-down-arrow
{
	margin: -14px 0 0 0;
	text-align: center;
	mc-disabled: true;
}

div.workflow-horizontal-container
{
	display: flex;
	flex-direction: row;
	mc-disabled: true;
}

div.workflow-horizontal-container div.workflow-step
{
	width: 20%;
	mc-disabled: true;
}

div.workflow-arrow
{
	margin-left: -6px;
	mc-disabled: true;
}

@media print
{
	div.entries,
	div.workflow-vertical-container
	{
		page-break-inside: avoid;
		mc-disabled: true;
	}

	div.entries table.entries td,
	div.entries table.list-page td,
	div.workflow-step-container
	{
		background-color: transparent !important;
		mc-disabled: true;
	}

	table.entries tr:nth-child(even),
	table.list-page tr:nth-child(even)
	{
		background-color: #f2f5f6 !important;
	}

	div.field-read-only
	{
		margin-top: 0;
	}
}

