/*CSS HANDLER */
body.promotions {
	background-image: url("../img/promotions_bg.jpg");
	background-attachment: fixed;
	background-size: cover;
	background-repeat: no-repeat;
}
.pageContent #section_upper_block {	display: none;}
.promotions #section_upper_block {
	height: auto;
}
.promo_cont {
	float: left;
	box-shadow: 30px 0px 400px black inset;
	width:100%;
	display:none
}
.promo_cont li {
	display: inline-block;
	float: left;
	width: calc(100% - 20px);
	background: #fff;
	margin: 10px;
	height: 180px;
}
.promo_cont .h1header {
	text-transform: none;
	font-size: 20px;
}
.promo_cont .h1header span {
	font-size: 16px;
	padding-left: 5px;
	line-height: 35px;
}
.img_cont {
	float: left;
	width: calc(20% - 20px);
	height: 160px;
	margin: 10px;
	overflow: hidden;
	position: relative;
		-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.img_cont img {
	height: 100%;
	left: 50%;
	position: absolute;
	transform: translatex(-50%);

}
.img_cont:hover img {
  filter: grayscale(100%) blur(2px);
}
.img_cont:after {
	opacity: 0;
	content: "\e095";
	font-family: 'Glyphicons Halflings';
	font-size: 80px;
	z-index: 999999999999999999999999999999999999999999999999;
	display: block;
	text-align: center;
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	height: 100%;
	color: white;
	top: 0;
	bottom: 0;
	line-height: 150px;
	text-shadow: 0 0 30px black;
			-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.img_cont:hover::after {
	opacity: 1;
}
.img_cont button {
	position: absolute;
	bottom: 10px;
	right: 10px;
	padding: 0 20px;
	font-size: 20px;
	height: 30px;
	line-height: 30px;
}
.promo_text {
	float: right;
	width: calc(80% - 10px);
	margin: 10px 10px 10px 0px;
	height: calc(100% - 20px);
	position: relative;
	max-height: 160px;
	overflow: hidden;
}
.promo_text h1 {
	background: var(--colore_principale);;
	color: var(--testo_gradiente);
	font-size: 20px;
	padding: 4px;
	height: 20px;
	line-height: 20px;
}
.promo_text span {
	color: var(--testo_gradiente);
	font-size: 15px;
	margin-left: 10px;
	line-height: 34px;
}
.promo_text p {
	color: #000;
	margin: 0;
	max-height: 80px;
	overflow: auto;
	font-size: 14px;
	height: 100%;
	line-height: 20px;
}
.promo_text button {
	float: right;
	margin: 10px;
}

/*dialog*/
body.dialog {
	overflow: hidden;
}
#dialog {	animation: fadeIn 0.5s ease-in-out;}
.dlg-promotions .modal_cont {
	width: 33vw;
	max-height: 80vh;
	min-height: 30vh;
	height: auto;
	overflow: auto;
	padding-right: 10px;
	min-width: 500px;
	-webkit-user-select: text;

		-webkit-transition: height 0.3s ease-in-out;
	-moz-transition: height 0.3s ease-in-out;
	-ms-transition: height 0.3s ease-in-out;
	-o-transition: height 0.3s ease-in-out;
	transition: height 0.3s ease-in-out;
	
}
.dlg-promotions .banner_promo {
	width: 100%;
}
.dlg-promotions p {
	width: 100%;
	margin: 10px 0;
	color: #000;
	line-height: 23px;
	font-size: 15px;
	text-align: justify;
}

.dlg-promotions ul li {
	list-style: inside;
	line-height: 20px;
}
.dlg-promotions .banner_cont {
	width: 100%;
	height: auto;
	min-height: 150px;
	position: relative;
	display: block;
}
.modal_cont .banner_cont button {
	margin: 10px auto;
	width: 150px;
	border-radius: 4px;
	font-size: 20px;
	line-height: 20px;
	height: 30px;
	position: absolute;
	right: 10px;
	bottom: 10px;
}

/*neon*/

@import url(https://fonts.googleapis.com/css?family=Exo+2:200i);
:root {
  /* Set neon color */
  --neon-text-color: #f40;
  --neon-border-color: #08f;
  --neonarrow-text-color: #FFAE00;
}

#section_upper_block h1 {
	font-size: 100px;
	font-weight: 200;
	color: #fff;
	padding: 40px;
	border: 0.4rem solid #fff;
	border-radius: 2rem;
	text-transform: uppercase;
	animation: flicker 5s infinite alternate;
	text-align: center;
	text-align: center;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin: 50px;
}
#section_upper_block img {
	display: block;
	margin: 0 auto;
	margin-top: 40px;
}
#section_upper_block h1::-moz-selection {
  background-color: var(--neon-border-color);
  color: var(--neon-text-color);
}

#section_upper_block h1::selection {
  background-color: var(--neon-border-color);
  color: var(--neon-text-color);
}

#section_upper_block .glyphicon {
	font-size: 160px;
	position: absolute;
	right: 0px;
	top: 180px;
	transform: rotate(120deg);
	animation: flickerArrow 5s infinite alternate;
	color: white;
	border: none;
}
/* Animate neon flicker */
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: -0.2rem -0.2rem 1rem #fff, 0.2rem 0.2rem 1rem #fff, 0 0 2rem var(--neon-text-color), 0 0 4rem var(--neon-text-color), 0 0 6rem var(--neon-text-color), 0 0 8rem var(--neon-text-color), 0 0 10rem var(--neon-text-color);
    box-shadow: 0 0 0.5rem #fff, inset 0 0 0.5rem #fff, 0 0 2rem var(--neon-border-color), inset 0 0 2rem var(--neon-border-color), 0 0 4rem var(--neon-border-color), inset 0 0 4rem var(--neon-border-color);
  }
  20%, 24%, 55% {
    text-shadow: none;
    box-shadow: none;
  }
}
@keyframes flickerArrow {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: -0.2rem -0.2rem 1rem #fff, 0.2rem 0.2rem 1rem #fff, 0 0 0.5rem var(--neonarrow-text-color), 0 0 1rem var(--neonarrow-text-color), 0 0 2rem var(--neonarrow-text-color), 0 0 3rem var(--neonarrow-text-color), 0 0 5rem var(--neonarrow-text-color);
  }
  20%, 24%, 55% {
    text-shadow: none;
    box-shadow: none;
  }
	  20%, 50%, 100% {
    top: 110px;
    top: 170px;
  }
}

@keyframes  fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}