/*
 Theme Name:   myknowledgebase Child
 Theme URI:    http://nguyenvanquan7826.com/myknowledgebase-child/
 Description:  myknowledgebase Child Theme
 Author:       nguyenvanquan7826
 Author URI:   http://nguyenvanquan7826.com
 Template:     myknowledgebase
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  myknowledgebase-child
*/

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 {
    font-family: arial;
    font-style: inherit;
    font-weight: 100;
}

strong, b {
    font-weight: bold !important;
}

h1 {font-size:2.5em; line-height:1.2em;}
h2 {font-size:2.0em; line-height:1.2em;}
h3 {font-size:1.5em; line-height:1.5em;}
h4 {font-size:1.25em; line-height:1.5em;}
h5 {font-size:1.0em; line-height:2em;}
h6 {font-size:0.75em; line-height:2em;}

code {
    background: #efe9e9;
}

blockquote, q {
    margin: 0px;
    padding: 10px 5px 1px 20px;
    display: block;
    font-size: inherit;
    line-height: 1.5em;
    font-style: inherit;
    border-left: 2px solid #08a0ff;
    background: #f2f2f2;
}

#sidebar.bottom {
    bottom: 0;
}

#header-first {
    background: none repeat scroll 0 0 white;
    margin: 20px 0px 35px;
    padding: 20px;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
    width: 97%;
}

#header-third {
    background: white none repeat scroll 0 0;
    clear: both;
    float: left;
    margin: 10px 0;
    padding: 0 2%;
    width: 96%;
}

#header-third .search-form {
    float: right;
    text-align: center;
    width: 100%;
}

.search-field {
    height: 35px;
    margin: 0;
    width: 90%;
}

#adssen-header {
    clear: both;
    text-align: center;
}


body {
    background: none repeat scroll 0 0 #f1f1f1;
}

#content {
    padding: 0;
    width: 68%;
}


#sidebar {
    background: none repeat scroll 0 0 #fff;
    padding: 2%;
    width: 26%;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
}

.tut-current-post {
    color: red;
}

figcaption.wp-caption-text {
    font-style: italic;
    margin-bottom: 10px;
}

.debai {
    background: #d8cfcf;
    margin: 10px 0px;
    padding: 10px;
}

#footer {
    background: none repeat scroll 0 0 #f1f1f1;
    color: black;
    padding: 20px 0;
    width: 100%;
}

.footer-left {
    background: none repeat scroll 0 0 #fff;
    float: left;
    height: 300px;
    margin: 5px 0 0;
    padding: 2%;
    width: 28%;
    word-wrap: break-word;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
}

.footer-middle {
    background: none repeat scroll 0 0 #fff;
    float: left;
    height: 300px;
    margin: 5px 2% 0;
    padding: 2%;
    width: 28%;
    word-wrap: break-word;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
} 

.footer-right {
    background: none repeat scroll 0 0 #fff;
    float: right;
    height: 300px;
    margin: 5px 0 0;
    padding: 2%;
    width: 28%;
    word-wrap: break-word;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
}


#footer .site-info {
    background: none repeat scroll 0 0 #fff;
    margin: 20px 0;
	box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
}

#footer-widgets {
    margin-bottom: 20px;
}

a {
    color: #2EA2CC;
    text-decoration: none;
}

a.readmore {
    background: none repeat scroll 0 0 #2EA2CC;
}

a.readmore:hover{
    background: none repeat scroll 0 0 black;
}

#footer .widgettitle {
    color: black;
}

#footer a {
    color: #2EA2CC;
}

.post-item {
    background: none repeat scroll 0 0 #ffffff;
    margin-bottom: 30px;
    border: 0px solid rgba(0, 0, 0, 0.15);
    padding-top:0;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
}


.post-entry {
    padding: 20px;
    overflow: hidden;
    min-height: 200px;
}

.postmetadata {
    background: none;
    border: 0 none;
    clear: none;
    margin: 0 0 0 -5px !important;
    padding: 5px 0px 15px 0px;
}

.space-postmetadata {
    clear: both;
    height: 20px;
}

.widgettitle {
    background: none repeat scroll 0 0 #fff;
    color: black;
    font-size: 1.7em;
    margin: 0 0 10px;
    padding: 5px 0;
}

