.fancybox-wrap:not(.fancybox-type-ajax) .fancybox-skin {
    background: transparent url(/content/img/concorsi/bg-popup.png) no-repeat center;
    font-family: 'Dosis', 'mrswhite';
    color: #0b2b66;
    border-radius: 24px;
    text-align: center;
}

#footer {
    padding:0;
}
#safezone {
    width:auto;
    height:auto;
    min-height:580px;
    padding:0 0 20px;
    text-align: center;
    background: transparent url(/content/img/concorsi/bg-nuvole.png) no-repeat center;
}
#safezone.bagliore {
    background: transparent url(/content/img/concorsi/bg-bagliore.png) no-repeat center;
}

#concorso {
    position: relative;
    width: 960px;
    margin: auto;
    font-size: 20px;
    min-height: 580px;
}
#concorso .index-logo {
    display: block;
    margin: -5px auto 10px auto;
}
#concorso .index-text {
    display: block;
    color: #0b2b66;
    margin: 15px;
}
#concorso .index-text > span > span {
    background-color: #12a9de;
    color: white;
    border:2px solid white;
    font-size: 21px;
    height: 24px;
    line-height: 24px;
    width: 24px;
    border-radius: 14px;
    display: inline-block;
    margin-left: 10px;
}


#concorso > #partecipa-title {
    color: #0b2b66;
    padding-bottom: 5px;
    border-bottom: 2px solid #0b2b66;
    display: inline-block;
    margin: 0 0 30px;
}
#concorso > #partecipa-title > h1 {
    font-size: 40px;
}
#concorso > #partecipa-title > h3 {
    font-size: 20px;
}

#concorso > #sogni {
    position: relative;
    width: 700px;
    height: 340px;
    margin: auto;
    overflow: hidden;
}
#concorso > #sogni > .chunk {
    position: absolute;
    display: none;
}
#concorso > #sogni > .chunk.active {
    display: block;
}
#concorso .sogno {
    position: absolute;
    display: block;
    color: #0b2b66;
    font-weight:bold;
    font-size: 18px;
}
#concorso > #sogni > .chunk > .sogno:nth-child(1) { top:10px;left:10px; }
#concorso > #sogni > .chunk > .sogno:nth-child(2) { top:10px;left:150px; }
#concorso > #sogni > .chunk > .sogno:nth-child(3) { top:10px;left:290px; }
#concorso > #sogni > .chunk > .sogno:nth-child(4) { top:10px;left:430px; }
#concorso > #sogni > .chunk > .sogno:nth-child(5) { top:10px;left:570px; }
#concorso > #sogni > .chunk > .sogno:nth-child(6) { top:180px;left:10px; }
#concorso > #sogni > .chunk > .sogno:nth-child(7) { top:180px;left:150px; }
#concorso > #sogni > .chunk > .sogno:nth-child(8) { top:180px;left:290px; }
#concorso > #sogni > .chunk > .sogno:nth-child(9) { top:180px;left:430px; }
#concorso > #sogni > .chunk > .sogno:nth-child(10) { top:180px;left:570px; }

#concorso .sogno > span {
    width: 110px;
    height: 110px;
    display: block;
    background-size: cover;
    border: 5px solid white;
    border-radius: 60px;
    margin-bottom: 10px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size:100%;
    transition: background-size 0.5s;
    -webkit-transition: background-size 0.5s;
}
#concorso .sogno:hover > span {
    border: 5px solid red;
    background-size:125%;
}

#concorso > .freccia {
    position: absolute;
    top: 220px;
    left: 50%;
    width: 54px;
    height: 83px;
    cursor: pointer;
    display: block;
}
#concorso > .prev {
    margin-left: -480px;
    background-image: url(/content/img/concorsi/freccia-sinistra.png);
}
#concorso > .next {
    margin-left: 400px;
    background-image: url(/content/img/concorsi/freccia-destra.png);
}
#concorso > a.prev {
    margin-left: -230px;
    top: 150px;
}
#concorso > a.next {
    top: 150px;
    margin-left: 150px;
}

#concorso > #sogno-pre {
    margin: 10px auto 180px;
    color: white;
    font-size: 40px;
    font-family:'Dosis','mrswhite';
}
#concorso > #sogno-img {
    position: absolute;
    top: 43px;
    left: 50%;
    width: 190px;
    height: 190px;
    display: block;
    background-size: cover;
    border: 5px solid white;
    border-radius: 120px;
    margin-left: -100px;
    z-index: 450;
}
#concorso > #sogno-img > .back {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 13px;
    line-height: 40px;
    background-color: white;
    display: block;
    color: #12a9de;
    border: 5px solid #12a9de;
    border-radius: 25px;
    box-shadow: -1px 1px 6px 0 dimgray;
}
#concorso > #sogno-titolo {
    position: absolute;
    top: 185px;
    left: 50%;
    width: 450px;
    height: 70px;
    margin-left: -225px;
    padding-top: 6px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 28px;
    z-index: 500;
    background-image: url(/content/img/concorsi/dettaglio-sogno-nastro.png);
    background-position: center top;
}
#concorso > #sogno-testo {
    background-image: url(/content/img/concorsi/dettaglio-sogno-pergamena.png);
    width: 434px;
    height: 117px;
    display: block;
    margin: 10px auto;
    padding: 65px 50px 20px;
    color: #0b2b66;
    font-size: 16px;
    background-position: center;
    background-size: contain;
}
#concorso > #sogno-testo > .moreinfo {
    color: #12a9de;
    font-weight: bold;
}
#sogno-esteso {
    position: relative;
}
#sogno-esteso .sogno-esteso-titolo {
    position: relative;
    margin: -50px auto 50px;
    z-index: 5000;
    font-size: 28px;
    line-height: 38px;
    padding-top: 5px;
    height: 65px;
    font-weight: bold;
    text-transform: uppercase;
    background: transparent url(/content/img/concorsi/dettaglio-sogno-nastro.png) no-repeat center;
}
#sogno-esteso .sogno-esteso-testo {
    position: relative;
    width: 820px;
    padding-right: 20px;
    height: 360px;
    margin: 10px;
    font-size: 20px;
}

