.wrapper .container { margin-left: 0; }

.view-id-prodotti_homepage, .view-id-prodotti {
  margin-bottom: 30px;
  }

.view-id-prodotti_homepage .field-content, .view-id-prodotti .field-content {
  text-align: center;
  text-transform: uppercase;
}

.view-id-prodotti_homepage .views-field-title a,
.view-id-prodotti .views-field-title a {
  color: #77B34F !important;
  /*text-shadow: 0px 2px 1px rgba(150, 150, 150, 0.71);*/
}

.page-node-284 h2.node-title, .page-node-285 h2.node-title, .page-node-286 h2.node-title, .page-node-287 h2.node-title, .page-node-288 h2.node-title,
.page-node-180 h2.node-title, .page-node-177 h2.node-title, .page-node-178 h2.node-title, .page-node-179 h2.node-title, .page-node-181 h2.node-title,
.page-node-10 h2.node-title, .page-node-147 h2.node-title, .page-node-148 h2.node-title, .page-node-149 h2.node-title,
.page-node-39 h2.node-title,
.page-node-38 h2.node-title,
.page-node-37 h2.node-title,
.page-node-9 h2.node-title, 
.page-node-124 h2.node-title,  
.page-node-11 h2.node-title,
.page-node .node-prodotto h2.node-title {
	display:none;
}

/* ----- PAGE PRODOTTI ----- */


.flexslider {
/* margin: 0 0 60px; */
margin-left: -40px;
 background: transparent; 
/* border: 4px solid #fff; */
/* position: relative; */
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-o-border-radius: 4px;
border-radius: 4px;
/*-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
 box-shadow: 0 1px 4px rgba(0,0,0,.2);*/ 
 zoom: 1; 
 /*z-index: -1;*/ }
 
 .flexslider .slides > li {
display: none;
/* -webkit-backface-visibility: hidden; */
/* padding: 20%; */
z-index: -1 !important;
}

/* Grid Gutter */
.grid-inner { padding: 0 20px; }

.sidebar .grid-inner,
.main-content-inner.grid-inner,
.page-showcase .main-content-inner.grid-inner{ padding: 0; }

/**
 * Main Containner
*/
#header-wrapper { position: fixed; top: auto; }

#header-wrapper.header-skin-wrapper { position: fixed; top: 29px; }

#header-wrapper .grid-inner { padding-right: 10px; }

#main-wrapper { top: 70px; position: relative; }

#main-wrapper.main-skin-wrapper { top: 70px; }

#main-wrapper .container { padding: 10px 0; }

#main-wrapper #system-messages-wrapper .container { padding: 15px 0 0; }



/**
 * Header
*/
#header-wrapper { background: #fff; width: 100%; z-index: 999; }

#header { clear: both; position: relative; }

/* Logo & Site name */
#logo {
	left: 0;
	position: absolute;
	z-index: 99;
	top: 1px;
width: 289px;
}

#logo img { margin: 0 0 0 10px; width: 89px; }

#name-and-slogan { float: left; line-height: 1.2; }

.site-name { font-size: 5em; margin: 0; }

.site-name a { color: #c00; text-decoration: none; }

.site-name a:hover,
.site-name a:focus,
.site-name a:active { color: #c00; text-decoration: none; }

.site-slogan {
	background: #ddd;
	color: #666;
	font-size: 1.286em;
	font-weight: bold;
	margin: .188em 0 0;
	padding: 5px;
	text-align: center;
}

/* Region */
.region-header {
	position: absolute;
	right: 1px;
	width: 200px !important;
}

/**
 * Main Navigation
*/
#block-system-main-menu ul.menu li {
	display: inline;
}

#menu-bar-wrapper {
	margin-top: 20px;
	padding: 0;
	position: relative;
	z-index: 499; /* Drupal toolbar index is 600 */
	float: right;
}

#menu-bar-wrapper .menu-bar { position: relative; }

#menu-bar-wrapper .region-menu-bar { width: 100%; }

/**
 * Main Content
*/
.left-menu-existed .page-main-inner { padding: 0 0 0 150px; }

.front .left-menu-existed .page-main-inner,
.page-showcase .left-menu-existed .page-main-inner,
.page-taxonomy-term .left-menu-existed .page-main-inner,
.left-menu-existed  #system-messages-wrapper .grid-inner{ padding-top: 0; padding-left: 150px; }

.left-menu-existed  #mass-top-wrapper .grid-inner { padding: 0px; }
.left-menu-existed  #system-messages-wrapper .grid-inner {
	padding-right: 10px ;
}

.content_page.grid-inner {
	padding: 0px;
}
#system-messages-wrapper .grid-inner div.messages {
	margin-left: 10px !important;
}
/* Page Title */
#page-title {
	font-size: 2em;
	margin: 0;
	color: #222;
	margin: 10px 0 15px;
	line-height: 1.3;
	display: none;
}

.in-maintenance #page-title { padding: 10px; }

/**
 * Sidebars
*/
#menu-left-wrapper {
	width: 135px;
	left: 0;
	position: fixed;
	z-index: 200;
	margin-top: 50px;
	text-align: right;
}

.region-menu-left { width: 100px; margin-left: 20px; }

/**
 * Other Pages
*/
/* Blog Action Links */
.page-blog ul.action-links { margin: 15px 0 20px 10px; padding: 0; }

.page-blog ul.action-links li { margin: 0; }

.page-blog ul.action-links li a {
	margin: 0;
	padding: 6px 20px;
	border: 1px solid #11639d;
	font-weight: bold;
	color: #fff;
	background: #2984e7;
	cursor: pointer;
}

.page-blog ul.action-links a:hover,
.page-blog ul.action-links a:focus,
.page-blog ul.action-links a:active {
	text-decoration: none;
	color: #fff;
	background: #2a85e8;
}

/* --- Profiles --- */
.profile { margin-top: 0; }

.profile h3 {
	border-bottom: 1px solid #ddd;
	margin: 0 0 1em;
	padding: 0 0 .5em 0;
}

