/**/

    p.AW-messaggio-errore {
        background-color: #933100;
        color: #FAC8A0;
        padding: 0 10px;
    }

/* contenuto pagina - inizio */
    .AW-contenuto {
        background-color: #fff;
        box-sizing: border-box;
        display: block;
        margin: 0 auto 10px;
        max-width: 1024px;
        padding: 20px;
    }
    
    .AW-slideImage {
        background-image: none;
        background-color: rgb(245, 240, 230);
/*
        margin: 20px 0;
        max-height: 553px;
        max-height: 499px;
        width: 100%;

*/
        text-align: center;
        /* text-align:center serve a centrare l'img con display:inline-block nel contenuto */

        height: auto;
        max-height: 100%;
        width: auto;
        max-width: 100%;
    }
    
    #imageGallery {
/*        height: 553px; */
        position: relative;
        /* slideshow */
        }
    
    .AW-slideshow {
/*        
        max-height: 553px; 
        background-image: none;
*/        
        /* text-align:center serve a centrare l'img con display:inline-block nel contenuto */
/*
        background-color: rgb(245, 240, 230);
        margin: 20px 0;
        width: 100%;
    background-color: aquamarine;
    height: 499px;
    width: 888px;
    margin: 6px;
*/
 /*
        text-align: center;
        overflow:hidden; 
 */
    }
            
    .AW-imageSlides {
        align-items:center;
        justify-content:center;
        left:0px;
/*
        max-height: 499px;
        display:flex; 
*/      
        display:none;
        height: 499px;
        position:relative;
        top:0px;
    }
    
    .AW-imageSlides2 {
        align-items:center;
        justify-content:center;
        left:0px;   
        display:none;
        height: 245px;
        position:relative;
        top:0px;
    }
    
    .AW-flex {
        display:flex;
    }
    
    .slide_02 .AW-imageSlides {
        height: 495px;
    }
    /*
    .slide_04 .AW-imageSlides {
        height: 245px;
    } 
    */
    .AW-freccia-slide-sx {
        cursor: pointer;
        /**/display: none;
        height: 100px;
        left: 0;
        margin-top: -50px;
        position: absolute;
        top: 50%;
        width: 100px;
    }

    .AW-slideshow:hover .AW-freccia-slide-sx{
        display: block;
    }     
    /*
    .AW-slide_01:hover .AW-freccia-slide-sx{
        display: block;
    }
    */
    /*
    .slide_02:hover .AW-freccia-slide-sx{
        display: block;
    }
    
    .slide_03:hover .AW-freccia-slide-sx{
        display: block;
    }
    
    .slide_04:hover .AW-freccia-slide-sx{
        display: block;
    }
    */
    .AW-freccia-slide-dx {
        cursor: pointer;
        /**/display: none;
        height: 100px;
        margin-top: -50px;
        position: absolute;
        right: 0;
        top: 50%;
        width: 100px;
    }
    .AW-slideshow:hover .AW-freccia-slide-dx{
        display: block;
    }     
    /*
    .slide_02:hover .AW-freccia-slide-dx{
        display: block;
    }
    
    .slide_03:hover .AW-freccia-slide-dx{
        display: block;
    }
    
    .slide_04:hover .AW-freccia-slide-dx{
        display: block;
    }
    */
    /*
    .AW-controlli-slide {
        color: #fac8a0;
        font-size: 20px;
        height: 30px;
        position: absolute;
        right: 15px;
        text-align: right;
        top: 15px;
        width: 100px;        
    }
    
    .AW-frecce-slide {
        cursor: pointer;
        font-weight: bold;
    }
    */
    
    .AW-contatore-slide {
        color: #fac8a0;
        font-size: 20px;
        height: 30px;
        position: absolute;
        right: 15px;
        text-align: right;
        top: 15px;
        width: 30px;        
    }
    
    .AW-slide-caption-title {
        color: #35c6ba;
        font-family: Caveat;
        font-size: 32px;
        line-height: 40px;
        text-align: center;
        text-shadow: 2px 2px #000;
    }
    
    .slide_01 .AW-slide-caption-title {
        color: #35c6ba;
        font-family: Caveat;
        font-size: 48px;
        line-height: 50px;
        text-align: left;
        text-shadow: 2px 2px #000;
    }
    
    .AW-slide-caption {
        /*background-color: #000;
        bottom: 0;
        box-sizing: border-box;
        left:0;
        opacity: 0.5;
        padding: 20px;
        position: absolute;
        text-align: left;
        width:100%; */
    }
    
    .AW-slide-caption p {
        color: #fac8a0;
        font-size: 16px;
        font-weight: normal;
    }    
    
    .slide_01 .AW-slide-caption {
        background: linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,0.6));
        bottom: 0;
        box-sizing: border-box;
        left:0;
        padding: 20px;
        position: absolute;
        text-align: left;
        top: 0;
        width:50%;
    }  
    
    .slide_01 .AW-slide-caption a {
        color: #fac8a0;
        font-size: 24px;
        text-decoration: none;
    }   
    
    .slide_01 .AW-slide-caption p {
        color: #fac8a0;
        font-size: 24px;
        font-weight: normal;
        margin: 5px 0 5px 0;
        text-align: left;
    }
    
    .slide_01 .AW-slide-caption p strong {
        color: #fac8a0;
        font-size: 24px;
        font-weight: bold;
        margin: 5px 0 5px 0;
        text-align: left;
    }
    
    .slide_01 .AW-slide-caption ul {
        color: #fac8a0;
        margin-left: 30px;
        padding: 0;
    }

    .slide_01 .AW-slide-caption li {
        color: #fac8a0;
        font-size: 24px;
    }

    .slide_01 .AW-slide-caption li a {
        color: #fac8a0;
        font-size: 24px;
        text-decoration: none;
    }      
       
    .slide_02 .AW-slide-caption {
        background-color: #000;
        bottom: 0;
        box-sizing: border-box;
        left:0;
        opacity: 0.5;
        padding: 20px;
        position: absolute;
        text-align: left;
        width:100%;
    }
    
    .AW-slide-caption2 {
        background-color: #000;
        bottom: 0;
        left:0;
        opacity: 0.5;
        padding: 5px 10px;
        position: absolute;
        text-align: left;
        width:100%;
    }
    
    .AW-slide-caption2 p {
        color: #fff;
        font-size: 16px;
        font-weight: normal;            
        padding-right: 20px;
    }
    
    
