@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
h1.pr1,
h2.pr1 {
    font-weight: 300;
    margin: 0 0 1rem 0;
}
a.pr1 {
    text-decoration: none;
    color: #72dea0;
}
a.pr1:hover {color: #82eaae}
header.pr1 {
    padding: 7vh 10vw;
    background: #ffebee;
}
header.pr1 h1 {
    color: rgba(0,0,0,0.54);
}
.info.pr1 {
    background: #009688;
    padding: 3vh 10vw;
    color: #d9d9d9;
}
/* contenitore base, lo sfondo oscurante*/
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999999999;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    overflow: auto;
}
/* finestra modale */
.popup.pr1 {
    top: 0%;
    left: 0;
    right: 0;      
text-align: center;
 color: white;	
    font-size: 14px;
font-family: 'Lato', sans-serif;
    margin: auto;
    width: 100%;
    max-width: 600px;
    position: absolute;
    padding: 10px 10px;
    border: 1px solid #383838;
    background: #fefefe;
    z-index: 99999999999;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;


    
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}
.popup.pr1 img {
width:100%;
max-width:600px;
height:auto;

}
/* Titolo nella finestra modale  */
.popup.pr1 h2, .popup.pr1 h3 {
    margin: 0 0 1rem 0;
    font-weight: 300;
    line-height: 1.3;
    color: #009032;
    text-shadow: 1px 2px 4px #ddd;
}
/* bottone della chiusura */
.close2 {
	 background-color: rgba(252, 20, 0, 0.8);
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    position: absolute;
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background-color: rgba(0, 131, 119, 0.9);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    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;

}
.close2: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);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}
/* bottone allo stato hover  */
.close2:hover {
    background-color: rgba(252, 20, 0, 0.8);
}
/* immagini nella finestra modale */

/* miniature di immagini */
.pl-left,
.pl-right {
    width: 25%;
    height: auto;
}
/* miniatura sulla destra */
.pl-right {
    float: right;
    margin: 5px 0 5px 15px;
}
/* miniatura sulla sinistra */
.pl-left {
    float: left;
    margin: 5px 18px 5px 0;
}
/* animazione alla apparizione del blocco con contenuto  */
@-moz-keyframes fade {
    from { opacity: 0; }
    to { opacity: 1 }
}
@-webkit-keyframes fade {
    from { opacity: 0; }
    to { opacity: 1 }
}
@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1 }
}

a.link_cena:link {
 position: absolute;
 top: 61%;
 left: 50%;
 width:80%;
 background-color:#2c4856;
 padding:10px 0;
 transform: translate(-50%, -50%);
color:#fff;
text-decoration:none;
font-family: 'Lato', sans-serif;
font-size:1.2em;

}
a.link_cena:hover {
 background-color:#f6b942;
}
a.link_cena:visited {
color:#fff;
}
a.link_cena2:visited {
color:#fff;
}
a.link_cena3:visited {
color:#fff;
}
a.link_cena2:link  {
 position: absolute;
 top: 73%;
 left: 50%;
  width:80%;
 background-color:#2c4856;
 padding:10px 0;
 transform: translate(-50%, -50%);
 color:#fff;
text-decoration:none;
font-family: 'Lato', sans-serif;
font-size:1.2em;
}
a.link_cena2:hover {
 background-color:#f6b942;
}
a.link_cena3:link {
 position: absolute;
 top: 85%;
 left: 50%;
  width:80%;
 background-color:#2c4856;
 padding:10px 0;
 transform: translate(-50%, -50%);
 color:#fff;
text-decoration:none;
font-family: 'Lato', sans-serif;
font-size:1.2em;
}
a.link_cena3:hover {
 background-color:#f6b942;
}
.cena4 {
 position: absolute;
 top: 95%;
 left: 50%;
  width:80%;
 padding:10px 0;
 transform: translate(-50%, -50%);
 font-family: 'Lato', sans-serif;
font-size:1.0em;
}

@media (max-width: 767px) {
.popup.pr1 {
    top: 20%;
    left: 0;
    right: 0;      
text-align: center;
 color: white;	
    font-size: 14px;
font-family: 'Lato', sans-serif;
    margin: auto;
    width: 100%;
    max-width: 450px;
    position: absolute;
    padding: 2px 2px;
    border: 1px solid #383838;
    background: #fefefe;
    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-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}
.popup.pr1 img {
width:100%;
max-width:450px;
height:auto;

}
 a.link_cena:link {
font-size:1.0em;
}
 a.link_cena2:link {
font-size:1.0em;
}
 a.link_cena3:link {
font-size:1.0em;
}
.cena4 {
font-size:1.0em;
}
 
 }
@media (max-width: 575px) {
.popup.pr1 {
    top: 20%;
    left: 0;
    right: 0;      
text-align: center;
 color: white;	
    font-size: 14px;
font-family: 'Lato', sans-serif;
    margin: auto;
    width: 100%;
    max-width: 400px;
    position: absolute;
    padding: 2px 2px;
    border: 1px solid #383838;
    background: #fefefe;
    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-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}
.popup.pr1 img {
width:100%;
max-width:400px;
height:auto;

}
 a.link_cena:link {
font-size:0.9em;
}
 a.link_cena2:link {
font-size:0.9em;
}
 a.link_cena3:link {
font-size:0.9em;
}
.cena4 {
font-size:0.9em;
}
 
 }