/*SEZIONE FONT*/
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,900,400italic);
@import url(https://fonts.googleapis.com/css?family=Philosopher:400,400italic,700,700italic);
/*FINE SEZIONE FONT*/

:root {
    --colorPrimaryDark: #5e5951;
    --colorPrimary: #f0eeee;
    --colorAccent: #80c8c0;
    --colorAccentLight: #e0f1f0;
    --pink: #f49f75;
    --white: #FFFFFF;
    --white_dirty: #fafafa;
    --disabled_grey: #e6e6e6;
    --grey: #a8a8aa;
    --darkYellow: #ffc602;
    --red: #ed0a0e;
    --lovbyPurple: #7f72b8;
    --light_blue: #9ce6dc;
    --rapidGreen: #55968f;
}

*
{
 margin:0;
 padding:0;
}
body, html
{
 font-family: 'Lato', sans-serif;
 width:100%;
 height:100%;
 font-size:14px;
 color: var(--colorPrimaryDark);
}

.no-margin{
    margin:0;
}

.text-uppercase{
    text-transform:uppercase;
}

.font-bold{
    font-weight:bold;
}

.font-italic{
    font-style:italic;
}

.colorAccent {
    color: var(--colorAccent);
}

#footer-first-block a {
    color: var(--colorPrimaryDark);
    text-decoration: none;
}

.backgroundColorDisabledGrey{
    background-color: var(--disabled_grey) !important;
}

.backgroundColorAccent {
    background-color: var(--colorAccent) !important;
}

.colorPrimaryDark{
    color: var(--colorPrimaryDark) !important;
}

.colorAccent{
    color: var(--colorAccent) !important;
}

.colorGrey{
    color: var(--grey) !important;
}

.colorDisabledGrey {
    color: var(--disabled_grey) !important;
}

.colorRed {
    color: var(--red) !important;
}

.colorDarkYellow {
    color: var(--darkYellow) !important;
}

.colorPink{
    color: var(--pink) !important;
}

a {
    color: var(--colorAccent);
    text-decoration: none;
}
    

a:active, a:hover {
    color: var(--light_blue);
    text-decoration: none;
    outline: 0;
}

.istr-data a:hover {
    color: var(--rapidGreen);
    text-decoration: none;
    outline: 0;
}

#text-danger a:hover {
    color: var(--light_blue);
}

#contBottPurchase a:hover {
    color: var(--light_blue);
    text-decoration: none;
    outline: 0;
}

.link-azz {
    text-decoration: underline;
    color: var(--colorAccent);
    text-transform: initial;
    font-family: 'Philosopher',sans-serif;
}
i {
 /*margin: 0px 13px;*/
 margin: 0px 9px;
 font-size: 18px !important;
 cursor: pointer;
}
h1 {
 margin:inherit;
 font-size:30px;
 margin-top: 0px;
 margin-bottom:0px;
 font-weight:bold !important;

}
h2 {
 font-size:20px;
 font-weight: bold;
 display: inline-block;
}
h3 {
 font-size:9px;
 line-height: 100%;
}
img {
 border: 0px none;
}
b {
 /*text-transform: uppercase;*/
 line-height: 19px;
 font-weight:700;
}
table {
 border-collapse:collapse;
 border-spacing: 0px;
 width:100%;
 height:100%;
}
.checkbox-align {
 position: absolute;
 bottom:0;
}

#loader2 {
 display: block;
 margin: 20px auto;
}
#descrizione-premio ul{
    padding: 5px 25px;
}

.font10px{
    font-size:10px;
}

/*LOGHI*/

#logo-top {
 display:none;
}
/*input {
height:33px;
padding: 0px 8px;
}*/
.reg {
 box-sizing:border-box;
}
#scadenza {
 float:right;
}
/*ELEMENTI ILLUMINATI CON HOOVER*/
.menu-titolo:hover, .bottone:not(.nohover):hover, .sensarea:hover, .btn-light:hover, .active{
 background-color: var(--light_blue);
}
/*PULSANTI*/
.bottone {
    display: inline-block;
    cursor: pointer;
    border: 1px solid transparent;
    -moz-user-select: none;
    border-color: #BFBFBF #5B9E96 #5B9E96 #BFBFBF;
    color: var(--white);
    background: var(--colorAccent) none repeat scroll 0% 0%;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    box-sizing: border-box;
}
.bottone-dark {
    cursor: pointer;
    border: 1px solid transparent;
    border-color: var(--grey);
    color: var(--disabled_grey);
    background: var(--white_dirty) none repeat scroll 0% 0%;
}

/*SLIDER----------------------------------------------------------------------------------------------------*/
.slideheader {
 width:1024px;
 height:90px;
 display:inline-block;
 box-sizing:border-box
}

.slide {
    width: 1024px;
    height: 90px;
    background-color: var(--disabled_grey);
    text-align: center;
    line-height: 90px;
    font-size: 24px;
    position: absolute;
    top: 0;
}
.testoSlide {
 font-weight:lighter;
 cursor:default;
}

.pallino {
 margin-right:10px;
 cursor:pointer;
}
#contenitorePallini {
 position:absolute; z-index:200; height:30px; line-height:30px; font-size:14px; top:32px; right:40px;
}

#contenitoreSlide {
 width:1024px; height:90px; overflow:hidden; position:fixed; top:0px; z-index:300; margin-left:-512px; left:50%;
}

#contenitoreInternoSlide {
    height: 90px;
    background-color: var(--disabled_grey);
    position: relative;
    z-index: 100;
}
/*PROFILO---------------------------------------------------------------------------------------------------*/
/*NUOVO CONTAINER SPALLA*/
#spalla {
 position:fixed;
 top:90px; bottom:0;
 width:270px;
 text-align:center;
 box-sizing:border-box;
 padding:5px 20px;
 min-height:570px;
 z-index: 1;
 display: -ms-flexbox;
 display: -webkit-flex;
 display: flex;
 -webkit-flex-direction: column;
 -ms-flex-direction: column;
 flex-direction: column;
 -webkit-justify-content: space-around;
 -ms-flex-pack: distribute;
 justify-content: space-around;
}

#profile {
 position: relative;
 height: 154px;
}
.name {
 font-size: 21px;
 font-family: 'Philosopher',sans-serif;
 font-weight: bold;
 line-height: 110%;
 text-transform: initial;
 margin-top: 11px;
}
.avatar {
 width: 270px;
 height: 196px;
 overflow: hidden;
 position: relative;
 right:20px;
}
.mask {
    background: transparent url(../imgs/propic_mask.png) no-repeat scroll 0% 0%;
    height: 154px;
    width: 270px;
    position: absolute;
    top: 0px;
    left: 0;
}

/*GRAFICO*/
.influence-graph {
 position: relative;
}
#donut {
 margin: 0 auto;
 height:70px;
}
.graph-num {
 position: absolute;
 font-size: 30px;
 font-weight: bold;
 bottom: 0px;
 left: 0;
 width: 100%;
 text-align: center;
}
.punti-lovies {
 padding: 18px 0px 11px 40px;
 text-align:left;
}

/*ATTIVITA' MESE*/
.social-tab {
    display: inline-block;
    margin: 0px 3%;
    color: var(--colorPrimaryDark);
}
.tab table{
    width:100%;
}
.tab tr{
    height:30px;
}
.tab td {
    font-weight: bold;
}

