/*
 Theme Name:   ColorMag Child
 Theme URI:    Unpublished
 Description:  ColorMag Child Theme
 Author:       Sysprogs OÜ
 Author URI:   http://sysprogs.com
 Template:     colormag
 Version:      1.0.0
 License:      GNU General Public License, version 3 (GPLv3)
 License URI:  http://www.gnu.org/licenses/gpl-3.0.txt
 Tags:         light, white, two-columns, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options
 Text Domain:  colormag-child
*/

#content .post.latest .article-content { padding: 10px; }
.latest .entry-content p { margin-bottom: 5px; }
#content .post.latest .article-content .below-entry-meta { padding-bottom: 5px; }

.cat-links a {
   color: #888888;
}

.cat-links a:hover {
   color: #289dcc;
}

#content .post .article-content .below-entry-meta .cat-links,
.blog .post .article-content .below-entry-meta .cat-links {
   padding-right: 10px;
}

#content .post .article-content .below-entry-meta .cat-links .fa,
.blog .post .article-content .below-entry-meta .cat-links .fa {
   color: #888888;
   padding-right: 5px;
   font-size: 11px;
}

#content .post .article-content .below-entry-meta .cat-links a,
.blog .post .article-content .below-entry-meta .cat-links a {
  font-size: 12px;
}

#header-text-nav-wrap {
	padding: 8px 0;
}

#header-logo-image img {
	margin-bottom: 0;
	margin-top: 0;
	height: 25px;
	width: auto;
}

@media screen and (max-width:768px) {
   #header-right-section  {
      float: right;
   }

#header-left-section {
      margin-bottom: 0;
   }

#header-text-nav-wrap {
      padding: 10px 0;
   }
}

.main-navigation li.menu-item-has-children > a:after,
.main-navigation li.page_item_has_children > a:after {
   content: "";
   display: none;
}

.main-navigation li li.menu-item-has-children > a:after,
.main-navigation li li.page_item_has_children > a:after {
   content: "";
   display: none;
}

#site-navigation
{
	border-top: 0px !important;
}

.no-results, .not-found {
	padding: 15px;
}

#secondary .widget-title {
	border-bottom: 0px !important;
	background: #1E73BE;
}

#secondary .widget-title span {
	background: transparent !important;
}

#main {padding-top: 0px; padding-bottom:0px;}
#secondary {padding-top: 30px;}

#content .post .article-content .below-entry-meta {
    padding-bottom: 10px;
}

#content .post {box-shadow: none;}
#content .post .above-entry-meta { font-size: 14px; }
header.page-header {padding-top:15px; padding-left:15px;padding-right:15px;}

.page-header .page-title span {
    padding: 0px 12px;
}

.page-title span a {color:#333;}

body.single ul.default-wp-page {display:none;}

.taxonomy-description {display: none;}

.page-title span {background-color:transparent !important;}
.page-title {border-bottom:0px !important; margin-bottom: 0px !important;}
.tag .page-title, .category .page-header .above-entry-meta { background-color: #2A2A2A; color: #fff; }
.category .page-header .above-entry-meta { background-color: #2A2A2A; color: #fff; }
.category .page-header .above-entry-meta  a {
	color:#fff;
}

.category .page-header .above-entry-meta  span{
	padding: 0px 12px;
}

.above-entry-meta a {
	color:#333;
}

.above-entry-meta a:hover {
    color: #1E73BE;
}

.archive #content .post:nth-child(2n+1), .archive #content .post:nth-child(2n) {
   float: none;
   width: 100%;
   clear: none;
}

.archive #content .post:first-child .article-content .entry-title, #content .post .article-content .entry-title {
   font-size: 22px;
}

.blog .post:nth-child(2n), .search .post:nth-child(2n) {
   float: none;
   width: 100%;
   clear: none;
}

.blog .post:nth-child(2n+1), .search .post:nth-child(2n+1)  {
  float: none;
  width: 100%;
}

.post .featured-image {
	display: none;
}

.more-link { float: right; }

#content .post { margin-bottom: 0px; }

article.post { border-bottom: 1px solid #E2E2E2; }
.post .entry-content { margin-bottom: 0px; }
#content .post img { margin-top: 1em; margin-bottom: 1em; align: center; }

/*-[ Featured ]---------------------------*/
.featured-thumbnail-placeholder { width: 640px; height: 640px; }
#content .excerpt { border: 1px solid #E2E2E2; }
#content .excerpt img { margin-top: 0px; margin-bottom: 0px; }
#content .post .featured-excerpt .below-entry-meta { padding-bottom: 0px; display: none; }
#content .post .featured-excerpt .entry-title a { color: #f1f1f1; }
#content .thirdpost .featured-excerpt .entry-title a, #content .secondpost .featured-excerpt .entry-title a { font-size: 14px; }
#content .post .featured-excerpt { padding: 2%; }
.thirdpost .entry-content, .secondpost .entry-content { display: none; }

.featuredBox {
    padding: 2.2%;
    overflow: hidden;
	max-width: 964px;
	margin: auto;
}

.firstpost {
    float: left !important;
    margin-bottom: 0;
    max-width: 640px;
    max-height: 320px;
    width: 67% !important;
    position: relative;
    overflow: hidden;
}

.secondpost, .thirdpost {
    margin-left: 2%;
    max-width: 300px;
	    max-height: 150px;
    width: 33% !important;
    position: relative;
    overflow: hidden;
}

#content .secondpost {
    float: left !important;
    margin-bottom: 1.6%;
}

#content .thirdpost {
    float: left !important;
}

