/* body */
* {
	box-sizing: border-box;
}
a {
	color: #008cba;
	cursor: pointer;
	text-decoration: none;
}
a:visited {
	color: #551a8b;
}
a:hover {
	color: #00526e;
	text-decoration: underline;
}
body {
	background-color: #fff;
	color: #333;
	font: 14px Arial, Helvetica, sans-serif;
	margin: 0;
}
button,
input {
	font-family: inherit;
}
button,
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}
button::-moz-focus-inner {
	border: 0;
	padding: 0;
}
figure {
	margin: 1em 0;
}
figure p {
	margin: 0;
}
h1, h2, h3, h4, h5, h6, .h6 {
	font-weight: normal;
	line-height: 1.1;
}
h2, h3, h4, h5, h6 {
	margin: 1em 0;
}
h1 {
	font-size: 1.714em;
	margin-bottom: 1em;
}
h2 {
	font-size: 1.429em;
}
h3 {
	font-size: 1.357em;
}
h4 {
	font-size: 1.286em;
}
h5 {
	font-size: 1.214em;
}
h6, .h6 {
	font-size: 1.143em;
}
img {
	height: auto;
	max-width: 100%;
}
ol:first-child,
p:first-child,
ul:first-child {
	margin-top: 0;
}
sub, sup {
	font-size: 60%;
}
.B {
	font-weight: bold;
}
.b1 {
	border: 1px solid;
	box-sizing: initial;
}
.caption {
	display: table;
	margin: 0;
}
.caption > figcaption {
	caption-side: bottom;
	display: table-caption;
	font-size: 0.714em;
	text-align: center;
}
.esergo {
	border-left: 1px solid #ddd;
	color: #6f6f6f;
	margin: 0 0 20px;
	padding-left: 20px;
}
.esergo cite {
	color: #555;
	display: block;
	font-size: 0.857em;
	font-style: normal;
	margin-top: 0.5em;
}
.esergo cite::before {
	content: '\2014 \0020';
}
.I {
	font-style: italic;
}
.I i {
	font-style: normal;
}
.iframe {
	max-width: 100%;
	position: relative;
	width: 560px;
}
.iframe::before {
	content: "";
	display: block;
	padding-bottom: 56.25%;
}
.iframe iframe {
	border: none;
	height: 100%;
	left: 0; top: 0;
	position: absolute;
	width: 100%;
}
.issn {
	color: #737373;
	font-size: 0.714em;
	margin-top: 0.5em;
	text-align: right;
}
.meta {
	color: #737373;
	margin-top: -1em;
}
.meta a {
	font-weight: bold;
}
h1 + .meta {
	margin-bottom: 2em;
}
h2 + .meta {
	margin-bottom: 1.357em;
}
.QUOT {
	margin-left: 40px;
	margin-right: 40px;
}
.sep {
	border-top: 1px solid;
	padding-top: 1em;
}
.sr {
	line-height: 10;
	overflow: hidden;
}
.top {
	vertical-align: top;
}

/* text align */
.left {
	text-align: left !important;
}
.center {
	text-align: center !important;
}
.right {
	text-align: right !important;
}

/* layout */
@media screen {
	#wrapper {
		display: flex;
		flex-direction: column;
		min-height: 100vh;
	}
}
#top {
	background: #176696;
}
#top a {
	color: inherit;
	text-decoration: none;
}
#top h1 {
	color: #fff;
	font: 1.357em/1.053 Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 12px 15px;
}
#top h1 small {
	font-size: 0.684em;
}
#main {
	margin: 17px 10px 0;
	flex: auto;
	order: 1;
}
#body {
	margin: 1em 0;
}
#body:first-child {
	margin-top: 0;
}
#footer {
	order: 2;
}
#footer.centro {
	border-top: 1px solid #176696;
	font-size: 11px;
	margin: 0 10px;
	padding: 3px;
	text-align: center;
}
#footer.odv {
	align-items: center;
	background: #f3f3f3;
	display: flex;
	justify-content: center;
	padding: 7px 10px;
}
#google {
	display: flex;
	justify-content: flex-end;
	margin: 7px;
}
#google button {
	background: #e7e7e7 url(../pics/search.png) center no-repeat;
	height: 20px;
	margin-left: -1px;
	vertical-align: middle;
	width: 20px;
}
#google button, #google input {
	border: 1px solid #ccc;
}
#google input {
	background-color: #fff;
	font-size: 11px;
	margin: 0;
	/* width: 120px; */
	width: 126px;
}
#google [placeholder]::placeholder {
	background: url(../pics/google.png) left center no-repeat;
	color: transparent;
	opacity: 1;
}

