.cf:before,
.cf:after {
  content: "";
  display: table; }

.cf:after {
  clear: both; }

.cf {
  *zoom: 1; }

/* BODY */
body {
  background: #ffffff;
  margin: 0;
  padding: 0;
  font: 12px/16px sans-serif; }

a {
  text-decoration: none;
  color: #cc0000; }
  a:visited {
    color: #cc0000; }
  a:hover {
    text-decoration: underline; }
  a img {
    border: 0; }

.goodnews {
  border-radius: 5px;
  border: 1px solid #00cc00;
  background: #eeffee;
  padding: 10px;
  color: #00cc00; }

.inner {
  width: 1000px;
  margin: 0 auto; }

/* HEADER */
header {
  width: 100%;
  height: 100px;
  background: black; }

#logo {
  float: left; }

#head-banner {
  float: right;
  margin-top: 18px;
  text-align: center; }
  #head-banner img {
    padding: 1px;
    border: 1px solid #ffffff; }
  #head-banner a {
    color: white;
    font-size: 0.9em; }

nav {
  width: 100%;
  background: black;
  padding-top: 15px;
  position: relative;
  z-index: 50; }
  nav > ul {
    width: 1000px;
    margin: 0 auto;
    padding: 0;
    list-style: none; }
    nav > ul > li {
      float: left;
      margin: 0 10px;
      text-align: center;
      position: relative; }
      nav > ul > li:first-child {
        margin-left: 0; }
      nav > ul > li:last-child {
        float: right;
        margin-right: 0; }
      nav > ul > li a {
        display: block;
        color: white;
        padding: 5px 0;
        font-size: 1.2em;
        border-bottom: 5px solid black;
        text-decoration: none;
        font-weight: bold;
        transition: border-bottom-color 0.2s linear;
        -moz-transition: border-bottom-color 0.2s linear;
        /* FF3.7+ */
        -o-transition: border-bottom-color 0.2s linear;
        /* Opera 10.5 */
        -webkit-transition: border-bottom-color 0.2s linear;
        /* Saf3.2+, Chrome */ }
        nav > ul > li a:visited {
          color: white; }
        nav > ul > li a:hover, nav > ul > li a.active {
          color: white;
          border-bottom-color: #cc0000;
          text-decoration: none; }
      nav > ul > li ul {
        opacity: 0;
        visibility: hidden;
        width: 270px;
        position: absolute;
        left: 0;
        top: 31px;
        background: black;
        margin: 0;
        padding: 0;
        list-style: none;
        transition: opacity 0.2s linear;
        -moz-transition: opacity 0.2s linear;
        /* FF3.7+ */
        -o-transition: opacity 0.2s linear;
        /* Opera 10.5 */
        -webkit-transition: opacity 0.2s linear;
        /* Saf3.2+, Chrome */ }
        nav > ul > li ul li {
          padding: 0 10px;
          text-align: left; }
      nav > ul > li:hover ul {
        opacity: 1;
        visibility: visible; }

/* CONTENT */
#main {
  clear: both;
  width: 1000px;
  margin: 10px auto;
  background: white;
  z-index: 30; }

#content {
  float: left;
  width: 740px;
  margin-right: 10px; }

#flashContent {
  height: 650px; }

#homenews {
  position: relative;
  z-index: 15; }
  #homenews div {
    position: absolute;
    width: 100%;
    background: #000000;
    background: rgba(0, 0, 0, 0.5);
    bottom: 4px;
    z-index: 10; }
    #homenews div h1, #homenews div p {
      color: #ffffff;
      text-shadow: 0px 2px 0px #000000;
      margin: 15px 20px; }
      #homenews div h1 a, #homenews div p a {
        color: #ffffff; }

#morenews {
  width: 100%; }
  #morenews ul {
    padding: 0;
    margin: 0;
    list-style: none; }
    #morenews ul li {
      float: left;
      width: 144px;
      margin-right: 5px;
      font-size: 1.4em; }
      #morenews ul li img {
        margin-bottom: 3px; }
      #morenews ul li:last-child {
        margin-right: 0; }

#forumtopics {
  width: 100%;
  margin-top: 10px; }

#forumtopics h2 {
  font-size: 1.3em;
  border-bottom: 2px solid #cc0000;
  padding: 10px;
  margin: 0 0 5px 0;
  background: #000000;
  color: #ffffff; }

