/* ==========================================================================
   STILI GENERICI
   ========================================================================== */
audio, canvas, iframe, img, svg, video {
  vertical-align: middle;
}
textarea {
  resize: vertical;
}
/*questo sotto non somma il padding*/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}
/* ==========================================================================
   STILI SITO
   ========================================================================== */
:root {
  --bordo: #9a2431;
  --grigio: #f0f0f0;
	--grigione: #707070;
}

body {
	font-family: 'Noto Sans', sans-serif;
	margin: 0px;
	padding: 0px;
}
.wrapper {
	width: 90%;
	margin: 0 5%;
	position: relative;
}
.wrapperNO {
	width: 100%;
	margin: 0;
}
img {
  height: auto;
  max-width: 100%;
  width: auto;
}

h1 {
	font-family: 'Oswald', sans-serif;
	font-size: 36px;
	line-height: 40px;
	color: #000;
	margin-top: 0px;
	text-align: left;
}
h2 {
	font-family: 'Oswald', sans-serif;
	color: #000;
	font-weight: 500;
	font-size: 28px;
	line-height: 32px;
	text-align: left;
}
h2 span{
	color: var(--grigione);
}
a{
	text-decoration: none;
	color: var(--bordo);
	
}
a.pulsante{
	border: solid 1px var(--bordo);
	color: var(--bordo);
	padding: 10px 35px;
	display: inline-block;
	text-decoration: none;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
	font-size: 22px;
	text-align: center;
	text-transform: uppercase;
	
}
a.pulsante:hover{
	border: solid 1px var(--bordo);
	background-color: var(--bordo);
	color: #fff;
	
}
.p30{
	padding: 30px 0;
	
}
.main{
	padding: 30px 0 70px 0;
	
}
.pt100{
	padding-top: 100px;
}
.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flex50{
	align-items: center;
	
}
.flex50 div{
	width: 100%;
}

.bg-grigio{
	background-color: var(--grigio);
}
.bg-bianco{
	background-color:#fff;
}
.bg-bianco ul{
	padding-left: 15px;
}
.tit{
	background-color: var(--bordo);
	color: #fff;
	font-weight: 400;
	width: 100%;
	padding: 35px;
	margin-top: -80px;
	border-bottom-right-radius: 55px;
	border-top-right-radius: 55px;
	
}
.tit img{
	margin-right: 10px;
	margin-top: -7px;
	
}
.tit strong{
	font-weight: 500;
	text-transform: uppercase;
	
}
.tit span{
	font-weight: 300;
	font-size: 22px;
	
}
hr {
	border: 0px;
	height: 1px;
	color: #DDD;
	background-color: #DDD;
	width: 100%;
	margin-bottom: 50px;
	margin-top: 50px;
}
.show-mobile{
	display: block;
}
.show-desck{
	display: none;
}

/*LINGUE
-------------------------------------------------------------------*/
.lingua a.linguaON{
	color: var(--bordo) !important;

}
/*HEADER
-------------------------------------------------------------------*/
.logo{
	width: 80%;
}
header{
	font-family: 'Oswald', sans-serif;
	font-size: 20px;
	font-weight: 400;
	padding: 20px 0;
	top:0;
	width: 100%;
	background-color:rgba(255, 255, 255, 0.6);
}
.lingua {
	display: none;
	font-size: 16px;
}
.lingua a {
	display: inline-block;
	color: #000;
	text-decoration: none;
	padding: 20px 0px 0px 5px;
	margin-left: 10px;
	line-height: 14px;
	text-transform: uppercase;
}
.lingua a:hover {
	color: #991E2C;
}
/* MENU 
-------------------------------------------------------------------*/
.mobile-header {
	top: 10px;
}

nav#menu-container {
	display: none;
}
nav#menu-container ul li {
	display: inline-block;
	text-transform: uppercase;
	margin: 0px;
}
nav#menu-container ul li a {
	color: #000;
	text-decoration: none;
	display: block;
	padding: 10px 0px 10px 15px;
}
nav#menu-container ul li a:hover {
	color: #991E2C;
	text-decoration: none;
}
nav#menu-container ul li.voce_on a {
	text-decoration: none;
	color: #991E2C;
}

