a { color: #fff; text-decoration: none; }
a:hover,a:focus,.scoreboard .more-results .more-links li a:hover { text-decoration: underline; }

body { background: #333333 url(https://calciocatania.com/css3/images/bg-body-top2.jpg) fixed repeat-x center top; color: #333; font-family: Arial, "MS Trebuchet", sans-serif; font-size: 12px; }
.scoreboard .ad-btyb,#nav-level2 { display: none; }
@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 1.5;
  }
}
#cboxLoadedContent { font-size: 1em; line-height: 1.25em; }
#cboxLoadedContent .module { padding: 10px; }
#cboxLoadedContent h3 { color: #072F60; font-size: 1.3em; margin-bottom: 15px; }

#content { background: transparent; }
#content a { color: #08c; text-decoration: none; }
#content a:hover,#content a:focus { background-color: #e6f6fd; }

#header-ads,#cboxLoadedContent p { margin-top: 19px; }
#header-content {
	height: 128px;
	margin-top: 0px;
	overflow: hidden;
	position: relative;
}
#header-content .site-search { margin-top: 19px; }
#footer-content .site-search {margin-top: 17px; }
#header-logo h1,#footer-logo h1 { position: absolute; text-indent: -9999em; }
#header-logo a,#footer-logo a { display: block; background: transparent url(https://www.calciocatania.com/images/logoccom.png) no-repeat; cursor: pointer; height: 128px; left: 0; position: absolute;  width: 102px; text-indent: -9999em; overflow: hidden; }
#header-adsense { position: relative; margin-left: 5px; height: auto; }
.gssb_c { z-index: 999999999999 !important; }

#footer { clear: both; }
#footer-ads { margin: 20px 0; }
#footer-content { background: transparent url(https://calciocatania.com/css3/images/bg-footer.png) no-repeat; height: 129px; margin-top: 20px; overflow: hidden; padding: 11px 0 0 20px; position: relative; }
#footer-logo { }
#footer-logo a {
  left: 0; top: 2px; width: 182px; height: 48px;
  background: url('https://calciocatania.com/images/logocccom3_grigio2.png') no-repeat left top;
  /* opzionale: adattamento se il file è grande */
  background-size: contain;
}
#page {
  background: #fff;
  margin: 0 auto;
  min-height: 1460px;
  padding: 7px 10px 30px;
  position: relative;
  max-width: 1000px;  /* desktop */
  width: 100%;        /* mobile */
  box-sizing: border-box;
}

/* =Primary Navigation
-------------------------------------------------------------- */


#nav { height: 40px; margin: 10px 0px -3px ; position: relative; z-index: 1000; }
#nav-level1 .tier-1 { line-height: 40px; padding-left: 18px; position: absolute; top: 0; width: 982px;  z-index: 1000; }
#nav-level1 .tier-1 li { float: left; position: relative; z-index: 1000; }
#nav-level1 .tier-1 li a { display: block; float: left; height: 40px; line-height: 40px; padding: 0 12px; font-family: 'Antenna-Bold', arial, sans-serif;  font-size: 13px !important; }
#nav-level1 .tier-2 { display: none !important; }
#nav { background: transparent url(images/bg-nav.png) repeat-x; }
#nav-level1 a { color: #fff; text-shadow: 0 1px 0 #105576 !important; font-size: 13px; }
#nav-level1 a:hover,#nav a:focus { background-color: transparent; text-decoration: none; color: #d4edfc;}
#nav-level1 .tier-1 { text-transform: uppercase; }

#nav .tier-2, #nav .tier-3 { display: none !important;}

/* Bottone hamburger */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: #d32f2f; /* rosso Catania */
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
}

/* Menu desktop */
#nav {
  display: block;
}

