body
{
    background-color: black;
}
.chips {
    position: absolute;
    top: 110px;
    height: 100px;
}

.gradientBG {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+30,efefef+30,ffffff+100,ffffff+100 */
    background: #fff; /* Old browsers */
    background: -moz-linear-gradient(top, #fff 0%, #fff 33%, #f1f5f7 33%, #eef1f2 100%, #eef1f2 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #fff 0%, #fff 33%, #f1f5f7 33%, #eef1f2 100%, #eef1f2 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #fff 0%, #fff 33%, #f1f5f7 33%, #eef1f2 100%, #eef1f2 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0); /* IE6-9 */
}

#sfondoOpzioni {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.btnQFGenerico {
    background: #fff;
    background: -moz-linear-gradient(top, #fff 0%, #fff 33%, #f1f5f7 33%, #eef1f2 100%, #eef1f2 100%);
    background: -webkit-linear-gradient(top, #fff 0%, #fff 33%, #f1f5f7 33%, #eef1f2 100%, #eef1f2 100%);
    color: #120054 !important;
    background: linear-gradient(to bottom, #fff 0%, #fff 33%, #f1f5f7 33%, #eef1f2 100%, #eef1f2 100%);
}

svg {
    fill: #120054;
}

.testoSuPulsanteIcona {
    color: #120054;
    text-shadow: none;
    font-weight: 600;
}

.immagineSuPulsante {
    color: #120054;
    fill: #120054;
    stop-color: #120054;
}

.mascheraGenerica {
    background-color: black;
}


#indicatore_linea_vincenter {

    color: white !important;
    text-transform: uppercase;
    background-image: unset !important;
    background-size: 840px 140px;
    width: 840px !important;
    margin-left: -420px !important;
    line-height: 32px !important;
    height: 140px !important;
    top: 309px !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 700;
    font-size: 13px !important;
    text-shadow: rgba(0, 0, 0, 0) 0 0 0 !important;
    box-shadow: rgb(209, 255, 209) 0 0 0 0 !important;
    background-color: transparent !important;
}

#segnalatore_line {
    background-image: url(../img/indicatore_linee_on.png);
    line-height: 90px !important;
    font-size: 25px !important;
    height: 90px !important;
    width: 90px !important;
    background-size: 90px 90px;
    background-color: transparent !important;
    box-shadow: unset !important;
    color: #ffffff;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: bolder;
    text-shadow: 0px 2px 0px #000;
}


#sfondo_bw {
    opacity: 0 !important;
}

#BIGWIN {
    z-index: 116 !important;
}

#FS_completo {
    color: #6F6F6F;
    font-size: 35px !important;
}

.alert_barra_superiore {
    background: #206b9e !important;
    background-color: #206b9e !important;
}

.alert_barra_inferiore {
    background: #12487e !important;
    background-color: #12487e !important;
}

#maschera_fp_container {
    border: 1px solid #12487e !important;
}

#clipAlert {
    border: 1px solid #12487e !important;
}

#clipFondi {
    border: 1px solid #12487e !important;
}

#valore_fondi_aggiunti {
    border: 1px solid #12487e !important;
}


