/* MODALE */


div#autbContenitoreBarra .autb-backdrop.autb-display-none {
    display: none;
}
.autb-hidden {
    opacity: 0;
}


div#autbContenitoreBarra .autb-backdrop {
    position: fixed;
    z-index: 999999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0 , 0 , 0 , 0.8);
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    overflow-x: hidden;
    overflow-y: auto;
}
div#autbContenitoreBarra .autb-modal {
    margin: 100px auto 0;
    max-width: 468px;
    text-align: center;
    position: relative;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    transform: translate(0 , 0%)
}
div#autbContenitoreBarra .autb-hidden  .autb-modal {
    transform: translate(0 , -100%)
}



div#autbContenitoreBarra .autb-modal-close {
    background: #333333;
    width: 40px;
    font-size: 20px;
    line-height: 20px;
    padding: 10px 0;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    top: -20px;
    right: 0;
    outline: none;
    z-index: 40;
    cursor: pointer;
}
div#autbContenitoreBarra #autb-contatoreBox {
    padding: 30px;
    text-align: center;
    font-size: 18px;
    line-height: 1.2;
    color: #333;
    background: #fff;
    margin: 20px;
    position: relative;
    z-index: 20;
}
div#autbContenitoreBarra #autb-contatoreBox p {
    text-align: center;
    position: relative;
    font-size: 18px;
    line-height: 1.2;
    color: #333;
}
div#autbContenitoreBarra #autb-contatoreBox img {
    max-width: 100%;
    width: auto;
    height: auto;
}


div#autbContenitoreBarra #autb-contatoreBox p.autb-contatore-title,
div#autbContenitoreBarra #autb-contatoreBox p.autb-contatore-strong {
    font-weight: bold;
}

div#autbContenitoreBarra #autb-contatoreBox p.autb-contatore-title {
    font-size: 40px;
}


#autb-contatore {
    background: #0099ff;
    color: #fff;
    font-weight: bold;
    font-size: 60px;
    line-height: 1;
    border-bottom: 3px solid #ff0099;
    display: inline-block;
    padding: 5px 15px !important;
}


.autb-stelle {
    width: 266px;
    height: 266px;
/*    background: url('../images/contatore/stelle.png') no-repeat;*/
    position: absolute;
    z-index: 10;
}

#stelle-top-left {
    top: -65px;
    left: -65px;
    opacity: 1;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    transform: rotate(0deg) translate( 0% , 0%);
}
#stelle-bottom-right {
    bottom: -65px;
    right: -65px;
    opacity: 1;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;

    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg) translate( 0% , 0%);
}

.autb-hidden #stelle-top-left,
.autb-hidden #stelle-bottom-right {
    opacity: 0;
    transform: rotate(180deg) translate( 100% , 100%);
}
.autb-hidden #stelle-top-left {
    opacity: 0;
    transform: rotate(0deg) translate( 100% , 100%);
}
.autb-hidden #stelle-bottom-right {
    opacity: 0;
    transform: rotate(180deg) translate( 100% , 100%);
}


.autb-stella {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    width: 15%;
    height: 15%;
    position: absolute;
    -webkit-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    transform: scale(1);
}

.autb-stella.autb-hidden {
    transform: scale(0);
}

.autb-stella-1 {
    background-image: url('../images/contatore/stella-1.png');
    top: 46%;
    left: 8%;
    width: 30%;
    height: 30%;
}
.autb-stella-2 {
    background-image: url('../images/contatore/stella-2.png');
    width: 22%;
    height: 22%;
    top: 24%;
    left: 0;
}
.autb-stella-3 {
    background-image: url('../images/contatore/stella-3.png');
    width: 45%;
    height: 45%;
    top: 0%;
    right: 28%;
}
.autb-stella-4 {
    background-image: url('../images/contatore/stella-2.png');
    width: 15%;
    height: 15%;
    top: 0%;
    right: 0%;
}


/* Pulsante barra */
div#autbContenitoreBarra ul#autbLinksList li.autb-contatore-btn {
    cursor: pointer;
    float: right;
    margin-right: 20px !important;
    line-height: 1;
}
.autb-contatore-btn:hover {
    background: none;
}

.autb-contatore-btn * {
    line-height: 10px
}
.autb-donaAl45594 {
    font-size: 11px !important;
    padding: 5px 0 3px !important;
    display: block;
    color: #0099ff;
}
.autb-contatore-barra {
    background: #0099ff;
    color: #fff;
    border-bottom: 3px solid #FF0099;
    padding: 8px 17px 8px 5px !important;
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    min-width: 100px;
}
.autb-contatore-barra:after {
    content: "";
    display: block;
    width: 53px;
    height: 47px;
    position: absolute;
    top: -18px;
    right: -19px;
    background: url('../images/contatore/berrettoNatale.png') no-repeat;
    background-size: 100% auto;
}

@media (max-width: 480px) {
    #autb-contatore {
        font-size: 34px;
    }
    div#autbContenitoreBarra #autb-contatoreBox img {
        max-width: 250px !important;
    }
}

@media (max-width: 920px) {
    .autb-donaAl45594 {
        display: inline-block;
    }
}

