/*SET UP GENERIC CONTAINER CLASSES*/

.wrapper-full-width{
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
}

.container{
    max-width: 1200px;
    width: 100%;
    display: block;
    margin: auto;
    position: relative
}

.row{
    position: relative
}


/*SET UP REAL 12 PART GRID*/

.col-1x, .col-2x, .col-3x, .col-4x, .col-5x, .col-6x, .col-7x, .col-8x, .col-9x, .col-10x, .col-11x, .col-12x, .new-col{
    display: inline-block;
    margin-left: -4px;
    padding: 0 1%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
        vertical-align: top;
	
	/*background-color: red; */
	
}

*[class^="col-"]:first-child{
    margin-left: 0
}

.col-12x{
    width: 100%;

}

.col-11x{
    width: 91.6%;

}

.col-10x{
    width: 83.3%;

}

.col-9x{
    width: 75%
}

.col-8x{
    width: 66.6%
}

.col-7x{
    width: 58.3%
}

.col-6x{
    width: 49.9%
}

.col-5x{
   width: 41.7%
}

.col-4x{
   width: 33.3%
}

.col-3x{
   width: 24.9%
}

.col-2x{
   width: 16.6%
}

.col-1x{
   width: 8.3%
}

.opacity-zero{
    opacity:0;
    transition: 0.4s;
}
.opacity-one{
    opacity:1;
    transition: 0.4s;
}
p, a, ul, li, h1, h2, h3{
    font-family: 'Source sans pro', sans-serif;
    color: #2c3038;
}
h2{
    font-size: 21px;
}
h1{
    font-size: 26px;
}
p span{
    font-weight: 600;
}
.center{
    text-align: center;
}
.middle{
    vertical-align: middle!important;
}
.no-padding{
    padding-left: 0px!important;
    padding-right: 0px!important;
}
.wrapper{
    transition: 0.3s;
}
.hover-black {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.59);
    position: fixed;
    z-index: 99;
    transition: 0.3s;
}
/*HEADER*/
.header-section{
    z-index: 2;
}
.row.header div {
    vertical-align: middle;
}
.header{
    padding-top: 30px;
    padding-bottom: 40px;
    z-index: 2;
    background-color: #fff;
}
.logo{
    padding-left: 0px!important;
}
.logo img{
    width: 100%;
}
.key-logo{
    font-size: 13px;
    line-height: 15px;
    border-left: 1px solid #d80725;
}
.icon-head svg{
    width: 30px;
    height: 47px;
}
.icon-head p{
    font-size: 14px;
    line-height: 26px;
    color: #838383;
    padding-left: 10px;
}
.icon-head span{
    color: #2c3038;
}
.icon{
    height: 52px;
    width: 52px!important;
    border: 1px solid #d80725;
    border-radius: 50px;
}

