/* 
Burnt 1.0 for OSWD
- http://smallpark.org 
- Last Revision: August 16th 
- Design and Code by Anthony Yeung
- Comments: None. 
*/

/* 
and now onto the meat and potatoes... 
*/

/* General Configs */

body {
	font-family: Lucida Grande, Arial, Verdana, Helvetica, sans-serif;
	/*font-size: 11px; */
	font-size: 12px;
	line-height: 2em; 
	color: #666;
	background-color: #FFFFFF;
	margin-top: 0.5em; 
	margin-left: 4em;
	margin-bottom: 10em;
}

img {
margin-bottom: 2em;
}

h1 {
font-family: Lucida Grande, Arial, Verdana, Helvetica, sans-serif;
font-size:16px;
line-height: 1em;
font-weight: 900;
}

#header {
/* height: 60px; */
width: 730px;
}


#header h1 {
padding-top: 20px;
font-size: 30px;
font-weight: normal;
color:#CC6600;
}

#header img {
margin-bottom: 0px;
padding-bottom: 5px;

}

#container {
background: url(../images/dot-top.gif) top repeat-x; 
width: 730px;
margin-bottom: 5em;
padding-top: 3px;
}

h2 {
color: #CCC;
margin-bottom:2em;
}

h3 {
 color: #ccc;
}

.text {
width: 520px;
/* width: 350px; */

padding-top: 20px;
background: url(../images/dot.gif) right top repeat-y; 
padding-right: 20px;
margin-right: 20px;
}

#infinitum {
float: right; 
width: 150px;
padding-top: 20px;
background: url(../images/dot.gif) right top repeat-y; 
padding-left: 20px;
}

#infinitum H2 { 
 margin-bottom:0.2em; 
 color:#666666;
 font-family:Lucida Grande,Arial,Verdana,Helvetica,sans-serif;
 font-size:11px;
 line-height:2em;
}



/* Drupal 6 targeted LI.leaf / LI.en / LI.lv; Drupal 11 menu and language
   switcher items have no such classes, so target all sidebar list items. */
#infinitum LI,
LI.en, LI.lv  {
  list-style-type: none;
  list-style-image: none;
  padding-left: 0px;
  margin-left: -10px;
  list-style-position: outside;
}

/* The D6 breadcrumb was inline text with » separators, not a numbered list. */
#content nav[role="navigation"] OL LI {
  list-style-type: none;
  display: inline;
}

#mightylinks {
padding-top: 20px;
float: right;
width: 150px;
background: url(../images/dot.gif) right top repeat-y; 
padding-right: 20px;
}


a {
color: #CC6600;
}

a:hover {
color: #999;
}
/*
li {
margin-bottom: 2em;
}
*/
/*
form {
height: 15px;
}
*/

input {
border: 1px solid #CCC;
background-color:#FFFFFF;
font-size: 11px;
padding: 1.5px;
color: #666;
}


H2.title {
 margin-bottom: 0px;
 line-height: 1.5em;
 font-size: 14px;
/* font-size: 12px; */
}

DIV.post {
  padding-bottom: 20px;
}

#content {
float: left;
}

#content P {
 margin-bottom: 5px;
 line-height: 120%;
}

/* ------------------------------------------------------------------ */
/* Drupal 11 component styles                                          */
/* The D6 original relied on core's system.css for these basics; with  */
/* base theme = false we must provide them ourselves.                  */
/* ------------------------------------------------------------------ */

/* Item lists and pager: inline, no bullets (like D6 .item-list). */
.item-list ul,
ul.pager__items {
  margin: 0;
  padding: 0;
}
.pager__items .pager__item {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0 0.5em 0 0;
}
.pager__item.is-active {
  font-weight: bold;
}

/* Node links ("Read more", "Add new comment", ...): inline like D6. */
ul.links.inline,
ul.inline {
  margin: 0;
  padding: 0;
}
ul.links.inline li,
ul.inline li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0 1em 0 0;
}

/* Local tasks (tabs), D6 style. */
.tabs ul.primary {
  margin: 0 0 1em 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #ccc;
}
.tabs ul.primary li {
  display: inline;
  margin: 0 0.2em 0 0;
  padding: 0;
}
.tabs ul.primary li a {
  padding: 0.2em 0.8em;
  background: #f2f2f2;
  border: 1px solid #ccc;
  border-bottom: none;
}
.tabs ul.primary li a.is-active {
  background: #fff;
  font-weight: bold;
}

