body.print {
	background:white;
}
.print-tools {
	float: right;
}
#faktura .print-tools a,
#objednavka .print-tools a{
	padding-left: 36px; 
	position: relative;
	font-family: opensans-regular-400;
	font-size: 12px;
	color: #636363;
	margin-right: 10px;
	text-decoration: none;
	display: inline-block;
}

#faktura .back-to-list.cervena-sipka-btn,
#objednavka .back-to-list.cervena-sipka-btn {
    position: relative;
    top: -28px;
}

/* .stranka-klient.faktury.detail main, */
/* .stranka-klient.objednavky.detail main { */
/*     padding: 0; */
/* } */

.print-tools a i.fa.fa-print:before,
.print-tools a i.fa.fa-file-pdf-o:before {
    background-repeat: no-repeat;
    background-size: initial;
    display: inline-block;
    width: 29px;
    height: 29px;
    content: "";
    position: absolute;
    top: -8px;
    left:0;
}
.print-tools a i.fa.fa-print:before {
	background-image: url(./img/ikona-tlacit.png);
}
.print-tools a i.fa.fa-file-pdf-o:before {
	background-image: url(./img/ikona-pdf.png);
}

.print-tools a:hover i.fa {
	
}
.bigger {
	font-size:120%;
}
.dokument {
	border: 1px solid #b3b3b3;
	padding: 1em;
	margin-bottom: 2em;
	position:relative;
	background: #f6f6f6;
}

.dokument table {width: 100%;}
.dokument table:nth-child(3),
.dokument table:nth-child(5) {margin-bottom: 20px;}
.dokument table tr:hover td {background: transparent !important;}
.dokument table tr:hover td.dark {
	background: #ECECEC !important;
}

.document-number {
	background: black;
	color: white;
	padding: 0.5em 0;
	width: 80px;
	text-align: center;}

.fa50right,
.fa50rightDark {
	float:right;
}


.fa100 {
	clear: both;  		
 	margin-bottom: 0.4cm;  		
}
.fa50 {
	float:left;
}
.fa50,
.fa50right,
.fa50rightDark {
	width:50%;
	margin-bottom: 0.4cm;
	min-height: 4.24cm;
}
.fa33,
.fa33right {
	width: 33%;
	float: left;
	margin-bottom: 1em;
	box-sizing:border-box;
}
	div.fa-leftline {
		padding-left:0.5cm;
		border-left:1px solid black;
	}
	.fa-popis {
		border-bottom:1px solid black;
		margin-bottom:1em;
		padding-bottom:1em;		
	}
	

	table.cols2 td {
		width:50%;
		padding-bottom: 0.4cm;
		line-height: 18px;
	}

	table.cols2 h2 {padding: 14px 0;}
	
	.dokument table.grid-table {
		margin-bottom: 0;
		border-collapse: collapse;
  		background: #ECECEC;  		
	}
	
	.dokument table.grid-table thead tr th {
		background: #fff;
		padding: 0.2cm 0.2cm;
		color: #000;
		font-weight: bold;
		border-top: 1px solid;
	}
	
	.dokument table.grid-table tr {
		border-bottom: 1px solid;
		page-break-inside: avoid;
	}

	.dokument table.grid-table tr td {
	  	border: 0;
  		vertical-align: top;
  		border-bottom: 1px solid #C0C0C0;
  		margin: 0;
  		padding: 0.1cm 0.cmm;
	}
	
	.dokument table.grid-table tr.summary td {
		
	}
	
	div.fa50rightDark,
	table.cols2 td.dark {
		background: #ECECEC;
		padding: 0.4cm;
		line-height: 18px;
		font-size: 13px;
		font-family: opensans-semi-bold-600;
	}
	
	div.fa50.fright:last-child {
		height: 100px !important;
		border: 1px solid silver;
		width: inherit;
		float: right;
		margin-top: 0.6cm;	
		min-height: inherit;
		text-align: right;
		padding-left: 2cm;
		padding-right: 2cm;
	}
	
		#objednavka h2:nth-child(1) {
		font-size: 1.2em;
		margin: 0;
		padding: 0;
	}
	

	hr {
		clear:both;
	}
	#objednavka {
		padding-top:25px;
	}
	#objednavka table.grid-table {
		margin-bottom: 1em;
		border-collapse: collapse;
  		background: #ECECEC;  
	}
	
	#objednavka table.grid-table thead tr th {
		background: #fff;
		padding: 0.2cm 0.2cm;
		color: #000;
		font-weight: bold;
		border-top: 1px solid;
	}
	
	#objednavka table.grid-table tr {
		border-bottom: 1px solid;
		page-break-inside: avoid;
	}

	#objednavka table.grid-table tr td {
	  	border: 0;
  		vertical-align: top;
  		border-bottom: 1px solid #C0C0C0;
  		margin: 0;
  		padding: 0.1cm 0.2cm;
	}

	#objednavka div.fa33right {
		float: right;
		background: #ECECEC;
  		padding: 0.4cm;
	}

	div.print-logo {
		  background-image: url('img/logo-blue.png');
		  background-position: center;
		  background-repeat: no-repeat;
		  /* height: 50px; */
		  /* width: 88px; */
		  background-size: 100%;
		  display: inline-block;
	}	
	.w80 {
		width:80px;
	}
	.w95 {
		width:100px;
		text-align: right;
	}
	.print-hilite {
		color:#1d4592;
	}
	
	.objednavka-header h3 {
		padding-left:1em;
	}

