
/* ================== HEADER ================== */

.headerlogo {
    text-align: left;
	background-image: url('header.jpg');
    background-repeat: no-repeat;
    background-position: center center;
	width: 100%;
	height: 500px;
	margin: 0;
}	

@media (max-width: 576px) {
  .headerlogo {
    text-align: left;
	background-image: url('header-mini.jpg');
    background-repeat: no-repeat;
    background-position: right center;
	
  }
}

.coloreattivo {
    color: #1C133C;
}

.coloreattivo2 {
    color: #307BBF;
}

.coloreattivo3 {
    color: #2DAFE6;
}

.coloreattivo4 {
    color: #95C23D;
}

.coloreattivo5 {
    color: #2DAFE6; /*colore per sezione servizi / prodotti chiaro/scuro */
}

.coloreattivo-bk {
    background-color: #307BBF;
}	

/* ================== SERVIZI ================== */

/*-- Servizi-Box --*/

.servizi-box {
    position: relative;
    padding-left: 70px;
}
/*
.servizi-box .box-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height:50px;
    border-radius: 100%;
    text-align: center;
    font-size: 20px;
    line-height: 52px;
    z-index: 1;
	background-color: #212321;
}	
*/
.servizi-box .box-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height:50px;
    border-radius: 100%;
    text-align: center;
    font-size: 40px;
    line-height: 22px;
    z-index: 1;
	
}	


/*-- Servizi-background --*/

.servizi-bk {
    width: 100%;
    background: url('servizi-bg.jpg') no-repeat center top / cover;
	background-attachment: fixed;
    padding-top: 8vh;
    margin-bottom: 100px;
	

	
}

.coloreattivo-bk {
    position: relative;
    z-index: 1;
}

.coloreattivo-bk:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#482cbf+0,6ac6f0+100 */
    background: #307BBF;
    /* Old browsers */
    /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, #307BBF 0%, #1C133C 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: -o-linear-gradient(45deg, #307BBF 0%, #1C133C 100%);
	/* firefox */
	background: -moz-linear-gradient(45deg, #307BBF 0%, #1C133C 100%);
    background: linear-gradient(45deg, #307BBF 0%, #1C133C 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#307BBF', endColorstr='#1C133C', GradientType=1);
    opacity: 0.5;
    /* IE6-9 fallback on horizontal gradient */
    z-index: -2;
}


/* ================== PRODOTTI ================== */

/*-- Servizi-Box --*/

.prodotti-box {
    position: relative;
    
}
/*
.servizi-box .box-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height:50px;
    border-radius: 100%;
    text-align: center;
    font-size: 20px;
    line-height: 52px;
    z-index: 1;
	background-color: #212321;
}	
*/
.prodotti-box .box-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height:50px;
    border-radius: 100%;
    text-align: center;
    font-size: 40px;
    line-height: 22px;
    z-index: 1;
	
}	


/* ================== GALLERIA ================== */


.btn:focus, .btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.0rem rgba(0, 123, 255, 0.25);
}




.port-image
{
    width: 100%;
}

.gallery_product
{
    margin-bottom: 30px;
}



.filter-button {
	display: inline-block;
    text-transform: uppercase;
    border-radius: 10px;
    font-weight: 800;
    font-size: 12px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    border: 0px solid transparent;
    padding: 10px 10px;
	margin: 6px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#482cbf+0,6ac6f0+100 */
    /*background: rgb(188, 0, 3);*/
	background: rgb(230, 230, 230);
    color: #1C133C;
    

}

.filter-button:hover {
	background: #307BBF;
    color: #ffffff;
    

}

.btn-default:active .btn-default:focus .btn-default:visited .filter-button:active .filter-button:focus .filter-button:visited
{
    background: #307BBF;
    color: #ffffff;
	border: 0px solid transparent;
}






.image-link {
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}


/* This block of CSS adds opacity transition to background */
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-webkit-transition: all 0.3s ease-out; 
	-moz-transition: all 0.3s ease-out; 
	-o-transition: all 0.3s ease-out; 
	transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
		opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
		opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0;
}



/* padding-bottom and top for image */
.mfp-no-margins img.mfp-img {
	padding: 0;
}
/* position of shadow behind the image */
.mfp-no-margins .mfp-figure:after {
	top: 0;
	bottom: 0;
}
/* padding for main container */
.mfp-no-margins .mfp-container {
	padding: 0;
}



/* aligns caption to center */
.mfp-title {
  text-align: center;
  padding: 6px 0;
}
.image-source-link {
  color: #DDD;
}



/* ================== CONTATTI ================== */

/*button contatti2*/

.btn-contat {
    background: #95C23D;
    color: #ffffff;
    padding: 10px;
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
    display: inline-block;
    width: 100%;
    border-radius: 10px;
	font-weight:600;
    font-size: 18px;
}


.btn-contat:hover {
    color: #ffffff;
	background: #307BBF;
	text-decoration: none;
}

.fa-fw {
  vertical-align: middle;
}


.fa-li {
  vertical-align: middle;
	width: 30px;
    height: 30px;
    margin: auto auto 5px -20px;
    text-align: center;
    z-index: 1;
}





/*fine button contatti2*/

/*button contatti*/

.btn-contatti {
	background: rgba(255,255,255,0.5);
    color: #212321;
	-webkit-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
}


.btn-contatti:hover {
    color: #307BBF;
	background: #307BBF;
	text-decoration: none;
}

/*fine button contatti*/

/*-- contatti icon --*/

.contatti-box {
    text-align: center;

}

.contatti-box .box-icon {
    width: 60px;
    height: 60px;
    margin: auto auto 10px auto;
    text-align: center;
    line-height: 60px;
    color: #ffffff;
    font-size: 30px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#482cbf+0,6ac6f0+100 */
    background: #1C133C;
    border-radius: 100%;
	/*border: 2px solid #1C133C;*/
    position: relative;
    z-index: 1;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.contatti-box p {
     line-height: 20px;
}

.contatti-box h6 {
     font-weight:600;
}



.contatti-box:hover .box-icon:hover {
    color: #ffffff;
	border: 0px solid #ffffff;
	background-color: #307BBF;
}

.contatti-box:hover {
    
}