.newsarticle h1 {
  font-size: 2.5em;
  line-height: 1.2em;
  margin: 4px 0 8px 0; }
.newsarticle h2 {
  font-size: 1.3em;
  margin-bottom: 8px;
  color: #999999; }

.matchcentre h1 {
  font-size: 3em;
  line-height: 1.2em;
  margin: 4px 0 8px 0; }
.matchcentre h2 {
  font-size: 1.5em;
  margin-bottom: 8px;
  color: #999999; }
.matchcentre #matchresult {
  float: left;
  width: 250px;
  margin: 10px 10px 0 0; }
  .matchcentre #matchresult h3 {
    background: #000000;
    color: #ffffff;
    font-size: 1.3em;
    padding: 10px;
    margin: 0 0 10px 0; }
    .matchcentre #matchresult h3 span {
      float: right;
      text-align: right; }
.matchcentre #livetext {
  float: right;
  width: 480px;
  margin-top: 10px; }
  .matchcentre #livetext h3 {
    text-align: center;
    color: #cccccc; }
  .matchcentre #livetext table {
    width: 100%;
    border-collapse: collapse; }
    .matchcentre #livetext table th {
      text-align: left;
      font-size: 1.3em;
      border-bottom: 1px solid #000000; }
    .matchcentre #livetext table td {
      padding: 10px 0;
      vertical-align: top;
      border-bottom: 1px solid #cccccc; }
      .matchcentre #livetext table td.minute {
        width: 70px;
        text-align: left;
        font-size: 1.5em;
        font-weight: bold; }
      .matchcentre #livetext table td.livetext strong {
        font-size: 1.2em; }

.articlecomment {
  margin-bottom: 10px;
  padding: 10px;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  background: #eeeeee; }
  .articlecomment img.useravatar {
    float: left;
    border: 1px solid #000000;
    max-width: 150px;
    max-height: 150px; }
  .articlecomment .commenttext {
    margin-left: 160px; }
    .articlecomment .commenttext p:first-child {
      margin-top: 0;
      font-size: 1.2em; }
  .articlecomment .quotetitle {
    border: 1px solid #cccccc;
    padding: 5px 10px;
    background: #cccccc; }
  .articlecomment .quotecontent {
    border: 1px solid #cccccc;
    border-top: 0;
    padding: 5px 10px;
    background: #ffffff; }

.newspreview img {
  float: left;
  margin-right: 10px; }
.newspreview strong {
  font-size: 1.5em; }
.newspreview em {
  color: #999999; }

#sidebar {
  float: right;
  width: 250px; }
  #sidebar h2 {
    font-size: 1.1em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom: 2px solid #cc0000;
    padding: 5px;
    margin: 0 0 5px 0;
    background: #000000;
    color: #ffffff; }
  #sidebar table {
    width: 100%;
    font-size: 1em;
    border-collapse: collapse;
    margin-bottom: 10px; }
    #sidebar table tr td:last-child, #sidebar table tr th:last-child {
      text-align: right; }

#groundmap {
  width: 248px;
  height: 248px;
  border: 1px solid #000000; }

/* FOOTER */
footer {
  clear: both;
  width: 100%;
  background: black;
  color: white; }
  footer p {
    padding: 10px 10px 0 10px;
    margin: 0;
    font-size: 0.9em; }
    footer p img {
      float: right;
      margin-left: 10px; }

#footerlogos {
  width: 100%;
  height: 100px;
  margin-bottom: 10px; }
  #footerlogos a {
    float: left;
    width: 200px;
    height: 100px;
    transition: background-image 0.2s linear;
    -moz-transition: background-image 0.2s linear;
    /* FF3.7+ */
    -o-transition: background-image 0.2s linear;
    /* Opera 10.5 */
    -webkit-transition: background-image 0.2s linear;
    /* Saf3.2+, Chrome */ }
    #footerlogos a span {
      display: none; }
  #footerlogos #fl-footer1 {
    background-image: url(/images/ebac-grey.png); }
    #footerlogos #fl-footer1:hover {
      background-image: url(/images/ebac-colour.png); }
  #footerlogos #fl-footer2 {
    background-image: url(/images/jobs-grey.png); }
    #footerlogos #fl-footer2:hover {
      background-image: url(/images/jobs-colour.png); }
  #footerlogos #fl-footer3 {
    background-image: url(/images/echo-grey.png); }
    #footerlogos #fl-footer3:hover {
      background-image: url(/images/echo-colour.png); }
  #footerlogos #fl-footer4 {
    background-image: url(/images/dfcshop-grey.png); }
    #footerlogos #fl-footer4:hover {
      background-image: url(/images/dfcshop-colour.png); }
  #footerlogos #fl-footer5 {
    background-image: url(/images/1883-grey.png); }
    #footerlogos #fl-footer5:hover {
      background-image: url(/images/1883-colour.png); }