/* SOTTOMENU */
nav#menu-container ul li ul {
	margin-left: 5px; 
	position: absolute;
	display: none;
	border: solid 1px #CCC;
	z-index: 100;
}
nav#menu-container ul li:hover a {
	color: #991E2C;
}
nav#menu-container ul li:hover ul {
	display: block;
}
nav#menu-container ul li ul li {
	display: block;
	position: relative;
	background: #FFF;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	text-transform: none;
	color: #666;
	border-bottom: solid 1px #CCC;
}
nav#menu-container ul li ul li:nth-last-child(1) {
	border-bottom: solid 0px #CCC;
}
nav#menu-container ul li:hover ul li a {
	color: #999;
	font-weight: normal;
}
nav#menu-container ul li ul li a {
	padding: 10px 10px;
	text-align: left;
	font-size: 16px;
	color: #999;
	width: 250px;
}

nav#menu-container ul li ul li a:hover {
	background: #FFF;
	color: #991E2C;
}
nav#menu-container ul li ul li.voce_on a{
	color: #991E2C !important;
  }

/* CALLTOACTION
-------------------------------------------------------------------*/
.callToAction {
	padding: 100px 0px;
	text-align: center;
	color: #FFF;
	background-image: url(../images/cta-bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
}
.callToAction h2 {
	color: #FFF;
	margin: 0px;
	text-transform: uppercase;
	text-align: center;
	font-family: 'Oswald', sans-serif;
	font-size: 36px;
	line-height: 40px;
}
.call-box{
	background-color: var(--bordo);
	padding: 40px;
	display: inline-block;
	
}
a.pulsanteCall{
	color: #FFF;
	border: solid 1px #FFF;
	padding: 15px 30px;
	font-size: 24px;
	margin: auto;
	display: table;
	text-decoration: none;
	margin-top: 30px;
}
a.pulsanteCall:hover {
	color: #CCC;
	border: solid 1px #CCC;
}

/*AZIENDA
-------------------------------------------------------------------*/
.team figure{
	width: 45%;
	
}
.team div{
	width: 55%;
	
}

/*MACCHINE
-------------------------------------------------------------------*/

.noBox {
  display: none;
	background-color: transparent !important;
	border: none !important;
}
.noBox:hover {
	border: none !important;
}


.prod-img{
	width: 100%;
}
.prod-text{
	width: 100%;
}
#prod-listaMacchine a{
	width: 100%;
	border: solid 1px #fff;
	margin-bottom: 30px;
	background-color: var(--bordo);
	position: relative;
	
}
#prod-listaMacchine a:hover{
	border: solid 1px var(--bordo);
	
}
#prod-listaMacchine h2{
	background-color: var(--bordo);
	padding: 15px;
	text-align: center;
	color: #fff;
	font-size: 17px;
	line-height: 22px;
	margin: 0;
	font-weight: 300;

}
#prod-listaMacchine h2 strong{
	display: block;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 20px;
}
#prod-listaMacchine a figure{
	text-align: center;
	
}
#prod-listaMacchine.flex{
	align-items: stretch;
}

/*MACCHINE SCHEDA
-------------------------------------------------------------------*/
/*tab*/
.tab {
    overflow: hidden;
    border-bottom: 1px solid var(--bordo);
    font-size: 15px;
    margin-top: 20px
}

.tab button {
	color: var(--bordo);
    background-color: inherit;
    float: left;
    border: 0;
    outline: 0;
    cursor: pointer;
    padding: 10px 20px 5px 20px;
    margin-right: 15px;
    transition: 0;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	font-weight: 600;
}

/*.tab button:hover {
    border-bottom: 2px solid #000
}

.tab button.active {
    border-bottom: 2px solid #000
}
*/
.tabcontent {
    padding: 12px 0;
    border-top: 0;
    animation: fadeEffect 1s
}
.tab-active {
    color: #fff!important;
    background-color: var(--bordo)!important;
}

/*---*/




.layout{
	width: 100%;
	
}
.layout img{
	width: 100%;
	
}
/*video*/
#video .videoBox{
	width: 100%;
}

