@font-face {
  font-family: 'submona';
  src: url('fonts/submona.woff') format('woff');
}

body {
  background: #EEF2FF;
  color: black;
  font-family: arial, helvetica, sans-serif;
  font-size: 10pt;
  margin: 0 4px;
  padding-left: 4px;
  padding-right: 4px;
  	background-image: url('img/yotsubabvėžis.png'),url('img/fade-blue.png');
    background-repeat: no-repeat, repeat-x;
    background-attachment: fixed, scroll;
    background-position: right bottom, 50% 0%;
}

.hidden {
  display: none;
}

.no-decoration {
  text-decoration: none;
}

a, a:visited {
  text-decoration: underline;
  color: #34345C;
}

a:hover, .intro a.post_no:hover {
  color: #ff0000;
}

a.post_no {
  text-decoration: none;
  margin: 0;
  padding: 0;
}

.intro a.post_no {
  color: inherit;
}

.intro a.post_no, p.intro a.email, p.intro a.post_anchor {
  margin: 0;
}

.intro a.email span.name {
  color: #34345C;
}

.intro a.email:hover span.name {
  color: #ff0000;
}

.intro label {
  display: inline;
}

.intro time, p.intro a.ip-link, p.intro a.capcode {
  direction: ltr;
  unicode-bidi: embed;
  white-space: pre;
}

h2 {
  color: #AF0A0F;
  font-size: 11pt;
  margin: 0;
  padding: 0;
}

header {
  margin: 1em 0;
}

h4 {
  margin: 0;
}

h1 {
  font-family: tahoma, sans-serif;
  letter-spacing: -2px;
  font-size: 28px;
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 0px;
}

header div.subtitle, h1 {
  color: #AF0A0F;
  text-align: center;
}

header div.subtitle {
  font-size: 8pt;
}

form {
  margin-bottom: 4em;
}

form table {
  margin: auto;
}

form table input {
  height: auto;
/*   border: 1px outset;
  padding-bottom: 1px; */
}

input[type="text"], input[type="password"], textarea {
  border: 1px solid #a9a9a9;
  text-indent: 0;
  text-shadow: none;
  text-transform: none;
  word-spacing: normal;
  max-width: 100%;
}

input#spoiler {
	margin: 0 0 3px 0;
	vertical-align: sub;
}

#quick-reply input[type="text"], input[type="password"], #quick-reply textarea {
  max-width: 100%;
}

textarea {
  width: 100%;
}

form table tr td {
  text-align: left;
  margin: 0;
  padding: 0;
}

form table.mod tr td {
  padding: 2px;
}

form table tr th {
  border: 1px solid #000;
  text-align: left;
  padding: 4px;
}

form table tr th {
  background: #98E;
}

form table tr td div.center {
  text-align: center;
  float: left;
  padding-left: 3px;
}

form table tr td div input {
  display: block;
  margin: 2px auto 0 auto;
}

form table tr td div label {
  font-size: 10px;
}

form table tr td ul {
  padding: 0;
  padding-left: 15px;
}

.unimportant, .unimportant * {
  font-size: 10px;
}

.file {
  float: left;
  margin-right: 2px;
  min-width: 200px;
}

a.file {
	margin-right: 0;
}

.file:not(.multifile) .post-image {
  float: left;
}

.file:not(.multifile) {
  float: none;
}

p.fileinfo {
  display: block;
  margin: 0 0 0 20px;
}

div.post p.fileinfo {
  padding-left: 5px;
}

div.banner {
  display: none;
  background-color: #E04000;
  font-size: 12pt;
  font-weight: bold;
  text-align: center;
  margin: 1em 0;
}

div.banner, div.banner a {
  color: white;
}

div.banner a:hover {
  color: #EEF2FF;
  text-decoration: none;
}

img.banner, img.board_image {
  display: block;
  /* border: 1px solid #a9a9a9; */
  margin: 12px auto 0 auto;
}

img.board_image {
  cursor: pointer;
}

.post-image {
  display: block;
  float: left;
  margin: 5px 15px 5px 19px;
  border: none;
}

.full-image {
  max-width: 100%;
  max-height: 100vh;
}

div.post .post-image {
  padding: 5px;
  margin: 0 10px 0 0;
}

div.post img.icon {
  display: inline;
  margin: 0 5px;
  padding: 0;
}

div.post i.fa {
  margin: 0 0 0 4px;
  font-size: 14px;
}

div.post.op {
  margin-right: 20px;
  margin-bottom: 5px;
}

div.post.op hr {
  border-color: #D9BFB7;
}

.intro {
  margin: 0.5em 0;
  padding: 0;
  padding-bottom: 0.2em;
}

input.delete {
  float: right;
  margin: 1px 0 0 6px;
}

.intro span.subject {
  color: #0F0C5D;
  font-weight: bold;
}

.intro span.name {
  color: #117743;
  font-weight: bold;
}

.intro span.capcode, p.intro a.capcode, p.intro a.nametag {
  color: #F00000;
  margin-left: 0;
}

