html,body{
	padding:0;
	margin:0;
}
#main{
	display:none;
}
.w2ui-reset * {
	line-height: 120%;
}
.w2ui-field.w2ui-span6>label {
}
.w2ui-reset input:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), .w2ui-reset select, .w2ui-reset textarea {
	width: 100%;
}
input:not([type=button]):not([type=submit]).w2ui-input:disabled, input:not([type=button]):not([type=submit]).w2ui-input[readonly], textarea.w2ui-input:disabled, textarea.w2ui-input[readonly] {
	background-color: rgb(247, 235, 199);
	color: #000;
	border: 1px dotted #e06a0f;
	border-radius: 0;
}
.title-form{
	position:relative;
	width:100%;
}
.title-form .title-form-button{
	width:50%;
	float:left;
	display:block;
	text-align:left;
}
.title-form .title-form-button.title-text:before{
	content: "\f2d3";
	padding-right: 6px;
	font-family: "FontAwesome";
	font-weight: bold;
	/* color: red; */
	font-size: 16px;
	line-height: 21px;
	/* display: inline-table; */
}
.title-form .title-form-button.title-text:hover{
	cursor:pointer;
}
.title-form .title-form-button.title-text:hover:before{
	cursor:pointer;
	content: "\f2d4";
}
#main.no-active{
	display:none;
}
.open-close-login-dialog{
	text-align:right !important;
}
.record-dalavorare{
	/*background-color:#f4abab !important;*/
}
.record-lavorato{
	/*background-color:orange !important;*/
}
.record-aggiornato{
	/*background-color:yellowgreen !important;*/
}
.w2ui-field.w2ui-span6>label {
	width: 100px;
}
.w2ui-field.w2ui-span6>div {
	margin-left: 108px;
}
.w2ui-toolbar table.w2ui-button .w2ui-tb-image > span.fa.fa-print {

}
.w2ui-toolbar table.w2ui-button .w2ui-tb-image > span.fa.fa-print:before {
	content: "\f02f";
}

#for-print-table{
	position:absolute;
	top:0;
	left:0;
	display:none;
	padding:0;
	margin:0;
}
#for-print-label{
	position:absolute;
	top:0;
	left:0;
	display:none;
	padding:0;
	margin:0;
}
#for-print-table.active{
	width:100%;
	height:auto;
	display:block;
	z-index:100;
}

#table-excel-pdf.report-container {
	page-break-after:always;
}
#table-excel-pdf thead.report-header {
	display:table-header-group;
}
#table-excel-pdf tfoot.report-footer {
	display:table-footer-group;
}

