.default-view_logout form{
	/*width: auto;*/
	/*margin: auto;*/
	/* position: absolute;*/
	padding:10px;
	background-color: #FFF;
	border: 1px solid #000;
}

.default-view_logout{
	display: flex;
	align-items: center;
	justify-content: center;
	background: url(/images/cg.svg) no-repeat 50% 50% #E5E5E5 !important;
	background-size: auto 90% !important;
	background-color: #E5E5E5;
}

.default-view_logout img{
	margin: 5px;
	cursor: pointer;
}

.default-view_logout input{
	display: block;
}

.logout{
	width: 100%;
	text-align:right;
}

.logout input{
	width: auto;
}

.td_w_border{
	border: 1px solid #BFBFBF;
	padding: 3px;
}

.table_width_auto{
	width: auto;
}

td table{
	border: 0px;
}

.list_custom{
	overflow: auto;
}

.list tr:not(:first-child),
.list_custom tr:not(:first-child){
	background-color: #E5E5E5;
	color: #333;
	cursor: pointer;
}

.list tr label{
	cursor: pointer;
}


.list tr:hover,
.list_custom tr:hover{
	background-color: #CFCFCF;
	color: #333;
}

.list tr:first-child,
.list_custom tr:first-child{
	background-color: #FFF;
	white-space: nowrap;
}

.list tr:first-child td,
.list_custom tr:first-child td{
	height: auto;
}


.list td,
.list_custom td{
	vertical-align: middle;
	height: 38px;
	text-align: center;
}

.list_custom input[type="text"],
.list_custom input[type="number"]{
	width: 85px;
}

.list_custom input[name="num"],
.list_custom input[name="numM2"],
.list_custom input[name="sale"]{
	width: 70px;
}

.tr_selected{
	background-color: #B8CACC !important;
}

.order_by tr:first-child label.progress::after {
	content: " ";
	background: url(/images/work.gif) no-repeat right;
	background-size: 12px 12px;
}
.order_by tr:first-child label.desc::after {
	content: "▼";
}

.order_by tr:first-child label.asc::after {
	content: "▲";
}


.filter{
	top: 0px;
	position: sticky;
	background-color: #FFF;
	margin-bottom: 5px;
	border: 1px solid #CCE0FF;
}

.filter h3{
	margin: 5px 0px 0px 5px;
}

.filter table{
	border: 0px;
	background-color: #FFF;
}

.filter span:last-child{
	float:right;
}

.filter input, .filter select{
	width: 150px;
}

.filter input[type="button"]{
	width: auto;
}


div[id$="-view"] > div.filter{
	top: -13px;
}

.tree{
	max-width: 600px;
}

.tree ul{
	width: auto;
	min-height: 10px;
	border: 1px solid #CFCFCF;
	list-style-type: none;
	margin: 5px 5px 5px 5px;
	background-color: #E5E5E5;
	padding:5px;
}

.tree ul:first-child{
	margin-left: 0px;
}

.tree ul a{
	text-decoration: none !important;
}

.tree ul li{
	border: 1px solid #CFCFCF;
	margin-left: 0px;
	line-height: 14px;
	margin: 5px 0px 5px 0px;
	padding: 3px 10px 3px 30px;
	background-color: #FFF;
	/* white-space: nowrap; */

}

.tree ul li span{
	margin-left: 0px;
}

.tree ul li:hover{
	background-color:#CFCFCF;
}

.tree ul li:hover span{
	//text-decoration: underline;
}

.tree ul li a{
	padding-left: 10px;
}

.tree .block-item{
	background-color: #F5F5F5;
	text-decoration: line-through;
}


.sysinfo{
	float:left;
	padding: 10px 20px;
}

.sysinfo h4{
	font-weight: bold;
	color: red;
	display: inline;
}


select{
	width: 170px;
	font-size: 12px;
	padding: 5px;
	border: 1px solid #CFCFCF;
	border-radius: 3px;
	font-family: arial;
	box-sizing: border-box;
	margin: 5px;
}