/*STOCKLIST
-------------------------------------------------------------------*/
#stocklist .stocklist-box{
	width: 30%;
	border: solid 1px var(--grigione);
	position: relative;
	margin-bottom: 20px;
}
.messaggeNews{
	position: absolute;
	background-color: #000;
	padding: 5px 10px;
	color: #fff;
	top:0;
	font-size: 14px;
	text-transform: uppercase;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
	
}
#stocklist h2{
	text-align: center;
	font-size: 18px;
}
/*CONTATTI
-------------------------------------------------------------------*/
.contatti-indirizzo{
	width: 100%;
}
.contatti-email{
	width: 100%;
	margin-top: 30px;
}
.contatti-email hr {
	border: 0px;
	height: 1px;
	color: #DDD;
	background-color: #DDD;
	width: 100%;
	margin-bottom: 10px;
	margin-top: 10px;
}
.contatti.flex{
	justify-content: flex-start;
}
.contatti div:nth-child(1){
	min-width: 100%;
}
.contatti div:nth-child(2){
	padding-right: 15px;
	min-width: 30%;
}
.lavoraconnoi{
	border-top: solid 1px #ccc;
	margin-top: 50px;
	padding-top: 15px;
}
.lavoraconnoi h2{
	margin: 0;
	display: inline-block;
}
.lavoraconnoi a{
	text-decoration: underline;
}



/*FOOTER
-------------------------------------------------------------------*/
footer{
	background-color: var(--grigio);
	color: #000;
	padding: 60px 0;
}
footer p{
	margin:0;
}
footer a {
	text-decoration: none;
	color: #000;
}
.anagrafica h2 {
	font-family: 'Oswald', sans-serif;
	margin: 0px;
	color: #000;
	font-size: 24px;
}
.anagrafica h2 span {
	font-size: 20px;
}
.anagrafica h3 {
	margin: 0px;
}
.credits{
	text-align: center;
	text-transform: uppercase;
}

img.icoSocial {
	width: 40px;
	margin-top: 10px;
}
footer .mini{
	padding-top: 10px;
	color:#989898;
	
}
footer .social{
	text-align: right;
	
}
footer .social a {
	margin-left: 10px;
}

/* TO TOP
-------------------------------------------------------------------*/
#toTop{
	width: 50px;
	height: 50px;
	position: fixed;
	bottom: 15px;
	right: 10px;
	background: url(/images/freccia-top.png)no-repeat;
	z-index: 100;
	display: none;
}

/* GOOGLE MAP
-------------------------------------------------------------------*/
/* Wrap responsive */
.googlemap_wrap  {
    position: relative;
    padding-bottom: 35.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
/* iframe posizionato in maniera assoluta */
.googlemap_wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}







/*OLD STYLE--------------------------------------------------------*/
/* TOP */
.topSite {
	position: relative;
	height: 500px;
}
.bordo {
	border: solid 1px #CCC;
	background-color: #FFF;
	padding: 10px;
}




