@import url("./window/-.css") all;
@import url("./sheets/auth/-.css") all;
@import url("./sheets/user/-.css") all;
@import url("./sheets/labels/-.css") all;
@import url("./sheets/products/-.css") all;
@import url("./sheets/persons/-.css") all;
/*@import url("./comps/cards/prod/-.css") all;*/
 

html, body {
	width: 100%;
	height: 100%;
	min-height: 1px;
	background-color: white;
	padding: 0;
	margin: 0;
	/*overflow: hidden;*/
}

* {
	font-family: Arial;
}

.clearfix:after {
  content: ".";    
  display: block;    
  height: 0;    
  overflow: hidden;        
}
.clearfix:after { clear: both; }
.clearfix { zoom: 1 ;} /* IE < 8 */


#app, #wrap, #work {
	height: 100%;
}

.wait{
	position: fixed;
	width: 100%;
	height: 100%;
	background: url('/img/wait.gif') no-repeat center;
	z-index: 100;
}

.blur{
  	filter: blur(2px);
  	-webkit-filter: blur(2px);
  	-moz-filter: blur(2px);	
}


#menu_top {
	padding: 0;
	margin: 0;
	background-color: #ececd9;
	font-size: 0;
	height: 30px;
}

#menu_top li {
	padding: 5px 10px;
	margin: 0;
	min-height: 20px;
	background-color: beige;
	display: inline-block;
	font-family: Arial;
	font-size: 15px;
	cursor: pointer;
	position: relative;
}

#menu_top ul {
	/*max-width: 200px;*/
}

#menu_top ul > li {
	display: block;
}
#menu_top ul > li:hover {
	background-color: #ececd9;
}


#menu_top li .dropdown li span {
	white-space: nowrap;
}

#menu_top li.sel {
	background-color: white;
}

#menu_top > li.right {
	float: right;	
}

#menu_top > li.empty {
	background-color: unset;
	cursor: unset;
}


#menu_top svg path{
	fill: black;
}

#menu_top .dropdown {
	/*display: none;*/
	position: absolute;
	left: -1px;
	top: 29px;
  padding: 5px 0 0 0;
	background-color: beige;
	z-index: 3;
	min-width: 200px;
}

#menu_top > li:hover .dropdown{
	display: block;
	/*position: relative;*/
}

#menu_top > li.alarm.active {
}

#menu_top > li.alarm span {
	background-color: #d8d8d8;
	color: white;
	border-radius: 14px;

	width: 22px;
	height: 22px;	
	font-size:20px;
	font-family: Mono;
	font-weight: bold;
	position: relative;
	top: -2px;
	display: block;
	float: right;
	text-align: center;

	margin-left: 6px;
}

#menu_top > li.alarm.active span {
	background-color: red;
}

#menu_top > li.alarm span.backgrounds {
	font-size: 14px;
	padding-top: 0;
	/*top: -4px;*/
}


#menu_top > li.glob_filter {
	background-color: yellow;
	border-radius: 15px;	
	padding-bottom: 4px;
}

/*#menu_top .dropdown.sub {
	position: absolute;
}*/


/**/
.popupmenu {
    display: block;
    position: absolute;
    background-color: white;
    border: 1px solid #dddddd;
    z-index: 11111;
}
.popupmenu ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.popupmenu li div{
  margin: 1px 0;
  padding: 3px 10px;
  color: black;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
}
.popupmenu li div.sub {
  padding: 3px 0;
}
.popupmenu li li{
  padding-left: 15px;
}
.popupmenu li div{
  background-color: white;
}
/*.popupmenu li:hover > div.text{*/
.popupmenu div.text:hover{
  background-color: silver;
}
.popupmenu li.sel > div.text{
  font-weight: bold;
}
.popupmenu ul>:first-child div{
  margin-top: 0px;
}
.popupmenu ul>:last-child div{
  margin-bottom: 0px;
}
.popupmenu.open{
  display: inline-block;
}
/**/

#work_place {
	padding: 0;
    position: absolute;
    left: 0;
    top: 30px;
    right: 0;
    bottom: 0;
}


.sheet_title {
	text-align: center;
	font-family: Arial;
	font-size: 19px;
	color: #545454;
	padding: 7px 0 10px 0;
}


table.list {
    border-collapse: collapse;
}
table.list tr th,
table.list tr td {
	border: 1px solid silver;
    vertical-align: top;
    font-size: 15px;
    font-family: Arial;
    padding: 5px 5px 1px 5px;
}




