* {
	margin:0px;
	padding:0px;
}

html, body {
	font-family: Helvetica, Arial, sans-serif;
	font-size:12px;
	background-color:#110000;
	color:white;
}

/*google fonts*/
.luckiest {
	font-family: 'Luckiest Guy', cursive;
	font-style: normal;
    font-weight: 400;
	letter-spacing:2px;
}
.cherry {
	font-family: 'Cherry Cream Soda' !important;
    font-style: normal;
    font-weight: 400;
}
.antic {
	font-family: 'Antic' !important;
    font-style: normal;
    font-weight: 400;
	letter-spacing:1px;
}
/*end google fonts*/

.carne {
	color:#CF4236 !important;
}
.yellow {
	color:#E7C79D;
}
.white {
	color:#ffffff;
}

.error {
	background-color:#ED1D30
	color:white;
}

/*page layout containers*/
.container {
	position:relative;
	box-sizing: border-box;
	max-width:1000px;
	margin:0 auto;
}
.pageContainer {
	margin-bottom:100px;
	backgroun-color:red;
}
.fullscreen-container {
	position:relative;
	box-sizing: border-box;
	width:100%;
}

@font-face {
    font-family: "Idiqlat";
    src: url('fonts/Idiqlat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.homepage2 {
	font-family: "Idiqlat", sans-serif;
}
.homepage2 h2 {
	font-size: clamp(36px, 5vw, 60px);
	line-height:1.5em;
	letter-spacing:2px;
}
.homepage2 h3 {
	font-size: clamp(24px, 4vw, 48px);
	padding-top:20px;
	letter-spacing:2px;
}
.homepage2 h4 {
	font-size: clamp(20px, 3vw, 36px);
	padding-top:10px;
	letter-spacing:2px;
}
.homepage2 p {
	font-size: clamp(14px, 2vw, 20px);
	padding-top:10px;
}
.homepage2 ul {
	padding-left:40px;
}
.homepage2 li {
	font-size: clamp(14px, 2vw, 20px);
	text-align:left;
}
.sfondo-homepage {
	background-image:url('images/arrosticini-sfondo.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top;
	width:100%;
	box-sizing:border-box;
	min-height:1000px;
	margin-bottom:20px;
	padding: clamp(10px, 1vw, 20px);
}
.topBar2 {
	display:flex;
	justify-content: space-between;
	align-items:center;
	width:100%;
	height:170px;
}

.pecoraButton img {
	display:block;
	width: clamp(150px, 2vw, 250px);
}
.prenotaButton {
	width:100%;
}
.prenotaButton a {
	display:flex;
	justify-content: space-between;
	align-items:center;
	width:100%;
	text-decoration:none;
}
.prenotaButton img {
	width: clamp(24px, 4vw, 36px);
	margin: 10px;
}
.prenotaButton span {
	color:white !important;
	margin: clamp(10px, 1vw, 20px);
	font-size: clamp(18px, 4vw, 30px);
	text-align:center;
}

.mainTitleBar2 {
	display:flex;
	align-items:center;
	width:100%;
	margin:10px 10px;
}
.mainTitleBar2-item {
	display:block;
	margin: 0 auto;
}

.textbox2 {
	margin: clamp(10px, 1vw, 20px);
}
.textbox2 p, .textbox2ul, .textbox2 li {
	text-align:left;
}
.textbox2 iframe {
	width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}


.highlight-color {
	color:rgb(247, 63, 12); /*arancione*/
}
.highlight-color-2 {
	color:rgb(255, 183, 0); /*giallo*/
}

.bar2 {
	display:flex;
	justify-content: space-between;
	align-items:center;
	width:100%;
	height:170px;
}

.bar2-item {
	display:block;
	width: clamp(200px, 3vw, 350px);
	margin:10px;
}

.bar2-button {
	width:100%;
}

.genericButton {
	display:table;
	background-color:white;
	color:black;
	height:50px;
}
.genericButtonSkin {
	border-radius: 30px;
	
}
.genericButtonSkin:hover {
	box-shadow: 0 0 0 2px #000;
}
.genericButton a {
	display:table-cell;
	margin: 0 auto;
	text-decoration: none;
	vertical-align:middle;
	color:black;
	font-size: clamp(18px, 4vw, 30px);
	text-align:center;
}

.genericButtonHighlight {
	background-color:rgb(247, 63, 12) !important;
}
.genericButtonHighlight:hover {
	box-shadow: 0 0 0 2px #ffffff !important;
}

h1 {
	text-align:center;
	font-size:40px;
	margin-top:10px;
	margin-bottom:30px;
	letter-spacing:1px;
}

.hidden {
	display:none;
}

.novita {
	width:100px;
}

.bancarelle {
	width:100%;
	clear:both;
	margin-top:20px;
	margin-bottom:20px;
}


h2 {
	text-align:center;
	font-size:30px;
	line-height:40px;
	font-weight:normal;
}

p {
	text-align:center;
}

.logosBar {
	width:100%;
	text-align:center;
	text-decoration:none;
}
.logosBar  .edition {
	vertical-align:middle;
	width:40%;
}
.logosBar  .logo {
	vertical-align:middle;
	width:25%;
}
.logosBar  .logo {
	vertical-align:middle;
	width:25%;
}
.logosBar  .logo-palio-2019 {
	vertical-align:middle;
	width:25%;
	margin-top:20px;
	margin-bottom:20px;
}


.footer-palio-2019 {
	text-align:center;
	margin-top:40px;
}

.footer-palio-2019 a {
	color:white;
	text-decoration:none;
}
.footer-palio-2019 a:hover {
	text-decoration:underline;
}

.contrade-palio-2019, .classifica-palio-2019 {
	width:100%;
	text-align:center;
	text-decoration:none;
}
.contrade-palio-2019 img, .classifica-palio-2019 img {
	vertical-align:middle;
	width:50%;
	margin-top:20px;
	margin-bottom:20px;
}
.regolamenti-palio-2019 {
	margin-top:30px;
}
.regolamenti-palio-2019 p{
	margin-top:30px;
	font-size:1.5em;
	line-height:2em;
}
.regolamenti-palio-2019 a {
	text-decoration:none;
	white-space: nowrap;
}
.regolamenti-palio-2019 a:hover {
	text-decoration:underline;
}




.socialTitle {
	font-size:20px;
	margin-top:0px;
	margin-bottom:5px;
	font-weight:bold;
}
.socialBox {
	text-align:center;
}

.socialBox a {
	text-decoration:none;
}

.socialBox img {
	margin:0px 10px;
	width: 32px !important;
	display:inline-block !important;
	clear:none !important;
}

.legal {
	margin:0px auto 0px auto;
	text-align:center;
	width:80%;
	border-top:1px solid #404040;
	padding-top:10px;
}
.footer {
	position:fixed;
	z-index:100;
	bottom:0;
	left:0;
	background-color:#303030;
	text-align:center;
	padding-top:10px;
	padding-bottom:10px;
	width:100%;
	border-top:1px solid white;
}

.textBlock, .homeBlock {
	display:block;
	float:none;
	width:80%;
	margin:0 auto;
}
.textBlock img {
	display:block;
	width:100%;
}
.textSubBlock {
	clear:both;
	display:inline-block;
	margin-top:20px;
}
.listWithImages li {
	clear:both;
	display:inline-block;
	padding-bottom:20px;
	padding-top:20px;
	width:100%;
	box-sizing:border-box;
	list-style-type: none;
}
.listWithImages img {
	width:50%;
	box-sizing:border-box;
	padding-bottom:10px;
}
.listWithImages h4 {
	padding-bottom:10px;
}
.listWithImages p  {
	text-align:left !important;
}
.right {
	float:right;
	padding-left:20px;
}
.left {
	float:left;
	padding-right:20px;
}

/*cibo*/
.elemento-cibo {
	margin:15px;
}
.elemento-cibo h4 {
	padding-bottom:10px;
}
.elemento-cibo p {
	padding-bottom:10px;
}

/*owl-carousel style*/
.carousel-container {
    position: relative;
}

.owl-nav {
    margin: 0;
}

.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.7) !important;
    color: #333 !important;
    font-size: 24px !important;
	font-weight:900;
    
    z-index: 10;
}

