/* -- E D I T O R  C L A S S E S -- */

:root {
	--f7-safe-area-top: 0px; 
	--f7-safe-area-bottom: 0px;
}


@font-face {
	font-family: 'Material Icons';
	font-style: normal;
	font-weight: 400;
	src: url(../../fonts/MaterialIcons-Regular.eot);
	/* For IE6-8 */
	src: local('Material Icons'), local('MaterialIcons-Regular'), url(../../fonts/MaterialIcons-Regular.woff2) format('woff2'), url(../../fonts/MaterialIcons-Regular.woff) format('woff'), url(../../fonts/MaterialIcons-Regular.ttf) format('truetype');
}

.bootstrap-scrollbar::-webkit-scrollbar {
	display: block !important;
	width: 8px !important;
	background-color: transparent;
}
.bootstrap-scrollbar::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
	cursor: grabbing;
}
.bootstrap-scrollbar::-webkit-scrollbar-thumb {
	border-radius: 8px;
	background-color: #999;
	-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.5); 
	border: 2px solid transparent !important;
}
.bootstrap-scrollbar::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(30,30,30,0.04); 
}

.ios-scrollbar::-webkit-scrollbar {
	width: 5px !important;
	display: block !important;
	background-color: transparent;
	border: 1px solid rgb(180, 180, 180);
}

.ios-scrollbar::-webkit-scrollbar-thumb {
	margin: 5px;
	background-color: #999;
	-webkit-border-radius: 5px;
}

​ html {
	-webkit-user-select: none;
	overflow-x: hidden !important;
	overflow-y: hidden !important;
	background-color: transparent !important;
	box-sizing: border-box;
}

body {
	-webkit-user-select: none;
	overflow-x: hidden !important;
	overflow-y: hidden !important;
	flex-shrink: 0;
	border-radius: 0px;
	border-color: #000;
	box-sizing: border-box;
	/* border: 16px solid #000000; */
	border: 0px !important;
	padding:0px !important;
}
.dynamic-island {
	content: '';
	position: absolute;
	width: 125px;
	height: 37px;
	left: 50%;
	transform: translateX(-50%);
	top: 10px;
	background: #000;
	z-index: 99999999999999999;
	pointer-events: none;
	border-radius: 999px;
	opacity: 1;
}
.dark .dynamic-island {
	border: 1px solid rgb(61,61,61) !important;
}


* [data-x="object"], * [data-x="object"]:focus {
	box-sizing: border-box;
	outline-color: rgb(128, 128, 128) !important;
	outline-style: dashed !important;
	outline-width: 1px !important;
	overflow: hidden !important;
}
* [data-x="object"]:hover {
	outline-color: rgba(100,149,237,0.5) !important;
	outline-style: dashed  !important;
	outline-width: 1px !important;
}

#sortable {
	box-sizing: border-box;
	height: 100% !important;
	width: 100% !important;
	overflow-y: hidden !important;
  }

 
  #sortable::-webkit-scrollbar {
	width: 5px !important;
	display: block !important;
	background-color: #333233;
	border: 1px solid rgb(80, 80, 80);
  }
  
  #sortable::-webkit-scrollbar-thumb {
	margin: 5px;
	background-color: #999;
	-webkit-border-radius: 5px;
	border-radius: 5px;
  }

.editor-container {
	box-sizing: border-box;
	overflow-x: hidden !important;
	overflow-y: scroll !important;
	position: absolute !important;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	/* pointer-events: none; */
	-webkit-perspective: 1000;
	/* important, fix bug of customized scrollbar with webkit-translate */
	/*CSS transforms*/
	-o-transform: none !important;
	-moz-transform: none !important;
	-ms-transform: none !important;
	-webkit-transform: none !important;
	transform: none !important;
	/*CSS animations*/
	-webkit-animation: none !important;
	-moz-animation: none !important;
	-o-animation: none !important;
	-ms-animation: none !important;
	animation: none !important;
	/* disable transitions */
	-moz-transition: none !important;
	-webkit-transition: none !important;
	-o-transition: color 0 ease-in !important;
	transition: none !important;
}

* {
	box-sizing: border-box !important;
	/* transition: all !important;
	transition-timing-function: linear !important; */
}

.bodybackground {
	position: fixed;
	top: 0;
	left: 0;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -100;
}

/* Prevent the text contents of draggable elements from being selectable. */

[draggable] {
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	/* Required to make elements draggable in old WebKit */
	-khtml-user-drag: element;
	-webkit-user-drag: element;
}

/* sortable UL handled by jquery */

.editor-container #sortable {
	box-sizing: border-box;
	padding: 0px;
	margin: 0px;
	outline-width: 0px !important;
	border: 0px solid transparent !important;
	pointer-events: all;
	overflow-x: hidden !important;
	overflow-y: hidden !important;
}

