@import url(http://fonts.googleapis.com/css?family=Roboto:400,700,400italic, 700italic);
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.header{display:none;}
input[name="name"]{width:25%;max-width:150px;min-width:80px;}
#newthread input[type="submit"], .shell-thread input[type="submit"]{
    background:rgba(0,0,0,0.2);
        color:white;
    padding:5px;
    margin:4px 4px 0px 0px;
    #float:right;
}
#newthread input[type="submit"]:hover,  .shell-thread input[type="submit"]:hover{
    background:rgba(0,0,0,0.4);
    cursor:pointer;

}
.boardbar{background:#f1f1f1;padding:.5em;}
select {
   background: #f5f5f5;
   width: 200px;
   padding: 5px;
   font-size: 12px;
   border: none;
   border-radius: 0;
   height: 27px;
   }
#threadpage > div > span{
float:right;
}
#threadpage > div > span > a:first-of-type{
    top:2.5em;
    right:30px;
    padding-left:10px;
position:fixed;
    margin:0px 3px 3px;
    padding:10px;
    background: #FF4081;
    text-decoration:none;
    color:white;
    text-transform:uppercase;
box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
    border-radius: 4%;  
    z-index:5;
   float:right;
}
#threadpage > div > span > a:first-of-type:hover{
    background:rgba(0,0,0,0.3)
}

.header p{
    font-weight:bold;
}
label{
    text-transform:uppercase;
    font-size:11px;
    margin:0px 6px 0px -4px;
    padding-bottom:5px;
    vertical-align: bottom;
}
.header {
    padding-top:30px !important;
    padding-bottom:100px !important;
    margin:-0px -10px -110px;
    background:inherit;
}
label input {
  display: none;/* <-- hide the default checkbox */
}
label span {/* <-- style the artificial checkbox */
  height: 1.1em;
  width: 1.1em;
  margin:.1em;
  border: 2px solid rgba(0,0,0,0.2);
  display: inline-block;
  vertical-align: bottom;
  #background:white;

    margin-left:10px;
}
label span:hover, label:hover span{
    border: 2px solid rgba(0,0,0,0.1)
}
[type=checkbox]:checked + span {/* <-- style its checked state */
    background:#00BCD4;;
}
#options{
    background:#5E35B1;
    padding:10px 20px;
    #position:absolute;
    top:45px;
    left:0px;
    margin:0px -10px;
}

input[type="text"]{margin-left:4px;}
textarea, input[type="text"]{
    border: solid 1px #eee;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-size:13px;
    padding:4px 8px;
}
textarea:hover, textarea:active, input[type="text"]:hover, input[type="text"]:active{
    border:solid 1px #ccc;
}
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px
    color:#616161;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p,
blockquote,
figure,
ol,
ul {
    margin: 0;
    padding: 0;
}
main,
li {
    display: block;
}
strong {
    font-weight: bold;
}
a,
button {
    color: inherit;
    transition: .15s;
}
a {
    text-decoration: none;
}
button {
    overflow: visible font: inherit;
    -webkit-font-smoothing: inherit;
    letter-spacing: inherit;
    cursor: pointer;
    padding: 3px 6px;
}
::-moz-focus-inner {
    padding: 0;
    border: 0;
}
:focus {
    outline: 0;
}
img {
    max-width: 100%;
    height: auto;
    border: 0;
}

input[type="submit"], .button, #frontpage .links a{
    background: 0 0;
    border: none;
    border-radius: 2px;
    display: block;
    position: relative;
    height: 36px;
    padding: 0 8px;
    display: inline-block;
    font-weight: 500;
    text-transform: uppercase;
    -webkit-transition: box-shadow .2s cubic-bezier(.4, 0, 1, 1), background-color .2s cubic-bezier(.4, 0, .2, 1), color .2s cubic-bezier(.4, 0, .2, 1);
    transition: box-shadow .2s cubic-bezier(.4, 0, 1, 1), background-color .2s cubic-bezier(.4, 0, .2, 1), color .2s cubic-bezier(.4, 0, .2, 1);
    outline: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 36px;
    vertical-align: middle
}
input[type="submit"], .button::-moz-focus-inner, #frontpage .links a::-moz-focus-inner  {
    border: 0
}
input[type="submit"]:hover, .button:hover, #frontpage .links a:hover{
    background-color: rgba(158, 158, 158, .2)
}
input[type="submit"]:focus:not(:active), .button:focus:not(:active), .button.is-checked, #frontpage .links a:focus:not(:active), #options .active {
    background-color: rgba(0, 0, 0, .12)
}
input[type="submit"]:active, .button:active, #frontpage .links a:active{
    background-color: rgba(158, 158, 158, .4);
}
#options .button{
    color:white;
    font-size:12px;
    height:initial;
}
.shell > div:last-child{
    min-height:90px;
}
#frontpage .links a, input[type="submit"]{
    font-size:12px;
    line-height: 14px;
    padding:4px;
    height:initial;
    color: #00BCD4;

}