/*CONTAINER RIGHT----------------------------------------------------------------------------------------------*/
#container-right {
 max-width:754px;
 position:absolute;
 left:270px; top:0; right:0;
 z-index: 2;
}
/*MENU MOBILE--------------------------------------------------------------------------------------------------*/
#top-header {
 background-color:#FFF;
 display:none;
 width:100%;
}
#ranker-mobile {
    background-color: rgba(229, 229, 229, 0.49);
    height: 20px;
    width: 100%;
    line-height: 20px;
    display: none;
    border-bottom: 1px solid #FFF;
}
/*MENU---------------------------------------------------------------------------------------------------------*/
#mainmenu {
    top: 90px;
    width: 100%;
    display: block;
    padding-left: 270px;
    margin: auto;
    max-width: 1024px;
    /*position: fixed;*/
    z-index: 10;
    box-sizing: border-box;
}
#menu {
    max-width: 754px;
    width: 100%;
    background-color: var(--colorAccent);
    z-index: 500;
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    height: 45px;
    position: relative;
    font-weight: bold;
    color: var(--white);
}
.menu-subline {
 display:inline;
}
#menu > div {
 display:inline-block;
 float:left;
 height:100%;
 cursor: pointer;
 padding:10px 0;
 line-height:25px;
 text-align:center;
 box-sizing:border-box;
}


#menu div:hover .menu-subline {
    border-bottom: var(--white) 1px solid;
}
#menu div:hover .subMenu, .subMenuOver {
 display:block;
 opacity: 1;
 visibility:visible;
 z-index:1;
}

#menu div:hover .subMenu-mobile, .subMenu-mobileOver {
    display: block;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

#menu div:hover #main-msg {
 display:block;
 opacity: 1;
 visibility:visible;
 z-index:1;
}

.subMenu {
    list-style: none;
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    right: 0;
    width: 240px;
    top: 45px;
    padding-bottom: 5px;
    font-weight: normal;
    font-size: 16px;
    background-color: var(--light_blue);
    line-height: 30px;
    color: var(--colorPrimaryDark);
    border-radius: 0px 0px 4px 4px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176);
}
.subMenu-mobile {
    list-style: none;
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    right: 0;
    width: 240px;
    top: 16vmin;
    padding-bottom: 5px;
    font-weight: normal;
    font-size: 16px;
    background-color: var(--light_blue);
    line-height: 30px;
    color: var(--colorPrimaryDark);
    border-radius: 0px 0px 4px 4px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176);
}
.subMenu a:hover {
    background-color: var(--colorAccent);
}

.subMenu a {
    color: var(--colorPrimaryDark) !important;
    display: block;
}
.subMenu-mobile a {
    color: var(--colorPrimaryDark) !important;
    display: block;
}
.subMenu a:hover {
    color: var(--white);
    background-color: var(--colorAccent);
}

.profile-end {
 font-size:12px;
 color: var(--colorPrimaryDark);
 background-color: var(--colorAccent);
}
.profile-end a:hover{
 color: var(--white);
}

.linea-menu {
 width: 90%;
 height: 1px;
 background-color: var(--white);
 margin: 0px auto;
 opacity: 0.6;
}
/*ACTION MENU---------------------------------------------------------------------------------------------------------*/
#action_menu{
    max-width:754px;
    width: 90%;

    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content:space-between;

    height:102px;
    position:relative;
    color: var(--grey);
    margin: 0 auto;
    border-bottom: solid 1px var(--disabled_grey);
}

#action_cover{
    max-width:754px;
    width: 100%;

    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content:space-between;

    height:270px;
    position:relative;
    color: var(--grey);
    margin: 0px;
    padding: 0px;
    float:right;
}

.action-menu-slot, .action-menu-slot2{
    -ms-flex:1 1 auto; 
    -webkit-flex:1 1 auto; 
    flex: 1 1 auto; 
    padding: 8px 0px;
        
    text-align: center;
    display: inline-block;
    font-size: 10.5px;
    width: 62px;
    margin: 0px 8px;
    height: 93px;
}
.action-menu-slot:hover{
    opacity: .5;
}
.action-imgsmall{
    position: relative;
    top: -60px;
    z-index: -1;
    height:60px;
}
.action-title{
    position: relative;
    top: -60px;
}
.action-circle{
    cursor:pointer;
}
.action-titlebrand{
    font-size: 22px;
    font-weight: initial;
    -ms-flex:1 1 auto; 
    -webkit-flex:1 1 auto; 
    flex: 1 1 auto; 
    text-align: left !important;
    margin-left: -48px;
    padding: 8px 0 !important;
    cursor:default !important;
}
.action-circlebrand{
    position: relative;
    top: -28px;
    left: 22px;
}

.action-love{
    position: relative;
    left: 21px;
    z-index:1;
}
.action-block{
    position: relative;
    height: 90px;
    /*top:-18px;*/
}
.action-button{
    background-color: var(--white);
    width: 175px;
    position: relative;
    top: -51px;
    left: -13px;
    float: right;
    vertical-align: middle;
    text-align: center;
    height: 34px;
    cursor:pointer;
}
.action-button span{
    vertical-align: middle;
    position: relative;
    top: -8px;
    display: inline;
}
.action-button img{
    display: inline;
    position: relative;
    top: 2px;
}
.action-menubrand{
    position:relative;
    background-color:transparent;
    float:right;
}
#action-imgsmall2{
    position: relative;
    top: -28px;
    left: -64px;
    height: 84px;
}
.action-subMenu {
 list-style:none;
 display:none;
 opacity:0;
 visibility:hidden;
 position:absolute;
 right:0;
 width:240px;
 top:45px;
 padding-bottom:5px;
 font-weight: normal;
 font-size: 16px;
 line-height: 30px;
 border-radius: 0px 0px 4px 4px;
 box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176);

}
.action-subMenu a:hover {
  opacity:0.5;
 /*background-color:#7BCEC4;*/
}

.action-subMenu a {
 display: block;
}
.action-subMenu a:hover {
 color: var(--white);
 opacity:0.5;
 /*background-color: #7BCEC4;*/
}
#menu div:hover .action-subMenu {
 display:block;
 opacity: 1;
 visibility:visible;
 z-index:1;
}
.action-totallovers{
    width:auto; 
    display: inline-block;
    margin: 0px 8px;
    cursor:pointer;
    font-weight: initial;
}

#action-remove{
    cursor:pointer !important;
}

/*PROFILO ICONA PICCOLA*/

.profilo2, .mask2 {
 position:absolute;
 height:20px; width:18px;
 left:0; top:0;
}
.mask2 {
 background-image: url(../imgs/profilo_menu2.png); background-size:contain;
}
.subMenu a:hover .mask2{
 background-image: url(../imgs/profilo_menu.png);
}
/*FINE NUOVO MENU--------------------------------------------------------------------------*/

/*BOX MESSAGGI*/
.messaggio {
 min-height: 75px;
 padding: 10px;
 box-sizing:border-box;
 position:relative;
 border-bottom: 1px solid var(--light_blue);
 cursor:initial;
}
#main-msg {
 display:none;
 max-width: 450px;
 max-height: 380px;
 background-color: var(--light_blue);
 position: absolute;
 top: 45px;
 left:0px;
 color: var(--colorPrimaryDark);
 box-sizing:border-box;
 border: solid 1px var(--colorAccent);
 width:100%;
}
#main-msg #message-container {
 width: 100%;
 max-height: 225px;
 overflow: auto;
 background-color: var(--white);
}
#main-msg #message-container .messaggio{

}

