/* Add here all your css styles (customizations) */

.testo_maiuscolo{
    text-transform:uppercase;
}
a {
    text-decoration: none !important;
}

a:hover{
    color:#143f93;
}
.titolo_home_servizi{
    text-align:center!important;
    text-transform:uppercase !important;
    font-weight:400 !important;
} 
.media-boxes-no-more-entries{
    display:none !important;
}

/*Altezza uguale immagini carousel*/

.box_carousel_home{
    height:160px !important;
    overflow:hidden;
    position:relative;
}

box_carousel_home img{
    max-height:160px;
}

.box_lavorazione_hover {
    background: rgba(106, 184, 238, 0.4) none repeat scroll 0 0;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity 0.4s ease 0s;
    width: 100%;
    z-index: 2;
}

.box_lavorazione_hover:hover {
    opacity: 1; 
}

.box_lavorazione_position{
    display:table;
    height:100%;
    width:100%;
}

.box_lavorazione_central_hover{
    display: table-cell;
    padding: 10px 0;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

.link-captions {
    list-style: outside none none;
    margin: 0 0 20px;
    padding-left: 0;
    text-align: center;
    color:#fff;
    font-size:25px;
}
.scritta_lavorazione_carousel{
    text-align:center;
    color:#fff;
    font-weight:600;
}

.box_nome_lavorazione{
    margin-top:15px;
    color:#6ab8ee;
    font-weight:600;
}

#servizi_due{
     display:none;
 }



@media (max-width: 1199px) {
 .box_carousel_home{
    height:130px !important;
    overflow:hidden;
}

box_carousel_home img{
    max-height:130px;
}
#servizi_uno{
    display:none !important;
}
#servizi_due{
    display:block !important;
}
}

@media (max-width: 768px) {
 .box_carousel_home{
    height:140px !important;
    overflow:hidden;
}

box_carousel_home img{
    max-height:140px;
}
}

@media (max-width: 478px) {
 .box_carousel_home{
    height:200px !important;
    overflow:hidden;
}

box_carousel_home img{
    max-height:200px;
}
}

.list-inline-item a {
    color:#fff !important;
}

.mvitalia{
    background:#fff;
    margin-top:20px;
}

.no-padding{
    padding:0 !important;
}

.box_footer_scritta{
    display:inline-block;
}


/* Center the filters */
		.media-boxes-filter {
			text-align: center;
		}

		/* change style of filter menu */
		.media-boxes-filter>li {
			margin: 0;
		}
		.media-boxes-filter>li:last-child a{
			border-right: 1px solid #EBEBEB;
			border-radius: 0 4px 4px 0;
		}
		.media-boxes-filter>li:first-child a{
			border-radius: 4px 0 0 4px;
		}
		.media-boxes-filter>li a {
			border-bottom: 1px solid #EBEBEB;
			  border-left: 1px solid #EBEBEB;
			   border-top: 1px solid #EBEBEB;

			-webkit-box-shadow: none;
			   -moz-box-shadow: none;
		  	     -o-box-shadow: none;
		        -ms-box-shadow: none;
		  		    box-shadow: none;
		}
		.media-boxes-filter>li a.selected {
		    -webkit-box-shadow: none !important;
		       -moz-box-shadow: none !important;
		        -ms-box-shadow: none !important;
		            box-shadow: none !important;
		}
		.media-boxes-filter>li a:hover{
		    background: #fff;
		    color: #e54e53;
		}


a .d-block{
    color:#555 !important
}

.g-py-custom{
    padding-bottom: 3.14286rem;
    padding-top: 7.14286rem;
}

.fancybox-close-small:focus::after {
    outline: none !important;
}

button:focus {
    outline: none !important;
}
.size_download{
    font-size:25px;
}

.box_foto_news{
    height:230px !important;
    overflow:hidden;
    position:relative;
}

.box_foto_news img{
    max-height:230px;
}

.stile_ico_download_cert{
    background: #dfdfdf none repeat scroll 0 0;
    border: 1px solid #dfdfdf;
    border-radius: 50%;
    padding: 10px 19px;
}

.box_logo img{
    width:290px;
}

@media (max-width: 1199px) {
    .box_logo img{
    width:270px;
}


}

@media (max-width: 768px) {
      .box_logo img{
    width:240px;
}

}

@media (max-width: 568px) {
      .box_logo img{
    width:210px;
}
}

.g-pos-abs {
    top: 16px !important;
}
