
/** MT Silvertoad 11/04/19 Embolden tabs */
.nav-tabs > li > a {
	font-weight: bold;
}

/** MT Silvertoad 18/04/19 Search results */
.search-record {
	background-color: #bedec7;
}

.search-preview {
	text-align: right;
	padding: 10px 20px;
	font-size: x-large;
	font-weight: bold;
	/* MT XXX */
	position: relative;
}

/** MT Silvertoad 18/04/19 Flash Key Information */
.key-information { 
	padding: 0 10px;
}

.key-information > div { 
	padding: 0;
}

#key-information {
	border: 2px solid #ccc; 
	padding: 5px;
}

.flash-red {
	border-radius: 2px;
	animation: flash-red linear 2s infinite;
}

.chosen-flash-red .chosen-container {
	border-radius: 5px;
	animation: flash-red-thick linear 2s infinite;
}

.flash-orange {
	border-radius: 2px;
	animation: flash-orange linear 2s infinite;
}

.chosen-flash-orange .chosen-container {
	border-radius: 7px;
	animation: flash-orange linear 2s infinite;
}

@keyframes flash-red {
	0% { box-shadow: 0px 0px 0px 2px red; border-color: red; } 
	50% { box-shadow: 0px 0px 0px 2px #ccc; border-color: #ccc; } 
	100% { box-shadow: 0px 0px 0px 2px red; border-color: red; }
}

@keyframes flash-red-thick {
	0% { box-shadow: 0px 0px 0px 3px red; border-color: red; } 
	50% { box-shadow: 0px 0px 0px 3px #ccc; border-color: #ccc; } 
	100% { box-shadow: 0px 0px 0px 3px red; border-color: red; }
}

@keyframes flash-orange {
	0% { border: 3px solid orange; } 
	50% { border: 3px solid #ccc; } 
	100% { border: 3px solid orange; }
}

.tab-block {
    border-radius: 20px;
	padding: 10px;
	margin-top: 20px;
}

.tab-block ul {
	padding: 0;
	text-align: center;
}

.tab-block li {
    display: inline-block;
    padding: 10px;
    background: #eee;
    border-radius: 10px;
    margin: 5px;
    border: 2px solid #ccc;
}

.tab-block.inactive li {
	background: #ccc;
	border-color: #888;
}

.tab-block.inactive li a {
	color: #888;
}

.tab-block li.active {
    border: 2px solid #000;
}

.tab-block li.inactive a {
	color: #888;
}

.tab-block.inactive .summary-button {	
	color: #888;
}

.tab-block h4 {
    text-transform: uppercase;
    text-align: center;
    font-size: smaller;
	font-weight: bold;
	font-size: 18px;
}

.tab-block li a {
	color: black;
	font-weight: bold;
}

.tab-block li a:hover {
	color: #888;
	text-decoration: none;
}

.individual-tabs {
	/** background-color: #bedec7; */
	background-color: green;
	color: white;
}

.mentee-tabs {
	background-color: gold;    
}

.volunteer-tabs {
	background-color: red;    
	color: white;
}

.volunteer-tabs input, .volunteer-tabs select, .volunteer-tabs button {
	color: black;
}

.mentee-tabs.inactive {
    background-color: #ffa;    
}

.volunteer-tabs.inactive {
	background-color: #fcc;    
	color: black;
}

.form-tabs {
	background-color: #aaa;    
}

.status-header {
	padding: 10px 0;
	display: flex;
	align-items: center;
}

.status-header .caption {
	display: block;
	font-variant: small-caps;
	font-size: 2rem;
	padding-right: 10px;
	flex-grow: 1;
}

.status-header select {
	font-size: 2rem;
	min-width: 50%;
}

.summary-button {
	margin-right: 10px;
	vertical-align: middle;
    height: 3rem;
    margin-top: 0.2rem;
}

.toggle-mentee, .toggle-volunteer {
	width: 3rem;
	height: 3rem;
	vertical-align: middle;
}

.volunteer-interview {
	padding-bottom: 1rem;
}

.volunteer-interview input[type=checkbox] {
	height: 30px;
    width: 20px;
}

#individual-consent-pane table {
	width: 100%;
}

/** MT Silvertoad 22/10/19 Highlight attendance */

.event.attended {
	background-color: #bedec7;
}

.event.not-attended {
	background-color: #fcc;
}

.search-record {
	color: black;
}

/** MT Silvertoad 07/11/19 New Contacts Tab */
.contacts-table {
	width: 100%;
	table-layout: fixed;
}

.contacts-table td {
	padding: 0.2rem;
}

.contacts-table thead {
	font-size: 14px;
	font-weight: bold;
}

.contacts-table thead td {
	padding-bottom: 1rem;
}

.contacts-table .expand {
	width: 2rem;
}

.contacts-table .date {
	min-width: 10rem;
	width: 10rem;
}

.contacts-table .method {
	min-width: 18rem;
	width: 18rem;
}

.contacts-table .details {
	padding-bottom: 1rem;
}

.notes-preview {
	min-width: 0;
	width: 100%;
}

.notes-preview > span {
	overflow: hidden;
    width: 100%;
    display: block;
    white-space: nowrap; 
    text-overflow: ellipsis;
}

.notes-preview .headline {
	color: skyblue;
	font-weight: bold;
}

.contacts-filter {
	width: 100%;
}

.contacts-filter td {
	padding: 0.2rem;
}

.contacts-filter thead {
	font-size: 14px;
	font-weight: bold;
}

/** MT Silvertoad 19/11/19 Communication */

.communication {
	background-color: gold;
}

.comms-dialog label {
	width: 100%;
}

.comms-dialog .comms-message {
	height: 20rem;
}

textarea {
	resize: vertical;
}

/** MT Silvertoad 25/11/19 Relationship notes */
.relationship-notes-table {
	width: 100%;
	table-layout: fixed;
}

.relationship-notes-table td {
	padding: 0.2rem;
}

.relationship-notes-table thead {
	font-size: 14px;
	font-weight: bold;
}

.relationship-notes-table thead td {
	padding-bottom: 1rem;
}

.relationship-notes-table .expand {
	width: 2rem;
}

.relationship-notes-table .date {
	min-width: 10rem;
	width: 10rem;
}

.relationship-notes-table .details {
	padding-bottom: 1rem;
}

.relationship-notes-table .notes-preview {
	min-width: 0;
	width: 100%;
}

.relationship-notes-table .notes-preview span {
	overflow: hidden;
    width: 100%;
    display: block;
    white-space: nowrap; 
    text-overflow: ellipsis;
}

/** MT Silvertoad 26/11/19 Generic field outputs */
.chosen-container-single .chosen-single {
	height: 34px !important;
	line-height: 34px !important;
}

.chosen-container-single .chosen-single div b {
	position: relative;
	top: 4px;
}

.referral td {
	padding: 5px;
}

.horizontal-field th, .horizontal-field td {
	vertical-align: middle !important;
}

/** MT Silvertoad 28/11/19 Input field reorganization */
.volunteer-interview-table {
	width: 100%;
}

.volunteer-interview-table td {
	padding: 0.2rem;
}

.volunteer-role-review-table {
	width: 100%;
}

.volunteer-role-review-table td {
	padding: 0.2rem;
}

.reference-details-table {
	width: 100%;
}

.reference-details-table td {
	padding: 0.2rem;
}


/** MT Silvertoad 28/11/19 Actions tab */
.actions-table {
	width: 100%;
	table-layout: fixed;
}

.actions-table td {
	padding: 0.2rem;
}

.actions-table thead {
	font-size: 14px;
	font-weight: bold;
}

.actions-table thead td {
	padding-bottom: 1rem;
}

.actions-table .expand {
	width: 2rem;
}

.actions-table .date {
	min-width: 10rem;
	width: 10rem;
}

.actions-filter {
	width: 100%;
}

.actions-filter th, .actions-filter td {
	padding: 0.2rem;
}

.actions-filter thead {
	font-size: 14px;
	font-weight: bold;
}

/** MT Silvertoad Field Hint Text */
.field-header-container {
	display: flex;
}

.field-name {
	flex-grow: 1;
}

.field-info {
	font-size: 1.2em;
    margin-top: -0.1em;
}

.field-info-container {
	display: flex;
	font-weight: normal;
}

.field-info-hint {
	flex: 1 0 0;
	width: 0;
}

.individual-consent-table th, .individual-consent-table td {
	padding: 0.2rem;
}

/** MT Silvertoad 29/11/19 Volunteer Screening Dashboard */
table.ghm-dashboard-check th, table.ghm-dashboard-check td {
	padding: 1rem;
	font-weight: bold;
}

table.ghm-dashboard-check .invalid {
	background-color: #fcc;
}

table.ghm-dashboard-check .valid {
	background-color: #bedec7;
}

/** MT Silvertoad 31/11/19 Referral grid */
.referral-grid {
	display: flex;
	flex-wrap: wrap;
	clear: both;
}

.referral-grid input[type=checkbox] {
	margin: 1rem auto;
}

.referral-grid .field-header {
	top: 50%;
    position: relative;
	transform: translateY(-50%);
}

/** MT Silvertoad 31/11/19 Select and Communicate */
.select-query-params {
	width: 100%;
    margin: 1rem auto;
    background: #ffc;
    border: 0.5rem solid gold;
    border-radius: 2rem;
    padding: 2rem;
}

.select-query-params select {
	height: 26px;
}

#select-query {
	width: 80%;
	margin: 0 auto;
}

.select-query {
	width: 100%;
    margin: 1rem auto;
    background: #cfc;
    border: 0.5rem solid green;
    border-radius: 2rem;
    padding: 2rem;
}

.select-query-subqueries {
	width: 100%;
}

.select-query-subqueries td:first-child {
	width: 5rem;
}

.select-communicate-message {
	width: 80%;
	margin: 1rem auto;
    background: #ccf;
    border: 0.5rem solid blue;
    border-radius: 2rem;
	padding: 2rem;
	text-align: center;
}

.select-communicate-message textarea {
	margin-top: 2rem;
	width: 100%;
	height: 20rem;
}

/** MT Silvertoad 16/12/19 Changes from Ian */
.generic-record.relationship .horizontal-field {
    table-layout: fixed;
    margin-bottom: 0;
}

.generic-record.relationship .horizontal-field td:last-child {
    width: 15rem;
}

.generic-record.relationship .horizontal-field th, .generic-record.relationship .horizontal-field td {
	padding: 2px;
	border-top: none;
}

.merge-list {
	min-width: 200px;
	list-style: none;

	overflow-y: auto;
    height: 25rem;
    padding-right: 1rem;
}

.merge-list button {
	width: 100%;
	margin-bottom: 0.5rem;
}

/** MT Silvertoad 20/12/19 Jump to individual */
.individual-jump-container {
	width: 100%;
	display: flex;
}

.individual-jump-container select {
	flex: 1 0 0;
}

.individual-jump-container button {
	flex: 0 0 auto;
	margin-left: 0.5rem;
}

/** MT Silvertoad 27/01/20 Event Yellow Card/Red Card */
.card-container {
	padding-left: 0;
	padding-right: 0;
	line-height: 2.5;
}

.red-card {
	color: #c88;
}

.red-card.given {
	color: red;
}

.yellow-card {
	color: #cc8;
}

.yellow-card.given {
	color: yellow;
}

/** MT Silvertoad 04/02/20 Disable comms */
.communication.inactive a {
	color: #888;
}

/** MT Silvertoad 13/02/20 Individual Files Upload */
#tab-files td {
	vertical-align: middle;
}

/** MT Silvertoad 13/02/20 Screening Dashboard */
.ghm-dashboard-check td {
	/* width: 18%; */
}

.ghm-dashboard-check td:first-child {
	/* width: 28%; */
}

/** MT Silvertoad 29/04/20 Resizable tabs */
.tab-collapsible {
	overflow: hidden;
	position: relative;
}

.tab-collapsible.collapsed {
	width: 20px;
}

.tab-collapsible .toggle {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 10;
}

.tab-collapsible.collapsed .content {
	display: none;
}

.tab-content {
	position: relative;
}

.tab-content .popout {
	position: absolute;
	top: 0;
	right: -40px;
	z-index: 10;
}

/** MT Silvertoad 29/04/20 Default view size for contact notes */
textarea[data-field-id="contact-entry-note"] {
	min-height: 4em;
	max-height: 15em;
}

textarea[data-field-id="relationship-note-note"] {
	min-height: 4em;
	max-height: 15em;
}

textarea[data-field-id="action-entry-action"] {
	min-height: 4em;
	max-height: 15em;
}

textarea[data-field-id="action-entry-comments"] {
	min-height: 4em;
	max-height: 15em;
}