select[multiple]{
	/* height: 27px; */
	padding: 5px;
	max-width: 200px;
	width: auto;
}

select[multiple] option{
	/* height: 27px; */
	padding: 5px;
}

input{
	width: 170px;
	font-size: 12px;
	padding: 5px;
	border: 1px solid #CFCFCF;
	border-radius: 3px;
	font-family: arial;
	box-sizing: border-box;
	margin: 5px;
}


input[name="add"], input.add{
	width: 27px !important;
	height: 27px;
	color: #c00;
	font-weight: bold;
}


input[type="checkbox"]{
	width: auto;
}


textarea {
	width: 99%;
	font-size: 12px;
	padding: 5px;
	border: 1px solid #CFCFCF;
	border-radius: 3px;
	font-family: arial;
	box-sizing: border-box;
	margin: 5px;
	height: 80px;

}

p{
	margin: 0px;
	padding: 0px;
}

img{
	border:0px;
}

#logo{
	top:10px;
	z-index: 1;
	height: 41px;
	position: absolute;
}

#content{
	position: relative;
	border: 1px solid #000000;
	padding: 5px;
	margin: 5px;
	background-color: #F0F0F0;
	/* min-width:1370px; */
	/* height: 100%; */
}

#content h2{
	text-align: left;
	font-size: 14px;
	color: #3D160D;
	margin: 0px;
	padding: 20px 0px 20px 0px;
}

#content h3{
	font-size: 12px;
	color: #3D160D;
	padding: 0px 0px 5px 0px;
	text-align: left;
}

html{
	width: 100%;
	height: 100%;
}

body{
	background-color:#FFFFFF;
	font: 12px Arial;
	color: #333;
	margin: 0px;
	padding: 0px;
	/* width: 100%; */
	height: 100%;
	overflow: hidden;
}


table{
	width: 100%;
	border: 1px solid #BFBFBF;
}

td{
	/* vertical-align: top; */
	height: 27px;
	padding:2px;
}

a {
	color: #333;
}

#content div{
	/* overflow: auto; */
}


#tabs_menu li .ui-icon-close{
	float: left;
	margin: 0.4em 0.2em 0 0;
	cursor: pointer;
}


#temp, #upload_frame{
	display: none;
	width: 0px;
	height: 0px;
	position: static;
}


.shot_input input{
	width: 75px;
}
.shot_input select{
	width: 75px;
}
.width_auto{
	width: auto;
}
.width_100pr{
	width: 100%;
}

.width_99pr{
	width: 99%;
}

.input_btn_w32 input[type="button"]{
	height: 32px !important;
	width: 32px !important;
}

.input_btn_w32 tr:not(:first-child){
	height: 48px;
}

table.list input{
	max-width: 100px;
}

table.list input[name="rm"], table.list_custom input[name="rm"]{
	height: 27px;
	width: 27px;
}


.input_btn_w32 tr td:last-child {
    width: 48px;
    text-align: center;
}

.marker_pay_11{
	/* background-color: red; */
	background-color: thistle;
}

.marker_pay_8{
	/* background-color: red; */
	background-color: lightgreen;
}
.marker_pay_5{
	/* background-color: red; */
	background-color: lightyellow;
}

.marker_pay_2{
	background-color: red;
	font-weight:bold;
	color: #FFF;
}

#dealer_goods-artikul_test{
	color: orange;
	font-weight:bold;
	width: 25px;
}

.btnTop{
	display: block;
	width: 48px;
	height: 48px;
	font-size: 36px;
	border: 1px solid lightgreen;
	text-align: center;
	vertical-align: middle;
	position: fixed;
	right: 30px;
	bottom: 70px;
	cursor: pointer;
	display: none;
	background: url(/images/arrow_top.png) no-repeat 50% 50% rgba(255, 255, 255, 0.6);
}

.btnTop:hover{
	background-color: rgba(255, 255, 255, 0.9);
}


#cg_order-view > div{
	display: grid;
	grid-gap: 10px;
	grid-template-columns: 3fr 2fr;
}

input[id$="date_from"], input[id$="date_to"]{
width: 80px;
}