.intro span.capcode::before {
  content: " ## ";
}

.intro a {
  margin-left: 5px;
}

div.delete {
  float: right;
}

div.post.reply p {
  margin: 0.3em 0 0 0;
}

div.post.reply div.body {
  margin-left: 1.8em;
  margin-top: 0.8em;
  padding-right: 1.8em;
  padding-bottom: 0.3em;
}

div.post.reply.highlighted {
  background: #D6BAD0;
}

div.post.reply div.body a {
  color: #D00;
}

div.post {
  padding-left: 20px;
}

div.post div.body {
  word-wrap: break-word;
  white-space: pre-wrap;
}

div.post.reply {
  background: #D6DAF0;
  margin: 0.15em 4px;
  padding: 0.2em 0.3em 0.5em 0.6em;
  border-width: 1px;
  border-style: none solid solid none;
  border-color: #B7C5D9;
  display: inline-block;
  max-width: 94%!important;
}

span.trip {
  color: #228854;
}

span.quote {
  color: #789922;
}

span.quote-pepe {
  color: #148800;
}

span.quote-orange, span.orange {
  color: #DB7A18;
}

span.aa {
  font-size: 12pt;
  font-family: Mona,IPAMonaPGothic,'IPA モナー Pゴシック',Monapo,'MS Pgothic','MS Pゴシック',submona;
  line-height: 1;
  white-space: pre;
}

.multifile .image_id {
	clear: left;
	display: block;
	margin: 0 0 2px 19px;
}
.reply .multifile .image_id {
	margin: 0 0 2px 5px;
}
[title="ImgOps"], [title="SauceNAO"], [title="Yandex"] {
	opacity: 0;
	transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
	-khtml-transition: opacity 0.2s;
	-o-transition: opacity 0.2s;
	-ms-transition: opacity 0.2s;
}
.file:hover [title="ImgOps"], .file:hover [title="SauceNAO"], .file:hover [title="Yandex"] {
	opacity: 1.0;
}
.image_id {
	line-height: 0;
	cursor: pointer;
}
.imgid0, .imgid1, .imgid2, .imgid3 {
	opacity: 0.4;
  	-moz-transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
	-khtml-transition: opacity 0.2s;
	-o-transition: opacity 0.2s;
	-ms-transition: opacity 0.2s;
}
.file:hover .imgid0, .imgid1:hover, .imgid2:hover, .imgid3:hover {
	opacity: 1.0;
}

.rainbow {
	-webkit-background-clip: text;
	-moz-background-clip: text;
	background-clip: text;
	background-image: linear-gradient(to right,#ff0000,#ffff00,#00ff00,#00ffff,#0000ff,#ff00ff,#ff0000);
	animation: rainbowAnim 2s linear infinite;
	color: transparent;
	display: inline-block;
	background-size: 600px 10px;
	font-weight: bold;
}
@keyframes rainbowAnim {
	100% {background-position-x:600px;}
}

.rquote {
  color: #E0727F;
}

span.omitted {
  display: block;
  margin-top: 1em;
  font-size: 0.8em;
}

br.clear {
  clear: left;
  display: block;
}

span.controls {
  float: right;
  margin: 0;
  padding: 0;
  font-size: 80%;
}

span.controls.op {
  float: none;
  margin-left: 10px;
}

span.controls a {
  margin: 0;
}

div#wrap {
  width: 900px;
  margin: 0 auto;
}

div.ban {
  background: white;
  border: 1px solid #98E;
  max-width: 700px;
  margin: 30px auto;
}

div.ban p, div.ban h2 {
  padding: 3px 7px;
}

div.ban h2 {
  background: #98E;
  color: black;
  font-size: 12pt;
}

div.ban p {
  font-size: 12px;
  margin-bottom: 12px;
}

div.ban p.reason {
  font-weight: bold;
}

span.heading {
  color: #AF0A0F;
  font-size: 11pt;
  font-weight: bold;
}

span.detected {
  background: #FAF8F8;
  color: #3060A8;
  padding: 0 1px;
}