/*MENU*/
#menuDesktop{
    display: inline;
}
#menuMobile{
    display: none;
    float: right;
    color: #dd2842;
    font-weight: 600;
    font-size: 29px;
    padding-right: 5%;
}
.menu-servizi span{
    vertical-align: middle;
    padding-left: 5%;
    color: #dd2a3c;
    font-size: 15px;
    font-weight: 900;
}
.menu-mobile{
    width: 250px;
    height: 100%;
    position: absolute;
    right: -250px;
    background:#2c3038;
    top: 0;
    position: fixed;
}
.menu-mob-serv{
    background: rgb(221, 42, 60);
    width: 227px;
    height: 100%;
    position: absolute;
    right: -250px;
    top: 100px;
    position: fixed;
}
.menu-mobile ul{
    padding-top: 40px;
}
.menu-mob-serv ul{
    padding-top: 0px;
}
.menu-mobile li{
    color: #fff;
    font-weight: 300;
    font-size: 18px;
    line-height: 40px;
    margin-left: 10%;
    border-bottom: 1px solid rgba(221, 38, 66, 0.55);
    width: 80%;
}
.menu-mob-serv li{
    margin-left: 20%;
    color: #fff;
    font-weight: 300;
    font-size: 18px;
    line-height: 40px;
    width: 80%;
}
.closeButton, .backButton{
    text-align: right;
    padding-right: 8%;
    padding-top: 30px;
    font-size: 20px;
}
.backButton{
    color: #fff;
    font-weight: 500;
}
.backButton span{
    padding-right: 10px;
    vertical-align: bottom;
}
.menu{
    background-color: #2c3038;
    transition: 0.4s;
    position: absolute;
    width: 100%;
    border-bottom: 2px solid #d80725;
    right: 0;
    left: 0;
    z-index: 1;
    padding: 22px;
    box-sizing: border-box;
    padding-left: 0px;
    padding-right: 0px;
}
.menu a{
    transition: 0.4s;
    padding: 20px;
    color: #fff;
     background-color: #2c3038;
}
.menu li{
    display: inline-block;
    vertical-align: top;
}
.menu a:hover{
    background-color: #202329;
    transition: 0.4s;
}
/*.sub-menu{
    position:relative;
    z-index: 3;
}
.sub-menu-open {
    position: absolute;
    left: 0;
    background-color: #2c3038;
    z-index: 0;
    transition: 0.5s;
    bottom: 0px;
}
.sub-menu:hover .sub-menu-open{
    bottom: auto;
    top: 59px;
    transition: 0.5s;
}
.sub-menu-open li {
    color: #fff;
    padding: 13px;
    font-size: 15px;
}
.sub-menu-open li:hover{
    background-color: #202329;
    transition: 0.4s;
}*/
.sub-menu-open {
    position: absolute;
    /*top: -300px;*/
    top: 39px;
    transition: 0.3s;
    opacity: 0;
    z-index: -2;
    border-top: 2px solid #d80725;
}
.sub-menu-open li {
    display: block;
    width: 100%;
}
.sub-menu-open a {
    display: block;
    border-bottom: none;
}
.sub-menu{
    position: relative;
    transition-duration: 0.3s;
    overflow: hidden;
}
.sub-menu:hover{
    overflow: visible;
}
.menu .sub-menu:hover .sub-menu-open{
    opacity: 1;
    transition: 0.3s;
    z-index: 1;
}
.sub-menu .lnr-chevron-down {
    color: #d80725;
}

