html {
	overflow-x: hidden;
	overflow-y: hidden;
}

:root {
	--red: rgba(255,0,0,255);
	--darkblue: rgba(15,42,67,255);
	--lightblue: rgba(28,145,215);
	--panelcolor: rgba(245,247,250,255);
	--lightgray: rgba(187,187,189,255);
}

body {

}

#container {
	text-align: center;    
	width: 100%;
	height: auto;
	margin: 0;
	border: 0;
	padding: 0;
}
#deviceM {
	position: absolute;
	text-align: center;
	right: 22vw;
	width: 100%;
	height: 100%;
	z-index: 100;
}
#deviceM label{
	position: absolute;
	top:550px;
	left:-2px;
	width: 100%;
	font-size: xx-large;
	color: black;
}
#loadingScreen {
	position: absolute;
	text-align: center;
	width: 100%;
	height: 100%;
	background: #232727;
	z-index: 100;
}
#loadingScreen label {
	position: absolute;
	top:550px;
	left:-30px;
	width: 100%;
	font-size: xx-large;
	z-index:200;
}

#loadingScreen img {
	padding-top: 10%;
	border-radius: 50%;

}

.column {
}

.row {
	--bs-gutter-x: 0;
}

.options {
}

.feature {
	font-weight: bold;
}

#ServexCanvas {
	width: 100vw;
	height: 100vh;
	outline: none;
	aspect-ratio: initial;
}

.canvas.price {
}

.featuresWrapper {
	width: 40px;
	height: 40px;
	border-style: hidden;
	margin-right: 5px;
}

.featuresB {
	color: white;
	background: var(--darkblue);
	border-radius: 40px;
	width: 40px;
	height: 40px;
	border-style: hidden;
}

.featuresB i {
	margin-top: 12px;
}

/* Tooltip text */
.featuresWrapper .tooltiptext {
	visibility: hidden;

	background-color: #ffffffc4;
	color: #000;
	text-align: center;
	padding: 5px 10px;
	border-radius: 6px;
	position: absolute;
	z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.featuresWrapper:hover .tooltiptext {
	visibility: visible;
	position: absolute;
	top: -40px;
}

.featuresWrapper .tooltiptext::after {
	content: " ";
	position: absolute;
	top: 100%; /* At the bottom of the tooltip */
	left: 17%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #ffffffc4 transparent transparent transparent;
}

.hide {
	display: none;
	text-align: center;
	padding-top: 18%;
	position: absolute;
	width: 220px;
	height: 45px;
	left: 0px;
	top: -45px;
	background-color: #ffffffc4;
	color: white;
	font-weight: bold;
	border-radius: 25px;
	z-index: -1;
}

.hoverB.active {
	border-color: rgb(168, 168, 219);
	color: white;
	background-color: var(--darkblue);
}


.title {
	background-color: var(--darkblue);
	color: white;
	text-align: center;
	padding: 5px;
	margin-bottom: 2px;
}
.title button {
	background: transparent;
	color: white;
	border: 0;
	float: right;
}
.title button:hover {
	color: #a2a2a2;
}

#featuresCol {
	float: left;
	position: relative;
	top: -55px;
	padding-left: 1%;
}

#optionsCol {
	position: fixed;
	background: #ffffffc4;
	width: 250px;
	z-index: 1;
	margin: 1%;
	max-height: 50%;
	overflow-y: hidden;
}

button.option {
	float: left;
	width: 100%;
	cursor: pointer;
	padding-top: 0px;
	padding-bottom: 0px;
}

.figure {
	margin: 4px;
	text-align: left;
	width: 100%;
}

.figure img {
	width: 30px;
	height: 30px;
	border-radius: 40px;
	background: #9f9f9f;
}

.caption {
	font-size: 16px;
	text-align: center;
	padding-left: 15px;
	cursor: pointer;
}

.toolButton {
	height: 40px;
	width: 40px;
	color: white;
	background: var(--darkblue);
	border-radius: 40px;
	cursor: pointer;
	margin-left: 5px;
}

.toolButton:active {
	color: white;
	background: var(--lightblue);
}

/* Tooltip text */
.toolButton .tooltiptext {
	visibility: hidden;
	width: 120px;
	background-color: #ffffffc4;
	color: #000;
	text-align: center;
	padding: 5px 10px;
	border-radius: 6px;
	position: absolute;
	z-index: 1;
}

.toolButton i {
	margin-top: 12px;
}
.door img {
	width: 60%;
	margin-top: 8px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.door:hover .tooltiptext {
	visibility: visible;
	position: absolute;
	top: -40px;
	right: 70%;
}
.download:hover .tooltiptext {
	visibility: visible;
	position: absolute;
	top: -40px;
	right: 40%;
}

.fullscreen:hover .tooltiptext {
	visibility: visible;
	position: absolute;
	top: -40px;
	right: 10%;
}

.toolButton .tooltiptext::after {
	content: " ";
	position: absolute;
	top: 100%; /* At the bottom of the tooltip */
	left: 80%;
	margin-right: 5px;
	border-width: 5px;
	border-style: solid;
	border-color: #ffffffc4 transparent transparent transparent;
}

#toolBar {
	float: right;
	position: relative;
	bottom: 10vh;
	padding-right: 1%;
}

