/**
 * CSS for Timesheets Staff CRUD form
 */

/* form and container */
body#ViewWrapper-Timesheets form#CRUDForm-Staff {

}

	/* flexrows-ctrls in first row of flexrows, to display [primary] */
	body#ViewWrapper-Timesheets form#CRUDForm-Staff > section#MR_CC_S > table.CRUD tr.flexrows-row-nth-1 > td.flexrows-ctrls::before {
		display: block;
		padding: 3px 10px 3px 10px;
		margin: -1px 0px 0px 140px;
		position: absolute;
		content: 'PRIMARY';
		font-family: Open Sans;
		font-size: 12px;
		color: rgb(0,0,50);
		background-color: rgb(235,235,255);
		border: 1px solid rgb(0,0,50);
		box-shadow: 3px 3px 0px rgba(0,0,0,.05);
	}

	/* hilite row */
	body#ViewWrapper-Timesheets form#CRUDForm-Staff > section.SRBT table.CRUD tr.flexrows-row.hilite {

	}
	/* lowlite row */
	body#ViewWrapper-Timesheets form#CRUDForm-Staff > section.SRBT table.CRUD tr.flexrows-row.lowlite {
		color: rgba(0,0,0,.35);
	}
		body#ViewWrapper-Timesheets form#CRUDForm-Staff > section.SRBT table.CRUD tr.flexrows-row.lowlite * {
			color: rgba(0,0,0,.35) !important;
		}

		/* status */
		body#ViewWrapper-Timesheets form#CRUDForm-Staff > section.SRBT table.CRUD tr > td.status {
			padding: 0px;
			vertical-align: middle;
			text-align: center;
			text-shadow: none;
		}

		/* status: withdrawl + denied */
		body#ViewWrapper-Timesheets form#CRUDForm-Staff > section.SRBT table.CRUD tr >
			td.status:is([TransactionType="0"], [TransactionType=""], [TransactionType="false"]):is([WithdrawalDenied="1"], [WithdrawalDenied="true"]) {
				background-color: red;
				color: white;
		}
			/* status: withdrawal + denied for icon */
			body#ViewWrapper-Timesheets form#CRUDForm-Staff > section.SRBT table.CRUD tr >
				td.status:is([TransactionType="0"], [TransactionType=""], [TransactionType="false"]):is([WithdrawalDenied="1"], [WithdrawalDenied="true"]) > .fa {
					color: white;
			}

		/* status withdrawal + approved */
		body#ViewWrapper-Timesheets form#CRUDForm-Staff > section.SRBT table.CRUD tr >
			td.status:is([TransactionType="0"], [TransactionType=""], [TransactionType="false"]):is([WithdrawalDenied=""], [WithdrawalDenied="0"], [WithdrawalDenied="false"]) {
				background-color: yellow;
				color: black;
		}

		/* status deposit */
		body#ViewWrapper-Timesheets form#CRUDForm-Staff > section.SRBT table.CRUD tr >
			td.status:is([TransactionType="1"], [TransactionType="true"]) {
				background-color: rgb(150,200,255);
				color: black;
		}
		
		/* SRBAAE table elements */
		body#ViewWrapper-Timesheets form#CRUDForm-Staff > section table.SRBAAE-staged-txns button.SRBT-staged-insert {
			width: 100%;
			height: 100% !important;
			position: relative;
			margin-top: -2px !important;
			padding: 8px 0px 7px 0px !important;
		}