/* ==========================================================================
   style by Filippo Montanari - www.fpeitalia.com
   Pas
   ========================================================================== */

html,button,input,select,textarea {
    color: #4C3937;
}
body {
    color: #4C3937;
	font: 20px/27px 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
*, a, a:active, a:focus, img[usemap], map area {
	outline: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
strong {
	font-weight: 600;
}
h1, h2, h3 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
    line-height: normal;
}
h1 {
	color: #fff;
	font-size: 37px;
}
h2 {
	font-size: 30px;
}
h3 {
	font-size: 24px;
	line-height: normal;
	margin: 0 0 10px;
}
img {
    vertical-align: middle;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    resize: vertical;
	width: 100%;
}
p {
	margin: 0;
	padding: 5px 0 15px;
}
a {
	color: #333;
}
a:hover {
	color: #7FCBBF;
}

/* MENU */
header nav ul {
    display: flex;
    align-items: center;
}
nav ul {
	list-style-type: none;
	margin: 40px auto 0; padding: 0;
	width: 770px;
	text-align: center;
}
nav li {
	display: inline-block;
}
nav li a {
	color: #fff;
	font: 600 15px 'Montserrat', sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 8px 0;
	margin: 0 20px;
	display: block;
}
nav li.active { }
nav a:hover { color:#fff; }
nav .active a, nav .active a:hover { border-bottom: 2px solid #fff; color: #fff; }


header {
	background: url(../images/cq5dam.web.1920.1920.png) no-repeat center center/cover;
	position: relative;
}
.visual {
	color: #fff;
	text-transform: uppercase;
	padding: 30px 0;
}
.visual .wrapper {
	max-width: 1000px;
	margin:auto;
}
.visual h1 {
    font-weight: bold;
    font-size: 45px;
}

footer {
	background: #553D38;
	font-size: 14px;
	color: #fff;
    margin-top: auto;
    font-weight: 600;
}
footer a { color: #808183; }
footer a:hover {
    text-decoration: underline;
}
footer .floatL {
	width: 650px;
}
footer .social {
	float: right;
	padding: 10px 30px 30px 0;
}
footer .logo-s { display: inline-block; float: left; margin-right: 40px; }
footer .ico-social { padding: 0 5px; }

.button {
	display: inline-block;
	box-sizing: border-box;
	text-decoration: none;
	/*text-transform: uppercase;*/
	vertical-align: middle;
	min-width: 200px;
	padding: 15px 30px;
	margin: 0;
	background: #553D38;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 1px;
    line-height: normal;
	color: #fff;
	border: 0;
	-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;
}
.button span {
    font-size: 15px;
}
.button.back {
	background: grey;
}
:hover.button, #perdita .bg-green .button, :hover.button.back {
	color: #fff;
}

.wrapper {
    min-width: 800px;
	max-width: 1100px;
	margin: 0 auto;
	position: relative;
}
.intro {
    padding: 40px 20px;
}
section {
	line-height: 28px;
}
.content {
	padding: 30px;
	box-sizing: border-box;
}
.logo-sam {
	/*background: #fff;*/
	position: absolute;
	top: 0;
	left: 40px;
	padding: 0;
	z-index: 10;
}
.logo-sam img {
	width: 170px;
}
.logo-sam a { display: block; }
.logo-speciale {
    display: inline-block;
    margin: 0 auto;
}
.logo-speciale img {
    width: 400px;
}

.bg-white .wrapper:after {
	display: block;
	content: '';
	width: 330px;
	height: 111px;
	background: url(../images/bgr_white-after.png) no-repeat;
	position: absolute;
	bottom: -60px;
	right: 0;
	z-index: -1;
}

.col {
	width: 50%;
	box-sizing: border-box;
	padding: 30px;
	position: relative;
}
body:not(#home):not(#after-registrazione):not(#missioni-green):not(#graduatoria) .sc-container {
    margin-top: 70px;
}
.sc {
	position: relative;
	padding: 80px 30px 50px;
    text-align: center;
}
.sc:before {
	background: url(../images/bgr_sc.png) no-repeat center left;
	content: '';
	display: block;
	width: 111px;
	height: 98px;
	position: absolute;
	top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}
.sc h3 { color: #553D38 }
.sc a { color: #553D38; }
.attivo_su_altri_concorsi_dbunico {
	background-color:#eeeeef;
	color: #3e3e40;
	padding: 20px;
	margin: 20px 0;
}

.row-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 1100px;
    margin: auto;
    text-align: left;
    padding: 40px 0;
}
.col {
    width: 50%;
    box-sizing: border-box;
}
.p-0 {
    padding:0;
}
.p-5 {
    padding: 40px;
}
.bg-br {
    background: #f8f6f1;
}
.bg-lb {
    background: rgba(231,207,184,.7);
}
.bg-lc {
    background:#d9efec
}

/* FORM */
#recaptchadiv>div {margin: 0 auto;}
.form-row {
	clear: both;
	padding: 5px 0;
}
.form-col-left {
	float: left;
	width: 48%;
}
.form-col-right {
	float: right;
	width: 48%;
}
.form-col-wide {
	
}
label { cursor: pointer; }
#gelatidettaglio, #prodotti_da_fornodettaglio, #piatti_prontidettaglio {
    padding-left: 40px;
}
.labelgelati {
    display: inline-block;
    /*width:150px;*/
    padding-right: 20px
}
.qtip-content {
	font-size: 13px;
	line-height: 15px;
}
input.text, select, textarea {
	vertical-align: middle;
	border: 1px solid #f2efe7;
    background: #f2efe7;
	box-sizing: border-box;
	padding: 5px 10px;
}
input.text {
	width: 100%;
	z-index: 3;
}
input:focus.text, textarea:focus, select:focus {
	border: 1px solid #f2efe7;
    background: #f2efe7;
}
section input.text, section select {
    background: #fff !important;
}
select.text {
	width: 100%;
}
input#ind_toponimo {
	width: 60%;
}
input#ind_civico {
	width: 10%;
}
input#data_nascita_anno {
	width: 20%;
}
#loginForm input.text, input#codice, #pre-registrazione input#partita_iva, #pre-registrazione input#email {
	width: 50%;
	box-sizing: border-box;
	padding: 10px 15px;
	font-size: 20px;
}

