#contentRight .sideTableLeft tr:has(.extendedButton) {
	display:none;
}

#contentLeft .sideTableRight tr:has(.extendedButton) {
	display:none;
}

/*@media only screen and (max-width: 1080px) and (min-width: 1000px) {
	#contentRight .sideTableLeft tr.extendedButton {
		display:table-row;
	}

	#contentRight .sideTableLeft tr:not(.extendedButton) {
		display:none;
	}
}*/

	
.SpellbookContainer {
	margin-right:160px;
}

.SpellbookSpell {
	width:33.333%;
	display:inline-block;
	box-sizing: border-box;
	vertical-align:top;
}

.DesktopCol {
	float:right;
	width:33.3333%;
}

.sideTableMobileButton {
	display:none;
}

.sideTableMobileButtonLeft {
	/*z-index:2001;
	position:fixed;
	top:59px;
	right:13px;*/
}

.menu-button-container {
	display: none;
	height: 60px;
	width: 30px;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	float:right;
	margin-right:15px;
}

#menu-toggle, .submenu-toggle {
	display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
	display: block;
	background-color: #555;
	position: absolute;
	height: 4px;
	width: 30px;
	transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
	border-radius: 2px;
}

.menu-button::before {
	content: "";
	margin-top: -8px;
}

.menu-button::after {
	content: "";
	margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
	margin-top: 0px;
	transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
	background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
	margin-top: 0px;
	transform: rotate(-405deg);
}

/*.submenu-toggle-label {
	display:none;
	width:100px;
	text-align:center;
}*/

#contentLeft .sideTableRight.visible, #contentRight .sideTableLeft.visible {
	left:0;
	box-shadow:0px 0px 13.6px -3.9px grey;
	clip-path: inset(0 -15px 0 0);
}

@media only screen and (max-width: 1050px) {
	#wrapperTableTd1 {
		width:100vw;
		position:absolute;
		top:0;
		left:0;
		z-index: 111;
		background-color: white;
		box-sizing:border-box;
		padding-right:15px;
		box-sizing:border-box;
	}
}

@media only screen and (max-width: 1200px) {
	#contentLeft .sideTableRight tr.extendedButton {
		display:table-row;
	}
	
	#contentLeft .sideTableRight {
		/*display:none;*/
		margin-left:0px;
		position:fixed;
		z-index:1000;
		width:50px;
		background-color:white;
		top:110px;
		left:-110px;
		/*padding:5px;*/
		box-sizing: border-box;
		border-right: 1px solid #ccc;
		height:calc(100vh  - 110px);
		transition: all 300ms;
		box-shadow:none;
	}
		
	#contentLeft .sideTableRight tbody {
		display:flex;
		flex-direction: column;
	}
	#contentLeft .sideTableRight {
		top:56px;
		height:calc(100vh);
		padding-top:14px;
		/*height:auto;*/
	}
	
	#contentLeft .sideTableMobileButton {
		display:block;
	}
	
	#contentLeft {
		padding-left: 50px;
		padding-right:calc(100% - 50px - 430px);
	}
	
	#contentLeft {
		width:100%;
		box-sizing: border-box;
	}
	
	#contentLeft .Tab, #contentLeft .lightTab {
		margin-right:0;
	}
	
	#wrapperTableTd1:has(#contentLeft:empty) {
		display:none;
	}
}

  
@media only screen and (max-width: 700px) {
	
	#contentRight .sideTableMobileButton {
		display:block;
	}
	
	#wrapperTableTd2 {
		width:100%;
		float:none;
		padding-left:50px;
		padding-right:15px;
		box-sizing:border-box;
	}
	
	#contentLeft .sideTableRight .buttonSettings {
		float:none;
	}
	
	#contentRight .sideTableLeft {
		/*display:none;*/
		margin-left:0px;
		position:fixed;
		z-index:1000;
		width:50px;
		background-color:white;
		top:110px;
		left:-110px;
		/*padding:5px;*/
		box-sizing: border-box;
		border-right: 1px solid #ccc;
		height:calc(100vh  - 110px);
		transition: all 300ms;
		box-shadow:none;
	}
	
	#contentLeft .sideTableRight {
		top:0px;
	}
	
	#contentRight .sideTableLeft .buttonSettings {
		float:none;
	}
	
	#contentRight .sideTableLeft tbody {
		display:flex;
		flex-direction: column;
	}
	
	#contentRight {
		width:100%;
		box-sizing: border-box;
	}
	
	#footer {
		display:none;
	}
	
	#busyBox {
		height:50px;
		margin-top:-30px;
		margin-left:-12px;
	}
	
	#wrapper {
		padding-bottom:0;
	}
	
	/*#SpellbookMenuEntry {
		display:block;
	}*/
	
	#SpellbookSortTabs, .SpellbookMinPlugin, .SpellbookUsePlugin, .SpellbookDescription:not(.SpellbookKeepDescription) {
		display:none;
	}

	.SpellbookContainer {
		margin-right:0px;
	}
	
	.SpellbookSpell {
		width:100%;
		float:none;
	}

	.DesktopCol {
		float:none;
		width:100%;
	}

	.DesktopCol2, .DesktopCol3 {
		display:none;
	}
}

