/*
 * built with boostrap3 
 * @navbar-height: 30px
 * @nav-link-padding: 7px
 */

i {
    margin-right: 4px;
}

h1 {
    margin-bottom: 20px;
}

h1 i {
    margin-right: 7px;
}

blockquote p {
    font-size: 14.5px !important;
    line-height: 1.3 !important;
}

/* fix navbar blik issue on chrome windows */
.navbar {
    -webkit-backface-visibility: hidden;
}

#body-content ul ul, 
#body-content ol ul,
#body-content ul ol,
#body-content ol ol {
    margin-bottom: 5px;
}

.navbar ul, .navbar ol {
    line-height: 1.42 !important;
}

p, #body-content ul, #body-content ol {
    line-height: 1.6;
}

hr {
    border-top: 1px solid #ccc;
}

img {
    max-width: 100%;
    height: auto;
    /*
    display: block;
    margin-left: auto;
    margin-right: auto;
    */
}

.fcon-article img {
    display: block;
    padding: 4px;
    line-height: 20px;
    border: 1px solid #ddd;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.fcon-lastmod-box {
    margin-top: -10px;
    margin-bottom: 20px;
}

.fcon-top-icon-hidden {
    display: none;
}

.fcon-top-icon:hover {
    display: inline;
}

.fcon-404-info-bigger {
    margin-top: 30px;
    font-size: 100px;
    text-align: center;
}

.fcon-404-info {
    font-size: 50px;
    text-align: center;
}

#disqus_thread {
	margin-top: 30px;
}

#fcon-cse-wrapper {
    margin-right: 20px;
}

#fcon-cse-header-box {
    position: absolute;
    margin-top: 3.5px;
    margin-left: -172px;
}

#fcon-cse-search-input {
	width: 150px;
    height: 20px;
    padding: 1px 3px;
}

#fcon-cse-ctrl-box {
    color: #999;
    margin-top: 6px;
    cursor: pointer;
}

#fcon-cse-search-image {
    margin: 2px 3px 0 5px;
}

.fcon-clearfix {
    height: 0;
}

/*
.fcon-index-article a:hover {
	text-decoration: none;
    color: white;
    background-color: #428bca;
    display: inline-block;
}
*/

.fcon-meta {
    margin-bottom: 35px;
}

.fcon-meta a, .fcon-meta-index a {
    color: #333;
}

.fcon-meta-tag {
    padding-left: 10px; 
}

.fcon-meta-tag a, .fcon-meta-tag-index a {
    margin-right: 6px;
    display: inline-block;
}

.fcon-meta-category-index, .fcon-meta-tag-index {
    margin-right: 10px;
}

.fcon-meta-index {
    margin: 8px 0;
}

.fcon-meta-date-index {
    font-size: 14px;
    margin-right: 10px;
}

.fcon-index-title {
    margin-bottom: 20px;
}

.fcon-index-date {
    
}

.fcon-index-article {
    margin-top: 25px;
    margin-bottom: 10px;
}

.fcon-index-article-title {
	font-size: 25px;
}

.fcon-footer {
    clear: both;
}

.fcon-footer hr {
	margin: 8px 0;
}

.fcon-footer p {
	padding: 0;
	margin: 5px 0;
    line-height: 1.42 !important;
}

.tagcloud-list {
    line-height: 1.4;
}

.fcon-button {
	margin-left: 5px;
}

.fcon-icons a {
    text-decoration: none;	
}

.fcon-category-list {
    padding-left: 5px;
}

.fcon-category-list li {
    list-style: none;
}

a.fcon-toggle-ctrl {
    /* border: 1px solid #999;*/
    height: 28px;
    font-size: 18px;
    padding-left: 5px;
    cursor: pointer;
    display: block;
    color: #333;
    width: 100%;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 2px;
}

a.fcon-toggle-ctrl:hover {
    text-decoration: none;
    color: white;
    background-color: #428bca;
}

#fcon-archives {
    font-size: 15px;
}

#fcon-archives ul {
  margin-bottom: 5px; 
  padding-left: 25px;
}

#fcon-archives li {
  list-style: none;
}

#fcon-archives li span {
    margin-right: 10px;
}

#fcon-tagcloud {
	margin-top: 15px;
}

#fcon-tagcloud-filter-input {
	width: 40%;
}

#fcon-tagcloud ul {
    padding: 0;	
}

#fcon-tagcloud a {
    display: inline-block;
}

#fcon-tagcloud a:hover {
	text-decoration: none;
	color: white;
	background-color: #428bca;
}

#fcon-tagcloud li {
	display: inline;
}

#fcon-tagcloud li, .dropdown-toc li {
	list-style: none;
}

.dropdown-toc a {
	padding: 3px 0 5px 5px;
	color: #333;
	display: list-item;
}

.dropdown-toc a:hover {
	color: white;
	background-color: #428bca;
	text-decoration: none;
}

.dropdown-toc .dropdown-menu {
	max-height: 500px;
	overflow: auto;
}

.dropdown-toc > ul {
    min-width: 200px;
}

.dropdown-toc > .dropdown-menu ul {
    padding-left: 10px;
}

.dropdown-toc > .dropdown-menu > li > a {
    padding-left: 10px;
}

.fcon-page, .fcon-content {
	padding-top: 30px;
}

.fcon-page h1, .fcon-article h1 {
}

.fcon-article {
	padding-top: 45px;
    margin-bottom: 25px;
}

h1.fcon-heading {
}

/* fix headings covered by fixed header problem */
h1:before, h2:before, h3:before,
h4:before, h5:before, h6:before {
	display: block;
    content: "";
    height: 45px;
    margin: -45px 0 0;
}

@media (max-width: 767px) {

.dropdown-toc > .dropdown-menu > li > a {
    padding: 5px 10px 5px 10px !important;
}

.fcon-index-date {
	display: none;
}

#fcon-cse-wrapper {
    margin-right: 20px;
    padding-bottom: 10px;
    width: 140px;
}

#fcon-cse-header-box {
    position: relative;
    margin-top: 2.5px;
    margin-left: -8px;
}

#fcon-cse-search-input {
    width: 150px;
    position: absolute;
    margin-left: -3px;
    margin-top: -12px;
}

#fcon-cse-ctrl-box {
    color: #999;
    position: absolute;
    margin-top: -20px;
    margin-left: 3px;
}

#fcon-cse-search-text {
    display: none;
}

.dropdown-toc a {
    color: #999;
}

}

@media (max-height: 300px) {
/* 2 levels at most */
.dropdown-toc li li li {
    display: none !important;
}

}