.profile .user-picture { float: none; }

/* --- Search Results --- */
.search-results { margin: 0; }

.search-results .title { font-size: 1.154em; }

.search-results .search-snippet-info { padding: 0; }

.search-results p { margin: 0; }

.search-results .search-info { font-size: .923em; }

/* Responsive menu  */
#header .responsive-menu-button{
	border-color: #fff;
	border-style: solid;
	display: none;
	height: 80px;
	position: absolute;
	text-indent: -9999px;
	top: 0;
	width: 80px;
}

#header .tb-main-menu-button{
	background: url('../images/icon-navigation.gif') center center no-repeat;
	right: 0px;
	border-left: solid 1px #fff;
	border-right: solid 1px #fff;
}

#header .tb-left-menu-button{
	background: url('../images/icon-sidebar.png') center center no-repeat;
	left: 0;
	border-width: 0 1px 0 0;
}

#button-btt { display: none; }

#Top { position: absolute; top: 0; }

#menu-left-inner { height: 100%; }

body.tb-wall-popup-iframe #block-system-main { background: #fff; height: 625px; overflow: hidden; }

body.tb-wall-popup-iframe #block-system-main .block-inner { height: 100%; overflow: hidden; }

/* 404 Page ---*/
.body-404 {
	color: #555;
	font-weight: normal;
	line-height: 1.6;
	font-size: 12px;
	font-family: Arial,Helvetica,sans-serif;
	
}

.content-404 {
	background: url('../images/404.png') no-repeat center top;
	position: relative;
	width: 650px;
	height: 546px;
	margin: 0px auto 0 auto;
	font-size: 0px;
	text-indent: -999em;
}

.content-404 h1,
.content-404 description-404,
.content-404 span{
	display: none;
}

.content-404 a,
.content-404 a:hover,
.content-404 a:focus,
.content-404 a:active { 
	font-size: 0px;  
	display: block;
	position: absolute;
	background-repeat: no-repeat;
	text-indent: -999em;
	text-decoration: none;
	background-position: left top;
}

.content-404 a.home-404:hover,
.content-404 a.home-404:focus,
.content-404 a.home-404:active {
	background-position: left -59px;
}

.content-404 a.home-404 {
	width: 105px;
	height: 59px;
	bottom: 146px;
	right: 10px;
	background-image: url('../images/button-home.png');
}

.content-404 a.home-404:hover,
.content-404 a.home-404:focus,
.content-404 a.home-404:active {
	background-position: left bottom;
}


.content-404 a.showcase-404 {
	width: 121px;
	height: 67px;
	bottom: 102px;
	right: 125px;
	background-image: url('../images/button-showcase.png');
}

.content-404 a.showcase-404:hover,
.content-404 a.showcase-404:focus,
.content-404 a.showcase-404:active {
	background-position: left -67px;
}

.content-404 a.blog-404 {
	width: 103px;
	height: 56px;
	bottom: 45px;
	right: 20px;
	background-image: url('../images/button-blog.png');
}


.content-404 a.blog-404:hover,
.content-404 a.blog-404:focus,
.content-404 a.blog-404:active {
	background-position: left -56px;
}

.region-mass-top .block-title {
	border-bottom: 1px solid #E5E5E5;
	color: #222;
	font-size: 0.92em;
	margin: 0px 0 15px;
	padding: 0px 0 15px;
	text-transform: uppercase;
}

.region-mass-top iframe{
	max-width: 100%; 
	margin-bottom: 10px;
}

#sidebar-second-wrapper .grid-inner {
	padding: 0px;
}

#sidebar-second-wrapper h3 {
	font-size: 1em;
}

#sidebar-second-wrapper p {
	margin: 5px 0 15px;
}

.page-contact .page-inner-wrapper {
	background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #E5E5E5;
    margin: 10px 10px 20px;
    padding: 15px 20px;
    position: relative;
}

.page-contact .page-inner-wrapper .grid-inner  {
	padding: 0px;
}

.christmas-skin .content-404 {
  background: url("../images/christmas-404.png") no-repeat center center;
  font-size: 0;
  height: 474px;
  margin: 0 auto;
  position: relative;
  text-indent: -999em;
  width: 650px;
}
.christmas-skin .content-404 a, 
.christmas-skin .content-404 a:hover, 
.christmas-skin .content-404 a:focus, 
.christmas-skin .content-404 a:active {
  display: block;
  font-size: 0;
  position: absolute;
  text-decoration: none;
  text-indent: 0;
  color: #c2c1bd;
}
.christmas-skin .content-404 a.home-404 {
  background: url("../images/bg-404-home.png") no-repeat 0 0;	
  bottom: 213px;
  height: 34px;
  right: 76px;
  width: 76px;
}
.christmas-skin .content-404 a.home-404:hover {
	background: url("../images/bg-404-home.png") no-repeat 0 -34px;
}

.christmas-skin .content-404 a.showcase-404{
  background: url("../images/bg-404-showcase.png") no-repeat 0 0;
  bottom: 173px;
  height: 37px;
  right: 79px;
  width: 76px;
}
.christmas-skin .content-404 a.showcase-404:hover {
	background: url("../images/bg-404-showcase.png") no-repeat 0 -37px;
}

.christmas-skin .content-404 a.blog-404{
  background: url("../images/bg-404-blog.png") no-repeat 0 0;
  bottom: 139px;
  height: 32px;
  right: 80px;
  width: 76px;
}
.christmas-skin .content-404 a.blog-404:hover {
	background: url("../images/bg-404-blog.png") no-repeat 0 -32px;
}

.galleryformatter .gallery-thumbs {
	display:none;
}

.galleryformatter {
	margin-bottom: 100px;
	padding-left: 10%;
	padding-right: 10%;
}

.page-node .node-news .node-content {	
padding-left: 16%;
max-width: 1400px;
text-align: justify;
}

.page-node .node-news .node-title {	
	max-width: 1400px;
/*padding-left: 10%;*/
}

.page-node .node-showcase .node-content {	
padding-left: 16%;
max-width: 1400px;
text-align: justify;
}