input#codice {
	width: 65%;
	vertical-align: middle;
}

.colore {
    display: inline-block;
    border: 1px solid #553D38;
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin: 0 5px;
}
.colore.Rossa { background: #B83B3E}
.colore.Salvia { background: #849A7F}
.colore.Capri { background: #0F628C}
.color-label:not(:last-of-type) { margin-right: 30px;}

/* COLLECTION */
.collection {
	padding: 20px 0;
}
.collection .intestazione {
	padding: 10px 20px;
	background: #553D38;
	color: #ffffff;
	text-align: left;
}
.collection td {
	padding: 10px 20px;
	text-align: left;
	font-size: 18px;
}
.collection .td1 { background-color: #fff; }
.collection .td2 { background-color: #f8f6f1; }
.td1right, .td2right { padding-right: 10px; }
tr.vincente td.td1, tr.vincente td.td2 { background: #ffff00; }

.coupon {
    background: #7FCBBF url("../images/bgr_cornetto.png") no-repeat right 20px center/20%;
    padding: 40px 20px;
}

.missioni-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin: 30px auto 0;
}
.missioni-list>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(1.5rem) * .5);
    padding-left: calc(var(1.5rem) * .5);
    margin-top: var(0);
}
.missione {
    color: #6ab6a3;
    width: 33.33333%;
    box-sizing: border-box;
    flex: 0 0 auto;
    padding: 0 35px 45px;
}
.missione a {
    display: block;
    padding: 10px 70px 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    background: #8bc6be;
    color: #fff;
    font-weight: bold;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
.missione a:hover {
    background: #64ada3;
}
.missione a:before {
    content: '';
    display: block;
    width: 170px;
    height: 170px;
    pointer-events: none;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
}
.missione.m01 a:before { background: url("../images/icons/1.png") no-repeat center center/contain; }
.missione.m02 a:before { background: url("../images/icons/2.png") no-repeat center center/contain; }
.missione.m03 a:before { background: url("../images/icons/3.png") no-repeat center center/contain; }
.missione.m04 a:before { background: url("../images/icons/4.png") no-repeat center center/contain; }
.missione.m05 a:before { background: url("../images/icons/5.png") no-repeat center center/contain; }
.missione.m06 a:before { background: url("../images/icons/6.png") no-repeat center center/contain; }
.missione.m07 a:before { background: url("../images/icons/7.png") no-repeat center center/contain; }
.missione.m08 a:before { background: url("../images/icons/8.png") no-repeat center center/contain; }
.missione.m09 a:before { background: url("../images/icons/9.png") no-repeat center center/contain; }
.missione.m10 a:before { background: url("../images/icons/10.png") no-repeat center center/contain; }
/*.missione.ok a, .missione.pending a {
    pointer-events: none;
}*/
.missione.ok .missione-titolo:after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("../images/icons/ok.png") no-repeat center center/contain;
    vertical-align: middle;
    margin-left: 5px;
}
.missione.ok a {
    background: #008000;
}
.missione.pending a {
    background: #778899;
}
.missione.pending .missione-titolo:after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("../images/icons/pending.png") no-repeat center center/contain;
    vertical-align: middle;
    margin-left: 5px;
}
.missione .gettoni {
    font-size: 16px;
}
.missioni-reg-list {
    display: flex;
    align-items: center;
    margin-bottom: -40px;
}
.mobileonly {
    display: none;
}
.quest {
    line-height: 27px;
}
.quest-submit {
    display: flex;
    justify-content: space-between;
    padding:  40px 0 0;
}
a.button.quest-torna {
    background: darkgrey;
}
a.button.quest-salva {
    background: darkgrey;
}
.testo_domanda, .testo_domanda_tabellare {
    font-weight: bold;
}
.tabella tr:hover {
    background: lightblue;
}
.likert td {
    padding: 10px;
}
#missioni-green form {
    padding-bottom: 60px;
}

.anagrammi {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px auto;
}
.anagrammi .item {
    text-align: center;
    border: 4px solid #7FCBBF;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    white-space: nowrap;
    margin: 20px 0;
}
.anagrammi .item .lettere {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translate(-50%, 0);
    background: #fff;
    padding: 5px 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #7FCBBF;
}
.anagrammi input[type=text], .anagrammi .input-text-fake {
	width: 50px;
	height: 50px;
	color: #fff;
	text-align: center;
	border-radius: 5px;
	background: #7FCBBF;
	border: 0;
	text-transform: uppercase;
    font: 700 2rem 'Montserrat';
    vertical-align: middle;
}
.round-01.anagrammi input[type=text], .round-02.anagrammi input[type=text], .anagrammi .input-text-fake {
    color: #ffffff;
    background: rgba(231,207,184,1);
}
.anagrammi input[type=text].ok {
	background: #41a156;
    color: #fff;
}
.anagrammi input[type=text]:focus {
	border: 0;
	box-shadow: none;
	outline: none;
}
.anagrammi .input-text-fake {
    display: inline-block;
    line-height: 50px;
}

/* GRADUATORIA */
.totale-graduatoria { 
	border-radius: 0 0 20px 20px;
	background: #fff;
}
.periodo-graduatoria {
    padding: 10px 20px;
    font-weight: bold;
	font-size: 20px;
    border-radius: 20px 20px 0 0;
    margin: 0;
}
.periodo-graduatoria h3 {
	margin: 0;
}
.graduatoria-esito {
	padding: 20px;
}
.graduatoria-posizione {
	display: flex;
	align-items: center;
    justify-content: center;
	flex-wrap: wrap;
	text-align: center;
}
.graduatoria-posizione .item {
	width: 20%;
	box-sizing: border-box;
}
.graduatoria-posizione .item .item-title {
	padding: 10px 10px;
	border-radius: 20px;
	margin: 0 5px;
	min-height: 150px;
    position: relative;
}
.graduatoria-posizione .item .item-title.f { font-size: 18px; }
.graduatoria-posizione .item .item-title .pos, .premio-item-img .pos {
	font-size: 50px;
    font-weight: bold;
    line-height: normal;
}
.graduatoria-posizione .item .item-title .pos.corn {
	font-weight: normal;
	font-size: 20px;
}
.graduatoria-posizione .item.primo-posto {
	margin: 10px 5px 0;
	width: 100%;
	border-radius: 20px;
}
.graduatoria-posizione .item.primo-posto .item-title {
	min-height: 0;
	color: #005da8;
	font-size: 18px;
	text-align: left;
}
#graduatoria .premio-item-img {
    height: auto;
    padding-bottom: 20px;
}
#graduatoria .premio-item-img .pos span {
    font-size: 20px;
    display: block;
}
.graduatoria-posizione .item .item-title .pos {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 0);
}
.w { color: #fff; }

span.remove {
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
    background: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    vertical-align: middle;
    color: red;
    cursor: pointer;
}
button#additem {
    background: #4C3937;
    color: #fff;
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
}