#footerlinks {
  width: 100%;
  margin-bottom: 10px; }
  #footerlinks ul {
    float: left;
    width: 190px;
    margin: 0 10px 0 0;
    padding: 0;
    list-style: none; }
    #footerlinks ul li {
      margin: 5px 0;
      color: white; }
    #footerlinks ul a:link, #footerlinks ul a:visited {
      color: white;
      text-decoration: none; }

/********************
 FIXTURES TABLE
 ********************/
table#fixturelist {
  width: 100%;
  border-collapse: collapse;
  font-size: 1em; }
  table#fixturelist th {
    padding-bottom: 4px;
    text-align: left; }
  table#fixturelist td {
    padding: 2px 0;
    vertical-align: middle; }
  table#fixturelist tr.fixturemonth td {
    padding-top: 15px; }
  table#fixturelist tr.result td {
    color: #999999; }
  table#fixturelist tr.fixture td {
    color: #000; }
  table#fixturelist tr.next td {
    background: #ffa; }
  table#fixturelist tr.fixturea td {
    color: #a00; }
  table#fixturelist td.koDay {
    width: 30px;
    text-align: left; }
  table#fixturelist td.koDate {
    width: 34px;
    text-align: left; }
  table#fixturelist td.koTime {
    width: 50px;
    text-align: left; }
  table#fixturelist td.compname {
    width: 110px;
    padding-left: 5px; }
  table#fixturelist td.team {
    width: 165px; }
  table#fixturelist td.hometeam {
    text-align: right; }
  table#fixturelist td.result {
    width: 60px;
    text-align: center; }
  table#fixturelist td.attendance {
    width: 57px;
    text-align: center; }
  table#fixturelist td.morelink {
    padding-right: 10px; }
  table#fixturelist td.wdl {
    width: 8px; }
  table#fixturelist td.win {
    background: #00cc00; }
  table#fixturelist td.draw {
    background: #cccc00; }
  table#fixturelist td.lose {
    background: #cc0000; }

#fixturesmap {
  width: 738px;
  height: 398px;
  border: 1px solid #000000; }

#venueaddress {
  float: left;
  width: 200px;
  padding-right: 10px;
  font-size: 1.2em;
  margin-top: 10px; }

#venuedirections {
  float: right;
  margin-top: 10px;
  width: 509px;
  padding-left: 10px;
  border-left: 1px solid #eeeeee; }
  #venuedirections table {
    width: 100%; }
  #venuedirections form {
    display: none; }
  #venuedirections form > p {
    margin-top: 0;
    font-size: 1.2em; }

#leaguetable {
  width: 100%;
  border-collapse: collapse; }
  #leaguetable td {
    width: 30px;
    text-align: center;
    padding: 3px 0; }
  #leaguetable tr td:nth-child(2) {
    width: auto;
    text-align: left;
    padding-left: 5px; }
  #leaguetable tr td:nth-child(3), #leaguetable tr td:nth-child(6), #leaguetable tr td:nth-child(9), #leaguetable tr td:nth-child(13), #leaguetable tr td:nth-child(15) {
    border-right: 1px solid #666666; }
  #leaguetable tr:nth-child(odd) td {
    background: #eeeeee; }
  #leaguetable tr.club1 td {
    background: #ffffcc;
    font-weight: bold; }
  #leaguetable tr.position1 td {
    border-top: 1px solid #000000;
    background: #b6d7bb; }
  #leaguetable tr.position2 td, #leaguetable tr.position3 td, #leaguetable tr.position4 td, #leaguetable tr.position5 td {
    background: #ffffee; }
  #leaguetable tr.position22 td {
    border-top: 1px dashed #000000; }
  #leaguetable tr.position22 td, #leaguetable tr.position23 td, #leaguetable tr.position24 td {
    background: #ffdddd; }
  #leaguetable tr td:nth-child(13) {
    font-size: 1.1em;
    font-weight: bold; }
  #leaguetable tr td:nth-child(14), #leaguetable tr td:nth-child(15) {
    font-size: 0.9em;
    padding: 0 3px; }
  #leaguetable span.fixw, #leaguetable span.fixd, #leaguetable span.fixl {
    display: block; }
  #leaguetable span.fixw {
    background: #b6d7bb !important; }
  #leaguetable span.fixd {
    background: #b3c025 !important; }
  #leaguetable span.fixl {
    background: #ffdddd !important; }

