.page-build {
    display: none;
}

.header-light .header-logo, .footer-light .footer-logo {
    background-image: url(../images/logo-dark.png);
}

.header-dark .header-logo, .footer-dark .footer-logo {
    background-image: url(../images/logo-light.png);
}

.header .header-logo {
    background-size: 150px 30px;
    width: 146px;
    margin-left: -58px;
    color: #FFFFFF;
}

.footer .footer-logo {
    background-size: 120px 28px;
    width: 100%;
    height: 32px;
    margin: 0 auto;
}

.menu-header .menu-logo {
    background-image: url(../images/logo.png);
    background-color: rgba(255,255,255,0.05);
    padding: 5px;
    border: solid 1px rgba(0,0,0,0.1);
    border-radius: 100px;
    background-size: 80px 80px;
    background-repeat: no-repeat;
    background-position: center center;
    width: 90px;
    height: 90px;
    z-index: 10;
    display: block;
    margin: 20px auto 15px auto;
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.is-hide {
    display: none;
}



#helperInstall {
    border-radius: 15px;
    margin: 0px -44%;
    width: 90%;
    height: 72px;
    background: #efefef;
    color: black;
    padding: 9px 20px;
    text-align: center;
}



#helperInstallSopra {
    border-radius: 15px;
    margin: -14% -44%;
    width: 90%;
    height: 72px;
    background: #efefef;
    color: black;
    padding: 9px 14px;
    text-align: center;
}

.toast-triangle {
    width: 0;
    height: 0;
    /* z-index: 20; */
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #efefef;
    margin: -1% 43%;
}

.toast-triangle-firefox {
    width: 0;
    height: 0;
    /* z-index: 20; */
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #efefef;
    margin: -8% 99%;
}

.toast-triangle-samsung {
    width: 0;
    height: 0;
    /* z-index: 20; */
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #efefef;
    margin: -18% 83%;
}

.toast-triangle-ipad {
    width: 0;
    height: 0;
    /* z-index: 20; */
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #efefef;
    margin: -18% 83%;
}

@media only screen and (min-width : 375px) and (min-device-pixel-ratio: 2) {
    .toast-triangle {
        width: 0;
        height: 0;
        /* z-index: 20; */
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-top: 20px solid #efefef;
        margin: -1% 43%;
    }
}





/*iPad 5*/

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    #helperInstallSopra {
        border-radius: 15px;
        margin: -4% -43%;
        width: 90%;
        height: 72px;
        background: #efefef;
        color: black;
        padding: 9px 14px;
        text-align: center;
    }

    .toast-triangle-ipad {
        width: 0;
        height: 0;
        /* z-index: 20; */
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-left: 20px solid #efefef;
        margin: -9% 84%;
    }
}


@media only screen and (min-device-width: 414px) and (-webkit-min-device-pixel-ratio: 2) {
    .toast-triangle {
        width: 0;
        height: 0;
        /* z-index: 20; */
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-top: 20px solid #efefef;
        margin: 9% 43%;
    }


    /*iPad e Tablet*/
    @media screen and (min-width:768px) {
        .toast-triangle {
            width: 0;
            height: 0;
            /* z-index: 20; */
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
            border-top: 20px solid #efefef;
            margin: 6% 43%;
        }
    }
}


.page-content.header-clear-larger {
    margin: 0 20%;
}


@media screen and (max-width: 889px) {
    .page-content.header-clear-larger {
        margin: 0;
    }
}


#helperPass p, #helperUsername p {
    margin-bottom: 0px;
}

@media screen and (max-width: 450px) {
    #helperPass p, #helperUsername #helperExistsUsername p {
        margin-bottom: -12px;
    }
}

#premiNonRitirati {
    width: 15%;
}

@media screen and (min-width: 767px) {
    #premiNonRitirati {
        width: 8%;
    }
}

@media screen and (min-width: 1439px) {
    #premiNonRitirati {
        width: 4%;
    }
}


/*Gestione Camera QRCode*/
#qr-reader > div:nth-child(1) {
    display: none;
}

#qr-reader__scan_region img {
    display: inline;
}

#qr-reader__filescan_input {
    display: none;
}


#btn-playcode {
    position: fixed;
    display: none;
    bottom: 20px;
    width: 72px;
    height: 72px;
    right: 14px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background: rgb(72,152,0);
    background: linear-gradient(0deg, rgba(72,152,0,1) 0%, rgba(121,255,0,1) 100%);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 58px;
}

    #btn-playcode p {
        width: 90px;
        position: relative;
        right: 25px;
        text-align: CENTER;
        color:white;
        border-radius: 15px;
        background: rgb(152,99,0);
        background: linear-gradient(0deg, rgba(152,99,0,1) 0%, rgba(255,213,0,1) 100%);
    }

    #btn-playcode i {
        position: relative;
        left: 24%;
    }