.page-node .node-showcase .node-title {	
	max-width: 1400px;
/*padding-left: 10%;*/
}

.page-node .node-showcase .field-name-field-tipo-realizzazione,
.page-node .node-news .field-name-field-categoria-news {	
margin-top: -20px;
/*margin-bottom: 120px;*/
color: #000;
font-style: italic;
font-size: 23px;
}

.subtitle {
  margin: 0 0 2em 0;
}

.page-node .node-news h2.node-title,
.page-node .node-showcase h2.node-title, 
.fancy {
  line-height: 1;
text-align: left;
padding-left: 16%;
padding-right: 14%;
margin-top: 100px;
margin-bottom: 30px;
}

.page-node .node-news h2.node-title a,
.page-node .node-showcase h2.node-title a {
  display: inline-block;
  position: relative;  
  font-size: 50px;
color: #000;
font-weight: bold;
margin-top: -60px;
}

.fancy span {
  display: inline-block;
  position: relative;  
  font-size: 50px;
color: #000;
font-weight: bold;
}

.page-node .node-news h2.node-title a:before,
.page-node .node-showcase h2.node-title a:before, 
.fancy span:before {
  content: "";
position: absolute;
height: 5px;
border-top: 6px solid #77B34F;
top: 4px;
width: 60px;
}

.page-node .node-news h2.node-title a:before,
.page-node .node-showcase h2.node-title a:before, 
.fancy span:before {
  right: 100%;
  margin-right: 15px;
}

/*SLIDESHOW REALIZZAZIONI*/

.field-slideshow-controls a.prev {
display: inline-block;
width: 34px;
height: 37px;
background: url(/sites/default/files/icon-prev.png) no-repeat;
font-size: 1px;
color: #444;
background-color: transparent;
margin-right: 900px;
}

.field-slideshow-controls a.next {
display: inline-block;
width: 34px;
height: 37px;
background: url(/sites/default/files/icon-next.png) no-repeat;
font-size: 1px;
color: #444;
background-color: transparent;
}

.field-slideshow-pager {
    text-align: center;
    margin-bottom: 120px;
    display: none;
}

.field-slideshow-pager a{
  display:inline-block;
  width:16px;
  height:16px;
  background: url(/sites/default/files/icon-green.png) no-repeat 0 -16px;
  text-indent: -999%;
}


.field-slideshow-pager a.activeSlide{
  background-position: 0 0 ;
}

.field-slideshow-wrapper {
	text-align:center;
} 

.field-slideshow-controls {
margin-top: 220px;
position: relative;
z-index: 99;
}

.field-slideshow {
/* overflow: hidden; */
max-width: 100%;
margin-top: -300px;
margin-left: auto;
margin-right: auto;
margin-bottom: 20px;
}

.page-node .node-news .field-name-field-immagine-news {
margin-top: 300px;
}

/*LANDING PAGE*/

.page-node-457 #header-wrapper {
    position: relative;
    margin-top: -100px;
}

.page-node-457 #block-system-main {
    background-color: transparent !important;
    display: -moz-box;
    position: relative;
    /*margin-left: 2500px;*/
}

.page-node-457 #block-system-main .block-inner {
   margin-left: -100px;
       display: -webkit-box;
}

.page-node-457 h2.node-title {
    display: none;
}

#block-webform-client-block-458 {
    width: 100%;
    float: right;
    margin-top: -121px;
}

#block-webform-client-block-458 {
    background-image: url('/sites/default/files/sfondo-form.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
}

form#webform-client-form-458 {
    background-color: #000;
    padding: 70px 10px 10px 45px;
    opacity: 0.8;
    background-image: url('/sites/default/files/logo-form-landing.png');
    background-position: 45px 10px;
    background-repeat: no-repeat;
    width: 300px;
    float: right;
    margin-bottom:80px;
    margin-top: 35px;
}

form#webform-client-form-458 label {
    color: #fff;
}

form#webform-client-form-664 {
    margin-bottom: 90px;
}

input.webform-submit.button-primary.form-submit {
    /*background: #fff !important;*/
    box-shadow: none !important;
    border: none;
    color: #FFF;
    /*font-weight: 300;*/
    padding: 10px;
    text-shadow: none !important;
}

input.webform-submit.button-primary.form-submit:hover {
    color: #5CA430;
    text-shadow: none !important;
    background: #fff !important;
    border: 2px solid #5ca430;
}

form#webform-client-form-458 .form-textarea-wrapper.resizable.textarea-processed.resizable-textarea {
    max-width: 260px;
}

form#webform-client-form-458 .form-text {
    width: 260px;
}


#webform-client-form-458 .form-actions {
    text-align: center;
    margin-top: 25px;
        margin-right: 40px;
}

.page-node-457 #footer-wrapper {
    background-color: #eee;
    padding: 10px;
}

#block-block-13 ul {
    float: right;
    margin-top: -36px;
}

#block-block-14 a {
    color: #333;
    font-size: 18px;
}

#block-block-14 {
    margin-top: 10px;
}

#block-block-15 ul li {
    display: inline-block;
    padding: 0px;
}

#block-block-15 ul {
    list-style-type: none;
    margin-top: 0px;
    text-align: center;
}

#block-block-15 {
    text-align: center;
        margin-bottom: 50px;
}
#block-block-15 p {
    font-size: 30px;
    font-style: italic;
    color:#222222;
    margin-bottom: 20px;
}	
#block-block-15 p span {
    font-size: 40px;
    font-weight: 600;
}

#block-block-16 {
    background-image: url('/sites/default/files/moduli-bg.png');
    background-repeat: no-repeat;
    background-size: 100%;
        margin-top: 595px;
}

#block-block-16 p {
font-size: 28px;
padding-bottom: 80px;
padding-top: 7px;
padding-left: 80px;
max-width: 50%;
line-height: 35px;
}
#block-block-16 p.domande {
    font-size: 24px !important;
    padding-bottom: 0px;
    line-height: 28px;

}

