h1, h2 {
	display: inline;
}

.post {
	background-color: #282828; //#15263a; //#1a2f3f;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

img.sticker {
	display: block;
	max-width: 60%;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}

#toolbar, .toolbar, #page_selector {
	background-color: #282828; //#15263a;
	padding: 5px;
	border-bottom-right-radius: 2px;
	border-bottom-left-radius: 2px;
	text-align: right;
	padding: 10px;
	margin-bottom: 15px;
}

#toolbar {
	margin-top: 10px;
	margin-bottom: 0;
	border-radius: 2px;
}

.toolbar .like_info {
	display: block; 
	margin-bottom: 5px;
	margin-right: 5px;
}

.toolbar .like_info a {
	text-decoration: none;
	cursor: pointer;
}

.toolbar .like_info a:hover {
	text-decoration: underline;
}

#page_selector {
	margin-top: 10px;
}

#page_selector #counter {
	padding: 2px 4px 2px 4px;
	border: 1px solid white;
	margin-left: 5px;
}

.post_date {
	text-align: right;
	padding: 10px;
	background-color: #494949; //#1c2f45; //#1f3045;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.post_date a {
	color: white;
}

.user_info {
	width: 100%;
	background-color: #282828; //#15263a; //#1d2835;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.user_info .photo img {
	width: 50px;
	height: 50px;
	margin: 10px;
	float: left;
	border-radius: 2px;
	border: 1px solid rgba(0, 0, 0, 0.33);
}

.nickname {
	padding-top: 10px;
}

.nickname a {
	font-weight:  bold;
	text-decoration: none;
	color: white;
}

.user_class {
	padding-top: 5px;
}

.message {
	background-color: #282828;
	padding: 0 10px 10px 10px;
	word-wrap: break-word;
}

.tagged_user {
	background-color: rgba(255, 255, 255, 0.2);
	padding: 0px 3px 0px 3px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	margin: 0 1px 0 1px;
}

.tagged_user a {
	color: white;
}

.quote {
	border: 1px solid rgba(0, 0, 0, 0.33);
	background-color: #333333;
	box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
	margin-bottom: 11px;
	border-radius: 5px;
	font-style: italic;
}

.quote_title {
	font-size: 0.9em;
	background-color: #262626;
	padding: 0 5px 9px 8px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.quote_title a {
	font-weight: bold;
	text-decoration: none;
	color: white;
}

.quote_title img {
	width: 20px;
}

.quote_title :where(a) img {
	position: relative;
	top: 4px;
	margin-right: 7px;
}

.quote_message {
	padding: 10px;
	word-wrap: break-word;
	color: #ddd;
}

.images {
	background-color: #282828; //#1d2835;
	border-bottom-right-radius: 2px;
	border-bottom-left-radius: 2px;
	cursor: pointer;
}

.images img {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

.image_big {
	display: block;
	margin: 0 auto;
}

.video_container {
    background-color: #282828; //#1d2835;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin-bottom: 10px;
}
 
.video iframe,
.video object,
.video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#admin_box {
	padding: 10px;
	padding-bottom: 0;
	background-color: #282828;
	text-align: right;
}

#admin_box button, #admin_box input[type=button] {
	margin-bottom: 10px;
}

#admin_toolbar {
	display: none;
}

#thread_info {
	padding: 10px;
	margin-bottom: 10px;
	background-color: #282828;
	border: 1px solid red;
}

@media (orientation: landscape) {
	.slider_image {
		width: auto; height: auto; max-height: 50vh;
	}
}

@media (orientation: portrait) {
	.slider_image {
		width: auto; height: auto; max-height: 50vh;
	}
}

#content .swiper-container {
    z-index: 500;
    background-color: #000;
}

#content .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    color: black;
    background: #000;
    margin: auto;
}

#content .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #000;
    opacity: 1;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#content .swiper-pagination-bullet-active {
    color: #000;
    background: #ffffff;
}

.live_stream_button {
	padding: 0 10px 10px 0;
	margin-bottom: 10px;
}

#stickers {
	overflow-x: hidden;
	overflow-y: scroll;
	height: 150px;
	background-color: #494949;
	margin-bottom: 10px;
	border-radius: 2px;
	display: none;
	justify-content: space-around;
	flex-wrap: wrap;
	padding: 0 0 20px 0;
}

#stickers .sticker_box {
	display: inline-block;
	margin: 0;
	width: 45%;
	cursor: pointer;
	padding: 0;
	margin: 20px 0 0 0;
}

#stickers .sticker_box .sticker {
	margin: 0;
	width: 100%;
	max-width: 100%;
}