.barca {
    animation-name: barcaOscilla;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes barcaOscilla {
    0% {
        transform: rotate(-5deg) translate(0px, 3px);
    }
    50% {
        transform: rotate(5deg) translate(0px, 0px);
    }
    100% {
        transform: rotate(-5deg) translate(0px, 3px);
    }
}


.pesce_pedana_ani {
    background-repeat: no-repeat;
    position: absolute;
    left: 0px;
    width: 100px;
    height: 80px;
    background-image: url("../img/BN/pesce_dx_10fr.png");
    animation: playPesceAni 1s steps(10) infinite;
}

.pesce_rulli_ani {
    background-repeat: no-repeat;
    position: absolute;
    left: 0px;
    width: 100px;
    height: 80px;
    background-image: url("../img/BN/pesce_dx_10fr.png");
    animation: playPesceAni 0.8s steps(10) infinite;
}

@keyframes playPesceAni {
    from {
        background-position: 0px;
    }
    to {
        background-position: -1000px;
    }
}


.flickering {

    animation: flickerAnimation60 0.6s infinite;
}
.flickeringSfere {

    animation: flickerAnimationSfere 3s infinite;
/*    animation: flickerAnimation60 0.6s infinite;*/
}

@keyframes flickerAnimationSfere {
    0% {
        opacity: 0.0;
    }
    10% {
        opacity: 0.0;
    }


    40% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    60% {
        opacity:1;
    }
    90% {
        opacity: 0.0;
    }
    100% {
        opacity: 0.0;
    }
}

@keyframes flickerAnimation60 {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}



.cube {
    width: 100px;
    height: 100px;
    position: absolute;
    transform-style: preserve-3d;
    z-index: 110;
    transform-origin: 50% 50%;
    transform-origin: center center;
}

.cube figure {
    margin: 0;
    width: 96px;
    height: 96px;
    display: block;
    position: absolute;
    border: 2px solid rgba(255, 0, 0, 0.6);
    font-size: 50px;
    line-height: 96px;
    text-align: center;
}

.cube figure {
    display: block;
    position: absolute;
    width: 96px;
    height: 96px;
    line-height: 96px;
    font-size: 30px;
    font-weight: bold;
    color: white;
    text-align: center;
    opacity: 1;
}

.cube.panels-backface-invisible figure {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}


.cube .front {
    background: red;
    box-shadow: inset 0 0 4px #ccc;
    border-radius: 14px;
}

.cube .back {
    background: red;
    box-shadow: inset 0 0 4px #ccc;
    border-radius: 14px;
}

.cube .right {
    background: red;
    box-shadow: inset 0 0 4px #ccc;
    border-radius: 14px;
}

.cube .left {
    background: red;
    box-shadow: inset 0 0 4px #ccc;
    border-radius: 14px;
}

.cube .top {
    background: red;
    box-shadow: inset 0 0 4px #ccc;
    border-radius: 14px;
}

.cube .bottom {
    background: red;
    box-shadow: inset 0 0 4px #ccc;
    border-radius: 14px;
}

.cube .front {
    -webkit-transform: translateZ(50px);
    -moz-transform: translateZ(50px);
    -o-transform: translateZ(50px);
    transform: translateZ(50px);
}

.cube .back {
    -webkit-transform: rotateX(-180deg) translateZ(50px);
    -moz-transform: rotateX(-180deg) translateZ(50px);
    -o-transform: rotateX(-180deg) translateZ(50px);
    transform: rotateX(-180deg) translateZ(50px);
}

.cube .right {
    -webkit-transform: rotateY(90deg) translateZ(50px);
    -moz-transform: rotateY(90deg) translateZ(50px);
    -o-transform: rotateY(90deg) translateZ(50px);
    transform: rotateY(90deg) translateZ(50px);
}

.cube .left {
    -webkit-transform: rotateY(-90deg) translateZ(50px);
    -moz-transform: rotateY(-90deg) translateZ(50px);
    -o-transform: rotateY(-90deg) translateZ(50px);
    transform: rotateY(-90deg) translateZ(50px);
}

.cube .top {
    -webkit-transform: rotateX(90deg) translateZ(50px);
    -moz-transform: rotateX(90deg) translateZ(50px);
    -o-transform: rotateX(90deg) translateZ(50px);
    transform: rotateX(90deg) translateZ(50px);
}

.cube .bottom {
    -webkit-transform: rotateX(-90deg) translateZ(50px);
    -moz-transform: rotateX(-90deg) translateZ(50px);
    -o-transform: rotateX(-90deg) translateZ(50px);
    transform: rotateX(-90deg) translateZ(50px);
}


#piano_prosettico {

    position: absolute;
    left: 0px;
    top: 90px;
    width: 200px;
    height: 200px;

    perspective-origin: 50% 50%;

    transform-style: preserve-3d;

    transform-origin: 50% 50%;


    transform: perspective(1400px) scaleX(0.92) scaleY(0.92) scaleZ(0.92) rotateX(54deg) rotateY(0deg) rotateZ(61deg);

    pointer-events: auto;
    cursor: pointer;
    z-index: 9999;


}


.diamanti {
    height: 225px;
    width: 225px;
    animation-name: diamantiSprite;
    animation-duration: 1.5s;
    animation-timing-function: steps(20);
    animation-iteration-count: infinite;
    position: absolute;
    left: 50%;
    margin-left: -125px;
    z-index: 3;
    top: 90px;
}

@keyframes diamantiSprite {
    from {
        background-position: 0px;
    }
    to {
        background-position: -9000px;
    }
}

#spawnPoint {
    width: 400px;
    position: absolute;
    bottom: 0;
    height: 100px;
    left: 50%;
    margin-left: -200px;
    z-index: 3;
}


#spawnPointA {
    width: 400px;
    position: absolute;
    bottom: 0;
    height: 100px;
    left: 50%;
    margin-left: -200px;
    z-index: 1;
}





#fogwrapper {
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
#foglayer_01,#foglayer_02,#foglayer_03 {
    height: 100%;
    position: absolute;
    width: 100%;
    pointer-events: none;
}

