/* colori
   VIOLA: #84394a
   ROSA: #d6bdbd
   GRIGIO: #b9b9b9
   ROSSO SHOP: #FF5B5B
   
   
   BLU LETTURE:     #d6ffff
   ROSA SCHOOL:     #ffc9ac
   VERDE TAGUNG     #c6f582
   MARRONE SPECIAL: #efd3c6
*/

@font-face {
    font-family: 'Futura PT Light';
    src: url('../fonts/Futura PT Light.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Kievit Book';
    src: url('../fonts/Kievit-Book.woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'Kievit Pro Light';
	src: url('../fonts/KievitPro-Light.eot');
	src: url('../fonts/KievitPro-Light.eot?#iefix') format('embedded-opentype'),
	url('../fonts/KievitPro-Light.woff') format('woff'),
	url('../fonts/KievitPro-Light.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

* {
	outline: none;
	box-sizing: border-box;
}

body, html {
	width: 100%;
	height: 100%;
	font-family: 'Futura PT Light';
	font-family: 'Kievit Book';
	font-family: 'Kievit Pro Light';
}

body {
	padding-top: 80px;
	font-size: 20px;
	line-height: 1.5em;
}

body.no-scroll {
	overflow-y: hidden;
}

h1 {
	margin-bottom: 50px;
	line-height: 1.3em;
}

p {
	line-height: 28px;
}

.container li {
	line-height: 28px;
}

.f50 {
	float: left;
	width: 50%;
}

#banner-container {
	position: relative;
	overflow: hidden;
}

#banner-container.hidden {
	display: none;
}

.anniversary {
	position: absolute;
	top: 50%;
	right: 70px;
	transform: translateY(-50%) rotate(10deg);
	z-index: 1000;
}

.anniversary img {
	height: calc(100vw * 300 / 2000);
}

.popup {
	margin-bottom: 20px;
	padding: 10px;
	text-align: center;
	background: rgba(239,211,198,0.75);
	background: rgba(69, 4, 8, .8);
}

.popup p {
	margin: 0;
	padding: 0;
}

.container {
	position: relative;
	box-sizing: border-box;
	width: 1024px;
	margin: auto;
	color: black;
	overflow: hidden;
}

.container.fullscreen {
	width: 100%;
}

.divider {
	width: 250px;
	height: 1px;
	margin: 15px auto;
	background: gray;
}

.divider.white {
	background: transparent;
}

.divider.line {
	width: 500px;
	height: 1px;
	margin: auto;
	background: #b9b9b9;
}	

a {
	text-decoration: none;
	color: inherit;
	transition: .3s;
}

a.underlined, .page-text a {
	border-bottom: 2px dashed #d6bdbd;
}

a:hover {
	color: red;
}

a.undecorated:hover {
	color: inherit;
}

.attachment-text {
	padding-right: 10px;
	text-align: right;
}

.button-container a {
	transition: none;
}

#slide1 {
	width: 1024px;
	height: 400px;
	margin: 50px auto;
}

.f50.left {
	padding-left: 50px;
}

.f50.right {
	padding-left: 190px;
}

span.indent {
	display: block;
	margin-left: 20px;
}

#homepage-banner {
	width: 100%;
	margin-bottom: 30px;
}

img.homepage-banner {
	width: 100%;
}

#contacts {
	position: relative;
	overflow: hidden;
	margin: 50px 0;
}

#details {
	float: left;
	box-sizing: border-box;
	width: 40%;
	padding-right: 20px;
	padding-top: 97px;
	line-height: 25px;
	font-size: 18px;
	text-align: right;
}

#vertical-divider {
	position: absolute;
	left: 40%;
	top: 10px;
	bottom: 0;
	width: 100px;
}

#vertical-divider:before {
	content: '';
	position: absolute;
	top: 5px;
	bottom: 0;
	left: 48px;
	width: 4px;
	background: #d6bdbd;
}

#form {
	position: relative;
	left: 100px;
	float: left;
	padding-top: 10px;
	width: calc(60% - 100px);
	line-height: 25px;
	font-size: 18px;
}