@media only screen and (max-width: 900px) {
	#messageLayer {
		display:none;
	}
	
	#SpellbookMenuEntry {
		display:none;
	}
	
	.smallTabImg, .tabImg {
		float:none;
		margin-top:0;
	}
	
	#navigation div.theOne {
		border:1px solid #cccccc;
	}
	
	.smallTab {
		width:auto;
	}
	.menu-button-container {
		display: flex;
	}

	#navigation .hideMenuLabel {
		display:inline-block;
	}
	
	#navTabsWrapper {
		position:fixed;
		top: 56px;
		margin-top: 0px;
		left: 0;
		flex-direction: column;
		width: 100%;
		justify-content: center;
		align-items: center;
		background-color:white;
		height:calc(100vh - 56px);
		overflow: auto;
	}
	
	#navTabsWrapper .navTab {
		float:none;
		margin-right:10px;
		margin-left:10px;
		margin-top:15px;
		margin-bottom:10px;
		height:auto;
	}
	
	#navTabsWrapper .navTab label {
		width:100%;
		display: flex;
		align-items: center;
	}
	
	#navTabsWrapper .navTab > div:not(.submenu) {
		display:flex;
		align-items:stretch;
	}
	
	.hasSubmenu .submenu {
		border:0;
		transition: none;
	}
	
	#menu-toggle ~ #navTabsWrapper {
		margin-left:-100%;
		transition: margin-left 400ms cubic-bezier(0.23, 1, 0.32, 1);
	}

	#menu-toggle:checked ~ #navTabsWrapper {
		display:block;
		margin-left:0px;
		transition: margin-left 400ms cubic-bezier(0.23, 1, 0.32, 1);
	}

	/*#menu-toggle:checked ~ #navTabsWrapper .theOne .submenu,*/ #menu-toggle:checked ~ #navTabsWrapper .submenu-toggle:checked ~ .submenu {
		visibility:visible;
		opacity:1;
		position:static;
	}
	
	nav:has(#menu-toggle:checked) {
		position:fixed;
		top:0;
		left:0;
		width:100%;
	}
	
	body:has(#menu-toggle:checked) {
		overflow:hidden;
	}

	body:has(#menu-toggle:checked) #wrapperTableTd2 {
		display:none;
	}
	
	#menu-toggle:not(:checked) ~ #navTabsWrapper div.theOne {
		position:fixed;
		left:0px;
		top:57px;
		padding-left:7px;
		width:calc(100% - 15px);
		margin:0;
		border-bottom:0;
		border-left:0;
		box-sizing: border-box;
	}
	
	#navTabsWrapper li {
		margin: 0;
		width: 100%;
		color: #222;
		background-color: white;
		border-radius: 0;
	}
	
	#navTabsWrapper li:not(.current):hover, .contentMenu li:not(.current):hover {
		background-color:white;
	}
	
	#navTabsWrapper li div {
		display:flex;
		align-items:center;
	}
	
	#navTabsWrapper li a {
		display:block;
		width:100%;
		font-size: 110%;
	}
	
	#navigation {
		/*display:none;*/
		height:100px;
	}
	
	#navTabsWrapper {
		/*display:none;*/
		/*height:56px;*/
	}
	
	#navTabsWrapper {
		/*display:none;*/
	}
}