/* Fix per lo schedario quando le scritte vanno a capo */
#schedariotop {
	height: auto !important;
	margin-bottom: -1px;
	min-width: 410px !important;
}
ul#schedario {
	height: auto !important;
	display: flex;
	border-bottom: 0px !important;
}
#schedario li {
	float: none !important;
	flex-grow: 1;
}
#pagschedario {
	min-width: 410px !important;
}
/* Fine fix schedario */

/* Fix tabella->blocco */
@media screen and (max-width: 600px) {
	#schedinacontatti table,
	#schedinacontatti tbody,
	#schedinacontatti tr,
	#schedinacontatti th.schedina20,
	#schedinacontatti td {
		display: block;
		width: auto;
		border: 0;
	}
	#schedinacontatti table {
		border: 1px solid #ddd;
	}
}
/* Fine tabella->blocco */

#schedinacontatti td li {
	word-break: break-word;
}
@media screen and (min-width: 600px) {
	#pub-keywords.aside {
		float: right;
		width: 60%;
	}
}
.RM-keyword {
	display: inline-block;
	border: 1px solid #cccccc;
	border-radius: 15px 4px 4px 15px;
	background-color: #ffffff;
	padding: 4px 8px 4px 15px;
	margin: 4px 0;
	font-size: 0.9em;
	color: #666666;
}
.RM-keyword:hover {
	box-shadow: 2px 2px 5px #cccccc;
}
.schedario_image {
	padding: .5em !important;
	background-color: #d5d5d5;
}
.main-data {
	position: relative;
}
.main-data img.imagepersonale {
	margin-bottom: .5em;
	margin-left: 5px;
  max-width: 150px;
  float: right;
}
#corpo .qrvcard img {
	position: absolute;
	top: 0;
	right: 155px;
}
.main-data p {
	font-size: .85em;
	padding: 0;
	padding-right: 195px;
	margin: 0;
}
#corpo .social a,
#corpo .social a:link,
#corpo .social a:visited {
	text-decoration: none;
}
@media screen and (max-width: 600px) {
	#corpo .main-data img.imagepersonale {
		width: 100px;
	}
	.main-data p {
		padding-right: 145px;
	}
	#corpo .qrvcard img {
		right: 105px;
	}
}
#corpo .main-data > p a {
	font-weight: normal;
	color: #333333;
}
.main-data p strong {
	font-size: 1.2em;
}
.main-data p.tel::before {
	content: url(/extension/pauper3/design/polito_responsive/images/tel.png);
	margin-right: 5px;
	vertical-align: middle;
}
.main-data p.cell::before {
	content: url(/extension/pauper3/design/polito_responsive/images/cell.png);
	margin-right: 5px;
	vertical-align: middle;
}
.main-data p.email::before {
	content: url(/extension/pauper3/design/polito_responsive/images/email.png);
	margin-right: 5px;
	vertical-align: middle;
}
.main-data p.web::before {
	content: url(/extension/pauper3/design/polito_responsive/images/web.png);
	margin-right: 5px;
	vertical-align: middle;
}
#corpo td .long-text p {
	margin: .4em 0;
	text-indent: 1em;
}
div#select-pubchart button {
	border: 1px solid #cccccc;
	color: #666666;
	background-color: #eeeeee;
}
div#select-pubchart button.active {
	border: 1px solid #888888;
	color: #000000;
	background-color: #fcfcfc;
}
.blocco {
	margin: 13px 0;
	padding: 10px;
	background-color: #ffffff;
	border: 1px solid #ddd;
}
#corpo div.blocco h2 {
	color: #003576;
	border-bottom: 2px solid #003576;
	margin-top: 0;
}
.blocco-espandibile {
	padding-bottom: 30px;
	position: relative;
}
div.blocco-espandibile > h3 {
	margin-top: 1.5em;
	font-size: 120%;
}
#corpo :not(.insegnamenti) > .blocco-espandibile.lista-breve .elemento-lista:nth-of-type(n+6),
#corpo .blocco-espandibile.lista-breve .elemento-lista.precedente {
	max-height: 0;
	overflow-y: hidden;
	margin: 0;
	padding: 0;
	border: 0;
	transition: all .5s linear;
}
#corpo .blocco-espandibile .elemento-lista:nth-of-type(n+6) {
	transition: all .5s linear;
}
button.espandi-elenco {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 30px;
	width: 100%;
	border: 1px solid #cccccc;
	color: #cccccc;
	background-color: #ffffff;
}
button.espandi-elenco svg {
	transition: all .5s linear;
}
.lista-breve button.espandi-elenco svg {
	transform: rotate(180deg);
}
.blocco-espandibile li.espandi-elenco {
	max-height: 3em;
	margin-left: -30px;
	color: #666666;
	font-style: italic;
	text-decoration: underline;
	cursor: pointer;
}
#corpo li.espandi-elenco::before {
	border: 0;
}
div[class^=pub-type] {
	position: relative;
	padding: 10px 30px 10px 50px;
	margin: 10px 0;
	border-bottom: 1px dotted #cccccc;
	transition: all .5s linear;
}
div[class^=pub-type]:last-child {
	border-bottom: 0;
}
div[class^=pub-type] a {
	font-weight: bold;
	font-style: italic;
	color: #666666;
}
div[class^=pub-type] a.pub-fulltext {
	display: block;
	position: absolute;
	right: 0;
	top: calc(50% - 10px);
}
div.pub-type-1 {
	background: url(/extension/pauper3/design/polito_responsive/images/article.jpg) 5px center no-repeat;
}
div.pub-type-2 {
	background: url(/extension/pauper3/design/polito_responsive/images/book_section.jpg) 5px center no-repeat;
}
div.pub-type-3 {
	background: url(/extension/pauper3/design/polito_responsive/images/book.jpg) 5px center no-repeat;
}
div.pub-type-4 {
	background: url(/extension/pauper3/design/polito_responsive/images/conference_item.jpg) 5px center no-repeat;
}
div.pub-type-5 {
	background: url(/extension/pauper3/design/polito_responsive/images/other.jpg) 5px center no-repeat;
}
div.pub-type-6 {
	background: url(url(/extension/pauper3/design/polito_responsive/images/patent.jpg) 5px center no-repeat;
}
div.pub-type-7 {
	background: url(/extension/pauper3/design/polito_responsive/images/editorship.jpg) 5px center no-repeat;
}
div.pub-type-8 {
	background: url(/extension/pauper3/design/polito_responsive/images/thesis.jpg) 5px center no-repeat;
}
a.tutte-pubblicazioni {
	display: block;
	text-align: right;
	margin: .5em 0 1.5em;
}
.elemento-lista {
	position: relative;
	padding-right: 25px;
	transition: all .5s linear;
}
.elemento-lista:last-child {
	border-bottom: 0;
}
div.elemento-lista {
	color: #666666;
	border-bottom: 1px dotted #cccccc;
	margin: .5em 0;
}
/*
div.elemento-lista.completo {
	padding: .8em;
	background-color: #f6f6f6;
	padding-right: 35px;
}
*/
.elemento-lista span.titolo {
	font-style: italic;
	font-weight: bold;
	color: #666666;
}
.elemento-lista h3,
.elemento-lista strong {
	font-size: 1em;
	color: #333333;
}
#corpo .elemento-lista p {
	line-height: 1.4em;
	color: #666666;
}
#corpo .elemento-lista .dettagli {
	max-height: 0;
	overflow: hidden;
	transition: all .5s linear;
	margin: 0;
	padding: 0;
}
#corpo .elemento-lista.completo .dettagli {
	max-height: unset;
	margin: revert;
	padding: revert;
}
#corpo .elemento-lista.completo :not(svg).dettagli {
	padding-left: 1em;
}
#corpo .elemento-lista.completo ul.dettagli {
	padding-left: 4em;
}
/*
div.elemento-lista h3.dettagli {
	padding: 0;
}
div.elemento-lista.completo h3.dettagli {
	padding: inherit;
}
div.elemento-lista .dettagli {
	margin: 0;
}
div.elemento-lista.completo .dettagli {
	margin: inherit;
}
*/
div.progetto a.cordis,
div.brevetto a.knowledge-share {
	text-align: right;
	display: block;
}
#corpo .elemento-lista svg.dettagli {
	position: absolute;
	top: 0;
	right: 0;
	max-height: 20px;
	cursor: pointer;
}
svg.dettagli path {
	stroke: #999999;
	stroke-width: 2px;
	fill: transparent;
	transition: all .5s linear;
}
svg.dettagli path#a {
	transform: rotate(30deg);
	transform-origin: top center;
}
svg.dettagli path#b {
	transform: rotate(-30deg);
	transform-origin: top center;
}
.elemento-lista.completo svg.dettagli path#a {
	transform: rotate(45deg);
	transform-origin: center;
}
.elemento-lista.completo svg.dettagli path#b {
	transform: rotate(-45deg);
	transform-origin: center;
}
span.espandi-elenco {
	color: #666666;
	font-style: italic;
	text-decoration: underline;
	cursor: pointer;
}
