/*
	This CSS overrides external.css
	
	Please add new CSS in external.css first and only add overrides in siteexternal.css
	for each deployment. If possible use the variables defined for primary and secondary
	colors as it makes it simpler in the future to modify colors.
*/

:root {
	--primary-color:       #6FCF97;
	--primary-color-dark:  #219653;
	--primary-color-light: #E9F7EF;

	--secondary-color: #B3B3FF;
	--secondary-color-light: #F0F0FF;
	--secondary-color-dark: #5C20DF;
  
	--light-grey: #eee;

	--body-bg: white;
	--text-color: #333;

	--table-row-bg: var(--light-grey);
	--table-clickable-row-bg: var(--primary-color-light);
	--table-clickable-row-color: var(--text-color);
	--table-clickable-row-hover-bg: var(--primary-color);
	--table-clickable-row-hover-color: var(--text-color);
}

/* General */

/*
a {
	color:var(--secondary-color);
}
a:hover {
	color:var(--secondary-color-dark);
}
*/

/* Main layout */

.logodiv img {
	height:52px;
}


/* HTML form display overrides - default in cortadoform.css */

.html .section-heading {
	background:var(--table-clickable-row-hover-bg);
	color:var(--table-clickable-row-hover-color);
	padding:3px 10px 3px 10px;
	font-size:18px;
	min-height:32px;
	font-weight:bold;	
	border-radius:0;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	margin-top:3px;
	box-shadow:none;
	border-top:0;
}
.html .section-heading.closed:hover,
.html .section-heading:hover {
	background:var(--table-clickable-row-hover-bg);
	color:var(--table-clickable-row-hover-color);
}
.html .section-heading:focus {
	outline:none;
}
.html .section-heading.closed {	
	background:var(--table-clickable-row-bg);
	color:var(--table-clickable-row-color);
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
}
.html .section {
	padding:10px 10px 5px 10px;
	margin:0;
	background:white;	
	border:1px solid var(--table-clickable-row-hover-bg);
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
}
.html .section .section {
	border-left:1px dotted #ccc;
	border-right:1px dotted #ccc;
}
.html .section .section:last-child {
	border-bottom:1px dotted #ccc;	
}
.html .section .section-heading {
	border:none;
	box-shadow:none;	
}

/* ExternalCaseEditPage colour overrides */

.case-details {
	background:var(--primary-color-light);
}
.docaction-tiles ul li {
	border-color:var(--primary-color);
}
