/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/
/* A1.1 */
  @import url(style_cs.1779147135.css);

/* A2 Deal with browser defaults
-------------------------------------------------------------*/
/* A2.1 */
html, body {margin: 0; padding: 0}

/* A2.2 */
html { 
  -webkit-text-size-adjust: 100%; 
  line-height: 1.5;
  box-sizing: border-box; 
}

/* A2.3 */
*, *::before, *::after { box-sizing: inherit; }

/* A2.4 */
.punbb * { margin: 0 }

/* A2.5 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
}

/* A2.6 */
.punbb img { border:none }

/* A2.7 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
}

/* A2.8 */
h1, h2, h3, h4, form, div, p, img { padding: 0; margin: 0;}

/* A2.9 */
h1, h2, h3, h4, h5 {
  color: #200;
  font-family: Open Sans, Tahoma, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
}

/* A2.10 */
p { margin: 8px 0 0 0; }

/* A2.11 */
table { border-spacing: 0px; }

/* A2.12 */
th, td {
  padding: 8px;
  text-align: center;
  border: 1px solid #d8dcd0;
  border-bottom-width: 0px;
}

/* A2.13 */
tr:first-child td, tr:first-child th {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* A2.14 */
tr:last-child td {
  border-bottom: 1px solid #d8dcd0;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* A2.15 */
input[type=text], input[type=number], input[type=submit], 
input[type=tel], textarea, select {
  border: 1px solid #d8dcd0;
  border-radius: 16px;
  background: #fff;
  padding: 2px 8px;
}

/* A2.16 */
input[type=text], input[type=number], input[type=submit] { height: 32px; }

/* A2.17 */
input[type=submit]:hover { background: #e8ece0; }

/* A2.18 */
textarea { padding: 8px; }

/* A2.19 */
select, input[type=file], input[type=submit], input[type=checkbox] { cursor: pointer; }

/* A2.20 */
blockquote {
  margin: 0 0 8px 0;
  background-color: #d7e0c9;
  border: 1px #c6ccbe solid;
  padding: 8px;
  border-radius: 16px;
}

/* A2.21 */
hr {
  border: none;
  margin: 4px 0 8px 0;
  height: 1px;
  background: #d9d9d9;
  background: linear-gradient(90deg, #f6f6ec, #d2d9d2, #d2d9d2, #f6f6ec);
}


/* A3 Text setup
-------------------------------------------------------------*/
/* A3.1 */
body, td, th, div, button, input, textarea, select {
  font-family: Open Sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
  font-size: 11pt;
  margin: 0px;
}

/* A3.2 */
body {
  text-align: center;
  background: #fff;
}

/* A3.3 */
.punbb {
  font: normal 11pt/1.5 Open Sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
}

/* A3.4 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 11pt Open Sans, system-ui, sans-serif;
}

/* A3.5 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
}

/* A3.6 */
.punbb h1 span, .punbb h2 span, .punbb legend span { font-size: 1.1em; }

/* A3.7 */
.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

/* A3.8 */
.punbb address, .punbb em { font-style: normal; }

/* A3.9 */
.punbb .post-content em { font-style: italic; }

/* A3.10 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

/* A3.11 - NAIRALAND LINKS */
.punbb a { 
  text-decoration: none;
  word-break: break-word;
}

/* A3.12 */
.punbb a:hover { text-decoration: underline; }

/* A3.13 */
.punbb optgroup { font-weight: bold; }


/* A4 Float clearing and hidden items
-------------------------------------------------------------*/
/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  line-height: 0.0;
  font-size: 0;
}

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}


/* A5 Basic page layout and borders
-------------------------------------------------------------*/
/* A5.1 - NAIRALAND: No margin, max-width container */
#pun {
  margin: 8px auto;
  position: relative;
  max-width: 1024px;
  width: calc(100% - 16px);
}

/* A5.2 */
.punbb {
  float: left;
  width: 100%;
  height: auto;
}

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
}