.chiudi-messaggio {
    position: absolute;
    cursor: pointer;
    right: 5px;
    top: 2px;
    z-index: 3;
    color: var(--colorAccent);
}

.textBox {

 display: inline-block;
 width: 100%;
}
.img-place {
 width: 90px;
 float: left;
 border-style: solid;
 border-color: var(--colorAccent);
 border-width: 1px;
}
.textBox p {
 margin-left: 10px;
 text-align: left;
 white-space: nowrap;
 overflow: hidden;
 position: relative;
 display: block;
 font-weight: normal;
 line-height: 16px;
}
.textBox p.title {
 padding:0px;
 font-weight: bold;
}
.messaggio a {
    text-decoration: underline;
    color: var(--colorAccent);
    position: absolute;
    right: 5px;
    bottom: 10px;
}
#main-msg #ending {
 height: 14px;
 width: 100%;
 padding: 5px 0px;
 color: var(--white);
 text-align: center;
 text-decoration: none;
 cursor: pointer;
 line-height: 12px;
 background-color: var(--colorAccent);
}
#messaggi-icona{
 width: 38px;
 height: 25px;
 display: inline-block;
 background-image: url(../imgs/notifiche.png);
 background-repeat: no-repeat;
 background-position: inherit;
 box-sizing: border-box;
 padding: 2px 2px 10px 20px;
 font-size:11px;
 margin-bottom: 6px;
 margin-left: 5px;
 line-height:13px;
}

#messaggi-empty {
 display:none;
}
.nomsgs #messaggi-icona{
 background-image: url(../imgs/NOnotifiche.png);
}

.nomsgs #messaggi-icona-mobile {
    background-image: url(../imgs/icon-mobile/noMessaggi.png);
    background-position: center;
    background-size: cover;
}
#messaggi-icona-mobile {
    display: inline-block;
    background-image: url(../imgs/icon-mobile/siMessaggi.png);
    background-repeat: no-repeat;
    background-position: inherit;
    box-sizing: border-box;
    font-size: 11px;
    line-height: 13px;
    padding: 28% 24% 0% 10%;
    margin-right: -16vmin;
    background-position: center;
    background-size: cover;
}


.nomsgs #messaggi-empty {
 display:inline-block;
 box-sizing: border-box;
 cursor:default;
 padding: 25px 0px;
 border-bottom: 0 !important;
}



.nomsgs #ending {
 display:none;
}



.nomsgs .messaggio {
 display:none;
}


.msgs-subline {
 display:inline-block;
}
.msgs-subline:hover {
 border-bottom: solid 1px var(--white);
}
#message-page > div{
 margin:5px 0px;
}

/*DROPDOWN MENU SEMPLICI*/

.drop-menu {
    font-weight: normal;
    font-size: 16px;
    background-color: var(--light_blue);
    position: absolute;
    top: 46px;
    width: inherit;
    line-height: 30px;
    color: var(--colorPrimaryDark);
    border-radius: 0px 0px 4px 4px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176);
    width: 240px;
    right: 0px;
}
.drop-menu a {
 color: var(--colorPrimaryDark);
 display: block;
}
.drop-menu a:hover {
 color: #FFF;
 background-color: var(--colorAccent);
}

.profile-end {
 font-size:12px;
 color: var(--colorPrimaryDark);
 background-color: var(--colorAccent);
}
.profile-end a:hover{
 color: var(--white);
}


/*CONTENUTO DIARIO--------------------------------------------------------------------------------------------*/
.contenuto {
 margin-top: 55px;
 min-height: 650px;
 text-align: center;
 display: inline-block;
 width:100%;
 box-sizing:border-box;
 padding:20px;
}




/*ELEMENTO MISSIONI-------------------------------------------------------------------------------------------*/
#missioni {
 padding:0 !important;
}

.elem-missioni {
 background: var(--white) none repeat scroll 0% 0%;
 width: 320px;
 margin: 12px 20px;
 display: inline-block;
 position: relative;
 box-sizing: border-box;
 text-align:left;
 border-bottom: solid 1px var(--disabled_grey); 
 height:315px;
 vertical-align:bottom;
}

.elem-premio {
 background: var(--white) none repeat scroll 0% 0%;
 width: 320px;
 margin: 12px 20px;
 display: inline-block;
 position: relative;
 box-sizing: border-box;
 text-align:left;
 border-bottom: solid 1px var(--disabled_grey); 
 height:350px;
 vertical-align:bottom;
}

.mission-title {
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 5px;
}

@media screen and (min-width: 701px){
    .contenuto-homeDetails {
        margin-top: 55px;
        min-height: 650px;
        text-align: center;
        display: inline-block;
        width: 100%;
        box-sizing: border-box;
        padding: 25px;
    }
    #mobile-footer{
        display:none;
    }
    #header-mobile{
        display:none;
    }

}

@media screen and (max-width: 700px) {
    .contenuto-homeDetails {
        margin-top: 16vmin !important;
        min-height: 650px;
        text-align: center;
        display: inline-block;
        width: 100%;
        box-sizing: border-box;
    }
    #footer-first-block{
        display:none !important;
    }
    #fine-footer{
        display:none !important;
    }
    #mobile-footer {
        height: 16vmin;
        background-color: white;
        position: fixed;
        width: 100%;
        bottom: 0;
        box-shadow: 0px 1px 3px 0px #999;
        display: -webkit-flex;
        -webkit-justify-content: center;
        display: flex;
        justify-content: center;
        display: table;
        text-align: center;
    }

    .col {
        width: 33%;
        display: table-cell;
        vertical-align: middle;
    }

    .col-footer {
        width: 25%;
        display: table-cell;
        vertical-align: middle;
    }

    .col-fin {
        width: auto;
        display: table-cell;
        vertical-align: middle;
    }

    .isActive {
        color: var(--colorAccent);
    }
    .icon-mobile-footer {
        width: 30%;
        height: auto;
    }
}

    @media screen and (min-width : 521px) {
        .mission-title-mobile {
            display: none;
        }

        .mission-title-desktop {
            font-weight: 700;
            text-transform: uppercase;
            margin-top: 5px;
        }
    }


    @media screen and (max-width : 520px) {
        .mission-title-mobile {
            font-weight: 700;
            text-transform: uppercase;
            margin-top: 5px;
            font-size: 4vmin !important;
            color: #999 !important;
        }

        .mission-description-desktop {
            display: none;
        }

        .mission-title-desktop {
            display: none;
        }
    }

    .mission-description {
        overflow: hidden;
        height: 36px;
    }