span.delicious {
  background: linear-gradient(to right, #ff0000, #ffa600, #fff500, #06ff00, #00c9ff, #2300ff, #ff00fa, #ff0000);
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: delicious 1s linear infinite;
}

@keyframes delicious {
  to {
    background-position: 200% center;
  }
}

span.spoiler {
  background: black;
  color: black;
  padding: 0 1px;
}

.shadow-thread {
  filter: grayscale(20%) !important;
  opacity: 0.7 !important;
  /* Real browsers */
  filter: alpha(opacity=70) !important;
  /* MSIE */
}

.shadow-post {
  filter: grayscale(80%) !important;
  opacity: 0.6 !important;
  /* Real browsers */
  filter: alpha(opacity=60) !important;
  /* MSIE */
}

div.post.reply div.body span.spoiler a {
  color: black;
}

span.spoiler:hover, div.post.reply div.body span.spoiler:hover a {
  color: white;
}

div.styles {
  float: right;
  padding-bottom: 20px;
}

div.styles a {
  margin: 0 10px;
}

div.styles a.selected {
  text-decoration: none;
}

table.test {
  width: 100%;
}

table.test td, table.test th {
  text-align: left;
  padding: 5px;
}

table.test tr.h th {
  background: #98E;
}

table.test td img {
  margin: 0;
}

fieldset label {
  display: block;
}

div.pages {
  color: #89A;
  background: #D6DAF0;
  display: inline-block;
  padding: 8px;
  margin: 8px 0 4px 0;
  border-right: 1px solid #B7C5D9;
  border-bottom: 1px solid #B7C5D9;
}

div.pages.top {
  display: block;
  padding: 5px 8px;
  margin-bottom: 5px;
  position: fixed;
  top: 0;
  right: 0;
  opacity: 0.9;
}

@media screen and (max-width: 800px) {
  div.pages.top {
    display: none!important;
  }
}

div.pages a.selected {
  color: black;
  font-weight: bolder;
}

div.pages a {
  text-decoration: none;
}

div.pages form {
  margin: 0;
  padding: 0;
  display: inline;
}

div.pages form input {
  /* margin: 0 5px; */
  display: inline;
}

hr {
  border: none;
  border-top: 1px solid #B7C5D9;
  height: 0;
  clear: left;
}

div.report {
  color: #333;
}

table.modlog {
  margin: auto;
  width: 100%;
}

table.modlog tr td {
  text-align: left;
  margin: 0;
  padding: 4px 15px 0 0;
}

table.modlog tr th {
  text-align: left;
  padding: 4px 15px 5px 5px;
  white-space: nowrap;
}

table.modlog tr th {
  background: #98E;
}

td.minimal, th.minimal {
  width: 1%;
  white-space: nowrap;
}

div.top_notice {
  text-align: center;
  margin: 5px auto;
}

span.public_ban {
  display: block;
  color: red;
  font-weight: bold;
  margin-top: 15px;
}

span.public_warning {
  display: block;
  color: #0000FF;
  font-weight: bold;
  margin-top: 10px;
}

span.public_bantz {
  display: block;
  color: #117743;
  font-weight: bold;
  margin-top: 10px;
}

span.toolong {
  display: block;
  margin-top: 15px;
}

div.blotter {
  color: red;
  font-weight: bold;
  text-align: center;
}

table.announcements {
  text-align: center;
  width: 390px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.8em;
}

table.announcements thead td {
  border-bottom: 1px solid rgb(63, 63, 63);
  border-bottom: 1px solid rgba(0, 0, 0, .4);
  -webkit-background-clip: padding-box;
  /* for Safari */
  background-clip: padding-box;
  /* for IE9+, Firefox 4+, Opera, Chrome */
}

table.announcements tbody {
  text-align: left;
}

table.announcements tbody td:first-child {
  text-align: right;
  vertical-align: top;
}

table.announcements tfoot td {
  text-align: right;
}

table.announcements-list {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 80% !important;
  border-collapse: collapse;
  border-spacing: 0;
}

table.announcements-list tr td, table.announcements-list tr th {
  border: 1px solid rgb(63, 63, 63);
  border: 1px solid rgba(0, 0, 0, .4);
  -webkit-background-clip: padding-box;
  /* for Safari */
  background-clip: padding-box;
  /* for IE9+, Firefox 4+, Opera, Chrome */
  padding: 3px;
}

table.announcements-list tr th {
  font-weight: bold;
  text-align: center;
}

table.announcements-list tbody {
  text-align: left;
  vertical-align: top;
  background: rgb(250, 250, 250);
  color: black;
}

table.announcements-list td:first-child, table.announcements-list th:first-child {
  text-align: center;
}

table.announcements-list tbody tr td:nth-child(4) :first-child {
  float: left;
}

table.announcements-list tbody tr td:nth-child(4) :last-child {
  float: right;
}

.announcementForm input[type=text] {
  box-sizing: border-box;
  width: 100%;
}

table.archive-list {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 80% !important;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.8em;
}

table.archive-list tr td, table.archive-list tr th {
  border: 1px solid rgb(63, 63, 63);
  border: 1px solid rgba(0, 0, 0, .4);
  -webkit-background-clip: padding-box;
  /* for Safari */
  background-clip: padding-box;
  /* for IE9+, Firefox 4+, Opera, Chrome */
  padding: 3px;
}

table.archive-list tr th {
  font-weight: bold;
  text-align: center;
}

table.archive-list tbody {
  text-align: left;
  vertical-align: top;
  background: rgb(250, 250, 250);
  color: black;
}

table.archive-list tbody tr td:first-child {
  text-align: right;
}

table.archive-list tbody tr td:nth-child(2) {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

table.archive-list tbody tr td:nth-child(3), table.archive-list tbody tr td:nth-child(4), table.archive-list tbody tr td:nth-child(5) {
  text-align: center;
}

.archiveForm {
  margin-bottom: inherit !important;
}

table.mod.config-editor {
  font-size: 9pt;
  width: 100%;
}

table.mod.config-editor td {
  text-align: left;
  padding: 5px;
  border-bottom: 1px solid #98e;
}

table.mod.config-editor input[type="text"] {
  width: 98%;
}

.desktop-style div.boardlist:not(.bottom) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-top: 0;
  z-index: 30;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  border-bottom: 1px solid;
  background-color: #D6DAF0;
}

.desktop-style body {
  padding-top: 20px;
}

.desktop-style .sub {
  background: inherit;
}

.desktop-style .sub .sub {
  display: inline-block;
  text-indent: -9000px;
  width: 7px;
  background: url('img/arrow.png') right center no-repeat;
}

.desktop-style .sub .sub:hover, .desktop-style .sub .sub.hover {
  display: inline;
  text-indent: 0;
  background: inherit;
}

#attention_bar {
  height: 1.5em;
  max-height: 1.5em;
  width: 100%;
  max-width: 100%;
  text-align: center;
  overflow: hidden;
}

