﻿body{
	background-color:#FFF;
	font-family:Helvetica Neue,Helvetica,Arial,sans-serif;
	font-size:1rem;
	padding: 0px;
	margin: 0px;
	height: 100%;
	/*margin: 0.5rem;*/
}

#login {
	display: none;
	background: #78d5ff;
	border: solid 1px black;
	overflow: auto;
	position: absolute;
	height: 280px;
	width: 40rem;
	left: 50%;
	top: calc(50% - 190px);
	margin-left: -20rem;
	border-radius: 8px;
}

#login td{
	padding: 0.7rem;
	font-size:1.8rem;
}

#login input,#login select{
	font-size:1.8rem;
}

#login input[type=submit] {
	padding:5px 25px; 
	background:#ccc; 
	cursor:pointer;
	-webkit-border-radius: 5px;
	border-radius: 5px; 
}




input, select {
	display:inline-block;
}

#loader{
	display: none;
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 19999;
	background: url("../img/load.gif") 50% 50% no-repeat rgb(249,249,249);
	background-color: transparent;
	text-align: center;
	vertical-align: middle;
	text-shadow: 6px 3px 4px #CE5937;
	font-size:4vh;
}

#nav{
	background-color:#88F;
	height: 40px;
	width: 100%;
	border: none;
	box-sizing: border-box;
	padding: 5px;
}

#paint{
	display: none;
	height:calc(100vh - 55px);
	width:100%;
	border: none;
}

.groupRect rect {
	stroke: black;
	stroke-width:1;
	cursor:pointer;
}

.groupRect rect:hover {
	stroke: red;
	stroke-width:3;
}

#myStat {
	position: absolute;
	z-index: 9;
	background-color: #f1f1f1;
	border: 1px solid #d3d3d3;
	top: 65px;
	right: 10px;
	width: 200px;
	height: 200px;
}

#myStatHeader {
	box-sizing: border-box;
	padding: 3px;
	height: 25px;
	cursor: move;
	z-index: 10;
	background-color: #88F;
	color: #fff;
	color: #fff;
	text-align: center;
}

#myStatBody {
	width:100%; 
	height: 175px;
	background-color: #fff;
	text-align: left;
}

#divDetail{
	width: 100%;
	height: 100%;
	position: fixed;
	background: #fff;
	z-index: 150;
	display: none;
	border: solid 1px #AAA;
	padding: 0;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}

#divDetailCaption{
	height:2rem;
	width:100%;
	font-size: 16px;
	font-weight: bold;
	background: #CCC;
	text-align: center;
}

#divDetailBody{
	height: 100%;
	overflow-x: scroll;
	overflow-y: scroll;
}


#divDetailNav{
	height:100%;
	width:100%;
	min-width: 550px;
}

.disabledDiv {
	pointer-events: none;
	opacity: 0.3;
	user-select: none;
}

.btnSave{
	background: url("../img/save-icon.png");
	height: 16px;
	width: 16px;
	margin-top: 5px;
	margin-right: 5px;
	position:absolute;
	top:0px;
	right:30px;
	transition: transform .5s ease-in-out;
	cursor:pointer;
}

.btnSave:hover {
	transform: rotate(360deg);
}

.btnClose{
	background: url("../img/delete-icon.png");
	height: 16px;
	width: 16px;
	margin-top: 5px;
	margin-right: 5px;
	position:absolute;
	top:0px;
	right:0px;
	transition: transform .5s ease-in-out;
	cursor:pointer;
}

.btnClose:hover {
	transform: rotate(360deg);
}

.btnBell{
	background: url("../img/bell.png");
	height: 16px;
	width: 16px;
	margin-top: 5px;
	margin-right: 5px;
	position:absolute;
	top:0px;
	right:30px;
	transition: transform .5s ease-in-out;
	cursor:pointer;
}

.btnBell:hover {
	transform: rotate(360deg);
}

.imgForDrag{
	max-height: 80px; 
	max-width: 80px;
	cursor: move;
	filter: drop-shadow(2px 2px 2px black);
	padding: 4px;
}

.imgForDrag:hover {
	filter: drop-shadow(2px 2px 4px black);
}

/*
.imgForDragSmall{
	max-height: 140px; 
	max-width: 140px;
}

.imgForDragBig{
	max-height: 240px; 
	max-width: 180px;
}
*/
#detailBodyTable{
	border-collapse: collapse;
	width:100%;
	height:calc(100% - 46px);
}

#detailBodyTable td {
	border: 1px solid #000;
}

.textModel {
	/*text-shadow: 2px 2px 2px black;*/
}

.imgModel {
	filter: drop-shadow(2px 2px 2px black);
}

.imgModel:not(.picSelect):hover {
	filter: drop-shadow(2px 2px 4px black);
}

line {
	stroke:#BBB; 
	stroke-width: 1;
	shape-rendering: crispedges;
}

.picSelect{
	filter: drop-shadow(5px 5px 4px #dc6507);
}

.ddbtd{
	width: 180px;
}



#divDetailSelect{
	position: fixed;
	left: 10px;
	top: 5px;
	width: 500px;
}