/* navigation */
#menu {
	background-color: #668bb1;
	position: absolute;
	right: 0;
	z-index: 1;
}
#menu:not(.active) {
	display: none;
}
#nav {
	border: 1px solid #ddd;
	border-radius: 3px;
	color: #999;
	font-size: 0.786em;
	padding: 8px 15px;
	text-transform: uppercase;
	word-spacing: 0.714em;
}
#nav a {
	color: #008cba;
	word-spacing: normal;
}
.menu-link {
	float: right;
	padding: 21px 16px;
}
.menu-link:focus {
	outline: 0;
}
.menu-link span,
.menu-link span::after,
.menu-link span::before {
	background-color: var(--bgcolor);
	border-radius: 1px;
	display: block;
	height: 2px;
	width: 22px;
}
.menu-link span {
	position: relative;
	--bgcolor: #fff;
}
.menu-link span::after,
.menu-link span::before {
	content: " ";
	position: absolute;
}
.menu-link span::after {
	margin-top: 6px;
}
.menu-link span::before {
	margin-top: -6px;
}
.menu-link:hover span {
	--bgcolor: #b3b3b3;
}
.navbar {
	display: flex;
	flex-direction: column;
	--bgcolor: #85a2c0;
	--color: #b2c5d8;
	--hcolor: #9db5cd;
}
.navbar, .navbar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.navbar a {
	color: #fff;
	display: block;
	padding: 7px;
	text-align: right;
}
.navbar > li.active > a {
	color: var(--color);
}
.navbar > li ul {
	background-color: var(--bgcolor);
}
.navbar > li:not(.active) ul {
	display: none;
}
.navbar > li ul a:hover {
	background-color: var(--hcolor);
	text-decoration: none;
}
.current {
	background: #a00009;
	--bgcolor: #b3333a;
	--color: #e2b2b5;
	--hcolor: #c25c61;
}
.current .current {
	background: #b4363b;
}

/* social */
.social {
	display: flex;
}
.social > a {
	background-image: url(../pics/social.png);
	height: 30px;
	width: 30px;
}
.social > a:focus,
.social > a:hover {
	opacity: 0.7;
}
.social > a + a {
	margin-left: 7px;
}
.fb {
	background-color: #3b5998;
}
.tw {
	background-color: #00aced;
	background-position: -30px 0;
}
.yt {
	background-color: #b00;
	background-position: -60px 0;
}
.odv .social {
	margin-left: 1em;
}
.odv .social > a {
	background-color: #999;
	border-radius: 50%;
}

/* pagination */
.nav {
	display: flex;
	font-size: 0.857em;
	list-style-type: none;
	padding-left: 0;
}
.nav a {
	display: block;
	padding: 1px 5px;
}
.nav a:hover {
	background-color: #eee;
	text-decoration: none;
}
.nav > a.active {
	cursor: default;
}
.nav > a.active,
.nav .active > a,
.nav .show > a {
	background-color: #008cba;
	color: #fff;
}
.lng {
	float: right;
}
.lng .active {
	display: none;
}
.pager > :not(.active):not([data-toggle]) {
	background: none;
	color: #999;
	cursor: default;
}
.pager > a {
	margin-right: 4px;
}
.pagination {
	justify-content: center;
	margin: 1.167em auto;
}
.pagination a {
	padding: 5px 14px;
}
.paner a {
	padding: 9px 12px;
}
.dropdown {
	position: relative;
}
.dropdown-menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
}
.show > .dropdown-menu {
	display: block;
}
.dropdown-menu a {
	color: #555;
	white-space: nowrap;
}
.dropdown-menu .active > a {
	cursor: default;
}
.dropdown-menu :not(.active) a:hover {
	color: #262626;
}
.dropdown-toggle:focus {
	outline: 0;
}
.dropdown-toggle::after {
	border: .333em solid transparent;
	border-top-color: currentcolor;
	content: "";
	float: right;
	margin-left: .333em;
	margin-top: 7px;
}
@media (max-width: 640px) {
	.paner {
		flex-direction: column;
	}
	.paner li > a {
		border: 1px solid #999;
		border-top: none;
	}
	.paner .active > a,
	.paner .show > a {
		border-color: transparent;
	}
	.paner > .active {
		order: -1;
	}
	.paner:not(.open) > :not(.active) {
		display: none;
	}
	.paner > .active > a::after {
		border: initial;
		content: "\2630";
		float: right;
		margin: initial;
	}
}
@media (min-width: 641px) {
	.dropdown-menu {
		background-clip: padding-box;
		background-color: #fff;
		border: 1px solid rgba(0, 0, 0, 0.15);
		min-width: 100%;
		position: absolute;
	}
	.paner > li {
		margin-right: 4px;
	}
	.paner .active:not(.dropdown) > a {
		cursor: default;
	}
}

