/* roboto-slab-regular - latin */
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;

  src: local(''),
       url('https://fonts.litoweb.com/roboto-slab-v24-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('https://fonts.litoweb.com/roboto-slab-v24-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-slab-800 - latin */
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 800;
  src: local(''),
       url('https://fonts.litoweb.com/roboto-slab-v24-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('https://fonts.litoweb.com/roboto-slab-v24-latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* raleway-regular - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('https://fonts.litoweb.com/raleway-v28-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('https://fonts.litoweb.com/raleway-v28-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
font-display: swap;         
}
/* raleway-800 - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 800;
  src: local(''),
       url('https://fonts.litoweb.com/raleway-v28-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('https://fonts.litoweb.com/raleway-v28-latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
font-display: swap;         
}

/* playfair-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display40';
  font-style: normal;
  font-weight: 400;
  src: url('https://fonts.litoweb.com/playfair-display-v40-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('https://fonts.litoweb.com/playfair-display-v40-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* playfair-display-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display40';
  font-style: normal;
  font-weight: 500;
  src: url('https://fonts.litoweb.com/playfair-display-v40-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('https://fonts.litoweb.com/playfair-display-v40-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* playfair-display-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display40';
  font-style: normal;
  font-weight: 700;
  src: url('https://fonts.litoweb.com/playfair-display-v40-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('https://fonts.litoweb.com/playfair-display-v40-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* playfair-display-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display40';
  font-style: normal;
  font-weight: 900;
  src: url('https://fonts.litoweb.com/playfair-display-v40-latin-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('https://fonts.litoweb.com/playfair-display-v40-latin-900.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}


:root{
  --corallo:#E31C65;
  --scuro:#231f20;
  --grigio:rgba(250,250,250, 1);
  --height-header: 50px;
}

body,html{
  height:100%;
  scroll-behavior: smooth;
}
body { color:#222;
  font-family: 'Raleway';
  font-style: normal;
  scroll-behavior: smooth;
  scroll-margin-top: var(--height-header);
}
a { color:#000;}
a:hover { color:#333;}
#page-top { margin-top:60px;}

/* main {padding: 54px 0 100px;} */
main, section, #section02 { position:relative;}
main a:hover { color:#fff;text-decoration: underline;}

section {padding: 20px 0; line-height:40px;}

.seo-title { position:absolute; top:-1000px}
#freccina_su { 
  background-color:#FFFFFF; 
  width:45px; height:45px; 
  position: fixed; 
  bottom:20px; 
  left:20px; 
  border-radius:50%; 
  z-index:99999999999; 
  display:flex;
  justify-content: center;
  align-items: center;
  -webkit-box-shadow: 0px 3px 10px 2px rgba(0,0,0,0.1);
  box-shadow: 0px 3px 10px 2px rgba(0,0,0,0.1);
}
#freccina_su a {color:var(--corallo);}

#logo{width: 250px; padding: 10px 20px;}
.bg-primary { background-color:#fff !important;}
.bg-footer  { background-color:var(--scuro)}
.bg-color01 { background-color:var(--corallo);}

/* ACCESSIBILITA' 
***************************************************/
.skip-to-content {
  position: absolute;
  top: -50px;
  left: 0;
  background: #c00;
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 10px 15px;
  z-index: 1000;
  text-decoration: none;
  transition: .3s;
}

.skip-to-content:focus {
  top: 0;
  z-index: 9999;
}
:focus-visible {
    outline: none !important;
    border: 2px solid red !important;
    transition: all 0.2s ease-in-out;
}


/* Navbar
****************************************/
.navbar-light .navbar-nav .nav-link {
    color: var(--scuro);font-family: "Roboto Slab", serif; 
}

.navbar-light .navbar-toggler {
  border: 0;
}

.navbar{
  -webkit-box-shadow: 0px 3px 10px 2px rgba(0,0,0,0.1); 
  box-shadow: 0px 5px 10px 2px rgba(0,0,0,0.2);
  min-height: 70px;
  padding: 0;
}
li.nav-item:last-child {
  border: 0;    
}
li.nav-item {
    border-right: 1px solid #000;
    transition: .4s;
}
.nav-item a{
	color: #000;	
	padding: 5px 10px;
	margin: 0px 5px;
	/* border-top: 3px solid var(--corallo); */
	display: inline-block;
}
.nav-item:hover{	
	background-color: var(--scuro);
  color: #fff;
}
.nav-item a:hover{
	color: #fff!important;
}


/* Hero
****************************************/
/* #hero{
  background: #231F20;
  background: linear-gradient(0deg, rgba(35, 31, 32, 1) 0%, rgba(231, 58, 120, 1) 100%);
  padding-bottom: 100px;
  padding-top: 30px;
  scroll-margin-top: 230px;
} */

#hero{
  background: 
    linear-gradient(0deg, rgba(35, 31, 32, 0.9) 0%, rgba(231, 58, 120, 0.7) 100%), 
    url('../images/sfondo-hero-1200.jpg'); 
  background-size: cover;    
  background-position: center center; 
  background-repeat: no-repeat; 
  padding-bottom: 100px;
  padding-top: 30px;
  scroll-margin-top: 230px;
}

@media (max-width: 768px) {
 #hero{
  background: 
    linear-gradient(0deg, rgba(35, 31, 32, 0.9) 0%, rgba(231, 58, 120, 0.7) 100%), 
    url('../images/sfondo-hero-700.jpg');
      background-size: cover;     
  background-position: center center; 
  background-repeat: no-repeat; 
  } 
}