.mymenu{
	width: 100%;
	height: 100%;
}
.balloonTab {
	overflow: hidden;
	border: 1px solid #ccc;
	border-top: none;
}
.balloonTab button {
	background-color: inherit;
	font-size: 1rem;
	height: 2rem;
	color:#009;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 3px 15px;
	margin: 2px 1px 0px 1px; /* сверху | справа | снизу | слева */
	transition: 0.3s;
	font-family: Impact, Charcoal, sans-serif;
	border-top-right-radius: 1rem;
	border-top-left-radius: 1rem;
	background-color: #eee;
	border: 1px solid #999;
	border-bottom: none;
}
.balloonTab button:hover {
	background-color: #ddd;
}
.balloonTab button.active {
	background-color: #ff7373;
}
.balloonTabContent {
	display: none;
	/*padding: 3px 3px;*/
	/*border: 1px solid #000;*/
	border-top: none;
	height: calc(100% - 2rem - 4px);
	/*height: 800px;*/
	/*background-color: #F44;*/
	/*height: calc(100% - 10rem);*/
}

.balloonTabContentScroll {
	display: none;
	border-top: none;
	overflow-x: hidden; 
	overflow-y: scroll;
}

.magnitTools3{
	display: none;
}

#tooltip {
	background: cornsilk;
	border: 1px solid black;
	border-radius: 5px;
	padding: 5px;
	z-index: 9999;
	max-width: 650px;
}

.vid2{
	width: 15px;
}

.vid3{
	height: 15px;
}

.line4line{
	stroke: #AAA; 
	stroke-width: 5px;
	cursor:pointer;
}

.circleKassa{
	stroke: #555; 
	stroke-width: 1px;
	fill: #ff90d0;
	z-index: 5;
}

.circle{
	stroke: #555; 
	stroke-width: 1px;
	fill: navy;
	z-index: 5;
}

.circleHide{
	display: none;
}

.polygon{
	stroke: #aaa; 
	stroke-width: 1px;
	fill-opacity: 0.08;
	z-index: 4;
}

.polygon:hover{
	fill-opacity: 0.31;
}

.sectItems{
	fill-opacity: 0.7;
}

.imgIspolzovannie {
	opacity: 0.25;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}
	
.imgIspolzovannie:hover {
	opacity: 1;
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
}

.ukazatiModel {
	filter: drop-shadow(1px 1px 25px black);
}

.yura {
	font-size:1.5rem;
	fill: #000;
}

.noGoodsInShop{ /* https://css-tricks.com/stripes-css/ */
	filter: opacity(0.41) saturate(0) blur(3.6px);
}

.myGrid4TD{
	width: calc(100% - 20px);
	border-collapse: collapse;
}

.myGrid4TD td{
	width: 25%;
	border: 1px solid gray !important;
}

.divGrid4TD{
	width: 100%;
	height: 20px;
}

.divGrid4TD table{
	border: none !important;
	padding: 0px !important;
	margin: 0px !important;
	width: 100%;
}

.divGrid4TD table td{
	border: none !important;
	width: 33%;
	font-size:0.8rem;
	text-align: center;
}

#stat{
	position: fixed;
	left: 3px;
	top: 43px;
	width: 290px;
	height: 800px;
	background: cornsilk;
	border: 1px solid black;
	border-radius: 5px;
	z-index: 9999;
	opacity: 0.75;
}
/*
#stat:hover{
	opacity: 1;
}
*/
#statHideShow{
	cursor:pointer;
	display:inline-block;
	height: 18px;
	background: #88F;
	vertical-align:top;
	width: 100%;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
}

#statText{
	display:inline-block;
	vertical-align:middle;
	width: 100%;
	height: calc(100% - 18px);
	overflow-y: scroll;
	font-size: 12px;
	font-weight: bold;
	text-align: left;
}

#statText table tbody tr:hover {
	border: 1px solid black;
	cursor:pointer;
	background: #999;
}

.selectStatText{
	filter: drop-shadow(5px 5px 4px #0008ff);
}

.selectorClick{
	outline: 5px dashed #000000;
	outline-offset: 0px;
}

#stat2{
	display:none;
	position: fixed;
	left: 450px;
	top: 50px;
	width: 600px;
	height: 85px;
	background: cornsilk;
	border: 1px solid black;
	border-radius: 5px;
	z-index: 9999;
	/*opacity: 0.75;*/
}

#stat2Сaption{
	cursor:pointer;
	display:inline-block;
	height: 18px;
	background: #88F;
	vertical-align:top;
	width: 100%;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
}

#stat2Text{
	display:inline-block;
	vertical-align:middle;
	width: 100%;
	height: calc(100% - 18px);
	overflow-y: auto;
	overflow-x: scroll;
	text-align: left;
	background: cornsilk;
}
.stat2img{
	height: 120px; 
	width: auto;
	filter: drop-shadow(2px 2px 2px black);
}

#stat3{
	position: fixed;
	bottom: 0px;
	right: 0px;
	width: 165px;
	height: 100px;
	background: cornsilk;
	border: 1px solid black;
	z-index: 9999;
	opacity: 0.75;
	font-size: 10px;
}

#divPolygon{
	display: none;
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 165px;
	height: 100px;
	background: cornsilk;
	border: 1px solid black;
	z-index: 9999;
	opacity: 0.75;
	font-size: 10px;
}

#divPolygon img{
	margin: 5px;
	cursor: pointer;
}

#stat3 table {
	border-collapse: collapse;
	width: 100%;
}

#stat3 td {
	padding: 0px,3px,0px;
	border: 1px solid gray !important;
}

#stat3 table tr:hover {
	background: gray;
	cursor: pointer;
}


#tooltip table {
	border-collapse: collapse;
	padding: 15px;
}

#tooltip table td {
	border: 1px solid gray;
	padding: 5px
}

#tooltip table thead td {
	background: #CCC;
	font-weight: bold;
	text-align: center;
}