.edit {
	text-align: center;
	position: absolute;
	top: 39px;
	width: 100%;
}

.edit .border {
	display: inline-block;
	border: 3px solid silver;
	border-radius: 4px;
	background-color: white;
	padding: 10px 20px;
    width: 60%;
    box-sizing: border-box;
}

@media(max-width: 768px) {
	.edit .border {
		width: 100%;
	}
}

.frame .edit {
	position: unset;
	top: unset;
	width: unset;
}
.frame .edit .border {
	display: block;
	border: 1px solid silver;
	border-radius: 4px;
	background-color: white;
	padding: 10px 20px;
  width: unset;
  box-sizing: border-box;
}



.edit .border > table {
	border-collapse: collapse;
	width: 100%;
}

.edit .border td {
	border: 0;
  vertical-align: top;
  font-size: 15px;
  font-family: Arial;
  padding: 2px;
	text-align: left;
}

.edit .border > table input {
	width: 100%;
}
.edit .border > table input[type=checkbox]
{
	width:20px;
	cursor: pointer;
}




.panel {
	background-color: white;
    border-radius: 4px;
    border: 4px solid silver;
}

.panel .top {
	height: 30px;
}

.panel .close {
	fill: gray;
    height: 20px;
    position: absolute;
    right: 4px;
    top: 4px;
    cursor: pointer;
}



.pagination {
	margin: 0;
	padding: 10px 0;
	font-size: 0;
}

.pagination li {
	margin: 0 3px;
	display: inline-block;
	color: #208cf1;
	padding: 2px 4px;
	font-size: 16px;
	line-height: unset;
    font-family: Arial;
    cursor: pointer;
    border-radius: 3px;
}

.pagination li.sel {
	background-color: #208cf1;
	color: white;
}





.list {
    width: 100%;
}

.list tr {
	cursor: pointer;
}

.list tr td {
	color: black;
}

.list td.image {
	text-align: center;
}

.list td.image img {
	height: 100px;
}

.list tr td.upd,
.list tr th.del,
.list tr td.del,
.list tr td.repl,
.list tr td.check {
	text-align: center;
	vertical-align: middle;
}

table.list tr td.upd{
	text-align: center;
	width: 20px;
	color: olive;
	font-size: 15px;
	cursor: pointer;
}
table.list tr td.del{
	text-align: center;
	width: 20px;
	color: red;
	font-size: 15px;
	cursor: pointer;
}


.list tr td.repl {
	color: #28c8f0;
}

.list tr td.check {
	color: blue;
}

.list tr td.frames {
	text-align: center;
}

.list tr td.upd svg {
	fill: olive;
	height: 12px;
}

.list tr th.del svg,
.list tr td.del svg {
	fill: red;
	height: 10px;
}

.add-item {
	float: right;
	margin: 10px; 
}

.window .footer button.new-style {
  margin: 0 10px;
  min-width: 120px;
  padding: 2px 20px;
	float: right;
}

.window .filter-box 
{
	text-align: left;
	position: relative;
	padding-right: 3px;
}
.window .filter-box input {
	position: absolute;
}
.window .filter-box button.action {
  margin: 0;
  min-width: 120px;
  padding: 2px 20px;
	float: right;
}
.window .filter-box.filtered input{
	background-color: #ffffc2;
}
.window .filter-box.filtered button.action{
	color: yellow;
}


.edit .cancel {
	float: right;
	/*position: relative;
  right: -9px;*/
}


.edit .image {
	position: relative;
}

.edit .image .input {
    position: absolute;
    top: 2px;
    left: 2px;
    right: 105px;
    bottom: 0;
}

.edit .image button {
	float: right;
    width: 100px;
    padding: 2px;
    position: relative;
    /*left: 9px;*/
    top: -1px;
}

.edit .imageList {
	position: fixed;
	top: 10%;
	left: 10%;
	right: 10%;
	bottom: 10%;
}

.edit .imageList .image_add_link{
	position: absolute;
	right: 60px;
	top: 2px;
	padding-top: 4px; 
	padding-bottom: 4px; 
}

.edit .imageList .list {
	overflow: scroll;
	position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    bottom: 0;
}

.edit .imageList .list img {
	height: 100px;
	display: inline-block;
	margin: 5px;
}

