.node-projects-teaser { margin-bottom: 24px; }
.node-projects-teaser a.project-container { margin-top:10px; position: relative; display: block; height: 380px; overflow: hidden; }
.node-projects-teaser a.project-container img { position: absolute; z-index: 1; top: 50%; left: 50%; width: 100%; -webkit-transform: translate(-50%,-50%); -moz-transform: translate(-50%,-50%); transform: translate(-50%,-50%); }
.node-projects-teaser a.project-container .project-body { opacity: 0; padding: 240px 15px 15px 15px; -webkit-transition-duration: .8s; -moz-transition-duration: .8s; transition-duration: .8s; position: absolute; height: 100%; width: 100%; color: #FFF; z-index: 2; background: #000; background: -webkit-linear-gradient(transparent 38%, rgba(0,0,0,.4) 93%)); background: -o-linear-gradient(transparent 38%, rgba(0,0,0,.5) 93%); background: -moz-linear-gradient(transparent 38%, rgba(0,0,0,.5) 93%); background: linear-gradient(transparent 38%, rgba(0,0,0,.5) 93%); }
.node-projects-teaser a.project-container:hover .project-body { opacity: 1; }
.node-projects-teaser .intro .left-side { float: left; width: calc(100% - 100px); }
.node-projects-teaser .intro .right-side { border:5px solid #eee; width: 100px; height: 100px; float: left; }
.node-projects-teaser .intro .right-side * { height: 100%; width: 100%; }
.node-projects-teaser .intro .right-side img { object-fit: cover; }
.clear { clear: both; }
.node-projects-teaser .intro .left-side h2 { font-size: 24px; line-height: 1em; font-weight: 700; text-transform: uppercase; margin-top: 0; margin-bottom: 5px; padding-bottom: 0; color: #000; }

.view-content .node-projects-teaser .intro .left-side h3 { font-size: 16px; line-height: 1em; font-weight: 300; text-transform: uppercase; margin-top: 0; border-bottom: 0; margin-bottom: 5px; padding-bottom: 0; }

.node-projects-teaser .intro .left-side h2 { font-size: 24px; line-height: 1em; font-weight: 600; text-transform: uppercase; margin-top: 0; margin-bottom: 5px; }
.node-projects-teaser .intro .left-side h3 { font-size: 16px; line-height: 1em; font-weight: 300; text-transform: uppercase; margin-top: 0; border-bottom: 0; margin-bottom: 5px; padding-bottom: 0; }

.node-projects-teaser .intro .left-side h4 { margin: 0; }
.node-projects-teaser .intro .left-side h4 .field--label { display: none; }
.node-projects-teaser .intro .left-side h4 a { font-size: 16px; line-height: 1em; font-weight: 300; margin-top: 0; color: #5c6873; }

.node-projects-default { margin-bottom: 30px; }
.node-projects-default h1 { color: #54595b; font-size: 20px; font-weight: normal; border-bottom: 0; margin-top: 37px; margin-bottom: 17px; }
.node-projects-default h3 { font-size: 18px; color: #54595b; padding-bottom: 12px; border: 0; }
.node-projects-default h2 { color: #656565; font-size: 15px; font-weight: bold; }
.node-projects-default .designer-pic, .node-projects-default .designer-info { border: 1px solid #dddddd; padding: 10px 15px; }
.node-projects-default .designer-pic { text-align: center; }
.node-projects-default .designer-pic img { margin: 0 auto; }
.node-projects-default .designer-info { border-top: 0; }
.node-projects-default .designer-info h3 { margin: 0; padding-left:0; padding-bottom: 0; }
.node-projects-default .designer-info .field--label { display: none; }
.node-projects-default .designer-info .field--item a { font-size: 15px; color: #54595b; font-weight: 300; }
.node-projects-default .descrizione { margin-top: 60px; }
.node-projects-default .tab-content { border: 1px solid #54595b; padding: 20px 10px; font-size: 15px; }
.node-projects-default .nav.nav-tabs > li { margin-bottom: 0; }
.node-projects-default .nav.nav-tabs > li > a { padding: 0 38px; font-size: 15px; font-weight: normal; border-radius: 0; border: 0; line-height: 50px; padding-top:0; padding-bottom: 0; background: #54595b; color: #FFF; opacity: .8; -webkit-transition-duration: .4s; -moz-transition-duration: .4s; transition-duration: .4s; } 
.node-projects-default .nav-tabs > li > a { font-size: 15px; font-weight: normal; border-radius: 0; border: 0; line-height: 50px; padding-top:0; padding-bottom: 0; background: #54595b; color: #FFF; opacity: .8; -webkit-transition-duration: .4s; -moz-transition-duration: .4s; transition-duration: .4s; } 
.node-projects-default .nav-tabs > li.active > a, .node-projects-default .nav-tabs > li.active > a:hover, .node-projects-default .nav-tabs > li.active > a:focus { border: 0; color: #FFF; background: #54595b; opacity: 1; }
.node-projects-default .tab-content { margin-top: 0; }
.node-projects-default form button, .node-projects-default form input[type='button'], .node-projects-default form input[type='submit'] { margin-top: 15px; }

.node-project-teaser-compact{ margin-bottom:0px; }
.node-project-teaser-compact__label { font-weight: bold; font-size: 24px; text-transform: uppercase; }

.node-projects-default .field--name-field-project-category .field--label { display: inline-block; font-size: 12px; color: #696969; font-weight: 600; margin-right: 30px; }
.node-projects-default .field--name-field-project-category .field__items { display: inline-block; font-size: 12px; color: #696969; font-weight: 400; }

.node-projects-public-profile{ padding-top:20px; padding-bottom:20px; margin-bottom:10px;}
.node-projects-public-profile h3{margin-bottom:30px;}
.node-projects-public-profile .teaser--description{text-align:justify; height:auto;}
.node-projects-public-profile .teaser--bottom{padding-left:0; margin-top:20px;}


form label { display: block; color: #5c6873; font-size: 15px; margin-top: 10px; }
form input, form textarea { width: 100%; border-radius: 5px; border: 1px solid #ccc; }
form input { padding: 0 10px; line-height: 32px; }
form button, form input[type='button'], form input[type='submit'] { border-radius: 0; display: inline-block; border: 0; width: auto; -webkit-transition-duration: .4s; -moz-transition-duration: .4s; transition-duration: .4s; background: #f78f34; color: #FFF; line-height: 50px; padding: 0 25px; opacity: 0.8; }
form button:hover, form input[type='button']:hover, form input[type='submit']:hover { opacity: 1; }
.form-required:after { content: '*'; background: none; color: #FE0000; font-size: 18px; display: inline-block; background-repeat: no-repeat; background-size: 6px 6px; width: 6px; height: 6px;  margin: 0 0.3em; }
.img-prodotto { border: 1px solid #DDD; box-shadow: 0 1px 1px rgba(0,0,0,.05); border-radius: 4px; text-align: center; overflow: hidden; }
.img-prodotto img { margin: 0 auto; width: 100% }

.related-products { padding: 15px; } 
.main-container .related-products h2 { margin-bottom: 15px; margin-top: 15px; text-transform: uppercase; }
.related-products a.button { display: inline-block; -webkit-transition-duration: .4s; -moz-transition-duration: .4s; transition-duration: .4s; background: #FFF; border: 1px solid #dcdada; outline: 0; color: #000; line-height: 35px; padding: 0 15px; }
.related-products a.button:hover { border-color: #000; color: #FFF; background: #000; text-decoration: none; }
.related-products .field--name-body { height: 70px; overflow: auto; } 

.sidebar-user { margin-top: 57px; border-radius: 3px; width: 100%; }
.sidebar-user>h3 { margin-bottom: 26px; }
.sidebar-user .designer-pic, .sidebar-user .designer-info { border: 1px solid #dddddd; padding: 10px 15px; }
.sidebar-user .designer-pic { text-align: center; width: 100%; }
.sidebar-user .designer-pic img { margin: 0 auto; }
.sidebar-user .designer-info { border-top: 0; }
.sidebar-user .designer-info h3 { margin: 0; padding-left:0!important; padding-bottom: 0; display:block; width: 100%; }
.sidebar-user .designer-info .field--label { display: none; }
.sidebar-user .designer-info .field--item a { font-size: 15px; color: #54595b; font-weight: 300; }

.isogallery .isoitem { width: 200px; height: 200px; padding: 5px 5px 5px 5px; }
.isogallery .isoitem .isoitem-wrapper { position: relative; width: 100%; height: 100%; position: relative; overflow: hidden; display: block; }
.isogallery .isoitem .isoitem-wrapper img { height: 100%; width: auto; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%,-50%); -moz-transform: translate(-50%,-50%); transform: translate(-50%,-50%); }
.isogallery .isoitem .isoitem-wrapper img.vertical { height: auto; width: 100%; }
.chocolat-wrapper { z-index: 99999; }
.chocolat-overlay { background: #000; }

.region-header .nav > li{
	float:left;
	border: 1px solid #ddd;
}

.region-header .nav > li > a{
	color:#676767;
}

.region-header .nav{
	float:right;
}

.node-project-teaser-compact-container{
	padding-left: 7px;
	padding-right: 7px;
}

.node-projects-teaser{
	padding: 10px;
}

.node-projects-teaser img{
	height: 100%;
}

#block-projectsmostrecentviewed .menu,
#block-projectspiurecentipiuvisti .menu{
	margin-bottom:30px;
	margin-right: 43px;
	width: 400px;
    float: none;
    margin: 0 auto;
    justify-content: center;
    display: flex;
}

#block-projectsmostrecentviewed .menu li,
#block-projectspiurecentipiuvisti .menu li{
	margin: 15px;
}

.node-project-teaser-compact-container > .node-projects-teaser{
	padding:0;
}


/*TABLET LANDSCAPE*/
@media only screen and (min-width : 993px) and (max-width : 1199px) {
	.node-projects-teaser a.project-container { height: 314px; }
}
/*TABLET PORTRAIT*/
@media only screen and (min-width : 768px) and (max-width : 992px) {
	.node-projects-teaser a.project-container { height: 237px; }
}
/*MOBILE*/
@media only screen and (max-width : 767px) {
	.node-projects-teaser a.project-container { height: auto; }
	.node-projects-teaser a.project-container img { position: relative; top: auto; left: auto; -webkit-transform: translate(0,0); -moz-transform: translate(0,0); transform: translate(0,0); }
}