/**
 * @package TinyPortal
 * @version 3.0.1
 * @author IchBin - http://www.tinyportal.net
 * @founder Bloc
 * @license MPL 2.0
 *
 * The contents of this file are subject to the Mozilla Public License Version 2.0
 * (the "License"); you may not use this package except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Copyright (C) - The TinyPortal Team
 *
 */

.tp_shoutavatar {
	margin: 0 5px 0 0;
	overflow: hidden;
}
.tp_shoutbody {
	background: var(--tp_shoutbody-background);
	border: solid 1px var(--tp_shoutbody-border);
	border-top: none;
	font-size: 0.9em;
	line-height: 1.3em;
	margin: 0 5px 0 0;
	overflow: auto;
	padding: 8px;
}
.tp_shoutmember, .tp_shoutavatar img {
	float: left;
	font-weight: bold;
}
.tp_shoutavatar2 {
	float: left;
	margin: 0 6px 0 0;
	padding: 1px;
	width: 2.6em;
	height: 2.6em;
	overflow: hidden;
}
.tp_shoutavatar2 img {
	max-width: 100% !important;
}
.tp_shoutavatar h4 {
	font-size: 1.1em;
	margin: 5px 0 5px 0;
}
.tp_shoutframe {
	width: 99%;
}
.tp_shoutframe img.bbc_img {
	width: 250px;
	display: flex;
}
.tp_bigshout {
	height: 100%;
}
textarea.tp_shoutbox_item {
	height: auto;
}
/*.tp_shout_errors {
	display: none;
}*/
.tp_shout_smileybox, .tp_shout_bbcbox {
	display: inline-block;
	vertical-align: top;
	min-width:150px;
	max-height: 150px;
	overflow: auto;
	text-align: left;
	padding-top: 5px;
}
.tp_expand_smileybox, .tp_expand_bbcbox {
	display: inline;
	padding-top: 0.2em;
}
.tp_expand_shoutsmiley, .tp_expand_shoutbbc {
	margin-right: 5px;
	float: left;
	padding-top: 0.2em;
}
span.tp_shoutbox_text {
	color: var(--tp_shout-textcolor);
}
span.tp_shoutbox_time {
	color: var(--tp_shout-timecolor);
}
/* Layout option 0 */
.tp_shoutbody_layout0 {
	padding-right: 5px;
}
.tp_shoutbox_editor0, .tp_shoutbox_editor1 {
	height: 80px;
	margin: .25em 0 .5em 0;
	width: 95%;
}
.tp_bubble {
	background: var(--tp_bubble-background);
	border: 1px solid var(--tp_bubble-border);
	-webkit-border-radius: 10px;
	border-radius: 10px;
	box-shadow: 2px 2px 4px 0 var(--tp_bubble-boxshadow);
	margin: 14px 5px 10px 0;
	overflow-wrap: anywhere;
	padding: 1.5em 1em;
	position: relative;
	word-wrap: break-word;
}
.tp_bubble:after {
	border-color: var(--tp_bubble-background) transparent;
	border-style: solid;
	border-width: 0 10px 8px;
	content: '';
	display: block;
	left: 16px;
	position: absolute;
	top: -8px;
	width: 0;
	z-index: 1;
}
.tp_bubble:before {
	border-color: var(--tp_bubble-border) transparent;
	border-style: solid;
	border-width: 0 10px 8px;
	content: '';
	display: block;
	left: 16px;
	position: absolute;
	top: -9px;
	width: 0;
	z-index: 0;
}
/* Layout option 2 */
.tp_shoutbody_layout1 {
	border-bottom: 2px solid var(--tp_border);
	padding: 5px 5px 5px 0;
}
/* Layout option 3 and 4 */
.tp_shout_date {
	clear: both;
}
div.tp_shoutbox_time {
	display: block;
	float: right;
	padding-left: 5px;
}
.tp_shoutbox_edit {
	display : block;
	float: right;
	padding-left: 5px;
}
.tp_shoutbox_edit img{
	height: 1.2em;
	padding-right: 2px;
}
.tp_shoutbody_layout2, .tp_shoutbody_layout3 {
	line-height: 1.3em;
	padding: 5px;
}
.tp_shoutbox_input2, .tp_shoutbox_input3 {
	width: 65%;
}
.tp_shoutbody_layout2:nth-of-type(2n + 1), .tp_shoutbody_layout3:nth-of-type(2n + 1) {
	background: var(--tp_shout-bgodd);
}
.tp_shoutbody_layout2:nth-of-type(2n), .tp_shoutbody_layout3:nth-of-type(2n) {
	background: var(--tp_shout-bgeven);
}

