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

html,button,input,select,textarea {
    color: #464646;
}
body {
    color: #464646;
	font: 18px 'Work Sans', sans-serif;
}
*, 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: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
}
h1 {
	color: #fff;
	font-size: 43px;
}
h2 {
	font-size: 30px;
	color: #3775B6;
}
h3 {
	font-size: 33px;
	line-height: 43px;
	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: #00a0d0;
}

/* MENU */
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 'Barlow Condensed', 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; opacity: .8; }
nav .active a, nav .active a:hover { border-bottom: 2px solid #fff; color: #fff; }


header {
	background: #3775B6;
	position: relative;
}
.visual {
	background: #3775B6;
	color: #fff;
	text-transform: uppercase;
	padding: 30px 0;
}
.visual .wrapper {
	background: url(../images/bgr_bonchef.png) no-repeat center center/contain;
	max-width: 589px;
	margin:auto;
}

footer {
	background: #3775B6;
	font-size: 14px;
	color: #fff;
}
footer a { color: #fff; }
footer a:hover { opacity: .8; }
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; }
.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;
}
.legal-img {
    padding-right: 30px;
}
.logo-footer {
	margin: 0 0 20px 10px;
    display: inline-block;
}

.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: #ADDADB;
	text-align: center;
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 1px;
	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.back {
	background: grey;
}
:hover.button, #perdita .bg-green .button, :hover.button.back {
	color: #fff;
}

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


.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;
}
.sc {
	position: relative;
	padding: 50px 30px 50px 130px;
	border-top: 1px solid lightgray;
}
.sc:before {
	background: url(../images/bgr_sc.png) no-repeat center left/contain;
	content: '';
	display: block;
	width: 106px;
	height: 106px;
	position: absolute;
	left: 0;
}
.sc h3 { color: #3775B6 }
.sc a { color: #3775B6; }
.attivo_su_altri_concorsi_dbunico {
	background-color:#eeeeef;
	color: #3e3e40;
	padding: 20px;
	margin: 20px 0;
}

.calendario h2 {
	font-size: 43px;
	text-align: center;
}
.calendario .item {
	position: relative;
	float: left;
	width: 33.333%;
	text-align: left;
	box-sizing: border-box;
	min-height: 350px;
}
.calendario.notlogged .item {
	padding: 30px;
	height: 100%;
	min-height: 350px;
}
.calendario .item--1 { background: #D0AE39; }
.calendario .item--2 { background: #8EBAB3; }
.calendario .item--3 { background: #FF9F8B; }
.calendario .item--4 { background: #BA938F; }
.calendario .item--5 { background: #AAD6A7; }
.calendario .item--repo--01 { background: url(../images/05.jpg) no-repeat center center/cover; }
.calendario .item--repo--02 { background: url(../images/04.jpg) no-repeat center center/cover; }
.calendario .item--repo--03 { background: url(../images/03.jpg) no-repeat center center/cover; }
.calendario .item--repo--04 { background: url(../images/02.jpg) no-repeat center center/cover; }
.calendario .item--repo--05 { background: url(../images/01.jpg) no-repeat center center/cover; }
.calendario .item-repo-title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 30px;
	color: #fff;
	text-transform: uppercase;
	font: 500 22px 'Barlow Condensed', sans-serif;
	text-align: center;
}
.calendario .item--repo:before {
	content: '';
	width: 56px;
	height: 56px;
	display: block;
	background: url(../images/play.svg) no-repeat center center/contain;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -28px 0 0 -28px;
	pointer-events: none;
}
.calendario .next:after {
	content: 'NEXT';
	display: block;
	position: absolute;
	top: 30px;
	right: 30px;
	color: #fff;
	font: 500 20px 'Barlow Condensed', sans-serif;
	background: #DD3C00;
	padding: 20px 10px;
	pointer-events: none;
}
.calendario .item-data {
	font: 700 60px/30px 'Barlow Condensed', sans-serif;
	color: #fff;
	opacity: .6;
	text-transform: uppercase;
}
.calendario .item-data span {
	font: 500 30px 'Barlow Condensed', sans-serif;
}
.calendario .item-title {
	font: 700 35px/35px 'Barlow Condensed', sans-serif;
	color: #fff;
	text-transform: uppercase;
	padding-top: 30px;
}
.calendario .item-ora {
	position: absolute;
	bottom: 30px;
	padding-bottom: 10px;
}
.calendario .item-ora:after {
	content: '';
	height: 2px;
	background: #fff;
	display: block;
	width: 50%;
	position: absolute;
	bottom: 0;
}
.calendario .item a {
	text-decoration: none;
	display: block;
	color: inherit;
	padding: 30px;
	height: 100%;
	min-height: 350px;
	box-sizing: border-box;
}
.calendario .item a:hover {
	border: 15px solid #fff;
	padding: 15px;
/*	-webkit-box-shadow: 0 0 3px 3px rgba(0,0,0,0.3);
	box-shadow: 0 0 3px 3px rgba(0,0,0,0.3);
	z-index: 100;*/
}
/* 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 { color: #3775B6; cursor: pointer; }
.qtip-content {
	font-size: 13px;
	line-height: 15px;
}
input.text, select, textarea {
	vertical-align: middle;
	border: 1px solid #3775B6;
	box-sizing: border-box;
	padding: 5px 10px;
}
input.text {
	width: 100%;
	z-index: 3;
}
input:focus.text, textarea:focus, select:focus {
	background-color: #f5f5f5;
}
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;
}
#loginForm input::placeholder, input#codice::placeholder {
  color: #3775B6;
	text-align: left;
}
input#codice {
	width: 65%;
	vertical-align: middle;
}

/* 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(0, 146, 211, 0.8);
}
.overlay-content {
	width: 860px;
	box-sizing: border-box;
	position: relative;
	margin: 100px auto 0;
	padding: 30px;
	background: #fff;
	z-index: 100001;
}
.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 {
	color: #6746b5;
	background-color: #ffff00;
	font: 37px/74px 'AvenirLTStd-Black';
	padding: 0 35px;
	text-transform: uppercase;
	position: absolute;
	margin: -20px 0 20px -20px;
	z-index: 200000;
}
.ov-premio-cont {
	padding: 0 35px 35px;
}
.ov-premio-img {
	background-color: #6746b5;
	text-align: center;
	margin-bottom: 20px;
	padding-top: 70px;
	position: relative;
}

.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: 15px 'Barlow Condensed', 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;
}
.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;
}

/* ==========================================================================
   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-align: center; }
.tRight { text-align: right; }
.floatL { float: left; }
.floatR { float: right; }
.medium { font-size: 14px; }
.small { font-size: 12px; }
.y, .y:hover { color: #ffff1a; }
.g { color: #33a452; }
.red { color:#f90804; }
.cyano { color: #00a0d0; }
.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;
	line-height: 15px;
	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; }