@font-face {
    font-family: 'trattatelloregular';
    src: url('trattatello-webfont.woff2') format('woff2'),
         url('trattatello-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body
{
	min-height:100vh;
	font-family:Helvetica,Arial,sans-serif;
	background:linear-gradient(#3F80CD,#6DA8EE);
	margin: 0;
}

#site-navigation
{
	width:100%;
	box-shadow: 0 2px 4px rgb(0 0 0 / 40%), inset 0 1px 4px rgb(0 0 0 / 10%);
	background: url("paper-page.jpg");
	background-color:#fffafa;
	font-size:110%;
	position: fixed;
	top:0;
	margin: 0;
	padding: 0;
	z-index: 1;
}

#content
{
	max-width:1000px;
	margin-left:auto;
	margin-right:auto;
	background: url(paper-page.jpg);
	padding-bottom:10px;
	margin-bottom:30px;
	border-radius: 2px;
	box-shadow: 6px 6px 6px rgb(0 0 0 / 10%), inset 0 -1px 4px rgb(0 0 0 / 10%), inset 0 1px 4px rgb(0 0 0 / 10%);
}

#content > div
{
	margin-left: 50px;
	margin-right: 50px;
}

#content > div:last-child
{
	margin-bottom: 50px;
}

@media screen and (max-width: 799px) {
    #site-navigation
    {
        position:relative;
    }
	#content
	{
		border-top:0;
		margin-bottom:0;
		border-radius:0;
		box-shadow:none;
		margin-top: -32px;
		width: 100%;
	}
	#content > div
	{
		margin-left: 10px;
		margin-right: 10px;
	}	
    #content > div:first-child
    {
        margin-top: 32px;
    }
}

.md div.title
{
    padding: 50px 20% 20px 20%!important;
    font-family: trattatelloregular,Verdana,Helvetica,Arial,sans-serif;
    letter-spacing: -0.01em;
    font-size: 3em;
    color: #B10000;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 15px 15px 0px 0px;
    border-bottom: 1px;
    border-bottom-style: dotted;
}

#content div span.md div.title {
    margin-left: -10px !important;
    margin-right: -10px !important;
}

@media screen and (min-width: 800px) {
    #content > div:first-child
    {
        margin-top: 100px;
    }
    #content div span.md div.title {
        margin-left: -50px !important;
        margin-right: -50px !important;
    }
}

svg[hidden]
{
	display:none;
	position:absolute;
}

.clicky-menu
{
	max-width:800px;
	justify-content:stretch;
	margin:0 auto;
	list-style:none;
	padding:0;
}

@media screen and (min-width: 800px) {
	.clicky-menu
	{
		display:flex;
	}
}

.clicky-menu a,.clicky-menu button
{
	margin:0;
	background: transparent;
	color:#B10000;
	text-decoration:none;
	font-family: inherit;
	font-weight:600;
	border:0;
	padding-left:20px;
	padding-top:10px;
	padding-bottom:10px;
}

.clicky-menu > li > a,
.clicky-menu > li > button
{
	flex:1 0 auto;
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	font-size:inherit;
	line-height:1.5;
	cursor:pointer;
}

.clicky-menu ul a
{
	display:block;
	padding-top:.375em;
	padding-bottom:.375em;
	padding-left:2em;
	background: url("paper-page.jpg");
	border-top: 1px #00000010 solid;
}

.clicky-menu ul a:last-child
{
    border-bottom: 0.5px #00000010 solid;
}

@media screen and (min-width: 800px) {
	.clicky-menu ul a
	{
		padding:.375em 1em;
	}
}

.clicky-menu a:focus,.clicky-menu button:focus
{
	outline:none;
}

.clicky-menu a:hover,.clicky-menu svg:hover,.clicky-menu button:hover
{
    background: none;
	background-color:#B10000;
	color:#fffafa;
	stroke:#fffafa;
	border-radius:2px;
}

.clicky-menu > li.head > button:hover
{
	background:url("paper-page.jpg");
	color:#B10000;

}

.clicky-menu > li
{
	flex:1 1 auto;
	display:flex;
	justify-content:stretch;
	flex-wrap:wrap;
	stroke:#B10000;
}

.clicky-menu > li.head
{
	border-width:0 1px 0 0;
	border-color:#B1000040;
	border-style:solid;
}

.clicky-menu > li.head svg
{
	margin-top: -10px;
	stroke:#B10000;
    background: inherit;
}

@media screen and (min-width: 800px) {
	.clicky-menu > li > a,
    .clicky-menu > li > button
	{
		justify-content:center;
		padding-left:0;
	}
	.clicky-menu > li.head svg
	{
		display:none;
	}
}

@media screen and (max-width: 799px) {
	.tail:not([show-on-mobile])
	{
		display:none;
	}
	.clicky-menu > li {
        position: relative;
    }

	.clicky-menu > li.head
	{
		border-width:0 0 1px;
		border-color:#B1000040;
		border-style:solid;
	}
}

.clicky-menu [aria-expanded="true"] svg
{
	transform:scaleY(-1);
}

.clicky-menu > li.head svg:hover
{
	background-color:#fffafa;
	stroke:#B10000;
}

.clicky-menu svg.caret
{
	width:1em;
	height:1em;
	margin-left:.5em;
	stroke:inherit;
}

.clicky-menu ul
{
	min-width: 100%;
	list-style:none;
	background-color:inherit;
	line-height:1.5;
	position: absolute;
	top:100%;
	left: 0;
	visibility:hidden;
}

@media screen and (min-width: 800px) {
	.clicky-menu ul
	{
		background-color:#fffafa;
		border-width:2px;
		box-shadow: 0 2px 4px rgb(0 0 0 / 40%), inset 0 1px 4px rgb(0 0 0 / 10%);
		border-radius:0 0 2px 2px;
		text-align: center;
	}
}

.clicky-menu ul[aria-hidden="false"]
{
	position:static;
	width:100%;
	flex:0 0 auto;
	visibility:visible;
	padding: 0;
}

@media screen and (min-width: 800px) {
	.clicky-menu ul[aria-hidden="false"]
	{
		position:absolute;
		width:auto;
	}
}

.head
{
    padding-top:10px;
}

#brand
{
    font-family: trattatelloregular,Verdana,Helvetica,Arial,sans-serif;
    font-size: 1.6em;
    letter-spacing: -0.015em;
}

.md div.image
{
	margin-top:20px;
}

.md img
{
	border-radius:3px;
}

.md table {
    background-color: inherit;
    font-size: 11pt;
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
}

.md div.table
{
	overflow-x:auto;
}

.md table.table tr:nth-child(even)
{
	background:white;
}

.md .admonition {
	position: initial;
}

.clicky-menu.no-js li:hover > ul,.clicky-menu.no-js li:focus-within > ul
{
	display:block;
}

.md span.md,
.md p {
	margin: 0.4em 0;
	}

.md span.imagecaption {
	max-width: 640px;
}

.md li,
.md span.md,
.md p,
.md div.admonition,
.md span.imagecaption {
	text-align: justify;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	line-height: 1.4;
}

.md a {
    font-family: inherit;
}

.md table.table td {
	/* min-width: 120px; */
	padding: 8px;
}

.md table.table tr {
    background-color: white;
}

.md div.table.nowrap td {
    white-space: nowrap;
}

div.weather {
    overflow-x: overlay;
    width: 100% !important;
    padding-left: calc(50% - 356px);
}

.md img.icon {
	vertical-align: top;
	max-width: none;
}

div.same-height {
	display: flex;
	margin-left: -0.15em;
	margin-right: -0.15em;
}

div.same-height img {
    display: block;
    flex-basis: 0px;
    width: 0px;
    height: auto;
	margin: 0.15em;
  }

:target:before { /* fixed header anchor offset (https://stackoverflow.com/a/67822203/173003) */
	content:"";
	display:block;
	height:120px; /* fixed header height*/
	margin:-120px 0 0; /* negative fixed header height */
}

.ibp {
	display: inline-block;
	padding: 0em 0.7em;
    border-radius: 1em;
	font-weight: bold;
	color: white;
  }
.ibp1 { background-color: #75B72A; }
.ibp2 { background-color: #0080C8; }
.ibp3 { background-color: #F6A502; }
.ibp4 { background-color: #E20713; }
.ibp5 { background-color: #211D45; }

div.table tr.ecolo {
    background-color: #f0fff0 !important;
}

:root.flashlight:before {
    content: '';
    width: 100%;
    height: 100%;
    position: fixed;
    background: radial-gradient(
        circle 16rem at var(--cursorXPos) var(--cursorYPos),
        rgba(0, 0, 50, 0) 0%,
        rgba(0, 0, 0, 0.95) 100%
    ), #FFFF0020;
    z-index: 11;
}
