
@media print {
	.toc a::before{
		content: target-counter(attr(href), page);
	}
	.pagedjs_page_content div > h4:first-child,
	.pagedjs_page_content div > h3:first-child,
	.pagedjs_page_content div > figure:first-child{
		margin-top: 0;
	}
	[data-page-number="16"] ul li:nth-child(9){
		margin-top: 40px;
	}
	[data-page-number="36"] p{
		letter-spacing: -0.04em;
	}
	[data-page-number="41"] ul li:nth-child(2){
		margin-top:var(--uu);
	}
	[data-page-number="52"] ul li:nth-child(2){
		margin-top:var(--u);
	}
	[data-page-number="108"] ul:nth-child(2) li:first-child{
		letter-spacing: -0.08em;
	}

	@page{
		size: 148mm 210mm;
		margin: 10mm 20mm;
	}

	@page cover {
	  margin: 0mm;
	  @bottom-left {content: "";}
	  @bottom-right {content:"";}
	  @top-left-corner, @left-top, @left-middle, @left-bottom{background: transparent;}
	  @left-top{content: "";background: transparent;}
	  @bottom-left-corner{background: transparent;}
	  @top-right-corner, @right-top, @right-middle, @right-bottom{background: transparent;}
	  @right-top{background: transparent;}
	  @bottom-right-corner{background: transparent;}
	}

	@page backcover {
		margin: 0mm;
		@bottom-right {content:"";}
	  @top-left-corner, @left-top, @left-middle, @left-bottom{background: transparent;}
	  @left-top{content: "";background: transparent;}
	  @bottom-left-corner{background: transparent;}
	  @top-right-corner, @right-top, @right-middle, @right-bottom{background: transparent;}
	  @right-top{background: transparent;}
	  @bottom-right-corner{background:transparent;}
	}


	@page last {
		margin: 0mm;
		@bottom-right {content:"";}
	  @top-left-corner, @left-top, @left-middle, @left-bottom{background: transparent;}
	  @left-top{content: "";background: transparent;}
	  @bottom-left-corner{background: transparent;}
	  @top-right-corner, @right-top, @right-middle, @right-bottom{background: transparent;}
	  @right-top{background: transparent;}
	  @bottom-right-corner{background:transparent;}
	}

	@page preTitle {
		margin: 0mm;
		@bottom-right {content:"";}
	  @top-left-corner, @left-top, @left-middle, @left-bottom{background: transparent;}
	  @left-top{content: "";background: transparent;}
	  @bottom-left-corner{background: transparent;}
	  @top-right-corner, @right-top, @right-middle, @right-bottom{background: transparent;}
	  @right-top{background: transparent;}
	  @bottom-right-corner{background:transparent;}
	}

	@page titlePage {
	  @bottom-right {
	    /*margin-right: 0;*/
	  }
		@top-left-corner, @left-top, @left-middle, @left-bottom{
			content: "";
			background: var(--main-color);
			width: 5mm;
		}

		@left-top{
			content: "";
			background: var(--main-color);
			width: 5mm;
		}

		@bottom-left-corner{
			content: "";
			background: var(--main-color);
			width: 5mm;
		}
		@top-right-corner, @right-top, @right-middle, @right-bottom{
			content: "";
			background: var(--main-color);
			width: 7mm;
			margin-left: 13mm;
		}

		@right-top{
			content: "";
			background: var(--main-color);
			width: 7mm;
			margin-left: 13mm;
		}

		@bottom-right-corner{
			content: "";
			background: var(--main-color);
			width: 7mm;
			margin-left: 13mm;
		}

	}

	@page:left{
	  @bottom-left {
	    content: counter(page);
	    font-family: "share", sans-serif;
      margin-top:calc(var(--uu) * -.5);
      color:var(--main-color);
	    font-size: 11.5pt;
	    margin-left: -7mm; 
	  }
	  @top-left-corner, @left-top, @left-middle, @left-bottom{
	    content: "";
	    background: var(--main-color);
	    width: 7mm;
	  }

	  @left-top{
	    content: "";
	    background: var(--main-color);
	    width: 7mm;
	  }

	  @bottom-left-corner{
	    content: "";
	    background: var(--main-color);
	    width: 7mm;
	  }
	  @top-right-corner, @right-top, @right-middle, @right-bottom{
	    content: "";
	    background: var(--main-color);
	    width: 5mm;
	    margin-left: 15mm;
	  }

	  @right-top{
	    content: "";
	    background: var(--main-color);
	    width: 5mm;
	    margin-left: 15mm;
	  }

	  @bottom-right-corner{
	    content: "";
	    background: var(--main-color);
	    width: 5mm;
	    margin-left: 15mm;
	  }
	}

	@page:right{
	  @bottom-right {
	    content: counter(page);
      margin-top:calc(var(--uu) * -.5);
      color:var(--main-color);
	    font-family: "share", sans-serif;
	    font-size: 11.5pt;
	    margin-right: -7mm; 
	  }
	  @top-left-corner, @left-top, @left-middle, @left-bottom{
	    content: "";
	    background: var(--main-color);
	    width: 5mm;
	  }

	  @left-top{
	    content: "";
	    background: var(--main-color);
	    width: 5mm;
	  }

	  @bottom-left-corner{
	    content: "";
	    background: var(--main-color);
	    width: 5mm;
	  }
	  @top-right-corner, @right-top, @right-middle, @right-bottom{
	    content: "";
	    background: var(--main-color);
	    width: 7mm;
	    margin-left: 13mm;
	  }

	  @right-top{
	    content: "";
	    background: var(--main-color);
	    width: 7mm;
	    margin-left: 13mm;
	  }

	  @bottom-right-corner{
	    content: "";
	    background: var(--main-color);
	    width: 7mm;
	    margin-left: 13mm;
	  }
	}

	@page:last{
		background: transparent;
	}
	@page:blank{
		background: var(--main-color);
	}

}