@media screen {
	.hide {
		display: none;
	}
}

/* floats */
.cf::after {
	clear: both;
	content: "";
	display: block;
}
.clear {
	clear: both;
}
.end {
	float: right;
	margin-left: 8px;
}
.start {
	float: left;
	margin-right: 8px;
}
.start + * {
	margin-top: 0;
}
.mod,
.start ~ ul {
	overflow: hidden;
}
@media screen and (max-width: 480px) {
	.mw30, .items .start {
		max-width: 30%;
	}
}
.mw50 {
	max-width: 30%;
}
.news .start {
	max-width: 50%;
}

/* home page */
.home {
	color: #f60;
}
@media screen {
	h1.home {
		font-size: 16px;
		font-weight: bold;
		margin: .5em auto;
		text-align: center;
	}
}
@media screen and (min-width: 360px) {
	h1.home {
		font-size: calc(14px + 46 * ((100vw - 360px) / 1240));
		text-transform: uppercase;
	}
}
@media screen and (min-width: 1600px) {
	h1.home {
		font-size: 60px;
	}
}
.news a {
	color: #f60;
}

/* image gallery */
.flex-wrap {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: calc(-1 * var(--gap));
	margin-left: calc(-1 * var(--gap));
}
.flex-wrap > * {
	margin-bottom: var(--gap);
	margin-left: var(--gap);
}
.flex-wrap > img {
	max-width: calc(100% - var(--gap));
}
.gall {
	justify-content: space-evenly;
	list-style: none;
	padding-left: 0;
	--gap: 10px;
}
.gall > * {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 4px;
	text-align: center;
}
.gall > a:hover {
	border-color: #337ab7;
	text-decoration: none;
}
.gall figure,
.gall p {
	margin: 0;
}
.loghi {
	align-items: center;
	justify-content: space-around;
	margin-top: 2em;
	--gap: 20px;
}
.gallery {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fill, 300px);
}
.gallery > img {
	border-radius: 5px;
	cursor: pointer;
}
.gallery > img:hover {
	opacity: 0.7;
}

/* modal overlay */
.modal {
	background-color: var(--bgcolor);
	height: 100%;
	left: 0;
	overflow: auto;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1;
	--bgcolor: rgba(0,0,0,0.4);
	--color: #808080;
	--fsize: 1.75em;
	--hover: #404040;
}
.modal:not(.show) {
	display: none;
}
/* modal content */
.modal-content {
	background-color: #fff;
	border: 1px solid #888;
	margin: 15% auto auto;
	max-width: 80%;
	padding: 10px 20px;
	width: 400px;
}
.modal-header {
	align-items: baseline;
	display: flex;
	justify-content: space-between;
}
.modal-header h1 {
	margin-top: 0;
}
/* modal close button */
.close {
	color: var(--color);
	font-size: var(--fsize);
	font-weight: bold;
}
.close:hover,
.close:focus {
	color: var(--hover);
	cursor: pointer;
	text-decoration: none;
}
/* modal images */
.modal.image {
	padding-top: 100px;
	--bgcolor: rgba(0,0,0,0.9);
	--color: #f1f1f1;
	--fsize: 40px;
	--hover: #bbb;
}
.modal > img { /* image */
	display: block;
	margin: auto;
}
@media (min-width: 640px) {
	.modal > img {
		max-width: 700px;
		width: 80%;
	}
}
.modal > .close {
	position: absolute;
	right: 35px;
	top: 15px;
}