/* OVERLAY */
body.noscroll {
	overflow: hidden;
}
.overlay {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index:1000;
	display: none;
	overflow: auto;
	background-color: rgba(36, 13, 13, 0.9);
}
.overlay-content {
	width: 860px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    background: #fff;
    z-index: 100001;
    transform: translate(-50%, -50%);
}
.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: -10px 20px 0;
	font-size: 24px;
	line-height: 27px;
	font-weight: bold;
	padding: 20px 0 20px 0;
	position: relative;
}
#regolamento .ov-premio-tit {
	padding-left: 20px;
}
.ov-premio-img {
	/*height: 480px;*/
	width: 445px;
	float: left;
	text-align: center;
	position: relative;
    padding: 0 10px;
    box-sizing: border-box;
}
.ov-premio-img img {
	max-width: 100%;
}
.ov-premio-cont {
	float: left;
    width: 380px;
    font-size: 18px;
    padding: 0 0 0 20px;
}
.ov-premio-cont>p:first-child {
	margin-top: 0;
}


.nav-servizio {
	float: left;
}
.nav-servizio ul {
	list-style-type: none;
	padding: 0 30px 0px;
	margin: 0;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
}
.nav-servizio li {
	display: inline-block;
	padding: 0 10px;
	margin: 0;
}
.nav-servizio li a {
	color: #fff;
	font: 600 15px 'Montserrat', sans-serif;
	margin: 0;
	text-transform: none;
}
.brands {
	padding: 30px 30px 10px;
}
.brands ul {
	list-style-type: none;
	margin: 0 10px;
	width: auto;
	text-align: left;
}
.brands ul li {
	display: inline-block;
	margin: 0 0;
}
.brands ul li img {
	width: 100%;
}
.brands ul li a {
	margin: 0;
    color: #fff !important;
}
.brands ul li:not(:last-child) a:after {
	display: inline-block;
    content: "|";
    padding: 0px 10px 0 10px;
    font-size: 20px;
    line-height: 7px;
    font-weight: 400;
    vertical-align: middle;
}
.legal {
    padding: 20px 0 20px 40px;
    font-size: 0.80rem;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 600;
    line-height: normal;
}
.legal-img {
    padding-right: 30px;
}
.logo-footer {
    margin: 0 0 20px 10px;
    display: inline-block;
}
/* ==========================================================================
   Stuff
   ========================================================================== */
#disclaimer {
	height: 180px; overflow: auto;
	border: 1px solid #cccccc;
	padding: 3px 5px;
	font: 12px Verdana, Geneva, Arial, Helvetica, sans-serif;
	background-color: White;
	margin: 15px 0;
}
.tLeft { text-align: left; }
.tCenter, .text-center { text-align: center; }
.tRight, .text-right { text-align: right; }
.floatL { float: left; }
.floatR { float: right; }
.medium { font-size: 14px; line-height: normal;}
.small { font-size: 12px; line-height: normal; }
.y, .y:hover { color: #ffff1a; }
.g { color: #33a452; }
.red { color:#f90804; }
.bg-b { background: #7FCBBF; }
.cyano { color: #7FCBBF; }
.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;
	border-width: 0 0 2px 0;
}
div.errorPage {
	border: 3px solid #fbc2c4;
	padding: 20px;
	color: #9e2f14;
	background: #fce9e9;
	width: 70%;
    margin: 0 auto;
}
.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: 20px;
	background-color:#ebf1cd;
	color: #315307;
	width: 70%;
    margin: 0 auto;
}
.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; }