/* facebook like */
    .fb-like {
        margin: 5px 0;
    }    
/* facebook like */

/* avviso legge cookie - inizio */
.AW-cookie-consent {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
    box-sizing: border-box;
    color: #5C2002;
    display:none;
    font-size: 17px;
    font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
    left: initial;
    padding: 10px 15px 20px;
    position: fixed;
    right: 20px;
    top: 20px;
    width: 560px;
    z-index:20!important;
    -webkit-animation-duration: 0.6s;
    animation-duration: 0.6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 0.8s;
    -moz-animation-duration: 0.8s;
    -o-animation-duration: 0.8s;
    animation-duration: 0.8s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;       
}

.AW-cookie-lang {
    border-bottom: 1px solid #5C2002;
    box-sizing: border-box;
    height: 40px;
    width: 100%;
}

.AW-cookie-lang a p {
    color: #5C2002;
    float: right;
    font-size: 15px;
    line-height: 39px;
    font-weight: bold;
}

.AW-cookie-text {
    max-height: 300px;
    overflow: auto;
    padding: 10px 0 0 0;
}

.AW-cookie-consent-button {
    background-color:#933100;
    box-sizing: border-box;
    color:#FAC8A0;
    cursor:pointer;
    margin: 20px 0 0 0;
    text-align:center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;  
    font-size: 18px;
    line-height: 30px;
}

.AW-cookie-consent p {
    color: #5C2002;
    font-size: 15px;
    line-height: 22px;
}

.AW-cookie-consent p a {
    color: #5C2002;
    font-size: 15px;
    line-height: 22px;
    font-weight: bold;
}
/* avviso legge cookie - fine */


/* The Modal (background) */
.modal {
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    display: none; /* Hidden by default */
    height: 100%; /* Full height */
    left: 0;
    overflow: hidden; /* Enable scroll if needed */
    padding-top: 0; /* Location of the box */
    position: fixed; /* Stay in place */
    top: 0;
    width: 100%; /* Full width */
    z-index: 1; /* Sit on top */
}

.modal2 {
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    height: 100%; /* Full height */
    left: 0;
    overflow: hidden; /* Enable scroll if needed */
    padding-top: 0; /* Location of the box */
    position: fixed; /* Stay in place */
    top: 0;
    width: 100%; /* Full width */
    z-index: 1; /* Sit on top */
}