#leaguetable-mini {
  width: 100%;
  border-collapse: collapse; }
  #leaguetable-mini td {
    width: 30px;
    text-align: center;
    padding: 3px 0; }
  #leaguetable-mini tr td:nth-child(2) {
    width: auto;
    text-align: left; }
  #leaguetable-mini tr.club1 td {
    background: #ffffcc;
    font-weight: bold; }

#prediction {
  background: #eeeeee;
  border-radius: 10px;
  width: 400px;
  padding: 15px;
  margin: 20px auto; }
  #prediction h3 {
    margin-top: 0; }

#predictionleague {
  width: 100%;
  border-collapse: collapse; }
  #predictionleague th {
    border-bottom: 1px solid #000000; }
  #predictionleague td {
    width: 45px;
    text-align: center;
    padding: 4px 0; }
  #predictionleague tr td:nth-child(2) {
    width: auto;
    text-align: left; }
  #predictionleague tr:nth-child(odd) td {
    background: #eeeeee; }
  #predictionleague tr.position1 td {
    background: #d9a441;
    font-size: 1.6em;
    padding: 6px 0; }
  #predictionleague tr.position2 td {
    background: #a8a8a8;
    font-size: 1.4em;
    padding: 6px 0; }
  #predictionleague tr.position3 td {
    background: #965A38;
    font-size: 1.2em;
    padding: 6px 0; }

ul.squad {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  -o-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 20px;
  -moz-column-gap: 20px;
  -o-column-gap: 20px;
  column-gap: 20px; }

.galleries ul {
  margin: 0;
  padding: 0;
  list-style: none; }
  .galleries ul li {
    float: left;
    width: 100px;
    height: 110px;
    margin: 5px 10px;
    text-align: center; }

.page-contact img {
  clear: both;
  float: left;
  margin-right: 10px; }
.page-contact p {
  height: 100px; }

#fixturegrid {
  width: 1000px;
  border-collapse: collapse;
  font-size: 0.8em; }
  #fixturegrid th {
    border-right: 1px solid #cccccc; }
  #fixturegrid td {
    border-right: 1px solid #cccccc;
    vertical-align: middle; }
  #fixturegrid tr.pos1 td, #fixturegrid tr.pos2 td, #fixturegrid tr.pos3 td, #fixturegrid tr.pos4 td {
    border-top: 1px solid #cccccc; }
  #fixturegrid tr:nth-child(odd) td {
    background: #eeeeee; }
  #fixturegrid .player {
    width: 79px;
    text-align: right; }
  #fixturegrid .notatclub {
    color: #cc0000; }
  #fixturegrid .match {
    width: 19px; }
  #fixturegrid span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 2px 1px 0px 1px;
    font-size: 8px;
    line-height: 8px;
    text-align: center; }
  #fixturegrid sup {
    font-size: 1em; }

span.ib {
  display: inline-block;
  width: 8px;
  height: 8px; }
span.sxi {
  background: #66cc66; }
span.usub {
  background: #cccc00; }
span.uusub {
  background: #cc0000; }

.stattable {
  float: left;
  width: 250px; }
  .stattable table {
    width: 200px;
    border-collapse: collapse; }
    .stattable table tr td:first-child {
      width: 150px; }
    .stattable table tr td:last-child {
      width: 50px;
      text-align: right; }

#eventstable {
  width: 100%;
  border-collapse: collapse; }
  #eventstable th {
    text-align: left;
    padding-right: 10px;
    border-bottom: 1px solid #000000; }
  #eventstable td {
    vertical-align: top;
    padding-right: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #cccccc; }
    #eventstable td p:first-child {
      margin-top: 0; }
  #eventstable .edate {
    width: 130px; }
  #eventstable .eorganiser {
    width: 120px; }
  #eventstable .edetails {
    width: auto; }