/* lists */
.bib li {
	list-style: none;
	margin-bottom: 1em;
	text-indent: -40px;
}
.index {
	padding-left: 1em;
	--marker: #008cba;
}
.index > li + li,
.index > li .index {
	margin-top: 0.5em;
}
@media screen {
	.index > li {
		list-style: none;
	}
	.index > li::before {
		border-color: transparent var(--marker);
		border-style: solid;
		border-width: 0.357em 0 0.357em 0.5em;
		content: "";
		float: left;
		left: -0.857em;
		margin-right: -0.5em;
		position: relative;
		top: 0.214em;
	}
}
.misc {
	list-style: none;
	padding-left: 0;
	--spacing: 1.429em;
}
.misc.compact {
	--spacing: 1em;
}
.misc li {
	margin-bottom: var(--spacing);
}
.misc p {
	margin: 0;
}
.misc .meta {
	font-size: 0.786em;
}
.misc:not(.compact) .meta {
	margin-bottom: 4px;
}
.misc .titolo {
	font-weight: bold;
}
.misc:not(.compact) .titolo {
	margin-bottom: 5px;
}
@media screen {
	.misc li + li,
	.nav + .misc li {
		border-top: 1px solid #cdcdcd;
		padding-top: var(--spacing);
	}
	.nav + .misc {
		border-bottom: 1px solid #cdcdcd;
	}
}
.none {
	list-style: none;
}
.spaced {
	padding-left: 20px;
}
.spaced > li {
	margin-bottom: 1em;
}
.spaced ol,
.spaced ul {
	margin-top: 1em;
}
.tl {
	list-style-type: none;
	padding-left: 0;
}
.tl > li {
	margin: 10px 0;
}
.tl > li + li {
	border-top: 1px solid #ddd;
	padding-top: 10px;
}
.tl > li > p {
	margin: 0;
}
.tl > li > p + p {
	margin-top: 0.214em;
}
.dl > li {
	margin: 3px 0;
}
.dl > li + li {
	border-top: none;
	padding-top: 0;
}
.dl > li > p:first-child {
	font-weight: bold;
}
.panel > .tl {
	margin: 0;
}
.panel > .tl > li {
	padding-left: 15px;
	padding-right: 15px;
}
.toc dd {
	margin-left: 2.5em;
}
.toc dd dd {
	margin-left: 3.571em;
}
.toc dd dd dd {
	margin-left: 4.286em;
}
.toc dd dd dd dd {
	margin-left: 5em;
}
.toc dl {
	margin: 0.5em 0;
}
.toc dt {
	float: left;
}
li .toc {
	margin: 0.5em 0;
}

/* tables */
caption {
	color: #777;
	margin: 8px 0;
	text-align: left;
}
th {
	background-color: #f5f5f5;
	font-weight: 500;
	text-align: left;
	vertical-align: top;
}
.auto {
	margin-left: auto;
	margin-right: auto;
}
.lab {
	border-collapse: collapse;
}
.url {
	word-break: break-word;
}
.lab td {
	display: block;
}
.lab td, .lab th {
	border-color: #ddd;
	border-style: none solid;
	border-width: 1px;
	padding: 4px;
}
.lab td:last-of-type {
	border-bottom-style: solid;
}
.lab th {
	display: none;
}
.lab td > ul {
	display: table;
	table-layout: fixed;
	width: 100%;
}
.lab td > ul > li {
	margin-left: 2em;
}
.tbl {
	border-collapse: collapse;
	margin-bottom: 1em;
	text-align: right;
	--font-size: inherit;
	--padding: 8px;
}
.tbl td,
.tbl th {
	border: 1px solid #ddd;
	font-size: var(--font-size);
	padding: var(--padding);
}
.txt td {
	text-align: left;
	vertical-align: top;
}
.header {
	background-color: #f5f5f5;
}
.info {
	background-color: #d9edf7;
}
.info th, th.info {
	background-color: #c4e3f3;
}
.lR td:nth-last-child(n+2) {
	text-align: left;
}
.narrow, .small {
	--padding: 4px;
}
.small {
	--font-size: 0.786em;
}
.table-responsive {
	overflow-x: auto;
}
.w25 {
	max-width: 100%;
	width: 25em;
}
@media screen and (max-width: 1024px) {
	.narrow {
		--font-size: 0.786em;
	}
	.narrow-md {
		--padding: 4px;
	}
}
@media screen and (max-width: 800px) {
	.tbl {
		--padding: 4px;
	}
	.small-sm {
		--font-size: 0.786em;
	}
}
@media screen and (max-width: 640px) {
	.small-xs {
		--font-size: 0.786em;
	}
}