/* Modal icon (baloon / close / FB) */

#AW-modalHdr {    
    height: 32px;
    position: absolute;
    right: 5%;
    top: 5%;
    width: 200px;
    z-index: 1;
} 

#AW-modalHdr img {
    float: right;    
    margin-left: 20px;
} 
/*
.modal-close {
    color: #FAC8A0;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 1;
}
*/
.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#modalCaption {
    color: #ccc;
/*    display: none;   al momento la caption non compare */ 
    height: 150px; 
    margin: auto;
/*
    max-width: 700px;
*/
    padding: 10px 0;
    text-align: center;
    width: 100%;
}

.modal-content {
    display: block;
    margin: auto;
    max-height: 800px;
    max-width: 700px;
    width: 80%;
}

img.modal-content {
    display:block;
    height: auto;
    max-height: 90%;
    max-width: 90%;
    width: auto;
    /* per centrare l'img in orizzontale e in verticale - inizio */
    left:50%;
    position:absolute;
    top:50%;
    -webkit-transform: translate(-50%,-50%); 
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%,-50%);
    /* per centrare l'img in orizzontale e in verticale - inizio */
}

/* immagine lightbox - fine */
/* frecce per versione modal (immagine tutta pagina) - inizio */
img.modal_arrow_left {
    cursor: pointer;
    display: block;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    left: 50px;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

img.modal_arrow_right {
    cursor: pointer;
    display: block;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    right: -50px;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
/* frecce per versione modal (immagine tutta pagina) - fine */

/* animazioni e effetti speciali */
.w3-animate-fading {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 2.0s;
  animation-name: fade;
  animation-duration: 2.0s;
}

.w3-animate-fading2 {
  -webkit-animation-name: fade2;
  -webkit-animation-duration: 1.0s;
  animation-name: fade2;
  animation-duration: 1.0s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@-webkit-keyframes fade2 {
  from {opacity: .1} 
  to {opacity: 1}
}

@keyframes fade2 {
  from {opacity: .1} 
  to {opacity: 1}
}

.AW-animate-fall {
position:relative;-webkit-animation:animatetop 0.8s;animation:animatetop 0.8s;
}

.AW-animate-slidein-right {
position:relative;
-webkit-animation:animateright 1.0s;animation:animateright 1.0s;
}

.AW-animate-slidein-left {
position:relative;
-webkit-animation:animateleft 1.0s;animation:animateleft 1.0s;
}

.AW-animate-rise {
/*position:relative;*/
-webkit-animation:animatebottom 1.0s;animation:animatebottom 1.0s;
}

@-webkit-keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}
@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}

/*
@-webkit-keyframes animatebottom{from{bottom:-400px;opacity:0} to{bottom:0;opacity:1}}
@keyframes animatebottom{from{bottom:-400px;opacity:0} to{bottom:0;opacity:1}}
*/
@-webkit-keyframes animatebottom{from{bottom:-100px;opacity:0} to{bottom:0;opacity:1}}
@keyframes animatebottom{from{bottom:-100px;opacity:0} to{bottom:0;opacity:1}}

@-webkit-keyframes animateleft{from{left:-400px;opacity:0} to{left:0;opacity:1}}
@keyframes animateleft{from{left:-400px;opacity:0} to{left:0;opacity:1}}

@-webkit-keyframes animateright{from{right:-400px;opacity:0} to{right:0;opacity:1}}
@keyframes animateright{from{right:-400px;opacity:0} to{right:0;opacity:1}}

/* animazione immagine link */
/*
.AW-actImg:hover {
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);

    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);

    -ms-transform: scale(1.1, 1.1); 
    -webkit-transform: scale(1.1, 1.1); 
    transform: scale(1.1, 1.1);

    -webkit-animation: pulsate 1.5s ease-out;
    -webkit-animation-iteration-count: infinite; 
    animation: pulsate 1.5s ease-out;
    animation-iteration-count: infinite; 
}
*/

.riga_01 a img:hover {
/*
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);

    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);

    -ms-transform: scale(1.1, 1.1); 
    -webkit-transform: scale(1.1, 1.1); 
    transform: scale(1.1, 1.1);
*/
    -webkit-animation: pulsate 0.3s ease-out;
    -webkit-animation-iteration-count: 1; 
    animation: pulsate 0.3s ease-out;
    animation-iteration-count: 1; 
}

social img:hover {
    -webkit-animation: pulsate 0.3s ease-out;
    -webkit-animation-iteration-count: 1; 
    animation: pulsate 0.3s ease-out;
    animation-iteration-count: 1; 
}

.social_04 a img:hover {
    -webkit-animation: pulsate 0.3s ease-out;
    -webkit-animation-iteration-count: 1; 
    animation: pulsate 0.3s ease-out;
    animation-iteration-count: 1; 
}

#AW-modalHdr img:hover {
    -webkit-animation: pulsate 0.3s ease-out;
    -webkit-animation-iteration-count: 1; 
    animation: pulsate 0.3s ease-out;
    animation-iteration-count: 1; 
    cursor:pointer;
}

