
.ui-dialog select {
    width: 80%;
}

.crm-container div.form-item {
    height: auto !important;
}

.civicrmCase .custom_field-row {
    width: 100% !important;
}

div.crm-container label {
    word-break: unset !important;
}

.crm-container .crm-section .content {
    padding-bottom: 0px !important;
}

.civicrmCase .ui-dialog .custom_field-row td {
    padding-top: 12px !important;
    padding-bottom: 3px !important;
}

.civicrmCase .custom_field-row .label {
    width: 350px !important;
    padding-right: 20px !important;
    vertical-align: top !important;
}

.civicrmCase .custom_field-row {
    width: 100% !important;
}

.civicrmCase .custom_field-row td {
    vertical-align: middle !important;
}

.content.description {
    max-width: 50% !important;
}

.civicrmCase table.form-layout-compressed {
    width: 100% !important;
}

.civicrmCase table.form-layout-compressed tr {
    width: auto !important;
}

/* Move location to new line */
select#medium_id {
    display: block;
}

/* Space radio buttons correctly */
.civicrmCase .html-adjust td.labels, .form-layout-compressed td.labels {
    display: inline-block;
}


/* Hide location field and label */

label[for='location'], input[type='text'][name='location'] {
    display: none !important;
}

/* Activity custom field description spacing */

tr.custom_field-help-pre-row .description h4 {
	margin-top: 40px;	
}

/* Hide case attachments */

.civicrmCase .crm-activity-form-block-attachment, .crm-case-form-block .crm-activity-form-block-attachment {
	display: none;
}

/* Auto allocation button spacing and size */

.allowallocations-div a.crm-button, .allowallocations-div .bottom-button a.button {
	padding: 5px !important;
	margin-top: 5px !important;
	margin-bottom: 10px !important;
	margin-right: 5px !important;
}

.allowallocations-div .crm-accordion-body {
	padding-top: 15px !important;
	padding-bottom: 10px !important;
}

.civicrmCase .dataTable {
    width: 100% !important;
}


#crm-activity-view-table tr:last-child {
    display: none;
}

tr.crm-case-activityview-form-block-groupTitle {
    display: none;
}

/* Hide case dashboard - New case button */

div.crm-case-dashboard-buttons > a:first-child {
	display: none !important;
}


.crm-container a.action-item {
    white-space: nowrap !important;
}

/* Hide case campaign on new case */

.caseTypeName-intake .CRM_Case_Form_Case .crm-case-opencase-form-block-, .caseTypeName-intake_enquiry .CRM_Case_Form_Case .crm-case-opencase-form-block- {
	display: none;
}


/* Hide all other fields on service recommendation activity except participant name and notes */

/*.activity-type-service-recommendation tr.crm-case-activity-form-block-schedule_followup,*/
/*.activity-type-service-recommendation .crm-with-contact*/
/*{*/
/*	display: none;*/
/*}*/

/* Hide new case button */

.CRM_Case_Form_Search .action-link, .CRM_Case_Form_Search .help {
	display: none;
}

/* Hide engagement index on all activities */

.crm-activity-form-block-engagement_level {
	display: none;
}

/* Hide main wrapper, then enable using JS - This enables JS to work first, so the interface doesn't flash */

#crm-main-content-wrapper {
	display: none;
}


/* Hide edit case start and edit case type */

.crm-case-caseview-case_start_date a.crm-hover-button, .crm-case-caseview-case_type a.crm-hover-button {
	display: none;
}


/* Reduce padding and margins on the Session Reporting tab */
@media only screen and (min-width: 750px) {

    .CRM_EventCourse_Form_ManageEvent_Report .crm-content-block td {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 40px !important;
    }

.CRM_EventCourse_Form_ManageEvent_Report td.crm-report-civicrm_contact_role {
	  min-width: 50px !important;
}

    .CRM_EventCourse_Form_ManageEvent_Report #crm-container .report-contents-right {
        padding-left: 2px;
        padding-right: 2px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .CRM_EventCourse_Form_ManageEvent_Report #crm-container .report-contents-right {
        border: 1px solid #CDCDC3;
        /* padding: 0px !important; */
        text-align: center;
        max-width: 90px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }


}

.CRM_EventCourse_Form_ManageEvent_Report #crm-container .report-contents-right .crm-report-civicrm_event_sessions {
	padding: 0px !important;
	text-align: left !important;
}

.CRM_EventCourse_Form_ManageEvent_Report table.report-layout tr:last-child td.crm-report-civicrm_event_sessions.report-contents-right {
    min-width: 75px !important;
    padding: 0px !important;
    text-align: left !important;
	margin: 0px !important;
	border: 0px !important;

}

.CRM_EventCourse_Form_ManageEvent_Report table.report-layout tr:last-child td.crm-report-civicrm_event_sessions.report-contents-right table.display td {
	padding: 0px !important;
	margin: 0px !important;

}

.members-review-notice {
	display: none !important;
}

.crm-case-form-block-medium_id, .crm-case-activity-form-block-medium_id {
    display: none !important;
}