.thirdpost:last-child { margin-right: 0 }
#first-thumbnail {
    width: 100%;
    max-width: 550px;
}
#second-thumbnail {
    width: 100%;
    max-width: 380px;
}
.featured-excerpt {
    position: absolute;
    bottom: 0;
    width: 96%;
    margin: 0;
    padding: 3%;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
}

.featured-title {
    font-size: 18px;
    font-weight: 700;
    clear: both;
    display: block;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.secondpost .featured-title {
    font-size: 15px;
    line-height: 1.3;
}
.f-excerpt { font-size: 14px }
.thirdpost .featured-title {
    font-size: 10px;
    line-height: 1.3;
}

.frontTitle, .page-header .page-title, .category .page-header .above-entry-meta {
    line-height: 36px;
    font-size: 18px;
}

.frontTitle {
    background: #2A2A2A;
    color: #FFFFFF;
    padding: 2px 0 2px 15px;
}

.frontTitle a {
	color: #FFFFFF;
}

@media screen and (max-width:1075px) {
    .featuredBox { max-width: 640px; } 
    .firstpost {
        width: 100% !important;
        margin-right: 0px;
        margin-bottom: 15px !important;
    }
    .f-excerpt { display: none }
    .secondpost {
        width: 49% !important;
        float: left;
		margin-left: 0px;
		margin-bottom: 0px;
    }
    .secondpost .featured-title { font-size: 10px }
    .thirdpost {
        width: 49% !important;
        float: right;
        margin-right: 0px;
        margin-left: 2%;
    }
    .thirdpost img { width: 100% }
}

@media screen and (max-width:700px) {
    .firstpost, .secondpost, .thirdpost {
        width: 100% !important;
		max-width: 100%;
		margin-left: 0px;
		margin-top: 2%;
		margin-bottom: 0px !important;
	}
	
	.secondpost, .thirdpost {
        width: 100% !important;
		max-width: 300px;
		margin-left: 0px;
		margin-top: 2%;
		margin-bottom: 0px !important;
	}
}

@media screen and (max-width:600px) {
    .featured-thumbnail img { width: 100% }
}

@media screen and (max-width:481px) { 
    .single-title, .page h1.title {
        font-size: 20px;
        line-height: 1.3;
    }
    .title { font-size: 14px }
    .post.excerpt .post-content { overflow: visible }
    .featured-title { font-size: 14px }
}

/* KNOWLEDGE BASE TEMPLATE */
#categories-three {clear:both; margin:10px 0 0;}
#categories-three:after {content:''; display:block; clear:both;}

.cat-list-three {
	width:30%;
	margin:0 2% 20px 0 !important;
	padding:10px 1%;
	float:left;
	list-style-type: disc !important;
}

.cat-list-three a, .cat-list-three li a {
	color:#444;
}

.cat-list-three a:hover, .cat-list-three li a:hover {
    color: #1E73BE;
}

#categories-three ul:nth-of-type(3n+1) {clear:left;}
#categories-three ul:nth-of-type(3n+3) {margin:0 0 20px 0  !important;}

.cat-name {margin:0 0 5px; list-style:none; font-size:1.2em; line-height:1.2em; font-weight:bold; padding:0 0 10px;}
.cat-name a:hover{text-decoration:none; color:#444;}
.post-name {margin:0 0 0 20px;}

/* MOBILE */
@media screen and (max-width:767px) { 
	/* 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-three ul:nth-of-type(2n+1) {clear:left;}
	#categories-three ul:nth-of-type(2n+2) {margin:0 0 10px 0;}
	.cat-list-three {width:100%; margin:0 2% 10px 0; padding:10px 1%;}
}

.share_table td {
	border: 0px;
}

.share_table {
	font: 100% arial;
}