/*
#AW-modalHdr span:hover {
    -webkit-animation: pulsate 0.3s ease-out;
    -webkit-animation-iteration-count: 1; 
    animation: pulsate 0.3s ease-out;
    animation-iteration-count: 1; 
}
.riga_02 a img:hover {
    -webkit-animation: pulsate 0.4s ease-out;
    -webkit-animation-iteration-count: 1; 
    animation: pulsate 0.4s ease-out;
    animation-iteration-count: 1; 
}
.torre_01 a img:hover {
    -webkit-animation: pulsate 0.4s ease-out;
    -webkit-animation-iteration-count: 1; 
    animation: pulsate 0.4s ease-out;
    animation-iteration-count: 1; 
}
*/

@-webkit-keyframes pulsate {
/*
    0% {-webkit-transform: scale(0.8, 0.8); opacity: 1.0;}
    50% {opacity: 1.0;}
    100% {-webkit-transform: scale(1.1, 1.1); opacity: 1.0;}

    100% {-webkit-transform: scale(0.9, 0.9);}
    0% {-webkit-transform: scale(0.9, 0.9);}
*/
    0% {-webkit-transform: scale(1.0, 1.0);}
    50% {-webkit-transform: scale(1.1, 1.03);}
    100% {-webkit-transform: scale(1.0, 1.0);}

}
@keyframes pulsate {
/*
    0% {transform: scale(0.8, 0.8); opacity: 1.0;}
    50% {opacity: 1.0;}
    100% {transform: scale(1.1, 1.1); opacity: 1.0;}

    0% {transform: scale(0.9, 0.9);}
    100% {transform: scale(0.9, 0.9);}
*/
    0% {transform: scale(1.0, 1.0);}
    50% {transform: scale(1.1, 1.03);}
    100% {transform: scale(1.0, 1.0);}
}


@-webkit-keyframes grow {
/*
    0% {-webkit-transform: scale(0.8, 0.8); opacity: 1.0;}
    50% {opacity: 1.0;}
    100% {-webkit-transform: scale(1.1, 1.1); opacity: 1.0;}

    100% {-webkit-transform: scale(0.9, 0.9);}
    0% {-webkit-transform: scale(0.9, 0.9);}
*/
    0% {-webkit-transform: scale(1.0, 1.0);}
    100% {-webkit-transform: scale(1.05, 1.05);}

}
@keyframes grow {
/*
    0% {transform: scale(0.8, 0.8); opacity: 1.0;}
    50% {opacity: 1.0;}
    100% {transform: scale(1.1, 1.1); opacity: 1.0;}

    0% {transform: scale(0.9, 0.9);}
    100% {transform: scale(0.9, 0.9);}

    0% {transform: scale(1.0, 1.0);}
    100% {transform: scale(1.1, 1.1);}
*/
    0% {transform: scale(1.0, 1.0);}
    100% {transform: scale(1.05, 1.05);}
}




/*
    PROBLEMI CARICAMENTO - TBD
*/
.sideTowerImage {
    min-height:156px;
}
.loaded img.Aw-sideTower {
    opacity: 1;
    /* opacity aggiunto qui e sopra per fare in maniera che in Firefox non si veda la scritta durante il caricamento */
}

img.Aw-sideTower {
    opacity: 0;
/*
    height: auto;
    max-height: 220px;
    max-width: 220px;
    width: auto;

    left:50%;
    top:50%;
    -webkit-transform: translate(-50%,-50%); 
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%,-50%);
*/
}
