/**
 * @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;
	min-height: 100px;
}
#jjshoutboxform input {
    margin-top: 5px;
    color: #000;
    width: 100%;
    min-height: 30px;
}
#jjshoutboxform .mass_delete {
	margin-top: 20px;
}
#jjshoutboxform .mass_delete input {
	margin-top: 0;
}
#jjshoutboxform p {
    margin: 4px 0;
}
#jjshoutboxoutput {
    height: 200px;
    width: 100%;
    border-style: solid;
    background: #FFFFFF;
    overflow: auto;
    margin-top: 5px;
    word-wrap: break-word;
	margin-bottom: 10px;
}
#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; 
}
#jjshoutboxform input#math_output {
	width: 70px;
	margin-top: 0;
}
#jjshoutboxform #mathscanvas {
	float: left;
}
.jjshoutbox .jj_error { 
	color: red; 
	font-weight: bold; 
}
.jjshoutbox .jj-shout-error {
	display: none;
	margin-top: 5px;
}
.jjshoutbox .jj-shout-error .alert {
	margin-bottom: 0;
	padding-right: 14px
}
.jjshoutbox .jj_label { 
	width: 70px; 
	display: inline-block; 
}
.jjshoutbox .jj_input {	
	width: 70px; 
	display: inline-block;
}
#jjshoutboxform .dropdown-menu {
	padding: 5px !important;
}
#jjshoutboxform .dropdown-menu li,
#jjshoutboxform .uk-dropdown li {
	float: left;
	padding: 0 2px;
	min-height: 26px;
	list-style: none;
}
.jj_smiley {
    border: none;
	cursor: pointer;
	display: block;
    float: left;
    margin: 0 3px 5px 0;
}
.jj_smiley:hover {
    background: none !important;
	border: 0;
	outline: 0;
}
#jjshoutboxform[type='number'] {
	padding: 4px 0px;
}
.jjshoutbox-audio {
    display: none;
}


/**
Shoutbox history
**/
#jj-shout-history.modal-body {
	max-height: 400px;
	overflow-y: scroll;
}
#jj-shout-history p {
	margin: 5px 0 0;
}
#jj-shout-history > div {
	background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
    margin-bottom: 20px;
    min-height: 20px;
	padding: 5px 9px;
}
.center-block {
	display: block;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
#jj-shout-history > div.center-block {
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	margin: 0 0 10px 0;
}
#jj-shout-history form {
	float: right;
}
#jj-shout-history#jj-shout-history form input[type="submit"] {
	background: none;
	border: 0 none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: bold;
    height: 20px;
    margin: 0;
    padding: 0;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
}
#jj-shout-history .shout-header {
	font-weight: bold;
}

/**
Non-bootstrap styling for BBCode
**/
.jjshoutbox .btn-toolbar {
	margin-top: 10px;
}
.jjshoutbox .btn-group .btn {
	cursor: pointer;
	min-width: 30px;
    padding: 2px 7px;
}

/**
BBCode
**/
.bbcode-form {
	display: none;
	margin-top: 10px;
}
.bbcode-form p {
	font-weight: bold;
}
#bbcode-insert,
#bbcode-cancel {
	margin-top: 5px;
}
.jj-bold {
	font-weight: bold !important;
}
.jj-italic {
	font-style: italic !important;
}
.jj-underline {
	text-decoration: underline !important;
}