#attention_bar_form {
  display: none;
  padding: 0;
  margin: 0;
}

#attention_bar_input {
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: center;
}

#attention_bar:hover {
  background-color: rgba(100%, 100%, 100%, 0.2);
}

.intro.thread-hidden {
  margin: 0;
  padding: 0;
}

form.ban-appeal {
  margin: 9px 20px;
}

form.ban-appeal textarea {
  display: block;
}

.MathJax_Display {
  display: inline!important;
}

pre {
  margin: 0;
}

.theme-catalog div.thread img {
  float: none!important;
  margin: auto;
  max-height: 150px;
  max-width: 200px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.55);
  margin-top: 2px;
}

.theme-catalog div.thread {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  font-weight: normal;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 2px;
  height: 300px;
  width: 205px;
  overflow: hidden;
  position: relative;
  font-size: 11px;
  max-height: 300px;
  background: rgba(182, 182, 182, 0.12);
  border: 1px solid rgba(111, 111, 111, 0.34);
}

.theme-catalog div.thread strong {
  display: block;
}

.theme-catalog div.threads {
  text-align: center;
  margin-left: -20px;
}

.theme-catalog div.thread:hover {
  background: #D6DAF0;
  border-color: #B7C5D9;
}

.theme-catalog div.grid-size-vsmall img {
  max-height: 33%;
  max-width: 95%
}

.theme-catalog div.grid-size-vsmall {
  min-width: 90px;
  max-width: 90px;
  max-height: 148px;
}

.theme-catalog div.grid-size-small img {
  max-height: 33%;
  max-width: 95%
}

.theme-catalog div.grid-size-small {
  min-width: 140px;
  max-width: 140px;
  max-height: 192px;
}

.theme-catalog div.grid-size-large img {
  max-height: 40%;
  max-width: 95%
}

.theme-catalog div.grid-size-large {
  min-width: 256px;
  max-width: 256px;
  max-height: 384px;
}

.theme-catalog img.thread-image {
  height: auto;
  max-width: 100%;
}

@media (max-width: 420px) {
  .theme-catalog ul#Grid {
    padding-left: 18px;
  }
  .theme-catalog div.thread {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }
  .theme-catalog div.threads {
    overflow: hidden;
  }
}

.compact-boardlist {
  padding: 3px;
  padding-bottom: 0;
}

.compact-boardlist .cb-item {
  display: inline-block;
  vertical-align: middle;
}

.compact-boardlist .cb-icon {
  padding-bottom: 1px;
}

.compact-boardlist .cb-fa {
  font-size: 21px;
  padding: 2px;
  padding-top: 0;
}

.compact-boardlist .cb-cat {
  padding: 5px 6px 8px 6px;
}

.cb-menuitem {
  display: table-row;
}

.cb-menuitem span {
  padding: 5px;
  display: table-cell;
  text-align: left;
  border-top: 1px solid rgba(0, 0, 0, 0.5);
}

.cb-menuitem span.cb-uri {
  text-align: right;
}

.boardlist:not(.compact-boardlist) #watch-pinned::before {
  content: " [ ";
}

.boardlist:not(.compact-boardlist) #watch-pinned::after {
  content: " ] ";
}

.boardlist:not(.compact-boardlist) #watch-pinned {
  display: inline;
}

.boardlist:not(.compact-boardlist) #watch-pinned a {
  margin-left: 3pt;
}

.boardlist:not(.compact-boardlist) #watch-pinned a:first-child {
  margin-left: 0pt;
}

.compact-boardlist #watch-pinned {
  display: inline-block;
  vertical-align: middle;
}

.new-posts {
  opacity: 0.6;
  margin-top: 1em;
}

.new-threads {
  text-align: center;
}

#options_handler, #alert_handler {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 9900;
}
#options_handler {
  text-align: right;
}