/*SLIDER*/
.slider img{
   width: 100%;
}
.slider{
    padding: 0px!important;
    padding-top: 30px!important;
    
}
.slider2 {
    padding: 0px!important;
    margin-top: 30px!important;
    height: 200px;
    background-position: bottom center;
    background-size: cover;
    background-attachment: inherit;
    background-repeat: no-repeat;
    display: inline-block;
}
.two-boxes{
    padding-top: 50px!important;
    padding-bottom: 50px!important;
    opacity: 0;
    transition: 0.3s
}
.visible{
    opacity: 1;
    transition: 0.3s
}
.title-h {
    padding-bottom: 20px!important;
    padding-left: 0px!important;
}
.title-h h2{
    font-family: 'Merriweather', serif;
    font-size: 21px;
    font-weight: 500;
   
}
.title-h span{
    color: #d80725;
}
.text-h h2{
    text-align: left;
}
.text-h {
    padding-top: 20px!important;
}
.text-h p{
    font-size: 17px;
    line-height: 27px;
    text-align: justify;
}
.image-h{
    background-image: url("../images/bg-certif.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-left: 0px!important;
    padding-right: 0px!important;
}
.image-h .cb-dif{
    height: 210px;
}
.cert-block{
    border: 1px solid #cacacb;
    text-align: center;
    /*margin-left: 0px!important;*/
}
.cert-block img{
    width: 100%;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
}
.bl-12-5 .cert-block:first-child, .bl-12-7 .cert-block{
    margin-bottom: 10px;
}
.bl-12-7 .cert-block img{
    padding-top: 50px;
    padding-bottom: 50px;
}
.bl-12-8 .cert-block img{
    width: auto;
}
.bl-12-7, bl-12-8{
    padding-left: 1px!important;
}

/*SERVIZI*/
.servizi{
    background-color: #ececec;
    padding-top: 40px!important;
}
.servizi p{
    color: #999999;
}
.servizi .text-h p{
    font-size: 15px
}
.title-h h1{
    font-family: 'Merriweather', serif;
    font-size: 26px;
    font-weight: 500;
}
.servizi img{
    width: 80%;
}
.serv-box {
    padding-top: 30px!important;
    padding-bottom: 30px!important;
    padding-left: 3%!important;
    padding-right: 3%!important;
    border: 2px solid #ececec;
    border-top: 2px solid #e4e4e4;
    border-left: 1px solid #e4e4e4;
    border-right: 1px solid #e4e4e4;
    min-height: 120px;
    transition: 0.4s;
}
.serv-box:hover{
    background-color: #e4e4e4;
    border-bottom: 2px solid #e4e4e4;
    transition: 0.4s;
}
.serv-box p{
    text-align: left;
    font-size: 17px;
}
.serv-box h2{
    font-size: 21px;
    padding-bottom: 10px;
}
.servizi .text-h .center {
    text-align: center;
}
.space{
    padding-top: 30px;
}

/*FOOTER*/
.footer{
    background-color: #2c3038;
    padding-top: 30px!important;
    padding-bottom: 40px!important;
}
.footer img{
    width: 35%;
}
.footer p{
    color: #dadada;
}
.footer .icon-head svg {
    width: 20px;
    height: 30px;
    color: #fff;
}
.footer .icon {
    height: 30px;
    width: 30px!important;
    border: 1px solid #d80725;
    border-radius: 50px;
    margin-top: 7px;
}
.footer .icon-head span{
    color:#fff;
    font-weight: 600;
}
.footer .icon-head {
    margin-left: 0px;
	    width: 48.9%;
}
.footer i{
    color: #fff;
    line-height: 27px;
    font-size: 15px;
}
.data{
    padding-top: 20px!important;
}
.data p{
    line-height: 21px;
    font-size: 14px;
}
.footer-form input[type="text"], .footer-form textarea{
    width: 100%;
    outline: none;
    background-color: #202329;
    border: none;
    padding: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d80725;
    margin-bottom: 10px;
    resize: none;
}
.footer-form textarea{
    height: 73px;
}
::-webkit-input-placeholder {
    font-family: 'Source sans pro', sans-serif;;
}
.footer-form .col-12x, .footer-form .col-9x{
    margin-left: 0px;
}
.footer-form input[type="submit"], #contact-form input.form-button{
        width: 100%;
    background-color: #d80725;
    border: none;
    height: 73px;
    color: #dadada;
    text-transform: uppercase;
    outline: none;
}

/*PAGINA SERVIZIO - ASSEMBLAGGIO*/
.service-block{
    padding-top: 40px!important;
    padding-bottom: 40px!important;
}
.assemblaggio-bg{
    background-image: url("../images/assemblaggio-bg.jpg");
}
.cablaggi-bg{
    background-image: url("../images/cablaggio-bg.jpg");
}
.programmazione-bg{
     background-image: url("../images/programmazione-bg.jpg");
}
.tranciatura-bg{
     background-image: url("../images/tranciatura-bg.jpg");
}
.tampografia-bg{
     background-image: url("../images/tampografia.jpg");
}
.coating-bg{
     background-image: url("../images/coating-bg.jpg");
}
.lavori-bg{
     background-image: url("../images/lavorazioni-in-conto-pieno.jpg");
     background-position: center 30%;
    /*height: 350px;*/
	
}
.lavori-bg{
     background-image: url("../images/lavorazioni-in-conto-pieno.jpg");
     background-position: center 30%;
    /*height: 350px;*/
	
}
.lavori2-bg{
     background-image: url("../images/lavori-img.jpg");
     background-position: center center;
    background-size: cover;
    background-attachment: local;
    height: 350px;
    /*height: 350px;*/
	
}
.chiSiamo-bg{
     background-image: url("../images/chisiamo.jpg");
     background-position: top center;
     height: 350px;
}
.privacy-bg{
     background-image: url("../images/privacy.jpg");
     background-position: top center;
     height: 350px;
}

