/* General reset and font size change */

	@page {
		margin: 1.5cm 1cm;
		padding: 0;
	}

	body {
		font-family: Arial, Helvetica, sans-serif;
		background: none !important;
		color: #000000 !important;
		border: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		font-size: 10pt !important;
		line-height: 1.3 !important;
	}


/* Fonts */

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		margin: 0 0 10px 0 !important;
		min-height: 0 !important;
		font-weight: normal !important;
	}

	h1 {
		font-size: 14pt !important;
	}

	h2 {
		font-size: 12pt !important;
	}

	h3 {
		font-size: 11pt !important;
	}

	h4,
	h5,
	h6 {
		font-size: 10pt !important;
	}

	p,
	li,
	td,
	th,
	label,
	input,
	select,
	textarea {
		font-size: 9pt !important;
		font-weight: normal !important;
	}

	textarea {
		overflow: visible !important;
	}

	th {
		font-weight: bold !important;
		background-color: #EBEBEB !important;
	}

	td {
	   	padding: 2px 5px !important;
    }

	a {
		color: #000000 !important;
	}

/* End fonts */


/* Hides unwanted fields, buttons, blocks etc */

/* Note hiding .ButtonGroup was causing inconsistent page breaks so individual button instances were hidden instead */

	#nav_site,
	#nav_help,
	#loginstatus,
	#nav_search,
	.ButtonGroup input,
	.ButtonGroup a,
	a.LargeButton,
	button,
	.ClientHeading a,
	.CaseSummaryClientContactContainer a.EditLink,
	.DeleteRisk,
	.EditButton,
	#footer,
	.tabs,
	.FieldDisabled,
	#debug_panel,
	#NotificationsPanel,
	.AutoSaveStatusIndicator,
	.RisksToggle,
	.AddRisk {
		display: none !important;
	}

/* end hides */

/* heading */

	#page_title,
	#site_header {
		padding: 0 !important;
		margin: 0 0 20px 0 !important;
		color: #000000 !important;
		border: 0 !important;
	}

	.ClientHeading {
		margin: 0 0 10px 0 !important;
		float: none !important;
	}

	.ClientHeading p {
    	font-size: 12pt !important;
    	margin: 0 !important;
	}

	.CaseStatusWaitingForEngagement {
		color: #000000 !important;
		border: 2px solid #000000;
		background-color: #FFFFFF;
	}



/* Resets unwanted padding, margin and borders, removes unwanted height that wastes paper */
	#contentcontainer {
		min-height: 0 !important;
		border: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
	}

/* Resets unwanted padding, margin and borders for tabbed and non-tabbed content */
	.TabbedContentContainer,
	.StandardContentContainer {
		background: none;
		border: 0 !important;
		padding: 1rem 0 !important;
		margin: 0 !important;
		float: none !important;	/* This stops firefox pushing the content to the next page */
	}


/* Forms */

/* Re-instates standard checkboxes and radio buttons as the image based versions don't work reliably for print */

	input[type="checkbox"],
	input[type="radio"] {
		opacity: 1;
	}

	input[type="checkbox"] + span.CheckboxStyleHelper,
	input[type="radio"] + span.CheckboxStyleHelper {
		display: none;
	}

/* Sets the standard input block wdith and margin to fixed px as opposed to % */
	.StandardInputForm p,
	.OtherContainer,
	.DatePicker,
	.RadioButtons,
	.SingleCheckbox,
	.CheckboxListContainer {
		width: 250px !important;
		margin: 0 50px 20px 0 !important;
	}

	.CheckboxListContainer {
		width: 240px !important;
	}

	.CheckboxListContainer p {
		width: 220px !important;
	}

/* Removes unwanted margin under the label for the date picker */
	.StandardInputForm .DatePicker p {
		margin-bottom: 0 !important;
	}

/* Removes the min-height that wastes vertical space for print */
	.StandardInputForm p,
	.OtherContainer,
	.DatePicker,
	.RadioButtons,
	.SingleCheckbox {
		min-height: 60px;
	}

	label {
		margin: 0 !important;
		padding: 0 !important;
	}


/* Other container */

	.OtherContainer {
		margin-bottom: 0 !important;
		margin-right: 20px;
	}




/* This hides the standard version of the html select for multi select instances  */

	.chosen-single,
	.chosen-drop {
		display: none !important;
	}

	select {
		display: inline !important;
	}

	.MedicalDetailsBlock .chosen-container,
	.CheckboxListContainer .chosen-container-multi {
		display: inline-block !important;
	}

	.MedicalDetailsBlock select,
	.CheckboxListContainer select {
		display: none !important;
	}


	#page-form_medical_details .MedicalDetailsBlock.MentalCapacity select {
		display: inline !important;
	}



/* Page specific resets */


/* Medical details layout */

	.MedicalDetailsContainer {
		width: 280px;
	}

	.MedicalDetailsBlock {
		background: none !important;
		margin: 0 20px 20px 0 !important;
		padding: 0 !important;
		border: 0 !important;
		width: 260px !important;
	}

	.MedicalDetailsBlock p,
	.MedicalFurtherDetails {
		margin: 0 !important;
		padding: 0 !important;
	}

	.MedicalFurtherDetails {
		margin-top: 20px !important;
	}

	.MedicationRow .OtherContainer {
		margin-right: 20px !important;
		margin-bottom: 0 !important;
		width: 300px !important;
	}

	.MedicationRow .OtherContainer p {
		width: 300px !important;
		margin-right: 0 !important;
	}

	.MedicationRow .SingleCheckbox {
		display: none !important;
	}

	.MedicationDosage p {
		width: 60px !important;
		margin-right: 20px !important;
	}

	.MedicationFrequency p {
		width: 200px !important;
		margin-right: 20px !important;
	}