/* TABELLA PRODOTTI */
table.produx {
	margin-bottom: 30px;
	width: 100%;
	overflow-x: auto;
	display: block;
}
table.produx th {
	border-bottom: solid 1px #CCC;
	font-size: 18px;
	padding: 7px 10px;
	text-align: left;
	font-weight: bold;
	background-color: #333;
	white-space: nowrap;
	color: #FFF;
}
table.produx td {
	font-size: 16px;
	border-bottom: solid 1px #CCC;
	padding: 7px 10px;
	white-space: nowrap;
}
table.produx tr:nth-child(even) {background: #EEEEEE}
table.produx tr:nth-child(odd) {background: #FFFFFF}


/* PRODOTTI */
.legenda div img {
	width: 25px;
}




video {
	margin-top: 30px;
	background-color: #FFF;
    width: 100%;
    height: auto;
	border: solid 1px #CCC;
}

/* BOX PRODOTTI */
.boxProdotti {
	margin-top: 30px;
	background-color: #FFF;
	border: solid 1px #CCC;
}
.boxProdotti h1 {
	font-size: 24px;
	padding: 10px;
	line-height: normal;
	font-weight: normal;
	text-transform: none;
	background-color: #E9E9E9;
	height: 76px;
	background-image: url(/images/bg-tessuto.jpg);
	background-repeat: repeat;
	background-position: center center;
}
.boxProdotti h1 a {
	color: #000;
	text-decoration: none;
}
.icoNew {
	position: absolute;
}
.icoNew img {
	width: 20%;
	margin-top: 10px;
	margin-left: 10px;
}
.back {
	float: right;
	margin-top: -50px;
}
.scarica a {
	display: block;
	color: #FFF;
	text-align: left;
	text-decoration: none;
	padding: 5px 20px 5px 20px;
	font-size: 24px;
	line-height: normal;
	background-color: #991e2c;
	margin-top: 20px;
}





/* FORM MODULO */
form.validator {
	padding: 20px;
	border: 1px solid #ccc;
}
form.validator div {
	width: 100%;
}
form.validator div label {
	text-align: left;
	display: block;
	width: 100%;
	margin: 5px 0px;
	float: left;
	font-weight: bold;
}
form.validator div input[type=text], form.validator div textarea, form.validator div input[type=password], form.validator div select {
	width: 100%;
	border: 1px solid #ccc;
	padding: 5px;
}
form.validator div textarea {
	height: 100px;
}
form.validator div input[type=submit], form.validator div button {
	border-radius: 2px;
	background-color: #991E2C;
	color: #FFF;
	text-decoration: none;
	margin: 10px auto;
	border: 0px;
	padding: 15px 30px;
	width: auto;
	font-size: 24px;
	text-transform: uppercase;
	display: table;
}
.infoP {
    background-color: #EEE;
    border: 1px solid #CCC;
    height: 160px;
    overflow: auto;
    margin: 10px 0;
    float: none;
    text-align: left;
    word-wrap: break-word;
    font-weight: normal;
    padding: 0px 10px;
    color: #999;
    line-height: 12px;
    font-size: 12px;
}
/* VIDEO YT */
.rwd-video {
	height: 0;
	overflow: hidden;
	padding-bottom: 56.25%;
	padding-top: 30px;
	position: relative;
	margin-top: 30px;
}
.rwd-video iframe,
.rwd-video object,
.rwd-video embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}
.cont-video-home {
	margin-bottom: 15px;
}

div#div2_PRIVACY div input {
	width: auto;
	margin-right: 10px;
	display: inline;
	float: none;
}
div#div2_PRIVACY div label {
	display: inline;
	float: none;
}
.form_message {
	text-align: center;
	color: #ec1c24;
	font-style: italic;
}
.file {
	font-size: 12px;
	line-height: 14px;
}
.fieldObMsg, .fieldMsg {
	display: none;
}
span.fieldObMsg ~ label {
	color: #E2100A;
}
span.fieldMsg ~ input {
	background-color: #f0eabb;
}
/* MMenù */
.mm-list a {
	color: #333;
}
/* GALLERY */
#doppiaGallery div.grid figure {
	width: 100%;
}
#doppiaGallery div.grid figure h2 {
	font-size: 16px;
	line-height: 18px;
	padding: 5px 20px;
	left:0%;
	top:75%;
}
/* COLORBOX */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
    font-size: 12px;
    line-height: 12px;
}
/* GALLERY RICONDIZIONAMENTI 
-------------------------------------------------------------------*/
.rico {
	width: 100%;
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: solid 1px #ccc;
}
.rico .flex{
	padding-bottom: 30px;
}
.rico .flex figure{
	width: 49%;
}
.rico h3{
	margin-bottom: 10px;
}
.rico figure figcaption {
	text-align: center;
	margin-bottom: 10px;
	margin-top: -5px;
	font-size: 12px;
}
.rico figure figcaption strong{
	text-transform: uppercase;
	font-weight: 400;
	background-color: #515151;
	color: #fff;
	padding: 5px 10px;
	font-size: 8px;
}
@media only screen and (min-width: 480px) {
	/*MACCHINE
-------------------------------------------------------------------*/

#prod-listaMacchine a{
	width: 48%;
	
}

}
@media only screen and (min-width: 770px) {
.wrapper {
	width: 96%;
	margin: 0 2%;
}
	/* GALLERY RICONDIZIONAMENTI 
-------------------------------------------------------------------*/
.rico figure figcaption {
	font-size: 16px;
}
		/*MACCHINE
-------------------------------------------------------------------*/
	  .noBox {
    display: block;
  }
	/*video*/
#video .videoBox{
	width: 48%;
}


#prod-listaMacchine a{
	width: 30%;
	
}

