/*******
knowledge base list view styling

********/
.suitecrm-kb-toolbar { 
	display: grid; 
	grid-template-columns: 1fr 1fr; 
	gap: 12px; 
	align-items: end; 
	margin-bottom: 12px; 
	background: #f0f8ff;
	padding: 15px;
    margin-bottom: 30px;
	 border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	}
.suitecrm-kb-col-left { justify-self: start; }
.suitecrm-kb-col-right { justify-self: end; }
li.suitecrm-kb-result {
    list-style: none;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 12px;
}
li.suitecrm-kb-result:hover {
    text-decoration:underline;
}
.suitecrm-kb-col.suitecrm-kb-col-left {
    width: 98%;
}
select#suitecrm-kb-category {
    width: 98% !Important;
}
.suitecrm-kb-col.suitecrm-kb-col-right {
    width: 98%;
	text-align:right;
}
input#suitecrm-kb-search {
    width: 50%;
    height: 37px;
    padding: 5px;
}

div#suitecrm-kb-results {
    padding-left: 30px;
}

.suitecrm-kb-list-wrap {
    min-height: 800px;
}
/* Alternate row background */
li.suitecrm-kb-result:nth-child(even) {
    background-color: #f7f7f7 !Important; /* very light grey */
	padding:6px;
}

/* Add padding + bottom border to articles */
.kb-articles .kb-article {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

/* Pagination divider */
nav#suitecrm-kb-pager {
    border-top: 2px solid #ddd;
    padding-top: 12px;
    margin-top: 20px;
    text-align: center; /* center pagination links */
}


@media (max-width: 640px) { .suitecrm-kb-toolbar { grid-template-columns: 1fr; } }
