html,
body,
svg {
	padding: 0;
	margin: 0;
	font-family: Liberation sans, sans-serif;
}
.row.mt-4 i, .row.my-4 i, .row.mt-lg-4 i, .row.my-lg-4 i{
	color: #fff;
}
#canvas {
	transform-origin: 0 0;
}
.whiteboard-text{
	color: #fff;
    font-size: 12px;
}
.icon-container{
	display: flex;
    width: 100%;
    overflow-x: scroll;
    scrollbar-color: #fff #000;
	min-height: 180px;
}
.icon-container::-webkit-scrollbar{
	        /* color: #fff; */
    background-color: #303030ba;
    border-radius: 16px;
    /* width: 6px; */
    height: 6px;
}

.icon-container::-webkit-scrollbar-thumb{
	color: #fff;
	background-color: rgb(246, 246, 246);
	height: 3px;
	width: 3px;
    background-clip: unset;
    border: solid transparent;
    border-width: 1px 1px 1px 6px;
    min-height: 28px;
    border-radius: 16px;
    padding: 100px 0 0;
    /* box-shadow: inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07); */
}
.top-tools-bar, .bottom-tools-bar{
	display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
#loadingMessage {
	font-size: 1.5em;
	background: #eee linear-gradient(#eeeeee, #cccccc);
	padding: 20px;
	width: 40%;
	line-height: 50px;
	text-align: center;
	border-radius: 10px;
	position: fixed;
	top: 40%;
	left: 30%;
	z-index: 1;
	box-shadow: 0 0 2px #333333;
	transition: 1s;
}

#loadingMessage.hidden {
	display: none;
	opacity: 0;
	z-index: -1;
}

#loadingMessage::after {
	content: "...";
}

/* Hide scrollbar for Chrome, Safari and Opera */
#menu::-webkit-scrollbar {
	display: none;
}

/* #menu {
	-ms-overflow-style: none;
	scrollbar-width: none;
	font-size: 16px;
	border-radius: 0;
	overflow-y: scroll;
	position: fixed;
	margin-bottom: 30px;
	left: 0;
	top: 0;
	color: black;
	max-height: 100%;
	transition-duration: 1s;
	cursor: default;
	padding: 10px;
	width: 100%;
	/* -ms-overflow-style: none; 
	scrollbar-width: none;
	font-size: 16px;
	border-radius: 0;
	overflow-y: scroll;
	position: fixed;
	margin-bottom: 30px;
	left: 50%; 
	top: 0; 
	transform: translateX(-50%);
	color: black;
	max-height: 100%;
	transition-duration: 1s;
	cursor: default;
	padding: 10px;
	white-space: nowrap;  
} */

#menu.closed {
	border-radius: 3px;
	left: 10px;
	top: 10px;
	background-color: rgba(100, 200, 255, 0.7);
	width: 6vw;
	height: 2em;
	transition-duration: 1s;
}

#menu h2 {
	/*Menu title ("Menu")*/
	display: none;
	font-size: 4vh;
	text-align: center;
	letter-spacing: .5vw;
	text-shadow: 0px 0px 5px white;
	color: black;
	padding: 0;
	margin: 0;
}

#menu .tools {
	list-style-type: none;
	padding: 0;
}

#settings {
	margin-bottom: 20px;
}

#menu .tool {
	position: relative;
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Safari */
	-khtml-user-select: none;
	/* Konqueror HTML */
	-moz-user-select: none;
	/* Old versions of Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
	/* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
	pointer-events: auto;
	white-space: nowrap;
	list-style-position: inside;
	/* border: 1px solid #eeeeee; */
	text-decoration: none;
	cursor: pointer;
	/* background: #ffffff; */
	/* margin-top: 10px; */
	height: 40px;
	line-height: 40px;
	border-radius: 0px;
	/* max-width: 40px !important; */
	transition-duration: .2s;
	overflow: hidden;
	width: max-content;
	/* box-shadow: inset 0 0 3px #8FA2BC; */
	display: flex;
    justify-content: center;
    align-items: center;
}