.mission-description-desktop {
    overflow: hidden;
    height: 36px;
}

    .titolo-missione {
        display: inline-block;
        margin-top: 5px;
        text-transform: uppercase;
    }

    .testo-missione {
        overflow: hidden;
        height: 36px;
    }

    .info-missione {
        padding: 5px 0 8px 0;
        width: 100%;
        position: relative;
        display: inline-block;
    }

    .azione-missione {
        font-size: 20px;
        text-transform: uppercase;
        font-weight: bold;
        position: absolute;
        top: 23px;
    }

    .punti-missione {
        height: 70px;
        width: 92px;
        display: inline-block;
        float: right;
        background-image: url(../imgs/baloon.png);
        background-repeat: no-repeat;
        background-position: top right;
        box-sizing: border-box;
        /* padding: 12px 0px 0px 8px; */
        text-transform: uppercase;
        font-size: 17px;
        font-weight: bold;
        /* text-align: start; */
        /* vertical-align: bottom; */
        position: relative;
    }

    .punti-premio {
        height: 70px;
        width: 92px;
        display: inline-block;
        float: right;
        background-image: url(../imgs/baloon.png);
        background-repeat: no-repeat;
        background-position: top right;
        box-sizing: border-box;
        /* padding: 12px 0px 0px 8px; */
        text-transform: uppercase;
        font-size: 17px;
        font-weight: bold;
        /* text-align: start; */
        /* vertical-align: bottom; */
        position: relative;
    }

    .punti-baloon {
        text-align: center;
        width: 36px;
        line-height: 16px;
        position: absolute;
        display: inline;
        right: 25px;
        top: 14px;
    }

    .chiudi-missione {
        position: absolute;
        height: 35px;
        cursor: pointer;
        right: -10px;
        top: 0px;
        z-index: 3;
        display: none;
        color: var(--colorAccent);
    }
    /*ACTION BLOCK*/

    .mission-action {
        font-size: 20px;
        text-transform: uppercase;
        top: 23px;
        font-weight: bold;
    }

    .mission-data {
        display: inline-block;
        width: 100%;
        font-weight: bold;
        margin: 5px 0;
        position: relative;
    }

    @media screen and (max-width : 520px) {

        .mission-data {
            display: none;
        }

        .mission-action-mobile {
            font-size: 4.5vmin;
            text-transform: uppercase;
            top: 23px;
            font-weight: 700;
        }
    }

    @media screen and (min-width:521px) {
        .mission-action-mobile {
            display: none;
        }
    }

    .mission-data {
        display: inline-block;
        width: 100%;
        font-weight: bold;
        margin: 5px 0;
        position: relative;
    }


    /*PREMI----------------------------------------------------------------------------------------*/
    #premi {
        padding: 0 !important;
    }

    .premio-bloccato img, .premio-bloccato .link-azz {
        opacity: 0.4;
        filter: alpha(opacity=60);
    }

    .premio-bloccato .lucchetto {
        display: initial;
    }

    .titolo-premio {
        font-size: 20px;
        font-weight: bold;
        text-transform: uppercase;
        min-height: 48px;
        display: inline-block;
        vertical-align: top;
    }

    .info-premio {
        position: relative;
        height: 58px;
        padding: 8px 0;
    }

    .prezzo-premio {
        display: inline-block;
        position: absolute;
        top: 17px;
        right: 0;
        text-align: right;
        line-height: 20px;
    }

    .lucchetto {
        font-family: 'Philosopher',sans-serif;
        display: none;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--colorAccent);
        text-align: center;
        color: var(--white);
        z-index: 1;
        padding: 2px 0;
    }

    .richiedi-premio {
        position: absolute;
        top: 30%;
        left: 0;
        padding: 5px;
        background-color: #FFF;
        color: var(--colorPrimaryDark);
        text-align: center;
        display: none;
        width: 70%;
        margin: 0 15%;
    }

    #prize-lovies {
        display: inline-block;
        position: relative;
        padding: 20px 26px 0 0;
        line-height: 20px;
        text-align: center;
        vertical-align: middle;
        margin: 0 20px;
    }

        #prize-lovies > img {
            width: 30px;
            position: absolute;
            right: 0;
            top: 0;
        }
    /*ILLUMINA ELEMENTO*/
    .sensarea {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        display: block;
        cursor: pointer;
        text-align: center;
        opacity: 0.45;
        z-index: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=45)";
    }
    /*DETAGLI PREMIO----------------------------------------------------------------------*/
    .separator {
        text-transform: uppercase;
        padding: 20px 0px;
    }

    .anteprima-premio {
        text-transform: uppercase;
        border-right: solid 1px var(--disabled_grey);
        padding: 0px;
        width: 210px;
    }

    .anteprima-premio .link-azz {
        line-height: 26px;
        font-size: 14px;
    }

    .premio-img {
        position: relative;
    }

    .lovcoin-big {
        position: absolute;
        top: 20px;
        right: 0px;
        width: 84px;
        height: 73px;
        background-image: url(../imgs/baloon_green_big.png);
        background-repeat: no-repeat;
        box-sizing: border-box;
        padding: 22px 38px 19px 11px;
        text-align: center;
        line-height: 12px;
        text-transform: uppercase;
        font-size: 17px;
        font-weight: bold;
    }

    .lovcoin-small {
        width: 62px;
        height: 55px;
        display: inline-block;
        background-image: url(../imgs/baloon_green_small.png);
        background-repeat: no-repeat;
        padding: 17px 25px 16px 7px;
        box-sizing: border-box;
        line-height: 11px;
        text-align: center;
    }

    .lovcoin-small .num-small {
        font-size: 17px;
        font-weight: bold;
    }

    .lovcoin-small .txt-small {
        font-size: 8px;
    }
    /*BALOON BLOCK*/
    .mission-baloon {
        background-image: url(/template/imgs/baloon.png);
        background-position: top right;
        background-repeat: no-repeat;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: inline-block;
        float: right;
        font-size: 17px;
        font-weight: bold;
        height: 70px;
        padding: 10px 22px 25px 27px;
        text-align: center;
        text-transform: uppercase;
        width: 92px;
        position: relative;
    }


    .action-icon {
        position: absolute;
        left: 0;
        bottom: 0;
        font-size: 20px;
    }


    .action-icon-mobile {
        display: none;
    }

    @media screen and (max-width : 520px) {
        .mission-data {
            display: none;
        }

        .action-icon-mobile {
            color: #7BCEC4;
            font-size: 4.5vmin !important;
            position: relative;
            font-weight: 700;
            padding-right: 8px;
        }
    }

    .mission-value {
        font-size: 17px;
    }
    /*DETTAGLI COMPRA PREMIO*/
    #dettagliopremio, #buypremio {
        padding: 0;
    }

.form-premi-dettagli {
    border: solid 1px var(--disabled_grey);
    background-color: var(--light_blue);
    padding: 0px 20px 20px 20px;
    text-align: left;
}
    /*FOOTER V2.0*/
    #footer {
        position: relative;
        bottom: 0;
        height: 80px;
        width: 100%;
        font-size: 12px;
        font-weight: bold;
    }

        #footer #footer-first-block {
            width: 100%;
            padding: 5px;
            text-align: center;
            box-sizing: border-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-justify-content: space-around;
            -moz-justify-content: space-around;
            -ms-flex-pack: justify;
            justify-content: space-around;
            -webkit-align-items: center;
            -moz-align-items: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
            text-align: center;
            background: var(--disabled_grey) none repeat scroll 0% 0%;
        }

    #footer-first-block div {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-justify-content: space-around;
        -moz-justify-content: space-around;
        -ms-flex-pack: justify;
        justify-content: space-around;
        -ms-flex-item-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex: 1 0 auto;
        -webkit-flex: 1 0 auto;
        flex: 1 0 auto;
        padding: 5px 0;
    }

        #footer-first-block div a {
            display: inline-block;
            -ms-flex: 1 0 auto;
            -webkit-flex: 1 0 auto;
        }

