/**
 * @package    JJ_Shoutbox
 * @copyright  Copyright (C) 2011 - 2015 JoomJunk. All rights reserved.
 * @license    GPL v3.0 or later http://www.gnu.org/licenses/gpl-3.0.html
 */

.jjshoutbox { 
	margin: auto; 
	width: 100%; 
}
#jjshoutboxform { 
	margin: 0 auto; 
}
.jjshoutbox > div,
.jjshoutbox textarea,
.jjshoutbox input {
    box-sizing: border-box;
}
#jjshoutboxform textarea {
    width: 100%;
    margin: 0;
}
#jjshoutboxform input {
    margin-top: 5px;
    color: #000;
    width: 100%;
    min-height: 30px;
}
#jjshoutboxform p {
    margin: 4px 0;
}
#jjshoutboxoutput {
    height: 200px;
    width: 100%;
    border-style: solid;
    background: #FFFFFF;
    overflow: auto;
    margin-top: 5px;
    word-wrap: break-word;
}
#jjshoutboxoutput input[type=submit] {
    cursor: pointer;
    text-align: center;
    font-family: inherit;
	font-weight: bold;
	font-size: 10px;
    text-decoration: none;
    background: none;
    padding: 0;
    margin: 0;
    border: 0;
    height: 15px;
	vertical-align: top;
}
#jjshoutboxoutput .shout-header {
    font-family: inherit;
    font-size: 12px;
	font-weight: bold;
    color: #000;
    text-transform: none;
    margin: 8px 0 0;
	padding: 0 0 0 5px;
    height: auto;
    line-height: 20px;
}
#jjshoutboxoutput div form {
    display: inline-block;
    margin: 0;
}
#jjshoutboxoutput div p {
    font-size: 11px;
    font-family: inherit;
    text-align: left;
    color: #000;
    margin: 5px 0 10px;
	padding: 0 0 0 5px;
}
#noguest { 
	color: #FF0000; 
	font-weight: bold; 
}
.jjshoutbox .jj_error { 
	color:red; 
	font-weight:bold; 
}
.jjshoutbox .jj-shout-error {
	display: none;
	background: #F00;
	color: #FFF;
	margin: 7px 0 5px;
	padding: 5px;
}
.jjshoutbox .jj-shout-error p {
	margin: 0;
	font-size: 12px;
}
.jjshoutbox .jj_label { 
	width: 70px; 
	display: inline-block; 
}
.jjshoutbox .jj_input {	
	width: 70px; 
	display: inline-block;
}
#jj_smiley_box {
    margin: 10px 0 10px 0;
}
#jj_smiley_box img {
    cursor: pointer;
}
#jj_smiley_button {
    margin: 5px 0 0 0;
    float:right;
}
#jj_btn {
    display: block;
	cursor: pointer;
	padding: 2px 5px !important;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg);
}
#jj_btn.rotated {
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}
.jj_smiley {
    padding: 0 2px 0 2px;
    border: none;
}
#jj_smiley_box img:hover {
    background:none !important;
	border: 0;
	outline: 0;
}
#jjshoutboxform[type='number'] {
	padding: 4px 0px;
}

/**
Non-bootstrap styling for BB Code
**/
.jjshoutbox #jj_smiley_box {
    margin: 5px 0 10px;
	white-space: normal;
}
.jjshoutbox #jj_smiley_box img {
    cursor: pointer;
	padding: 2px;
    border:none;
}
.jjshoutbox .btn-toolbar {
	margin-top: 10px;
}
.jjshoutbox .btn-group .btn {
	cursor: pointer;
	min-width: 30px;
    padding: 2px 7px;
}

/**
Bold, italics and underline for the BB Code
**/
.jj-bold {
	font-weight: bold;
}
.jj-italic {
	font-style: italic;
}
.jj-underline {
	text-decoration: underline;
}