/* Activity Details */

	.ActivityAllTimes .ActivityTime {
		width: 200px;
		clear: left;
		margin-bottom: 10px;
	}

	.ActivityAllTimes .ActivityTime p {
		width: 40px !important;
		float: left !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.ActivityTime .content input {
		width: 35px;
		margin: 0 !important;
		padding: 0 !important;
	}

	.ActivityTime span.TimeSeparator {
		width: 10px;
		float: left;
		padding: 0 0 0 5px !important;
	}








/* Dashboards */

	.DashboardBlock {
		background: none !important;
		padding: 10px !important;
		min-height: 20px !important;
		width: 300px !important;
		margin: 0 20px 20px 0 !important;
	}

	@-moz-document url-prefix() {
  		.DashboardBlock {
     		float: none;
     		display: inline-block;
  		}
	}


/* client/case summary */

/* Hiding dashboard block background images */
	.CaseSummaryClientContactContainer,
	.CaseSummaryCaseDetailsContainer,
	.CaseSummaryAdditionalClientNotesContainer,
	.CaseSummaryCaseInstructionsContainer,
	.CaseSummaryCaseNotesContainer,
	.CaseSummaryClientMedical {
		background: none !important;
		margin: 0 20px 20px 0 !important;
		padding: 10px !important;
	}


	.CaseStatusReferral,
	.RiskLevelID {
		color: #000000 !important;
		font-weight: bold !important;
		font-size: 12pt !important;
		background-color: #FFFFFF !important;
	}

	.RiskLevelID {
		text-align: left !important;
	}


/* case summary medical block */

	.CaseSummaryClientMedical {
		float: left !important;
	}

	.CaseSummaryAllergies,
	.CaseSummaryDietary,
	.CaseSummaryMedications {
		margin-left: 10px !important;
	}




/* IE fix to allow for consistent layout of client address */
	.CaseSummaryClientContactContainer,
	.CaseSummaryClientContact,
	.CaseSummaryClientAddress,
	.CaseSummaryBlock {
		width: 200px !important;
		margin: 0 20px 20px 0 !important;
		padding: 10px !important;
	}

	.CaseSummaryClientContactContainer {
		padding: 0 !important;
	}

	.CaseSummaryBlock {
		margin: 0 0 10px 0 !important;
	}

	.CaseSummaryCaseDetailsContainer {
		width: 700px !important;
		margin: 0 20px 20px 0 !important;
		padding: 10px !important;
	}

	.CaseSummaryItem {
		min-height: 40px !important;
	}

	.CaseSummaryPhoneEmail {
		width: 200px !important;
		margin: 0 !important;
		padding: 0 10px !important;
	}



/* Notes and communication */
	.CaseSummaryNotesInstructionsAlertsContainer {
		width: 340px !important;
		margin: 0 20px 20px 0 !important;
		padding: 0 !important;
	}

	.CaseSummaryAdditionalClientNotesContainer,
	.CaseSummaryCaseInstructionsContainer {
		width: 320px !important;
		margin: 0 20px 20px 0 !important;
		padding: 10px !important;
	}

	.CaseSummaryCaseNotesContainer {
		width: 320px !important;
		margin: 0 0 20px 0 !important;
		padding: 10px !important;
	}

/* Removes unwanted block spacing */
	.CaseSummaryClientContact,
	.CaseSummaryCaseDetails,
	.CaseSummaryAdditionalClientNotes,
	.CaseSummaryCaseInstructions,
	.CaseSummaryCaseNotes {
		margin: 0 !important;
	}



/* Address */

	.EmergencyContactRow .SingleCheckbox {
		display: none !important;
	}

/* Supporting Professionals */

	.SupportingProfessionalRow .SingleCheckbox {
		display: none !important;
	}



/* Risk Management */
	.TwoColumnWidth textarea {
		width: 550px !important;
	}

	.Sections {
		float: left !important;
		clear: none !important;
		overflow: auto;
	}

	.RisksContainer {
		clear: none !important;
	}

	.Risk {
		float: left !important;
	}

	.Risk p {
    	margin-right: 20px !important;
    	width: 250px !important;
	}

	.RiskTypeSelect {
		float: left !important;
	}

	.LikelihoodAdd,
	.ConsequenceAdd {
    	width: 100px !important;
    	float: left !important;
	}

	.LikelihoodAdd p,
	.ConsequenceAdd p {
    	width: 80px !important;
    	margin-right: 15px !important;
	}



/* WEMWBS */

	.Survey_Item th,
	.Survey_Item td {
		font-size: 9pt !important;
	}


/* Outcomes */

	.OutcomeType {
		float: left !important;
	}

	.OutcomeRow .SingleCheckbox {
		display: none !important;
	}


/* Textarea fixes */

	.TwoColumnWidth .PrintOnly.TextareaPrintHelper {
		width: 700px !important;
	}



/* Agrifood */
	#MainPageTaskList,
	.LargeButton,
	.OmitCombo,
	#AnalysisNavigationContainer,
	.ActionHeading,
	#ResultList a {
		display: none;
	}


 	.ResultBarValue {
 		border-top: solid 30px #000000;
 		height: 0;
 	}

	.ResultRank,
	.ResultScore,
	.green,
	.material-icons {
		white-space: nowrap;
	}
