@fonts: LiberationSans, sans-serif;

@import "less/lms-variables";
@import "less/fontawesome";
@import "less/icons";

BODY {
	font-size: 8pt;
	font-family: @fonts;
	padding: 0pt;
	background-color: #FFFFFF;
	&.landscape {
		font-size: 8pt;
		font-family: @fonts;
		padding: 0pt;
		background-color: #FFFFFF;
		size: landscape;
	}
}

TABLE		{ border-collapse: collapse; border-color: #000000; }
TD {
	font-size: 8pt;
	padding: 2px;
	padding-right: 6px;
	&.fleft {
		border-left-width: 1pt;
		border-left-style: solid;
	}
	&.fright {
		border-right-width: 1pt;
		border-right-style: solid;
	}
	&.ftop {
		border-top-width: 1pt;
		border-top-style: solid;
	}
	&.fbottom {
		border-bottom-width: 1pt;
		border-bottom-style: solid;
	}
	&.fleftu {
		border-top-width: 1pt;
		border-top-style: solid;
		border-bottom-width: 1pt;
		border-bottom-style: solid;
		border-left-width: 1pt;
		border-left-style: solid;
	}
	&.frightu {
		border-top-width: 1pt;
		border-top-style: solid;
		border-bottom-width: 1pt;
		border-bottom-style: solid;
		border-right-width: 1pt;
		border-right-style: solid;
	}
	&.ftopu {
		border-top-width: 1pt;
		border-top-style: solid;
		border-left-width: 1pt;
		border-left-style: solid;
		border-right-width: 1pt;
		border-right-style: solid;
	}
	&.fbottomu {
		border-bottom-width: 1pt;
		border-bottom-style: solid;
		border-left-width: 1pt;
		border-left-style: solid;
		border-right-width: 1pt;
		border-right-style: solid;
	}
	&.fall {
		border-width: 1pt;
		border-style: solid;
	}
	&.fbt {
		border-bottom-width: 1pt;
		border-bottom-style: solid;
		border-top-width: 1pt;
		border-top-style: solid;
	}
	&.flr {
		border-left-width: 1pt;
		border-left-style: solid;
		border-right-width: 1pt;
		border-right-style: solid;
	}
	&.head {
		color: black;
		background-color: lightgrey;
		font-weight: bold;
		border: 1pt solid black;
	}
	@media print {
		&.head {
			color: black;
			background-color: lightgrey;
		}
	}
	&.headgrey {
		color: black;
		background-color: #A9A9A9;
		font-weight: bold;
		border-width: 1pt;
		border-style: solid;
	}
	&.bb {
		border-color: black;
	}
}

A		{ text-decoration: none; }

P {
	font-size: 8pt;
	font-family: @fonts;
	&.nor {
		font-size: 8pt;
		font-family: @fonts;
	}
	&.txt {
		font-size: 8pt;
		font-family: @fonts;
		text-align: justify;
	}
	&.separated {
		font-size: 8pt;
		font-family: @fonts;
		margin-top: 5;
		margin-bottom: 5;
	}
}

H1		{ font-size: 14pt; font-family: @fonts; }

.shdf		{ font-size: 20pt; font-weight: bold; }
.hdf		{ font-size: 14pt; }
.mdf		{ font-size: 12pt; }
.sdr		{ font-size: 10pt; }
.small		{ font-size: 6pt; }
.blend		{ color: #888888; }
.blendbg	{ background-color: #888888; }
.white		{ background-color: #FFFFFF; }
.grey		{ background-color: #EEEEEE; }
.alert          { color: #FF0000; }
.bold           { font-weight: bold; }

.text-right { text-align: right; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.valign-top { vertical-align: top; }
.valign-bottom { vertical-align: bottom; }

.nobr { white-space: nowrap; }

.address-header {
    padding-bottom: 3px;
    font-size: 1.05em;
    font-weight: bold;
}

td.empty-table {
	text-align: center;
	font-weight: bold;
	padding: 2.5em;
}

.hdf.ksef-invoice {
	font-size: 12pt;
}

.ksef-invoice-info {
	white-space: nowrap;
	font-size: 8pt;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.ksef-invoice-info > * {
	margin-left: 1em;
	margin-right: 1em;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ksef-invoice-info > * img {
	max-width: 70px;
}
