/*
Theme Name: MyKnowledgeBase
Theme URI: http://www.guidovanderleest.nl/myknowledgebase
Version: 2.2
Author: Guido van der Leest
Author URI: http://www.guidovanderleest.nl
Description: MyKnowledgeBase is a free, basic, clean, minimalistic, responsive, mobile friendly WordPress theme for a 3 or 4 column Knowledge Base, Bulletin Board, FAQ, Wiki or link Portal. It uses the default WP categories and posts. Please check readme file how to set up such a website. Default theme language is English but Dutch, German, Spanish and French are supported too. Primary sidebar, homepage sidebar, 3 widget-area's in footer, custom header-image, custom background, display logo or blogname and description, full width page-template and dropdown navigation are included. Besides this no theme settingspage, no fancy options, no slideshow, this one only has the basic options. Enjoy. 
Tags: one-column, two-columns, right-sidebar, fixed-layout, responsive-layout, full-width-template, custom-background, custom-header, custom-menu, featured-images, white, blue, light, gray, editor-style, translation-ready
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: myknowledgebase

MyKnowledgeBase, Copyright 2014, Guido van der Leest
MyKnowledgeBase is licensed under the GPL
*/


/* 
RESET STYLESHEET 
Source: http://meyerweb.com/eric/tools/css/reset
Author: Eric Meyer
Author URI: http://meyerweb.com/ 
License: none (public domain) 
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, 
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, 
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, 
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, 
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin:0;
	padding:0;
	border:0;
	font-family:inherit;
	font-size:98%;
	font-style:inherit;
	font-weight:inherit;
	vertical-align:baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
	display:block;
}

body {
	line-height:1;
}

ol, ul {
	list-style:none;
}

blockquote, q {
	quotes:none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content:'';
	content:none;
}

table {
	border-collapse:collapse;
	border-spacing:0;
}


/* BODY AND CONTAINER */
body {background:#fff; font-family:'Open Sans', sans-serif; font-size:0.9em; color:#333; line-height:1.5em;}
#container {max-width:1200px; margin:0 auto 0; padding:0 1%; text-align:left; word-wrap:break-word;}
#content {width:68%; float:left; padding:0px 0; word-wrap:break-word;}
#content:after {content:''; display:block; clear:both;}
#content-full {width:100%; float:left; padding:20px 0; word-wrap:break-word;}
#content-full:after {content:''; display:block; clear:both;}


/* HEADINGS */
h1 {font-size:3.0em; line-height:1.2em;}
h2 {font-size:2.5em; line-height:1.2em;}
h3 {font-size:2.0em; line-height:1.5em;}
h4 {font-size:1.5em; line-height:1.5em;}
h5 {font-size:1.0em; line-height:2em;}
h6 {font-size:0.75em; line-height:2em;}


/* LINKS AND HTML TAGS */
a {text-decoration:none; color:#246F2D;}
a:hover {text-decoration:underline;}

strong, b {font-weight:bold;}
small {font-size:0.75em;}
big {font-size: 1.5em;}
sub {vertical-align:sub; font-size:0.9em;}
sup {vertical-align:super; font-size:0.9em;}
ins, mark {font-weight:bold; background:none; color:#1D8329;}
cite, em, abbr, acronym {font-style:italic;}
code, pre {margin:10px 0; padding:5px 10px; display:block; border:1px solid #eee; word-wrap:break-word;}
blockquote, q {margin:10px 0; padding:0 0 0 20px; display:block; font-size:1.2em; line-height:1.5em; font-style:italic; border-left:2px solid #1D8329;}
address {margin:10px 0; padding:0 0 0 20px; display:block; font-size:1.2em; line-height:1.5em; border-left:2px solid #333;}
p {margin:0 0 10px; text-align:justify;}


/* TABLE AND HTML TAGS */
table {margin:10px 0; border-collapse:collapse;}
table, th, td {border: 1px solid #eee; padding:5px 10px;}
table th {font-weight:bold;}

ul {list-style:disc; margin:2px 0 2px 0;}
ol {list-style:decimal; margin:2px 0 2px 0;}
li {margin:0 0 0 20px;}
dl {margin:10px 0;}
dt {font-weight:bold;}
dd {margin:0 0 0 20px;}


/* INPUTS */
input, select, textarea {-webkit-appearance:none; -moz-appearance:none; border:1px solid #eee; padding:2px 5px; background:none; font-size:1em; font-family:'Open Sans', sans-serif;}
input[type="submit"], input[type="reset"] {cursor:pointer;	border:0; padding:2px 5px; background:#1D8329; color:#fff;}
input[type="submit"]:hover, input[type="reset"]:hover {background:#333;}
input[type="checkbox"]{-webkit-appearance:checkbox; -moz-appearance:checkbox;}
input[type="radio"]{-webkit-appearance:radio; -moz-appearance:radio;}
select {max-width:100%; -webkit-appearance:menulist; -moz-appearance:menulist;}


#header-logo {width:120px; float:left;}

/* HEADER FIRST */
#header-first {margin:0; padding:10px 0 0;}
#header-first:after {content:''; display:block; clear:both;}

/* HEADER FIRST LOGO */
#header-first .logo {margin-left:8px;width:35%; float:left;}
#header-first .logo h1 {font-size:2em;}
#header-first .logo h1 a:hover {text-decoration:none; color:#333;}
#header-first .logo h5 {padding:0 0 10px; font-style:italic;}
#header-first .logo img {padding:0 0 10px;}


/* HEADER FIRST MENU */
.nav-head {width:65%; float:right; text-align:right; background:none; margin:25px 0 0; padding:0; border:0;}
.nav-head select {display:none;}
.nav-head ul {padding:0; margin:0; z-index:999;}
.nav-head ul li {list-style-type:none; display:inline-block; position:relative; margin:0 0 0 10px;}
.nav-head ul li a {text-decoration:none; background:none; padding:0 0 5px; display:inline-block;}
.nav-head ul li a:hover {text-decoration:underline;}
.nav-head .current_page_item > a, .nav-head .current_page_parent > a {text-decoration:underline;}


/* HEADER FIRST SUBMENU */
.nav-head ul ul {display:none; position:absolute; top:100%; padding:0;}
.nav-head ul ul ul {display:none; position:absolute; top:30%; left:100%;}
.nav-head ul ul a {width:12em; padding:5px 10px; background:#333; color:#fff; text-align:left;}
.nav-head ul li:hover > ul {display:block;}
.nav-head ul li ul li {margin:0;}


/* HEADER SECOND */
#header-second {margin:0; padding:10px 0;}
#header-second:after {content:''; display:block; clear:both;}


/* HEADER SECOND HOMEPAGE IMAGE */
#header-second .image-homepage {width:49%; float:left;}
#header-second .header-img {width:100%; height:auto;}


/* HEADER SECOND HOMEPAGE SIDEBAR */
#header-second .sidebar-homepage {width:49%; float:right; word-wrap:break-word; background:#1D8329;}
#header-second .widget {margin:15px 0; padding:0 20px; background:none; color:#fff; border:0;}
#header-second .widget a {color:#fff;}


/* HEADER SECOND HOMEPAGE SIDEBAR INPUTS */
#header-second input, #header-second select, #header-second textarea {background:#fff; color:#333;}
#header-second input[type="submit"] {background:#fff; color:#333;}
#header-second input[type="submit"]:hover {background:#333; color:#fff;}


/* HEADER THIRD */
#header-third {clear:both; background:#1D8329; margin:10px 0; padding:0 20px;
    border-radius: 5px;        /* CSS3草案 */  
    -webkit-border-radius: 5px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 5px;   /* Firefox用 */  
}
#header-third:after {content:''; display:block; clear:both;}


/* HEADER THIRD SEARCH */
/* #header-third .search-form {width:50%;float:right; text-align:right;}  */
#header-third .search-title {width:25%; float:left; color:#fff; margin:7px 0 0;}


/* HEADER THIRD SEARCH INPUTS */
#header-third input {padding:5px; background:#fff; color:#333;}
#header-third input[type="submit"]:hover {
    background: #F17915;
    color: #fff;
}

#header-third input[type="submit"] {
    background: #F18107;
    padding: 3px 30px 1px 36px;
    color: #FFF;
    font-size: 1.2em;
    letter-spacing: 10px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
/*#header-third input[type="submit"]{padding:5px; background:#fff; color:#333;}*/
/*#header-third input[type="submit"]:hover {background:#333; color:#fff;}*/


/* KNOWLEDGE BASE TEMPLATE */
#categories-three {clear:both; margin:10px 0 0;}
#categories-three:after {content:''; display:block; clear:both;}
#categories-four {clear:both;}
#categories-four:after {content:''; display:block; clear:both;}

.cat-list-three {width:30%; margin:0 2% 20px 0; padding:10px 1%; float:left; background:#ffffff;
    border-radius: 8px;        /* CSS3草案 */  
    -webkit-border-radius: 8px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 8px;   /* Firefox用 */  
}
.cat-list-four {width:21.5%; margin:0 2% 20px 0; padding:10px 1%; float:left; background:#f8f8f8;}

#categories-three ul:nth-of-type(3n+1) {clear:left;}
#categories-three ul:nth-of-type(3n+3) {margin:0 0 20px 0;}
#categories-four ul:nth-of-type(4n+1) {clear:left;}
#categories-four ul:nth-of-type(4n+4) {margin:0 0 20px 0;}

.cat-name {margin:0 0 5px; list-style:none; font-size:1.2em; line-height:1.2em; font-weight:bold; padding:0 0 10px; border-bottom:2px solid #1D8329;}
.cat-name a:hover{text-decoration:none; color:#333;}
.post-name {margin:0 0 0 20px;}


/* PAGE */
.page-title {padding:0 0 10px;}
.pagelink {clear:both; margin:20px 0 10px;}


/* POST */
.post-title {padding:0;}
.post-title a:hover {color:#333; text-decoration:none;}
.sticky {text-align:center; clear:both; color:#fff; background:#1D8329; margin:0 0 10px; padding:2px 5px;}
.postmetadata {clear:both; margin:20px 0; padding:5px 10px; background:#f8f8f8; border:1px solid #eee;}
.more {clear:both; margin:20px 0; padding:0 0 20px; border-bottom:1px solid #A0733A;}
.more:after {content:''; display:block; clear:both;}
a.readmore {float:right; padding:2px 10px; background:#1D8329; color:#fff; text-decoration:none;}
a.readmore:hover {background:#333; text-decoration:none;}


/* POST NAV */
.post-nav {display:block; clear:both;}
.post-nav:after {content:''; display:block; clear:both;}
.nav-prev {float:right; padding:5px 0;}
.nav-next{float:left; padding:5px 0;}


/* EDIT LINK */
.edit-link {display:block; clear:both; text-align:center; margin:10px 0; padding:5px; background:none; border:1px solid #eee;}


/* IMAGE AND VIDEO */
embed, iframe, object, video {max-width:100%;}
img {max-width:100%; height:auto;}

img.alignright {float:right; margin:0.4em 0 0.4em 1em;}
img.alignleft {float:left; margin:0.4em 1em 0.4em 0;}
img.aligncenter {display:block; margin:0.4em auto 0.4em auto;}
.alignright {float:right; margin:0.4em 0 0.4em 1em;}
.alignleft {float:left; margin:0.4em 1em 0.4em 0;}
.aligncenter {display:block; margin:0.4em auto 0.4em auto;}

.wp-post-image, .single-image {float:left; margin:0.4em 1em 0.4em 0;}

.wp-caption {background:none; max-width:100%;}
.wp-caption-text {text-align:center; word-wrap:break-word;}

.gallery dl, .gallery dt, .gallery dd {margin:0; padding:0;}
.gallery-caption {background:none; max-width:100%;}
.gallery-caption-text {text-align:center; word-wrap:break-word;}


/* SEARCHFORM */

.search-wrap{padding-top:10px;}
.search-form {padding:10px 0;}

.search-field {
    width: 65%;
    margin: 0 5px 0 0;
}

/*.search-field {width:50%; margin:0 5px 0 0;} */

.screen-reader-text {display:none;}


/* COMMENTS */
#comments {clear:both; word-wrap:break-word;}
#comments .comment-list {background:#f8f8f8; border:1px solid #eee; font-weight:normal; margin:20px 0; padding:0 20px 0 10px;}
#comments .comment-list ol {list-style:none;}
#comments .comment-list li {list-style:none; margin:0 0 0 10px;}
.comment-body {border-left:2px solid #1D8329; padding:0 0 0 15px; margin:20px 0;}
.comment-notes, .form-allowed-tags {font-size:0.75em; padding:5px 0;}
.comments-title, .comment-reply-title, .no-comments {clear:both; font-size:1.5em;} 
.bypostauthor {font-style:italic;}

#respond {padding:0; margin:0; clear:both;}
#commentform label {padding:0 0 5px; display:block;}
#commentform textarea, #commentform input {width:90%; padding:2px 5px;}
#commentform input[type="submit"] {width:9em; padding:2px 5px;} 


/* COMMENT NAV */
.comment-nav {display:block; clear:both;}
.comment-nav:after {content:''; display:block; clear:both;}
.comment-prev {float:left; padding:5px 0;}
.comment-next {float:right; padding:5px 0;}


/* SIDEBAR AND WIDGETS */
#sidebar {width:27.5%; float:right; margin-top: 10px; padding:13px 0 0; word-wrap:break-word;font-size: 1.25em;line-height: 1.8;}
.widget {padding:0 0 10px; margin:0 0 20px; background:none; border-bottom:1px solid #eee;}
.widgettitle {margin:0 0 5px;}


/* FOOTER */
#footer {clear:both; background:#1D8329; color:#fff; padding:0 20px; margin:0;
    border-radius: 5px;        /* CSS3草案 */  
    -webkit-border-radius: 5px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 5px;   /* Firefox用 */  
}
#footer:after {content:''; display:block; clear:both;}
#footer a {color:#fff;}
#footer .site-info {text-align:center; clear:both; padding:15px 0;}


/* FOOTER WIDGET AREA */
#footer-widgets {width:100%; margin:0 auto 0;}
#footer-widgets:after {content:''; display:block; clear:both;}

#footer .widget {margin:15px 0 0; border-bottom:1px solid #fff;}
#footer .widgettitle {color:#fff;}

.footer-left {float:left; width:32%; margin:5px 0 0; padding:0; word-wrap:break-word;}
.footer-middle {float:left; width:32%; margin:5px 2% 0; padding:0; word-wrap:break-word;}
.footer-right {float:right; width:32%; margin:5px 0 0; padding:0; word-wrap:break-word;}


/* FOOTER INPUTS */
#footer input, #footer select, #footer textarea {color:#fff;}
#footer input[type="submit"] {background:#fff; color:#333;}
#footer input[type="submit"]:hover {background:#333; color:#fff;}

#header-third .search-title {
    width: 25%;
    float: left;
    color: #fff;
    margin: 14px 0 0;
    font-size: 1.5em;
}	

	
#header-third .search-form {
    width: 43%;
    float: left;
    text-align: right;
    font-size: 1.4em;
}	

/* MOBILE */
@media screen and (max-width:767px) { 
	/* BODY AND CONTAINER */
	body {font-size:1em; line-height:1.2em;}
	body.custom-background {background-image:none !important;}
	#container {width:98%;}
	#content, #content-full {width:100%; padding:10px 0;}

	/* HEADER */
	#header-first .logo {width:100%; text-align:center;}
	#header-first .logo h1 {font-size:2em; text-align:center;}
	#header-first .logo h5 {padding:0; font-size:1em; text-align:center;}
	#header-first .logo img {padding:0;}
	#header-second .image-homepage {width:100%; margin:0 0 10px;}
	#header-second .sidebar-homepage {width:100%; float:left;}
	#header-second .widget {padding:0 3%;}
	#header-second .widgettitle {padding:0; background:none;}
	#header-third {padding:0 3%;}
	
#header-third .search-title {
    width: 25%;
    float: left;
    color: #fff;
    margin: 14px 0 0;
    font-size: 1.5em;
}	
	#header-third .search-title {width:100%; margin: 0;}
	
#header-third .search-form {
    width: 43%;
    float: left;
    text-align: right;
    font-size: 1.4em;
}	
	#header-third .search-form {width:100%; float:left; text-align:left;}

	/* CONTENT */ 
	#categories-three {margin:0;}
	#categories-three ul:nth-of-type(3n+1) {clear:none;}
	#categories-three ul:nth-of-type(3n+3) {margin:0 2% 10px 0;}
	#categories-four ul:nth-of-type(4n+1) {clear:none;}
	#categories-four ul:nth-of-type(4n+4) {margin:0 2% 10px 0;}
	#categories-three ul:nth-of-type(2n+1) {clear:left;}
	#categories-three ul:nth-of-type(2n+2) {margin:0 0 10px 0;}
	#categories-four ul:nth-of-type(2n+1) {clear:left;}
	#categories-four ul:nth-of-type(2n+2) {margin:0 0 10px 0;}
	.cat-list-three {width:47%; margin:0 2% 10px 0; padding:0px 1%;}
	.cat-list-four {width:47%; margin:0 2% 10px 0; padding:10px 1%;}

	/* SIDEBAR */
	#sidebar {width:100%; padding:0 0 10px; float:left;}
	.widget {margin:10px 0;}
	.widgettitle {padding:5px 3%; background:#1D8329; color:#fff;}

	/* FOOTER */
	#footer {width:94%; padding:10px 3% 0;}
	#footer .widget {margin:5px 0;}
	#footer .widgettitle {padding:0; background:none;}
	.footer-right, .footer-middle, .footer-left {width:100%; margin:0; float:left;}

	/* HEADINGS */
	.post-title, .page-title, #header-third .search-title, .widgettitle, #header-second .widgettitle, #footer .widgettitle, .comments-title, .comment-reply-title, .no-comments {font-size:1.3em;}

	/* IMAGES */
	.wp-post-image, .single-image {width:50%; margin:0.3em 0.5em 0.3em 0;}

	/* MENU */
	.nav-head ul {display:none;} 
	.nav-head {width:100%; margin:5px 0 0;}
	.nav-head select {display:block; width:100%; height:35px; margin:0 auto 0; font-size:1em; line-height:1.2em; color:#fff; background:#1D8329; border:0;}
}



#aform input,#aform select,#aform textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid rgb(255, 255, 255);
    padding: 2px 4px;
    background: #FFFFFF;
    font-size: 1.4em;
    font-family: 'Open Sans', sans-serif;
    margin-top: 5px;
}

#header-third .search-title {
    width: 25%;
    float: left;
    color: #fff;
    margin: 10px 0 10px 0px;
    font-size: 1.5em;
}

#con-sub {width:94%; padding:10px 3% 0;background-color:#ffffe6;    border-radius: 5px;        /* CSS3草案 */  
    -webkit-border-radius: 5px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 5px;   /* Firefox用 */  }