
[data-am-gallery] {
 position: relative;
 width: 100%;
 height: 100%;
 background-color: #fff;
/* Navigation */
}

[data-am-gallery] input[type="radio"] {
  position: fixed;
  top: -9999px;
}

[data-am-gallery] input[type="radio"]:checked:nth-child(7) ~ .images .image:nth-child(7) { opacity: 1; }
[data-am-gallery] input[type="radio"]:checked:nth-child(7) ~ .navigation .dot:nth-child(7) { background-color: #336699; }
[data-am-gallery] input[type="radio"]:checked:nth-child(7) ~ .navigation .dot:nth-child(7):hover { opacity: 0.5; }
[data-am-gallery] input[type="radio"]:checked:nth-child(6) ~ .images .image:nth-child(6) { opacity: 1; }
[data-am-gallery] input[type="radio"]:checked:nth-child(6) ~ .navigation .dot:nth-child(6) { background-color: #336699; }
[data-am-gallery] input[type="radio"]:checked:nth-child(6) ~ .navigation .dot:nth-child(6):hover { opacity: 0.5; }
[data-am-gallery] input[type="radio"]:checked:nth-child(5) ~ .images .image:nth-child(5) { opacity: 1; }
[data-am-gallery] input[type="radio"]:checked:nth-child(5) ~ .navigation .dot:nth-child(5) { background-color: #336699; }
[data-am-gallery] input[type="radio"]:checked:nth-child(5) ~ .navigation .dot:nth-child(5):hover { opacity: 0.5; }
[data-am-gallery] input[type="radio"]:checked:nth-child(4) ~ .images .image:nth-child(4) { opacity: 1; }
[data-am-gallery] input[type="radio"]:checked:nth-child(4) ~ .navigation .dot:nth-child(4) { background-color: #336699; }
[data-am-gallery] input[type="radio"]:checked:nth-child(4) ~ .navigation .dot:nth-child(4):hover { opacity: 0.5; }
[data-am-gallery] input[type="radio"]:checked:nth-child(3) ~ .images .image:nth-child(3) { opacity: 1; }
[data-am-gallery] input[type="radio"]:checked:nth-child(3) ~ .navigation .dot:nth-child(3) { background-color: #336699; }
[data-am-gallery] input[type="radio"]:checked:nth-child(3) ~ .navigation .dot:nth-child(3):hover { opacity: 0.5; }
[data-am-gallery] input[type="radio"]:checked:nth-child(2) ~ .images .image:nth-child(2) { opacity: 1; }
[data-am-gallery] input[type="radio"]:checked:nth-child(2) ~ .navigation .dot:nth-child(2) { background-color: #336699; }
[data-am-gallery] input[type="radio"]:checked:nth-child(2) ~ .navigation .dot:nth-child(2):hover { opacity: 0.5; }
[data-am-gallery] input[type="radio"]:checked:nth-child(1) ~ .images .image:nth-child(1) { opacity: 1; }
[data-am-gallery] input[type="radio"]:checked:nth-child(1) ~ .navigation .dot:nth-child(1) { background-color: #336699; }
[data-am-gallery] input[type="radio"]:checked:nth-child(1) ~ .navigation .dot:nth-child(1):hover { opacity: 0.5; }

[data-am-gallery] .image {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

[data-am-gallery] .navigation {
  position: absolute;
  bottom: 15px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

[data-am-gallery] .dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 2px;
  border-radius: 50%;
  background-color: rgba(224, 126, 134, 0.8);
  cursor: pointer;
  -webkit-transition: opacity 200ms ease;
  transition: opacity 200ms ease;
}

[data-am-gallery] .dot:hover { opacity: 0.8; }


/* Base */

body { margin: 0; }

.container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}


/*
body, html {
  height: 100%;
  margin: 0;
  padding:0;
}

body {
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
*/

h3 {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  margin: 10px 0px 0px 0px;
  letter-spacing: 5px;
  text-align: center;
  color: #e07e86;
  font-family: 'Tangerine', coursive;
  font-size: 72px;
  font-weight: bold;
}

.linkmail {
  background-color: #e07e86;
  opacity: 0.5;
  border-radius: 10%;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  color: #336699;
  font-size: 12px;
  position: fixed;
  width: 200px;
  height: 30px;
  top: auto;
  left: 0;
  bottom: 0;
  line-height: 30px;
}	

.linkmail:hover {
 text-decoration: none;
 font-weight: bold;
 font-style: italic;
 color: #f0f5f4;
 transition: 0.3s;
}

#space {
 padding-bottom: 1px;
 text-align: center;
 font-size: 22px;
 color: #ffffff;
}

/*
#space {
 padding-bottom: 1px;
 text-align: center;
 font-size: 22px;
}
*/



.sidenav {
 height: 0; /* 0 height - change this with JavaScript */
 width: 0; /* 0 width - change this with JavaScript */
 border-radius: 15%;
 position: fixed;
 z-index: 100;
 top: 0;
 left: 0;
 background-color: #336699;
 opacity: 0.5;
 font-family: 'Roboto', sans-serif; 
 font-size: 24px;
 overflow-x: hidden;
 padding-top: 0;
 transition: 0.5s;
}

.sidenav a {
 padding: 0px 32px 0px 32px;
 text-decoration: none;
 font-weight: bold;
 color: #818181;
 display: block;
 transition: 0.3s;
}

.sidenav a:hover{
 color: #cca062;
}

.sidenav .closebtn {
 position: absolute;
 height: 35px;
 top: 0;;
 right: 5px;
 font-size: 36px;
 margin-left: 50px;
}



.icona {
 width: 35px;
 height: 5px;
 background-color: #cca062;
 margin: 6px 0;
 position: relative;
 cursor: pointer;

-webkit-transition: background-color;
 -webkit-transition-duration: 0.5s;
 -webkit-transition-timing-function: ease-in;

-moz-transition: background-color;
 -moz-transition-duration: 0.5s;
 -moz-transition-timing-function: ease-in;

-ms-transition: background-color;
 -ms-transition-duration: 0.5s;
 -ms-transition-timing-function: ease-in;

-o-transition: background-color;
 -o-transition-duration: 0.5s;
 -o-transition-timing-function: ease-in;
}

.container1{
 position: fixed;
 top: 0;
 left: 5%;
 border-radius: 100%;
 padding:1%;
 width:35px;
 border: solid 2px red;
 -webkit-transition: border-color,border-radius,padding,margin;
 -webkit-transition-duration: 0.5s,1s,1s,1s;
 -webkit-transition-timing-function: ease-out;
 -moz-transition: border-color,border-radius,padding,margin;
 -moz-transition-duration: 0.5s,1s,1s,1s;
 -moz-transition-timing-function: ease-out;
 -ms-transition: border-color,border-radius,padding,margin;
 -ms-transition-duration: 0.5s,1s,1s,1s;
 -ms-transition-timing-function: ease-out;
 -o-transition: border-color,border-radius,padding,margin;
 -o-transition-duration: 0.5s,1s,1s,1s;
 -o-transition-timing-function: ease-out;
}

.container1:hover{
 margin-top: 0.5%;
 margin-left: 0.5%;
 border-radius:5%;
 border-color:#cca062;
 padding:0.5%;
}

.container1:hover .icona{
 background-color: red;
}
*/


/* finestra modale - eventuale */
/*
#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;
}


.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: #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;
    color: #336699;
    -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;
}

.close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    position: absolute;
    border: none;  
    border-radius: 50%;
    background-color: rgba(51, 102, 153, 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;
 
}
.close: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;
}

.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
}

.pl-left {
    float: left;
}

.pl-right {
    float: right;
}

.responsive {
  width: 100%;
  height: auto;
}

*/




@media screen and (max-height: 450px) {
 .sidenav .closebtn {font-size: 24px;}
  h3 {font-size: 32px;}
/* .sidenav p {font-size: 12px;}*/
 #space {font-size: 16px;}
/* span {font-size: 14px;}  */
/* .popup {font: 12px/16px 'Tahoma', Arial, sans-serif;}  
 .responsive {max-width: 150px;}
*/
}
