:root
{
  font-family: 'StormTypeRegula', 'Garamond', 'EBGaramond', 'UrzaGaramond', 'Baskerville Old Face', 'Baskerville', 'Hoefler Text', 'Bookman Old Style', 'Georgia', serif;
  height: 100%;
}

body
{
  min-height: 100%;
}

a
{
  text-decoration: underline;
  color: inherit;
}

h1
{
  padding-left: 0px;
  padding-top: 32px;
  padding-right: 0px;
  padding-bottom: 16px;
  text-align: center;
  font-weight: bold;
  font-size: 256%;
}

h1 a
{
  text-decoration: none;
}

input
{
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

textarea
{
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

button
{
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}

header
{
  position: relative;
  width: 768px;
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
}

main
{
  width: 768px;
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
}

nav
{
  width: 768px;
  margin-left: auto;
  margin-top: 16px;
  margin-right: auto;
  margin-bottom: 16px;
  padding-left: 0px;
  padding-top: 16px;
  padding-right: 0px;
  padding-bottom: 16px;
  text-align: center;
  font-weight: bold;
  font-size: 128%;
}

nav+nav
{
  border: 4px solid #ff0000;
  font-weight: normal;
  font-size: 110%;
  color: #ff0000;
}

nav>div
{
  display: inline-block;
  text-align: left;
}

body>section
{
  padding: 32px;
}

#urzacz
{
  display: block;
  width: 128px;
  height: 115px;
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
}

#urzacz img
{
  width: 128px;
  height: 115px;
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 16px;
  margin-bottom: 0px;
}

#msg
{
  position: fixed;
  width: 512px;
  left: 50%;
  top: 128px;
  margin-left: -322px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  padding-left: 64px;
  padding-top: 50px;
  padding-right: 64px;
  padding-bottom: 50px;
  z-index: 4;
  text-align: center;
  font-weight: bold;
}

#msg>p
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 12px;
}

#msg>p.bad
{
  color: #ff0000;
}

#userLink
{
  display: block;
  position: absolute;
  top: 2px;
  right: 0px;
  text-decoration: none;
  color: inherit;
}

#starsun
{
  display: block;
  position: absolute;
  width: 17px;
  height: 16px;
  top: 24px;
  right: 0px;
  padding-left: 8px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
}

#starsun input
{
  display: block;
  margin: 0px;
  padding: 0px;
  border: 0px;
  background-color: transparent;
}

#starsun:hover input:first-child
{
  display: none !important;
}

#starsun:hover input:last-child
{
  display: block !important;
}

#star
{
  display: block;
  position: absolute;
  width: 17px;
  height: 16px;
  top: 24px;
  right: 61px;
  padding-left: 8px;
  padding-top: 0px;
  padding-right: 8px;
  padding-bottom: 0px;
}

#star input
{
  display: block;
  margin: 0px;
  padding: 0px;
  border: 0px;
  background-color: transparent;
}

#star:hover input:first-child
{
  display: none !important;
}

#star:hover input:last-child
{
  display: block !important;
}

#sun
{
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  top: 24px;
  right: 25px;
  padding-left: 8px;
  padding-top: 0px;
  padding-right: 8px;
  padding-bottom: 0px;
}

#sun input
{
  display: block;
  margin: 0px;
  padding: 0px;
  border: 0px;
  background-color: transparent;
}

#sun:hover input:first-child
{
  display: none !important;
}

#sun:hover input:last-child
{
  display: block !important;
}

#addCommentButton
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 32px;
  padding-left: 16px;
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 8px;
}

.hidden
{
  display: none !important;
}

.caution
{
  padding: 4px;
  text-align: center;
  font-weight: bold;
  color: #ff0000;
  
}

.button
{
  width: 128px;
  margin-left: auto;
  margin-top: 32px;
  margin-right: auto;
  margin-bottom: 0px;
  padding-left: 0px;
  padding-top: 8px;
  padding-right: 0px;
  padding-bottom: 8px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}

.formLine
{
  clear: both;
  padding-left: 0px;
  padding-top: 16px;
  padding-right: 0px;
  padding-bottom: 16px;
}

.formLine textarea
{
  width: 762px;
  height: 128px;
}

.formLine2
{
  clear: both;
  width: 512px;
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  padding-left: 0px;
  padding-top: 16px;
  padding-right: 0px;
  padding-bottom: 16px;
}

.formLineSubmit
{
  clear: both;
  margin: 0px;
  padding: 0px;
  text-align: center;
}

.formItem
{
  float: left;
  width: 222px;
  margin-left: 17px;
  margin-top: 0px;
  margin-right: 17px;
  margin-bottom: 0px;
}

.formItem input
{
  width: 222px;
}

.formItem select
{
  width: 222px;
}