#block-block-16 p span {
    color: #6CA35D;
}

#block-block-16 img {
    width:35%;
        max-width: 400px !important;
        min-width: 200px;
}

div#article-458 {
    background: transparent;
}

div#ip-geoloc-map-of-view-mappa_rivenditori_roofingreen-block-19775b751225cf983c383a7cdd4e2868 {
    width: 100%;
    height: 380px !important;
}

.leaflet-container {
    background: transparent !important;
    outline: 0;
    width: 100%;
}

/*TESTO HOMEPAGE*/

div#block-block-19 {
    margin-bottom: 200px;
    width: 100%;
    max-width: 900px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

div#block-block-19 h1,
div#block-block-19 h3 {
    font-size: 20px;
    font-weight: 300;
    display:inline;
}

.banda-verde-top {
    border-top: 3px solid #76B24E;
    width: 70px;
    margin-left: auto;
    margin-right: auto;
        padding-bottom: 10px;
}

.banda-verde-bottom {
    border-bottom: 3px solid #76B24E;
    width: 70px;
    margin-left: auto;
    margin-right: auto;
        padding-top: 10px;
}

/*TETTI VERDI*/

.page-node-481 h2.node-title,
.page-node-485 h2.node-title {
    display: none;
}

div#block-block-20,
div#block-block-23 {
    background-color: #EEE;
    padding: 10px;
}

.tetti-verdi-showcase ul,
.tetti-verdi-vantaggi ul {
    list-style-type: none;
}

.tetti-verdi-showcase ul li {
    display: inline-block;
    width: 30%;
}

.tetti-verdi-showcase {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.tetti-verdi-vantaggi {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.tetti-verdi-vantaggi ul li {
    width: 48%;
    display: inline-table;
    height: 350px;
}

.tetti-verdi-vantaggi ul li span {
    font-size: 70px;
    color: #77B34F;
    font-weight: 600;
    float: left;
    padding-right: 10px;
}

.tetti-verdi-showcase ul li p {
    color: #333;
    font-size: 17px;
    font-weight: 500;
    line-height: 15px;
}

.tetti-verdi-showcase ul li img {
    margin-top: 20px;
}

div#block-views-prodotti-block-7 {
    text-align: center;
    color: #77B34F;
    margin-bottom: 50px;
}

.tetti-verdi-vantaggi h3 {
    height: 70px;
    font-size: 20px;
    margin-top: 10px;
    color: #77B34F;
    max-width: 350px;
}

.tetti-verdi-vantaggi p {
    max-height: 150px;
    width: 80%;
    padding-left: 50px;
    font-size: 17px;
}

@media (min-width: 851px) and (max-width: 1200px) {
	.tetti-verdi-showcase ul li {
	    display: inline-table;
	    width: 49%;
	}
	
	div#block-webform-client-block-482 {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding-left: 15%;
    padding-right: 15%;
	}
}

@media (max-width: 850px) {
	.tetti-verdi-showcase ul li {
	    display: inline-block;
	    width: 100%;
	}
	
	.tetti-verdi-vantaggi ul li {
    width: 100%;
    display: inline-table;
    height: 350px;
	}
	
	.fancy span {
    font-size: 27px !important;
   	}
   	
   	div#block-webform-client-block-482 {
    margin-left: 30px !important;
	}
}


/*RISPARMIO ENERGETICO*/

div#block-block-24 {
    text-align: center;
    margin-top: 50px;
    /*padding-top: 20px;
    border-top: 1px solid #EEE;*/
}

div#block-block-24 h4 {
    font-size: 24px;
    color: #77B34F;
}

div#block-block-24 img {
    margin-bottom: -120px;
}

/*TETTI VERDI WEBFORM*/

div#block-webform-client-block-482 {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

form#webform-client-form-482 .form-item.form-type-radio {
    display: inline-block;
    padding: 8px;
}

form#webform-client-form-482 label {
    font-size: 18px;
}

form#webform-client-form-482 .form-item.webform-component-textfield,
form#webform-client-form-482 .form-item.webform-component-email {
    width: 50%;
    float: left;
}

form#webform-client-form-482 .form-item.webform-component.webform-component-textarea.webform-component--messaggio {
    float: left;
    width: 100%;
}

form#webform-client-form-482 .form-item.webform-component--dove-vuoi-realizzare-il-tuo-spazio-verde {
    max-width: 800px;
}

form#webform-client-form-482 input.webform-submit.button-primary.form-submit {
    background-color: #77B34F !important;
    color: #fff;
    font-size: 18px;
    width: 200px;
}

form#webform-client-form-482 input.webform-submit.button-primary.form-submit:hover {
    color: #000000 !important;
    background-color: #9FE370 !important;
}

form#webform-client-form-482 .form-textarea-wrapper.resizable.textarea-processed.resizable-textarea {
    width: 85%;
}

.page-node-463 .field-name-body p {
    font-size: 20px;
}

.page-node-463 .field-name-body img{
    float: right;
    margin-right: -30px;
}

div#ip-geoloc-map-of-view-mappa_rivenditori_roofingreen-block-1ba8671309c0630cdeb1d6f30b970e1d {
    width: 100%;
}


/*RESPONSIVE*/

@media (max-width: 800px) {
	div#block-block-19 {
    margin-top: -200px;
	}
	
	.page-node-463 .field-name-body img {
    width: 80px;
    margin-top: 100px;
	}
	
	/*video home*/
	
	div#block-block-30 iframe {
    margin-top: initial !important;
	}
	
	div#block-block-30 {
    height: inherit !important;
	}
}