.shell-thread .links, .shell-thread .form{
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding:8px 20px 0px;
    margin:8px -21px -4px;
}
.shell-thread .form{
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.06);
    padding:16px;
    margin-bottom:-8px;
}
.shell-thread .links{
    
}
.footer{
 background-color: rgb(63, 81, 181);
    padding-top:30px;
    overflow:none;
}

#threadlist{
    height:240px;
}
#threadlist .links a{
color:white;}
body#frontpage,
body#subback,
body#image {
    background: #f5f5f5;
    #background-image: url(data:image/gif;base64,R0lGODdhPAA8AJkAANCznMWtmbOektzApiwAAAAAPAA8AAAC/5SPqcvtCJ6c1IUAsgZ48wuG4qV1njYMZxmkbjYGQpipJeDmuo7zdYoTRSwiRGuFg3lio4HpswF9SJzhobpMSXsZAVQoS6KcpoH3MsPIZsAtVWAbDoVYziuZ3nhhnavWVASVFkYVNdbixKbH0mXQQ8I0FdERVnOi4tXWcqFVZXKAqAbJNEoTdUT28vSlZvUoFRmpxIdh87LXw1Z4cAc5wzFIulIbt+FS6MELVBJsMPK7utqTAmfrbAPoqAlCVknaOkWsclej7VzlRyYJAhc+slTllDNFbZBIq+10I3WGJks77cc4bCSgAcsUp1SESd9+hRv4Q9wiT/aWwWIHMEQaXP/GyNn52EEfjIrYoGGkpVHaGEuF2kTZiFASvm8qp+2YR4xlophqHEKpcwlFOWjO0IB6cGRQMBlMm86oAFXBnzVRHcwbs2xFDkQ8lt28aSzMPHWFCHHNKkaDo44etk5LM7DerFJ/6hSTM6xSWrUkgGDieOIIl46IgNJxl7JwrnY34tzViuQiw2c1+k662wmoVhqC3yD29YOPLnhIbqBE9hOl0tBmLht6VDqy5NPPOKmQYabFRko+I7OAtEQYoTZeTAaLPQslI3d8RHPWzXiQpc3DlnsD468Wy+g1p58S9WTL7yItG5E5DgPtxOa/v7u5sgSOP62ARWr+GFimUcEsurX/wraQcslVFxgVIdhSgg243GZfW7EBAo+BCwqFW3L+hSYGf0pYhAsT9ghESFo7CHRXNIq5ch86cCxw0FI0ZXdOEQlQtQCNMjqjwIvi6YgaSV/9qENIQA75VXCzxdBIgJ005NBF2rBz23MxKKVMN/14otYezXyYR4bAuccOfFFK80lZfWDAESAGAhQOAlvpFU1yKUmnJikuUjXNc5J0GSZT0iUE3gf9+IejRwO+duYay+3DzkWBIPSYkZHYc1h7NLGB0IEjPahHP0Zl9A4TrW2TJVmBYNTneJfSkGmKoi1ayjmqIjlZcaGwFxxtbjB1ymd2ihVprgaWEqqHUzZajSYFKYq3J7FgZneqn1zAgtxIomQEqilTFjcYcibimlodUjrKrXqyOWqZFAUAADs=);
    max-width: 1600px;
    margin: 0 auto;
				color:white;
}
body#threadpage{
    background: #f5f5f5;
    text-align:center;
    padding:10px;
}

