.header{
	padding:20px 0;
	position: fixed;
	background-color:black;
	top:0;
	left:0;
	width: 100%;
	z-index: 2;
	color:#fff;
	opacity: 0;
    transition: transform 1s cubic-bezier(.3,0,0,1) ,opacity .5s ease-in-out 2s;
    transform:translateY(0);
}
.header-wrap{
	align-items: center;
	display: flex;
	justify-content: space-between;
}
.header-logo{
	display: block;
	position: relative;
}
.header-logo img{
	display: block;
	width:50px;
	height:50px;
}
.header-menu{
	font-size: 14px;
	line-height: 24px;
	letter-spacing: 1.2px;
	align-items: center;
    display: flex;
    justify-content: space-between;
}

.header-wrap-right{
	align-items: center;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.header-menu-unit{
	margin-right: 40px;
    
}
.header-menu-unit-logo{
	margin-right: 40px;
    
}
.header-menu-unit .dropdown{
    float: left;
    overflow: hidden;
}
.header-menu-unit .dropdown-content {
  display: none;
  position: absolute;
  background:black;
  min-width: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.header-menu-unit .dropdown-content a {
  float: none;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}
.dropdown:hover .dropdown-content{
    display: block;
    transition:0.5s;
    
}




.header-menu-unit:last-child{
	margin-right: 0;
}
.header-menu-unit a{
	position: relative;
	display: inline-block;
}
 .header-menu-unit a:before, .header-menu-unit a:after {
	 position: absolute;
	 content: "";
	 width: 0;
	 bottom: 0;
	 left: 0;
	 height: 2px;
	 background-color: #fff;
	 transition: 0.3s cubic-bezier(0.5, 0, 0.2, 1);
}
.header-menu-unit-preventivo:before, .header-menu-unit-preventivo:after{
    content:"";
    height:0px;
}



.header-menu-unit a::before {
    opacity: 0.4;
}
 .header-menu-unit a:hover:before, .header-menu-unit a:hover:after {
	 width: 100%;
}

.header--shown{
	opacity: 1;
}
.header--translated{
	transform:translateY(-100%);
}
.header--logo{
	transition: transform 1s cubic-bezier(.3,0,0,1) ,opacity .5s ease-in-out;
}
.header--logo{
	display: block;
	}
.header--work{
	transition: transform 1s cubic-bezier(.3,0,0,1) ,opacity .5s ease-in-out .2s;
}

.header-menu-unit-preventivo{
    font-size:12px;
    cursor:pointer;
    background-color:#306FDB;
    color:white;
    padding: 5px 10px 5px 10px;
    border-radius:30px;
}
.modal__preventivo__section{
    display:none;
}
.modal__preventivo__section--active{
    display:flex;
}
.modal__preventivo__section__background{
    display:block;
    position:fixed;
    width:100%;
    left: 0;
    top: 0;
    z-index:10;
    background-color: #393939;
    overflow: hidden;
    animation: open__modal 1s;
}
.modal__preventivo__section__rectcontent{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    max-height:100vh;
    animation: open__modal 1s;
}
.modal__preventivo__section__rectcontent h2{
    text-align:center;
    color:white;
}
.modal__preventivo__section__rectcontent p{
    text-align:center;
    color:white;
}
.modal__preventivo__section__rectcontent input{
    text-align:center;
}
.modal__preventivo__close{
    position:absolute;
    left:10%;
    top:10%;
    width:50px;
    height:50px;
}
.modal__preventivo__close span{
    background-color:white;
    width:50px;
    height:20px;
}


input, text{
    background-color:transparent;
    color:white;
    text-align:center;
    width:50%;
    border: 0;
    border-bottom:1px solid white;
    padding:20px;
    outline: none;
}
select::-ms-expand {
  display: none;
}
.contact__group__input__item__submit__preventivo::after {
  content: '\25BC';
  position: absolute;
  top: 0;
  right: 0;
  padding: 1em;
  background-color: #34495e;
  transition: .25s all ease;
  pointer-events: none;
}
/* Transition */
.contact__group__input__item__submit__preventivo:hover::after {
  color: #f39c12;
}

.modal__preventivo__budget__column{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.contact__group__input__item__submit__preventivo{
    cursor:pointer;
    background-color: black;
    border-radius: 50px;
    border: 0;
    padding: 20px 40px 20px 40px;
    width: 250px;
    text-align:center;
    margin: auto;
    color:white;
}
.contact__group__input__item__submit__preventivo:focus{
    background-color:white;
    color:black;
}
.modal__preventivo__section__footer{
    text-align:center;
    position:relative;
}
.contact__group__input__item__submit__ok{
    cursor:pointer;
    background-color: white;
    color:black;
    border-radius: 20px;
    border: 0;
    padding: 10px 20px 10px 20px;
    width: auto;
    margin: auto;
}
.contact__group__input__item__submit__ok{
    color:black;
}
.contact__group__input__item__submit__ok__submit{
    cursor:pointer;
    background-color: white;
    color:black;
    border-radius: 20px;
    border: 0;
    padding: 10px 20px 10px 20px;
    width: auto;
    margin: auto;
}
.contact__group__input__item__submit__ok__submit{
    color:black;
}


#secondSlide{
    display:none;
}
#thirdSlide{
    display:none;
}
#fourthSlide{
    display:none;
}
#fifthSlide{
    display:none;
}
#sixthSlide{
    display:none;
}
#seventhSlide{
    display:none;
}
#eighthSlide{
    display:none;
}

.modal__preventivo__section__prev__next{
    position:absolute;
    bottom:10%;
    width:100%;
}
.modal__preventivo__section__button__prevnext{
    position: relative;
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
    background-color: transparent;
    border-bottom: 1px solid red;
}

/* Hide all steps by default: */
.tab {
  display: none;
}
/* Make circles that indicate the steps of the form: */
.step {
  height: 15px;
  width: 15px;
  margin: 0 20px;
  background-color: black;
  border: none;  
  border-radius: 50%;
  display: inline-block;
  opacity: 1;
}

.step.active {
  background-color:white;
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: white;
}
.modal__preventivo__section__close{
    position:absolute;
    top:5%;
    right:5%;
}
.modal__preventivo__section__close__button{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}





@media(max-width:1600px){
.header-menu{
	font-size: 12px;
	line-height: 18px;
}
.header-menu-unit{
	margin-right: 30px;
}
		
.header-logo{
	display: block;
	position: relative;
}
.header-logo img{
	display: block;
	width:50px;
	height:50px;
}
}
@media(max-width:1200px){
.header{
    z-index:1;
}
.modal__preventivo__input:focus {
    outline: none;
    width:100%;
    border-bottom:1px solid white;
}
.modal__preventivo__section__close{
    position:
    absolute;
    top: 3%;
    right:20%;
}
.modal__preventivo__section__close__button{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.modal__preventivo__input{
    width:100%;
}
.header-wrap{
    display:none;
}
.header-menu{
	margin-bottom: 15px;
}
.header-logo{
    display:block;
	top:30px;
	left:20px;
}
}
@media(max-width:890px){
.header{
    padding: 36px 0;
}
.header-wrap{
	display: none;
}
.header-logo{

	width: 41px;
	top: 30px;
	left: 10px;
}
}

/* ANIMATION */
@keyframes open__modal {
  from {opacity:0;}
  to {opacity:1;}
}