body{
  width: 100%;
  min-height: 100%;
  font-family: Courier New, monospace;
  margin: 10px 0px;
}

h1, h2, h3 {
    margin: 0px;
}

.section {
  margin-bottom: 10px;
  padding: 10px 80px;
}

.sectionview {
  margin-bottom: 10px;
  padding: 10px 0px;
  display: grid;
  grid-template-columns: 80px auto 80px;
}

.centerh {
  margin-left: auto;
  margin-right: auto;
}

.centerv {
    margin-top: auto;
    margin-bottom: auto;
}

.hbutton {
  float: left;
  width: auto;
  margin-right: 10px;
}

.nsfwblur {
    filter:blur(50px);
}

.nsfwblurthumb {
    filter:blur(10px);
}

#nsfwbutton {
    width:20px;
    height:20px;
    position:absolute;
    background-color: #ffffff;
    margin-top: 5px;
    margin-left: 5px;
    z-index: 9999;
}

.thumbnailcontainer {
    float: left;
    width: 150px;
    height: 150px;
    margin-right: 10px;
    margin-bottom: 10px;
    position: relative;
    overflow:hidden;
}

.thumbnail, .fitimage {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width:auto;
    height:auto;
}

.thumbnailoverlay {
    width:100%;
    height:100%;
    position:absolute;
    opacity: 0;
    transition: opacity 0.5s;
}
.thumbnailoverlay:hover {
    opacity:0.8;
}

.textmargin {
    margin: 20px 80px;
}

.floatleft {
    float: left;
}

.floatright {
    float: right;
}

.icon {
  max-height: 32px;
  height:100%;
  width: auto;
}

.tablecell {
  padding-left:6px;
  padding-right:6px;
}

#navleftwrapper, #navrightwrapper {
    margin-top: auto;
    margin-bottom: auto;
}

.navtableft, .navtabright {
    width: 50px;
}

.navtableft {
    float:left;
}

.navtabright {
    float:right;
}

#wrapper {
  max-width: 1000px;
}

#footer {

}

#viewtitle {
  text-align: center;
}

#viewimage {
    display: block;
    max-width: 100%;
    max-height: 65vh;
}

#menubar {
    height:30px;
    font-size: 1.5em;
    font-weight: bold;
}

#gallerygrid, #recentgrid, #menubar, #viewnavbar, #header, .fitfloats {
    overflow: auto;
}

#navnext {
    float: left;
}

#navprev {
    float: right;
}
