:root {
	--main-color: #cc0003;
}

/* HEADER */
.header {
	/*height: auto;*/
	margin: auto;
	overflow: hidden;
	background-color: white;
	padding: 0px 0px;
	text-align: center;
}

.header a {
	color: black;
	text-align: center;
	padding: 12px;
	text-decoration: none;
	font-family: "Segoe UI",Arial,sans-serif;
	font-size: 14px; 
	line-height: 25px;
	border-radius: 4px;
}

#logo {
	height: 120px;
}	

.header a.logo {
	font-family: 'logoFont', Arial, sans-serif;
	font-size: 30px;
	font-weight: bold;
}

.header .dotcom {color: var(--main-color);}

.header-right a:hover {
	background-color: #ccc;
	color: black;
}

.header-right a.active {
	background-color: var(--main-color);
	color: white;
}

.header-right {
	float: right;
	text-transform: uppercase;
}

@media screen and (max-width: 500px) {
	.header a {
		float: none;
		display: block;
		text-align: center;
	}
	.header-right {
		float: none;
	}
	
	#logo {
		height: 80px;
	}	
}

@font-face {
    font-family: 'logoFont';
    src: url('../font/logo/sffourche-webfont.woff2') format('woff2'),
         url('../font/logo/sffourche-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* TOPNAV */
.topnav {
	background-color: #0006;
	overflow: hidden;
	position: sticky;
	width: 100%;
	max-width: 1200px;
	margin-left:auto;
	margin-right:auto;
}

.topnav a {
	float: left;
	display: block;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 14px;
	text-transform: uppercase;
}

.topnav a:hover {
	background-color: #ddd;
	color: black;
}

.topnav a.active {
	background-color: var(--main-color);
	color: white;
}

.topnav .icon {
	width: 30px;
	font-size: 22px;
}

.topnav .menuIcon {
	display: none;
}

.topnav::after {
	content: '';
	box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3); 
}

.sticky {
	position: fixed;
	top: 0;
	width: 100%;
}

@media screen and (max-width: 500px) {
	.topnav a:not(:first-child) {display: none;}
	.topnav a.menuIcon {
		float: left;
		display: block;
	}
}

@media screen and (max-width: 500px) {
	.topnav.responsive {
		position: relative;
		background-color: var(--main-color);
	}
	
	.topnav.responsive a.menuIcon {
		position: absolute;
		right: 0;
		top: 0;
	}
	
	.topnav.responsive a {
		float: none;
		display: block;
		text-align: center;
	}
}

/* SLIDESHOW */
.mySlides {
	-webkit-box-shadow: 0 8px 6px -6px #999;
	-moz-box-shadow: 0 8px 6px -6px #999;
	box-shadow: 0 8px 6px -6px #999;
	width: 100%;
	max-width: 1200px;
	margin-left:auto;
	margin-right:auto;
}

.overlap {
	margin-top:-52px;
}

.noOverlap {
	margin-top:-52px;
}

@media screen and (max-width: 500px) {
	.overlap {
		margin-top:-50px;
	}
	
	.noOverlap {
		margin-top: 0px;
	}
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* CONTENUTO */