#contacts h3 {
	margin: 0;
	margin-bottom: 30px;
	font-size: 40px;
	line-height: 50px;
}

#form .label {
	font-size: 12px;
}

#form .label.error {
	color: red;
}

#form input, #form textarea {
	min-width: 400px;
	padding: 5px;
	border: none;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
}



#form input.error, #form textarea.error {
	border-color: red;
}

#form textarea {
	width: 60%;
	height: 150px;
}

#button-send {
	float: left;
	border: 1px solid black;
	padding: 5px 10px;
	transition: .3s;
	color: black;
	cursor: pointer
}

#map {
	width: 100%;
	height: 400px;
}

#map iframe {
	width: 100%;
	height: 100%;
}

.genericons-neue {
	margin-top: -3px;
}

/************** BANNER VECCHIO SITO *****************/

#old-site-banner {
	position: fixed;
	top: 100px;
	right: 20px;
	padding: 0 10px;
	font-size: 14px;
	line-height: 30px;
	border-radius: 10px;
	border: 1px solid #d6bdbd;
	background-image: linear-gradient(to right, #d6bdbd 50%, white 50%);
	background-size: 200% 100%;
	background-position: 100% 0;
	z-index: 10000;
	transition: background-position .3s;
}

#old-site-banner:hover {
	background-position: 0 0;
}

#old-site-banner .genericons-neue {
	margin: 0;
}

/************** TABELLA LETTURE *****************/

#lectures-list {
	/* background: url('../images/background-gong.png') left top no-repeat; */
}

#lectures-list .container {
	overflow: visible;
}

br.title-br {
	display: none;
}

.macrogroup-title {
	font-size: 24px;
	margin-top: 20px;
}

.lTableTitle {
	margin-bottom: 25px;
	text-align: left;
	font-size: 35px;
	font-weight: 700;
}

span.lTableSubtitle {
	display: inline-block;
	padding-left: 10px;
	font-size: 20px;
}

.lTable {
	display: table;
	box-sizing: border-box;
	clear: both;
	width: 100%;
	margin: 0 0 15px 0;
}

.lTableRow {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	border-left: 2px solid transparent;
	border-bottom: 1px solid #e8e8e8;
	transition: .3s;
}

.lTableRow:hover {
	border-left: 2px solid black;
}

.lTableRow.expired {
	background: rgba(255, 255, 255, 0.7);
}

.lTableRow.expired div {
	opacity: 0.4;
}

.closest-proj {
	font-size: 18px;
	position: absolute;
	left: -105px;
	top: -6px;
	padding: 5px 0 5px 0;
	width: 90px;
	background: red;
	color: white;
	text-align: center;
	border-radius: 4px;
	line-height: 22px;
}

.closest-proj:after {
	content: '';
	position: absolute;
	right: -1px;
	top: 24px;
	width: 15px;
	height: 15px;
	transform: rotate(45deg) translateY(-50%);
	background:  red;
}	

.lTableCell {
	position: relative;
	float: left;
	padding: 5px 5px 5px 0;
}

.lTableCell-40 {
	width: 40%;
}

.lTableCell-30 {
	width: 30%;
}

.lTableCell-20 {
	width: 20%;
}

.lTableRow:last-child {
	border-bottom: 0;
}

.lectures div.lTable {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+50,d6ffff+100&0.75+0,1+100 */
	background: -moz-linear-gradient(left, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.88) 50%, rgba(214,255,255,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.88) 50%,rgba(214,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.88) 50%,rgba(214,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfffffff', endColorstr='#d6ffff',GradientType=1 ); /* IE6-9 */
}

.school div.lTable {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+50,ffc9ac+100&0.75+0,0.75+100 */
	background: -moz-linear-gradient(left, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.75) 50%, rgba(255,201,172,0.75) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.75) 50%,rgba(255,201,172,0.75) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.75) 50%,rgba(255,201,172,0.75) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfffffff', endColorstr='#bfffc9ac',GradientType=1 ); /* IE6-9 */
}