.owl-nav .owl-prev {
    left: 10px;
}

.owl-nav .owl-next {
    right: 10px;
}

.owl-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
}

.owl-dot {
    padding: 5px !important;
    border: 0 !important;
    background: transparent !important;
}

.owl-dot span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
}

.owl-dot.active span {
    background: #bbb;
}


.homeBlock p, .homeBlock h3, .homeBlock h4 {
	text-align:center;
	
}

.homeBlock h2 {
	padding-top: 10px;
}

.homeBlock h3 {
	font-size:24px;
	line-height:28px;
	margin-top:15px;
	margin-bottom:5px;
	color:#E7C79D
}

.homeBlock h4 {
	font-size:20px;
	line-height:28px;
	color:white;
}

.homeBlock hr {
	border: 1px solid #404040;
	margin-top:20px;
	margin-bottom:20px;
}

.homeBlock .comunicazione {
    margin: 1em;
    padding: 1em;
    border: 1px solid #E7C79D;
}
.homeBlock .comunicazione p {
    font-size:1.5em;
    text-align:left;
    padding-top:0.75em;
}
.homeBlock .comunicazione h3 {
   color:#E7C79D;
   text-align:left;
   margin-top:0;
   margin-bottom:0;
   padding:0;
}
.halfBlocksContainer {
	display: table;
	height: auto;
	width: 100%;
}
.halfBlock {
	display: table-cell;
	box-sizing: border-box;
	width: 50%;
	height: auto;
	vertical-align: top;
	margin-top: 40px;
}

.comunicazione-speciale {
	padding:20px;
	margin: 20px 0px;
	display:inline-block;
	background-color:#202020;
	text-align:justify;
}
.comunicazione-speciale .title {
	font-size:16px;
	line-height:24px;
	color:#CF4236;
	text-align:justify;
}
.comunicazione-speciale p {
	font-size:16px;
	line-height:24px;
	text-align:justify;
}
.comunicazione-speciale .link {
	text-align:right;
}

