:root
{
  height: 100%;
  font-family: 'StormTypeRegula', 'Garamond', 'EBGaramond', 'UrzaGaramond', 'Baskerville Old Face', 'Baskerville', 'Hoefler Text', 'Bookman Old Style', 'Georgia', serif;
}

body
{
  min-height: 100%;
  background-position: center top;
  background-repeat: no-repeat;
}

a
{
  text-decoration: underline;
  color: inherit;
}

h2>a
{
  text-decoration: none;
}

input[type=submit]
{
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}

button
{
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}

video
{
  display: block;
  max-width: 480px;
  max-height: 270px;
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
}

body>header, body>div>header
{
  width: auto;
  height: 128px;
  margin-left: 78px;
  margin-top: 0px;
  margin-right: 128px;
  margin-bottom: 0px;
  background-position: right top;
  background-repeat: no-repeat;
}

body>header>h1, body>div>header>h1
{
  display: none;
}

body>main, body>div>main
{
  position: absolute;
  left: 256px;
  top: 128px;
  right: 32px;
}

body>div>main.wide
{
  right: calc(-1 * (50vw - 384px) + 16px);
}

body>main>h2, body>div>main>h2
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 32px;
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
}

body>nav, body>div>nav
{
  float: left;
  clear: left;
  width: 256px;
  text-align: center;
  font-family: 'Open Sans', 'Droid Sans', 'OpenSans', sans-serif;
}

body>section, body>div>section
{
  float: left;
  clear: left;
  width: 256px;
  text-align: center;
  font-family: 'Open Sans', 'Droid Sans', 'OpenSans', sans-serif;
}

body>section input, body>div>section input
{
  display: block;
  width: 222px;
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 4px;
  padding: 2px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  text-align: center;
}

body>section input[type=submit], body>div>section input[type=submit]
{
  width: auto;
  margin-top: 8px;
  padding-left: 16px;
  padding-top: 4px;
  padding-right: 16px;
  padding-bottom: 4px;
}

body>section select, body>div>section select
{
  display: block;
  width: 222px;
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 4px;
  padding: 2px;
}

hr:last-child
{
  visibility: hidden;
}

#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;
}

#logo
{
  width: 256px;
  height: 128px;
}

#urzacz img
{
  width: 128px;
  height: 115px;
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 8px;
}

#drops
{
  width: 256px;
  height: 256px;
}

#starsun
{
  display: block;
  position: absolute;
  width: 17px;
  height: 16px;
  top: 2px;
  right: 0px;
  padding-left: 8px;
  padding-top: 0px;
  padding-right: 8px;
  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: 2px;
  right: 69px;
  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: 2px;
  right: 33px;
  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;
}

#layoutForm
{
  display: block;
  position: absolute;
  top: 16px;
  right: 2px;
}

#burger
{
  display: none;
  position: absolute;
  left: 2px;
  top: 2px;
  padding-left: 8px;
  padding-top: 0px;
  padding-right: 8px;
  padding-bottom: 0px;
}

#mailCodeForm
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 4px;
  text-align: center;
}

#adminStats
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 16px;
}

.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;
}

.tchck
{
  display: none !important;
}

.hidden
{
  display: none !important;
}

.fancy
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 16px;
  text-align: justify;
}

.fancyContainer
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 32px;
  text-align: justify;
}

.flat
{
  display: inline;
}

.small
{
  font-weight: lighter;
  font-size: 69%;
  color: #888888;
}

.caution
{
  padding: 4px;
  text-align: center;
  font-weight: bold;
  color: #ff0000;
}

.timePassed td
{
  background-color: #ff0000;
}

.prev
{
  display: inline-block;
  width: 50%;
  padding-left: 0px;
  padding-top: 16px;
  padding-right: 0px;
  padding-bottom: 32px;
  font-weight: bold;
}

.prev a
{
  text-decoration: none;
}

.next
{
  display: inline-block;
  width: 50%;
  padding-left: 0px;
  padding-top: 16px;
  padding-right: 0px;
  padding-bottom: 32px;
  text-align: right;
  font-weight: bold;
}

.next a
{
  text-decoration: none;
}

.menuItem
{
  word-wrap: break-word;
}

.menuItem a
{
  font-weight: bold;
  text-decoration: none;
}

.menuItem a.highlighted
{
  animation-name: menuItemHighlight;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.menuItemGroup
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 16px;
}

.contentMenuItem
{
  text-align: center;
}

.contentMenuItem a
{
  font-weight: bold;
  text-decoration: none;
}

.contentMenuLink
{
  text-align: center;
}

.mainBoard
{
  padding-left: 0px;
  padding-top: 64px;
  padding-right: 0px;
  padding-bottom: 64px;
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
}

.framedBoard
{
  margin-left: 0px;
  margin-top: 16px;
  margin-right: 0px;
  margin-bottom: 32px;
  padding: 16px;
  text-align: center;
  font-weight: bold;
}

.framedBoard>div
{
  display: inline-block;
  text-align: left;
}

.drip
{
  clear: both;
  padding-left: 0px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 16px;
}

.drip h2
{
  display: block;
  clear: both;
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0.69em;
  text-align: center;
  font-size: 1.5em;
}