.edit .imageList .list img.loaded {
	border: 1px solid silver;
	cursor: pointer;
}


.edit .imageList .list .line {
	text-align: left;
	/*color: #208cf1;*/
	cursor: pointer;	
	
	font-size: 15px;
    font-family: Arial;
    padding: 5px 5px 1px 5px;	
}

.edit .imageList .list .line:hover {
	background-color: #f5f5f5;
}


.edit .imageList .list .save {
}
.edit .imageList .list .cancel {
	float: right;
}


.edit .imageList .bottom {
	overflow: scroll;
	position: absolute;
    height: 39px;
    left: 0;
    right: 0;
    bottom: 0;
}


.edit .imageAdd {
	background-color: #fbfbfb;
	border: 3px solid silver;
	border-radius: 3px;
	
	position: absolute;
	top: 5%;
	left: 5%;
	right: 5%;
	
	padding: 10px 20px 10px 10px;
}

.edit .imageAdd > table {
	width: 100%;
}

.edit .imageAdd > table td {
	padding: 4px;
}

.edit .imageAdd > table td span {
	font-family: Arial;
	font-size: 15px;
}

.edit .imageAdd > table td input {
	width: 100%;
}


.edit .list .line {
	font-family: Arial;
	font-size: 15px;
	text-align: left;
	padding: 1px 4px;
	cursor: pointer;
}
.edit .list .line:hover {
	background-color: #f6f6f6;
}
.edit .list .line.sel {
	background-color: #f5f5f5;
}
.list .line:nth-child(odd){
	background-color: #fdfdfd;
}



.add-item {
	margin: 10px;
}

button {
  display: inline-block;
  color: white;
  text-decoration: none;
  /*padding: .5em 2em;*/
  padding: 3px 2em;
  outline: none;
  border-width: 2px 0;
  border-style: solid none;
  border-color: #FDBE33 #000 #D77206;
  border-radius: 4px;
  background: linear-gradient(#F3AE0F, #E38916) #E38916;
  transition: 0.2s;

	text-align: center;
  cursor: pointer;
} 
button:hover { background: linear-gradient(#f5ae00, #f59500) #f5ae00; }
button:active { background: linear-gradient(#f59500, #f5ae00) #f59500; }
button[disabled] {
	color: #c2c2c2;
  background: linear-gradient(#dfaa32, #76490f) #E38916;
}


input, select
{
    border-radius: 4px;
    outline: none;
    border: 1px solid silver;
    height: 22px;
    padding: 1px 3px;
    box-sizing: border-box;
}

input[type=checkbox]
{
	width:20px;
	cursor: pointer;
}


.link {
	border-bottom: 1px dashed black; 
}



.edit.filter .border td.del{
	text-align: center;
	width: 30px;
	color: red;
	font-weight: bold;
	font-size: 15px;
	cursor: pointer;
}

.edit.filter .border td.but{
	text-align: right;
	width: 60px;
}


.finescroll{
	overflow: hidden;
	overflow-y: auto;
	overflow-x: auto;
	/*height: 100%;*/
}
.finescroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.finescroll::-webkit-scrollbar-track {
  background-color: transparent;
}
.finescroll::-webkit-scrollbar-thumb {
  background-color: silver;
  border-radius: 5px;
} 

.finescroll-tiny::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}
.finescroll-tiny::-webkit-scrollbar-track {
  background-color: transparent;
}
.finescroll-tiny::-webkit-scrollbar-thumb {
  background-color: silver;
  border-radius: 3px;
} 




/*+++*/
#body {
  /*min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;*/
}
  
  
#app {
	
	    height: 100%;
	    min-height: 100%;
    /*display: grid;
    grid-template-rows: auto 1fr auto;*/
}

#work_place {
	position: relative;
	top: unset;
	left: unset;
	right: unset;
	bottom: unset;
	/*height: 100%;*/
}

#work {
min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;	
}

.left {
	float: left;
	margin-left: 8px !important; 
}

.right {
	float: right;
	margin-right: 8px !important; 
}


.align-reft {
	text-align: left;
}
.align-right {
	text-align: right;
}
.align-center {
	text-align: center;
}


.tox-notifications-container {
	/*top: 5000px !important;*/
	display: none !important;
}
/*tox tox-silver-sink tox-tinymce-aux*/
.tox.tox-tinymce-aux{
	z-index: 100000;
}


.hide {
	display: none !important;
}