/* #menu .tool:hover {
	max-width: 100%;
} */

@media (hover: none),
(pointer: coarse) {
	#menu .tool:hover {
		max-width: 40px;
	}

	#menu .tool:focus {
		max-width: 100%;
	}

	#menu {
		pointer-events: auto;
	}
}

#menu .oneTouch:active {
	border-radius: 3px;
	background-color: #eeeeff;
}

#menu .tool:active {
	box-shadow: inset 0 0 1px #ddeeff;
	background-color: #eeeeff;
}

#menu .tool.curTool {
	box-shadow: 0 0 5px #0074D9;
	background: linear-gradient(#96E1FF, #36A2FF);
}

#menu .tool-icon {
	display: inline-block;
	text-align: center;
	width: 25px;
	height: 25px;
	margin: 2.5px;
	font-family: mono, monospace;
	overflow: hidden;
}

#menu img.tool-icon {
	pointer-events: none;
}

#menu .tool-icon>* {
	display: block;
	margin: auto;
}

#menu .tool-name {
	text-align: center;
	margin-right: 20px;
	margin-left: 20px;
	margin-bottom: 2.5px;
	display: inline-block;
	vertical-align: text-bottom;
	font-weight: 400;
	font-size: 12px;
	line-height: 14px;
	color: #FFFFFF;
}

#menu .tool-name.slider {
	display: inline-block;
	width: 150px;
	height: 30px;
	font-size: .9em;
	line-height: 15px;
	vertical-align: top;
	padding: 6px;

}

#menu .tool.hasSecondary .tool-icon {
	margin-top: 0px;
	margin-left: 0px;
}

#menu .tool .tool-icon.secondaryIcon {
	display: none;
}

#menu .tool.hasSecondary .tool-icon.secondaryIcon {
	display: block;
	position: absolute;
	bottom: 0px;
	left: 26px;
	width: 12px;
	height: 12px;
}

input {
	font-size: 16px;
}

.bottom-edit-tools {
	position: fixed;
	bottom: 2vh;
	justify-content: center;
	display: flex;
	align-items: center;
	width: 100%;
}

#tools {
	background: #212025;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
	border-radius: 16px;
	padding: 16px !important;
	display: flex;
}

.top-edit-option {
	position: fixed;
	top: 0;
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
}

#settings {
	display: flex;
	background: #212025;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
	border-radius: 16px;
	padding: 16px !important;
}

#settings .tool {
	margin: 0 5px;
	background-color: transparent;
	border: none;
}

#colorPresetSel {
	background: #F1F3FF;
	box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
	border-radius: 16px;
	/* transform: rotate(90deg); */
	display: flex;
	right: 0;
	flex-direction: column;
	padding: 16px;
	position: fixed;
	top: 25%;
}

#chooseColor {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 0;
	color: black;
	display: block;
	margin: 0;
	padding: 0;
	background-color: transparent;
}

.colorPresets {
	margin-right: 20px;
	vertical-align: top;
	display: inline-block;
}

.colorPresetButton {
	width: 30px;
	height: 30px;
	border: 1px solid #D4D6DB;
	border-radius: 50%;
	display: inline-block;
	padding: 0;
	vertical-align: middle;
	margin: 5px 0;
	box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

.rangeChooser {
	display: block;
	border: 0;
	width: 100%;
	margin: 0;
	background: transparent;
}

line {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

path {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

text {
	font-family: "Arial", "Helvetica", sans-serif;
	user-select: none;
	-moz-user-select: none;
}

circle.opcursor {
	pointer-events: none;
	transition: .1s;
}

#cursor-me {
	transition: 0s;
}

/* Internet Explorer specific CSS */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
	#chooseColor {
		color: transparent;
	}

	label.tool-name[for=chooseColor] {
		line-height: 10px;
	}
}

.disable-interaction{
	pointer-events: none;
	cursor: not-allowed;
	opacity: 0.9;
}