.chiSiamo-bg .slide-title, .privacy-bg .slide-title, .quality-bg .slide-title{
    padding-left: 14%;
    text-align: left;
}

.slide-title {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    text-align: center;
    line-height: 28px;
}
.slide-title h1, .slide-title p {
    color: #fff;
    font-family: 'Merriweather', serif;
    font-weight: 500;
}
.slide-title h1 {
    font-size: 26px;
}
.side-menu {
    border: 2px solid #cacacb;
    border-bottom: none;
}
.side-menu li {
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #cacacb;
    width: 100%;
    padding-left: 9%;
    padding-right: 9%;
    box-sizing: border-box;
    transition: 0.4s;
}
.side-menu li:hover{
    background-color: #2c3038;
    transition: 0.4s;
    color: #fff;
}
.side-menu i{
    color: #d80725;
    font-weight: 600;
    font-size: 13px;
    padding-right: 5%;
}
.img-text{
    position:relative;
     padding-right: 0px!important;
}
.img-text img{
    width: 100%;
}
.hover-text{
    position: absolute;
    top: 0;
    background-color: rgba(32, 35, 41, 0.81);
    color: #fff;
    right: 0;
    width: 42%;
    bottom: 0;
    line-height: 44px;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
    padding-top: 50px;
}
.service{
    padding-right: 0px!important;
}
.icon-img{
    position: relative;
    text-align: center;
}
.icon-text, .icon-img{
    padding-top: 30px!important;
}
.icon-img img{
    border: 1px solid #d80725;
    border-radius: 100px;
    padding: 25px;
}
.icon-text p{
    line-height: 30px;
    text-align: justify;
    font-size: 15px;
    padding-top: 10px;
}

.col-12x.c-text {
    padding-bottom: 30px;
}
.col-12x.c-text p, .col-12x.c-text{
    line-height: 27px;
}
.col-12x.c-text h3 {
    font-family: 'Source sans pro', sans-serif;
    color: #dd2942;
	padding-bottom: 10px;
}
.col-12x.c-text ul {
    line-height: 40px;
}
.col-12x.c-text i {
    color: #e32942;
    padding-right: 3%;
    font-weight: 600;
}
.new-col{
	width: 20%;
	display:inline-block;
	position: relative;
}
a.example-image-link.new-col.no-padding:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.55);
	opacity: 0;
	transition: 0.3s;
}
a.example-image-link.new-col.no-padding:hover:before{
	opacity: 1;
	transition: 0.3s;
}
.new-col i {
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    top: 48%;
    font-size: 30px;
    color: #fff;
    font-weight: 900;
	opacity: 0;
	transition: 0.3s;
}
.new-col:hover i{
	opacity: 1;
	transition: 0.3s;
}
.lb-number{
	display: none!important;
}