@media screen and (min-width: 768px){
    #btn-playccode {
        position: fixed;
        right: 128px;
    }
}

/*Immagini raccolta punti*/
div [id^='img_raccolta_'], div [id^='img_catalogo_'] {
    width: 100%;
    margin-bottom: 32px;
}

/*Classe Div infopunti*/

.infopunti 
{
    display: flex;
    justify-content: space-around;
}

.infopunti span
{
    width: 100%
}

.infopunti span:nth-child(odd)
{
    text-align:left !important;
}

.infopunti span:nth-child(even)
{
        text-align: right !important;
 }

.box_premio 
{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}



.box_premio 
{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
    align-items: flex-start;
}


.box_premio div:nth-child(1) {
    order: 0;
    padding:16px;
    text-align: center;
    width: 280px;
    flex: 0 1 auto;
    align-self: center;
}

.box_premio div:nth-child(2) {
    order: 0;
    flex: 0 1 auto;
    align-self: center;
}

.box_premio div:nth-child(3) {
    order: 0;
    flex: 0 1 auto;
    align-self: center;
}

.box_premio:nth-child(3) a {
    text-align: center;
}


.code-to-play 
{
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;
}

.code-to-play p
{
    font-weight: bolder;
    font-size: 1.3em;
}


@media screen and (min-width: 1024px) {

    .code-to-play
    {
        flex-direction: row;
    }

    .code-to-play p {
        margin-top: 25px;
        padding-left: 15px;
        padding-right: 15px;
        flex:1;
    }


}


.no_point {
    width: auto;
    height: auto !important;
    line-height: 13px !important;
}


.action {
    position: fixed;
    bottom: 50px;
    right: 41px;
    background: rgb(9,9,121);
    background: linear-gradient(0deg, rgba(9,9,121,1) 0%, rgba(0,212,255,1) 91%, rgba(17,192,255,1) 96%, rgba(0,158,255,1) 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 200;
    box-shadow: 0 5px 5px rgba(0,0,0,0.1);
}

    .action span {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        border-radius: 50%;
        align-items: center;
        color: #f2f2f2;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bolder;
        font-size: 32px;
        transition: 0.3s ease-in-out;
    }

        .action span i {
            animation: movie1 5s infinite ease-out;
        }

        .action.active span i
        {
            animation: none;
        }


    /*.action.active span {
        transform: rotate(-90deg);
    }*/

        .action span span 
        {
            position: absolute;
            display: none;
            font-size: 0.4em;
            bottom: 35px;
            left: 32px;
            background-color: red;
            border: 3px solid white;
            width: 24px;
            height: 24px;
            transition: none;
        }

    .action li span {
        position: absolute;
        display: none;
        font-size: 0.8em;
        bottom: 35px;
        left: 190px;
        background-color: red;
        border: 3px solid white;
        box-shadow: 0px 2px 3px 1px grey;
        width: 24px;
        height: 24px;
        transition: none;
    }

    .action ul {
        position: absolute;
        bottom: 0px;
        right: 0;
        min-width: 250px;
        background-color: white;
        padding: 20px;
        border-radius: 20px;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    .action.active ul {
        opacity: 1;
        visibility: visible;
        bottom: 55px;
        transition: 0.3s;
    }

    .action ul li {
        list-style-type: none;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 10px 0;
        transition: 0.3s;
    }

    .action ul li i
    {
       margin-right: 8px;
    }

        .action ul li a {
            text-decoration: none;
            color: black;
        }



        .action ul li:hover:not(:first-child) {
            font-weight: 600;
        }

        .action ul li:not(:last-child) {
            border-bottom: 1px solid rgba(0,0,0,0.1);
        }


.box_btn_premio {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-around;
    align-items: center;
}

.box_btn_premio legend
{
    margin: 0 auto;
}

@keyframes movie1 {

    0%,60%,100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(-15deg);
    }

}

@media screen and (min-width: 768px) {
    .no_point {
        width: 70%;
        height: 100% !important;
        line-height: 49px !important;
    }

    .box_premio {
        width: 96%;
    }
}

@media screen and (min-width: 1024px) {
    .no_point {
        width: 94%;
        height: 100% !important;
        line-height: 49px !important;
    }
    .code-to-play p {
        margin-top: 25px;
        padding-left: 15px;
        padding-right: 15px;
    }
}