.search-form {
    padding: 0;
}

.search-field {
    margin: 0;
    width: 68%;
    height: 35px;
    border: 1px solid #eee !important;
}
.search-submit {
    height: 40px;
    width: 25%;
}

.widget {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-bottom: 0 solid #eee;
    margin: 0 0 20px;
    padding: 0 0 10px;
}

#footer .widget {
    border-bottom: 0 solid #fff;
    margin: 15px 0 0;
}
.wp-post-image, .single-image {
    float: left;
    margin: 0;
    padding: 0;
    width: 25%;
    margin-right: 15px;
}


.easy-table tbody tr:hover td,
.easy-table tbody tr:hover th {
background-color: #ffffff;
}

.item-tut {
    float: left;
    height: 300px;
    margin: 2%;
    text-align: center;
    width: 29%;
}

.item-tut-image {
    width:230px;
    height:200px;
}
.item-tut-beginline {
    clear:both;
}

.item-group {
    clear:both;
}

.row {
    clear: both;
    width: 100%;
}
.col {
    float: left;
    margin-left: 4%;
    text-align: justify;
    width: 48%;
}
.first-col {
    clear: both;
    margin: 0 !important;
}

div#jp-relatedposts {
    clear: both;
}

.syntaxhighlighter {
    clear: both;
}


#subscribe-email {
    float: left;
    font-size: 20px;
    width: 65%;
}
#subscribe-submit {
    clear: right;
    float: left;
    font-size: 20px;
    text-align: justify;
    width: 30%;
}


.cat-list-three {
    background: none repeat scroll 0 0 white;
}


/* port */


.post-title {
    clear: none;
     margin: 0; 
}

.my-recent-posts {
    background: none repeat scroll 0 0 #fff;
    float: left;
    height: 190px;
    margin-bottom: 20px;
    padding: 5% 0 0 5%;
    width: 95%;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
}

/*Perfect Related post by Category without plugin*/

#related_posts {
    width: 60%;
}

#related_posts > ul {
    list-style: outside none none;
}

.relatedposts-item {
    float: left;
    margin: 0;
    padding: 1%;
    width: 23%;
}
.relatedposts-thum img {
    height: 160px;
    padding: 0;
    width: 90%;
}
.relatedposts-title > h4 {
    font-size: 1.1em;
}

#comments {
    background: #fff none repeat scroll 0 0;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    clear: both;
    padding: 3%;
    width: 94%;
    word-wrap: break-word;
}

input[type="submit"], input[type="reset"] {
    background: none repeat scroll 0 0 #2EA2CC;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
}

.post-content {
    background: none repeat scroll 0 0 #fff;
    margin-bottom: 30px;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
}


/* page */

.page-title {
    background: none repeat scroll 0 0 #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.15);
    margin: 0 0 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
}

.page-content {
    background: none repeat scroll 0 0 #fff;
    margin-bottom: 30px;
    padding: 3%;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
}


/*.adsense {
    background: none repeat scroll 0 0 #fff;
    padding: 3% 0 0;
    text-align: center;
    width: 100%;
	margin-top: 73px;
}*/

.adssen {
    margin: 0px 0px 10px 0px;
}

.ads-title {
    margin-top: -15px !important;
}

.adssen-item-post {
    background: #fff none repeat scroll 0 0;
    border: 0 solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
    padding: 15px 0;
}

.ads-in-single-post {
    text-align: center;
}

.adssen-pc{
    display: block; 
}

.adssen-mobile {
    display: none;		
}

.adssen-in-post {
	margin-bottom:20px;
	margin-top: 20px;
}

/* icon*/
.icon {
    color:#bcbcbc;
    padding: 2px 0px 2px 10px;
}


/* page-nav*/
.pagination {
clear:both;
padding:20px 0;
position:relative;
font-size:11px;
line-height:13px;
}

.pagination span, .pagination a {
    background: none repeat scroll 0 0 #2ea2cc;
    color: #fff;
    display: block;
    float: left;
    font-size: 14px;
    margin: 2px 5px 2px 0;
    min-width: 15px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    width: auto;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
}