#for-print-table.active table:first-child{
	/*display:none;*/
}
#for-print-table.active table:nth-child(2) tbody tr:first-child{
	/*display:none;*/
}
#for-print-table.active table:nth-child(2) tbody tr td:first-child,
#for-print-table.active table:nth-child(2) tbody tr td:nth-child(2),
#for-print-table.active table:nth-child(2) tbody tr td:nth-child(8),
#for-print-table.active table:nth-child(2) tbody tr td:nth-child(9),
#for-print-table.active table:nth-child(2) tbody tr td:nth-child(10),
#for-print-table.active table:nth-child(2) tbody tr td:nth-child(11) {
	/*display:none;*/
}
#for-print-table.active table:nth-child(2) thead tr th:first-child,
#for-print-table.active table:nth-child(2) thead tr th:nth-child(2),
#for-print-table.active table:nth-child(2) thead tr th:nth-child(8),
#for-print-table.active table:nth-child(2) thead tr th:nth-child(9),
#for-print-table.active table:nth-child(2) thead tr th:nth-child(10),
#for-print-table.active table:nth-child(2) thead tr th:nth-child(11) {
	/*display:none;*/
}
#for-print-table.active table:nth-child(2) thead tr th:nth-child(3),
#for-print-table.active table:nth-child(2) tbody tr td:nth-child(3){
	border-left:0 solid #000 !important;
}
#for-print-table.active table:nth-child(2) thead tr th:nth-child(3),
#for-print-table.active table:nth-child(2) tbody tr td:nth-child(3){
	border-left:0 solid #000 !important;
}
#for-print-table.active table {
	font-family: Arial, Helvetica, sans-serif;
	border-collapse: collapse;
	width: 100%;
	font-size: 11pt;
	box-sizing: border-box;
}
#for-print-table.active table tbody tr , #for-print-table.active table thead tr {
	box-sizing: border-box;
}
#for-print-table.active table tbody tr td, #for-print-table.active table thead tr th {
	border: 1px solid #000;
	padding: 4px 8px;
	text-align: left;
	box-sizing: border-box;
}
#for-print-table.active table tbody tr:nth-child(odd){
	background-color: #fff !important;
}
#for-print-table.active table tbody tr:nth-child(even){
	background-color: #f2f2f2 !important;
}
#for-print-table.active table thead tr {
	background-color: #fff !important;
	color: black !important;
}
#for-print-table.active table thead tr th {
	padding-top: 6px;
	padding-bottom: 6px;
	text-align: left;
	background-color: #fff !important;
	color: black !important;
}
#for-print-table.active table thead tr th.w2ui-grid-data-last , #for-print-table.active table tbody tr td.w2ui-grid-data-last {
	width: 25% !important;
	border-right:0 solid #000 !important;
}
#for-print-table.active table tbody tr td[col="4"]{
	border-left: 0 solid black !important;
}
#for-print-table.active table thead tr th[col="4"]{
	border-left: 0 solid black !important;
}
#for-print-table.active table thead tr th[col="9"] , #for-print-table.active table thead tr th[col="10"] , #for-print-table.active table thead tr th[col="11"] , #for-print-table.active table thead tr th[col="12"] {
	display: none !important;
}
#for-print-table.active table tbody tr td[col="9"] , #for-print-table.active table tbody tr td[col="10"] , #for-print-table.active table tbody tr td[col="11"] , #for-print-table.active table tbody tr td[col="12"] {
	display: none !important;
}
#for-print-table.active table tbody tr td[col="13"] , #for-print-table.active table tbody tr td[col="14"] , #for-print-table.active table tbody tr td[col="15"] {
	width: 6% !important;
}
#for-print-table.active table tbody tr td[col="16"] , #for-print-table.active table tbody tr td[col="17"] {
	width: 6% !important;
}
#for-print-label.active{
	width:100%;
	height:auto;
	display:block;
	z-index:100;
}
#for-print-label.active table:first-child{
	/*display:none;*/
}

#for-print-table.active .title-form .title-form-button.title-text {
	padding: 8px;
}
#for-print-table.active .title-form .title-form-button.title-text:before{
	content: "\f2d3";
	padding-right: 6px;
	font-family: "FontAwesome";
	font-weight: bold;
	/* color: red; */
	font-size: 16px;
	line-height: 21px;
	/* display: inline-table; */
}
#for-print-table.active table tbody tr[line="0"] , #for-print-table.active table tbody tr[line="top"]  {
	display: none !important;
}

#for-print-table.active table tbody tr td[col="start"] ,
#for-print-table.active table tbody tr td[col="3"] ,
#for-print-table.active table tbody tr td[col="9"] ,
#for-print-table.active table tbody tr td[col="10"] ,
#for-print-table.active table tbody tr td[col="11"]
{
	display: none !important;
}
.label-content{
	width: 100%;
	padding:0;
	margin:0;
	position:relative;
}
.label-svg{
	background:transparent url("../images/passaporto-pianta.svg") no-repeat left top;
	background-size: 100% 100%;
	width: 120mm;
	height: 25mm;
	padding:0;
	margin:0;
	position:relative;
}

.label-svg .plant-name{
	display:block;
	position:absolute;
	top:1.6mm;
	left:20mm;
}
.label-svg input{
	/*display:none*/
}

.toprint{
	margin-top:44px;
}
.label-content-input{
	position: absolute;
	top: 7mm;
	left: 130mm;
	display: block;
	clear: both;
	margin: 0;
	width: 244px;
	line-height: 38px;
	z-index:100;
}
span.plant-add  input[type="button"]{
	/* display: none; */
	background-color: #eeeeee;
	min-width: 38px;
	width: auto;
	transition: all 300ms ease;
	-webkit-appearance: button;
	cursor: pointer;
	font-weight: bold;
	font-size: 24px;
	height: 38px;
	padding: 0;
	width: 38px;
	position: relative;
	border: 0;
}
span.plant-add .button-plus {
	left: 5px;
}
span.plant-add input::-webkit-outer-spin-button,
span.plant-add input::-webkit-inner-spin-button {
	-webkit-appearance: none;
}
span.plant-add input[type="number"] {
	position: relative;
	height: 38px;
	left: 0;
	top: -3px;
	text-align: center;
	width: 44px;
	display: inline-block;
	font-size: 18px;
	line-height: 38px;
	margin: 0;
	padding: 0;
	resize: vertical;
	-moz-appearance: textfield;
	-webkit-appearance: none;
	border: 0px solid black;
}

