/* Bimatrix Game */


.bimgame { border-collapse: collapse; }
.bimgame td + td { border-left: 1px solid; }
.bimgame tr + tr { border-top: 1px solid; }
.bimgame td {padding:7px 15px; text-align:center; vertical-align:middle;}

.table-hl td:hover {background-color:#FF000033; box-shadow: 0px 0px 5px #FF000088;}

.table-row-col-hl tr.cont:hover {background-color:#FF000033; box-shadow: 0px 0px 5px #FF000088;}
.table-row-col-hl:has(tr > td:nth-child(2):hover) tr > td:nth-child(2), 
	.table-row-col-hl:has(tr > td:nth-child(3):hover) tr > td:nth-child(3),
	.table-row-col-hl:has(tr > td:nth-child(4):hover) tr > td:nth-child(4),
	.table-row-col-hl:has(tr > td:nth-child(5):hover) tr > td:nth-child(5)
	{background-color:#FF000033; box-shadow: 0px 0px 5px #FF000088;}

.table-row-col-hl .clickedVisR {opacity:0; transition:all 1s;}
.table-row-col-hl tr.clicked .clickedVisR {opacity:1;}
.table-row-col-hl .clickedVisC {opacity:0; transition:all 1s;}
.table-row-col-hl td.clicked .clickedVisC {opacity:1;}


/* Code */

.code {
	font-family:monospace,Courier;
}

.AlgName {
	font-variant:small-caps;
}
@counter-style algorithm-list {
	system: extends decimal;
	prefix: '(';
	suffix: ') ';
}
.code ol {
	list-style: algorithm-list;
}
.code ol li::marker {
	color:#808080; 
}

.keyword {
	font-weight:bold;
	font-variant:small-caps;
}	
.tab {
	visibility:hidden;
}

.code hr {margin:3px 0px;}

.code.hl li {transition:all 1s;}

.code.hl li:hover {background-color:#FF000033; box-shadow: 0px 0px 5px #FF000088;}


/* Slide specific styles (tempstep-classes etc) */

/* Introduction */

.tempClass-SmallerPuzzle {width:45% !important; right:0px !important;}
.tempClass-SmallerPuzzle div {transform:scale(0.45,0.45);}

.lecturenotes li {margin:15px 0px; transition:background-color .6s, box-shadow .6s, opacity 1s;}
.lecturenotes li:hover {background-color:#FF000033; box-shadow: 0px 0px 5px #FF000088;}

/* Strategic Games */

.impress-on-ZeroSumExistence #Lecture1 {z-index:-10 !important;}

.impress-on-ZeroSumExistence:has(.on-tempstep-3) #Lecture1, .impress-on-ZeroSumExistence:has(.on-tempstep-3) #PureBestResponse {opacity:.3};