#fine-footer {
    display: inline-block;
    color: var(--colorPrimaryDark);
    padding: 2px 0px 2px 10px;
    text-align: left;
    width: 100%;
    vertical-align: bottom;
    box-sizing: border-box;
}
    /*POP-UP------------------------------------------------------------------------------*/
    .back-shadow {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 501;
        opacity: 0.7;
        background-color: rgb(68, 68, 68);
    }

    #popup-container {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-content: center;
        -ms-flex-line-pack: center;
        align-content: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        z-index: 501;
    }

.popup-chiudi {
    position: absolute;
    cursor: pointer;
    right: -33px;
    top: -36px;
    z-index: 3;
    color: var(--colorAccent);
    font-size: 20px;
    margin: 13px;
}

.popup {
    z-index: 600;
    margin: 20px;
    max-width: 360px;
    position: relative;
    border-color: var(--colorAccent);
    border-style: solid;
    border-width: 5px;
    text-align: center;
    font-size: 13px;
    color: var(--colorPrimaryDark);
    background-color: var(--white);
    padding: 10px;
    display: inline-block;
}
    /*Nuovi popup*/
    .popup-backshadow {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: 0.7;
        background-color: var(--grey);
        z-index: 600;
    }

.popup-fotoprofilo {
    max-width: 700px;
    height: 485px;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-color: var(--colorAccent);
    border-style: solid;
    border-width: 5px;
    background-color: var(--white);
    padding: 10px;
    margin: auto;
    z-index: 601;
}

    .chiudi-popup-foto {
        position: absolute;
        cursor: pointer;
        right: 0px;
        top: 0;
        color: var(--colorAccent);
        font-size: 24px;
        margin: 2px 3px;
    }

    #popup-box-instr-new {
        max-height: 300px;
        overflow-x: hidden;
        overflow-y: auto;
    }
    /*--------------------*/
    /* POPUP DI ERRORE */
    .back-shadow-errore {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 500;
        opacity: 0.7;
        background-color: rgb(68, 68, 68);
    }

    #popup-container-errore {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-content: center;
        -ms-flex-line-pack: center;
        align-content: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .popup-chiudi-errore {
        position: absolute;
        cursor: pointer;
        right: -33px;
        top: -36px;
        z-index: 3;
        color: var(--colorAccent);
        font-size: 20px;
        margin: 13px;
    }

    .popup-errore {
        z-index: 600;
        margin: 20px;
        max-width: 360px;
        position: relative;
        border-color: var(--colorAccent);
        border-style: solid;
        border-width: 5px;
        text-align: center;
        font-size: 13px;
        color: var(--colorPrimaryDark);
        background-color: var(--white);
        padding: 10px;
        display: inline-block;
    }
    /* ------------------------------------ */
    #popup-pallini {
        bottom: 20px;
        width: 100%;
        font-size: 16px;
    }

    .popup .link {
        color: var(--colorAccent);
        text-decoration: underline;
    }

    .punti-popup {
        background-image: url(../imgs/cuor_gri_small.png);
        background-repeat: no-repeat;
        width: 111px;
        height: 99px;
    }

    .punti-light {
        background-image: url(../imgs/cuor_color_small.png);
        background-repeat: no-repeat;
        width: 111px;
    }

    .popup-lovies {
        display: inline-block;
        float: left;
        height: 100px;
        width: 50%;
    }

    .popup-buttons {
        display: inline-block;
        float: right;
        width: 50%;
        height: 100px;
    }

    .popup-btn {
        display: inline-block;
        cursor: initial;
        border: 1px solid transparent;
        -moz-user-select: none;
        border-color: #BFBFBF #5B9E96 #5B9E96 #BFBFBF;
        color: var(--disabled_grey);
        background: var(--grey) none repeat scroll 0% 0%;
        font-weight: bold;
        text-transform: uppercase;
        width: 162px;
        height: 32px;
        line-height: 30px;
        font-size: 12px;
    }

    .btn-light {
        color: var(--white);
        background: var(--light_blue) none repeat scroll 0% 0%;
        cursor: pointer;
    }

    .num-punti-popup {
        width: 111px;
        height: 99px;
        display: inline-block;
        padding: 26px 43px 26px 14px;
        box-sizing: border-box;
        font-size: 15px;
        line-height: 25px;
    }

    .expanded {
        border-bottom-style: solid;
        border-bottom-width: 1px;
    }
    /*PAGINA LOGIN--------------------------------------------------------------------------*/
    #login-container {
        position: absolute;
        top: 90px;
        bottom: 80px;
        width: 100%;
    }

    #logo-login {
        background: url(../imgs/logo_big.png) no-repeat;
        background-size: contain;
        background-position: 50%;
        width: 236px;
        height: 69px;
        margin: 10px;
        float: left;
    }
    /*schifezza offline*/
    #spalla > #logo-login {
        background: url(../imgs/logo_big.png) no-repeat;
        background-size: contain;
        background-position: 50%;
        width: 230px;
        height: 69px;
        margin: 0px;
        float: none;
        position: absolute;
        top: 10px;
    }

    #login-input-container {
        background: url('../imgs/Ombralogin.jpg') var(--white_dirty) left top;
        background-repeat: no-repeat;
        position: absolute;
        top: 0;
        bottom: 185px;
        left: 256px;
        right: 0;
    }

    #login-input {
        text-align: left;
        position: absolute;
        top: 10%;
        bottom: 10%;
        right: 10%;
        left: 30%;
    }

    .align-content {
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -moz-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: distribute;
        -webkit-justify-content: space-around;
        justify-content: space-around;
        -webkit-align-content: space-around;
        -ms-flex-line-pack: stretch;
    }

    #login-bottom {
        width: 50%;
        height: 100%;
        color: var(--darkYellow);
        text-align: center;
        box-sizing: border-box;
        float: right;
        padding: 8px 0;
    }

    #login-coppia {
        background-image: url(../imgs/coppia.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: bottom;
        width: 50%;
        height: 421px;
        position: absolute;
        bottom: 0;
    }

    .login-button {
        background-color: #FFF;
        display: inline-block;
        cursor: pointer;
        border: 1px solid transparent;
        -moz-user-select: none;
        background: #FFF none repeat scroll 0% 0%;
        font-size: 12px;
        font-weight: bold;
        width: 100%;
        margin-bottom: 6px;
        color: var(--colorPrimaryDark);
        padding: 5px 0px;
        text-transform: uppercase;
        box-sizing: border-box;
        line-height: 18px;
        text-align: center;
    }

    .login-btn-icon {
        display: inline-block;
        float: left;
        font-size: 18px;
        border-right: solid 1px;
        width: 20%;
        padding-top: 2px;
        height: 18px;
        box-sizing: border-box;
    }

    .login-btn-text {
        float: left;
        width: 80%;
    }
    /*REGISTRAZIONE*/
    #reg-super-container {
        max-width: 1024px;
        height: 100%;
        margin: auto;
        position: relative;
        max-height: 940px;
        min-height: 940px;
    }

    #formStep1 {
        text-align: left;
        position: relative;
        -ms-flex: 1 1 auto;
        -webkit-flex: 1 1 auto;
        flex: 1 1 auto;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: distribute;
        -webkit-justify-content: space-around;
        justify-content: space-around;
    }

