/*
	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:       #006680;
	--primary-color-light: #e9f6f7;
    --primary-color-dark:  #3b3b3c;

	--secondary-color: #91b3a1;
	--secondary-color-light: #cde2d5;
	--secondary-color-dark: #55836c;
  
	--light-grey: #e0e1e4;

	--body-bg: white;
	--text-color: #3b3b3c;

	--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: white;

	--footer-background: var(--primary-color);
}

@font-face {
    font-family: EuclidCircularB;
    font-weight: 400;
    src: url(kr/EuclidCircularB-Regular-WebXL.edce5986.woff) format("woff")
}

@font-face {
    font-family: EuclidCircularB;
    font-weight: 700;
    src: url(kr/EuclidCircularB-SemiBold.8c87b69d.woff) format("woff")
}

* {
	font-family: EuclidCircularB, Helvetica Neue, arial, sans-serif;
}


.btn-primary:active, .btn-primary.active, .btn-primary {
    color: white;
}

.panel-group .panel-heading:hover {
    background: var(--primary-color);
    color: white;
}

/* 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;	
}

/* Tables */

.table th a:hover {
    color:var(--primary-color-dark);
}
.table tbody td {
    background:var(--table-clickable-row-bg);
    color:var(--table-clickable-row-color);
}
.clicktable tbody tr:hover,
.linkid tbody tr:hover,
.clicktable tbody tr:hover td,
.linkid tbody tr:hover td {
    background:var(--table-clickable-row-hover-bg);
    color:var(--table-clickable-row-hover-color);
}

/* Front tiles */

.home-tile:focus,
.home-tile:active,
.home-tile:focus-visible,
.home-tile:hover:after,
.home-tile:hover {
    color:white !important;
}

/* ExternalCaseEditPage colour overrides */

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

footer,
footer .version,
footer .version-number,
footer .version a,
footer .version a:hover,
footer .pageclass {
    color:white;
}
