/* ==========================================================================
   style by Filippo Montanari - www.fpeitalia.com
   despar-iw24
   ========================================================================== */
@font-face {
    font-family: 'HighVoltage Rough';
    font-style: normal;
    font-weight: normal;
    src: local('HighVoltage Rough'), url('HighVoltage Rough.woff') format('woff');
}
a, a:active, a:focus, img[usemap], map area {
	outline: none;
}
html,button,input,select,textarea {
    color: #51284E;
}
html {
	scroll-behavior: smooth;
}
html, body {
	min-height: 100%;
	min-width: 1100px;
}
body {
    font: 18px 'Poppins', sans-serif;
    color: #fff;
    background: #51284E;
}
hr {
    display: block;
    height: 5px;
    border: 0;
    margin: 50px 0;
    padding: 0;
}
img {
    vertical-align: middle;
}
p {
    margin: 0;
    padding: 15px 0 15px;
    position: relative;
    z-index: 0;
}
h1 {
	font-weight: 400;
	font-size: 48px;
	padding: 0;
	margin: 0 0 25px;
    letter-spacing: -2px;
}
h2 {
	font-size: 42px;
    line-height: 42px;
    margin: 0;
    font-weight: normal;
}
strong {
    font-weight: 900;
}
a {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	color: #D61F84;
}
a:hover {
    color: #FFD400;
}


main { display: block; }

header {
	text-align: center;
    position: relative;
    height: 155px;
    margin: 0 auto;
    box-sizing: border-box;
    padding-top: 40px;
    z-index: 1;
    font-family: 'HighVoltage Rough', sans-serif;
    background: #3D1D3E;
}
header::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    display: block;
    background: url(../images/despar_divisore-2.svg) no-repeat center center / 100% 100%;
    height: 40px;
    z-index: -1;
}
body:not(#home) header {
    padding-top: 20px;
}
header h1 {
    margin: 0;
}
#home header+.container {
    padding-top: 280px;
    padding-bottom: 90px;
}

section {
	position: relative;
}
.top {
    position: relative;
}
.top::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    display: block;
    background: url(../images/despar_divisore-1.svg) no-repeat center center / 100% 100%;
    height: 40px;
    z-index: 1;
}
.premi {
    background: url(../images/bg-premi.svg) no-repeat;
    width: 450px !important;
    height: 406px;
    color: #3D1D3E;
    font-size: 22px;
    box-sizing: border-box;
    padding: 30px;
    margin: -30px 10px 0;
}
#regolamento .premi {
    margin: 10px 10px 0;
}
.premi-iw-02 {
    background: url(../images/premi-iw-02.png) no-repeat center right/contain;
    height: 100%;
}
.hv {
    font-family: 'HighVoltage Rough', sans-serif;
}
/*.container article:first-child {
	margin-top: 40px;
}*/
.container {
	width: 1000px;
    padding: 0 20px;
	margin: 0 auto;
	position: relative;
	box-sizing: border-box;
}

footer {
    position: relative;
    padding-bottom: 30px;
    background: #3D1D3E;
    padding-top: 40px;
}
footer::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    display: block;
    background: url(../images/despar_divisore-2.svg) no-repeat center center / 100% 100%;
    height: 40px;
    z-index: 1;
    transform: rotate(180deg);
}
.sc {    
    width: 656px;
    margin: auto;
}
.sc-head {
    background: url(../images/sc-bg.svg) no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 208px;
    margin: auto;
    font: 46px/46px 'HighVoltage Rough', sans-serif;
    color: #000000;
    text-transform: uppercase;
}
.sc a {
    text-decoration: none;
}