/* Stile mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  #nav {
    display: none;
    background: #111;
  }

  #nav.active {
    display: block;
  }

  #nav-wrap {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-list.tier-1 li {
    display: block;
    border-bottom: 1px solid #333;
  }

  .nav-list.tier-1 li a {
    display: block;
    padding: 12px;
    color: #fff;
    text-decoration: none;
  }

  .nav-list.tier-1 li a:hover {
    background: #d32f2f;
    color: #fff;
  }
}

/* Hover/Active States */
body.homepage #nav-level1 .tier-1 li.homepage,
body.video #nav-level1 .tier-1 li.video,
body.afl #nav-level1 .tier-1 li.afl,
body.league #nav-level1 .tier-1 li.league,
body.rugby #nav-level1 .tier-1 li.rugby,
body.football #nav-level1 .tier-1 li.football,
body.cricket #nav-level1 .tier-1 li.cricket,
body.motor-sports #nav-level1 .tier-1 li.motor-sports,
body.other-sports #nav-level1 .tier-1 li.other-sports,
body.fantasy #nav-level1 .tier-1 li.fantasy,
body.tvguide #nav-level1 .tier-1 li.tvguide,
#ismTakeover  #nav-level1 .tier-1 li.fantasy { left: -4px; margin-right: -7px; padding-left: 5px; position: relative; z-index: 1000; background: url('https://calciocatania.com/css3/images/bg-nav-item-hover-left.png') no-repeat center left; }

body.homepage #nav-level1 .tier-1 li.homepage a,
body.video #nav-level1 .tier-1 li.video a,
body.afl #nav-level1 .tier-1 li.afl a,
body.league #nav-level1 .tier-1 li.league a,
body.rugby #nav-level1 .tier-1 li.rugby a,
body.football #nav-level1 .tier-1 li.football a,
body.cricket #nav-level1 .tier-1 li.cricket a,
body.motor-sports #nav-level1 .tier-1 li.motor-sports a,
body.other-sports #nav-level1 .tier-1 li.other-sports a,
body.fantasy #nav-level1 .tier-1 li.fantasy a,
body.tvguide #nav-level1 .tier-1 li.tvguide a,
#ismTakeover  #nav-level1 .tier-1 li.fantasy a { position: relative; z-index: 1000;  padding-left: 11px; padding-right: 16px; background: transparent url('https://calciocatania.com/css3/images/bg-nav-item-hover-right.png') no-repeat right 5px;}



/* =Header
-------------------------------------------------------------- */

#section-header { margin: -17px -15px 16px; position: relative; min-height: 100px; z-index: 99999999;}
.homepage #section-header { min-height: 56px;}
#section-header-logo { background: #eaeaea; position: relative; top: 56px; padding: 2px 30px 18px 29px; }
#section-header-logo h1 { color: #575757; font-size: 24px; font-weight: 400; font-family: 'Antenna-Medium', arial, sans-serif; text-transform: uppercase;}



#skip-links,.site-search .search-for,.site-search .submit,#section-header-nav dt,.footer-nav dt,.scoreboard .matches .match dt,.scoreboard .matches .match .date,.scoreboard .matches .match .time,.scoreboard .matches .match .status,.scoreboard .matches .match .current-period { height: 0; left: -5000em; overflow: hidden; position: absolute; width: 4000em; }

#wrapper { background: transparent }

.accept-hover { cursor: pointer; }