@media (max-width: 500px) {
	
	form#webform-client-form-458 {
	        background-color: #000;
    padding: 70px 10px 10px 45px;
    opacity: 0.8;
    background-image: url('/sites/default/files/logo-form-landing.png');
    background-position: 45px 10px;
    background-repeat: no-repeat;
    width: 300px;
    float: right;
	margin-top: 160px;
	margin-right: -15px !important;
	}
	
	#block-block-16 p {
    font-size: 22px;
    max-width: 350px;
    padding-right: 0px;
    margin-left: -35px;
    line-height: 28px;
    }
    
    #block-block-16 {
    margin-top: 645px;
    }
    
    #block-block-15 ul li {
    max-width: 280px;
    margin-left: -30px;
	}

	#block-block-15 ul {
    margin-top: -50px;
	}
	
	form#webform-client-form-458 .form-textarea-wrapper.resizable.textarea-processed.resizable-textarea {
    max-width: 260px;
	}
	
	#block-block-16 img {
    width: 35%;
    max-width: 400px !important;
    min-width: 300px;
	}
	
	.page-node-481 div#block-views-prodotti-block-7 {
    display: none;
	}
	
}

/*NEW HOMEPAGE*/

/*NEW SLIDESHOW*/

div#article-496,
div#article-510,
div#article-516,
div#article-517,
div#article-518 {
    background: transparent;
}

div#block-views-new-slideshow-block {
    margin-top: -300px;
    z-index: 99;
}

.view-new-slideshow .flex-caption {
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    right: 0px;
    top: 0px;
    height: 100%;
    width: 400px;
}

.view-new-slideshow .flex-caption p {
    position: absolute;
    bottom: 100px;
    right: 20px;
    left: 50px;
    color: #fff;
    font-size: 23px;
    font-weight: 500;
    text-align: left;
    width: 300px;
    line-height:30px;
}

.view-new-slideshow .flex-caption span {
    font-size: 34px;
    font-weight: bold;
}

.view-new-slideshow .flexslider .flex-direction-nav a {
    display: block !important;
    height: 40px;
    /* float: right; */
}

.view-new-slideshow .flex-direction-nav {
    width: 230px !important;
    /* margin-top: 800px; */
    position: absolute;    
    bottom: 50px;
    right: -40px;
}

.view-new-slideshow .flex-direction-nav .flex-prev {
    margin-left: 60px;
    /* margin-left: 40%; */
    color: #fff;
    margin-top: -20px;
    /* position: relative; */
    /* right: 0; */
    /* bottom: 100px; */
    /* margin-top: -20px; */
}

.view-new-slideshow .flex-direction-nav .flex-next {
    color: #fff;
    margin-left: 0px;
    margin-top: -20px;
    margin-right: 80px;
}

.view-new-slideshow .flex-direction-nav a.flex-prev:before {
    display: block;
    position: relative;
    content: '';
    width: 27px;
    height: 100px;
    top: -5px;
    left: 1px;
    background: url(/sites/default/files/arrow-prev.png) no-repeat;
}

.view-new-slideshow .flex-direction-nav a.flex-next:before {
    display: block;
    position: relative;
    content: '';
    width: 27px;
    height: 100px;
    top: -5px;
    left: 10px;
    background: url(/sites/default/files/arrow-next.png) no-repeat;
}

/*BLOCKS NEW*/

.page-node-496 h2.node-title,
.page-node-510 h2.node-title,
.page-node-516 h2.node-title,
.page-node-517 h2.node-title,
.page-node-518 h2.node-title,
.page-node-594 h2.node-title {
    display: none;
}

.testo-intro-new {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
    margin-left: 15%;
}

.divider-testo-intro-new {
    border-bottom: 1px solid #333;
    width: 250px;
    margin: 0 auto;
    padding-top: 10px;
    margin-bottom: 20px;
}

.testo-intro-new h1 {
    color: #000;
    font-family: 'Crimson Text', serif;
        font-size: 40px;
            font-weight: 500;
}

.testo-intro-new p {
font-size: 24px;
    color: #8B8B8B;
    font-family: 'Crimson Text', serif;
}

div#block-block-27 {
    margin-bottom: 100px;
}

.immagine-moduli-new.intro-new {
    float: right;
    margin-top: -270px;
}

.immagine-moduli-new img {
    width: 100%;
    max-width: 300px !important;
    margin-bottom: -20px;
}

.immagine-moduli-new.intro-new a {
	font-size: 23px;
    background-color: rgba(255,255,255,0.8);
    padding: 5px;
    margin-left: 5px;
    color: #000;
    font-family: 'Crimson Text', serif;
}

.testo-img-bg {
    position: relative;
    margin-top: -470px;
    padding-bottom: 50px;
    width: 100%;
    /* margin: 0 auto; */
    text-align: center;
    height: 310px;
    /* background: rgba(0,0,0,0.5); */
    padding-top: 30px;
}

.img-bg {
    background-image: url('/sites/default/files/gamma-prodotti-roofingreen.jpg');
    height: 500px;
    background-repeat: no-repeat;
    background-size: 100%;
        min-width: 1380px;
    /*-webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);*/
}

.testo-img-bg p {
    font-size: 25px;
    color: #fff;
    font-weight: 500;
    font-family: 'Crimson Text', serif;
    letter-spacing: 2px;
}

.testo-img-bg h2 {
    color: #fff;
    font-size: 50px;
    margin-top: -10px;
    font-family: 'Crimson Text', serif;
        font-weight: 500;
}

.divider-img-bg {
    width: 300px;
    border-bottom: 1px solid #fff;
    margin: 0 auto;
    padding-top: 10px;
    margin-bottom: 50px;
}

.testo-img-bg a {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0px;
    color: #ffffff;
    font-size: 18px !important;
    font-weight: 600;
    background: transparent;
    padding: 10px 20px 10px 20px;
    border: solid #ffffff 2px;
    text-decoration: none;
    font-family: 'Titillium Web';
}

.testo-img-bg a:hover {
background: #fff;
    text-decoration: none;
    color: #000;
}

div#footer-wrapper .grid-inner {
    padding: 0px;
}

div#block-block-25 {
    background-color: #F4F3F3;
     padding-top: 20px;
     
}

.logo-footer-new {
    width: 100%;
    max-width: 950px;
    border-top: 1px solid #838383;
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.logo-footer-new img {
    width: 300px;
    margin-top: 20px;
}

.menu-footer-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    margin-left: 8%;
}

