@media print {
	/* Hide interactive things, clicking paper doesn't do anything. */
	nav {
		display: none;
	}
}

@page {
	size: landscape;
	margin: 0;  /* this affects the margin in the printer settings */
}

@font-face {
	font-family: "FELL English";
	src: url("IMFeENrm29C.otf");
	/* https://iginomarini.com/fell/the-revival-fonts/ */
	/* The Fell Types are digitally reproduced by Igino Marini. www.iginomarini.com */

}

@font-face {
	font-family: "Nagayama Kai";
	src: url("nagayama_kai08.otf");
	/* https://iginomarini.com/fell/the-revival-fonts/ */
	/* The Fell Types are digitally reproduced by Igino Marini. www.iginomarini.com */

}

html {
	margin: 0;  /* this affects the margin on the html before sending to printer */
}

body {
	margin: 0; 
	margin-top: .5in;
	width: 11in;

	font-family: "FELL English", "Nagayama Kai", serif;
	line-height: 90%;
}

input {
	box-sizing: border-box;
}
nav {
	margin-bottom: 1em;
}

.label {
	height: 1.25in;
	display: flex;
	align-items: center;
	
	text-align: center;
	
	box-sizing: border-box;
}

.label * {
	box-sizing: border-box;
	/*border-right: 1px solid;*/
}

.front {
	width: 3.5in;
	padding-left: .25in;
	padding-right: .25in;
}

.front .soapName {
	font-size: .3in;
	line-height: 100%;
}
.front .brand {
	font-size: .125in;
}

.back {
	width: 3.25in;
	padding-top: .125in;
	padding-bottom: .125in;
	padding-right: .1875in;
	padding-left: .125in;
	font-size: .1in;
}

.lside {
	position: relative;
	width: 1in;
	height: 100%;
	font-size: .125in;
}
.lrotate {
	width: 1.25in;
	height: 1in;
	padding: .25in;
	padding-top: .125in;
	transform-origin: .5in .5in;
	transform: rotate(90deg);
}

.rside {
	width: 1in;
	font-size: .125in;
}
.rrotate{
	width: 1.25in;
	height: 1in;
	padding: .25in;
	padding-top: .125in;
	transform-origin: .625in .5in;
	transform: rotate(-90deg) translate(0, -0.125in);
}

.tuck {
	flex-grow: 1;
	padding: 0;
	padding-left: .125in;
	text-align: left;
}

.label img {
	max-height: 1.25in;
	height: 1.25in;
	border-top: 1px dotted;
}

.label:last-of-type img {
	border-bottom: 1px dotted;
}
