@charset "utf-8";

/* Spreebie Barter's CSS Document 
 * By Thabo David Nyakallo Klass
 */

 /* Remove the decoration from links */
a { text-decoration: none; }

/* Fieldset styling */
fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/* h4 and h5 styling */
h4, h5 {
	line-height: 1.5em;
	margin: 0;
}

/* The hr styling */
hr {
	background: #e9e9e9;
    border: 0;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 1px;
    margin: 0;
    min-height: 1px;
}

/* Global image styling */
img {
    border: 0;
    display: block;
    height: auto;
    max-width: 100%;
}

/* The global input styling */
input {
	border: 0;
    font-size: 100%;
    line-height: normal;
    margin: 0;
}

/* Paragraph styling */
p { margin: 0; }

 /* The widget styling */
#spreebie_barter_payments_donations {
	margin-top: 10px;
	margin-bottom: 40px;
	bottom: 0;
	font-size: 12px;
	right: 24px;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

/* Widget's header styling */
#spreebie_barter_payments_donations header {
	background: #293239;
	border-radius: 5px 5px 0 0;
	color: #fff;
	cursor: pointer;
  	text-transform: uppercase;
  	text-align: left;
  	padding: 10px 10px 10px 10px;
}

/* Widget's h4:before styling */
#spreebie_barter_payments_donations h4:before {
	background: #1a8a34;
	border-radius: 50%;
	content: "";
	display: inline-block;
	height: 8px;
	margin: 0 8px 0 0;
	width: 8px;
}

/* Widget's h4 styling */
#spreebie_barter_payments_donations h4 {
	font-size: 12px;
}

/* Widget's h5 styling */
#spreebie_barter_payments_donations h5 {
	font-size: 12px;
	padding-top: 5px;
	padding-bottom: 5px;
}

/* The styling for the form within the widget */
#spreebie_barter_payments_donations form {
	padding: 10px 0 10px 0;
}

#spreebie_barter_payments_donations input {
	padding: 8px;
}

/* The styling for the text input within the widget */
#spreebie_barter_payments_donations input[type="text"] {
	border: 1px solid #c1cdc1;
	background: #c1cdc1;
	border-radius: 3px;
	padding: 8px;
	outline: none;
}

/* The styling for the text input within the widget */
#spreebie_barter_donation_amount_field {
	border: 1px solid #c1cdc1;
	background: #c1cdc1;
	padding: 8px;
	outline: none;
}
 
/* This styles the tab */
.spreebie_barter_tab {
	display: flex;
	justify-content: space-between;
	overflow: hidden;
	border: 1px solid #ccc;
	background-color: #f1f1f1;
	height: 40px;
}

/* This styles the buttons inside the tab containter */
.spreebie_barter_tab button {
	height: inherit;
	background-color: inherit;
	color: #293239;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 0 6px 0 6px;
	transition: 0.3s;
	font-size: 14px;
	width: 33%;
}

/* This styles the image inside the buttons within the tab container */
.spreebie_barter_tab button img {
	float: left;
	display: block;
	padding: 4px;
    height: 22px;  
    width: 22px;
}

/* Change the background color of buttons on hover */
.spreebie_barter_tab button:hover {
	background-color: #ddd;
}

/* Create an active/current tablink class */
.spreebie_barter_tab button.active {
	background-color: #ccc;
}

/* Style the tab content */
.spreebie_barter_tabcontent {
	display: none;
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-top: none;
}

.spreebie_barter_clearfix { *zoom: 1; } /* For IE 6/7 */
.spreebie_barter_clearfix:before, .spreebie_barter_clearfix:after {
    content: "";
    display: table;
}
.spreebie_barter_clearfix:after { clear: both; }

/* Styling for the feedback class */
.spreebie_barter_details_container_feedback {
	font-style: italic;	
	margin: 10px 20px 0 10px;
	text-align: center;
}

/* The background for the actual chat part of the widget */
.spreebie_barter_details_container {
	background: #fff;
}

/* The styling for the chat history within the actual chat */
.spreebie_barter_details {
	height: 200px;
	padding: 8px 24px;
	overflow-y: scroll;
}

/* Styling for the chat close state */
.chat-close {
	background: #1b2126;
	border-radius: 50%;
	color: #fff;
	display: block;
	float: right;
	font-size: 10px;
	height: 16px;
	line-height: 16px;
	margin: 2px 0 0 0;
	text-align: center;
	width: 16px;
}

/* Styling for the chat message margin */
.chat-message {
	margin: 16px 0;
}

/* Styling for the chat message image */
.chat-message img {
	border-radius: 50%;
	float: left;
}

/* Padding for the user name text */
.spreebie_barter_message_username {
	text-align: center;
	font-size: 12px;
	padding-bottom: 4px;
	font-weight: bold;
	color: #293239;
}

/* This is styling when a user is online */
.is-online {
	border:2px solid #7CFC00;
}

/* The styling for the chat message content class */
.chat-message-content {
	margin-left: 56px;
}

/* Styling for the message text */
.spreebie_barter_message_text {
	font-size: 13px;
}

/* styling for the chat time */
.chat-time {
	float: right;
	font-size: 10px;
	color: #1e90ff;
}

/* Styling for a chat bubble */
.bubble {
	background: linear-gradient(to bottom right, #c1cdc1, #474747);
	padding: 20px;
	color: #fff;
	border-radius: 12px;
	margin-left: 40px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Styling for the current user's chat bubble */
.bubble-currentuser {
	background: linear-gradient(to bottom right, #5c656b, black);
	padding: 20px;
	color: #fff;
	border-radius: 12px;
	margin-left: 44px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#spreebie_barter_message_field {
	width: 90%;
	align-self: center;
}

#spreebie_barter_user_search_text {
	width: 90%;
	align-self: center;
}

#spreebie_barter_details_container_search_text {
	width: 90%;
	align-self: center;
}

#chatsMessageField {
	width: 90%;
	align-self: center;
}

#usersMessageField {
	width: 90%;
	align-self: center;
}

#spreebie_barter_token_field {
	float: left;
	width: 60%;
	padding-left: 0;
	padding-right: 0;
}

#spreebie_barter_get_details {
	float: right;
	width: 30%;
	padding-left: 0;
	padding-right: 0;
	font-size: 16px;
	color: white;
	background: black;
}

#spreebie_barter_donation_amount_field {
	float: left;
	width: 50%;
	border-radius: 0;
	padding-left: 10px;
	padding-right: 0;
}

#spreebie_barter_donation_button {
	float: right;
	width: 40%;
	padding-left: 0;
	padding-right: 10px;
	font-size: 16px;
	color: white;
	background: black;
}

#spreebie_barter_payment_button {
    width: 100%;
	padding-left: 0;
	padding-right: 0;
	font-size: 16px;
	color: white;
	background: black;
}

#spreebie_barter_post_id {
	display : none;
}