#options_background, #alert_background {
  background: black;
  opacity: 0.5;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#options_div, #alert_div {
  background-color: #d6daf0;
  border: 1px solid black;
  display: inline-block;
  position: relative;
}

#options_div {
	width: 600px;
	height: 795px;
	resize: both;
	overflow: auto;
	max-height: calc(100% - 32px);
	margin-top: 16px;
	margin-right: 16px;
}

#alert_div {
  width: 500px;
  margin-top: 300px;
}

#alert_message {
  text-align: center;
  margin: 13px;
  font-size: 110%;
}

.alert_button {
  margin-bottom: 13px;
}

#options_div textarea {
  max-width: 100%;
}

#options_close, #alert_close, #viewer_close {
  top: 0px;
  right: 0px;
  position: absolute;
  padding-right: 3px;
  font-size: 20px;
  z-index: 100;
  background: inherit;
}

#options_tablist {
  padding: 0px 5px;
  left: 0px;
  width: 90px;
  top: 0px;
  bottom: 0px;
  height: 100%;
  border-right: 1px solid black;
}

.options_tab_icon {
  padding: 5px;
  color: black;
  cursor: pointer;
  margin-bottom: 5px;
}

.options_tab_icon.active {
  color: red;
}

.options_tab_icon i {
  font-size: 28px;
}

.options_tab_icon div {
  font-size: 11px;
}

.options_tab {
  padding: 10px;
  position: absolute;
  top: 0px;
  bottom: 10px;
  left: 101px;
  right: 0px;
  text-align: left;
  font-size: 12px;
  overflow-y: auto;
}

.options_tab h2 {
  text-align: center;
  margin-bottom: 5px;
}

.mobile-style #options_div, .mobile-style #alert_div {
  display: block;
  width: 100%;
  height: 100%;
  margin-top: 0px;
}

.mentioned {
  word-wrap: break-word;
}

.poster_id {
  cursor: pointer;
  display: inline-block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.poster_id:hover {
  color: #800000!important;
}

.poster_id::before {
  content: " ID: ";
}

pre {
  /* Better code tags */
  max-width: inherit;
  word-wrap: normal;
  overflow: auto;
  display: block!important;
  font-size: 9pt;
  font-family: monospace;
}

span.pln {
  color: grey;
}

@media screen and (min-width: 768px) {
  .intro {
    clear: none;
  }
  div.post div.body {
    clear: none;
  }
}

.clearfix {
  display: block;
  clear: both;
  visibility: hidden;
  overflow: hidden;
  font-size: 0px;
  line-height: 0px;
  box-sizing: border-box;
  border: none;
  height: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  zoom: 1;
}

/* === SPECIFIC PAGES & FEATURES === */

#uniqueip {
  opacity: 25%;
  clear: left;
}

#uniqueip span {
    font-size: 11px;
}

#mygtukai {
	position: sticky;
	top: 16px;
	border: 1px solid #b7c5d9;
	padding: 3px 4px 3px 4px;
	background: #EEF2FF;
	z-index: 29;
}

#mygtukai2 {
	position: sticky;
	bottom: -1px;
}

.mygtukai2hide {
	display: none;
}

#mygtukai2, #thread-links {
	border: 1px solid #b7c5d9;
	padding: 3px 4px 3px 4px;
	background: #EEF2FF;
	z-index: 29;
}

#thread-interactions {
	position: sticky;
	bottom: 3px;
} 

#thread-links:hover #updatericon {
	 display: none;
}

#thread-links:hover #updater {
	display: initial;
}

#updater {
	font-size: smaller;
	display: none;
}

#updater .auto-scroll, #updater #auto_update_status {
	margin: 0px 3px;
	vertical-align: -1px;
}

#updater #update_secs {
	width: 18.5em;
	display: inline-block;
}

.mobile-style #mygtukai {
	top: -1px!important;
}

#parinktukai {
	border: 1px solid #B7C5D9;
	padding: 3px 5px 2px 0px;
	margin-top: 1px;
	z-index: 29;
	background: #EEF2FF;
	position: sticky;
	top: 16px;
}

.mobile-style #parinktukai {
	top: 0!important;
}

label[for=treeview]
{
  color: #34345C;
  cursor: pointer;
}

label[for=treeview]:hover
{
  color: #ff0000;
}

#parinktukai input {
  cursor: pointer;
}

/* Board List */

div.boardlist {
  margin-top: 3px;
  color: #89A;
  font-size: 9pt;
}

div.boardlist.bottom {
  margin-top: 12px;
  clear: both;
}

div.boardlist a {
  text-decoration: none;
}

/* Threads */

/* Thread Footer */

#thread-interactions {
  margin: 8px 0;
  clear: both;
}

#thread-links {
  /* float: left; */
}

#thread-quick-reply {
  display: none;
  position: absolute;
  left: 50%;
  right: 50%;
  text-align: center;
  width: 100px;
  margin-left: -50px;
}

/* #thread_stats {
  float: right;
} */

#post-moderation-fields {
  float: right;
  text-align: right;
}