.pagination a:hover{
color:#fff;
background: #333;
}

.pagination .current{
padding:15px;
background: #333;
color:#fff;
}

.topbutton {
	height:50px;
	width:50px;
	position:fixed;
	right:30px;
	bottom:30px;
	z-index:1;
	background-color: #2EA2CC;
	background-repeat:no-repeat;
	display:none;
	box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
	border-radius: 50%;
}
a.topbutton:hover {
    background-color: #bcbcbc;
}

/*mobile*/

@media screen and (max-width: 767px) {
	
	.adssen-pc{
	    display: none; 
	}
	
	.adssen-mobile {
	    display: block;		
	}
		
	body {
	    font-size: 1em;
	    line-height: 1.2em;
	}
	body.custom-background {
	    background-image: none !important;
	}
	#container {
	    padding: 0;
	    width: 96%;
	}
	#content, #content-full {
	    padding: 10px 0;
	    width: 100%;
	}
	
	#header-first {
	    padding: 10px 0;
	    width: 100%;
	}
	
	#header-first .logo {
	    text-align: center;
	    width: 100%;
	}
	#header-first .logo h1 {
	    font-size: 2em;
	    text-align: center;
	}
	#header-first .logo h5 {
	    font-size: 1em;
	    padding: 0;
	    text-align: center;
	}
	#header-first .logo img {
	    padding: 0;
	}
	#header-second .image-homepage {
	    margin: 0 0 10px;
	    width: 100%;
	}
	#header-second .sidebar-homepage {
	    float: left;
	    width: 100%;
	}
	#header-second .widget {
	    padding: 0 3%;
	}
	#header-second .widgettitle {
	    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
	    padding: 0;
	}

    #header-third {
        background: white none repeat scroll 0 0;
        clear: both;
        float: left;
        margin: 10px 0;
        padding: 0 2%;
        width: 96%;
    }

	#header-third .search-title {
	    margin: 0;
	    width: 100%;
	}
	#header-third .search-form {
        float: left;
        text-align: center;
        width: 100%;
    }
	#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;
	}
	#categories-four ul:nth-of-type(2n+1) {
	    clear: left;
	}
	#categories-four ul:nth-of-type(2n+2) {
	    margin: 0 0 10px;
	}
	.cat-list-three {
	    margin: 0 2% 10px 0;
	    padding: 10px 1%;
	    width: 47%;
	}
	.cat-list-four {
	    margin: 0 2% 10px 0;
	    padding: 10px 1%;
	    width: 47%;
	}
	#sidebar {
        width: 96%;
    }
	.widget {
	    margin: 10px 0;
	}
	
	#footer {
	    padding: 30px 0;
	    width: 100%;
	}
	#footer .widget {
	    margin: 5px 0;
	}
	#footer .widgettitle {
	    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
	    padding: 0;
	}
	.footer-right, .footer-middle, .footer-left {
    	    float: left;
    	    height: auto;
    	    margin: 0;
    	    padding: 0;
    	    width: 100%;
	}
	
	.footer-left .widget_text, .footer-right .widget_text, .footer-left .widget_nav_menu, .footer-middle .widget_text {
	    padding: 0 20px;
	}
	
	.post-title, .page-title, #header-third .search-title, .widgettitle, #footer .widgettitle, .comments-title, .comment-reply-title, .no-comments {
	    font-size: 1.3em;
	}
	.wp-post-image, .single-image {
	    margin: 0.3em 0.5em 0.3em 0;
        width: 100%;
        margin-bottom: 15px;
	}
	.nav-head ul {
	    display: none;
	}
	.nav-head {
	    margin: 5px 0 0;
	    width: 100%;
	}
	.nav-head select {
	    background: none repeat scroll 0 0 #08a0ff;
	    border: 0 none;
	    color: #fff;
	    display: block;
	    font-size: 1em;
	    height: 35px;
	    line-height: 1.2em;
	    margin: 0 auto;
	    width: 97%;
	}
	
}
.notify {
    clear: both;
    text-align: center;
    background: #E7F9E0;
    color: #41a3cc;
    padding: 10px;
    font-size: 19px;
}

.notify span {
    color: #F44336;
}