/*========== ROOTS PAGE STYLESHEET ===========*/
/* Raadix 2020                                */
/* Modified:: 27 april 2020                   */
/*============================================*/


#page-rootcause {
	position: absolute;
	display: none;
	right: 0;
	top: 15mm;
	left: 0;
	bottom: 0;
	background: none;
	padding: 0;
	margin: 0;
	overflow-x: auto;
	overflow-y: auto;
}

#rootcause-window {
	position: relative;
	width: 457mm;
	border-left:   1px dashed #878787;
	border-bottom: 1px dashed #878787;
	border-right:  1px dashed #878787;
	padding: 2mm 2mm;
	margin: 0;
}

.root-card {
	position: relative;
	display: grid;
	grid-template-columns: 12mm 70mm 40mm 35mm 35mm 20mm 100mm 100mm 40mm;
	grid-gap: 0;
	width: 452mm;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
}
.root-card:nth-of-type(n+2):hover {
	outline: 0.7mm solid var(--yellow-color);
}

.root-card > div {
	font-size: 3.6mm;
	line-height: 5.0mm;
	text-align: left;
	padding: 2mm 2mm;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
}
.root-card:first-of-type > div {
	border-top: 1px solid black;
}
.root-card > div:last-of-type {
	border-right: 1px solid black;
}

.root-card > button {
	grid-column: span 1;
	height: 100%;
	width: 10mm;
	text-align: center;
	color: white;
	background-color: #6EAB28;
	font-size: 4.5mm;
	line-height: 6mm;
	padding: 2mm 2mm;
	margin: 0;
	border-radius: 0;
	box-shadow: none;
	border: none;
	cursor: pointer;
}
.root-card > button:hover {
	background-color: #009FE3;
}

.root-vert {
	writing-mode: vertical-lr;
	vertical-align: text-top;
}

.root-select {
	background-color: #FCD900;
}