@media (max-width: 571px) {
 #hero{
  background: 
    linear-gradient(0deg, rgba(35, 31, 32, 0.9) 0%, rgba(231, 58, 120, 0.7) 100%), 
    url('../images/sfondo-hero-500.jpg');
      background-size: cover;     
  background-position: center center; 
  background-repeat: no-repeat; 
 
  } 
}

/* #hero .hero_box_logo{
  background: #fff;
  padding: 80px 50px;
  border-radius: 20px;
    box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.2);
} */
#hero .hero_box_logo {
    background: #fff;
    padding: 100px 50px;
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.2); 
    -webkit-box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.2); 
    -moz-box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.2);
    width: 50%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    text-align: left;
}

.sfondo_home {
  display: flex;
  align-items: center;
  padding: 50px 0;
    flex-direction: row-reverse;
}

.box_date {
  width: 50%;
  text-align: right;
  padding: 3rem;
   color:#fff;
}

.box_date a,
.box_segreteria a {color: var(--scuro);}

.date01 { font-weight:300; font-size: 1.4em; margin-top: 30px; line-height: 2.2em;}
.date02 { font-weight:700; font-size: 2.0em; letter-spacing: 1px;}
.date03 { font-weight:400; font-size: 1.4em;  margin-bottom: 0px; padding-left: 10px; margin-bottom: 10px}
.date04 { font-weight:400; font-size: 1.2em;  margin: 10px 0;}
.orari { font-weight:300; font-size: 1.2em;  margin-bottom: 20px;}
.ingresso {
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 20px;
    padding: 10px 0px;
    color: #fff;
    text-transform: uppercase;
    border-bottom: 1px solid #fff;
    letter-spacing: 1px;
    border-top: 1px solid #fff;
    display: inline-block;
    margin-top: 20px;
    width: 100%;
}

.box-button {
    text-align: center;
}
.box-button .btn-info {
    background: var(--corallo);
    border: 0;
    padding: 10px 40px;
    text-transform: uppercase;
    border-radius: 10px;
    transition: .3s;
}

.box-button .btn-info:hover {
    background: var(--scuro);
}

/* Box sponsor / segreteria
****************************************/
.box_segreteria {
    text-align: center;
    color: #222;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 20px;
    margin-top: -50px;
    width: 90%;
    margin: -30px auto 0;
}
.box_segreteria a:hover {
    color: var(--scuro);
}
.box_logo {
    background: #FFF;
    padding: 40px 10px;
    text-align: center;
    color: #333;
}

.box_logo img{ width: 200px;}

