body {
	background: #333E47;
}

@media (max-width: 768px) {
	body {
		padding-top: 70px;
		padding-bottom: 30px;
	}
}

/* Supertextify */
.navbar.navbar-inverse,
#sidebar {
	background-color: #F04524;
	color: white;
}

.navbar-inverse .navbar-nav>li>a,
#sidebar a {
	color: white;
}

#sidebar li.active > a {
	color: #fff!important;
    background-color: #080808!important;
}

.navbar-brand {
	color: white!important;
}

/* Supertextify */

.theme-dropdown .dropdown-menu {
	display: block;
	position: static;
	margin-bottom: 20px;
}

.theme-showcase > p > .btn {
	margin: 5px 0;
}

#dashboard .big-number {
	text-align: center;
	font-size: 70px;
}

#dashboard .big-number .sub {
	text-align: center;
	font-size: 12px;
	display: block;
}

#dashboard #panels h3 {
	text-align: center;
}

#login .help-block {
	padding-right: 50px;
}

#support #feed .bold {
	font-weight: bold;
}

#app-image {
	float: left;
}

.conversaton-simulator {
	width: 320px;
	border: 2px solid black;
	float: left;
	margin-right: 10px;
	background: #f4f3ed;
}

.conversaton-simulator .top-bar {
	width: 100%;
	border-bottom: #ccc 1px solid;
	height: 62px;
	font-size: 20px;
	line-height: 62px;
	background: white;
}

.conversaton-simulator .footer {
	width: 100%;
	border-top: #ccc 1px solid;
	height: 62px;
	font-size: 20px;
	background: white;
}

.conversaton-simulator .top-bar strong {
	text-align: center;
	display: block;
}

.conversaton-simulator .messages {
	padding: 8px;
}

.conversaton-simulator .message img {
	width: 32px;
	height: 32px;
	float: left;
	border-radius: 5px;
}

.conversaton-simulator .message .sender {
	font-size: 12px;
	display: block;
}

.conversaton-simulator .message .dlr-text {
	font-size: 12px;
	color: #878787;
	display: block;
	clear: both;
	padding-left: 36px;
}

.conversaton-simulator .message .txt {
	display: block;
	float: left;
	min-height: 28px;
	max-width: 200px;
	background: white;
	border-radius: 4px;
	border: 1px solid #aaa;
	padding: 4px;
	margin-left: 4px;
}

.conversaton-simulator .message.self-message img {
	float: right;
}
.conversaton-simulator .message.self-message .txt {
	float: right;
	margin-right: 4px;
}
.conversaton-simulator .message.self-message .sender {
	text-align: right;
}
.conversaton-simulator .message.self-message .dlr-text {
	padding-right: 36px;
	text-align: right;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
  margin-top: -1px;
}
@media (min-width: 768px) {
  .sidebar {
	  display: inline-block;
	  height: 100vh;
	  z-index: 1000;
	  padding: 20px;
	  overflow-x: hidden;
	  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  }
}

/* Sidebar navigation */
.nav-logo {
	content:url("/admin/static/img/logo.svg");
	height: 5rem;
	padding: 1rem;
}

.nav-sidebar {

}
.nav-sidebar > li > a {
	white-space: nowrap;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
Log in with google button
 */
.google-sign-in-button {
	content:url("/admin/static/img/btn_google_signin_normal.png");
	height: 46px;
	width: 191px;
}

.google-sign-in-button:hover {
	content:url("/admin/static/img/btn_google_signin_hover.png");
}

.google-sign-in-button:focus {
	content:url("/admin/static/img/btn_google_signin_pressed.png");
}


/**
Rendered in zone
 */

.zone-rendered {

}

/* ------------------------------------------------------------------
 * Reusable Message Component
 * ------------------------------------------------------------------ */

.message {
	background: #ffffff;
	border: 1px solid #e1e3e5;
	border-radius: 8px;
	padding: 12px 14px;
}

/* ▸ Ensure a small gap between consecutive messages rendered inside .card-body */
.card-body .message + .message {
	margin-top: 6px;   /* tweak this value as needed for spacing */
}

.card-body .message + .found-message {
	margin-top: 6px;   /* tweak this value as needed for spacing */
}


/* ------------------------------------------------------------------
 * Highlight for the found (searched) message
 * ------------------------------------------------------------------ */
.found-message .message {
	background: #fffbe6;      /* soft yellow background */
	border-color: #ffe58f;    /* matching light-yellow border */
}

/* ------------------------------------------------------------------
 * Delete action block spacing inside .card-body
 * ------------------------------------------------------------------ */
.card-body .delete-action {
	margin: 6px 0;    /* vertical gap above and below the delete button */
}

/* meta */
.message-meta {
	margin-bottom: 4px;            /* already present – keep */
}

/* divider */
.message-divider {
	border: none;
	border-bottom: 1px solid #e1e3e5;
	margin: 6px 0;
}

/* content bubble flattened */
.message-content {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
}

/* attachment spacing still applies */
.message-attachment {
	margin-top: 6px;
}

.message-attachment img {
	max-width: 120px;
	border-radius: 4px;
	border: 1px solid #ccc;
}

/* outgoing / self message variant */
.message--self {
	background: #f6fdf3;
	border-color: #bdebb0;
}

.message--self .message-content {
	background: transparent !important;
}

.message-author {
	font-weight: 600;
	color: #007bff;
	text-decoration: none;
}

.message-author:hover {
	text-decoration: underline;
}

.message-time {
	color: #9ea0a1;
}

.message--self .message-author {
	color: #34b7f1;
}

.communities-links > .community-link {
	margin-bottom: 15px;
}
.communities-links > .community-link:last-child {
	margin-bottom: 0;
}

/* Heading badge alignment */
.heading-badge {
	margin-left: 10px;
	vertical-align: baseline;
	position: relative;
	top: -4px;
}

/* Inactive activity token styling */
.activity-inactive {
	text-decoration: line-through;
	color: #999;
	font-style: italic;
}

/* ------------------------------------------------------------------
 * Conversation page – summary cards (image / settings / meta)
 * Equal-height cards; wrap long values (e.g. STID) inside their card
 * instead of letting them overflow and push the table past the edge.
 * ------------------------------------------------------------------ */
.conv-summary {
	display: flex;
	flex-wrap: wrap;
}

.conv-summary > [class*="col-"] {
	display: flex;
	float: none;
	margin-bottom: 20px;
}

.conv-summary .well {
	width: 100%;
	margin-bottom: 0;
}

.conv-summary .conv-avatar {
	max-width: 100%;
	height: auto;
}

.conv-summary .table {
	table-layout: fixed;
	width: 100%;
}

.conv-summary .table td {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.conv-summary .table td:first-child {
	width: 45%;
}