#toolBar svg {
	height: 20px;
	width: 20px;
	color: white;
	margin-top: 10px;
}

.canvas.button {
	position: absolute;
	z-index: 1;
	width: 45px;
	height: 45px;
	font-size: 25px;
	border-radius: 8px;
	border-color: var(--darkblue);
	color: var(--darkblue);
	background-color: white;
}

.canvas.button.one {
	right: 1%;
	top: 1%;
	border-color: var(--darkblue);
	color: white;
	background-color: var(--darkblue);
}

.canvas.button.two {
	right: 1%;
	top: 12%;
}

.canvas.button.tree {
	right: 1%;
	bottom: 2%;
}

/* Bootstrap style override*/
.btn-group, .btn-group-vertical {
	position: relative;
	display: inline-flex;
	vertical-align: middle;
	flex-direction: column;
	width: 100%;
	margin-bottom: 5px;
	overflow-y: auto;
	height: 85%;
}

.button.option {
	color: inherit;
	background-color: inherit;
	border: 0;
}

.button.option:hover {
	color: #fff;
	background-color: #514e5c52;
	border-color: #565e64;
}

.button.option:focus {
	background: #0f2a43b5;
	color: #fff;
	border: 0;
	margin: 0;
}

/*Scrollbar style*/
/* width */
::-webkit-scrollbar {
	width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
	background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: #555;
}

#deviceM{
	display: none;
}
@media only screen and (orientation:portrait) {
	/* For mobile phones on Potrait: */
	html {
		transform: rotate(-90deg);
		/* transform-origin: left top; */
		width: 100vh;
		height: 100vw;
	}
	body {
		position: absolute;
    	right: 46vw;
    	bottom: 22vh;
	}
	#ServexCanvas {
		width: 90vh;
		height: 90vw;
		outline: none;
		aspect-ratio: initial;
	}
	#loadingScreen {
		width: 100vh;
		height: 100vw;
	}
	#spacer{
		padding-right: 1.5%;
		width: 95%;
		display: block;
	}
	#featuresCol {
		float: left;
		position: relative;
		top: -5vh;
		padding-left: 1%;
	}
	.featuresWrapper {
		width: 60px;
		height: 60px;
		border-style: hidden;
		margin-right: 5px;
	}
	.featuresB {
		color: white;
		background: var(--darkblue);
		border-radius: 40px;
		width: 60px;
		height: 60px;
		border-style: hidden;
	}
	.fa, .fas {
		font-size: xx-large;
	}
	#toolBar {
		float: right;
		position: relative;
		bottom: 6vh;
		padding-right: 1%;
	}
	.toolButton {
		height: 60px;
		width: 60px;
		color: white;
		background: var(--darkblue);
		border-radius: 40px;
		cursor: pointer;
		margin-left: 5px;
	}
}@media only screen and (max-width: 1025px) and (orientation:landscape) {
	/* For mobile phones on Landscape: */
	#container{
		width: 100vw;
		height: 100vh;
		background-color: rgb(146 153 161);
	}
	#deviceM{
		display: none;
	}
	#spacer{
		padding-right: 1.5%;
		width: 95%;
		display: block;
	}
	#wrapper{
		border: 1px solid rgb(126 136 151);
	}
	#ServexCanvas {
		width: 100%;
		height: 100%;
		outline: none;
		aspect-ratio: initial;
	}
	#loadingScreen img {
		padding-top: 0;
	}
	#loadingScreen label {
		position: absolute;
		top: 363px;
		left: -10px;
		color: white;
		width: 100%;
		font-size: xx-large;
		z-index: 200;
	}
	#loadingScreen {
		width: 100vw;
		height: 100vh;
	}
	#toolBar{
		float: right;
		position: relative;
		bottom: 10vh;
		right: 4vw;
		padding-right: 0;
	}
	.Vert-Rot-button{
		height: 400px;
		line-height: 400px;
		width: 44px;
		background: rgb(179 181 191 / 29%);
		color: rgb(135 137 147 / 50%);
		position: absolute;
		bottom: 14vh;
		border-radius: 10px;
		text-align: center;
	}
	.Hor-Rot-button{
		height: 43px;
		line-height: 43px;
		width: 450px;
		background: rgb(179 181 191 / 29%);
		color: rgb(135 137 147 / 50%);
		position: absolute;
		left: 28vw;
		border-radius: 10px;
		text-align: center;
		z-index: 0;
	}
	#rightRot{
		right: 0vw;
	}
	#leftRot{
		left: 0vw;
	}
	#upRot{
		top: 0vh;
	}
	#downRot{
		bottom: 0vh;
	}
}