/*CHI SIAMO*/
.chiSiamo-bg .slide-title, .lavori-bg .slide-title, .privacy-bg .slide-title{
        /*bottom: 100px;*/
}
.chiSiamo-bg .slide-title h1, .lavori-bg .slide-title h1, .privacy-bg .slide-title h1{
    display: inline-block;
    /*background-color: rgba(44, 48, 56, 0.78);
    padding: 15px;
    color: #d80725;*/
}
.chiSiamo-text{
    text-align: center;
    font-size: 19px;
    line-height: 30px;
    color: #6f6f6f;
}
.chiSiamo-text p, .chiSiamo-text h2{
    color: #6f6f6f;
}
.chiSiamo-text span{
    color: #d80725;
}
.about1{
    background-image: url("../images/cablaggi-assemblaggio2.jpg");
}
.about2{
    background-image: url("../images/qualita-componenti-elettrici2.jpg");
    background-size: 99%!important;
}
.about3{
    background-image: url("../images/rapidi-componenti-meccanici2.jpg");
}
.about{
    min-height: 290px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.about p {
    font-size: 16px;
    line-height: 25px;
    text-align: justify;
    padding: 15px;
    margin-top: 75px;
    margin-bottom: 75px;
    background-color: rgba(220, 220, 220, 0.85);
    color: #464646;
    min-height: 100px;
}
.blocks{
    margin-bottom: 40px!important;
}

/*Qualità*/
.x1, .x2, .x3{
    display:inline-block;
    vertical-align: top;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5px;
    box-sizing: border-box;
}
.x4 {
    float: left;
}
.L-grey{
    background-color: rgba(236, 236, 236, 0.68);
}
.D-grey{
    background-color: #777;
}
.quality-bg{
    background-image: url("../images/quality.jpg");
    background-position: 100% 72%;
    /* background-size: cover; */
    background-attachment: fixed;
    background-repeat: no-repeat;
   height: 350px; 
}
.quality-bg .slide-title {
    /*bottom: 100px;*/
}
.cert-img{
    margin-left: 0px!important;
    position: relative;
    /*width: 49%!important;*/
}
.cert-img img {
    border: 1px solid #c3c3c3;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.76);
    transition: 0.4s;
}
.cert-img img:hover{
    background-color: rgba(189, 189, 189, 0.54);
    transition: 0.4s;
}
.iso {
    position: absolute;
    bottom: 13px;
    left: 0;
    font-size: 9px;
    color: #6d665b;
    right: 0;
    text-align: center;
}
.quality-text{
    font-size: 18px;
    line-height: 28px;
    text-align: justify;
    color: #8e97a9;
    vertical-align: middle;
    width: 80%;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 30px;
}
.quality-bg .slide-title h1{
    display: inline-block;
    background-color: rgba(44, 48, 56, 0.78);
    padding: 15px;
    color: #d80725;
}

/*CONTATTI*/
.mapBig{
    height: 350px;
        margin-top: 62px!important;
}
.overlay {
   background:transparent; 
   position:relative; 
   width:100%;
   height:350px; 
   top:350px;  
   margin-top:-350px;  
}
.mapBig iframe{
    pointer-events: none;
}
#contact-form lable{
    width: 100%;
    vertical-align: top;
    font-family: 'Merriweather', serif;
    color: #2c3038;
    font-size: 13px;
}
#contact-form lable span{
    color: #d80725;
}
#contact-form textarea{
    min-height: 130px;
}
#contact-form input, #contact-form textarea {
    width: 80%;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 3%;
    padding-right: 3%;
    font-size: 18px;
    border: none;
    border-bottom: 2px solid #d80725;
    background-color: #e4e4e4;
    outline: none;
    resize: none;
    margin-left: 10%;
    margin-top: 10px;
}
.form-txt{
    padding-bottom: 20px;
    padding-bottom: 20px
}
.privacy, .legge-text {
    font-size: 11px;
    width: 95%;
    text-align: justify;
    line-height: 17px;
    color: #838383;
}
.radio{
    
    display: inline-block;
    font-size: 14px;
}
#contact-form input[type="radio"] {
    display: inline-block;
    width: auto;
    margin-left: 0px;
}
#contact-form input.form-button {
    width: 68%;
    margin-top: 0px;
}

#cookie-bar p{
    color: #fff!important;
}
#messaggio-campi p, #messaggio-legge p {
    color: #d80725;
    padding-bottom: 20px;
    font-family: 'Merriweather', serif;
	display: none;
}
#messaggio-successo p {
    text-align: center;
    font-family: 'Merriweather', serif;
    color: #838383;
    font-size: 18px;
	display: none;
}

.language{
	display:none;
}


