/*
* Plugin Name: DW Knowledge Base
* Plugin Author: DesignWall
* Plugin URL: http://designwall.com
* Version: 1.0
*/

.dw-grid { margin-left: -24px; }
.dw-grid .dw-col { float: left; vertical-align: top; width: 100%; padding-left: 24px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.dw-grid .dw-one-half-col { width: 50%; }
@media (max-width: 1023px) { .dw-grid .dw-one-half-col { width: 100%; } }
.dw-grid .dw-one-third-col { width: 33.33333%; }
@media (max-width: 1023px) { .dw-grid .dw-one-third-col { width: 100%; } }
.dw-grid .dw-two-third-col { width: 66.66667%; }
@media (max-width: 1023px) { .dw-grid .dw-two-third-col { width: 100%; } }
.dw-grid .dw-one-fourth-col { width: 25%; }
@media (max-width: 1023px) { .dw-grid .dw-one-fourth-col { width: 100%; } }
.dw-grid .dw-three-fourth-col { width: 75%; }
@media (max-width: 1023px) { .dw-grid .dw-three-fourth-col { width: 100%; } }

.dw-grid .dw-one-half-col:nth-child(2n+1), .dw-grid .dw-one-third-col:nth-child(3n+1), .dw-grid .dw-one-quarter-col:nth-child(3n+1), .dw-grid .dw-one-fourth-col:nth-child(4n+1) { clear: both; }

.no-margin { margin: 1px; }

.margin-right { margin: 0 5px 0 0; }

.padding-right { padding: 0 5px 0 0; }

.margin-row { margin: 10px 0; }

.margin-col { margin: 0 5px; }

.padding-10 { padding: 10px; }

.padding-20 { padding: 20px; }

.text-right { text-align: right; }

.text-center { text-align: center; }

.dw-highlight { padding: 1px 5px; font-size: 80%; background: #777; color: #fff; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; border-radius: 2px; }

.dwkb-big-header { font-size: 150%; }

.dwkb-list .kb-article { margin: 10px 0; }
.dwkb-list .kb-article .kb-article-title { text-decoration: none; font-size: 110%; font-weight: 700; }

.dwkb-search { margin: 10px 0; width: 100%; position: relative; }
.dwkb-search input { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; padding-right: 40px; width: 100%; margin-bottom: 0 !important; background: url(../img/icon-search.png) no-repeat right 10px center #fff !important; border: 1px solid #d1d1d1; padding: 10px 15px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; border-radius: 2px; box-shadow: none; outline: none; }

.dwkb-breadcrumbs { list-style: none; overflow: hidden; margin: 10px 0; padding: 0; }
.dwkb-breadcrumbs .dwkb-sep { margin: 0 5px; }
.dwkb-breadcrumbs .dwkb-sep a { text-decoration: none; }

.dwkb-article-header { position: relative; margin: 10px 0; }

.dwkb-article-content { margin: 10px 0; }

.dwkb-article-footer { font-size: 90%; }
.dwkb-article-footer .post-detail { text-align: right; }
.dwkb-article-footer .post-detail ul { list-style: none; }
.dwkb-article-footer .post-detail ul li { display: inline-block; }
.dwkb-article-footer .post-detail ul .post-view, .dwkb-article-footer .post-detail ul .post-rating, .dwkb-article-footer .dwkb-related-articles .dwkb-list li .post-detail ul .post-rating, .dwkb-related-articles .dwkb-list li .dwkb-article-footer .post-detail ul .post-rating { padding: 2px 5px 3px 5px; margin: 0 3px; background: #9e9e9e; color: #fff; font-size: 75%; }
.dwkb-article-footer .post-detail ul .post-view:after, .dwkb-article-footer .post-detail ul .post-rating:after, .dwkb-article-footer .dwkb-related-articles .dwkb-list li .post-detail ul .post-rating:after, .dwkb-related-articles .dwkb-list li .dwkb-article-footer .post-detail ul .post-rating:after { content: ' views'; }
.dwkb-article-footer .post-detail ul .post-rating:after { content: ' votes'; }
.dwkb-article-footer .post-tags { list-style: none; }
.dwkb-article-footer .post-tags li { margin: 0 2px; display: inline-block; }
.dwkb-article-footer .post-tags .title { font-weight: 700; }
.dwkb-article-footer .post-tags .title:after { content: ':'; }

.dwkb-related-articles .dwkb-list { list-style: none; margin: 0; padding: 0; }
.dwkb-related-articles .dwkb-list li { border-bottom: 1px solid #d1d1d1; padding: 8px 0; margin: 0; }
.dwkb-related-articles .dwkb-list li .post-detail { float: right; display: inline-block; }
.dwkb-related-articles .dwkb-list li .post-detail .post-view, .dwkb-related-articles .dwkb-list li .post-detail .post-rating { padding: 2px 5px 3px 5px; margin: 0 3px; background: #9e9e9e; color: #fff; font-size: 75%; }

.dwkb-navigation { text-align: center; margin: 5px auto; }
.dwkb-navigation span, .dwkb-navigation a { margin: 0 5px 0 0; padding: 2px 8px; border: 1px solid #d1d1d1; }

.dwkb-category-box { margin-bottom: 20px; box-sizing: border-box; }

.layout-default .dwkb-category-box .box-header { border-bottom: 1px solid #d1d1d1; padding: 10px 0; font-size: 110%; }
.layout-default .dwkb-category-box .box-header .category-title { font-weight: 700; }
.layout-default .dwkb-category-box .box-header .category-title a { border-bottom: 0; text-decoration: none; }
.layout-default .dwkb-category-box .box-content ul { list-style: none; margin: 0; padding: 0; }
.layout-default .dwkb-category-box .box-content ul li { margin: 0; padding: 10px 0; border-bottom: 1px solid #e5e5e5; }
.layout-default .dwkb-category-box .box-content ul li a { text-decoration: none; }
.layout-default .dwkb-category-box .box-footer { padding: 10px; text-align: right; }
@media (max-width: 1023px) { .layout-default .dwkb-category-box .box-footer { text-align: center; } }
.layout-default .dwkb-category-box .box-footer a { text-decoration: none; }