hr{border:1px solid #eee;height:1px;margin:15px 0px;}
#threadpage hr:first-of-type{
    height:10em;
    position:absolute;
    border:none;
    top:-10px;left:0;
    z-index:-1;
    width:100%;
    background-color: rgb(63, 81, 181);
}
textarea {
    margin-top: 4px;
    width: 100%;
    max-width: 550px;
    position: relative;
}
textarea:focus {
    z-index: 5;
}
a {
    text-decoration: underline;
    cursor: pointer;
}
a:hover {
    color: #F00;
}
label {
    display: inline-block;
}

.open {
    display: inline-block;
    margin-top: 5px;
}
/*frontpage*/

div.shell {
    padding: 0 7px 7px 7px;
	background-color: rgb(63, 81, 181);
	color:#ffffff;
    text-align: left;
    vertical-align:bottom;
	padding-bottom:10em;
margin-bottom:-10em;
}
div.shell.form, div.shell#threadlist{
padding-bottom:initial;
margin-bottom:initial;
}
div.shell a{
    color:white;
}
.backlinks{
    color:#ccc;
}
div.shell-thread, body#threadpage > div {
    padding: 9px 14px 14px 14px;
    background: white;
    font-size:14px;
    width: 99%;
    display: inline-block;
	margin: 1%;
    vertical-align: top;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

body#threadpage > div{
    margin: 3em auto !important;
    max-width:700px;
    text-align:left;
    padding:20px 30px;
}

div.shell > div,
div.shell-thread > div {
    padding: 0px 7px;
    display: block;
}
.columnwidth {
    max-width: 48%;
    margin: 0.5% 0.5%;
}
.grid {
 max-width:1200px;
    margin:1.5em auto 2em;
    text-align:center;
}
.grid > div{
    text-align:left;
}



form[name="boardselector"]{
    display:none;
}
.boardnav{
    background: #303F9F;
    margin: 0px -7px !important;
    overflow:auto;
    padding:15px 24px !important;
    margin:0px;
}
.boardnav span{
	display:inline-block;
}
.boardnav .right{
    float:right;
}

#options div {
    display: inline-block;
    font-weight: bold;
}
#options>div {
    padding: 6px
}
.header {
    text-align: center;
    line-height:2em;
}

.shell #options:target {
    display: block;
}
#threadlist a{
    text-decoration: none;
    padding: 1px 3px;
    margin: -1px -3px;
}

.links a,
#threadlist .thread,
#subback .thread {
    margin-right: 6px;
}

#threadlist a:hover{
    background-color: rgba(0,0,0,0.3)
        
}
.footer {
    display: flex;
	background:rgb(63, 81, 181);
	padding-bottom:2em;
	margin-bottom:-3em;
}
.footer > div > div {
    height: 13em;
    position: relative;
}
#newthread {
    min-width: 520px;
}
#threadlist {
    flex-grow: 1 !important;
}
#threadlist > div{
    overflow:hidden;
}
#threadlist .links {
    background:rgb(63, 81, 181);
    #border-top:double 7px rgb(63, 81, 181);
    #background-clip: padding-box;
    box-shadow:0 -7px 7px rgb(63, 81, 181);
    text-align: center;
    font-weight: bold;
    padding:.5em 0 7px; 
    position: absolute;
    bottom:0;
    left: 0;
    right: 0;
}
#frontpage .quickscroll{
    position:absolute;
    right:10px;
    top:-20px;
	padding-top:26px;
    z-index:5;
}
.subject{
    margin:10px 0px;
}
.subject h2 {
    display: inline;
    line-height: 150%;
    font-size: 24px;
}
.subject a {
    color: #616161;
    font-weight:400;
    text-decoration: none;
}
.subject a:hover {
    text-decoration: underline;
}
.subject .threadpost {
    display:none;
}
.recent {
    margin: 0.5em 0 0.5em 0;
}

.form h2 {
    margin-bottom: 8px;
    text-transform:uppercase;
    font-size:18px;
}
/*threadpage*/