.breadcrumbs { color: #b4b4b4; font-size: 0.75em; height: 20px; margin-top: -6px; text-transform: uppercase; display: none; }
.breadcrumbs li { background: transparent url(https://calciocatania.com/css3/images/bg-breadcrumbs-arrow.gif) no-repeat top right; float: left; padding-right: 21px; }
.breadcrumbs li.lirpos-1 { background: none; }

.footer-legals { clear: both; color: #ccc; font-family: 'Antenna-Light'; font-size: 1em;  margin-top: 8px; text-align: center; }
.footer-nav { float: left; overflow: hidden; text-align: center; width: 1000px; margin-top: 11px; }
.footer-nav dd { display:contents; float: center; padding: 0 4px 0 5px; font-family: 'Antenna-Light'; text-transform: uppercase; color: #9c9c9c; font-size: 0.9em; line-height: 11px;}
.footer-nav a { color: #9c9c9c; font-size: 11px;}
.footer-nav a:hover { text-decoration: none; color: #7e7e7e; }
.footer-nav dl { display: block; line-height: 39px; }
#footer .footer-legals p.copyright { font-weight: normal; line-height: normal; margin: 0; }

/* =Mega Menu
-------------------------------------------------------------- */

#content-megamenu {
	background-color: #ebebeb;
	width: 997px;
	padding-left: 3px;
	position: absolute;
		left: 0;
		top: 56px;
	z-index: 999999999;
	overflow: hidden;
	height: auto;
}
#content-megamenu .item {
	float: left;
	padding: 14px 0 10px 0;
}
#content-megamenu .module {
	width: 157px;
	padding: 0 20px;
	float: left;
	border: 0;
	border-right: 1px solid #d2d2d2;
	border-left: 1px solid #f1f1f1;
	height: 100%;
	background-color: transparent;
}
#content-megamenu .module.first {
	border-left: 0;
	padding-left: 30px;
	width: 147px;
}
#content-megamenu .module.last {
	border-right: 0;
}
#content-megamenu .module .module-header {
	background: none;
	filter: none;
	height: auto;
}
#content-megamenu .module .module-header h3 {
	color: #009ee2;
	font-size: 17px;
	padding: 2px 0 10px 0;
	text-shadow: 0 1px 0 #fff;
	font-family: 'AntennaCond-Medium', arial, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	font-style: normal;
}
#content-megamenu .module .module-content {
	color: #868686;
	font-size: 12px;
	font-family: 'Antenna-Medium', arial, sans-serif;
}
#content-megamenu .module .module-content ul {
	padding-bottom: 1px;
}
#content-megamenu .module .module-content li {
	margin-bottom: 11px;
}
#content-megamenu .module .module-content  a {
	color: #868686;
	text-transform: uppercase;
	background: none;
}
#content-megamenu .module .module-content  a:hover {
	color: #575757;
}

/* =Client Specific
-------------------------------------------------------------- */

/* Firefox Mac */
.firefox.mac  #section-header-nav dd a,
.firefox.mac  #nav-level1 .tier-1 li a {
	line-height: 3.4;
}	
* Larghezza della colonna centrale (#page) */
:root{ --page-width: 980px; } /* adegua al tuo layout (980/1000/1152, ecc.) */

/* Fondo generale resta quello con wallpaper */
body.foxsports { background-color:#fff; }

/* Fascia bianca centrata sopra lo sfondo, sotto ai contenuti */
body.foxsports::before{
  content:"";
  position: fixed;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--page-width);
  background: #fff;
  z-index: -1;            /* resta dietro al contenuto */
  pointer-events: none;   /* non intercetta click/scroll */
}
/* === FIX CalcioCatania.com — Prossimo Incontro Header === */
#header-content {
  height: auto !important;       /* elimina il limite di 128px */
  overflow: visible !important;  /* mostra gli elementi che escono */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;               /* permette di andare sotto se serve */
  gap: 20px;                     /* spazio fra logo e box */
  padding: 10px 20px;
  box-sizing: border-box;
}

#header-logo {
  flex-shrink: 0;
}

.header-next-match {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #0073CF 0%, #C21807 100%);
  border-radius: 12px;
  padding: 8px 18px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  min-width: 260px;
}

.header-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.header-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.85rem;
}

.header-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.4);
}

.header-vs {
  font-weight: 700;
  font-size: 1.1rem;
  background: #fff;
  color: #C21807;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-info {
  font-size: 0.8rem;
  margin-top: 4px;
  opacity: 0.9;
  text-transform: uppercase;
}