.col {
    width: 50%;
}
.legal {
	padding: 100px 0 50px;
}
.legal p {
	padding: 0 0 15px;
	margin: 0 auto;
	text-align: center;
	font-size: 13px;
	color: #000;
}
.legal a { color: #fff; }

/* MENU */
nav {
    background: #fff;
}
.nav-content {
	margin: 0 auto;
	position: relative;
    max-width: 1320px;
    box-sizing: border-box;
    display: flex;
    padding: 20px 20px;
}
nav ul {
	list-style-type: none;
	margin: 0;
    padding: 0;
	width: 100%;
	display: flex;
	justify-content: end;
}
nav li {
	display: flex;
    align-items: center;
}
nav li a {
	color: #51284E;
	text-decoration: none;
	padding: 5px 20px;
	font-size: 18px;
    line-height: 20px;
    font-weight: 600;
    text-transform: uppercase;
	text-align: center;
	display: inline-block;
    border-bottom: 10px solid #fff;
}
nav li.last { border: 0; }
nav a:hover { 
    color: #D61F84;
    transition: none;
}
nav li.active {  }
nav li.active>a {
	 color: #51284E;
    border-bottom: 10px solid #FFD400;
}
nav .active a, nav .active a:hover {  }

.via {
    padding: 20px 20px 20px 230px;
    max-width: 810px;
    margin: 60px auto 0;
    position: relative;
    text-align: left;
    box-sizing: border-box;
}
.via::before {
    display: block;
    content: url(../images/via.svg);
    position: absolute;
    top: -20px;
    left: -20px;
    width: 223px;
    height: 148px;
}
.pt {
    padding-top: 40px;
}
.pb {
    padding-bottom: 40px;
}
.padding {
    padding: 40px 0 60px;
}
mark {
    padding: 5px 10px;
    margin: 10px 0;
    background: #FFD400;
    font-size: 24px;
    display: inline-block;
}
.img-tv {
    width: 282px;
    float: left;
}
.txt-tv {
    padding: 30px 0 0 30px;
    float: right;
    width: 640px;
}

.button {
	background: #D61F84;
    border-radius: 0 20px 0 20px;
    border: 0;
    display: inline-block;
    color: #fff;
    font-family: 'Poppins';
    font-size: 19px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    padding: 9px 40px 9px;
    box-sizing: border-box;
    vertical-align: middle;
}
.button.btn-secondary {
	background: #c51a57;
	color: #fff;
}
:hover.button {
	text-decoration: none;
	background: #E46517;
	color: #fff;
}
:hover.button.btn-secondary, .bg-f :hover.button {
	background: #FFD400;
	color: #51284E;
}
.button.disabled {
	cursor: default;
	background: lightgrey;
	color: #fff;
}
.box-vittoria {
    background: url(../images/win.png) no-repeat center center/contain;
    height: 500px;
}
.vittoria-premio-inner {
    background: url(../images/bg-winbox.png) no-repeat center center/contain;
    width: 545px;
    height: 265px;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 20px;
}
.premio-img {
    padding: 20px 0;
}
.premio-img img {
    max-width: 100%;
}

    #anim-stage {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        background: #3D1D3E url(../images/win.png) no-repeat center center;
    }

    #card-object-vf {
        width: 220px;
        height: 220px;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
        z-index: 905;
    }    
    
    #card-object-vf .face {
        position: absolute;
        width: 100%;
        height: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        border-radius: 50%;
        text-align: center;
    }
    #card-object-vf .front {
        background: url(../images/anim-vinto-v2.png) no-repeat center center/contain;
        z-index: 20;
    }
    #card-object-vf .back {
        background: url(../images/anim-perso-v2.png) no-repeat center center/contain;
        z-index: 10;
    }
    #perdita #card-object-vf .front {        
        background: url(../images/anim-perso-v2.png) no-repeat center center/contain;
    }
    #perdita #card-object-vf .back {
        background: url(../images/anim-vinto-v2.png) no-repeat center center/contain;
    }
    #card-object-vf .back {
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }
    #card-object-vf .face .text {
        color: #fff;
        font-family: 'Arial';
        font-size: 26px;
        line-height: 170px;
        text-align: center;
        display: inline;
    }
    .rotate-vert-center {
        -webkit-animation: rotate-vert-center 0.4s linear 5 both;
                animation: rotate-vert-center 0.4s linear 5 both;
    }
    @-webkit-keyframes rotate-vert-center {
      0% {
        -webkit-transform: rotateY(0);
                transform: rotateY(0);
      }
      100% {
        -webkit-transform: rotateY(360deg);
                transform: rotateY(360deg);
      }
    }
    @keyframes rotate-vert-center {
      0% {
        -webkit-transform: rotateY(0);
                transform: rotateY(0);
      }
      100% {
        -webkit-transform: rotateY(360deg);
                transform: rotateY(360deg);
      }
    }

.splide__slide img {
  width: 100%;
  height: auto;
}
.splide__arrow {
    background: #fff;
}
.splide__arrow--next {
    right: -2em;
}
.splide__arrow--prev {
    left: -2em;
}

.bordered {
	border: 2px solid #ffda00;
}
.col-3 {
	width: 33.33333%;
	padding: 10px;
	box-sizing: border-box;
    float:left;
}
.col-3 img {
	max-width: 100%;
}
.col-9 {
	width: 66.66666%;
	padding: 10px;
	box-sizing: border-box;
    float:left;
}
.col-9 img {
	max-width: 100%;
}
.m-0 {
    margin:0;
}