.menu-footer-new {
    display: inline-table;
    width: 24%;
        margin-left: 10px;
}

.menu-footer-new h3 {
    font-size: 25px;
    border-bottom: 1px solid #333;
    color: #333;
    width: 130px;
    padding-bottom: 10px;
        font-family: 'Crimson Text', serif;
    font-weight: 400;
}

.menu-footer-new ul {
    list-style-type: none;
}

.menu-footer-new ul li {
    margin-left: -28px !important;
}

.menu-footer-new li a {
    letter-spacing: 3px;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
}

#block-block-5 {
    float: none !important;
    margin-top: 0px !important;
    width: 100% !important;
    background: #F4F3F3 !important;
    border-top: 1px solid #838383 !important;
    text-align: center !important;
        padding-bottom: 10px !important;
}

.credits {
    display: block !important;
    float: none !important;
    padding: 3px 10px !important;
    color: #6C6C6C !important;
    font-size: 13px !important;
    letter-spacing: 3px !important;
    margin-top: 10px !important;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
}

#block-block-5 img {
    width: 25px !important;
}

div#block-views-new-realizzazioni-masonry-block {
    background: #F4F3F3;
    padding-top: 10px;
    padding-bottom: 40px;
    margin-bottom: -40px;
}

.view-new-realizzazioni-masonry .view-content {
    max-width: 1350px;
    margin: 0 auto;
    /*max-height: 800px;*/
    margin-bottom: 50px;
    overflow: hidden;
}

.view-new-realizzazioni-masonry .views-row {
    /*width: 25% !important;
    float: left;
    padding: 20px;*/
}

.view-new-realizzazioni-masonry .masonry-item {
    width: 300px !important;
    /* margin: 0; */
    /* padding: 0; */
    border: 0px solid #DDDDDD;
    background: transparent;
    padding-right: 5px;
}

.view-new-realizzazioni-masonry .views-field-title h2 {
    font-weight: 500;
    letter-spacing: 1px;
    font-family: 'Crimson Text', serif;
    font-size: 25px !important;
    line-height: 30px;
        margin-top: 5px;
}

.view-new-realizzazioni-masonry h2 {
	font-size: 18px;
    color: #000;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
}

.view-new-realizzazioni-masonry .views-field.views-field-title {
    background-color: #fff;
    padding: 20px;
    height: 120px;
}

.view-new-realizzazioni-masonry .views-field.views-field-title:hover {
    background: #EFEFEF;
}

.view-new-realizzazioni-masonry .views-field.views-field-title span {
	font-size: 17px;
    letter-spacing: 1px;
    font-style: italic;
}

.view-new-realizzazioni-masonry .views-field-field-thumbnail {
    overflow: hidden;
}

.view-new-realizzazioni-masonry .views-field-field-thumbnail img:hover {
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -ms-transform: scale(1.15);
    -o-transform: scale(1.15);
    transform: scale(1.15);
    /*-moz-border-radius-topleft: 10px;
    -webkit-border-top-left-radius: 10px;
    border-top-left-radius: 10px;
    -moz-border-radius-topright: 10px;
    -webkit-border-top-right-radius: 10px;
    border-top-right-radius: 10px;*/
    overflow: auto;
}

.view-new-realizzazioni-masonry .views-field-field-thumbnail img {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    max-width: 100%;
    /*-moz-border-radius-topleft: 10px;
    -webkit-border-top-left-radius: 10px;
    border-top-left-radius: 10px;
    -moz-border-radius-topright: 10px;
    -webkit-border-top-right-radius: 10px;
    border-top-right-radius: 10px;*/
    overflow: auto;
}

div#block-views-news-homepage-new-block h2 {
    font-size: 18px;
    color: #000;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
}

.view.view-new-realizzazioni-masonry {
    text-align: center;
}

.view.view-new-realizzazioni-masonry button.autopager-roof-trigger {
    color: #333;
    font-weight: 600;
    background: transparent;
    padding: 10px 20px 10px 20px;
    border: solid #333 2px;
    text-decoration: none;
    font-size: 18px !important;
    font-family: 'Titillium Web';
    width: 200px;
    margin-bottom: 40px;
}

.view.view-new-realizzazioni-masonry button.autopager-roof-trigger:hover {
    color: #fff;
    background: rgba(0,0,0,1);
}

.view.view-new-realizzazioni-masonry .more-link a {
    color: #333;
    font-weight: 600;
    background: transparent;
    padding: 10px 20px 10px 20px;
    border: solid #333 2px;
    text-decoration: none;
    font-size: 18px !important;
    font-family: 'Titillium Web';
    width: 200px;
}

.view.view-new-realizzazioni-masonry .more-link a:hover {
    color: #fff;
    background: rgba(0,0,0,1);
}

.view.view-new-realizzazioni-masonry .more-link {
    text-align: center;
    margin-bottom: 30px;
}

/*HEADER E MENU NEW*/

#logo img {
    /*width: 230px;*/
    height: 72px;
    width: auto !important;
}

#header-wrapper {
    height: 65px;
}

#block-lang-dropdown-language-content {
    margin-top: 40px !important;
}

ul.nice-menu-down {
    margin-top: -38px !important;
}

ul.nice-menu-down li {
    border-right: 1px solid #ccc;
    padding-right: 5px;
}

ul.nice-menu-down li.first {
    border-left: 1px solid #ccc;
}

ul.nice-menu a:hover, ul.nice-menu a.active {
    border-bottom: 0px solid #77B34F !important;
}

ul.nice-menu-down ul li.first {
    border-left: 0px solid #ccc;
}

/*NEWS BLOCK NEW*/

div#block-views-news-homepage-new-block {
    background-color: #F4F3F3;
    padding-top: 20px;
    padding-bottom: 20px;
        margin-top: -120px;
}

.view-news-homepage-new .views-row {
    display: inline-block;
	width: 22%;
    float: left;
    margin: 20px;
    text-align: center;
    background: #fff;
    margin-bottom: 60px;
}