#foglayer_01 {
    animation-direction: alternate-reverse;
    -webkit-animation-direction: alternate-reverse;
    -webkit-animation: foglayer_01_opacity 10s linear infinite,foglayer_moveme 15s linear infinite;
    -moz-animation: foglayer_01_opacity 10s linear infinite,foglayer_moveme 15s linear infinite;
    animation: foglayer_01_opacity 10s linear infinite,foglayer_moveme 15s linear infinite
}

#foglayer_02 {
    -webkit-animation-direction: alternate-reverse;
    animation-direction: alternate-reverse;
    -webkit-animation: foglayer_02_opacity 50s linear infinite,foglayer_moveme 13s linear infinite;
    -moz-animation: foglayer_02_opacity 50s linear infinite,foglayer_moveme 13s linear infinite;
    animation: foglayer_02_opacity 50s linear infinite,foglayer_moveme 13s linear infinite
}

.fogImg
{
    height: 100%;
    position: absolute;
    width: 100%;
    pointer-events: none
}


/*
#foglayer_01,#foglayer_02,#foglayer_03 {
    height: 100%;
    position: absolute;
    width: 100%;
    pointer-events: none
}

#foglayer_01 .image01,#foglayer_01 .image02,#foglayer_02 .image01,#foglayer_02 .image02,#foglayer_03 .image01,#foglayer_03 .image02 {
    float: left;
    height: 100%;
    width: 110%
}

#foglayer_01 {
    animation-direction: alternate-reverse;
    -webkit-animation-direction: alternate-reverse;
    -webkit-animation: foglayer_01_opacity 10s linear infinite,foglayer_moveme 15s linear infinite;
    -moz-animation: foglayer_01_opacity 10s linear infinite,foglayer_moveme 15s linear infinite;
    animation: foglayer_01_opacity 10s linear infinite,foglayer_moveme 15s linear infinite
}

#foglayer_02,#foglayer_03 {
    -webkit-animation-direction: alternate-reverse;
    animation-direction: alternate-reverse;
    -webkit-animation: foglayer_02_opacity 50s linear infinite,foglayer_moveme 13s linear infinite;
    -moz-animation: foglayer_02_opacity 50s linear infinite,foglayer_moveme 13s linear infinite;
    animation: foglayer_02_opacity 50s linear infinite,foglayer_moveme 13s linear infinite
}

#foglayer_01 .image01,#foglayer_01 .image02 {
    background: url("../img/fog1.png") no-repeat transparent;
    background-size:100% 100%;

}

#foglayer_02 .image01,#foglayer_02 .image02,#foglayer_03 .image01,#foglayer_03 .image02 {
    background: url("../img/fog2.png") no-repeat transparent;
    background-size:100% 100%;
}

*/

@keyframes foglayer_01_opacity {
    0% {
        opacity: .1
    }

    22% {
        opacity: .5
    }

    40% {
        opacity: .28
    }

    58% {
        opacity: .9
    }

    80% {
        opacity: .5
    }

    100% {
        opacity: .1
    }
}


@keyframes foglayer_02_opacity {
    0% {
        opacity: .5
    }

    25% {
        opacity: .7
    }

    50% {
        opacity: .9
    }

    80% {
        opacity: .6
    }

    100% {
        opacity: .5
    }
}

@keyframes foglayer_03_opacity {
    0% {
        opacity: .8
    }

    27% {
        opacity: .2
    }

    52% {
        opacity: .8
    }

    68% {
        opacity: .3
    }

    100% {
        opacity: .8
    }
}

@keyframes foglayer_moveme {
    0% {
        left: 100%
    }

    100% {
        left: -120%
    }
}

@media only screen and (min-width: 280px) and (max-width:767px) {
    #foglayer_01 .image01,#foglayer_01 .image02,#foglayer_02 .image01,#foglayer_02 .image02,#foglayer_03 .image01,#foglayer_03 .image02 {
        width:100%
    }
}


#canvas_libro.mov {
    animation: mov2 10s linear reverse infinite;
}

@keyframes mov2 {

    0% { transform: rotate(0deg) translateX(10px) rotate(0deg); }

    50%   { transform: rotate(180deg) translateX(-10px) rotate(-180deg); }


    100%   { transform: rotate(360deg) translateX(10px) rotate(-360deg); }

}

#indicatore_linea_vincenter.alto
{
top:    120px !important;
}
#indicatore_linea_vincenter.basso
{
top:    430px !important;
}




.zoom-in-out-element {
    animation: zoom-in-zoom-out 1s ease 1;
}

@keyframes zoom-in-zoom-out {
    0% {
        scale: 100%;
    }
    50% {
        scale: 130%;
    }
    100% {
        scale: 100%;
    }
}
