section#gallery
{
    background:url(immagini/wide/background/tweed.png);
    height:473px;
    width:100%;
    padding:20px 0;
    border-radius: 50%/10px;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.5);
    margin-bottom:100px;
}

#previous
{
    display:block;
    float:left;
    height:100%;
    width:5%;
}

#next
{
    display:block;
    position:relative;
    height:100%;
    top:10%;
    right:0;
    left:96%;
    width:40px;
}

#next:before
{
    content:"";
    display:block;
    height:0;
    width:0;
    
    
    /* Triangle */
    border-left:20px solid rgba(255,255,255,0.3);
    border-bottom:20px solid transparent;
    border-top:20px solid transparent;

    
    position:relative;
    top:50%;
    margin-top: -20px;
    
    transition:all 0.3s;
    z-index:10;
}

#previous:before
{
    content:"";
    display:block;
    height:0;
    width:0;
    
    
    /* Triangle */
    border-right:20px solid rgba(255,255,255,0.3);
    border-bottom:20px solid transparent;
    border-top:20px solid transparent;

    
    position:relative;
    top:50%;
    margin-top: -20px;
    left:20px;
    
    transition:all 0.3s;
}

#gallery:hover #previous:before
{
    /* Triangle */
    border-right:20px solid rgba(255,255,255,0.5);
    border-bottom:20px solid transparent;
    border-top:20px solid transparent;
}

#gallery:hover #next:before
{
    /* Triangle */
    border-left:20px solid rgba(255,255,255,0.5);
    border-bottom:20px solid transparent;
    border-top:20px solid transparent;
}

#gallery:hover #next:hover:before
{
    /* Triangle */
    border-left:20px solid rgba(255,255,255,1);
    border-bottom:20px solid transparent;
    border-top:20px solid transparent;
    
    cursor:pointer;
}

#gallery:hover #previous:hover:before
{
    /* Triangle */
    border-right:20px solid rgba(255,255,255,1);
    border-bottom:20px solid transparent;
    border-top:20px solid transparent;
    
    cursor:pointer;
}



#gallery img
{
    margin-left:-10px;  
    position:absolute;
    opacity:0;
    -webkit-opacity:0;
    -ms-opacity:0;
    -o-opacity:0;
    
    transition: opacity 1s;
    -webkit-transition: opacity 1s;
    -ms-transition: opacity 1s;
    -o-transition: opacity 1s;
}

#gallery img#img1
{
    opacity:1;
}