.view-news-homepage-new .views-row:hover {
    background: #EFEFEF;
}

.view-news-homepage-new .view-content {
    width: 100%;
    margin: 0 auto;
    padding-left: 1%;
}

.view-news-homepage-new .views-field.views-field-title {
    /*position: relative;
    background: rgba(255,255,255,1);
    bottom: 45px;
    width: 300px;
    margin-left: 50px;
    height: 100px;*/
       position: relative;
    background: transparent;
    bottom: 0;
    height: 60px;
    padding: 30px;
}

.view-news-homepage-new .views-field.views-field-field-categoria-news {
    margin-top: 30px !important;
}

.view-news-homepage-new .views-field-field-immagine-news {
    border-bottom: 1px solid #656565;
}

.view-news-homepage-new a {
    
	font-weight: 500;
    letter-spacing: 1px;
    font-family: 'Crimson Text', serif;
    font-size: 25px !important;
    line-height: 30px;
}

.view-news-homepage-new .views-field-field-categoria-news {
    margin-top: 70px;
    border-top: 1px solid;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5px;
    margin-bottom: 20px;
    font-size: 17px;
    font-style: italic;
}

.view-news-homepage-new .view-footer {
    text-align: center;
}

.view-news-homepage-new .view-footer a {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0px;
    color: #333;
    font-weight: 600;
    background: transparent;
    padding: 10px 20px 10px 20px;
    border: solid #333 2px;
    text-decoration: none;
    font-size: 18px !important;
    font-family: 'Titillium Web';
}

.view-news-homepage-new .view-footer a:hover {
    color: #fff;
    background: rgba(0,0,0,1);
}

.i18n-it a.btn-news-en {
    display: none;
}

.i18n-en a.btn-news-it, .i18n-fr a.btn-news-it, .i18n-es a.btn-news-it, .i18n-de a.btn-news-it {
    display: none;
}

.page-node-10 div#article-10 {
    background-color: transparent;
}

/*FANCY TITLE*/

.fancy-title {
  line-height: 0.5;
  text-align: center;
      margin-bottom: 50px;
    margin-top: 50px;
}
.fancy-title span {
  display: inline-block;
  position: relative;  
}
.fancy-title span:before,
.fancy-title span:after {
	content: "";
    position: absolute;
    height: 5px;
    border-top: 3px solid #D6D6D6;
    top: 5px;
    width: 600px;
}
.fancy-title span:before {
  right: 100%;
  margin-right: 15px;
}
.fancy-title span:after {
  left: 100%;
  margin-left: 15px;
}

/*RESPONSIVE NEW HOME*/

@media (max-width: 1455px) {
	
	.view-news-homepage-new .views-row {
	width: 21%;
	}
	
	.view-news-homepage-new .views-field.views-field-title {
    height: 110px;
	}
}

@media (max-width: 1330px) {
	.view-new-realizzazioni-masonry .view-content {
    max-width: 980px;
	}
}

@media (max-width: 1235px) and (min-width: 1050px) {
	ul.nice-menu-down {
	    float: right !important;
	    margin-left: -30px !important;
	    border: 0;
	    margin-top: -10px;
	}
	
	ul.nice-menu-down {
    margin-top: -6px !important;
	}
	
	#block-lang-dropdown-language-content {
    margin-top: 10px !important;
	}
}

@media (max-width: 1140px) {
	
	#logo {
    left: 0;
    position: absolute;
    z-index: 99;
    top: 9px;
    width: 229px;
	}
	
	.region.region-content {
    overflow: hidden !important;
	}
	
	.immagine-moduli-new.intro-new {
    float: right;
    margin-top: 0;
	}
	
	.testo-intro-new {
    margin-left: auto;
	}
	
	.view-news-homepage-new .views-row {
	width: 45%;
	}
	
	.view-news-homepage-new .views-field.views-field-title {
    height: 60px;
	}
	
	div#block-views-new-slideshow-block {
    margin-top: -200px;
    z-index: 99;
	}
	
	.menu-footer-new {
    width: 44%;
    margin-left: 10px;
	}
	
	#block-lang-dropdown-language-content {
    margin-top: -10px !important;
	}
	
	ul.nice-menu-down {
    margin-top: -12px !important;    
    left: -65px;
	}
}

@media (max-width: 950px) and (min-width: 720px) {

	#header .tb-main-menu-button {
    right: 60px !important;
	}

}


@media (max-width: 945px) {
	#header-wrapper {
	    height: 80px;
	}
	
	.view-new-realizzazioni-masonry .view-content {
    max-width: 650px;
	}
	
	div#block-block-25 {
    margin-top: -70px;
	}
	
	ul.nice-menu-down {
    float: none !important;
    margin-top: 35px;
    left: 100px;
    top: 60px;
	}
	
}

@media (max-width: 800px) {
	
	.view-news-homepage-new .views-row {
	width: 90%;
	}
	
	.view-new-slideshow .flex-caption {
    background-color: rgba(0,0,0,0.9);
    position: relative;
    right: 0px;
    top: 0px;
    height: 150px;
    width: 100%;
	}
	
	.view-new-slideshow .flex-caption p {
    position: relative;
    padding-top: 15px;
    bottom: 0;
    right: 20px;
    left: 50px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    text-align: left;
    width: 300px;
    line-height: 30px;
	}
	
	.view-new-slideshow .flex-caption span {
    font-size: 28px;
    font-weight: bold;
	}
	
	div#block-views-new-slideshow-block {
    margin-top: -100px;
    z-index: 99;
	}
	
	.view-new-slideshow .flex-direction-nav {
    right: -70px;
	}
	
	.testo-img-bg p {
    font-size: 18px;
	}
	
	.testo-img-bg h2 {
    font-size: 30px;
	}
	
	ul.nice-menu-down {
    float: none !important;
    margin-top: 35px;
    left: 0px;
    top: 60px;
	}
	
	ul.nice-menu-down li {
    border-right: 0px solid #ccc;
    padding-right: 5px;
	}
	
	ul.nice-menu-down li.first {
    border-left: 0px solid #ccc;
	}
	
	#header-wrapper {
    width: 100% !important;
	}
	
	div#flexslider-1 ul.slides li:first-child {
    margin-left: 25px;
	}
	
}