#threadpage h2 {
    margin: 8px 0;
    #color: #F00;
    line-height: 120%;
    font-size: 20px;
    font-weight: normal;
}
#threadpage .post{
    #border-top:1px solid #eee;
    padding-top:2px;
    
}
.post .num {

    cursor: pointer;
    color: #00BCD4;
    float:right;
}
.post .name {
    #font-weight: bold;
    color: #FF4081;
}
.post .sage {
    color: #ccc;!important;
    text-decoration: underline;
}
.post .trip{
   font-style:italic;
}
.post .trip:after{
    content:'says:';
    color:#ddd;
    margin-left:2px;

}
.post{color:black !important}
.posthead .time{
    float:right;
    margin-right:10px;
    color:#ccc;
    display:none;
}
.posthead{font-size:0}
.posthead span{
    font-size:12px;
}
.post:hover .time{
    display:inline-block;
}
.post .sage:hover {
    color: #F00!important;
    cursor: pointer;
}
.post .trip {
    color: #FF4081;
}
.backlinks {
    margin: 0px 0px 0px 32px;
    font-size: small;
    opacity: 0.8;
}
.backlinks a {
    text-decoration: none;
}
.backlinks a:hover {
    text-decoration: underline;
}
#threadpage .form{
    margin-top:20px;
}
.comment,
.preview {
    margin: 6px 6px 12px 16px;
    padding: 4px 0px 4px 16px;
    overflow: auto;
}
.preview {
    border-left: solid 2px #666;
    background: #EFEFEF;
}
/* Subback */

#subback .shell{
    margin:0 auto;
    max-width:1000px;
}
#subback .shell:first-of-type{
    margin-top:2em;
    padding-top:2em;
    text-transform: uppercase;
}
#subback .shell:first-of-type a{
    text-decoration:none
}
#subback a {
    color: white;
}
#subback h1 {
    text-align: center;
    margin: 10px;
}
#subback table {
    padding: 10px;
}
#subback th:last-child {
    text-align: center;
}
#subback td:last-child {
    font-size: 0.75em;
    white-space: nowrap;
}
/* Markup style */

:lang(ja) {
    font-family: Mona, 'MS PGothic';
    font-size: 12pt;
    white-space: pre;
}
code {
    display: inline-block;
    white-space: pre;
    overflow: auto;
    width: 100%;
}
blockquote {
    border-left: solid 2px #666;
    padding: 0px 0px 0px 10px;
    margin-left: 0px;
    display: block;
}
blockquote:hover {
    background: #f0f0e0;
}
.spoiler {
    display: inline-block;
    background: #000;
    color: #000;
    padding: 0;
}
.spoiler:hover {
    color: #FFF;
}
/*Image Uploader*/

#imgage .shell {
    min-width: 430px;
    overflow:auto;
}
#image .grid {
    text-align: center;
}
#image #upload {
    margin: 5px;
    min-height:60px;
}
#image .admin {
    float:right;
    border:none;
}
.thumb {
    display: inline-block;
    max-width: 230px;
}
.thumb .image {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 215px;
    height: 200px;
}
.thumb .info {
    display: block;
    text-align: center;
}
/*Responsive elements */

@media screen and (max-width: 1080px) {
    #frontpage div.shell-thread {
        width: 96% !important;
        margin: .5em 1%;
		min-width:96% !important;
    }
    .footer {
        display: block;
    }
    #threadlist,
    #newthread {
        width: 95%;
        margin: .5em 2.5%;
        float: none;
		min-width:initial;
		height:14em;
    }
	    #newthread {
		height:17em;
		margin-bottom:-2em;
    }
    #newthread > div{
        height:initial;
    }
    #options #layoutoptions {
        display: none;
    }
}
@media only screen and (max-width: 480px) {
    body {
        font-size: 12px;
        line-height: 1.1em;
    }
    .boardnav {
        text-align: center;
    }
    .boardnav .right {
        float: none;
    }
    .boardnav form[name="boardselector"] {
        display: inline-block !important;
        margin: 0px 15px 4px;
        font-size: 0.8em;
    }
    .boardbar {
        display: none !important;
    }
    @font-face {
        font-family: "Mona";
        src: url(mona.woff) format("woff");
    }
    .shell-thread .num {
        padding: 3px;
        margin: -3px;
    }
    input[name="name"] {
        max-width:100px;
        width:40%;
        min-width:50px;
    }
}
.hide{
    display: none !important;
}
#hover {
    position: fixed;
    background: #efefef;
    padding: 7px;
    border: solid 1px rgba(0,0,0,0.9);
    z-index: 100;
    max-width:600px;
    left: -2000px;
	pointer-events: none;
}