#register {
    background-color: var(--white_dirty);
    background-image: url("../imgs/Ombralogin.jpg");
    background-position: left top;
    background-repeat: no-repeat;
    /*min-height:initial;*/
    padding: 5% 22%;
    box-sizing: border-box;
    text-align: left;
    top: 90px;
    bottom: 80px;
    right: 0;
    left: 0;
    position: absolute;
    max-width: 1024px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

        #register label {
            min-width: initial;
        }

    .reg-form-field {
        padding: 5px 0;
        display: inline-block;
        width: 100%;
    }

    .reg-input {
        box-sizing: border-box;
        width: 70%;
        height: 30px;
        float: left;
        display: inline-block;
    }

    label {
        box-sizing: border-box;
        float: left;
        display: inline-block;
        padding: 5px 0;
        height: 30px;
        width: 30%;
        min-width: 175px;
    }

    .step {
        text-transform: uppercase;
        font-size: 18px;
        position: relative;
        min-width: 130px;
        display: inline-block;
        -ms-flex: 0 0 auto;
        -webkit-flex: 0 0 auto;
        flex: 0 0 auto;
    }

        .step.step-light {
            color: #3abfb0;
        }
    /*PROFILO INFO--------------------------------------------------------------------------*/
    #loading-bar {
        width: 250px;
        height: 13px;
        border-radius: 20px;
    }

    #loaded {
        height: inherit;
        border-radius: 20px;
        width: 50%;
        position: relative;
    }

#percent-baloon {
    width: 50px;
    height: 50px;
    background-color: var(--colorAccent);
    position: absolute;
    right: -25px;
    bottom: 13px;
    border-radius: 100%;
    box-sizing: border-box;
    padding: 15px 4%;
}

    .grad-light {
        background: -webkit-linear-gradient(#99E6DC, #77CEC4); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient(#99E6DC, #77CEC4); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(#99E6DC, #77CEC4); /* For Firefox 3.6 to 15 */
        background: linear-gradient(#99E6DC, #77CEC4);
    }

    .grad-dark {
        background: -webkit-linear-gradient(#7B776F, #D0CECB); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient(#7B776F, #D0CECB); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(#7B776F, #D0CECB); /* For Firefox 3.6 to 15 */
        background: linear-gradient(#7B776F, #D0CECB);
    }
    /*.input-profilo {
width:100%;
box-sizing:border-box;
}*/
    #form-profilo {
        text-align: left;
    }

    #profile-info {
        width: 337px;
        height: 387px;
        display: inline-block;
        margin: 0 10px 0 0;
        text-align: left;
    }

#profile-graph {
    width: 335px;
    height: 335px;
    margin: 0 0 0 10px;
    display: inline-block;
    border: solid 1px var(--disabled_grey);
    text-align: center;
}

    .profile-social-connesso {
        text-transform: uppercase;
        font-size: 14px;
        font-weight: bold;
        text-align: right;
        padding: 0px 20px;
    }

        .profile-social-connesso.light {
            color: #77CEC4;
        }
    /*PAGINA FAQ*/
.faq-special-question {
    background-color: var(--colorAccent);
    font-size: 17px;
    padding: 10px 20px 10px 10px;
    font-weight: 100;
    text-align: left;
    border-bottom: solid 1px var(--white);
    color: var(--white);
}

#come-funziona-faq {
    padding: 0px 20px 10px 20px;
    border: solid 1px var(--disabled_grey);
    margin: 10px 20px;
}

#contattaci {
    background-color: var(--light_blue);
    padding: 10px 0;
    border: solid 1px var(--disabled_grey);
    margin: 10px 20px;
}
    /*PRIVACY*/
    .privacy-text {
        text-align: justify;
    }

        .privacy-text p {
            padding-bottom: 20px;
        }
    /*COOKIE POLICY*/
    .cookie-text {
        text-align: justify;
    }

        .cookie-text h1 {
            padding-bottom: 20px;
        }

        .cookie-text strong {
            padding-top: 20px;
            display: inline-block;
        }
    /*invita amici**/
.bloccoMail {
    width: 30%;
    display: inline-block;
    margin: 10px;
    padding: 10px;
    border-bottom: solid 1px var(--disabled_grey);
    box-sizing: border-box;
}

    .popupMail {
        width: 80%;
        height: 70%;
        max-width: initial;
    }

.invitaSocial {
    display: inline-block;
    margin: 0px 5px 5px 5px;
    padding: 9px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    box-sizing: border-box;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
    /*SPIDER GRAPH*/
    .diagramText {
        max-width: 65px;
        word-wrap: break-word;
    }
    /*NUOVI POPUP------------------------------------------*/
    #popup-back-shadow-new {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #444444;
        -moz-opacity: 0.7;
        opacity: 0.7;
        display: none;
        z-index: 600;
    }

    #popup-container-new {
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        display: none;
        position: fixed;
        z-index: 601;
    }

#popup-new {
    background-color: var(--white);
    max-width: 385px;
    position: fixed;
    min-width: 290px;
    box-sizing: border-box;
    text-align: center;
    padding: 15px;
    border: 5px solid var(--colorAccent);
    height: auto;
}

    .popup-instr-new {
        padding: 10px 3px;
    }

    .link {
        color: var(--colorAccent);
        text-decoration: underline;
    }

    #popup-loading {
        /*background-color: #FFFFFF;*/
        display: block;
        position: fixed;
        left: 50%;
        margin-left: -35px;
        top: 50%;
        margin-top: -35px;
        /*border: 5px solid #7BCEC4;*/
    }