/* TOP */
.topSite {
	position: relative;
	height: 660px;
}
/* GALLERY RICONDIZIONAMENTI
	-------------------------------------------------------------------*/
	
	
	.rico figure figcaption strong{
	font-size: 15px;
		font-weight: 600;
}
/*.rico {
	float: left;
	width: 50%;
}
.rico:nth-of-type(odd) {
	border-right: solid 1px #F8F8F8;
}
.rico:nth-of-type(even) {
	border-left: solid 1px #F8F8F8;
}
figure.cinquantaImg {
	width: 60%;
	margin: auto;
}
figure.cinquantaImg img {
	padding: 10px;
	border: solid 1px #CCC;
	background-color: #FFF;
}*/
/* PRODOTTI */
.prodImg {
	width: 50%;
	float: left;
}
.prodImg figure {
	margin-bottom: 30px;
}
.prodText {
	width: 50%;
	float: left;
	padding-left: 50px;
}
.legenda {
	float: right;
	margin-top: -50px;
}
.legenda div {
	display: inline-block;
	margin-left: 20px;
}


/* BOX PRODOTTI */
.boxProdotti {
	float: left;
	width: 49%;
	margin-right: 2%;
	position: relative;
}
.boxProdotti:nth-child(2n+0) {
	margin-right: 0%;
}


	/*CONTATTI
-------------------------------------------------------------------*/
.contatti-indirizzo{
	width: 35%;
}
.contatti-email{
	width: 65%;
	margin-top: 30px;
}
.contatti div:nth-child(1){
	min-width: 20%;
}
.contatti div:nth-child(2){
	padding-right: 15px;
	min-width: 30%;
}

}
@media only screen and (min-width: 1024px) {
	.flex50 div{
	width: 45%;
}
	.tit{
	width: 80%;
	
}
	.logo{
	width: 45%;
}
	/*MACCHINE
-------------------------------------------------------------------*/
.prod-img{
	width: 50%;
}
.prod-text{
	width: 45%;
}

#prod-listaMacchine a{
	width: 22%;
}
/* MENU */
.mobile-header {
	display: none;
}
nav#menu-container {
	display: inline-block;
}
nav#menu-container ul li.linguaNO {
	display: none;
}
.lingua {
	display: inline-block;
}
/* FOOTER */
.anagrafica {
	float: left;
}
.credits {
	float: right;
}
.credits a {
	margin-left: 10px;
	margin-right: 0px;
}

/* BOX PRODOTTI */
.boxProdotti {
	float: left;
	width: 23.5%;
	position: relative;
	margin-right: 2%;
}
.boxProdotti:nth-child(2n+0) {
	margin-right: 2%;
}
.boxProdotti:nth-child(4n+0) {
	margin-right: 0%;
}
.credits div {
	text-align: right;
}
	
}
@media only screen and (min-width: 1140px) {
/* FORM */
form.validator {
	margin: auto 15%;
}
/* TABELLA PRODOTTI */
table.produx {
	display: table;
}


}
@media only screen and (min-width: 1400px) {
.wrapper {
	width: 1280px; /* 1140px - 10% for margins */
	margin: 0px auto;
}
	.show-mobile{
	display: none;
}
.show-desck{
	display: block;
}
/* MENU 
	----------------------------------------------------*/
nav#menu-container ul li a {
	padding: 10px 0px 10px 10px;
	margin-left: 20px;
}
nav#menu-container ul li ul li a {
	padding: 10px 15px;
}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
   

.invisible {
	visibility: hidden;
}

.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
 *zoom: 1;
}

/* Colorbox */

#cboxTitle {
	line-height: normal;
	font-size: 12px;
}

/* Icona hamburger */

.hamburger {
	display: block;
	width: 40px;
	height: 36px;
	position: relative;
	top: 0;
	left: 0;
	z-index: 2;
	margine: 0px;
}

.hamburger:before, .hamburger:after, .hamburger span {
	background: #000;
	content: '';
	display: block;
	width: 30px;
	height: 6px;
	position: absolute;
	left: 5px;
}

.hamburger:before {
	top: 5px;
}

.hamburger:after {
	bottom: 5px;
}

.hamburger span {
	top: 50%;
	margin-top: -3px;
}

/* Hamburger animation */

.hamburger, .hamburger:before, .hamburger:after, .hamburger span {
	transition: none 0.2s ease 0.2s;
	transition-property: transform, top, bottom, left, width, opacity;
}

.hamburger__androidOpen {
	transform: rotate( 180deg );
}

.hamburger__androidOpen span {
}

.hamburger__androidOpen:before {
	transform: rotate( 45deg );
	width: 50%;
	top: 10px;
	left: 19px;
}

.hamburger__androidOpen:after {
	transform: rotate( -45deg );
	width: 50%;
	bottom: 10px;
	left: 19px;
}