.tagung div.lTable {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+50,c6f582+100&0.75+0,0.75+100 */
	background: -moz-linear-gradient(left, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.75) 50%, rgba(198,245,130,0.75) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.75) 50%,rgba(198,245,130,0.75) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.75) 50%,rgba(198,245,130,0.75) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfffffff', endColorstr='#bfc6f582',GradientType=1 ); /* IE6-9 */
}

.special div.lTable {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+50,efd3c6+100 */
	background: -moz-linear-gradient(left, rgba(255,255,255,1) 50%, rgba(239,211,198,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(255,255,255,1) 50%,rgba(239,211,198,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(255,255,255,1) 50%,rgba(239,211,198,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efd3c6',GradientType=1 ); /* IE6-9 */
}

.lTableCell.lTableName {
}
	

.lTableName {
	padding-left: 8px;
	font-weight: 700;
}

.lTableCode {
	padding-left: 8px;
}

span.lTableDate {
	font-weight: normal;
	font-size: 14px;
	line-height: 14px;
}

.button-container {
	width: 100%;
	overflow: hidden;
	text-align: right;
}

.button-container .button {
	display: inline-block;
	padding: 3px 13px;
	margin: 20px 10px;
	transition: .3s;
	border: 1px solid black;
	cursor: pointer;
}

.button-container .button.archive {
	margin: 5px 10px 0 10px;
	font-size: 14px;
	line-height: 24px;
	padding: 0 10px;
}

.button-container .button.left {
	float: left;
}

.button-container .button.right {
	float: right;
}

.button-container .button.center {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.button-container .button.disabled {
	border: 1px solid #b9b9b9;
	color: #b9b9b9;
	cursor: auto;
}

.button-container .button.disabled:hover {
	background: white;
	color: #b9b9b9;
}

.button-container .button:hover {
	background: black;
	color: white;
}

#partners .container p {
	text-align: center;
}

#partners .logos {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	flex-wrap: wrap;
}

#partners .container a {
	padding: 15px;
}

#partners .container img {
	transition: transform .3s;
}

#partners .container img:hover {
	transform: scale(1.1);
}

#partners-list {
	text-align: center;
}

#partners-list a {
	display: inline;
	margin: 10px 0;
}

#partners-list img {
	transition: transform .3s;
}

#partners-list img:hover {
	transform: scale(1.1);
}

.page-image.f-l, .page-slide.f-l{
	float: left;
}

.page-image.w-50, .page-slide.w-50 {
	width: 50%;
	margin: 0 20px 0 0;
}

.page-image.w-100, .page-slide.w-100 {
	width: 100%;
}

.project-slide {
	width: 600px;
	height: 400px;
	/* overflow: hidden; */
	margin: auto;
}

.inner-slide {
	position: relative;
	width: 600px;
	height: 400px;
}

.image-slide {
	width: 600px;
	height: 400px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}

.caption {
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
	background: rgba(255,255,255,0.7);
}

/* configurazione slide custom */
.slick-prev, .slick-next {
	width: 30px;
	height: 30px;
	z-index: 10000;
}

.slick-prev:before, .slick-next:before {
	font-size: 30px;
	color: #d6bdbd;
}

#homepage-banner .slick-prev, .page-slide .slick-prev {
	left: 25px;
}

#homepage-banner .slick-next, .page-slide .slick-next {
	right: 25px;
}

#homepage-banner .slick-prev:before, #homepage-banner .slick-next:before {
	text-shadow: 0 0 2px black, 0 0 4px black;
}

/************ FOOTER ************/

#footer {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 50px;
	width: 100%;
	padding: 0 50px;
	font-size: 16px;
	background: #e8e8e8;
}

#credits {
	color: black;
}

#counter {
	
}

#social {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 140px;
}

#social img {
	display: block;
	width: 30px;
	opacity: 0.6;
	transition: opacity 0.3s;
}

#social img:hover {
	opacity: 1;
}

/************ ASSEGNAMENTI DIRETTI ************/

.overflow-auto { overflow: auto; }

.text-center { text-align: center; }

.margin-auto { margin: auto; }