@import url(https://fonts.googleapis.com/css?family=Alegreya|Alegreya+SC);
.collage {background-image: url('collage.png'); background-repeat: repeat; background-attachment: fixed;}
.menuitem {background: #000000; font: 100% 'Alegreya SC', serif;
           border-style: solid; border-width: thin; font-weight: bold;
           text-align: center; display: block; float: left; width: 10em;}
#backup {background: #000000; color: #ffffff; font: 100% 'Alegreya SC', serif;
         border-style: solid; border-width: thin; font-weight: bold;
         text-align: center; display: none; padding: 3px;
         position: fixed;   bottom: 20px;   right: 30px;   z-index: 99;
         cursor: pointer;}
#backup:hover {background-color: #999999;}
.menu {font: 100% 'Alegreya SC', serif; width: 12em; float: left}
.rtmenu {background: #000000; font: 100% 'Alegreya SC', serif;
           border-style: solid; border-width: thin; font-weight: bold;
           text-align: center; display: block; float: right; width: 10em;}
.across {width: 100%; text-align: center; clear: both}
.address {text-align: left; font-style: oblique}
.left {text-align: left}
.caldate {padding-left: 1.2em; text-align: left; font-weight: bold}
.nolink {background: #cccccc;}
.callink {background: #000000;}
.centre {text-align: center; margin-left: auto; margin-right: auto;}
.erase {text-decoration: line-through 2px;}
.foreign {font-style: oblique}
.list {margin-top: 0px; margin-bottom: 0px}
.name {font-style: oblique}
.right {text-align: right}
.logo {float: right}
.home {background-color: #dddddd; font-weight: bold; padding-left: 2em; padding-top: 0.2em; padding-bottom: 0.2em; margin: 0px}
.away {background-color: #dddddd; padding-left: 2em; padding-top: 0.2em; padding-bottom: 0.2em; margin: 0px}
.picleft {float: left; text-align: left; margin-right: 1em; font-style: oblique}
.picright {float: right; text-align: right; margin-left: 1em; font-style: oblique}
.small {font-size: smaller}
.tyre {margin: 0.5em; width: 100%; text-align: left; clear: both;
       background: url("tyre.png"); background-repeat: repeat-x;}
.correct {background: #ffcccc; font-weight: bold}
.picture {margin-left: auto; margin-right: auto; font-style: oblique; text-align: center;}
.photo {border: 10px solid #ffffff;}
.pub {font-style: oblique}
.quoted {margin-left: 1em; margin-right: 1em; font-style:italic;}
body {background-color: #eeeeee; color: #000000; font-family: 'Alegreya', serif; max-width: 1200px;
      margin-left: auto; margin-right: auto;}
h1 {font: 200% 'Alegreya SC', serif;}
h2 {font: 150% 'Alegreya SC', serif;}
h3 {font: 120% 'Alegreya SC', serif; background-color: #bbbbbb; padding: 0.2em; margin: 0px}
h4 {font: 100% 'Alegreya SC', serif; background-color: #cccccc; padding: 0.2em; margin: 0px}
hr {color: #000000}
hr.inter {width: 33%}
a:link {color: #666666; text-decoration: underline}
a:visited {color: #000000; text-decoration: underline}
a.menuitem:link {color: #ffffff; text-decoration: none}
a.menuitem:visited {color: #ffffff; text-decoration: none}
a.menuitem:hover {background: #999999;}
a.rtmenu:link {color: #ffffff; text-decoration: none}
a.rtmenu:visited {color: #ffffff; text-decoration: none}
a.rtmenu:hover {background: #999999;}
a img {border-width: 0px}
p {text-align: left}
table {margin-left: auto; margin-right: auto}
table.calendar {border: none; width: 24em}
table.calendar th {border: thin solid #eeeeee; text-align: center; font-size: large}
table.calendar td {border: thin solid #eeeeee; width: 25%; text-align: center}
table.calendar td a {font-weight: bold; text-decoration: none}
td.callink a:link {color: #ffffff; text-decoration: none}
td.callink a:visited {color: #ffffff; text-decoration: none}
td.callink a:hover {background: #999999;}
table.tyre {background: #000000; border: #000000 solid 1px;}
table.tyre td {background: #ffffff;}
table.tyre th {background: #cccccc;}
dl {text-align: left}
dt {font-family: 'Alegreya', serif; font-weight: bold}

@media (prefers-color-scheme: dark) {
.collage {background-image: url('collaged.png'); background-repeat: repeat; background-attachment: fixed;}
.menuitem {background: #ffffff;}
#backup {background: #ffffff; color: #000000;}
#backup:hover {background-color: #999999;}
.menu {font: 100% 'Alegreya SC', serif; width: 12em; float: left}
.nolink {background: #666666;}
.callink {background: #ffffff;}
.home {background-color: #222222;}
.away {background-color: #222222;}
.correct {background: #003333;}
.photo {border: 10px solid #000000;}
.tyre {background: url("tyred.png"); background-repeat: repeat-x;}
body {background-color: #333333; color: #ffffff;}
h3 {background-color: #555555;}
h4 {background-color: #444444;}
hr {color: #ffffff}
a:link {color: #aaaaaa;}
a:visited {color: #ffffff;}
a.menuitem:link {color: #000000;}
a.menuitem:visited {color: #000000;}
a.menuitem:hover {background: #777777;}
td.callink a:link {color: #000000;}
td.callink a:visited {color: #000000;}
td.callink a:hover {background: #777777;}
table.tyre {background: #ffffff; border: #ffffff;}
table.tyre td {background: #000000;}
table.tyre th {background: #333333;}
s}


@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
body {font-size: 150%;}
img {max-width: 95%; height: auto;}
 .menu	{width: 100%; float: none; text-align: center; font-size: 150%;}
 .menuitem {width: 99%; margin: 0px; padding: 0px;}
  }
