*{
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

  body {
   /* background-color: rgb(4, 22, 2) !important;*/   
    background-color: rgb(19, 19, 19) !important; 
    /*background-color: #d8d0bf;*/
    /*background-image: url(../img/background2.jpg) ;*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;     
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;   
  }

  /* scoll bar */

   /* width */
  ::-webkit-scrollbar {
    width: 8px;
   
  }

  /* Track */
  ::-webkit-scrollbar-track {
    background: #000000;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.74);
    border-radius: 15px;
  }


  ul {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-left: 140px;
    padding-right: 140px;
  }

  p{
    font-size: 16px;
    color: rgb(253, 252, 252);
  }

  h6{
    margin-top: 30px;
    font-size: 20px;
    font-weight: bold;
    color: rgb(245, 188, 67);
  }



/* bottom */

  .custom-btn {
    color: #fff;
    padding: 6px 12px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
     /*box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
     7px 7px 20px 0px rgba(0,0,0,.1),
     4px 4px 5px 0px rgba(0,0,0,.1);*/
    outline: none;
    height: 100%;
  }

  .bcbg{
    text-decoration:dashed ;
    background-color: #0002000a;
    font-size: 20px;
 
  } 
    .bcbg:hover{
      color: rgba(243, 187, 66, 0.822);
      transform: scale(1.1, 1.1);

    }

/* Realizzazioni */
  
  #dochome{
    color: white;
    margin-left: 5%;
    width: 90%;
    border-color: red;
    margin-top: 35px; 
    background-color: rgba(21, 21, 56, 0);
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    display: block; 
  }

  #dochomerealizz{
    color: white;
    margin-left: 5%;
    width: 90%;
    left: 5%;
    border-color: red;
    margin-top: 35px; 
    background-color: rgba(21, 21, 56, 0);
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    display: block;
    text-align: center; 
  }


.navcol{  
  background-color: rgba(3, 3, 49, 0.3);
  /*background: linear-gradient(90deg, rgba(228, 228, 228, 0.534) 0%, rgba(204, 204, 204, 0.623) 98%);*/
  position: fixed;
  top: 0px;
  width: 100%;
  display: flex;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	justify-content: center;
	-webkit-justify-content: center;
  height: 70px;

}

.navcol2{  
  background-color: rgba(0, 0, 0, 0.16);
  /*background: linear-gradient(90deg, rgba(228, 228, 228, 0.534) 0%, rgba(204, 204, 204, 0.623) 98%);*/
  display: block;
  position: fixed;
  width: 100%;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	justify-content: center;
	-webkit-justify-content: center;
 margin-top: 0px;
  padding-bottom: 5px;
 /*border-bottom: 3px solid rgba(255, 255, 255, 0.493);*/
 height: 70px;
 text-align: center;
}

.rid-logo{
  height: 40px;
}

.navcol2home{  
  background-color: rgba(0, 0, 0, 0.103);
  /*background: linear-gradient(90deg, rgba(228, 228, 228, 0.534) 0%, rgba(204, 204, 204, 0.623) 98%);*/
  display: block;

  width: 100%;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	justify-content: center;
	-webkit-justify-content: center;
 margin-top: 0px;
  padding-bottom: 5px;
 border-bottom: 3px solid rgba(255, 255, 255, 0.493);
 height: 70px;
 text-align: center;
}







footer{
  border-radius: 15px;
  text-align: center;
  background-color: rgba(7, 2, 2, 0);
  position:relative;
  
  
  width: 100%;
  bottom: 1px;
}
.fitem1{
  color: rgb(255, 255, 255);
  margin-right: 300px;
}
.fitem2{
  color: rgb(255, 255, 255);
  text-align: left;
}


.card3d:hover{
 
  transform: scale(1.1, 1.1);
  
}

.imgp:hover{
  transform: scale(1.1, 1.1);
}
/*img realizzazioni menu*/
.img3{
  opacity: 1;
  display: block;  
  box-shadow:0px 0px 5px 5px rgba(12, 5, 5, 0.199), 0px 0px 5px 5px rgba(3, 2, 2, 0.192) !important;
  transition: .5s ease;
  backface-visibility: hidden;
  width: 400px;
  height: 300px;
}
.xy{
  max-width: 420px;
  max-height: 320px;
}

.cont2{
  position: relative;
  text-align: center;
  color: white;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  
}

.middle h6{
  font-size: 25px;
  text-transform: uppercase;
}

.cont2:hover .image {
  opacity: 0.3;
}

.cont2:hover .middle {
  opacity: 1;
}

.img3:hover{
  opacity: 0.7;
}

.btn:hover{
  box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.705) !important;
}



.img-fluid{
  box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.5);
}

.col-md-8{
  margin-top: auto;
  margin-bottom: auto;
}
  .col-md-8 h6{
    color: white; 
    font-size:20px; 
    text-align:center;
  }
  .col-md-8 p{
    color: white; 
    font-size: 14px;
    text-align: justify;
  }

.col-md-4{
  margin-top: auto;
  margin-bottom: auto;
}
  .col-md-4 h6{
    color: white; 
    font-size:20px; 
    text-align:center;
  }
  .col-md-4 p{
    color: white; 
    font-size: 14px;
  }

  .imgsmall{
    max-width: 200px;
  }
  .imgmedium{
    max-width: 300px;
  }
  .imgbig{
    max-width: 350px;
  }

.container{
  margin-top: 10px;
  margin-bottom: 10px;
}

.text {
  background-color: #02020270;
  color: white;
  font-size: 18px;
  text-decoration: none;
}

.t1realizz{
  text-align: left;
  color: rgb(255, 255, 255);
  left:4%;
  position: absolute;
  bottom: 22%;
 }
 .t1realizz h3{
  text-transform: uppercase;
  line-height: .96;
  font-size: 70px;
  letter-spacing: -1px; 
  font-weight: 200 !important;
 }
 .t01realizz{
  bottom: 3px;
 }

 .t2realizz{
  text-align: left;
  color: rgb(255, 255, 255);
  left:4%;
  position: absolute;
  bottom: 15%;
 }
 .t2realizz h3{
  text-transform: uppercase;
  line-height: .96;
  font-size: 70px;
  letter-spacing: -4px; 
  font-weight: 200 !important;
 }



/* Realizzazzioni button/title */ 

#button-title{
  text-align: center; 
  width:100%; 
  position:absolute; 
  bottom:25px; 
  font-size:18px;
}

.bcbg2{
  text-decoration: none;
  background-color: #292929be;

} 
  .bcbg2:hover{
    color: rgba(243, 187, 66, 0.822);
    transform: translateY(-5px);

  }

.products{
  position: absolute !important; 
  bottom:11% !important; 
  left:4% !important; 
  font-size:20px !important; 
  color: white !important; 
  background-color: black !important;
  padding:.84rem 2.14rem !important;
}
.products2{
  position: absolute !important; 
  bottom:5% !important; 
  left:4% !important; 
  font-size:20px !important; 
  color: white !important; 
  background-color: black !important;
  padding:.84rem 2.14rem !important;
}


/* Realizzazioni margin foto */

.zoomprod{
  padding:3px;
}

.zoomprod:hover{
  transform: scale(1.2, 1.2);
}
.zoom:active{
  transform: scale(0.8, 0.8);
}


.img-prod{
  
  text-align: center;
}

.imgmargin{
  padding: 4px;
}