.box_logo h3,
.box_segreteria h3{ 
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 20px;
}

a.color01 { color:var(--corallo);}



.fa-file-pdf-o{margin-right: 10px; }
.btn-dark {background-color: var(--corallo);border: 0; padding: 10px 30px;}

.divider{width: 30%;margin: 20px auto; height: 2px;}
.divider1{background-color: #ccc; }
.divider2{background-color: #fff; }
.divider3{background-color: var(--corallo); }
h2.title-sez{text-transform: uppercase;font-family: "Roboto Slab", serif;}


/*------------------------------------------------
GALLERY
------------------------------------------------*/

#gallery{scroll-margin-top: var(--height-header);}
.gallery-container {
  margin: 0 auto;
  columns: 3 300px;
  column-gap: 0.7em;
}

.box_gallery {
	-moz-box-shadow: 0 0 0 1px #fff;
	-webkit-box-shadow: 0 0 0 1px #fff;
	box-shadow: 0 0 0 1px #fff;
	overflow: hidden;
	position: relative;
  border-radius: 20px;
  margin-bottom: 0.7em;
}

.box_gallery img {
	width: 100%;
	height: 100%;
  
}
.box_gallery .overlay {
	background: rgba(231, 58, 120, 0.85);
	/*background: rgba(0, 0, 0, 0.8);*/
	height: 100%;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	width: 100%;
	-moz-transition: opacity, 0.3s;
	-o-transition: opacity, 0.3s;
	-webkit-transition: opacity, 0.3s;
	transition: opacity, 0.3s;
}
.box_gallery .overlay-caption {
	position: absolute;
	text-align: center;
	top: 50%;
	width: 100%;
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.box_gallery h5, .box_gallery p, .box_gallery img {
	-moz-transition: all, 0.5s;
	-o-transition: all, 0.5s;
	-webkit-transition: all, 0.5s;
	transition: all, 0.5s;
}
.box_gallery h5, .box_gallery p {
	color: #fff;
	margin: 0;
	opacity: 0;
}
.box_gallery span {
	font-size: 45px; color:#FFFFFF;
}

.box_gallery .titolo {
	font-size: 24px; color:#333; padding:20px; text-align:center;
}


/*.box_gallery h5 {
	margin-bottom: 5px;
	-moz-transform: translate3d(0, -200%, 0);
	-ms-transform: translate3d(0, -200%, 0);
	-webkit-transform: translate3d(0, -200%, 0);
	transform: translate3d(0, -200%, 0);
}*/
.box_gallery p {
	-moz-transform: translate3d(0, 200%, 0);
	-ms-transform: translate3d(0, 200%, 0);
	-webkit-transform: translate3d(0, 200%, 0);
	transform: translate3d(0, 200%, 0);
}
/*.box_gallery-box:hover img {
	-moz-transform: scale(1.2);
	-ms-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}*/
.box_gallery-box:hover .overlay {
	opacity: 1;
}
.box_gallery-box:hover .overlay h5, .box_gallery-box:hover .overlay p {
	opacity: 1;
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}


/**********************
CONTATTI
**********************/
section#contact {
  color: var(--scuro);
  scroll-margin-top: var(--height-header);
  background: #DDDDDD;
  background: linear-gradient(190deg, rgba(221, 221, 221, 1) 0%, rgba(255, 255, 255, 1) 100%);
  padding-bottom: 50px;
}
section#contact h3 {
  font-size: 20px;
}
section#contact .form-group {
margin-bottom: 25px; }
section#contact .form-group input,
section#contact .form-group textarea {
  padding: 20px;  border-radius:10px!important;}
section#contact .form-group input.form-control {
  height: auto; }
section#contact .form-group textarea.form-control {
  height: 248px; }
section#contact .form-control:focus {
border-color: #fed136;
box-shadow: none; }

section#contact  .btn-primary {
	background-color:var(--corallo) ;
	border-color:#FFFFFF;
	border-radius:0;
  padding: 10px 30px;
  border-radius: 15px;
 }
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
background-color: #222 !important;
border-color:#FFFFFF;
color: white; }
.btn-primary:active, .btn-primary:focus {
box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important; }