.w2ui-message .w2ui-message-body {
	text-align: center;
	padding-top: 44px;
}
#tb_grid_toolbar_item_bakup-db td{
	color:red;
}

@media only screen and (max-width: 1120px) {
	.w2ui-form .w2ui-buttons button, .w2ui-form .w2ui-buttons input[type=button] {
		min-width: initial;
		margin-right: 0 !important;
	}
	button.w2ui-btn {
		margin: 0 !important;
		padding: 6px !important;
	}
	#grid_grid_records td[col="8"] , #grid_grid_columns td[col="8"]{
		width: 100px !important;
	}
}

@media print {
	.no-print{
		display:none !important;
	}
	html,body{
		height:210mm;
		width:297mm;
		padding:0;
		margin:0;
	}
	body{
		width: 29,7cm;
		height: 21cm;
		margin: 30mm 45mm 30mm 45mm;
		margin: 30mm 15mm 15mm 15mm;
		/* change the margins as you want them to be. */
	}
	#main.no-active{
		display:none;
	}
	div{
		padding:0;
		margin:0;
	}
	table{
		width:100%;
		padding:0;
		margin:0;
	}
	table tbody{
		width:100%;
		padding:0;
		margin:0;
	}
	.toprint{
		margin-top:0 !important;
	}
	#for-print-table{
		position:absolute;
		top:0;
		left:0;
		display:none;
		padding:0;
		margin:0;
	}

	/*
	#table-excel-pdf.report-container {
	page-break-after:always;
	break-after: page;
	-fs-table-paginate: paginate;}
	#table-excel-pdf thead.report-header {
	display:table-header-group;
	page-break-after:always;
	break-after: page;
	display: table-row-group;}
	#table-excel-pdf tfoot.report-footer {
	display:table-footer-group;
	display: table-row-group;}
	*/

	table.report-container {
		section-break-after:always;
	}
	thead.report-header {
		display:table-header-group;
	}
	tfoot.report-footer {
		display:table-footer-group;
	}
	thead {
		display: table-header-group;
	}

	#for-print-label{
		position:absolute;
		top:0;
		left:0;
		display:none;
		padding:0;
		margin:0;
	}
	#for-print-table.active{
		width:100%;
		height:auto;
		display:block;
		z-index:100;
	}
	#for-print-table.active table:first-child{
		/*display:none;*/
	}
	#for-print-table.active table:nth-child(2) tbody tr:first-child{
		/*display:none;*/
	}
	#for-print-table.active table:nth-child(2) tbody tr td:first-child,
	#for-print-table.active table:nth-child(2) tbody tr td:nth-child(2),
	#for-print-table.active table:nth-child(2) tbody tr td:nth-child(8),
	#for-print-table.active table:nth-child(2) tbody tr td:nth-child(9),
	#for-print-table.active table:nth-child(2) tbody tr td:nth-child(10),
	#for-print-table.active table:nth-child(2) tbody tr td:nth-child(11) {
		/*display:none;*/
	}
	#for-print-table.active table:nth-child(2) thead tr th:first-child,
	#for-print-table.active table:nth-child(2) thead tr th:nth-child(2),
	#for-print-table.active table:nth-child(2) thead tr th:nth-child(8),
	#for-print-table.active table:nth-child(2) thead tr th:nth-child(9),
	#for-print-table.active table:nth-child(2) thead tr th:nth-child(10),
	#for-print-table.active table:nth-child(2) thead tr th:nth-child(11) {
		/*display:none;*/
	}
	#for-print-table.active table:nth-child(2) thead tr th:nth-child(3),
	#for-print-table.active table:nth-child(2) tbody tr td:nth-child(3){
		border-left:0 solid #000 !important;
	}
	#for-print-table.active table:nth-child(2) thead tr th:nth-child(3),
	#for-print-table.active table:nth-child(2) tbody tr td:nth-child(3){
		border-left:0 solid #000 !important;
	}

	#for-print-table.active table {
		font-family: Arial, Helvetica, sans-serif;
		border-collapse: collapse;
		width: 100%;
		font-size: 10pt;
		box-sizing: border-box;
	}
	#for-print-table.active table tbody tr , #for-print-table.active table thead tr {
		box-sizing: border-box;
	}
	#for-print-table.active table tbody tr td, #for-print-table.active table thead tr th {
		border: 1px solid #000;
		padding: 4px 8px;
		text-align: left;
		box-sizing: border-box;
	}
	#for-print-table.active table tbody tr:nth-child(odd){
		background-color: #fff !important;
	}
	#for-print-table.active table tbody tr:nth-child(even){
		background-color: #f2f2f2 !important;
	}
	#for-print-table.active table thead tr {
		background-color: #fff !important;
		color: black !important;
	}
	#for-print-table.active table thead tr th {
		padding-top: 6px;
		padding-bottom: 6px;
		text-align: left;
		background-color: #fff !important;
		color: black !important;
	}
	#for-print-table.active table thead tr th.w2ui-grid-data-last , #for-print-table.active table tbody tr td.w2ui-grid-data-last {
		width: 25% !important;
		border-right:0 solid #000 !important;
	}
	#for-print-table.active table tbody tr td[col="4"]{
		border-left: 0 solid black !important;
	}
	#for-print-table.active table thead tr th[col="4"]{
		border-left: 0 solid black !important;
	}
	#for-print-table.active table thead tr th[col="9"] , #for-print-table.active table thead tr th[col="10"] , #for-print-table.active table thead tr th[col="11"] , #for-print-table.active table thead tr th[col="12"] {
		display: none !important;
	}

	#for-print-table.active table tbody tr td[col="9"] , #for-print-table.active table tbody tr td[col="10"] , #for-print-table.active table tbody tr td[col="11"] , #for-print-table.active table tbody tr td[col="12"] {
		display: none !important;
	}
	#for-print-table.active table tbody tr td[col="13"] , #for-print-table.active table tbody tr td[col="14"] , #for-print-table.active table tbody tr td[col="15"] {
		width: 1.5cm !important;
	}
	#for-print-table.active table tbody tr td[col="16"] , #for-print-table.active table tbody tr td[col="17"] {
		width: 1.5cm !important;
	}
	#for-print-label.active{
		width:100%;
		height:auto;
		display:block;
		z-index:100;
	}
	#for-print-label.active table:first-child{
		display:none;
	}
	#for-print-table.active table thead {

	}
	#for-print-label.active table tbody{
	}
	#for-print-table.active table tbody tr[line="0"] , #for-print-table.active table tbody tr[line="top"]  {
		display: none !important;
	}
	#for-print-table.active table tbody tr td[col="3"] , #for-print-table.active table tbody tr td[col="14"] , #for-print-table.active table tbody tr td[col="15"] {
		width: 1.5cm !important;
	}
	#for-print-table.active table tbody tr td[col="16"] , #for-print-table.active table tbody tr td[col="17"] {
		width: 1.5cm !important;
	}
	#for-print-table.active table thead tr th[col="start"] ,
	#for-print-table.active table thead tr th[col="3"] ,
	#for-print-table.active table thead tr th[col="9"] ,
	#for-print-table.active table thead tr th[col="10"] ,
	#for-print-table.active table thead tr th[col="11"] {
		display: none !important;
	}

	#for-print-table.active table tbody tr td[col="start"] ,
	#for-print-table.active table tbody tr td[col="3"] ,
	#for-print-table.active table tbody tr td[col="9"] ,
	#for-print-table.active table tbody tr td[col="10"] ,
	#for-print-table.active table tbody tr td[col="11"] {
		display: none !important;
	}
	/*
	#for-print-label.active table {
	page-break-after:auto;}
	#for-print-label.active table tr {
	page-break-inside:avoid;
	page-break-after:auto;}
	#for-print-label.active table td {
	page-break-inside:avoid;
	page-break-after:auto;}
	#for-print-label.active table thead {
	display: table-row-group;}
	#for-print-label.active table tfoot {
	display:table-footer-group;}
	table {
	-fs-table-paginate: paginate;}
	*/
	.label-svg{
		background:transparent url("../images/passaporto-pianta.svg") no-repeat left top;
		background-size: 100% 100%;
		width: 120mm;
		height: 25mm;
		padding:0;
		margin:0;
		position:relative;
	}
	.label-svg .plant-name{
		display:block;
		position:absolute;
		top:1.6mm;
		left:20mm;
	}
	.label-svg input{
		display:none
	}
}

@page {
	size: 29.7cm 21cm;
	margin: 30mm 15mm 15mm 15mm;
	/* change the margins as you want them to be. */
}
