/* ==========================================================================
   style by Filippo Montanari - www.fpeitalia.com
   sunset
   ========================================================================== */
:root {
    --primary: #EF4145;
}
a, a:active, a:focus, img[usemap], map area {
	outline: none;
}
html,button,input,select,textarea {
    color: #000;
}
html {
	scroll-behavior: smooth;
}
html, body {
	min-height: 100vh;
}
body {
    font: 16px 'Open Sans', sans-serif;
    color: #000;
    background: #fff;
    display: flex;
    flex-direction: column;
}
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;
}
h2 {
	font-size: 20px;
	padding: 0;
	margin: 0 0 15px;
}
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: var(--primary);
}
a:hover {
	color: var(--primary);
}


main { display: block; }

header {
	text-align: center;
}
header .container {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
header h1 {
    background: var(--primary);
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    padding: 0 20px;
    margin: 0;
}
footer {
    background: #f58224;
    color: #fff;
    margin-top: auto;
}
footer a, footer a:hover {
    color: #fff;
}
section {
	position: relative;
}

.container {
	width: 920px;
    padding: 40px 20px;
	margin: 0 auto;
	position: relative;
	box-sizing: border-box;
}
.step ol {
    list-style-type: none;
    padding: 0;
    counter-reset: section;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.step ol li {
    width: 33.3333%;
    padding: 0 20px;
}
#home .step ol li strong {
    display: block;
}
.step ol li::before {
    display: block;
    width: 50px;
    height: 50px;
    background: #f58224;
    color: #fff;
    border-radius: 50%;
    line-height: 50px;
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    content: counter(section);
    counter-increment: section;
    margin: 15px auto 15px;
}
.col {
    width: 50%;
}

/* MENU */
nav {
    background: #F5F5F5;
}
.nav-content {
	margin: 0 auto;
	position: relative;
    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: center;
}
nav li {
	display: flex;
    align-items: center;
}
nav li a {
	color: #000;
	text-decoration: none;
	padding: 5px 20px;
	font-size: 18px;
    line-height: 20px;
    font-weight: 700;
    text-transform: uppercase;
	text-align: center;
	display: inline-block;
}
nav a:hover {
    color: var(--primary);
    transition: none;
}
nav li.active {  }
nav li.active>a {
	 color: var(--primary);
}
nav .active a, nav .active a:hover {  }

.button {
	background: var(--primary);
    border-radius: 40px;
    border: 0;
    display: inline-block;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    padding: 9px 40px 9px;
    box-sizing: border-box;
    vertical-align: middle;
}
.button.btn-secondary {
	background: #BBBBBB;
	color: #fff;
}
:hover.button {
	text-decoration: none;
	background: #E46517;
	color: #fff;
}
:hover.button.btn-secondary, .bg-f :hover.button {
	background: gray;
	color: #fff;
}
.button.disabled {
	cursor: default;
	background: lightgrey;
	color: #fff;
}
.button+.button {
    margin-left: 10px;
}

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

.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;
}

/* 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 {
	
}
form#giocaForm {
    max-width: 600px;
    margin: 40px auto;
}
label { 
    color: #000;
    cursor: pointer;
}
div#recaptchadiv > div {
    margin: 0 auto;
}
input.text, select, textarea {
	vertical-align: middle;
	border: 1px solid #BBBBBB;
	font-size: 18px;
	padding: 10px 10px;
	box-sizing: border-box;
	border-radius: 0;
    font-family: 'Open Sans';
    outline: none !important;
}
select {
    padding: 9px 10px;
}
input.text {
	width: 98%;
	z-index: 3;
}
select#citta, select#oggetto {
	width: 98%;
}
#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;
}

#giocaForm .form-row {
    line-height: 43px;
}
input#importo {
    width: 60%;
}
input#importo_decimali {
    width: 27%;
}

.form-col-left.form-cap {
    width: 20%;
}
.form-col-left.form-loc {
    width: 60%;
}
.form-col-left.form-pro {
    width: 18.3%;
}

.insegne {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 800px;
    margin: auto;
    justify-content: center;
}
.insegne-item {
    width: 200px;
    height: 200px;
    line-height: 200px;
    display: block;
    align-content: center;
    padding: 0 10px;
    box-sizing: border-box;
    text-align: center;
    margin: 20px 0 0;
}
.insegne-item img {
    width: 100%;
}
.insegne-item label {
    display: block;
    border: 4px solid #F5F5F5;
    background: #F5F5F5;
    cursor: pointer;
    transition: all 0.2s ease;    
}
.insegne-item label.active {
    border: 4px solid orange;
    background: #fff;
}
.insegne-item input {
    display: none;
}

/* COLLECTION */
.collection table {
	font-size: 17px;
	text-align: center;
}
th {
	background: var(--primary);
	color: #fff;
	padding: 10px 20px;
    border: 1px solid #B9B9B9;
}
td {
	padding: 10px 15px;
	background-color: #fff;
    border: 1px solid #B9B9B9;
}
/*.td1 { background-color: #f4eee5; }*/
.tdleft {
	padding: 0 10px;
}
.td1cent, .td2cent {  }
.td1right, .td2right { padding-right: 20px; }
.collection .td3 {
	
}


/* ==========================================================================
   Stuff
   ========================================================================== */
#disclaimer {
	height: 230px; overflow: auto;
	padding: 5px 10px;
	font-size: 15px;
	background-color: #fff;
	border: 1px solid #bbb;
    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-primary { background: var(--primary); }
.primary { color: var(--primary); }
.medium { font-size: 16px; }
.small { font-size: 13px; }
.xb { font-weight:  900; }
.m-auto { margin: auto; }
.p-10 { padding: 10px; }
.p-20 { padding: 20px; }

/* 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; }
