.modal-window {
	position: fixed;
	background-color: rgba(200, 200, 200, 0.95);
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999;
	opacity: 0;
	pointer-events: none;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.modal-window:target {
	opacity: 1;
	pointer-events: auto;
}
.modal-window>div {
	width: 40vw;
	display: flex;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	font-family: "Raleway", Arial, Helvetica, sans-serif;
	font-size: 120%;
	text-transform: uppercase;
}
.modal-window header {
	font-weight: bold;
}

.modal-close {
  color: #000 !important;
  font-size: 80%;
  text-decoration: none;
  margin-bottom: 50px;
  margin-top: 40px;
  text-align: center;
  font-weight: bold;
}
.margin-search {
	margin-bottom: 10px;
}

.modal-close:hover {
	color: #000 !important;
	background-color: transparent !important;
}
#open-modal {
	display: flex;
	align-items: baseline;
}

#open-modal1 {
	display: flex;
	align-items: baseline;
}

#open-modal form {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

#open-modal1 form {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

.search-form {
	width: 100%;	
}

.campo-ricerca {
	display: block !important;
	height: 30px;
	padding: 20px 20px;
	font-family: "Raleway", Arial, Helvetica, sans-serif;
	font-size: 140%;
	width: 50%;	
	margin: 0 auto;
}
.pulsante {
	display: block !important;
	margin-top: 10px !important;
	font-size: 100%;
	font-family: Helvetica, sans-serif;
	margin: 0 auto;
}
.pulsante {
	color: #494949 !important;
	text-transform: uppercase;
	text-decoration: none;
	background: #ffffff;
	padding: 10px 20px;
	border: 4px solid #494949 !important;
	display: inline-block;
	transition: all 0.4s ease 0s;
	font-weight: bold;
	cursor: pointer;
}

.modal-close img {
	filter: invert(100%) !important;		
}

.modal-close img:hover {
	filter: invert(100%) !important;	
}

.logo-ricerca {
	margin-bottom: 30px;
}


#menu .logo-ricerca:hover {
    filter: opacity(100%) !important;
}


/* cancella il placeholder in input al clic */

::-webkit-input-placeholder {
opacity: 1;
-webkit-transition: opacity .5s;
transition: opacity .5s;
}  /* Chrome <=56, Safari < 10 */
:-moz-placeholder {
opacity: 1;
-moz-transition: opacity .5s;
transition: opacity .5s;
} /* FF 4-18 */
::-moz-placeholder {
opacity: 1;
-moz-transition: opacity .5s;
transition: opacity .5s;
} /* FF 19-51 */
:-ms-input-placeholder {
opacity: 1;
-ms-transition: opacity .5s;
transition: opacity .5s;
} /* IE 10+ */
::placeholder {
opacity: 1;
transition: opacity .5s;
} /* Modern Browsers */
 *:focus::-webkit-input-placeholder {
opacity: 0;
} /* Chrome <=56, Safari < 10 */
*:focus:-moz-placeholder {
opacity: 0;
} /* FF 4-18 */
*:focus::-moz-placeholder {
opacity: 0;
} /* FF 19-50 */
*:focus:-ms-input-placeholder {
opacity: 0;
} /* IE 10+ */
*:focus::placeholder {
opacity: 0;
} /* Modern Browsers */

@media only screen and (max-width:1200px) {
.modal-window > div {
	width: 70vw;
}


}


@media only screen and (max-width:1000px) {

.modal-close {
    margin-bottom: 30px;
    margin-top: 10px;
	background-color: transparent !important;
}

#menu ul li a.modal-close {
	border: none !important;
}

#menu ul li a.modal-close img {
    margin-top: 0px !important;
}

.margin-search {
	margin-bottom: 10px;	
}

.campo-ricerca {
  font-size: 80%;
}


@media only screen and (max-width:720px) {

.modal-window > div {
	width: 70vw;
}

#menu ul li img .logo-ricerca {
    margin-top: 0px !important;
    filter: brightness(0) invert(0) !important;
}

.campo-ricerca {
	width: 80%;	
}

}

@media only screen and (max-width:400px) {

.modal-window > div {
	width: 80vw;
}
}


@media only screen and (max-width:400px) {

.campo-ricerca {
    font-size: 100%;
}

.pulsante {
    padding: 5px 10px;
    border: 2px solid 
}

#menu .modal-close {
    font-size: 140% !important;
}
}


