/* General font families for common tags */
body,font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif; }
body { touch-action: manipulation; }
p, td { font-size: 12px; color: #000000; }
a:link,a:active,a:visited { color: #0000EE; }
a:hover { text-decoration: underline; color: #FF0000; }
hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}
h1 { font-size: 24px; font-weight: bold; text-decoration: none; line-height: 120%; color: #000000; word-break: break-word; }
h2 { padding-top: 10px; padding-bottom: 10px; margin: 0px; word-break: break-word; }

/* Header */
table.top {
  width: 100%;
  border: 0px;
  border-spacing: 1px;
}

tr.header {
}

td.topLeft {
  height: 180px;
  vertical-align: top;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background-image: url(images/headerleft.gif);
  background-repeat: no-repeat;
  background-position: left top;
}

td.topMiddle {
  width: 780px;
  height:180px;
  text-align: left;
  vertical-align: top;
  background-image: url(images/header.gif);
  background-repeat: no-repeat;
  background-position: left top;
}

td.topRight {
  height: 180px;
  vertical-align: top;
  background-image: url(images/headerright.gif);
  background-repeat: no-repeat;
  background-position: right top;
}

/* This is the outline round the main forum tables */
.forumline { background-color: #EEEEEE; border: 2px #006699 solid; }

/* Main table cell colours and backgrounds */
td.row1	{ background-color: #EFEFEF; border: 1px #DEE3E7 solid; }
td.row2	{ background-color: #DEE3E7; border: 1px #DEE3E7 solid; }
td.row3	{ background-color: #D1D7DC; border: 1px #DEE3E7 solid; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
  background-color: #FFFFFF;
  background-image: url("images/cellpic2.jpg");
  background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th {
  color: #FFFFFF; font-size: 14px; font-weight: bold;
  background-color: #0A246A; height: 25px;
  /*background-image: url("images/cellpic3.gif");*/
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
  background-image: url("images/cellpic1.gif");
  background-color:#D1D7DC; border: #DEE3E7; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
  height: 29px;
  border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
  font-weight: bold; border: #EEEEEE; border-style: solid; height: 28px; }
td.row3Right,td.spaceRow {
  background-color: #D1D7DC; border: #DEE3E7; border-style: solid; }

th.thHead,td.catHead { font-size: 14px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom { border-width: 0px 1px 1px 1px; }
th.thTop { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

/* The largest texts used in the index page title and toptic title etc. */
.maintitle {
  font-weight: bold; font-size: 24px;
  text-decoration: none; line-height: 120%; color: #000000;
}

/* General text */
.gen,.genb { font-size: 14px; }
.genmed,.genmedb { font-size: 12px; }
.gensmall,.gensmallb { font-size: 11px; }
.gen,.genmed,.gensmall,.genb,.genmedb,.gensmallb { color: #000000; }
.genb,.genmedb,.gensmallb,.selected { font-weight: bold; }
a.gen,a.genmed,a.gensmall { color: #0000EE; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #FF0000; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu { font-size: 12px; color: #000000; }
a.mainmenu { text-decoration: none; color: #0000EE; }
a.mainmenu:hover{ text-decoration: underline; color: #FF0000; }

/* Forum category titles */
.cattitle { font-weight: bold; font-size: 14px; letter-spacing: 1px; color: #0000EE; }
a.cattitle { text-decoration: none; color: #0000EE; }
a.cattitle:hover{ text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink { font-weight: bold; font-size: 14px; color: #0000EE; }
a.forumlink { text-decoration: none; color: #0000EE; }
a.forumlink:hover{ text-decoration: underline; color: #FF0000; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav { font-weight: bold; font-size: 12px; color: #000000; line-height: 2.5; }
a.nav { text-decoration: none; color: #0000EE; }
a.nav:hover { text-decoration: underline; }
.navL { text-align: left; }

/* Navigation, red and bold text */
.redbold { color: #e00030; text-shadow: 0 0 3px #f09030; font-weight: bold; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name { font-size: 12px; color: #000000; }

/* Location, number of posts, post date etc */
.postdetails	{ font-size: 11px; color: #000000; }

/* The content of the posts (body of text) */
.postbody { font-size: 14px; line-height: 18px; word-wrap: break-word; word-break: break-word; overflow-wrap: break-word; }
a.postlink:link	{ text-decoration: none; color: #0000EE; }
a.postlink:visited { text-decoration: none; color: #251A8B; }
a.postlink:hover { text-decoration: underline; color: #FF0000; }

/* Quote & Code blocks */
.code,code {
  font-family: Courier, 'Courier New', sans-serif; font-size: 12px; color: #006600;
  word-wrap: break-word;
  background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
  border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}
.quote {
  font-size: 12px; color: #444444; line-height: 125%;
  word-wrap: break-word;
  background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
  border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* User signature */
.signature {
  font-size: 12px;
  word-wrap: break-word;
  margin-top: 16px; padding-top: 2px; border-top: 1px solid #D1D7DC;
  overflow: hidden; clear: left; width: 100%;
}

/* Attachments */
hr.attach { width: 97%;text-align: center; }
td.attachrow { font: normal 11px; color: #000000; border-color: #000000; }
td.attachrowd { font: normal 11px; color: #000000; border-color: #000000; width: 10%; border: 1px solid; }
td.attachrowl { font: normal 11px; color: #000000; border-color: #000000; width: 10%; border: 1px solid; }
td.attachrowr { font: normal 11px; color: #000000; border-color: #000000; width: 87%; border: 1px solid; }
td.attachheader { font: normal 11px; color: #000000; border-color: #000000; background-color: #D1D7DC; width: 100%; }
table.attachtable { font: normal 12px; color: #000000; border-color: #000000; border-collapse: collapse; width: 97%; border: 1px solid; margin-left:auto; margin-right:auto; }
table.attachtablei { font: normal 12px; color: #000000; border-color: #000000; border-collapse: collapse; width: 100%; border: 0px; }

/* NOT for images in attachments but only for images, which are directly placed as html inside a posting. style=... inside html is forbidden.
   Attention: The image dimensions in width=... and height=... should be placed in the same img tag additionally! */
img.responsive { max-width: 66%; height: auto; border: 0; }

/* Make broad tables in postings scrollable */
table.responsive { overflow-x: auto; }

/* Copyright and bottom info */
.copyright { font-size: 10px; color: #444444; letter-spacing: -1px; }
a.copyright { color: #444444; text-decoration: none; }
a.copyright:hover { color: #000000; text-decoration: underline; }

/* Form elements */
input,textarea, select {
  color: #000000;
  font: normal 11px;
  border-color: #000000;
}

/* The text input fields background colour */
input.post, textarea.post, select {
  background-color: #EEEEEE;
}
input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
  background-color: #EFEFEF;
  color: #000000;
  font-size: 12px;
}

/* The main submit button option */
input.mainoption {
  background-color: #FAFAFA;
  font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
  background-color: #FAFAFA;
  font-weight : normal;
}

/* Lexword explanations */
abbr, acronym {
  cursor : help;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;) */
.helpline { background-color: #DEE3E7; border-style: none; }

/* The following section overwrites the css above for mobile layout. */
@media only screen 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 1)
{
  /* Mobile devices get a bigger base font size. */
  body {
    font-size: 133%;
  }

  p {
    padding: 16px;
  }
}