#popup-close {
    position: absolute;
    right: -38px;
    top: -42px;
    font-size: 22px;
    padding: 14px;
    cursor: pointer;
    color: var(--colorAccent);
}

    @media screen and (max-width : 520px) {
        #popup-container-new {
            overflow-x: hidden;
            overflow-y: auto;
        }

        #popup-new {
            position: relative !important;
        }

        #popup-close {
            right: 5px;
            top: 0;
            font-size: 30px;
            padding: 0px;
        }
    }
    /*MEDIA QUERY----------------------------------------------------------------------*/
    @media screen and (max-height: 880px) {
        #profile {
            display: inline;
            height: 50px;
            width: 50px;
            left: 5px;
            position: relative;
            top: 4px;
            float: left;
        }

        .avatar {
            height: initial;
            min-height: 55px;
            margin: 0px 30px;
            width: 206px;
        }

        .mask {
            background: url("../imgs/profilo_mobile.png") no-repeat center;
            height: 58px;
            width: 58px;
        }

        .name {
            font-size: 18px;
            display: table-cell;
            position: relative;
            padding-left: 7px;
            height: 50px;
            text-align: left;
            vertical-align: middle;
        }
    }
    /*WIDTH-----------------------------------------*/
    @media screen and (max-width : 1024px) {
        /*SLIDER*/
        .slideheader {
            display: none;
        }
        /*DASHBOARD*/
        #profile-info {
            margin: 0;
        }

        #profile-graph {
            margin: 20px 0 0 0;
        }
        /*MISSIONI*/
        .elem-missioni {
            margin: 10px;
        }

        .elem-premio {
            margin: 10px;
        }
        /*PROFILO*/
        #form-profilo .bottone {
            float: none !important;
        }
        /*FOOTER*/
        .disappear-1024 {
            display: none !important;
        }
        /*SPOSTAMENTO ELEMENTI TOP*/
        /*MENU*/
        #mainmenu {
            top: 0;
        }
        /*DASHBOARD*/
        #spalla {
            top: 0;
        }
        /*CONTENUTO*/
        .contenuto {
            margin-top: 45px;
        }

        .contenuto-homeDetails {
            margin-top: 45px;
        }
    }

    @media screen and (max-width: 700px) {

        #main-msg {
            display: none;
            max-width: 450px;
            max-height: 380px;
            background-color: var(--light_blue);
            position: absolute;
            top: 16vmin;
            left: 0px;
            color: var(--colorPrimaryDark);
            box-sizing: border-box;
            border: solid 1px var(--colorAccent);
            width: 100%;
        }

            #menu-mobile {
            height: 16vmin;
            background-color: white;
            max-width: 754px;
            width: 100%;
            z-index: 500;
            display:table;
            -ms-flex-pack: justify;
            -webkit-justify-content: space-between;
            justify-content: space-between;
            font-weight: bold;
            color: var(--white);
            position:fixed;
        }

        .ombre-menu-mobile {
            box-shadow: 0px 1px 3px 0px #999;
        }

        #menu-mobile > div {
            height: 100%;
            cursor: pointer;
            line-height: 25px;
            text-align: center;
            box-sizing: border-box;
        }

            #menu-mobile div:hover .menu-subline {
                border-bottom: var(--white) 1px solid;
            }

            #menu-mobile div:hover .subMenu-mobile, .subMenu-mobileOver {
                display: block;
                opacity: 1;
                visibility: visible;
                z-index: 1;
            }

            #menu-mobile div:hover #main-msg {
                display: block;
                opacity: 1;
                visibility: visible;
                z-index: 1;
            }


        #ranker-mobile {
            display: inline-block;
            position:relative;
        }

        .subMenu {
            width: 100%;
        }
        .subMenu-mobile {
            width: 100%;
        }
        /*CONTENUTO*/
        #spalla {
            display: none;
        }

        .contenuto {
            margin-top: 16vmin;
        }


        /*SPOSTAMENTI A DESTRA*/
        #mainmenu {
            padding: 0;
            left: 0;
        }

        #container-right {
            left: 0;
        }

        #bruttura {
            display: none;
        }
    }

    @media screen and (max-width: 520px) {
        .tab table {
            margin: 0px auto;
            width: 98%;
        }
    }

    @media screen and (max-width : 520px) {
        #popup-box-instr-new {
            max-height: none;
        }
        /*CONTENUTO*/
        .contenuto {
            min-height: initial;
        }
        /*BORDI MOBILE*/
        /*.tiny-border {
 display:none;
 }*/
        /*PROFILO*/
        #profilo {
            padding: 20px 0;
        }

            #profilo > div {
                padding: 0 1% !important;
            }

        #profile-info {
            width: auto;
        }

        #profile-graph {
            width: auto;
        }
        /*MISSIONI*/
        .elem-missioni {
            margin: 10px 0;
        }

        .elem-premio {
            margin: 10px 0;
        }

        .sensarea:hover {
            background-color: initial;
        }
        /*.chiudi-missione {
  display:initial;
 }*/
        /*.sensarea {
 max-width:250px;
 }*/
        .elem-missioni {
            max-width: 300px;
            width: 100%;
            padding: 0;
            box-sizing: content-box;
        }

            .elem-missioni img {
                width: 300px;
            }

        .elem-premio {
            max-width: 300px;
            width: 100%;
            padding: 0;
        }

            .elem-premio img {
                width: 300px;
            }
        /*FOOTER*/
        #fine-footer {
            text-align: center;
        }

        /*FAQ*/
        .faq-special-question {
            display: block;
        }

        .faq-special-answer {
            display: none;
        }

        #come-funziona-faq {
            padding: 0;
            border: 0;
            margin: 0;
        }

        #domande-faq {
            padding: 0;
            border: 0;
            margin: 0;
        }

        #contattaci {
            border: 0;
            margin: 0;
        }

        #domande-faq h1 {
            display: none;
        }
        /*PREMI*/
        #dettagli-premio .bottone {
            float: none !important;
        }

        .separator {
            padding: 5px 0;
        }
        /*FORM*/
        .reg-input {
            width: 100%;
        }

        .reg-form-field {
            padding: 0;
        }

        /*POPUP*/
        .popup {
            border-style: none;
            padding: 0;
        }

        .popup-lovies, .popup-buttons {
            width: 100%;
            float: initial;
        }

        .back-shadow {
            background-color: var(--white);
            opacity: 1;
        }

        #popup-container {
            display: inline-block;
            overflow: auto;
            z-index: 600;
        }

        .popup-chiudi {
            font-size: 30px;
            margin: 22px;
        }

        .popupMail {
            width: auto;
            height: auto;
            position: fixed;
            right: 0;
            bottom: 0;
            left: 0;
            top: 0;
            -webkit-overflow-scrolling: touch;
            overflow-y: scroll;
        }

        .popup-chiudi {
            top: -20px;
            right: -20px;
        }

        .alertMailConfirm {
            display: none;
        }
    }

    .alertMailConfirm {
        width: 100%;
        opacity: 0.9;
        position: fixed;
        padding: 10px;
        z-index: 900;
        bottom: 0;
        text-align: center;
        min-height: 34px;
        color: var(--red);
        box-sizing: border-box;
        background: var(--pink);
        font-size: 20px;
    }

        .alertMailConfirm a {
            cursor: pointer;
            font-size: 14px;
            color: var(--red);
        }
    /*WIZARD*/
.tooltip {
    position: absolute;
    width: 250px;
    left: 0;
    top: 0;
    background-color: var(--white);
    color: var(--colorPrimaryDark);
    z-index: 999;
    border: 5px solid var(--colorAccent);
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
    text-align: center;
    padding: 6px;
}

        .tooltip p {
            padding: 15px 10px 10px 10px;
            font-size: 13px;
            text-shadow: none;
            font-style: italic;
            line-height: 1.5;
            background-color: rgb(229, 229, 229);
        }

    .tooltip_arrow {
        position: absolute;
        background-color: transparent;
        background-repeat: no-repeat;
    }

    .tooltip_arrow_T,
    .tooltip_arrow_TL,
    .tooltip_arrow_TR {
        background-image: url(../imgs/topbottom.png);
        width: 23px;
        height: 20px;
    }

    .tooltip_arrow_B,
    .tooltip_arrow_BL,
    .tooltip_arrow_BR {
        background-image: url(../imgs/topbottom.png);
        width: 23px;
        height: 12px;
    }

    .tooltip_arrow_L,
    .tooltip_arrow_R,
    .tooltip_arrow_LT,
    .tooltip_arrow_LB,
    .tooltip_arrow_RT,
    .tooltip_arrow_RB {
        background-image: url(../imgs/leftright.png);
        width: 20px;
        height: 23px;
    }

    .tooltip_arrow_T {
        background-position: 0px -12px;
        top: -17px;
        left: 50%;
        margin-left: -14.5px;
    }

    .tooltip_arrow_TL {
        background-position: 0px -12px;
        top: -7px;
        left: 5px;
    }

    .tooltip_arrow_TR {
        background-position: 0px -12px;
        top: -17px;
        right: 5px;
    }

    .tooltip_arrow_B {
        background-position: 0px 0px;
        bottom: -17px;
        left: 50%;
        margin-left: -13.5px;
    }

    .tooltip_arrow_BL {
        background-position: 0px 0px;
        bottom: -7px;
        left: 5px;
    }

    .tooltip_arrow_BR {
        background-position: 0px 0px;
        bottom: -7px;
        right: 5px;
    }

    .tooltip_arrow_L {
        background-position: -12px 0px;
        top: 50%;
        margin-top: -6.5px;
        left: -16px;
    }

    .tooltip_arrow_LT {
        background-position: -12px 0px;
        top: 5px;
        left: -16px;
    }

    .tooltip_arrow_LB {
        background-position: -12px 0px;
        bottom: 5px;
        left: -16px;
    }

    .tooltip_arrow_R {
        background-position: 0px 0px;
        top: 50%;
        margin-top: -6.5px;
        right: -7px;
    }

    .tooltip_arrow_RT {
        background-position: 8px 0px;
        top: 5px;
        right: -17px;
    }

    .tooltip_arrow_RB {
        background-position: 0px 0px;
        bottom: 5px;
        right: -7px;
    }

    .overlay {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        background: #000000;
        opacity: 0.5;
        z-index: 301;
        filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
    }

