/* About */

#img_in_about {
	margin: 0;
	margin-right: 1.5em;
	margin-top:0.5em;
	margin-bottom:0.5em;
	height: 4em;
	float: left;
}

@media screen and (max-width: 780px) {
	#img_in_about {
		width: 40%;
		height: 40%;
	}
}

/* "Unitemized” list */

.commonList li {
	list-style: none;
	line-height: 180%;
}

/* Collapsible list */

#expList p {
	margin:0;
	display:block;
}

#expList li {
	padding: 0;
	color:#336;
	text-indent: 0;
	background-repeat: no-repeat;
	cursor: pointer;
	list-style-type: none;
}

 /* Collapsed state for list element */
/*#expList .collapsed {
	background-image: url(../img/collapsed.png);

}*/

#expList .collapsed:before {
	margin-right: 1em;
	content: "\25B8";
}

/* Expanded state for list element
/* NOTE: This class must be located UNDER the collapsed one */
/*#expList .expanded {
	background-image: url(../img/expanded.png);
}*/
#expList .expanded:before {
	margin-right: 1em;
	content: "\25BE";
}

#expanding-item {
	font-size:120%;
	font-weight: bold;
	margin: 1em;
}

#expanding-item:hover {
	/*border-bottom: .5ex solid #33c;*/
	/*color:#2a7ae2;*/
	text-decoration: none;
}

#expanding-item .expanded:hover {
	border-bottom: none;
	text-decoration: none;
}

#expanding-item li {
	font-size:95%;
	font-weight: normal;
	line-height: 200%;
	cursor: auto;
}

#expanding-item li:hover {
	border-bottom: none;
	text-decoration: none;
}

/* Site title */

.site-title {
	color: #336;
}

.site-title img {
	margin: 1ex;
}

.release {
	font-family: "Ubuntu Medium", Roboto, sans-serif;
	margin: 1ex 1em;
}


.site-nav .current-page {
	border-bottom: .5ex solid #336;
}

.site-nav a:hover {
	border-bottom: .5ex solid #33c;
	text-decoration: none;
}

.feed-icon-svg,
.mail-icon-svg,
.discourse-icon-svg,
.fediverse-icon-svg {
	display: inline-block;
	width: 16px;
	height: 16px;
	position: relative; top: 3px;
}


/* Homepage styles */

.homepage figure {
	display: block;
	margin: 0 auto;
}

#slideshow .slides {
	height: 15em;
	height: 50vh;
	/* full screen minus: footer, header, and caption (approx) */
	height: calc(100vh - 10ch - 4em - 5*5ex);
	max-height: 80vw;
	overflow: hidden;
	position: relative;
}

.slides a {
	display: block;
	position: absolute;
	overflow: hidden;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

.slides img {
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
}

@supports(object-fit: contain) {
	.slides img {
		height: 100%;
		object-fit: contain;
	}

}

.slides a.rightout
{
	transform: translate(100%, 0);
}

.slides a.leftout, .slides a
{
	transform: translate(-100%, 0);
}


.slides .transition {
	transition: transform 1s ease;
}

.slides a.show {
	transform: translate(0, 0);
}


.homepage figcaption a {
	color: inherit;
}


.homepage figcaption a:hover {
	text-decoration: none
}

.homepage {
	text-align:center;
}

.homepage h1 {
	font-size: 172%;
}

.homepage h2 {
	font-size: 144%;
	margin-bottom: 4ex;
}

.homepage figcaption {
	margin: 4ex auto;
	color: #727272;
}

/* Liquid style: on small screens, the menu gets reduced to a pull-down menu,
 * See also css/main.css
 */
@media screen and (max-width: 600px) {

	.site-nav a
	{
		border-bottom: none;
		border-right: .5ex solid white;
	}

	.site-nav .current-page
	{
		border-bottom: none;
		border-right: .5ex solid #336;
	}

	.site-nav a:hover
	{
		border-bottom: none;
		border-right: .5ex solid #33c;
	}

}

.left {
	float: left;
	margin-right: .5em;
}

.lines4 {
	max-height: 6em;
}

figure {
}

figure > img, figure > video, figure > iframe, figure > .sequence {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

figure > img, figure > video, figure > iframe {
	max-width: 600px;
}

figure > .sequence {
	text-align: center;
	max-width: 800px;
}

figure > figcaption {
	margin-left: auto;
	margin-right: auto;
	font-size: 80%;
}

figure > figcaption > h1 {
	font-size: 120%;
}

/* Contributors */

.contributor {
	display: inline-block;
	text-align: center;
	margin: 0;
	padding: 0;
	width: 10em;
	margin-bottom: 1em;
	vertical-align: top;
}

.contributor img {
	height: 8em;
}

.contributor figcaption {
	font-style: normal;
	font-size: 100%;
}

.contributor .name {
	font-weight: bold;
}

/* Gallery */

.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* Need two specifiers to override ".post_content > *" */
.gallery figure {
	margin-bottom: 5em;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
}

@media (min-width: 500px) {
	.gallery figure {
		max-width: 500px;
	}
}

.gallery figure img, .gallery figure video {
	width: 80%;
}

.gallery figcaption {
	margin-top: .5em;
}


.right-column h1 {
	font-size: 120%;
	margin-bottom: 1ex;
}

.blog .post-content {
	border-bottom: 1px dashed gray;
}

/* References / bibliography */

#references > dl > dt {
	float: left;
	width: 2em;
	padding-right: 1em;
	text-align: right;
}

#references > dl > dd {
	margin-left: 3em;
	margin-bottom: 0.5em;
}

#references > dl > dd em {
	font-weight: bold;
	font-style: normal;
}

.gallery .ref a:not(:last-child)::after {
  content: ","
}

/* Logo lists */

.logoList li {
	clear: left;
}

.logoList li a:before {
	height: 3em;
	width: 3em;
	margin-right: 1em;
	content: "";
	background-size: contain;
	background-repeat: no-repeat;
	display: inline-block;
	background-position: center;
	vertical-align: middle;
}

.logoList .ingv:before {
	background-image: url('/img/INGVlogo.png');
}

.logoList .edf:before {
	background-image: url('/img/EDFlogo.png');
}

.logoList .cnam:before {
	background-image: url('/img/CNAMlogo.png');
}

.logoList .dmi:before {
	background-image: url('/img/Catanialogo.png');
}