.comunicazione-speciale-center {
	display:block !important;
}
.comunicazione-speciale-center,
.comunicazione-speciale-center p,
.comunicazione-speciale-center .title
{
	text-align:center !important;
}


.textBlock  p, .textBlock  ul, .textBlock  li, .textBlock  h3  {
	text-align:justify;
	font-size:14px;
	line-height:18px;
	padding-bottom:10px;
}
.textBlock  h3 {
	margin-top:10px;
	margin-bottom:10px;
}
.textBlock li {
	margin-left:20px;
	padding-left:20px;
	text-align:left;
}

.textBlock a,
.homeBlock a {
	color:#ababff;
	text-decoration:none;
}
.textBlock a:hover {
	text-decoration:underline;
}
.lavora-con-noi img, .dove img {
	width:400px;
	max-width:100%;
	margin:20px auto;
	display:block;
	box-sizing:border-box;
}

.topBar 
{	display:block;
	float:none;
	width:80%;
	margin:0 auto;
	text-align:center;
	font-size:18px;
	line-height:20px;
	text-decoration:none;
	margin-top:10px;
	margin-bottom:20px;
	padding-bottom:10px;
	border-bottom: 1px solid #404040;
	color:#E7C79D;
}

.topBarButton {
	display:inline-block;
	text-decoration:none;
	font-weight:bold;
	padding:2px;
	text-align:center;
	color:#E7C79D;
}
.topBarButton:hover,
.topBarButtonSelected {
	text-decoration:none;
}
.topBarButton:hover {
	color:#CF4236;
}
.topBarButtonSelected {
	color:#ED1D30
}

.topBarButtonHighlight {
	background-color: yellow;
	color:black;
	padding-left: 10px;
	padding-right: 10px;
}
.topBarButtonHighlight:hover {
	color:blue;
}

.editionBox {
	display: block;
	width:80%;
	margin: 0 auto;
	text-align:center;
	font-size:20px;
}
.editionBox h2 {
	text-align:right;
}

.centered h3, .centered p {
	text-align:center;
}

.musicBlock {
	width:80%;
	box-sizing:border-box;
	margin:20px auto;
}
.musicBlock p{
	display:inline-block;
	margin:20px 20px;
	text-align:left;
	vertical-align:top;
	padding-bottom:0px;
}
.musicDateBlock {
	display:inline-block;
	vertical-align:top;
	width:100px;
	text-align:center;
	padding:10px;
	border:1px solid #404040;
	box-sizing:border-box;
	font-weight:bold;
}
.bigDayNumber {
	font-size:34px;
	line-height:40px;
}


.videoContainer {
	margin:20px 0px 10px 0px;
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoContainer iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.tabLotteria {
	width:100%;
	margin-top:20px;
	margin-bottom:20px;
}
.tabLotteria  td{
	padding:10px;
	border:1px solid #404040;
}
.tabLotteria .even {
	background-color:#151515;
}
.tabLotteria .odd {
	background-color:#101010;
}
.tabLotteria .numberRight {
	text-align:right;
}



.contrada-gialla {
	color: #FFFF00;
}
.contrada-rossa {
	color: #FD0600;
}
.contrada-blu {
	color: #0004FE;
}
.contrada-verde {
	color: #00FF00;
}


.sponsorBox2 {
	background-color: rgba(255,255,255,0.5);
	padding:10px;
	margin:0px;
	border-radius: 30px;
}
.sponsor-container {
	text-align: center;
	padding:20px;
}
.sponsor-item {
	display: inline-block;
	margin:20 auto;
	clear:none;
	margin:10px;
	/*height: 100px;*/
	box-sizing:border-box;
}
.sponsor-item img {
	display: inline-block;
}

@media screen and (max-width: 800px) {
	.halfBlocksContainer {
		display: inline-block;
		width: 100%;
	}
	.halfBlock {
		display: inline-block;
		width: 100%;
	}
	.halfBlock:first-child {
		margin-top: 0px;
	}
	.sponsor-item img {
		max-width: 250px;
	}
}

@media screen and (max-width: 600px) {

	html, body {
		font-size:12px;
	}
	
	h1 {
		font-size:20px;
	}

	h2 {
		font-size:16px;
		line-height:24px;
		font-weight:normal;
	}

	p {
		text-align:center;
	}
	
	.socialTitle {
		font-size:15px;
	}
	
	.topBar {
		font-size:14px;
		line-height:18px;
	}
		
	.homeBlock h3 {
		font-size:14px;
		line-height:18px;
	}

	.homeBlock h4 {
		font-size:12px;
		line-height:18px;
	}
	
	.musicBlock p{
		width:100%;
		margin:20px 0px;
		text-align:center;
	}
	.musicDateBlock {
		margin-left:auto;
		margin-right:auto;
		display:block;
	}
	
	.listWithImages li {
		margin-left:0px;
		padding-left:0px;
	}
		
	.videoContainer {
		display:block;
		width:100%;
		height:auto;
		margin:40px 10px 0px 10px;
	}
}