@media print { 
	* {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	.index-link,
	#scroll-top,
	.back-to-list,
	.buttons,
	.opener, 
	.dashed-border-bottom,
	.subs.menu.section-right-menu {
		display:none !important;
	}
	
	p, ul.fajky li {font-size: 12px !important;}

	table tr th, table tr td {font-size: 8px !important;}
	p {line-height:14px !important;}

	.detail-img-wrap {height: 220px;}
	.popis-detailu {padding:0;}
	
	.main-wrap {
		max-width:initial;
	}
	.dokument {
		padding:0;
		padding-top:25px;
		border: 0;
		box-shadow: none;
		margin-bottom: 0;
		
	}
	.document-number {
		margin-left: 0;
		margin-top: 0;
		margin-right: 1em;
	}
	main {
		margin: 0 !important;
		min-height:initial !important;
		width:initial !important;
	}
	body {
		margin-top: 1pc;
    	margin-bottom: 1pc;
    	margin-left: 1pc;
    	margin-right: 1pc;
    	font-size:1em;
    	background:white;
	}
	
	body:before {background: none;}
	.dokument {background:#fff;}
	
	main {padding:0 !important;}
	
	header div.print-tools, 
	header div.buttons, 
	header div#obj-form, 	
	footer, 
	.print-tools,
	ul.breadcrumbs, 
	h1 {
		display: none;
		height: 0;
		padding: 0;
		margin: 0
	}
	div#content {
		font-size:12px;
		padding:0;
	}
	div#content header {

	}
	.material-detail {
		padding:0 !important;
		border: 0 !important;
	}
	
	table {
		width:100%;
	}
	table tr td {
		pdding:0;
	}
	table tr,
	table tr:nth-child(odd),
	tr:hover,
	tr:hover td {
		background:transparent !important;
	}
	
	.img-overlay {
		position: static !important;
	}
	.img-overlay h1,
	.img-overlay .description,
	.suvis { 
		background: none !important;
		color: black !important;
		border:0 !important;
	}
	

	.noprint {
 		display:none;
	}
	
	@page {
  		margin: 5mm;
	}


	.payment-methods a img {
		width: 4cm;
		display: block;
		margin: 0.2cm 0;
	}
	
	#objednavka {
		padding-top:0;
	}
	
	/*objednavka*/
	#objednavka div.form.detail-sheet, 
	#objednavka div.repeater.columns.rowclick, 
	#objednavka div.buttons, 
	#objednavka h2:nth-child(4) {
		display:none;

	}
	
}
/*faktury detail*/
	/*faktury detail*/
	.faktury .buttons, 
	.objednavky .buttons {
		padding: 0;
		overflow: hidden;
		clear: both;		
	}

	.faktury .buttons a, 
	.objednavky .buttons a,
	#faktura .buttons a,
	#objednavka .buttons a {
		margin: 10px 10px 0 0;
		padding: 10px 20px;
		display: inline-block;
	}
	.faktury .buttons a:hover, 
	.objednavky .buttons a:hover {box-shadow: 0 0 0px 100px rgba(29, 180, 255, 0.21) inset;}
	.faktury .buttons a i, 
	
	a i:empty,
	button i:empty {padding-right:6px;}

	#objednavka .detail-sheet, 
	#faktura .detail-sheet  {
		padding: 20px;
		background: #fff;
		margin: 10px 0;
		border-bottom: 2px solid #ff6e00;
	}

	.detail-sheet.form  .form-pair {margin-right: 40px;}
	.detail-sheet.form  .form-pair .form-title {
		font-family: opensans-regular-400;
		text-align: left;
		padding: 0 0 0.5em ;
		border-bottom: 1px solid silver;
	}
	
	#objednavka .detail-sheet.form  .form-pair .value, 
	#faktura .detail-sheet.form  .form-pair .value {
		box-sizing: border-box;
		display: block;
		padding: 0.5em 0;
		background: rgba(255, 255, 255, 0.8);
		font-family: opensans-light-300;
		text-align: left;		
	}

	.detail-sheet.form  .form-pair .value:empty {
		border: none;
	}
		
	.klient-sidebar .detail-sheet {
		padding: 20px;
		background: transparent;
		margin-bottom: 0;
		border-bottom: none;
		text-align: left !important;
	}

	.cennik .detail-sheet.form  .form-pair {margin-right: 0;}
	.cennik .detail-sheet.form  .form-pair .form-title {
		font-family: opensans-regular-400;
		text-align: left !important;
		padding: 0 0 0.5em ;
		border-bottom: 1px solid silver;
	}
	.cennik .detail-sheet.form  .form-pair .value {
		box-sizing: border-box;
		display: block;
		padding: 0.5em 0;
		background: transparent;
		font-family: opensans-light-300;
		text-align: left !important;		
	}

	.cennik .detail-sheet.form  .form-pair .value:empty {
		border: none;
	}