/* cards */
.accordion > .card-header {
	border: 1px solid #ddd;
	color: inherit;
}
@media screen {
	.accordion > .card-header:hover {
		background-color: #ddd;
		text-decoration: none;
	}
	.accordion > .card-header::before {
		color: #777;
		content: "+";
		float: right;
		font-weight: bold;
	}
	.accordion.show > .card-header::before {
		content: "\2212";
	}
	.accordion:not(.show) > .card-body {
		display: block;
		height: 0;
		overflow: hidden;
	}
}
.card {
	margin-bottom: 1em;
}
.card-header {
	background-color: #f5f5f5;
	display: block;
	font-size: 1.143em;
	margin: 0;
	padding: 10px 15px;
}
.panel {
	background-color: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
.panel > .card-header {
	border-bottom: 1px solid #ddd;
}
.panel > .card-body {
	margin: 15px;
}

/* items */
.items {
	display: grid;
	--gap: 8px;
}
@media screen and (min-width: 480px) {
	.items {
		gap: var(--gap);
		grid-template-columns: repeat(var(--cols), 1fr);
		--cols: 2;
	}
	.items > .card {
		margin-bottom: 0;
	}
}
@media screen and (min-width: 1280px) {
	.items {
		--cols: 3;
	}
}

/* quaderni */
.quaderni {
	color: #ff002a;
}
.volumi a {
	color: #ff002a;
}
@media screen {
	.volumi {
		border: 10px solid #ff002a;
		padding: var(--gap);
	}
	.volumi .index {
		--marker: #ff002a;
	}
}
@media screen and (min-width: 480px) {
	.volumi {
		border-width: 20px;
		--gap: 16px;
	}
	.volumi .start {
		max-width: 40%;
	}
}

@media (min-width: 401px) {
	.lab td, .lab th {
		border-bottom-style: solid;
		display: table-cell;
		vertical-align: top;
	}
	.mw50 {
		max-width: 50%;
	}
}
@media (min-width: 641px) {
	.tl {
		border-collapse: collapse;
		display: table;
	}
	.tl > li {
		display: table-row;
	}
	.tl > li > p {
		display: table-cell;
		padding: 8px;
		vertical-align: top;
	}
	.dl > li > p {
		padding: 0 10px 3px;
	}
	.dl > li > p:first-child {
		text-align: right;
		white-space: nowrap;
	}
	figcaption {
		display: table-caption;
	}
	figcaption:last-child {
		caption-side: bottom;
	}
	figure {
		display: table;
	}
}
@media (min-width: 801px) {
	.lab td, .lab th {
		padding: 8px;
	}
}
@media (min-width: 1025px), print {
	#google {
		position: absolute;
		right: 3px;
		top: 3px;
	}
	#menu {
		display: block !important;
		position: static;
	}
	.navbar {
		flex-direction: row;
		justify-content: space-between;
	}
	.navbar > li ul {
		position: absolute;
		z-index: 1;
	}
	.navbar ul a {
		padding-left: 14px;
		padding-right: 14px;
		text-align: left;
	}
	#top::before {
		content: url(../pics/adir-scr.jpg);
		float: left;
		height: 102px;
		margin: 5px 10px;
		width: 164px;
	}
	#top h1 {
		font: 5.714em/1 'Arial Narrow', 'Helvetica Condensed', sans-serif;
		margin: 0.2em 0 0;
		padding: 0;
	}
	#top h1 small {
		font: 0.5em Arial, Helvetica, sans-serif;
	}
	.menu-link {
		display: none;
	}
	.volumi {
		border-width: 40px 80px;
	}
}
@media print {
	* {
		box-shadow: none !important;
		color: #000 !important;
	}
	#body a:not(.card-header) {
		text-decoration: underline;
	}
	#top {
		overflow: hidden;
	}
	#top::before {
		content: url(../pics/adir-prn.jpg);
	}
	#top h1 {
		font-size: 32pt;
		margin-top: 50px;
	}
	#top h1 small {
		font-size: 0.5em;
	}
	#nav {
		border: none;
	}
	#bottom, .hide[lang], .nav, .social {
		display: none;
	}
	.esergo {
		border-color: #999;
	}
	.misc li {
		page-break-inside: avoid;
	}
}