.table-responsive {
    margin-bottom: 30px;
}

/* SALDO PUNTI */
.saldo {
    background: url(../images/bg-saldo.png) no-repeat;
    width: 224px;
    height: 149px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team {
    background: url(../images/bg-team.png) no-repeat center center;
    width: 856px;
    height: 425px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modifica-profilo {
	background: #fff;
	color: #54110f;
	font-size: 18px;
	float: right;
	margin: -7px -20px 0 0;
	padding: 10px 10px 9px;
}

.danger {
	padding: 20px 10px;
	text-align: center;
	background: #d51e29;
	color: #fff;
	font-weight: bold;
	font-size: 25px;
	text-transform: uppercase
}
.fader, fader:hover {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

/* OVERLAY */
.overlay-cta {
    color: #51284E;
    text-decoration: none;
}
.overlay-cta:hover {
    color: #D61F84;
}
.overlay-cta::after {
    content: '';
    display: inline-block;
    background: url(../images/overlay-cta.svg) no-repeat;
    width: 22px;
    height: 22px;
    margin-left: 10px;
    vertical-align: middle;
}
body.noscroll {
	overflow: hidden;
}
.overlay {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index:99999;
	display: none;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.9);
}
.overlay-content {
	width: 860px;
	box-sizing: content-box;
	position: relative;
	margin: 100px auto 0;
	background: #fff;
	z-index: 100001;
	/*border-radius: 20px;*/
	padding: 20px;
}
.overlay-cta-close {
	background: url(../images/overlay-close.png) no-repeat;
	color: #fff;
	width: 69px;
	height: 69px;
	text-indent: -9999px;
	position: absolute;
	top: 30px;
	right: 50px;
	cursor: pointer;
	padding: 0 !important;
}
.ov-premio-tit {
	margin: 0 0 20px;
	font-size: 27px;
	line-height: 27px;
	padding: 20px 0 20px 0;
	position: relative;
	color: #fff;
	text-transform: uppercase;
}
.ov-premio-img {
	/*height: 480px;*/
	text-align: center;
	position: relative;
}
.ov-premio-img p { padding-left: 10px; text-align: center }
.ov-premio-cont {
    font-size: 18px;
    padding: 0 0 0 20px;
}
.ov-premio-cont>p:first-child {
	margin-top: 0;
}

/* OVERLAY DISCLAIMER REGISTRAZIONE */
.alertdisclaimer .overlay-content {
	width: 400px;
	padding: 30px;
}

/* FORM */
.form-row {
	clear: both;
	padding: 5px 0;
}
.form-col-left {
	float: left;
	width: 50%;
}
.form-col-right {
	float: right;
	width: 50%;
}
.form-col-wide {
	
}
label { 
    color: #000;
    font-size: 20px;
    line-height: 35px;
    cursor: pointer;
}
div#recaptchadiv > div {
    margin: 0 auto;
}
input.text, select, textarea {
	vertical-align: middle;
	border: 1px solid #D0D0D0;
	font-size: 14px;
	padding: 10px 10px;
	box-sizing: border-box;
	border-radius: 10px;
    font-family: 'Poppins';
}
input.text {
	width: 98%;
	z-index: 3;
}
select#citta, select#oggetto {
	width: 93%;
}
#loginForm input.text {
	max-width: 500px;
}
#ind_toponimo {
	width: 58%;
}
#ind_civico {
	width: 10%;
}
#data_nascita_anno {
	width: 20%;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    width: 100%;
    height: 200px;
	box-sizing: border-box;
	padding: 10px;
}
input.text:read-only { 
    background-color: transparent;
}
.attivo_su_precedenti_concorsi {
	background-color: rgba(255,246,246,0.60);
	padding: 10px 20px;
	font-size: 15px;
}
.container-gioca {
    width: 720px;
    margin: auto;
}
.gioca-inner {
    padding-top:40px;
}
#giocaForm {
    width: 720px;
    margin: -160px auto 0;
    box-sizing: border-box;
    padding: 70px 70px 40px;
    position: relative;
    background:#fff;    
    clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 calc(100% - 20px));
}
#giocaForm label {
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
}
#giocaForm .form-row {
    line-height: 20px;
}
input#importo {
    width: 60%;
}
input#importo_decimali {
    width: 27%;
}
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 1;
    transform: translate(0, -50%);
}
.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev {
    background: #51284E;
    color: #fff;
    border-radius: 50%;
    width: 19px;
    height: 19px;
    line-height: 19px;
    text-align: center;
}
.owl-carousel .owl-nav button.owl-next:hover, .owl-carousel .owl-nav button.owl-prev:hover {
    background: #D61F84;
}
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    right: -25px;
}
.owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    left: -25px;
}

