/**
 * KB Support Styles
 *
 * @package		KBS
 * @subpackage  CSS
 * @copyright   Copyright (c) 2017, Mike Howard
 * @license		http://opensource.org/licenses/gpl-2.0.php GNU Public License
*/
@charset "UTF-8";

/* = Alerts
-------------------------------------------------------------- */
.kbs_alert {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	margin-bottom: 20px;
	padding: 10px;
	border: 1px solid transparent;
	vertical-align: middle;
}
.kbs_alert p {
	padding: 0;
}
.kbs_alert p:not(:last-child) {
	margin-bottom: 5px;
}
.kbs_alert p:last-child {
	margin-bottom: 0;
}
.kbs_alert_error {
	color: #a94442;
	background-color: #f2dede;
	border-color: #ebccd1;
}
.kbs_alert_success {
	background-color: #dff0d8;
	border-color: #d6e9c6;
	color:#3c763d;
}
.kbs_alert_info {
	color: #31708f;
	background-color: #d9edf7;
	border-color: #bce8f1;
}
.kbs_alert_warn {
	color: #8a6d3b;
	background-color: #fcf8e3;
	border-color: #faebcc;
}

/* = Agent Status
-------------------------------------------------------------- */
.kbs_agent_status_online:after	{
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	background: url(images/agent_status_online.gif);
	background-repeat: no-repeat;
	background-size: 12px 12px;
	margin: 0 0 0 5px;
}
.kbs_agent_status_offline:after	{
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	background: url(images/agent_status_offline.gif);
	background-repeat: no-repeat;
	background-size: 12px 12px;
	margin: 0 0 0 5px;
}
/* = General
-------------------------------------------------------------- */
.kbs_hidden	{ display: none; }

.kbs_clearfix:after {
	display: block;
	visibility: hidden;
	float: none;
	clear: both;
	text-indent: -9999px;
	content: ".";
}

/* = Loader
-------------------------------------------------------------- */
.kbs-icon-spinner:before {
	content: "\71";
}

.kbs-icon-spin {
	display: inline-block;
	-moz-animation: kbs-icon-spin 2s infinite linear;
	-o-animation: kbs-icon-spin 2s infinite linear;
	-webkit-animation: kbs-icon-spin 2s infinite linear;
	animation: kbs-icon-spin 2s infinite linear;
}
@-moz-keyframes kbs-icon-spin {
	0% {
		-moz-transform: rotate(0deg)
	}
	100% {
		-moz-transform: rotate(359deg)
	}
}
@-webkit-keyframes kbs-icon-spin {
	0% {
		-webkit-transform: rotate(0deg)
	}
	100% {
		-webkit-transform: rotate(359deg)
	}
}
@-o-keyframes kbs-icon-spin {
	0% {
		-o-transform: rotate(0deg)
	}
	100% {
		-o-transform: rotate(359deg)
	}
}
@-ms-keyframes kbs-icon-spin {
	0% {
		-ms-transform: rotate(0deg)
	}
	100% {
		-ms-transform: rotate(359deg)
	}
}
@keyframes kbs-icon-spin {
	0% {
		transform: rotate(0deg)
	}
	100% {
		transform: rotate(359deg)
	}
}

/* = Registration / Login Form
-------------------------------------------------------------- */
#kbs_register_form fieldset legend,
#kbs_login_form fieldset legend,
#kbs_profile_editor_form fieldset legend,
.kbs_form_section_heading {
	padding-left: 1.5px;
	padding-right: 1.5px;
	font-weight: bold;
}

#kbs_login_form .kbs-input,
#kbs_profile_editor_form .kbs-input,
#kbs_login_form label,
#kbs_profile_editor_form label {
	display: inline-block;
	width: 200px;
}

#kbs_login_form_wrap fieldset,
#kbs_register_form_wrap fieldset {
	border: 1px solid #eee;
	padding: 1.387em;
	margin: 0 0 21px;
}

.kbs_login_wrapper .kbs-input {
    margin-top: 10px;
}

.kbs_login_wrapper label,
.kbs_registration_wrapper label {
	font-weight: bold;
}

/* = Theme Specific styling
-------------------------------------------------------------- */

/* Twenty Twelve */
.kbs_form input.kbs-input.required,
.kbs_form select.kbs-select.required {
	color: #000;
}

/* = Submission Forms
-------------------------------------------------------------- */
#kbs_ticket_wrap span.kbs-description,
#kbs_item_wrapper span.kbs-description	{
	color: #666;
	font-size: 80%;
	display: block;
	margin: 0 0 5px;
	font-style: italic;
}
span.kbs-time    {
    display: inline;
}
#kbs_ticket_wrap input.kbs-input,
#kbs_ticket_form_wrap input.kbs-input,
#kbs_ticket_form_wrap select,
#kbs_ticket_form_wrap .kbs-select-chosen	{
	display: inline-block;
	width: 70%;
}