.tourcontrols {
    background: var(--white);
    color: var(--colorPrimaryDark);
    font-size: 16px;
    padding: 10px;
    z-index: 9999;
    text-align: center;
    margin-top: 17px;
}

    .close {
        width: 10px;
        height: 10px;
        cursor: pointer;
    }

    .tourcontrols p {
        padding: 10px;
        text-align: center;
    }

    .nav {
        clear: both;
        width: 100%;
        float: left;
        margin-bottom: 10px;
    }
    /* FORM LOVBY */
    .elem-missioni img {
        width: 100%;
    }

    .elem-missioni {
        padding: 10px;
    }
    /*#spalla{
overflow: scroll;
}*/
    .bottone {
        display: inline-block;
        /*width:100%;*/
        padding: 6px 12px;
        margin-bottom: 0;
        font-size: 14px;
        font-weight: normal;
        line-height: 1.42857143;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        user-select: none;
        background-image: none;
        border: 1px solid transparent !important;
        border-radius: 4px;
    }

    .popup-btn {
        display: inline-block;
        padding: 0px 5px;
        margin-bottom: 0;
        font-size: 14px !important;
        font-weight: normal;
        line-height: 30px;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-image: none;
        border: 1px solid transparent !important;
        border-radius: 4px;
    }

    input[type="text"], input[type="password"], select, textarea, input[type="number"], input {
        display: block;
        /*width: 100%;*/
        height: 34px;
        padding: 6px 12px;
        font-size: 14px;
        line-height: 1.42857143;
        color: #555;
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    }

        input:focus {
            border-color: #81CEC4;
            outline: 0;
            -webkit-box-shadow: inset 0 1px 1px rgba(129, 207, 196, 0.74), 0 0 8px rgba(129, 207, 196, 0.74);
            box-shadow: inset 0 1px 1px rgba(129, 207, 196, 0.74), 0 0 8px rgba(129, 207, 196, 0.74);
        }

        input::-moz-placeholder {
            color: #999;
            opacity: 1;
        }

        input:-ms-input-placeholder {
            color: #999;
        }

        input::-webkit-input-placeholder {
            color: #999;
        }

        input::-ms-expand {
            background-color: transparent;
            border: 0;
        }

    .fullwidth {
        width: 100% !important;
    }

    #nextstep {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-image: none;
        border: 1px solid transparent !important;
        border-radius: 0px 5px 5px 0px;
        display: block;
        float: right;
        width: 49% !important;
    }

    #prevstep {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-image: none;
        border: 1px solid transparent !important;
        border-radius: 5px 0px 0px 5px;
        display: block;
        float: left;
        width: 49% !important;
    }

    input#mail_rec, #nuova, #nuova2 {
        padding: 0px 5px;
        width: 100% !important;
    }

    #cod_promo {
        height: 22px;
        display: block;
        width: 175px !important;
        float: left;
    }

    .sensarea {
        transition: all linear 0.3s;
        -moz-transition: all linear 0.3s;
        -o-transition: all linear 0.3s;
        -webkit-transition: all linear 0.3s;
    }

    .box-socialcount {
        display: block;
        float: left;
        width: 50%;
    }
    /*COOKIE POPUP*/
#cookie-msg {
    margin-bottom: -150px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: var(--white);
    position: fixed !important;
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--lovbyPurple);
    z-index: 9999;
    padding: 20px 0px 10px 0px;
    -webkit-box-shadow: 0px 0px 10px var(--lovbyPurple);
    -moz-box-shadow: 0px 0px 10px var(--lovbyPurple);
    box-shadow: 0px 0px 10px var(--lovbyPurple);
}

@media screen and (max-width: 700px){
    #cookie-msg {
        margin-bottom: -150px;
        width: 100%;
        text-align: center;
        font-size: 10px;
        color: var(--white);
        position: fixed !important;
        position: absolute;
        bottom: 0;
        left: 0;
        background: var(--lovbyPurple);
        z-index: 9999;
        padding: 20px 0px 10px 0px;
        -webkit-box-shadow: 0px 0px 10px var(--lovbyPurple);
        -moz-box-shadow: 0px 0px 10px var(--lovbyPurple);
        box-shadow: 0px 0px 10px var(--lovbyPurple);
        padding:3px;
        text-align:left;
    }
}

    #cookie-msg a {
        color: var(--darkYellow);
    }

    #cookie-close {
        position: absolute;
        cursor: pointer;
        top: 3px;
        right: 10px;
        display: block;
        text-indent: 16px;
        line-height: 16px;
        overflow: hidden;
        color: var(--white);
        font-size: 20px;
    }

    .msg-highlight {
        background-color: var(--light_blue);
    }

.msg-container {
    padding: 0px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid var(--disabled_grey);
    position: relative;
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .msg-image {
        position: absolute;
        left: 10px;
    }

    .msg-content {
        display: inline-block;
        text-align: left;
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0 0px 0 0px;
    }

    .msg-controller {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 90px;
    }

    .msg-viewer {
        position: absolute;
        right: 10px;
        top: 10px;
    }

    .msg-link {
        position: absolute;
        bottom: 10px;
        right: 10px;
        text-decoration: underline;
        color: var(--colorPrimaryDark);
    }

    .msg-controller .fa {
        cursor: pointer;
    }

    .msg-title {
        font-weight: 600;
        text-transform: uppercase;
    }
    /*SALDO LOVIES*/
    @media screen and (max-width: 700px) {
        .dataMovement {
            display: none;
        }
        #menu-desktop{
            display:none;
        } 
        .statoDate {
            display: inherit !important;
        }
        /*.imgMovement{
        width:80px !important;
    }*/
    }

    @media screen and (max-width: 390px) {
        .imgMovement {
            width: 70px !important;
        }

        .statoDate {
            font-size: 9px;
        }

        .statoMovement {
            font-size: 11px;
        }

        .actionMovement {
            font-size: 12px;
        }
    }

    .reg {
        margin-bottom: 8px;
        border: none !important;
        border-bottom: 1px solid #ccc !important;
        border-radius: 0px !important;
        box-shadow: none !important;
        height: 30px !important;
        width: 100%;
        color: var(--colorAccent);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 16px;
    }