/* COLLECTION */
.collection table {
	font-size: 17px;
	text-align: center;
}
th {
	background: #f7bf23;
	color: #000;
	padding: 10px 20px;
}
td {
	padding: 10px 15px;
	background-color: #fff;
}
.td1 { background-color: #f4eee5; }
.tdleft {
	padding: 0 10px;
}
.td1cent, .td2cent {  }
.td1right, .td2right { padding-right: 20px; }
.collection .td3 {
	
}

.lista-pdv {
    padding: 40px;
    margin: 30px auto 0;
    width: 680px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 calc(100% - 20px));
}
.lista-pdv ul {
    list-style-type:none;
    text-align: left;
    padding: 0;
    text-transform: uppercase;
    margin-top: 0;
}
.lista-pdv ul li {
    width: 50%;
    float: left;
    padding: 20px;
    box-sizing: border-box;
}
.lista-pdv ul a {
    color: #51284E;
    text-decoration: none;
}
.lista-pdv ul a::before {
    content: '';
    display: inline-block;
    background: url(../images/pdf.svg) no-repeat center center/contain;
    width: 30px;
    height: 37px;
    vertical-align: middle;
    margin-right: 10px;
}
.lista-pdv ul a:hover {
    color: #D61F84;
}

.embed-responsive {
	position: relative;
	display: block;
	height: 0;
	padding: 0;
	overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.embed-responsive-16by9 {
	padding-bottom: 56.25%;
}


/* ==========================================================================
   Stuff
   ========================================================================== */
#disclaimer {
	height: 230px; overflow: auto;
	border: 0;
	padding: 5px 10px;
	font-size: 15px;
	background-color: #fff;
	border-radius: 10px;
    margin-top: 20px;
}

.tLeft, .text-left { text-align: left; }
.tCenter, .text-center { text-align: center; }
.tRight, .text-right { text-align: right; }
.upper, .text-uppercase { text-transform: uppercase }
.floatL { float: left; }
.floatR { float: right; }
.bg-v01 { background: #692F74; }
.bg-v02 { background: #3D1D3E; }
.bg-f { background: #D61F84; }
.bg-w { background: #F4F4FB; }
.bg-y { background: #FFD400; }
.w { background: #F4F4FB; }
.y { color: #FFD400; }
.f { color: #D61F84; }
.w { color: #fff; }
.v { color: #51284E; }
.o { color: #FC7B32; }
.medium { font-size: 18px; }
.small { font-size: 13px; }
.xb { font-weight:  900; }
.m-auto { margin: auto; }
.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.cookie { clear:both; }
.cookie a {
	text-decoration: none;
	font-size: 13px;
	display: block;
	background: #bbac8e;
	float: right;
	padding: 3px 10px;
	color:#fff;
	border-radius: 5px 5px 0 0;
	margin-right: 18px;
}
.cookie a:hover { background: #c91f26 }

/* Errori */
input.error, select.error  {
	border: 1px solid #C91F26 !important;
}
div.errorPage {
	border: 3px solid #fbc2c4;
	padding: 10px 10px 10px 10px;
	color: #9e2f14;
	background: #fce9e9;
}
.errorPage a {
	color: #C91F26 !important;
}
div.error {
	border: 1px solid #c91f26;
	border-radius: 5px;
	padding: 5px 5px 5px 35px;
	margin-top: 4px;
	color: #9e2f14;
	background: #fce9e9 url(../images/error.gif) no-repeat 10px center;
}
div.notice {
	border: 3px solid #d0de92;
	padding: 10px 10px 10px 10px;
	background-color:#ebf1cd;
	color: #315307;
	margin-bottom: 20px;
}
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
.clear { display: block; clear: both; padding: 0; margin: 0; position: relative; height: 0; font-size: 0px; line-height: 0; }

/* SCROLL TOP BT */
.scroll-top-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 9999;
    background-color: #D61F84;
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    right: 2rem;
    bottom: 2rem;
    padding-top: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.scroll-top-wrapper a {
	color: #fff;
}
.scroll-top-wrapper:hover a, .scroll-top-wrapper a:hover {
	color: #fff;
}
.scroll-top-wrapper:hover {
    background-color: #FC7B32;
}
.scroll-top-wrapper.show {
    visibility: visible;
    cursor: pointer;
    opacity: 1.0;
}
.scroll-top-wrapper i.fa {
    line-height: inherit;
    font-size:2rem;
}