.form-check-label{color:#333;}
.form-check-input { margin-top:12px;}

.box_recaptcha { position:relative; margin:20px 0; margin:0 auto;  }


/**********************
espositori
**********************/
#espositori{padding: 100px 0; color: #fff;}
#espositori .testo{font-weight: 300;font-size: 22px;}
.cover-espositori{  background: url(../images/sfondo_elenco_partecipanti.png) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;}

/* press
**********************/
#press{padding: 80px 0; color: #fff;
  scroll-margin-top: var(--height-header);
  /* background: rgb(113,7,29);
  background: linear-gradient(180deg, rgba(113,7,29,1) 100%, rgba(161,12,43,1) 100%); */
  /* background: rgb(161,12,43,1);
  background: linear-gradient(180deg, rgba(161,12,43,1) 50%, rgba(113,7,29,1) 100% ); */
  background: rgb(70,70,70,1);
  background: linear-gradient(180deg, rgba(20,20,20,1) 50%, rgba(70,70,70,1) 100% );
}

#press h3 {
    width: 80%;
    margin: 10px auto;
    border-bottom: 2px solid #fff;
    text-align: left;
    display: flex;
}
#press h3 span {
    background: #fff;
    padding: 10px;
    color: #000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#press .box_comunicati {display: flex;
  border-bottom: 1px solid #555;
  justify-content: space-between;
	width: 80%; 
  margin: 10px auto;
  padding: 10px;
}

#press .box_comunicati a{color: #fff;}

#press .box_comunicati_label{
  display: flex;
  justify-content: space-between;
  align-items: top;
}
 
#press .box_comunicati_label a{
  color: #fff;
  font-weight: 300;
  font-size: 20px; 
  padding: 0;
  text-decoration: none;
}
#press .box_comunicati_label a:hover{
  font-weight: 300;
  font-size: 20px; 
  color: #C3C3C3; 
  text-decoration: none;
}

#press .btn-press {
	 text-align: left;
    padding: 10px 30px;
}

#press .data-press{
  font-size: 14px;
}
#press .download {
   text-align: right;
	font-size: 20px;
}


/* Footer
****************************************/

footer { font-size:12px; line-height:22px; color:#CCCCCC;}
footer a {color:#fff;}
footer a:hover {color:#ccc;text-decoration: none;}

footer .text-policy{text-align: right;}

@media (max-width: 992px) {

  .sfondo_home {
    flex-direction: column;
  }
  #hero .hero_box_logo {
    border-radius: 20px;
    padding: 80px 20px;
    width: 80%;
    text-align: center;
  }
  .box_date {text-align: center;}
  .navbar .container {width: 100%;}

  .box_date{ width: 100%;}
  .box_logo{
    width:95%;
  }

.date03 {padding-left:0;}  
.ingresso {
    text-align: center;
    
}
  li.nav-item {
    border: 0;
    border-bottom: 1px solid #999;
     padding: 15px;
  }
  .nav-item a {   
    border-top: 0;
  }

  li:last-child {
    border: 0;
    padding-bottom: 20px;
  }

  #press .box_comunicati,
  #press h3 {
      width: 95%;
  }



footer .text-policy{text-align: left;}  
}

@media (max-width: 768px) {
  .navbar-brand { width: 350px;}
	
	#press .data-press{
		display: none;
	}
	#press .download {
   		display: none;
  }
}


@media (max-width: 576px) {

  #hero .hero_box_logo {
    border-radius: 20px;
    padding: 60px 20px;
    width: 95%;
  }  

  main {border: 0;}
  .sfondo_home {padding: 20px 0;}
  .navbar-brand { width: 180px;}
  .fiera {font-size: 2.2em;}
  .slogan {font-size: 1.0em; }
  .date02 {font-size: 1.6em; }
  .date03 {font-size: 1.4em; }
  .box_date { width: 100%;padding: 2rem 1rem; }    

  #press .box_comunicati_label a{font-size: 16px;}
  #press h3 span {font-size: 24px;}  
}