/* A5.4 */
.punbb .section, .punbb .main { margin-bottom: 8px; }

/* A5.5 */
.punbb .category, .punbb .post { margin-top: 8px; }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost { margin-top: 0; }

/* A5.7 */
#pun-post .topic { margin-top: 1em; }

/* A5.8 - NAIRALAND: No bottom borders on sections */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-style: none;
}

/* A5.9 - NAIRALAND: Rounded containers */
.punbb .container {
  border-style: solid;
  border-width: 1px;
  border-radius: 16px;
}

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
  padding: 8px;
  border-style: none;
}


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content
-------------------------------------------------------------*/
/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

/* B1.2 */
.punbb .post-sig dt {
  display: block;
  border-top: 1px solid #d8dcd0;
  width: 250px;
  margin: 5px 0;
}

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
}

/* B1.4 */
.punbb .post-content img { vertical-align: text-bottom; }

/* B1.5 */
.punbb .post-content img.postimg { vertical-align: middle; }

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
}

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
}

/* B1.8 - NAIRALAND STYLE QUOTE BOX */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 0 0 8px 0;
  padding: 8px;
  border-style: solid;
  border-width: 1px;
  border-radius: 16px;
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: block;
  padding-bottom: 0.7em;
  font-size: 1.1em;
  font-weight: bold;
  font-style: normal;
  margin: 0;
}


/* B2 Information boxes
-------------------------------------------------------------*/
/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  margin: 0 0 1.1em 0;
}

/* B2.2 */
.punbb .info-box * { padding: 0 0 0.7em 0; }

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
}


/* B3 Pagination and posting links
-------------------------------------------------------------*/
/* B3.1 */
.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 0;
}

/* B3.2 */
.multipage { margin-top: 3em; }

/* B3.3 */
.linkst .pagelink {
  position: absolute;
  top: -4em;
  left: 1em;
  width: 24em;
}

/* B3.4 */
.linkst .postlink {
  position: absolute;
  top: -4em;
  right: 1em;
  width: 16em;
  text-align: right;
  font-weight: bold;
}

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
}

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
}

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold;
}

/* B3.8 */
.subscribelink {
  clear: both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
}

/* B3.9 - NAIRALAND PAGINATION STYLE */
.pgn {
  border: 1px solid #d8dcd0;
  border-radius: 8px;
  padding: 0px 4px;
  background-color: #f6f6ec;
  line-height: 1.8;
  white-space: nowrap;
  margin: 0px 1px;
  display: inline-block;
}

.pgn:hover { background-color: #e8ece0; }


/*************************************************************
C - NAIRALAND TABLE LAYOUT
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/
/* C1.1 */
.punbb .formal .container { padding: 1.7em 2.3em 1.1em 2.3em; }

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
}

/* C1.3 - NAIRALAND BUTTONS */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0;
}

/* C1.4 - NAIRALAND FIELDSET */
.punbb fieldset {
  border-style: solid;
  border-width: 1px;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0;
  border-radius: 16px;
}

/* C1.5 */
.punbb fieldset legend { padding: 0; margin: 0 0 0 11px; font-size: 1.1em; }

/* C1.6 */
.punbb fieldset legend span { padding: 0 5px; margin: 0 0 0 -15px; }

/* C1.7 */
.punbb fieldset fieldset { border-style: none; margin: 0; padding: 0 0 8px 0; }

/* C1.8 */
.punbb .fs-box { padding: 1em 0 0.8em 0; }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset { padding: 0 0 0.8em 0; }

/* C1.10 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
}


/* C2 Table layout - NAIRALAND STYLE
-------------------------------------------------------------*/
/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 75%;
}

/* C2.2 - NAIRALAND: Hide Last Post column */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  display: none;
}

/* C2.3 */
.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  width: 25%;
}

/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl { width: 40%; }

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
}