#sogno-esteso .sogno-esteso-testo .p,
#sogno-esteso .sogno-esteso-testo table {
    margin-bottom: 10px;
    font-size: 16px;
    text-align: left;
}
#sogno-esteso .sogno-esteso-testo table tr > td {
    padding-bottom: 10px;
    width: 100px;
}
#sogno-esteso .sogno-esteso-testo table tr > td.descriptionText {
    width: 220px;
}

#sogno-esteso .sogno-esteso-testo table tr > td .ico {
    margin-right: 10px;
    display: inline-block;
    vertical-align: bottom;
    height: 22px;
    width: 22px;
    text-align:left;
}
#sogno-esteso .sogno-esteso-testo table tr > td .iconplace {
    background-image: url(/content/img/concorsi/ico-pin.png);
}
#sogno-esteso .sogno-esteso-testo table tr > td .icondate {
    background-image: url(/content/img/concorsi/ico-duration.png);
}
#sogno-esteso .sogno-esteso-testo table tr > td .dream {
    background-image: url(/content/img/concorsi/ico-dream.png);
}

#sogno-esteso .sogno-esteso-img {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 190px;
    height: 190px;
    display: block;
    background-size: cover;
    border: 5px solid white;
    border-radius: 120px;
    margin-left: -100px;
}

/* regolamento */
#safezone .regolamento-link {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #0b2b66;
    display: inline-block;
    line-height: 125%;
}
#safezone a.regolamento-link {
    text-decoration: underline;
    margin-top: 30px;
}

/* profilo */
#concorso #sogno-profilo {
    text-transform: uppercase;
    font-size: 48px;
}
#concorso #profilo-grazie {
    text-transform: uppercase;
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 16px;
    padding-top: 7px;
    height: 64px;
    background: transparent url(/content/img/concorsi/partecipato-nastro.png) no-repeat center;
    background-size: contain;
}
#concorso #profilo-bambino {
    background: transparent url(/content/img/concorsi/partecipato-il-tuo-sogno-da-bambino-era.png) no-repeat center;
    height: 55px;
    margin-bottom: 239px;
}
#concorso > #sogno-img.profilo {
    top: 122px;
}
#concorso > #sogno-titolo.profilo {
    top: 247px;
    background-image: url(/content/img/concorsi/partecipato-nastro-dettaglio-sogno.png);
}
#concorso > #sogno-titolo.profilo > a {
    display: block;
    font-size: 17px;
    color: white;
    font-weight: normal;
    margin: 10px auto 0;
}
#concorso > #dati {
    text-transform: uppercase;
}

/* auth */
#concorso .auth-testo {
    font-size: 24px;
    color: #0b2b66;
    text-transform: uppercase;
}

/* altro */
#concorso > #info-titolo {
    font-size: 42px;
    color: #0b2b66;
    border-bottom: 2px solid #0b2b66;
    display: inline-block;
    margin-top: 10px;
    min-width: 300px;
}
#concorso > #grafico {
    position: relative;
}
#concorso > #grafico .sogno:nth-child(1) { top:10px;left:200px; }
#concorso > #grafico .sogno:nth-child(2) { top:10px;right:200px; }
#concorso > #grafico .sogno:nth-child(3) { top:180px;right:230px; }
#concorso > #grafico .sogno:nth-child(4) { top:270px;left:50%;margin-left:-60px; }
#concorso > #grafico .sogno:nth-child(5) { top:180px;left:230px; }

#concorso > #grafico .val {
    position: absolute;
    font-size: 24px;
    width: 80px;
}
#concorso > #grafico .val:nth-child(1) { top:70px;left:384px; }
#concorso > #grafico .val:nth-child(2) { top:50px;right:400px; }
#concorso > #grafico .val:nth-child(3) { top:130px;right:358px; }
#concorso > #grafico .val:nth-child(4) { top:200px;left:460px; }
#concorso > #grafico .val:nth-child(5) { top:170px;left:380px; }


#concorso > #grafico > #donutchart {
    position: relative;
    width: auto;
    height: 400px;
    background: none;
    display: block;
    margin: -50px auto;
}
#concorso > #grafico > #legend {
    position: relative;
    overflow: hidden;
    text-align:center;
    margin: auto;
    width: 780px;
    display: block;
}
#concorso > #grafico > #legend > .legend-item {
    margin: 0px 20px 5px;
    padding: 5px;
    width: 200px;
    border-radius: 20px;
    overflow: hidden;
    font-size: 18px;
    line-height: 30px;
    display: inline-block;
    color: #0b2b66;
}
#concorso > #grafico > #legend > .legend-item > img {
    border-radius: 20px;
    float: left;
    width: auto;
    height: 30px;
}

#chiusura {
    font-size: 18px;
    margin: 20px auto;
    color: #0b2b66;
    line-height: 120%;
}
#chiusura > strong {
    font-size: 28px;
}