/* threadwatcher */

#watchlist {
  display: none;
  max-height: 250px;
  overflow: auto;
  border: 1px solid;
  border-style: none solid solid none;
  width: 50%;
  margin: 0 auto;
  margin-bottom: 10px;
}

.watchlist-inner, .watchlist-controls {
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}

#watchlist-toggle, .watchThread, .watchlist-remove, #clearList, #clearGhosts {
  cursor: pointer;
}

#youtube-size input {
  width: 50px;
}

/* File selector */

.dropzone {
  color: #000;
  cursor: default;
  margin: auto;
  padding: 0px 4px;
  text-align: center;
  min-height: 50px;
  max-height: 140px;
  transition: 0.2s;
  background-color: rgba(200, 200, 200, 0.5);
  overflow-y: auto;
}

.dropzone-wrap {
  width: 100%;
}

.dropzone .file-hint {
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  position: relative;
  margin-bottom: 10px;
  padding: 10px 0px;
  top: 5px;
  transition: 0.2s;
  border: 2px dashed rgba(125, 125, 125, 0.4);
}

.file-hint:hover, .dropzone.dragover .file-hint {
  color: rgba(0, 0, 0, 1);
  border-color: rgba(125, 125, 125, 0.8);
}

.dropzone .file-thumbs {
  text-align: left;
  width: 100%;
}

.dropzone .tmb-container {
  padding: 3px;
  overflow-x: hidden;
  white-space: nowrap;
}

.dropzone .file-tmb {
  height: 40px;
  width: 70px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  background-color: rgba(187, 187, 187, 0.5);
  background-size: cover !important;
  background-position: center !important;
}

.dropzone .file-tmb span {
  font-weight: 600;
  position: relative;
  top: 13px;
}

.dropzone .tmb-filename {
  display: inline-block;
  vertical-align: bottom;
  bottom: 12px;
  position: relative;
  margin-left: 5px;
}

.dropzone .remove-btn {
  cursor: pointer;
  color: rgba(125, 125, 125, 0.5);
  display: inline-block;
  vertical-align: bottom;
  bottom: 10px;
  position: relative;
  margin-right: 5px;
  font-size: 20px
}

.dropzone .remove-btn:hover {
  color: rgba(125, 125, 125, 1);
}

#thread_stats {
  display: inline;
  margin-left: 10px;
  margin-right: 10px;
}

/* Fileboard */

table.fileboard th, table.fileboard td {
  padding: 2px;
  text-align: center;
}

table.fileboard .intro a {
  margin-left: 0px;
}

/* Gallery view */

#gallery_images {
  position: absolute;
  right: 0px;
  bottom: 0px;
  top: 0px;
  width: 12%;
  background-color: rgba(0, 0, 0, 0.4);
  overflow: auto;
}

#gallery_toolbar {
  position: absolute;
  right: 12%;
  left: 0px;
  bottom: 0px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: right;
}

#gallery_images img {
  width: 100%;
}

#gallery_toolbar a {
  font-size: 28px;
  padding-right: 5px;
}

#gallery_main {
  position: absolute;
  left: 0px;
  right: 12%;
  bottom: 32px;
  top: 0px;
  padding: 10px;
}

#gallery_images img {
  opacity: 0.6;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

#gallery_images img:hover, #gallery_images img.active {
  opacity: 1;
}

#gallery_images img.active {
  -webkit-box-shadow: 0px 0px 29px 2px rgba(255, 255, 255, 1);
  -moz-box-shadow: 0px 0px 29px 2px rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 29px 2px rgba(255, 255, 255, 1);
  z-index: 1;
}

#gallery_main img, #gallery_main video {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
}

.own_post {
  /* font-style: italic; */
  vertical-align: text-top;
  font-weight: normal;
  opacity: .666;
  font-size: smaller;
}

div.mix {
  display: inline-block;
}

/* Collapsed post area */

#PostAreaToggle+span {
  font-size: 22px;
  font-weight: bold;
}

#PostAreaToggle+span>a>label {
  cursor: pointer;
}

#PostAreaToggle+span+div {
  display: none;
}

#PostAreaToggle:checked+span {
  display: none;
}

#PostAreaToggle:checked+span+div {
  display: inline-block;
}

form[name="post"] {
  margin-bottom: 0em;
  text-align: center;
}

form[name="post"]>div {
  margin-bottom: 1em;
}

/* Predefined reasons */

.ReasonTableForm tr:first-child td {
  text-decoration: bold;
  background: #9988EE;
  font-weight: bold;
}

.ReasonTableForm tr td:first-child {
  text-align: right;
  padding-right: 10px;
  font-weight: bold;
}

.ReasonTableForm tr:hover td {
  cursor: pointer;
  background: #D6BAD0;
}

/* Archive hover */

table.archive-list tr:hover td {
  background-color: #D4D8EE;
}

.embed_container {
  display: block;
}

