*{ padding: 0px; margin: 0px;}


	html{ padding: 0px; margin: 0px; background-color: #333;
		font-size: 1.8em; }
	table{ font-size: .7em; }
	
	.game{ font-size: 1.4em; color:#2d2d2d;
		display: inline-block; padding: 50px; 
		width: 49%; border: thin solid blue;  background-color: white;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box; overflow: scroll; height: calc(100vh - 65px);
		text-align: left;}

	.points{
		padding: 5px 10px;	width: 100px; 
		position: fixed; bottom: 0px; text-align: center;
		border-radius: 25px 25px 0px 0px ;
		text-shadow: 1px 1px lightgrey;
		-webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
		box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
		background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.12) 51%, rgba(0, 0, 0, 0.04));
		background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.12) 51%, rgba(0, 0, 0, 0.04));
		background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.12) 51%, rgba(0, 0, 0, 0.04));
		background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.12) 51%, rgba(0, 0, 0, 0.04));
		box-shadow: 0px 0px 18px 0px #000000;
		-webkit-box-shadow: 0px 0px 18px 0px #000000; 
	}



	.but{ font-size: .75em; background-color: #1facd9; border: medium solid white; border-radius: 20px; padding: 5px 10px; 
  		transition: .5s;
	}
	.but:hover{ background-color: #99d6ea; }
	/*#player1, #player2{position: relative;}*/

	.source{  background-color: white; border: thin solid black;
		z-index: 3;
		padding: 15px; border-radius: 9px;
		position: absolute;	
		width: 40%; max-height:70%;
		top: 100px; 
		/*calc(100vh - 65px)*/
		overflow:scroll; 
		-webkit-box-shadow: 0px 0px 30px 47px rgba(0,0,0,0.67);
		-moz-box-shadow: 0px 0px 30px 47px rgba(0,0,0,0.67);
		box-shadow: 0px 0px 30px 47px rgba(0,0,0,0.67);
}



/*  --- DROPDOWN --- */
	mjx-container[jax="CHTML"]{
	    z-index: 0;
	}    
		.drop{
			z-index: 1;
			cursor: pointer;
			user-select: none;
  			position: relative;
			vertical-align: middle;
			display: inline-block;
			border: thin solid #ececec;
			border-radius: 7px;
			padding: 0px 10px 8px 10px;
			margin: 5px;
			height: 38px;
			overflow: hidden;
		}
		.drop:hover{ background: #f2f1f1; }
		.drop div:first-child{ margin-top: 2px; }
		.drop div{
			z-index: 3;
			background: lightgrey;
			padding: 5px 10px;
			display: block;
			user-select: none;
			box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
		}
		.drop div:hover{
			background: #b5f8b3;
		}
		.open{
			overflow: visible;
		}

input[type="checkbox"] {
	appearance: none;
	background-color: #9babb7;
	margin: 0;
	font: inherit;
	color: #5e4564;
	width: 1em;
	height: 1em;
	border: 0.15em solid currentColor;
	border-radius: 0.15em;
	transform: translateY(.25em);
}		

/*font-size: .75em; background-color: #1facd9; 
border: medium solid white; border-radius: 20px; padding: 5px 10px; 
  		transition: .5s;*/

input[type=file]::file-selector-button {
	margin: 0px;
	border: medium solid white;
	padding: 5px 10px;
	font-size: 1.4em;
	border-radius: 20px;
	background-color: #1facd9;
	transition: .5s;
}

input[type=file]::file-selector-button:hover {
	background-color: #81ecec;
}



/* -------- Fraction Display -------- */
	span.frac {
		font-size: .7em;
	  display: inline-block;
	  text-align: center;
	  vertical-align: middle;
	}
	span.frac > sup, span.frac > sub {
	  display: block;
	  font: inherit;
	  padding: 0 0.3em;
	}
	span.frac > sup {border-bottom: 0.08em solid;}
	span.frac > span {display: none;}
/* --------    -------- */
hr{
  border: none;  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), cornflowerblue, rgba(0, 0, 0, 0));
}
.ref{ color:grey;
/*	font-size: .5em;*/
/*	background-color: #48a9ff;*/
/*	border:thin solid grey; border-radius:3px;*/
	cursor: pointer;
}
.ref:hover{ background-color: #9fcaef; color:black; }
.foot{
	height: 50px;
	background-color: #9fcaef; 
	color: white; text-align: center;
}

table{
	margin-top: 20px;
	margin-bottom: 15px;
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #ddd;
  padding: 8px;
}

tr:nth-child(even){background-color: #f2f2f2;}

tr:hover {background-color: #ddd;}

th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #04AA6D;
  color: white;
}

    body {
      font-family: 'Lato', sans-serif;
    }

    .overlay {
      height: 100%;
      width: 100%;
      display: none;
      position: fixed;
      z-index: 4;
      top: 0;
      left: 0;
      background-color: rgb(0,0,0);
      background-color: rgba(0,0,0, 0.9);
    }

    .overlay-content {
      position: relative;
      top: 10%;
      width: 100%;
      text-align: center;
      margin-top: 30px;
    }

    .overlay a {
      padding: 8px;
      text-decoration: none;
      font-size: 22px;
      color: #818181;
      display: block;
      transition: 0.3s;
    }

    .overlay a:hover, .overlay a:focus {
      color: #f1f1f1;
    }

    .overlay .closebtn {
      position: absolute;
      top: 20px;
      right: 45px;
      font-size: 60px;
    }

    @media screen and (max-height: 450px) {
      .overlay a {font-size: 20px}
      .overlay .closebtn {
      font-size: 40px;
      top: 15px;
      right: 35px;
      }
    }
    #selections{
    	color:white; text-align:center;

    }

    #selections select {
		  /* styling */
		  background-color: white;
		  border: thin solid blue;
		  border-radius: 4px;
		  display: inline-block;
		  font: inherit;
		  padding: 0.2em 2em 0.2em .5em;

		  /* reset */
		  margin: 0;      
		  -webkit-box-sizing: border-box;
		  -moz-box-sizing: border-box;
		  box-sizing: border-box;
		  -webkit-appearance: none;
		  -moz-appearance: none;

		  background-image:
		    linear-gradient(45deg, transparent 50%, blue 50%),
		    linear-gradient(135deg, blue 50%, transparent 50%),
		    linear-gradient(to right, skyblue, skyblue);
		  background-position:
		    calc(100% - 20px) calc(1em + 2px),
		    calc(100% - 15px) calc(1em + 2px),
		    100% 0;
		  background-size:
		    5px 5px,   5px 5px,   1.5em 1.5em;
		  background-repeat: no-repeat;
	}


	.good, .bad, .ref { padding: 0px 8px; border-radius: 7px; }
	.good{ background-color: #25d525; }
	.bad{ background-color: #f15656; }

	img{ margin-top:20px; margin-bottom:20px; display:block; 
  margin-left: auto;
  margin-right: auto;
}