.dripBorder
{
  clear: both;
  width: 94%;
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 16px;
}

.dripAuthor
{
  float: left;
}

.dripTime
{
  float: right;
}

.dripBody
{
  clear: both;
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 1em;
  text-align: justify;
}

.dripComments
{
  width: 256px;
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  text-align: center;
}

.dripComments a
{
  font-weight: bold;
  text-decoration: none;
}

.dripEdit
{
  float: left;
}

.dripEdit a
{
  font-weight: bold;
  text-decoration: none;
}

.dripHits
{
  float: right;
}

.dripNotes
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 32px;
}

.ytvid
{
  display: block;
  width: 480px;
  height: 270px;
  margin-left: auto;
  margin-top: 16px;
  margin-right: auto;
  margin-bottom: 16px;
  border: 0px;
}

.comment
{
  padding: 8px;
}

.commentAncestor
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 4px;
  padding: 8px;
}

.commentHeader
{
  padding: 2px;
}

.commentHeaderStranger
{
  padding: 2px;
}

.commentHeaderTrash
{
  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;
}

.commentBodyTrash
{
  clear: both;
  margin-left: 0px;
  margin-top: 8px;
  margin-right: 0px;
  margin-bottom: 0px;
  font-size: 90%;
}

.commentPreview
{
  margin-left: 8px;
  margin-top: 8px;
  margin-right: 16px;
  margin-bottom: 8px;
  text-align: left;
  font-size: 69%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.commentPreviewBorder
{
  width: 50%;
  margin-left: auto;
  margin-top: 8px;
  margin-right: auto;
  margin-bottom: 8px;
}

.dripsTable
{
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
}

.dripsTable td
{
  padding-left: 8px;
  padding-top: 2px;
  padding-right: 8px;
  padding-bottom: 2px;
  vertical-align: middle;
}

.dripsTable td:first-child
{
  text-align: center;
}

.dripsTable tr:first-child>td
{
  padding-left: 16px;
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 16px;
}

.dripsTable tr:last-child>td
{
  padding-left: 32px;
  padding-top: 16px;
  padding-right: 32px;
  padding-bottom: 16px;
  font-size: 110%;
}

.dripsTable tr:last-child>td>strong
{
  font-size: 128%;
}

.authorDripsTable
{
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 64px;
}

.authorDripsTable th
{
  padding-left: 16px;
  padding-top: 2px;
  padding-right: 16px;
  padding-bottom: 2px;
  vertical-align: middle;
}

.authorDripsTable td
{
  padding-left: 16px;
  padding-top: 2px;
  padding-right: 16px;
  padding-bottom: 2px;
  vertical-align: middle;
}

.authorDripsTable .highlighted
{
  font-weight: bold;
  font-size: 128%;
}

.authorDripsTable a.highlighted
{
  animation-name: menuItemHighlight;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.plannerActions
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 4px;
  font-weight: bold;
}

.dripCalendar
{
  width: 100%;
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 8px;
}

.dripCalendar td
{
  text-align: center;
  font-size: 90%;
  line-height: 100%;
  cursor: pointer;
}

.dripCalendarPast
{
  cursor: auto !important;
}

.futureDrips
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 8px;
  font-size: 90%;
}

.futureDrip
{
  cursor: pointer;
}

.unscheduledDrips
{
  width: 100%;
  margin-left: 0px;
  margin-top: 4px;
  margin-right: 0px;
  margin-bottom: 8px;
}

.unscheduledDrips td
{
  font-size: 90%;
  line-height: 100%;
  cursor: pointer;
}

.unscheduledDripsEmpty
{
  cursor: auto !important;
}

.unscheduledDripsPicked
{
  cursor: auto !important;
}

.userTable
{
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 32px;
}

.userTable td
{
  padding-left: 8px;
  padding-top: 2px;
  padding-right: 8px;
  padding-bottom: 2px;
  vertical-align: middle;
}

.userTable td.variableValue
{
  vertical-align: top;
}

.userTable th
{
  padding-left: 8px;
  padding-top: 8px;
  padding-right: 8px;
  padding-bottom: 4px;
  vertical-align: middle;
}

.userTable th:first-child
{
  text-align: right;
}

.userTable th:last-child
{
  text-align: left;
}

.userTable td:first-child
{
  text-align: right;
}

.userTable td:last-child
{
  text-align: left;
}

.userTable td:only-child:not(.regular)
{
  padding-left: 32px;
  padding-top: 16px;
  padding-right: 32px;
  padding-bottom: 16px;
  text-align: center !important;
  font-size: 110%;
}

.userTable td:only-child>strong
{
  font-size: 128%;
}

.formRow
{
  clear: both;
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 8px;
}

.formRow select
{
  width: 100%;
}

.formRow input
{
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.formRow input[type=checkbox]
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 4px;
  margin-bottom: 0px;
}

.formRow input:not([type=checkbox])
{
  width: 100%;
}

.formRow button
{
  width: 100%;
  padding-left: 0px;
  padding-top: 8px;
  padding-right: 0px;
  padding-bottom: 8px;
}