/*COLOR LINK*/
.color-link-menu{
	background-color: #d80725!important;
    border-bottom: 2px solid #d80725;
	transition: 0.4s;
	overflow: visible;
}
.color-link-side-menu{
	background-color: #2c3038!important;
    transition: 0.4s;
    color: #fff!important;
}
.visible{
	overflow: visible;
}

.width47{
	width:47%;
}


/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 667px)
  and (-webkit-min-device-pixel-ratio: 2) {
      .col-1x, .col-2x, .col-3x, .col-4x, .col-5x, .col-6x, .col-7x, .col-8x, .col-9x, .col-10x, .col-11x, .col-12x{
        width: 100%;
        margin-left: 0;
    }
    #menuDesktop{
        display: none;
    }
    #menuMobile{
        display: inline-block;
    }
    
    .half-width {
        width: 49%!important;
    }
    .logo img {
        width: 100%;
        padding-bottom: 20px;
    }
    .col-6x.icon-head, .data .icon-head {
        width: 49%;
        padding-top: 25px;
        /* text-align: center; */
        padding-left: 10%;
    }
    .text-h p{
        padding-bottom: 40px;
    }
    .bl-12-7, .bl-12-5, .bl-12-8, .bl-12-4 {
        padding-right: 0px!important;
        padding-left: 0px!important;
    }
    .cert-block img {
        width: 46%;
    }
    .col-4x.bl-12-4 img {
        width: 31%;
    }
    .bl-12-7 .cert-block img {
        padding-top: 90px;
    }
    .cert-block {
        margin-bottom: 20px;
    }
    .col-4x.serv-box, .col-4x.serv-box p, .footer {
        text-align: center;
    }
    .col-4x.serv-box img{
        width: 40%
    }
    .info, .map{
        padding-bottom: 40px!important;
    }
    .servizi img {
        width: 40%;
    }
    .serv-box, .serv-box .text-h p{
        text-align: center;
    }
    
    
    .col-3x.side-menu.no-padding {
        margin-bottom: 40px;
    }
    .hover-text{
        position:relative;
        width: 100%;
        padding-top: 30px;
        padding-bottom: 30px;
        line-height: 35px;
    }
    .col-9x.service {
        padding-right: 3%!important;
    }
    .col-12x.img-text{
        padding-left: 0px!important;
    }
    .about{
          background-size: cover!important;
          margin-bottom: 3px;
      }
      
      .quality-bg{
        background-position: center center;
      }
      #contact-form input.form-button {
        width: 80%;
        margin-top: 0px;
      }
      .privacy, .legge-text {
        width: 100%;
       }
       .mapBig {
            margin-top: 0px!important;
        }
    
        .slider2{
            background-attachment: local;
            background-size: cover;
        }
        
.bx-wrapper .bx-caption span {
    font-size: 0.6em!important;
    width: 100%!important;
    line-height: 2em!important;
    box-sizing: border-box;
}
.bx-wrapper .bx-caption {
    bottom: 0px!important;
    width: 100%!important;
    box-sizing: border-box;
}
.x1, .x2, .x3{
    width: 100%!important;
    height: auto!important;
}
.x1 img, .x2 img, .x3 img{
    height: auto!important;
}

.width47{
	width:100%;
}

}


@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
      .about p{
          margin-top: 10px;
          margin-bottom: 10px;
          font-size: 14px;
    line-height: 20px;
      }
      .about{
          min-height: 225px;
          background-size: cover!important;
      }
	  #menuDesktop{
        display: none;
    }
    #menuMobile{
        display: inline-block;
    }
	div#menuButton {
		background-color: rgb(44, 48, 56);
		padding: 5px;
	}
	div#menuMobile {
		position: absolute;
		top: 30px;
		right: 0;
	}
	.slider {
		padding: 0px!important;
		padding-top: 0px!important;
	}
	.img-text .hover-text{
		line-height:22px!important;
	}
	.icon-img img {
		width: 40%;
	}
	.language{
		display:inline-block;
		position: absolute;
		top: 70px;
		right: 47px;
		z-index:1;
	}
  }