.hover-show {
	opacity: 0.25;
  	transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
	-khtml-transition: opacity 0.2s;
	-o-transition: opacity 0.2s;
	-ms-transition: opacity 0.2s;
}

.hover-show:hover {
	opacity: 1;
}

.ukkohide {
  /* opacity: 1; */
  font-weight: normal;
}

/* js/quick-reply.js */
.quick-reply-btn {
  right: 15px !important;
  bottom: 5px !important;
  background: #d6daf0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  font-weight: bold;
}

.ReasonForm{
  width: 100%;
  text-align: center;
}
.ReasonForm h3{
  width: 100%;
}
.ReasonTableForm{
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

@media screen and (max-width: 877px) {
      #citata, #citatafriday {
        display: none;
      }
}

.thread > .video-container > .yt-help {
	margin: 0 0 0 15px;
}

.thread > .sc-container > .sc-help {
	margin: 0 0 0 15px;
}

.thread > .nn-container > .nn-help {
	margin: 0 0 0 16px;
}

/* ŠŪDAS */

a[href="mailto:ŠŪDAS"], a[href="mailto:Šūdas"], a[href="mailto:šūdas"]   {
	text-decoration: none !important;
}
a[href="mailto:ŠŪDAS"]:before, a[href="mailto:Šūdas"]:before, a[href="mailto:šūdas"]:before {
	color: red;
	content: 'ŠŪDAS ';
	font-weight: bold;
	font-size: 8pt;
	vertical-align:1px
}
.intro a[href="mailto:ŠŪDAS"] span.name, .intro a[href="mailto:Šūdas"] span.name, .intro a[href="mailto:šūdas"] span.name {
	color: #117743;
}

/* SAGĖ */

a[href="mailto:SAGĖ"], a[href="mailto:Sagė"], a[href="mailto:sagė"] {
	text-decoration: none !important;
}
a[href="mailto:SAGĖ"]:before, a[href="mailto:Sagė"]:before, a[href="mailto:sagė"]:before {
	color: teal;
	content: 'SAGĖ (´∀`) ';
	font-weight: normal;
	font-size: 8pt;
	vertical-align:1px;
}
.intro a[href="mailto:SAGĖ"] span.name, .intro a[href="mailto:Sagė"] span.name, .intro a[href="mailto:sagė"] span.name {
	color: #117743;
}

/* burtai ir kauliukai */

a[href^="mailto:mesti"], .intro a[href^="mailto:mesti"] span.name {
	text-decoration: none;
	color: #117743;
}

a[href="mailto:burtai"], .intro a[href="mailto:burtai"] span.name {
	text-decoration: none;
	color: #117743;
}

/* loopcontrols hideimgid */

a[href$=".mp4"] ~ span.image_id,
a[href$=".webm"] ~ span.image_id,
a[href$=".mp3"] ~ span.image_id,
a[href$=".flac"] ~ span.image_id,
a[href$=".ogg"] ~ span.image_id,
a[href$=".opus"] ~ span.image_id,
a[href$=".pdf"] ~ span.image_id,
a[href$=".torrent"] ~ span.image_id,
a[href$=".epub"] ~ span.image_id {
  display: none;
}

img.minusas, img.pliusas {
    background: #98E;
    margin-top: 1px;
    border: 1px solid #1F1867;
}

img[src="/static/collapse.gif"] {
    cursor: pointer;
    opacity: 40%;
    transition: 0.2s;
}
/*
img[src="/static/collapse.gif"]:hover {
    opacity: 100%!important;
}
 */
div:hover > img[src="/static/collapse.gif"] {
    opacity: 100%;
}

img.hidden {
 /*
 width: 10px !important;
 height: 10px !important;
 */
 display: none;
}

input[name="embed"]::placeholder, input[name="captcha_text"]::placeholder {
font-size: 10px;
}

input[name="embed"]::-ms-placeholder, input[name="captcha_text"]::-ms-placeholder {
font-size: 10px;
}

input[name="embed"]:-ms-placeholder, input[name="captcha_text"]:-ms-placeholder {
font-size: 10px;
}

input[name="embed"] {
width: calc(100% - 5px);
}

#paintbbs-res input::-webkit-outer-spin-button,
#paintbbs-res input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#paintbbs-res input[type=number] {
  -moz-appearance: textfield;
}

.NEO #windowView #container {
  border: none!important;
  padding: 0!important;
}


#viewer_handler {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
  z-index: 9900;
  text-align: center;
}

#viewer_background {
  background: black;
  opacity: 0.5;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#viewer_div {
  background-color: #d6daf0;
  border: 1px solid black;
  display: inline-block;
  position: relative;
}

#viewer_message {
  margin: 25px;
}

#viewer_close {
	margin-right: 5px;
}

div.post.reply:not(.post-hover):before {
	content: "…";
	font-weight: bold;
	margin-top: -10px;
	/* 
    content: ">>";
	margin-top: -4px;
	 */
    position: absolute;
    margin-left: -28px;
    opacity: 25%;
}