/* C2.8 */
#pun-index .tcl h3 {
  font-size: 1.2em;
  font-weight: bold;
}

/* C2.11 - NAIRALAND TABLE CELL STYLING */
.punbb .main td {
  border-style: solid none none solid;
  border-width: 1px 0 0 1px;
  padding: 8px;
  background: #e8ece0;
  text-align: center;
}

/* C2.12 - NAIRALAND TABLE HEADER */
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 8px;
  background: #e8ece0;
}

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0;
}

/* C2.15 */
.punbb div.icon {
  border-style: solid;
  border-width: 0.6em 0.6em 0.6em 0.6em;
  height: 0;
  line-height: 0.0;
  margin-top: 0.1em;
  width: 0;
}

/* C2.16 */
.punbb table div.icon {
  font-size: 1.05em;
  position: absolute;
  margin-left: -2.2em;
}


/* C3 Topics - NAIRALAND SIMPLE DISPLAY
-------------------------------------------------------------*/
/* C3.1 */
.punbb .post .container {
  border-style: none solid solid solid;
  border-width: 1px;
  margin-top: -1px;
  padding-bottom: 1px;
}

/* C3.2 - NAIRALAND POST HEADER */
.punbb .post h3 {
  border-style: solid solid none solid;
  border-width: 1px;
}

/* C3.3 */
.punbb .post h3 span {
  padding: 8px;
  display: block;
  margin-left: 16em;
  border-left-style: solid;
  border-left-width: 1px;
}

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
}

/* C3.5 */
.punbb .post .post-author {
  float: left;
  width: 16em;
  margin-top: -1.5em;
  overflow: hidden;
}

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  padding: 0 1em 1em 1em;
  line-height: 140%;
}

/* C3.7 */
.pa-author { font-size: 1.1em; font-weight: bold; }

/* C3.8 */
.pa-author a { text-decoration: none; }

/* C3.9 */
li.pa-title { padding-bottom: 0.4em; font-weight: bold; }

/* C3.11 */
.punbb .post-body {
  margin-left: 16em;
  border-left-style: solid;
  border-left-width: 1px;
  padding: 0 0 1px 0;
}

/* C3.12 */
.punbb .post-box { padding: 1em; }

/* C3.14 */
.punbb .post-links {
  margin-left: 16em;
  border-left-style: solid;
  border-left-width: 1px;
}

/* C3.15 */
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -16em;
  border-top-style: dashed;
  border-top-width: 1px;
  background: transparent;
  text-align: right;
}

/* C3.16 */
.punbb .post-links li { display: inline; padding-left: 1em; }

/* C3.17 */
.pl-email, .pl-website { float: left; }

/* C3.18 */
.punbb .clearer { clear: both; height: 0; font-size: 0; }


/*************************************************************
D - HEADER & NAVIGATION (NAIRALAND STYLE)
**************************************************************/

/* D1 Logo and description - NAIRALAND HEADER
-------------------------------------------------------------*/
/* D1.1 */
#pun-title {
  margin: 8px auto;
  border-style: solid;
  border-width: 1px;
  border-radius: 16px;
  max-width: 1024px;
  width: calc(100% - 16px);
  padding: 8px;
  position: relative;
}

/* D1.2 */
#pun-title h1 {
  display: block;
  height: auto;
  padding: 8px;
}

/* D1.3 */
#pun-title .container {
  border-style: none;
  border-radius: 16px;
}

/* D1.4 */
#pun-title h1 span {
  font-size: 1.5em;
  font-weight: bold;
}

/* D2 - D5: Keep pagelinks, navlinks structure intact */
#pun-navlinks .container { padding: 8px 1em; }
#pun-ulinks .container { padding: 8px 1em; }
#pun-status .container { padding: 8px 1em; }

/* Hide hidden headings */
#pun-navlinks h2, #pun-ulinks h2, #pun-status h2 {
  position: absolute;
  left: -9999px;
}