#kbs_ticket_wrap fieldset legend	{
	padding-left: 1.5px;
	padding-right: 1.5px;
	font-weight: bold;
}

#kbs_ticket_form_wrap fieldset fieldset {
	margin: 0;
	border: none;
	padding: 0;
}

#kbs_ticket_form_wrap input.error,
#input.error	{
	border-color: #c4554e;
}

#kbs_ticket_form_wrap fieldset {
	border: 1px solid #eee;
	padding: 1.387em;
	margin: 0 0 21px;
}
#kbs_ticket_form_wrap {
	padding: 0;
	border: none;
}

#kbs_ticket_form_wrap label {
	font-weight: bold;
	display: block;
	position: relative;
	line-height: 100%;
	font-size: 95%;
	margin: 0 0 5px;
}

#kbs_ticket_form_wrap a.thickbox,
.agree_terms {
	font-size: 80%;
	font-style: italic;
}

#kbs_ticket_form_wrap p.checklabel {
	font-size: 80%;
	font-style: italic;
}

#kbs_ticket_form_wrap label:after {
	display: block;
	visibility: hidden;
	float: none;
	clear: both;
	height: 0;
	text-indent: -9999px;
	content: ".";
}

#kbs_ticket_form_wrap span.kbs-required-indicator {
	color: #b94a48;
	display: inline;
}

.kbs_ticket_ajax {
	margin: 0 8px 0 4px;
	position: relative;
	top: 2px;
	background: none;
	border: none;
	padding: 0;
}

#kbs_ticket_submit .kbs_ticket_ajax {
	display: none;
	position: relative;
	left: -35px;
}

/* = Tickets
-------------------------------------------------------------- */
.kbs-label {
	display: inline-block;
	padding: 2px 8px;
	font-weight: bold;
	color: #fff;
	vertical-align: baseline;
	background-color: #999;
	border-radius: 3px;
}

.kbs-label a,
.kbs-label a:hover,
.kbs-label a:visited {
	color: #fff;
}

#kbs_item_wrapper .left {
	float: left;
}
#kbs_item_wrapper .right {
	float: right;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	max-width: 33%;
}
#kbs_item_wrapper input {
	font-weight: normal;
}
#kbs_item_wrapper {
	display: inline-block;
	margin-left: -1px;
	min-height: 200px;
	width: 100%;
	z-index: 2;
	font-size: 90%;
}
#kbs_item_wrapper .data_section {
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
	overflow: auto;
}
#kbs_item_wrapper .data_section table {
	margin-bottom: 20px;
}
#kbs_item_wrapper > div {
	padding: 0px 20px;
}
#kbs_item_wrapper > div:first-child {
	padding-top: 20px;
}
#kbs_item_wrapper > div:last-child {
	border: none;
	padding-bottom: 20px;
}
#kbs_item_wrapper .ticket_id {
	font-size: 20px;
	font-weight: 600;
}
#kbs_item_wrapper .ticket_main_wrapper	{
	line-height: 110%;
}
#kbs_item_wrapper label	{
	display: inline-block;
	font-weight: bold;
}
#kbs_item_wrapper .ticket_main_wrapper label	{
	display: inline-block;
	font-weight: bold;
	width: 100px;
}
#kbs_item_wrapper .major_ticket_items label	{
	padding-top: 18px;
}
#kbs_item_wrapper .ticket_main_wrapper input {
	width: 70%;
}
#kbs_item_wrapper .ticket_right_wrapper {
	margin-right: 25px;
	max-width: 33%;
	width: 202px;
}
#kbs_item_wrapper .ticket_info {
	margin-top: 5px;
	margin-bottom: 10px;
	min-height: 185px;
}
#kbs_item_wrapper .ticket_item_wrapper {
	min-height: 125px;
	overflow: visible;
}

#kbs_item_wrapper .info_item {
	display: block;
	line-height: 16px;
	padding-bottom: 5px;
}
#kbs_item_wrapper .edit-item {
	display: none;
}
#kbs_item_wrapper fieldset legend	{
	padding-left: 1.5px;
	padding-right: 1.5px;
	font-weight: bold;
	font-size: 110%;
	padding: 0px 6px 0px 6px;
}
#kbs_item_wrapper fieldset fieldset {
	margin: 0;
	border: none;
	padding: 0;
}
#kbs_item_wrapper fieldset {
	border: 1px solid #eee;
	padding: 1.387em;
	margin: 0 0 21px;
}
#kbs_item_wrapper .sla_data	{
	padding: 0 0 15px 0;
}
#kbs_item_wrapper input.kbs-input	{
	display: inline-block;
	width: 70%;
	font-size: 90%;
	font-weight: normal;
}
#kbs_item_wrapper .kbs-ticket-reply-head	{
	padding-bottom: 10px;
}
#kbs_ticket_replies ul	{
	 list-style-position: inside;
	 list-style-type: none;
}
#kbs_ticket_replies label	{
	padding-top: 10px;
}

