		#popup{
            width: 50%;
            height: 50%;
            top: 10%;
            left: 28%;
            display: none;
            position: fixed;
         }

          #overlay {
			position: fixed;
			top: 0;
			left: 0;
			display: none;
			width: 100%;
			height: 100%;
			background: rgba(0, 0, 0, 0.65);
			z-index: 999;
			-webkit-animation: fade .6s;
			-moz-animation: fade .6s;
			animation: fade .6s;
			overflow: auto;
		}

		div.popup {
			top: 25%;
			left: 0;
			right: 0;      
			font-size: 14px;
			margin: auto;
			width: 85%;
			min-width: 320px;
			max-width: 600px;
			position: absolute;
			padding: 15px 20px;
			border: 1px solid #383838;
			background: #fbeafc;
			z-index: 1000;
			-webkit-border-radius: 4px;
			-moz-border-radius: 4px;
			-ms-border-radius: 4px;
			border-radius: 4px;
			font: 14px/18px 'Tahoma', Arial, sans-serif;
			-webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
			-moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
			-ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
			box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
			-webkit-animation: fade .6s;
			-moz-animation: fade .6s;
			animation: fade .6s;
		}
		
		#overlay div.popup h2 {
			font-family: 'Tahoma', Arial, sans-serif, Helvetica;
			color: #d24d84;
			font-size: 24px;
			font-weight: 700;
			text-align: center; 
			
		}

		#overlay div.popup p.txtpop {
			font-family: 'Tahoma', Arial, sans-serif, Helvetica;
			color: #333;
			font-size: 16px;
			font-weight: normal;
			line-height: 25px;
			text-align: center;
		}

		.closepop {
			top: -15px;
			right: -15px;
			width: 32px;
			height: 32px;
			position: absolute;
			border: none;
			border-radius: 50%;
			background-color: rgba(210, 77, 132, 0.9);
			box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
			cursor: pointer;
			outline: none;
		}

		.closepop:before {
			color: rgba(255, 255, 255, 0.9);
			content: "X";
			font-family:  Arial, Helvetica, sans-serif;
			font-size: 14px;
			font-weight: normal;
			text-decoration: none;
			text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
			transition: all 0.5s;
		}

		/* cambio del colore del bottone di chiusura al passagio del mouse */

		.closepop:hover {
			background-color: rgba(252, 181, 189, 0.8);
		}

		@media (max-width: 768px) {
		  
		 #overlay div.popup h2 {
		 	font-size: 1.4em;
		    width: 80%;
		    margin-bottom: 1em;
		 }

		 #overlay div.popup p.txtpop {
		 	line-height: 1.4em;
		 	font-size: 1.1em;

		 }
		  
		}