/* V4 */
.editor-container.bootstrap-scrollbar {
	overflow-x: hidden !important;
	overflow-y: hidden !important;
}
.bootstrap-scrollbar  #sortable {
	overflow-y: scroll !important;
}
/* V4 */


/* block container */

.editor-container .ui-sortable .block {
	box-sizing: border-box;
	position: relative;
	display: block;
	float: left;
	top: 2px;
	height: auto;
	min-height: 28px;
	width: 100%;
	border-radius: 0px;
	list-style-type: none;
	outline-width: 1px !important;
	outline-color: rgba(73, 115, 171,0.7) !important;
	outline-style: dashed !important;
	margin: 0px !important;
	padding: 2px !important;
}

.editor-container .ui-sortable .block .handle {
	box-sizing: border-box;
	position: absolute;
	left: 1px;
	top: 2px;
	color: rgb(130, 130, 130);
	font-size: 10px;
	z-index: 9998;
	display: block;
	height: 28px;
	width: auto;
	min-width: 20px;
	padding-right: 0px;
	padding-left: 0px;
	opacity: 0.9;
	border-radius: 0px;
	outline-width: 0px !important;
	outline-color: transparent !important;
}

.editor-container .ui-sortable .block .handle:hover {
	opacity: 0.7;
	cursor: url(img/grab.png);
}

.editor-container .ui-sortable .block .handle .grab {
	position: relative;
	background-color: rgb(73, 115, 171);
	float: left;
	display: block;
	width: 20px;
	height: 20px;
	outline-width: 0x !important;
	outline-color: transparent !important;
}

.editor-container .ui-sortable .block .handle .grab img {
	width: 20px;
	height: 20px;
	cursor: url(img/grab.png);
	outline-width: 0x !important;
	outline-color: transparent !important;
}

.editor-container .ui-sortable .block .handle .grab:hover {
	opacity: 0.9;
}

.editor-container .ui-sortable .block .handle .deleteblock {
	position: relative;
	background-color: rgb(162, 10, 22);
	float: left;
	display: none;
	width: 28px;
	height: 28px;
}

.editor-container .ui-sortable .block .handle .deleteblock img {
	width: 28px;
	height: 28px;
}

#object-dropper {
	display: none;
	z-index: 99999999;
	position: absolute;
	min-width: 10px;
	top: 0px;
	left: 0px;
	pointer-events: none;
	opacity: 1;
	-webkit-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

/*-- S E L E C T E D  O B J E C T  L A B E L --*/

#object-label {
	position: absolute;
	z-index: 9999999;
	display: none;
	margin:0;
	pointer-events: none;
	left: 0px;
	width: auto;
	width: auto;
	background-color: #2187FC;
	opacity: 0.99;
	color: white;
	font-size: 12px;
	border-radius: 4px;
	border: 1px solid #2187FC;
	cursor: default;
	padding: 2px;
	padding-left: 18px;
	padding-right: 4px;
	min-height: 22px;
	height: 22px !important;
	max-height: 22px !important;
	background-image: url(img/crumbicon.png);
	background-repeat: no-repeat;
	background-position: 4px 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-sizing: border-box !important;
}

#object-label-text {
	color: white;
	margin: 0px !important;
}

.droptarget {
	border: 4px dotted yellow;
	height: 5px;
	color: red;
	margin-bottom: 15px;
	height: 150px;
	width: 100%;
}

.objecthandle {
	position: absolute;
	pointer-events: none;
	padding: 0px !important;
	background-color: rgba(76, 149, 229, 0.02);
	border: 1px solid #2187FC;
	z-index: 9999;
	color: red;
	font-size: 19px;
}

.objecthandle .handle {
	position: absolute !important;
	width: 8px;
	height: 8px;
	max-width: 8px;
	max-height: 8px;
	border: 1px solid #2187FC;
	background-color: rgba(255, 255, 255, 1);
	padding: 0px;
	margin: -1px;
}

.objecthandle .topleft {
	left: -2px;
	top: -2px;
}

.objecthandle .topright {
	right: -2px;
	top: -2px;
}

.objecthandle .bottomleft {
	left: -2px;
	bottom: -3px;
	top: auto;
}

.objecthandle .bottomright {
	right: -2px;
	bottom: -3px;
	top: auto;
}

.osmpreview {
	background-image: url(img/osmpreview.png);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.toolbar input {
	pointer-events: none !important;
}


.time-block {
	opacity: 0.8;
    cursor: default;
	position: absolute;
	color: black;
	top: 16px;
	left: 24px;
	font-weight: 600;
	font-size: 15px;
	z-index: 9999;
}
.simulator-icons-block {
	opacity: 0.8;
    cursor: default;
	position: absolute;
	color: black;
	top: 16px;
	right: 24px;
	font-weight: 600;
	font-size: 15px;
	z-index: 9999;
}
.simulator-icons-block i {
	font-size: 16px;
	margin-left:4px;
}
.dark .simulator-icons-block i {
	color: white;
}
.dark .time-block {
	color: white;
}