#new-reply    {
    padding-top: 12px;
}

.kbs-replies-row-actions {
	color: #777;
	font-size: 12px;
}
.kbs-replies-row-actions a {
	text-decoration: none;
	width: auto;
	cursor: pointer;
	vertical-align: middle;
}

.kbs-replies-row-actions .toggle-view-reply-option-section {
	color: #777;
}
.kbs-replies-row-actions .toggle-view-reply-option-section:hover {
	color: #444;
}

.kbs-replies-row-header {
	clear: both;
	background: #f1f1f1;
	border: 1px solid #e5e5e5;
}

.kbs-replies-row-header:before,
.kbs-replies-row-header:after {
	content: '';
	display: table;
}

.kbs-replies-row-header:after {
	clear: both;
}

.kbs-replies-row-title {
	float: left;
	font-size: 12px;
    font-weight: 600;
}

.kbs-replies-row-title,
.kbs-replies-row-actions {
	padding: 4px;
	box-sizing: border-box;
}

.kbs-replies-row-actions {
	float: right;
	text-align: right;
	padding: 4px;
}
.kbs-ticket-content-row-actions .kbs-remove-row,
.kbs-replies-row-actions .kbs-remove-row,
.kbs-notes-row-actions .kbs-remove-row {
	font-size: 12px;
	width: auto;
	cursor: pointer;
}

.kbs_replies_wrapper:not(:first-child)	{
	margin-top: 8px;
}

a.ticket_reply_content	{
	cursor: pointer;	
}

.kbs_replies_load_more	{
	text-align: right;
    padding: 8px;
}

a .kbs_action_button    {
    font-size: 10px;
}

@media screen and ( max-width: 810px ) and ( min-width: 656px ) {
	#kbs_item_wrapper {
		width: 600px;
	}
}
@media screen and ( max-width: 656px ) {
	#kbs_item_wrapper {
		margin: 0;
		width: 100%;
	}
	#kbs_item_wrapper > div:first-child {
		height: 230px;
	}
	#kbs_item_wrapper .ticket_info {
		min-height: 210px;
	}
	.kbs_item_info.ticket_info {
		position: relative;
	}
	#kbs_item_wrapper .ticket_files_wrapper {
		position: absolute;
		max-width: 200px;
		vertical-align: top;
	}
	#kbs_item_wrapper .ticket_main_wrapper {
		float: none;
		position: absolute;
		left: 110px;
	}
	#kbs_item_wrapper .data_section {
		margin-bottom: 0;
	}
	#kbs_item_wrapper .ticket_id {
		font-size: 16px;
	}
	#kbs_item_wrapper > div:first-child {
		height: auto;
	}
}

@media screen and ( max-width: 480px ) {
    #kbs_item_wrapper .data_section table {
        font-size: 60%;
    }
	.kbs-replies-row-title
	.kbs-replies-row-actions {
		text-align: left;
		width: 100%;
	}
	.kbs-replies-row-title {
		padding-bottom: 0;
	}
}

/* = Profile Form
-------------------------------------------------------------- */
#kbs_profile_editor_form .kbs-profile-emails {
	list-style-type: none;
	display: inline-table;
	margin-left: 16px;
}
#kbs_profile_editor_form .kbs-profile-email {
	width: auto;
}
#kbs_profile_editor_form .kbs-profile-email .actions {
	display: none;
	margin-left: 5px;
}
#kbs_profile_editor_form .kbs-profile-email:hover > span {
	display: inline-block;
}

/* = Payment Form
-------------------------------------------------------------- */
#kbs_item_wrapper .balance	{
	font-weight: bold;
}

/* = Article Search
-------------------------------------------------------------- */
#kbs_search_form	{
	width: 100%;
	margin: 0 auto;
	white-space: nowrap;
}
.search-field	{
	padding: 6px 3px 6px 3px;
}
#kbs_search_form input[type=text],
#kbs_search_form input[type=search]	{
	font-size: larger;
	border: 1px solid #d0d0d0;
	width: 80%;
}
#kbs_search_form input[type=submit],
#kbs_search_form input[type=submit]:hover,
#kbs_search_form button,
#kbs_search_form button:hover {
	position: relative; 
	left: -4px;
	border: 1px solid #d0d0d0;
	padding: 6px 15px 6px 15px;
	font-size: larger;
	cursor: pointer;
}
.kbs-article-search-results	{
	font-size: 80%;
}
.kbs-article-search-results .right {
	float: right;
	cursor: pointer;
}
#kbs-article-results ul	{
	list-style-type: none;
}

/* = Articles List
-------------------------------------------------------------- */
#kbs-article-list	{
	font-weight: normal;
}
#kbs-article-list ul	{
	list-style-type: disc;
}
.article_excerpt	{
	display: block;
	padding-top: 0px;
}
div.kbs_articles_list ul li	{
	list-style-type: none;
	padding-bottom: 10px;
}
div.kbs_articles_list ul li span	{
	display: block;
}