@media (max-width: 500px) {
	
	.view-new-realizzazioni-masonry .view-content {
    max-width: 330px;
	}
	
	div#block-views-new-slideshow-block {
    margin-top: -50px;
    z-index: 99;
	}
	
	.view-new-slideshow .flex-caption p {
    position: relative;
    padding-top: 15px;
    bottom: 0;
    right: 20px;
    left: 40px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    text-align: left;
    width: 240px;
    line-height: 24px;
	}
	
	.view-new-slideshow .flex-direction-nav {
    bottom: 60px;
    right: -70px;
	}
	
	.testo-intro-new {
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
	}
	
	.testo-intro-new p {
    font-family: 'Crimson Text', serif;
    line-height: 28px;
	}
	
	.testo-img-bg {
    margin-top: -490px;
	}
	
	ul.nice-menu-down li.first {
    border-left: 0px solid #ccc;
	}
	
	ul.nice-menu-down {
	float: right !important;
    margin-top: 35px;
    right: 0px;
    left: 245px;
    position: absolute !important;
    top: 60px;
	}
	
	ul.nice-menu-down li {
    border-right: 0px solid #ccc;
    padding-right: 5px;
	}
	
	.immagine-moduli-new.intro-new a {
    font-size: 20px;
	}
	
	#logo {
    top: 4px;
	}
	
	#header .tb-main-menu-button {
    margin-right: 40px !important;
	}
}

/*GREEK TRICKS*/

div#article-594, div#article-595 {
    background: transparent;
}

.page-node-595 h2.node-title, .page-node-596 h2.node-title, .page-node-597 h2.node-title,
.page-node-612 h2.node-title {
    display: none;
}

.i18n-el ul.nice-menu li {
    width: 120px;
        padding-right: 0px;
}

.i18n-el ul.nice-menu li a {
    font-size: 13px;
}

.i18n-el ul.nice-menu li.menuparent ul li {
    width: 230px;
}

.i18n-el .immagine-moduli-new.intro-new a {
    font-size: 14px;
    background-color: rgba(255,255,255,0.8);
    padding: 5px;
    margin-left: 5px;
    color: #000;
    font-family: 'Crimson Text', serif;
}

.i18n-el .testo-intro-new h1 {
    font-size: 25px;
}

.i18n-el .testo-intro-new p {
    font-size: 18px;
}

.i18n-el .testo-img-bg h2 {
    font-size: 40px;
}

.i18n-el a.btn-news-it {
    display: none;
}

.i18n-el .scheda-tecnica a {
    font-size: 13px;
}

.i18n-el .menu-footer-new h3 {
    font-size: 16px;
}

.i18n-el .menu-footer-new li a {
    letter-spacing: 1px;
}

.i18n-el .view-new-slideshow .flex-caption p {
    font-size: 20px;
}

.i18n-el .view-new-slideshow .flex-caption span {
    font-size: 34px;
}

.front.i18n-el h2.fancy-title span {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: -1px;
}

/*NEW MOD CSS*/

/*div#flexslider-1 ul li:first-child {
    margin: 40px;
}*/

div#flexslider-1 ul.slides li {
    margin: 0px;
}

.page-node-330 li.antitrauma, .page-node-331 li.antitrauma,
.page-node-332 li.antitrauma, .page-node-333 li.antitrauma,
.page-node-334 li.antitrauma, .page-node-602 li.antitrauma {
    display: inline !important;
}

li.antitrauma {
    display: none !important;
}

.page-node-655 .field-name-field-immagine-2.field-type-image img,
.page-node-656 .field-name-field-immagine-2.field-type-image img {
    margin-top: -50px;
}

.page-node-656 #block-fieldblock-node-prodotto-default-field-descrizione-1 {
    margin-top: 50px;
}

/*lavora con noi*/

li.lavora-con-noi {
    border: 1px solid;
    width: 127px;
    padding: 5px;
}

.page-node-663 h2.node-title a {
    color: #78AC00 !important;
}

.page-node-663 h2.node-title {
    text-align: center;
    padding-bottom: 30px;
}

.page-node-663 .node-content p:first-child {
    text-align: center;
    margin-bottom: 30px;
}

.page-node-663 .node-content .section.field.field-name-body {
    max-width: 1024px;
    margin: 0 auto;
}

.page-node-663 .node-content {
    position: relative;
    max-width: 1170px;
    margin: 0 auto;
    font-size: 16px;
}

.page-node-663 span.green-job {
    color: #65A623;
    font-weight: 700;
}

div#block-webform-client-block-664 {
    max-width: 900px;
    margin: 0 auto;
}

div#block-webform-client-block-664 h2.block-title {
    text-align: center;
    padding-bottom: 20px;
}

div#block-webform-client-block-664 .form-item input {
    width: 100%;
    margin-bottom: 10px;
}

div#block-webform-client-block-664 .form-item .webform-component--privacy input {
    margin-bottom: 0px;
}

div#block-webform-client-block-664 div#edit-submitted-allega-cv-ajax-wrapper input,
div#block-webform-client-block-664 .webform-component--privacy input {
    width: inherit;
}

div#block-webform-client-block-664 input.webform-submit.button-primary.form-submit {
   background: #5ca430;
    width: 100px;
    border: 2px solid #5ca430;
}

div#block-webform-client-block-664 .form-actions {
    text-align: center;
}

/*video home*/

div#block-block-30 {
    height: 400px;
    overflow: hidden;
}

div#block-block-30 iframe {
    margin-top: -15%;
    width: 100vw;
    height: calc(100vw/1.77);
}

.opacity-bg-video {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    /*height: 400px;*/
    position: absolute;
    text-align: center;
}

.page-node-665 .node-news .field-name-field-immagine-news,
.page-node-666 .node-news .field-name-field-immagine-news {
    display: none;
}