body, html
{height:100%;}

section{
width: 100%;
margin: auto;
}
.content{
    
         padding-top: 35px;
        padding-bottom: 35px; 
}

img.bg {

width: 100%;
height: auto;
margin-top: 65px;

}

header
{   height: 65px;
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: white;
    width: 100%;
}


nav li{
   display: inline-block;
    text-decoration: none;
    list-style: none;
    width: 140px;
     text-align: center;
     margin: 10px;
     margin-left: 20px;
     margin-right: 20px;
     
     height: 30px;
   
    }
    
nav{
   height: 40px;
   margin-top:  0px;
   right: 0px;
   position: absolute;
    }


nav a{
 
    text-decoration: none;
    font-size: 16px;
    color: #b3b3b3;
    font-family: 'Inconsolata', sans-serif;
   
     
    
    
   
}

nav a:hover{
    color: #51595e;
   
}

nav  .pagAttuale {
    color: #51595e;
   
}
 
body
{  margin:0;
   padding:0;
   background-color: #e6e6e6;}

.prima{
     position: relative; 
}

.testoImm {
     background-color: black;
}

h1
{
    position: absolute;
    top: 35%;
    text-align: right;
    padding: 20px;
    line-height: 50px;
    width: 30%;
    right: 7%;
    font-family:   'Inconsolata', sans-serif;
    font-weight: 500;
    font-size: 30px;
    color: #000000;
    background-color: rgba(255,255,255,0.5);
    }




#testo h2{
    text-transform: uppercase;
    color:  #51595e;
    font-size: 4em;
    font-family:   'Inconsolata', sans-serif;
    padding: 15px;
    font-weight: 400;
    
}

#testo p{
    color:  #51595e;
    margin: auto;
    font-size: 18px;
    text-align: justify;
    width: 80%;
   
    font-weight: 200;
    font-family:  'Inconsolata', sans-serif;
    
}

#testo{
    
    /*background-image: url(deco2.png) ;
	 
	 background-attachment:fixed;
	 background-repeat: repeat;*/
     background-color: #f8f8f8;
       
    line-height: 35px;
    
   
    width: 100%;
  
    
}

#testo img{
    
    margin-top: 50px;
    float: left;
    margin-left: 40px;
}

 h3 {
    color: #51595e;
    font-size: 3em;
    font-family: 'Inconsolata', sans-serif;
    margin-top: 40px;
    font-weight: 300;
    text-align: left;
    padding: 10px;
    text-transform: uppercase;
    
  
  
    
    }
    
 .galleria h3{
    position: absolute;
    margin-top: -170px;
    width: 250px;
    text-transform: lowercase;
    color: #000000;
    font-size: 16px;
    text-align: left;
    margin-left: 50px;
    display: none;
    line-height: 25px;
    
 }
 

 
 .galleria b{
    text-transform: uppercase; 
 }
    
    .galleria {
			display: block;
			float: left;
			width: 350px;
			height: 250px;
			
			margin: 20px;
		    
			position: relative;
			
                        
                        
                        
                        
		}

.galleria img{
     			width: 350px;
			height: 250px;
     } 
.album,
.album2,
.album3{
    width: 95%;
    min-height: 500px;
    margin: auto;
    margin-bottom: 30px;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;  
    display: -o-flex;
    -ms-display: flex; 
    flex-wrap: wrap;
    justify-content: space-around;
    -webkit-flex-wrap: wrap;
    -webkit-justify-content: space-around;
    -moz-flex-wrap: wrap;
    -moz-justify-content: space-around;
    -ms-flex-wrap: wrap;
    -ms-justify-content: space-around;
    -o-flex-wrap: wrap;
    -o-justify-content: space-around;
    
    }
    

header img{
    margin-top: 20px;
     position: absolute;
    z-index: 3;
   margin-left: 30px;
   margin-top: 10px;
    }
    
   h6{
    text-align: center;
    color: #51595e;
    font-size: 16px;
    margin-top: 40px;
    font-weight: 300;
    font-family: 'Inconsolata', sans-serif;
    
}

footer{
    
    height: 80px;
     
}
#greca{
    background-image: url(sepa.png);
    height: 10px;
    margin-top: 80px;
    
    
 }
 
#web{
    
     background-color: #f8f8f8;
}

@media (min-width: 767px) and (max-width: 1200px) {
    
    .album,
    .album2,
    .album3{
    width: 100%;
    min-height: 850px;
    
    margin: auto;
    margin-bottom: 30px;
    
    }
    .album,
    .album2,
    .album3{
        margin-bottom: 100px;
    }
     .content{
    
         padding-top: 35px;
        padding-bottom: 20px; 
}
}

@media (max-width:880px) { 

	.img-box .cont-in
        {font-size: 35px;width: 60px; margin-left: -30px;}
	.content-box .cont-in
        { font-size: 14px; margin-top: -20px;width: 140px; margin-left: -70px;}
	
header
{   
    position: static;

}
.album,
.album2,
.album3{
    width: 100%;
    min-height: 800px;
    margin: auto;
    margin-bottom: 30px;
    
    }
.galleria img{
     width: 300px;
     height: 214px;
     }
header img {
     position: static;
     margin-left: calc(50% - 75px);
     }    
h3{
     padding-bottom: 20px;
}
h1{
     display: none;
}

nav li{
   
    text-decoration: none;
    list-style: none;
    color: #ffffff;
    text-align: center;
    margin: auto;
     float: none;
     height: 30px;
     line-height: 30px;
     width: 100%;
   
    }
    
nav{
   background-color: #6c6c6c;
   height: 120px;
   margin-top: 0px;
   text-align: center;
   width: 100%;
   position: inherit;
   margin-bottom: 20px;

    }
nav ul{
    padding: 0px !important;
    margin: 0px}
     
nav a:hover{
    color: #cccccc;
   
}

.bg{
     display: none;
}

nav  .pagAttuale {
    color: #cccccc;
   
}
#testo{
     margin-top: 100px;
}
.galleria{
     width: 300px;
     height: 214px;
     margin: 20px;
}

}

#top{
        width:40px;
	height: 40px;
	border-radius: 10px;
        background-image: url(freccia.png);
        background-color:#cccccc;
        text-align:center;
        padding:5px;
        position:fixed;
        bottom:10px;
        right:10px;
        cursor:pointer;

}

@media only screen and (max-width: 550px){
              .galleria {
			display: block;

			width: 100%;
			height: auto;
			
                         margin-bottom: 20px !important;
                         margin: auto;
			position: relative;
			
                        
                        
                        
                        
		}
                .album,
                .album2,
                .album3{
                    width: 100%;
                    text-align: center;
                    min-height: 1400px;
                }
        .galleria img{
                         width: 80%;
			height: auto;
                        margin: auto;
                }

                    h1{
     display: none;
}

}