html, body {width:100%;height:100%;padding: 0px;margin:0px;}
body {background-color: #fff;font-family: 'AllianzNeo-Regular';font-size:20px;line-height: 24px;color:#021c4d;}
.form-page {/*display: flex;*/align-items: center;padding-top: 40px;padding-bottom: 40px;background-color: #eef1f7;font-family: 'AllianzNeo-Regular';text-align: center;background:url('../images/bg-otp-allianzxsinner.jpg');background-size:cover;background-repeat:no-repeat;background-position:50%;}
body.form-page.esiti {/*display: flex;*/align-items: center;padding-top: 40px;padding-bottom: 40px;background-color: #eef1f7;font-family: 'AllianzNeo-Regular';text-align: center;background:url('../images/bg_esito.jpg');background-size:cover;background-repeat:no-repeat;background-position:50%;}

a, a:hover {text-decoration:none;color:#021c4d;}
a:-webkit-any-link:focus-visible {outline-offset: 0px !important;}
a.href {cursor:pointer;}
.txt-underline {text-decoration:underline;}
b, strong, .fw-bolder {font-family: 'AllianzNeo-Bold';color:#021c4d;}
small.x-small {font-size:.7em;line-height: 1.5em;display: block;}
small.xx-small {font-size:.5em;line-height: 1.5em;display: block;}

section {background-color:#fff!important;color:#021c4d!important;}
h1, h2, h3, h4, h5, h6 {color:#021c4d;}

/* bg */
.bg-light {background-color: #f1f1f1!important;}
.bg-grigio-chiaro {background-color:#ececec!important;}
.bg-blu {background-color:#021c4d!important;}
.bg-arancione {background-color:#C9FA00!important;}
.bg-rosso {background-color:#C9FA00!important;}

/* txt */
.txt-nero, .txt-nero {color:#000!important;}
.txt-blu, .txt-blu * {color:#021c4d!important;}
.txt-bianco, .txt-bianco * {color:#fff!important;}
.txt-arancione, .txt-arancione * {color:#C9FA00 !important;}
.txt-giallo, .txt-giallo * {color:#f9b115;}
.txt-viola, .txt-viola * {color:#c217d0;}
.txt-verde, .txt-verde * {color:#1ba651;}
.txt-bluette, .txt-bluette * {color:#3178d0;}
.txt-rosso, .txt-rosso * {color:#f0282c;}
.txt-acqua, .txt-acqua * {color:#09ad8e;}
.txt-rosa, .txt-rosa * {color:#FF8EE9;}
.txt-azzurrino, .txt-azzurrino * {color:#b0bfd7;}

/* border */
.border-bianco {border:solid 1px #fff;}
.list-unstyled a {text-decoration:underline;}
.w-80 {width:80%;}
.container-slim {max-width:820px;}

main {font-size:20px;line-height: 24px;}

/************************* HEADER *************************/

body header {position:fixed;}
header {top:0px;width:100%;z-index: 999;font-size:16px;}
header .navbar {background:#021c4d;color:#fff;height:58px!important;}
header .navbar-nav a {padding-left:25px!important;padding-right:25px!important;color: #fff;}
header .navbar-nav a:hover {color:#C9FA00;}
header .navbar-nav .nav-link.active, header .navbar-nav .nav-link.show, header .navbar .nav-link.active:hover {color:#C9FA00;}
header .navbar-nav  i::before {display:inline;}
header .logo b {color:#fff;position: relative;top: 3px;}
/*header .logo img {max-width:180px;}*/
header button i {color: #fff;}
header .navbar-toggler {border:0px;border-radius: 0px !important;box-shadow: 0px 0px !important;}
header .navbar-expand-lg .navbar-nav .dropdown-menu {background: #021c4d;}
header .dropdown-item:focus, header .dropdown-item:hover {background-color: inherit;}
header .nav-btn a {font-size: 12px!important;/*min-width: auto!important;*/margin-top: 5px!important;}

/* dropdown */
header .dropdown-item.active, header .dropdown-item:active {color: #C9FA00;text-decoration: none;background-color: transparent;}

/* offcanvas */
.offcanvas {background:#021c4d;}
.offcanvas .navbar-nav a {color:#fff!important;}
.offcanvas .navbar-nav a:hover {color:#C9FA00!important;}
.offcanvas .navbar-nav a.active {color: #C9FA00 !important;text-decoration: none;background-color: transparent;}
.offcanvas .navbar-nav .nav-link.active, .offcanvas .navbar-nav .nav-link.active:hover {color:#C9FA00!important;}
.offcanvas .dropdown-menu.show {display: block;position: relative !important;transform: initial !important;border: 0px;background: #021c4d;border-radius: 0px;}
.offcanvas .dropdown-menu.show a:hover {background:transparent;}
.offcanvas .dropdown-item.active, .offcanvas .dropdown-item:active {color: #C9FA00 !important;text-decoration: none;background-color: transparent;}
.offcanvas .offcanvas-header b {/*padding-top: 30px !important;*/display: flex;color:#fff;}
.offcanvas .offcanvas-header h2 {position: relative;top: -10px;}
.offcanvas .offcanvas-header img {max-width:220px;}
.offcanvas .nav-btn a, .offcanvas .nav-btn a:hover {color:#021c4d!important;}

/************************* HEROSPACE *************************/

.hero {background-size:cover!important;background-repeat:no-repeat!important;background-position:50%!important;height:500px;margin-top:34px !important;}
#hero-home.hero {background:url('../images/header-allianzxsinner.jpg');height:598px;}
#hero-home.hero * {color:#fff;}

.hero-esito {margin-top:0px!important;}
.hero .ms-neg {margin-left:-50px!important;}

/************************* CARD *************************/

.card.form-reg {max-width:680px;}
.card.errore {max-width:640px;}

.card p {color:#021c4d;}
.card .btn {border-radius:30px;color:#fff!important;padding: 5px 30px;background:#021c4d;text-transform:uppercase;font-size:14px;/*border:solid 1px #021c4d;*/}
.card .btn:hover {background:transparent;/*color:#021c4d!important;border:solid 1px #021c4d;*/}

.card-block {max-width:333px;}
.card-cover {background-repeat:no-repeat;background-position: center center;}

/************************* PULSANTI *************************/

.btn.btn-lg {border-radius:30px;color:#021c4d!important;padding: 5px 30px;background:#C9FA00;text-transform:uppercase;font-size:16px;border:solid 1px #C9FA00;min-width:150px;box-shadow: 0px 0px;font-weight:bold;}
.btn.btn-lg:hover, .btn.btn-lg:active, .btn.btn-lg:focus {border-radius:30px;color:#021c4d!important;padding: 5px 30px;background:#fff;text-transform:uppercase;font-size:16px;border:solid 1px #fff;}
.btn.btn-lg.btn-big {font-weight: bold;font-size: 20px;}

.btn.btn-lg-neg {border-radius:30px;color:#C9FA00!important;padding: 5px 30px;background:transparent;text-transform:uppercase;font-size:16px;border:solid 1px #C9FA00;min-width:150px;}
.btn.btn-lg-neg:hover {border-radius:30px;color:#fff!important;padding: 5px 30px;background:#C9FA00;text-transform:uppercase;font-size:16px;border:solid 1px #C9FA00;}

/************************* GIOCA *************************/

/*
.color-premio-cat-1 h2 b {color:#4a9ece;}
.color-premio-cat-2 h2 b {color:#f0b93f;}
.color-premio-cat-3 h2 b {color:#7cca90;}
.color-premio-cat-4 h2 b {color:#99326d;}

.color-premio-cat-1 .card span {background:#4a9ece;}
.color-premio-cat-2 .card span {background:#f0b93f;}
.color-premio-cat-3 .card span {background:#7cca90;}
.color-premio-cat-4 .card span {background:#99326d;}

.color-premio-cat-3 .card-dettaglio b, .color-premio-cat-4 .card-dettaglio b {color:#021c4d;}

.color-premio-cat-1.btn {background:#4a9ece;color:#fff;border:solid 1px #4a9ece;}
.color-premio-cat-2.btn {background:#f0b93f;color:#fff;border:solid 1px #f0b93f;}
.color-premio-cat-3.btn {background:#7cca90;color:#fff;border:solid 1px #7cca90;}
.color-premio-cat-4.btn {background:#99326d;color:#fff;border:solid 1px #99326d;}

.color-premio-cat-1.btn:hover, .color-premio-cat-1.btn:active, .color-premio-cat-1.btn:focus {background:transparent;color:#4a9ece!important;border:solid 1px #4a9ece;}
.color-premio-cat-2.btn:hover, .color-premio-cat-2.btn:active, .color-premio-cat-2.btn:focus {background:transparent;color:#f0b93f!important;border:solid 1px #f0b93f;}
.color-premio-cat-3.btn:hover, .color-premio-cat-3.btn:active, .color-premio-cat-3.btn:focus {background:transparent;color:#7cca90!important;border:solid 1px #7cca90;}
.color-premio-cat-4.btn:hover, .color-premio-cat-4.btn:active, .color-premio-cat-4.btn:focus {background:transparent;color:#99326d!important;border:solid 1px #99326d;}
*/


.btn.btn-gioca {border-radius: 30px;color: #fff !important;padding: 10px 40px;background: #C9FA00;text-transform: uppercase;font-size: 20px;border: solid 1px #C9FA00;width: 200px;box-shadow: 0px 0px;font-weight:bold;}
.btn.btn-rigioca, .btn.btn-rigioca:hover {border-radius: 30px!important;color: #fff !important;padding: 10px 40px!important;background: #C9FA00!important;text-transform: uppercase!important;font-size: 20px!important;border: solid 1px #C9FA00!important;width: 260px!important;box-shadow: 0px 0px!important;font-weight:bold!important;}
.btn.btn-rigioca:hover, .btn.btn-rigioca:active, .btn.btn-rigioca:focus {color: #C9FA00!important;background: transparent !important;}

/************************* FOOTER *************************/

footer {background:#021c4d;color:#fff;padding-top: 30px;padding-bottom: 10px;font-size: 16px;}
footer a {text-decoration:none!important;color:#fff!important;}
footer a:hover {color:#C9FA00!important;}
footer .logo {max-width:21px;margin-top:-5px;}
footer ul li {text-align:center;}
footer ul li a i {display:block;}
footer .social-icon {margin-top:10px;margin-bottom:10px;}
footer .social-icon a {margin:10px 15px;}
footer .footer-disclaimer {padding-bottom:15px;}
footer .footer-disclaimer small {font-size: .7em;}

/************************* FORM  *************************/

form .row {--bs-gutter-x: 0.5rem;}
form small {font-size:0.5em;display: block;line-height: 1.5em;}
form label {display: inline-block;font-size: 16px !important;}
form .policies label {display: inline-block;font-size: 14px !important;}
form a {color:#003781;}
input:disabled {background-color: light-dark(rgba(239, 239, 239, 0.6), rgba(59, 59, 59, 0.6));}

.form-reg a {text-decoration: underline;color: #fff!important;}
.form-reg .form-floating:focus-within {z-index: 2;}
.form-reg input[type="text"], .form-reg input[type="number"], .form-reg input[type="tel"], .form-reg input[type="email"], .form-reg select {margin-bottom: -1px;border-bottom-right-radius: 0;border-bottom-left-radius: 0;width: 100%;border: solid 1px #a9a9a9;border-radius: 10px;height: 45px;font-size: 16px;padding-left: 15px;}
.form-reg input[type="email"] {text-transform:inherit;}
.form-reg .btn-primary, .form-reg .btn-primary:active, .form-reg .btn-primary:focus {border-radius:30px;color:#003781!important;padding: 5px 30px;background:#C9FA00;text-transform:uppercase;font-size:16px;border:solid 1px #C9FA00;width:150px !important;font-weight:bold;}
.form-reg .btn-primary:hover {border:solid 1px #003781 !important;}
.form-reg .alert-text {line-height: 22px;display: flex;}
.form-reg .conf-tel, .form-reg .conf-tel:active, .form-reg .conf-tel:focus {width:auto!important;}
.form-reg .otp_num {padding-left: 5px !important;}
.form-reg .error {color:red;font-size:12px !important;}

/* select */
select{background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 95% 50%;-moz-appearance: none; -webkit-appearance: none; appearance: none;height: 30px; width: 100px;padding: 5px;background-color: #fff;color:#000;}

/* placeholder */
::placeholder {color: #000 !important;opacity: 1;font-size:100%;}
::-ms-input-placeholder {color:  #000 !important;font-size:100%;}

/* icheck-bootstrap v3.0.1 (https://github.com/bantikyan/icheck-bootstrap) */
[class*="icheck-"] {min-height: 22px;margin-top: 6px !important;margin-bottom: 6px !important;padding-left: 0px;}
.icheck-inline {display: inline-block;}
.icheck-inline + .icheck-inline {margin-left: .75rem;margin-top: 6px;}
[class*="icheck-"] > label {padding-left: 29px !important;min-height: 22px;line-height: 22px;display: inline-block;position: relative;vertical-align: top;margin-bottom: 0;font-weight: normal;cursor: pointer;}
[class*="icheck-"] > input:first-child {position: absolute !important;opacity: 0;margin: 0;}
[class*="icheck-"] > input:first-child:disabled {cursor: default;}
[class*="icheck-"] > input:first-child + label::before,[class*="icheck-"] > input:first-child + input[type="hidden"] + label::before {content: "";display: inline-block;position: absolute;width: 22px;height: 22px;border: 1px solid #D3CFC8;border-radius: 0px;margin-left: -29px;}
[class*="icheck-"] > input:first-child:checked + label::after,
[class*="icheck-"] > input:first-child:checked + input[type="hidden"] + label::after {content: "";display: inline-block;position: absolute;top: 0;left: 0;width: 7px;height: 10px;border: solid 2px #fff;border-left: none;border-top: none;transform: translate(7.75px, 4.5px) rotate(45deg);-ms-transform: translate(7.75px, 4.5px) rotate(45deg);}
[class*="icheck-"] > input[type="radio"]:first-child + label::before,
[class*="icheck-"] > input[type="radio"]:first-child + input[type="hidden"] + label::before {border-radius: 50%;}
[class*="icheck-"] > input:first-child:not(:checked):not(:disabled):hover + label::before,
[class*="icheck-"] > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {border-width: 2px;}
[class*="icheck-"] > input:first-child:disabled + label,
[class*="icheck-"] > input:first-child:disabled + input[type="hidden"] + label,
[class*="icheck-"] > input:first-child:disabled + label::before,
[class*="icheck-"] > input:first-child:disabled + input[type="hidden"] + label::before {pointer-events: none;cursor: default;filter: alpha(opacity=65);-webkit-box-shadow: none;box-shadow: none;opacity: .65;}
.icheck-default > input:first-child:not(:checked):not(:disabled):hover + label::before, .icheck-default > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {border-color: #adadad;}
.icheck-default > input:first-child:checked + label::before, .icheck-default > input:first-child:checked + input[type="hidden"] + label::before {background-color: #e6e6e6;border-color: #adadad;}
.icheck-default > input:first-child:checked + label::after, .icheck-default > input:first-child:checked + input[type="hidden"] + label::after {border-bottom-color: #333;border-right-color: #333;}
.icheck-primary > input:first-child:not(:checked):not(:disabled):hover + label::before, .icheck-primary > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {border-color: #C9FA00;}
.icheck-primary > input:first-child:checked + label::before,
.icheck-primary > input:first-child:checked + input[type="hidden"] + label::before {border-color: #C9FA00;}
.form-check-input.valid + .error {display:inline !important;}
.form-check-input.valid + .error + .form-check-label {padding-left:0px !important;}

/* country selector form */
.iti {width: 100%;}
.iti input {width: 100%;height: calc(2.25rem + 2px);padding: .375rem .75rem;font-size: 14px;border: 1px solid #ced4da;border-radius: .375rem;padding-left: 30px;}
.iti input:focus {border-color: #86b7fe;outline: 0;box-shadow: 0 0 0 .2rem rgba(13,110,253,.25);}
.iti__selected-flag {padding: 0 8px;border-right: 1px solid #ced4da;background-color: #fff;}
.iti__country-list {font-size: 14px;border-radius: .375rem;box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);}
.iti__country {padding: 6px 10px;}
.iti__country:hover {background-color: #f8f9fa;}
.iti__search-input {font-size: 14px;padding: 6px;}
.iti__dial-code {color: #6c757d;}
.iti .iti__selected-dial-code {font-size: 16px;}
.iti__selected-country {max-height:45px;}

/* grecaptcha badge */
.grecaptcha-badge {visibility: hidden;}	

/************************* MODAL *************************/

.modal-header {border:none;}
.modal-body {top:-15px;}
.modal-body b {color:#021c4d;}
.modal .btn-close {zoom:0.5;}
/* middle center */
body.modal-open .modal {display: flex !important;height: 100%;} 
body.modal-open .modal .modal-dialog {margin: auto;}

/************************* ACCORDION  *************************/

.accordion .accordion-button:focus {border-color: transparent !important;box-shadow: 0px 0px;}
.accordion-button:not(.collapsed) {background-color: transparent!important;}
.accordion button b, .accordion .accordion-body b {color:#021c4d;}
.accordion .accordion-body {padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x);font-size: 70% !important;line-height: 125%;}
.accordion-flush .accordion-item {border-bottom: 1px solid #C9FA00;}

/* freccia sempre rossa e più spessa */
.accordion-button::after,
.accordion-button:not(.collapsed)::after {background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23C9FA00' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 3.646a.7.7 0 0 1 1 0L8 9l5.354-5.354a.7.7 0 0 1 1 1l-6 6a.7.7 0 0 1-1 0l-6-6a.7.7 0 0 1 0-1z'/%3e%3c/svg%3e");transform: rotate(0deg);}
/* rotazione quando aperto (mantieni la stessa icona) */
.accordion-button:not(.collapsed)::after {transform: rotate(180deg);}

/************************* ESITO  *************************/

.esito video, .esito video img {max-width:300px;}
#esito .social-icon a {margin:10px 10px 0px 10px;}
.ani-esito-1, .ani-esito-2 {opacity: 0;}

.back-arrow {position: absolute;top: 15px;left: 25px;font-size: 28px;font-weight: bold;cursor: pointer;color: #C9FA00;transition: all 0.2s ease;z-index: 10;user-select: none;}
.back-arrow:hover {transform: translateX(-3px);opacity: 0.8;}

.prize-content {height:143px;}

/**************************************************************************************************** TESTBOX ****************************************************************************************************/

.testbox {background:#C9FA00;color:#fff;z-index:999999;max-width: 120px;opacity: 0.5;}

/**************************************************************************************************** TESTBOX ****************************************************************************************************/

/************************* MEDIA QUERIES *************************/


@media (max-width:1399px) {	
	#hero-lead.hero {background-position: 50% !important;}
}

@media (max-width:1279px) {
	.lead .hero br {display:none;}	
}

@media (max-width:1023px) {
	
	/************************* HEADER *************************/
	.col-md-6.offset-md-6 {margin-left:inherit!important;        width: 100%!important;}
	
	/************************* CARD *************************/
	.card.wm-80p {width:90% !important;}	
}

@media (max-width:992px) {
	header .btn.btn-lg {font-size: 12px!important;min-width: auto!important;margin-right: 10px;}
	footer br {display:none;}	
	#estrazione-finale br, #estrazione-finale-lead br {display:none;}
	#premi br {display:none;}
}

@media (max-width:991px) {
	header .nav-btn a { margin-top: 0px !important;}
}

@media (max-width:768px) {
	
	/************************* HEROSPACE *************************/
	 .hero br {content:'';}
	
/* 	#hero-home {display:none !important;}*/
	 #hero-home.hero {background-position: 0% 100% !important;}
	 #hero-home.hero h1 {margin-top: 75px !important;font-size: 34px;}
	 #hero-home.hero p br {display:none;}
	 #intro {margin-top:60px;}

	#intro h4 br, #intro br, #estrazione-finale br {display:none;}

	.hero-text-block {margin-left:inherit;width:100%;text-align:center;}
	
	/************************* FOOTER *************************/
	footer {padding-top: 15px;padding-bottom: 15px;}
	footer .col-md-4 {display: block !important;width: 100% !important;font-size: 14px !important;text-align:center !important;} 
	footer .social-icon {margin-top: 0px;margin-bottom: 0px;        width: 100%;}
	footer .footer-disclaimer {padding-top:10px;padding-bottom:0px;}
	footer .footer-disclaimer small {font-size: .4em;}

	/* form page */
	.form-page.esiti main {width:inherit;height:inherit;}
	.form-page.esiti main #gioca {padding-bottom: 180px !important;}
	.form-page.esiti footer {position: fixed;bottom: 0px;}
	body.form-page.esiti {background-size: 3000px 3000px !important;}
	.form-page.finalizza_registrazione main {width:inherit;height:inherit;}
	.form-page.finalizza_registrazione footer {position: fixed;bottom: 0px;}
	body.form-page.finalizza_registrazione {background-size: 3000px 3000px !important;}
	.form-page.finalizza_registrazione .card {height: 1100px;margin-top: 40px !important;margin-bottom: 200px !important;display: block;}
	
	#esito .card {width:100%!important;}
	.ani-esito-1 br {display:none;}
	.hero .ms-neg {margin-left:inherit!important;}

}

@media (min-width:767px) {
	.card-mini span:hover {border:solid 2px #C9FA00 !important;}
}

@media (max-width:700px) {
	.prize-content {height:inherit;}
}

@media (max-width:575px) {
	header .logo img {max-width: 200px;}
	#conferma_giocata br {display:none;}	
	form .form-txt br {display:none;}
	.d-block-mobile {display:block;}
	#hero-lead .container-lg {margin-top: 80px !important;text-align: left !important;}
	#hero-lead .container-lg * {text-align: left !important;}
}

@media (max-width:450px) {

	header .btn.btn-lg {line-height: 12px;padding: 8px 15px !important;margin-right: 4px;margin-top: -2px !important;}
	.thx-lead br {display:none;}
	.hero {margin-top: 0px !important;}
	
	/************************* FORM PAGE *************************/
	.form-reg .form-check-label div {font-size: 14px;}
	.form-reg .alert-text br {content:'';}
		
	/************************* FOOTER *************************/
	footer .col-md-4 {display:block;width:100%;text-align:center!important;display: block;width: 33.3%;text-align: center!important;}
	footer .logo {margin: -5px auto 0px;}
	footer small {font-size:60%;}
	.social-icon {margin:0px;}
	.social-icon a {margin:0px 5px;}
	.come_contatto .card-mini {width: 100px;}
	
	/************************* MODAL *************************/
	body.modal-open .modal .modal-dialog {max-width: 280px;}
}

@media (max-width:374px) {
	header .btn.btn-lg {font-size: 12px !important;padding: 3px 10px;width: 90px;margin: 0px;line-height: 10px;}
}

@media (min-width: 320px) and (max-width: 374px) {
    .navbar .logo {content: url('../images/logo-bar-allianz-bianco.png');width: 40px;display: block;}
}