a.formatbuttons {
    border: 1px outset;
	border-radius: 4px;
	-moz-border-radius: 4px;
    width: 14px;
	height: 14px;
    display: inline-block;
    vertical-align: top;
    text-align: center;	
    font-size: 12px;
}

.post-hover input.delete, .post-hover span.loopcontrols, .post-hover a.hide-image-link, .post-hover a[title="Žinutės meniu"], .post-hover span.oekakinfo, .post-hover span.omitted {
	display:none!important;
}

.inline span.loopcontrols {
	display:none!important;
}

a.foot0:hover ~ span.foot0, a.foot1:hover ~ span.foot1, a.foot2:hover ~ span.foot2, a.foot3:hover ~ span.foot3, a.foot4:hover ~ span.foot4 {
	display:initial!important;
}

.op .hljs {
	display:inline-block;
}

.mobile-style .post-image {
    max-width: 350px;
    max-height: 350px;
}

a.file[href$=".mp4"]::after {
    content: url(/static/mp4.gif);
    display: block;
    position: absolute;
    opacity: 70%;
    margin: 6px 0 0 20px;
}

a.file[href$=".webm"]::after {
    content: url(/static/webm.gif);
    display: block;
    position: absolute;
    opacity: 70%;
    margin: 6px 0 0 20px;
}

div.reply a.file[href$=".mp4"]::after {
    margin: 6px 0 0 6px;
}

div.reply a.file[href$=".webm"]::after {
    margin: 6px 0 0 6px;
}

a.file[href$=".mp4"i]::after {
    content: url(/static/mp4.gif);
    display: block;
    position: absolute;
    opacity: 70%;
    margin: 6px 0 0 20px;
}

a.file[href$=".webm"i]::after {
    content: url(/static/webm.gif);
    display: block;
    position: absolute;
    opacity: 70%;
    margin: 6px 0 0 20px;
}

div.reply a.file[href$=".mp4"i]::after {
    margin: 6px 0 0 6px;
}

div.reply a.file[href$=".webm"i]::after {
    margin: 6px 0 0 6px;
}

.dropzone {
    background: none;
	color: #34345C;
}
.dropzone .file-hint {
    color: #34345C80;
    border-color: #34345C66;
}
.dropzone .remove-btn {
    color: #34345C66;
}
.dropzone .remove-btn:hover {
    color: #34345C;
}
.dropzone .file-tmb {
    background-color: #34345C1A;
}
.file-hint:hover, .dropzone.dragover .file-hint {
    color: #34345C;
    border-color: #34345CCC;
}

span.formatbuttons {
	cursor: default;
}

.post-menu i.fa {
	font-size: 14px;
}

a[title="Žinutės meniu"] {
	margin: 0 0 0 4px;
}

/* Post editing style */
.edit_history {
	font-size: smaller;
	margin-top: 10px;
}

.edit_history > details {
	margin-left: 1.05em;
}

summary {
	cursor: pointer;
}

input[type="submit"], button {
	cursor: pointer;
	/* padding-top: 0; */
	/* padding-bottom: 0; */
}
input[type="submit"], button {
	font-family: "MS Sans Serif",Arial;
	font-size: 11px;
	box-sizing: border-box;
	border: 1px solid #003c74;
	background: linear-gradient(180deg, white 0%, #ecebe5 86%, #d8d0c4 100%);
	box-shadow: none;
	border-radius: 3px;
	color: black;
	padding: 3px 14px;
}
input[type="submit"]:active, button:active {
	box-shadow: none;
	background: linear-gradient(180deg, #cdcac3 0%, #e3e3db 8%, #e5e5de 94%, #f2f2f1 100%);
}
input[type="submit"]:hover, button:hover {
	box-shadow: inset -1px 1px #fff0cf, inset 1px 2px #fdd889, inset -2px 2px #fbc761, inset 2px -2px #e5a01a;
}
input[type="submit"]:focus, button:focus {
	box-shadow: inset -1px 1px #cee7ff, inset 1px 2px #98b8ea, inset -2px 2px #bcd4f6, inset 1px -1px #89ade4, inset 2px -2px #89ade4;
}
input[type="submit"]::-moz-focus-inner, button::-moz-focus-inner {
	border: 0;
}

input[type="text"], input[type="password"], textarea {
    background-color: #fff;
    color: black;
    font-family: arial;
    font-size: 10pt;
}

span:not(.history_date) time:before {
	content: "• ";
}
span:not(.history_date) time:after {
	content: " •";
}

div.ban input.delete, div.ban a[title="Žinutės meniu"] {
    display: none!important;
}
div.ban div.post.reply:before {
    content: none!important;
}

/*
active-thread div.post.op {
	counter-reset: post;
}
.active-thread div.post.reply p.intro:before  {
	counter-increment: post;
	content: counter(post) " ";
	font-size: small;
}
*/

.captcha_html img {
	cursor: pointer;
	border: 1px solid #a9a9a9;
}
input.captcha_text {
	width: 198px;
}