.container2{
	margin-left: 3em;
	margin-right: 3em;
}

.tablecontainer::-webkit-scrollbar{
	width: 1em;
	height: 1em;
}

.tablecontainer::-webkit-scrollbar-button{
	height: 0;
	width: 0;
}

.tablecontainer::-webkit-scrollbar-track{
	background-color: rgba(0, 0, 0, 0.2);
}

.tablecontainer::-webkit-scrollbar-thumb{
	background-color: rgba(255, 255, 255, 0.1);
	border: .3em solid transparent;
	-webkit-border-radius: .5em;
	border-radius: .5em;
	-webkit-background-clip: content;
	-moz-background-clip: content;
	background-clip: content-box;
}

.tablecontainer::-webkit-scrollbar-thumb:hover{
	background-color: rgba(255, 255, 255, 0.15);
}

.tablecontainer::-webkit-scrollbar-corner{
	background-color: rgba(255, 255, 255, 0.1);
}

th{
	background-color: rgb(28, 31, 37);
	text-align: center;
}

tr:hover{
	background-color: rgb(42, 46, 55);
}

.container-fluid{
	overflow-x: hidden;
}

.pop-up {
	background-color: #3a3a3a;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);

	padding: 15px;
	font-size: 14px;
	color: #aaa;

	position: absolute;
	z-index: 999;

	align-items: center;
	justify-content: center;
	flex-direction: row;
	border: .1em solid black;
	padding: 1em;
	text-align: left;
	font-weight: bold;
}

.dicon{
	width: 24px;
	height: 24px;
	margin-right: 12px;
	border: none;
}

.word{
	cursor: pointer;
}

.container {
	perspective: 1000px;
	perspective-origin: 50% -600%;
  	transform: rotateX(30deg);
	width: auto;
	margin: 0 20px 0 10px;
}

.cube {
	width: 50px;
	height: 50px;
	position: relative;
	transform-style: preserve-3d;
}
  
.face {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	opacity: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 25px;
}

.face>img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.front {
	transform: rotateY(0deg) translateZ(25px);
	background: #808080;
}

.back {
	transform: rotateY(180deg) translateZ(25px);
	background: #808080;
}

.left {
	transform: rotateY(-90deg) translateZ(25px);
	background: #808080;
}

.right {
	transform: rotateY(90deg) translateZ(25px);
	background: #808080;
}

.top {
	transform: rotateX(90deg) translateZ(25px);
	background: #808080;
}

.bottom {
	transform: rotateX(-90deg) translateZ(25px);
	background: #808080;
}

@keyframes spin {
	from {
		transform: rotateY(45deg) rotateX(0deg);
	}
	to {
		transform: rotateY(405deg) rotateX(360deg);
	}
}

.cube {
	animation: spin 4s infinite ease-in-out;
}
  
#highlighted-text{
	color: #eee;
	right: 2em;
	top: 2px;
	position: absolute;
	text-align: right;
}

.highlight{
	color: #fbc531;
	font-weight: bolder;
}

.counter{
	font-size: larger;
	color: #f39c12;
}

.defcontainer{
	display: flex;
	align-items: center;
	border: 1px solid #999;
    padding: 1em;
	position: relative;
	transition: border-color 0.3s ease;
}

.activedef{
	border: 1px solid #fffd00;
	transition: border-color 0.3s ease;
}

.def{
	width: 90%;
	background-color: rgb(56 62 74);
	color: #eee;
	border: none;
	outline: none;
	display: inline-block;
	white-space: pre-wrap;
	margin-right: 1em;
	font-size: 1.5em;
}

.side{
	display: inline;
}

.edited{
	color: #e67e22;
	font-style: italic;
}

.removed{
	color: #e74c3c;
	text-decoration: line-through;
}

.newdef{
	color: #2ecc71;
	font-style: italic;
}

.moved{
	color: #f1c40f;
}

#searchstuff{
	font-size: 2em;
}

.upper{
	text-transform: uppercase;
}

#defsinfo{
	color: #3498db;
}

.clickabledico{
	cursor: pointer;
	color: #95a5a6;
	font-style: italic;
}

.clickabledico:hover{
	text-decoration: underline;
}

.currentdico{
	color: #95a5a688;
}

.root{
	font-size: .5em;
}

.hoveredword:hover{
	cursor: pointer;
	text-decoration: underline;
	color: #3498db;
}

.indico{
	color: #4caf50;
}

.notindico{
	color: #ff5722;
}

.dicon2{
	width: 2em;
	height: 2em;
	margin-right: .8em;
	border: none;
	margin-bottom: 1em;
}

.dicon3{
	width: 1.2em;
	height: 1.2em;
	border: none;
	margin-top: .2em;
	margin-bottom: .2em;
}

.gendericon {
	width: .8em;
	height: .8em;
	border: none;
	margin-bottom: .6em;
	margin-left: .1em;
}

.linkicon {
	width: .5em;
	height: .5em;
	border: none;
	margin-bottom: .1em;
	margin-left: -.7em;
	margin-right: .4em;
}

img.clickabledico:hover:not(.currentdico){
	border: .1em solid #f1c40f86;
	border-radius: .3em;
}

img.clickabledico.currentdico{
	border: .1em solid #f1c40f;
	border-radius: .3em;
}

h1{
	display: inline;
}

.defnum{
	color: #a29bfe;
	width: 2em;
	position: absolute;
	top: 0px;
	right: 0px;
	text-align: right;
	font-size: 1.5em;
	margin-right: .2em;
	margin-top: -.2em;
	font-weight: bold;
	user-select: none;
}

.defword{
	color: #a29bfe;
	position: absolute;
	top: 0px;
	right: 0px;
	text-align: right;
	font-size: 1em;
	margin-right: .2em;
	margin-top: -.2em;
	font-weight: bold;
}

.unknown{
	text-decoration: underline dashed .07em orange;
	text-underline-offset: .2em;
}

.controlcheckbox {
	width: 1em;
	height: 1em;
	vertical-align: middle;
	margin-bottom: .3em;
}

h3{
	line-height: 2em;
	font-size: 2em;
}

#themeadder{
	font-size: .5em;
	vertical-align: super;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border-radius: 1em;
	cursor: pointer;
	text-align: center;
	text-align-last: center;
}

#themeadder option {
	background-color: #343a40;
	color: #ccc;
}

#themeadder:focus {
	outline: none;
	box-shadow: 0 0 5px #6cb1e1;
}

.mininfo {
	font-size: smaller;
}

.grammar {
	color: #60a3bc;
}

.pronunciation {
	color: #079992;
}

.nosound {
	color: #eb4d4b;
}

.mt-5 {
	margin-top: 2em!important;
}

.clickableword:hover {
	cursor: pointer;
	text-decoration: underline;
}

.addgrammar {
	border-radius: 50%;
	font-weight: bold;
}

.altered {
	color: #e67e22;
}

.nooutline {
	outline: none;
}

.disagree {
	cursor: pointer;
	color: #78e08f;
}