.formRow input[type=submit]
{
  width: 100%;
  padding-left: 0px;
  padding-top: 8px;
  padding-right: 0px;
  padding-bottom: 8px;
}

.formLabel
{
  float: left;
  width: 222px;
  text-align: right;
  font-weight: bold;
}

.formLabelWide
{
  font-weight: bold;
}

.formCheckboxLabel
{
  font-weight: bold;
}

.formContent
{
  width: auto;
  margin-left: 222px;
  margin-top: 0px;
  margin-right: 222px;
  margin-bottom: 0px;
  padding-left: 4px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
}

.formContent>p
{
  font-size: 90%;
}

.formContentWide textarea
{
  width: 100%;
}

#dripReloader
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 32px;
  text-align: center;
}

#dripReloader input[type=submit]
{
  padding-left: 16px;
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 8px;
}

#commentForm
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 16px;
}

#commentForm span
{
  white-space: nowrap;
}

#commentForm span:last-child
{
  margin-left: 8px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}

#commentForm input
{
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#commentForm textarea
{
  width: 100%;
  margin-left: 0px;
  margin-top: 4px;
  margin-right: 0px;
  margin-bottom: 4px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#commentForm button
{
  display: block;
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  padding-left: 32px;
  padding-top: 4px;
  padding-right: 32px;
  padding-bottom: 4px;
}

.commentFormHeader
{
  float: right;
}

#hiddenCommentsForm
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 16px;
  padding: 16px;
  text-align: center;
}

#hiddenCommentsFormSuppressed
{
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 16px;
  padding: 16px;
  text-align: center;
  font-size: 90%;
}

#addendum
{
  width: 64px;
  margin-left: 0px;
  margin-top: -2px;
  margin-right: 4px;
  margin-bottom: 0px;
}

#sewers
{
  position: relative;
}

#narrowSewers
{
  position: relative;
  width: 768px;
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
}

#narrowSewers article
{
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

#narrowSewers .formContent
{
  margin-left: 222px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}

#narrowSewers .formContent button
{
  margin-left: -110px;
}

#narrowSewers .formContent input[type=submit]
{
  margin-left: -110px;
}

#narrowSewers .framedBoard
{
  padding: 8px;
}

#banner
{
  display: block;
  margin: 0px;
  padding-left: 16px;
  padding-top: 32px;
  padding-right: 16px;
  padding-bottom: 32px;
  text-align: center;
  font-weight: bold;
  font-size: 256%;
}

#bannerLink 
{
  display: block;
  text-decoration: none;
}

#stripe
{
  display: block;
  margin: 0px;
  padding: 8px;
  text-align: center;
  font-weight: bold;
  font-size: 128%;
}

#stripeLink
{
  display: block;
  text-decoration: none;
}

@media only screen and (max-width: 999px)
{
  body
  {
    width: auto;
    min-width: 256px;
    max-width: 969px;
    padding: 16px;
    line-height: 1.5;
    font-size: 110%;
  }
  
  article
  {
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }
  
  video
  {
    max-width: 82%;
  }
  
  body>header, body>div>header, body>#narrowSewers>header
  {
    width: 100%;
    margin: 0px;
  }

  body>main, body>div>main, body>#narrowSewers>main
  {
    position: static;
    width: 100%;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 32px;
  }
  
  body>main>h2, body>div>main>h2, body>#narrowSewers>main>h2
  {
    margin: 4px;
  }
  
  body>nav, body>div>nav, body>#narrowSewers>nav
  {
    float: none;
    clear: none;
    width: 100%;
  }
  
  body>section, body>div>section, body>#narrowSewers>section
  {
    float: none;
    clear: none;
    width: 100%;
  }
  
  #logo
  {
    display: block;
    margin-left: auto;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
  }
  
  #urzacz img
  {
    width: 128px;
    height: 115px;
    left: 0px;
    top: 0px;
  }

  #themes
  {
    position: absolute;
    right: 2px;
    top: 2px;
  }

  #sun
  {
    display: inline-block;
    position: static;
  }

  #star
  {
    display: inline-block;
    position: static;
  }

  #starsun
  {
	  position: static;
	  display: inline-block;
  }
  
  #layoutForm
  {
    display: none;
  }
  
  #burger
  {
    display: block;
  }
  
  #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;
  }
  
  .mainBoard
  {
    padding: 4px;
  }
  
  .button
  {
    display: none;
  }

  .formLabel
  {
    float: none;
    width: 100%;
    text-align: left;
  }
  
  .ytvid
  {
    width: 256px;
    height: 144px;
  }

  .formContent
  {
    width: 100%;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    padding-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
  }
  
  #commentForm span:last-child
  {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
  }
  
  .commentFormHeader
  {
    float: none;
  }
  
  #narrowSewers
  {
    width: auto;
  }
  
  #narrowSewers .formContent
  {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
  }

  #narrowSewers .formContent button
  {
    margin-left: 0px;
  }

  #narrowSewers .formContent input[type=submit]
  {
    margin-left: 0px;
  }
  
  #banner
  {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 8px;
    font-size: 175%;
  }
  
  #stripe
  {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 8px;
    font-size: 110%;
  }
}