.comment
{
  clear: both;
  padding-left: 8px;
  padding-top: 16px;
  padding-right: 8px;
  padding-bottom: 16px;
}

.commentWasted
{
  clear: both;
  padding: 8px;
  background-color: #ff0000;
}

.commentHeader
{
  padding: 2px;
}

.commentHeaderStranger
{
  padding: 2px;
}

.commentHeaderNew
{
  padding: 2px;
  font-size: 90%;
}

.commentHeaderWasted
{
  background-color: #d70000;
}

.commentHeaderItem
{
  margin-left: 2px;
  margin-top: 0px;
  margin-right: 16px;
  margin-bottom: 0px;
  white-space: nowrap;
}

.commentHeaderControls
{
  float: right;
  clear: right;
  text-align: right;
  font-weight: bold;
}

.commentHeaderControls a
{
  margin-left: 8px;
  margin-top: 0px;
  margin-right: 2px;
  margin-bottom: 0px;
  text-decoration: none;
}

.commentBody
{
  clear: both;
  margin-left: 0px;
  margin-top: 8px;
  margin-right: 0px;
  margin-bottom: 0px;
  word-wrap: break-word;
}

.commentBodyNew
{
  clear: both;
  margin-left: 0px;
  margin-top: 8px;
  margin-right: 0px;
  margin-bottom: 0px;
  font-size: 90%;
  word-wrap: break-word;
}

.commentBodyWasted
{
  clear: both;
  margin-left: 0px;
  margin-top: 8px;
  margin-right: 0px;
  margin-bottom: 0px;
  font-size: 90%;
  background-color: #ff0000;
  word-wrap: break-word;
}

#banner
{
  display: block;
  margin: 0px;
  padding-left: 16px;
  padding-top: 42px;
  padding-right: 16px;
  padding-bottom: 42px;
  z-index: 2;
  color: #000000;
  background-color: #ffd700;
  text-align: center;
  font-weight: bold;
  font-size: 256%;
}

#bannerLink 
{
  z-index: 2;
  text-decoration: none;
}


@media only screen and (max-width: 999px)
{
  body
  {
    min-width: 256px;
    padding: 16px;
    width: auto;
    line-height: 1.5;
    max-width: 969px;
  }
  
  header
  {
    width: auto;
    margin-left: 16px;
    margin-top: 0px;
    margin-right: 16px;
    margin-bottom: 0px;
  }
  
  main
  {
    width: auto;
    margin-left: 16px;
    margin-top: 0px;
    margin-right: 16px;
    margin-bottom: 0px;
  }
  
  nav
  {
    width: auto;
    margin: 16px;
  }
  
  nav>div>div
  {
    margin-left: 8px;
    margin-top: 0px;
    margin-right: 8px;
    margin-bottom: 0px;
    padding-left: 0px;
    padding-top: 8px;
    padding-right: 0px;
    padding-bottom: 8px;
    line-height: 1em;
  }
  
  #msg
   {
    display: block;
    position: static;
    width: auto;
    left: auto;
    top: auto;
    margin-left: 0px;
    margin-top: 32px;
    margin-right: 0px;
    margin-bottom: 32px;
    padding-left: 0px;
    padding-top: 32px;
    padding-right: 0px;
    padding-bottom: 32px;
  }
  
  #msg>p:last-of-type
  {
    margin: 0px;
  }
  
  #urzacz
  {
    display: block;
    position: static;
    width: 128px;
    height: 115px;
    left: 0px;
    top: 0px;
    margin-left: auto;
    margin-top: 16px;
    margin-right: auto;
    margin-bottom: 0px;
  }
  
  #urzacz img
  {
    width: 128px;
    height: 115px;
    left: 0px;
    top: 0px;
  }
  
  #userLink
  {
    top: 0px;
  }

  #themes
  {
    position: absolute;
    right: 2px;
    top: 24px;
  }

  #themes a
  {
    display: inline-block;
  }

  #sun
  {
    display: inline-block;
    position: static;
  }

  #star
  {
    display: inline-block;
    position: static;
  }

  #starsun
  {
    position: static;
    display: inline-block;
  }
  
  .formLine
  {
    padding: 0px;
  }

  .formLine textarea
  {
    width:  100%;
    height: 128px;
  }

  .formLine2
  {
    width: auto;
    margin: 0px;
    padding: 0px;
  }

  .formLineSubmit .caution br
  {
    display: none;
  }

  .formItem
  {
    float: none;
    width: auto;
    margin-left: 0px;
    margin-top: 8px;
    margin-right: 0px;
    margin-bottom: 8px;
  }

  .formItem input
  {
    width: 100%;
  }

  .formItem select
  {
    width: 100%;
  }
  
  #banner
  {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 8px;
    font-size: 193%;
  }
}