/* Status / warning / error messages. */
.messages {
  padding: 0.8em 1em;
  margin: 0.5em 0;
  border: 1px solid;
}
.messages--status  { border-color: #8c8; background: #f2faee; }
.messages--warning { border-color: #ec7; background: #fdf8e4; }
.messages--error   { border-color: #c66; background: #fbecec; }

/* Accessible-only text (core normally provides this). */
.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
}

/* D6 system-menus.css parity: active links are black. */
li a.active,
li a.is-active {
  color: #000;
}

/* The D6 locale block showed language names as plain black text. */
.language-switcher-language-url .language-link {
  color: #000;
}

/* Sidebar lists: D6 system-menus.css ".block ul" rule. */
#infinitum ul {
  margin: 0;
  padding: 0 0 0.25em 1em;
}

/* Breadcrumb: D6 printed inline text, no list indentation. */
#content nav[role="navigation"] ol {
  margin: 0;
  padding: 0;
}

/* Local tasks (View/Edit/Delete/Revisions/Translate).
   With base theme = false these render as a bare <ul>; style as D6 tabs. */
#block-neonix-local-tasks ul {
  margin: 0 0 1em 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #ccc;
}
#block-neonix-local-tasks li {
  display: inline;
  margin: 0 0.2em 0 0;
  padding: 0;
}
#block-neonix-local-tasks li a {
  padding: 0.2em 0.8em;
  background: #f2f2f2;
  border: 1px solid #ccc;
  border-bottom: none;
}
#block-neonix-local-tasks li a.is-active {
  background: #fff;
  font-weight: bold;
}

/* ================================================================== */
/* Responsive / mobile layout                                          */
/* The desktop design above is the faithful 2008 original (fixed       */
/* 730px, sidebar right). Below 900px the layout becomes fluid,        */
/* below 768px it switches to a modern single-column mobile layout.    */
/* ================================================================== */

/* --- Tablets and narrow windows: fluid container, smaller margins --- */
@media (max-width: 900px) {
  body {
    margin: 0.5em 1.5em 5em;
  }
  #container {
    width: auto;
    max-width: 730px;
  }
  #header {
    width: auto;
    max-width: 730px;
  }
}

/* --- Phones: single column, content first, sidebar below --- */
@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    margin: 0.75em 1em 4em;
    font-size: 15px;
    line-height: 1.7;
  }

  /* Header logo scales down instead of overflowing. */
  #header {
    width: auto;
  }
  #header img {
    max-width: 100%;
    height: auto;
  }

  /* Single column: content first, sidebar after (flexbox reorders
     because the sidebar markup comes first in the DOM). */
  #container {
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: 100%;
    background: none;
    margin-bottom: 2em;
  }
  .text#content {
    order: 1;
    float: none;
    width: auto;
    padding-right: 0;
    margin-right: 0;
    padding-top: 0.5em;
    background: none;
  }
  #infinitum {
    order: 2;
    float: none;
    width: auto;
    padding-left: 0;
    margin-top: 2em;
    padding-top: 1em;
    background: none;
    border-top: 1px dotted #ccc;
  }

  /* Images and media never overflow the viewport. */
  img {
    max-width: 100%;
    height: auto;
  }
  table {
    max-width: 100%;
  }
  #content table {
    display: block;
    overflow-x: auto;
  }

  /* Headings scale with the viewport. */
  h2.title {
    font-size: 1.25em;
    line-height: 1.4;
  }

  /* Touch-friendly sidebar: links become full-width rows. */
  #infinitum ul {
    padding: 0;
  }
  #infinitum li {
    margin-left: 0;
  }
  #infinitum li a {
    display: block;
    padding: 0.55em 0.25em;
    border-bottom: 1px solid #eee;
  }
  #infinitum li a:active {
    background: #f7f7f7;
  }
  #infinitum h2 {
    margin-bottom: 0.4em;
  }

  /* Search: full-width input, tappable button. */
  #infinitum .search-block-form input[type="search"],
  #infinitum .search-block-form input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5em;
    font-size: 16px; /* prevents iOS auto-zoom on focus */
  }
  #infinitum .search-block-form input[type="submit"] {
    margin-top: 0.5em;
    padding: 0.5em 1em;
    font-size: 15px;
  }

  /* Forms in content: usable inputs, no iOS zoom. */
  #content input[type="text"],
  #content input[type="password"],
  #content input[type="email"],
  #content textarea {
    max-width: 100%;
    font-size: 16px;
    padding: 0.4em;
  }

  /* Pager and tabs: keep inline, but bigger tap targets. */
  .pager__items .pager__item a,
  .pager__items .pager__item.is-active {
    display: inline-block;
    padding: 0.4em 0.6em;
  }
  #block-neonix-local-tasks li a {
    display: inline-block;
    padding: 0.45em 0.9em;
  }

  /* Node links ("Read more", ...) as comfortable tap rows. */
  ul.links.inline li {
    padding: 0.3em 1em 0.3em 0;
  }
}

/* --- Very small phones --- */
@media (max-width: 480px) {
  body {
    margin: 0.5em 0.75em 3em;
  }
}
