/*
Theme Name: My theme Colormag
Template: colormag
Description: Дочерняя тема для темы colormag
Author: Denis Povaga
Version: 2022
*/

h1 { font-size: 42px; line-height: 1.2; word-wrap: normal; }
h2 { font-size: 28px; line-height: 1.2; }
h3 { font-size: 26px; line-height: 1.2; }
h4 { font-size: 24px; line-height: 1.2; }
h5 { font-size: 18px; line-height: 1.2; }
h6 { font-size: 16px; line-height: 1.2; }
 

/* tags*/
.taxonomy-description h1 {font-size: 32px;line-height: 1.2; }


/* =TEXT ELEMENTS
----------------------------------------------- */
p {
	line-height: 1.6;
	margin-bottom: 15px;
	font-family: 'Open Sans', serif;
	font-size: 18px;
}


/* =BLOCKQUOTE
----------------------------------------------- */
blockquote,
.wp-block-quote,
.wp-block-quote.is-style-large,
.wp-block-quote.has-text-align-right {
	padding: 30px 30px 20px 45px;		
background: #ffffff !important;
	border-left: 4px solid #e5e5e5 !important;
	border-right: 4px solid #e5e5e5 !important;
	border-radius: 14px !important;
	margin-bottom: 24px !important;		
	color: #333;
}

blockquote p,
.wp-block-quote p,
.wp-block-quote.is-style-large p,
.wp-block-quote.has-text-align-right p {
	font-size: 18px;
	font-family: 'Open Sans', serif;
	line-height: 1.4;
	position: relative;
	padding-top: 0;
	padding-left: 15px;
}

blockquote p::before,
.wp-block-quote p::before,
.wp-block-quote.is-style-large p::before,
.wp-block-quote.has-text-align-right p::before {
	content: "\f0e6";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	color: #666;
	font-size: 32px;
	position: absolute;
	top: -27px;
	left: -27px;
}

blockquote a,
.wp-block-quote a,
.wp-block-quote.is-style-large a,
.wp-block-quote.has-text-align-right a {
	color: #fff;
	text-decoration: underline;
}

blockquote em,
blockquote i,
blockquote cite,
.wp-block-quote em,
.wp-block-quote i,
.wp-block-quote cite,
.wp-block-quote.is-style-large em,
.wp-block-quote.is-style-large i,
.wp-block-quote.is-style-large cite,
.wp-block-quote.has-text-align-right em,
.wp-block-quote.has-text-align-right i,
.wp-block-quote.has-text-align-right cite {
	font-style: normal;
}

blockquote cite,
.wp-block-quote cite,
.wp-block-quote.is-style-large cite,
.wp-block-quote.has-text-align-right cite {
	font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	letter-spacing: 0.05em;
	float: right;
}

blockquote.wp-block-quote.has-text-align-right {
	border-right: 0;
}

/* =HEADER
----------------------------------------------- */

#header-left-section {
	float: none;
	text-align: center;
	
	justify-content: center;
}

#header-logo-image {	
        float: none;
	padding-right: 0px;
}

#site-navigation {	
   background: #232323 url(img/menu_v.jpg) repeat-x 0 -2px;
}

/* =POST CONTENT
----------------------------------------------- */

.archive #content .post p {
	font-size: 16px;
}

.archive #content .post:nth-child(2n+1) {
	float: left;
	width: 48.7013%;
	clear: both;
}

.archive #content .post:nth-child(2n) {
	float: right;
	width: 48.7013%;
clear: none;
}

.archive #content .post:first-child {
	/* float: none; */
	/* width: 100%; */
    float: left;
    width: 48.7013%;
    clear: both;
}

.archive #content .post:first-child .article-content .entry-title {
	font-size: 22px;
}

.blog #content .status-publish:not(:first-child) .article-content .entry-title
 {	
	padding: 5px 0 0;
	font-size: 32px;
}

/* main-navigation
----------------------------------------------- */

.main-navigation a {
	color: #ffffff;
	display: block;
	float: none;
	font-size: 14px;
	font-weight: 600 !important;
	padding: 10px 12px;
	text-transform: capitalize;
}


.comment-content {
	padding: 15px 15px 25px;
	background-color: #fff;
	border: 1px solid #eaeaea;
	border-radius: 2px;
}

/* ul li
----------------------------------------------- */

.entry-content ul,
.entry-content ol {
	padding: 0 0 0 35px;
	margin-bottom: 25px;
}

.entry-content li > ul,
.entry-content li > ol {
	margin-bottom: 0;
}

.entry-content ul li {
	position: relative;		
	line-height: 1.7;
        list-style-image: url(img/icon.jpg);
        padding-left: 5px !important;
	font-size: 18px;
	

}

/* ol li
----------------------------------------------- */

ol {
	list-style-type: none; 
	counter-reset: num;
	margin: 0 0 0 60px;
	padding: 15px 0 5px 0 !important;
	
	position: relative;	
	margin-bottom: 10px !important;
}
ol li {
	position: relative;	
	margin: 0 0 0 0;
	padding: 0 0 20px 0;
	line-height: 1.4  !important;
	font-size: 18px  !important;
}
ol li:before {
	content: counter(num); 
	counter-increment: num;
	display: inline-block;
	position: absolute;
	top: 0;
	left: -55px;
	width: 28px;
	height: 28px;
	background: #fff;
	color: #000;
	text-align: center;
	line-height: 28px;
	font-size: 18px;
	border-radius: 50%;
	border: 1px solid #65bc54;
}

/* more-link
----------------------------------------------- */


.more-link {
	display: inline-block;
	background-color: #289dcc;
	border-radius: 3px;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	float: right;
}

.more-link span {
	font-size: 16px;
	padding: 5px 10px;
	color: #ffffff;
	display: inline-block;
}

.more-link span:hover {
	background-color: rgba(0, 0, 0, 0.1);
}


/* TG:All Posts Widget Styling */

.blog .post:nth-child(2n) {
	float: none;
	width: 100%;
			 
}

.blog .post:nth-child(2n+1) {
	float: none;
	width: 100%;
}

/* author-box
----------------------------------------------- */

.author-box {
	width: 100%;
	display: inline-block;
	padding: 10px;
	-webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
	margin-bottom: 15px;
}

/*--------------------------------------------------------------
link and Related Category sample-posts
--------------------------------------------------------------*/

#content .entry-content a {
    color: #289dcc;
}

.sample-posts ul li {
    font-size: 20px;
}

.sample-posts a {
    color: #289dcc;
}

.sample-posts a:hover {
	color:#232323;
	text-decoration:underline;
}

.sample-posts {
    padding:0;
    list-style: none;
}
.sample-posts li{
    padding:6px;
}
.sample-posts li:before {
    padding-right:10px;
  
    color: #999;
	font-family: FontAwesome;
    content: "\f1d9";
    transition-duration: 0.5s;
}
.sample-posts li:hover:before {
    color: #333;
    content: "\f1d8";
} 

.footer-socket-wrapper .copyright {
	color: #b1b6b6;
	float: left;
	font-size: 14px;
	line-height: 1.4;
}

/*--------------------------------------------------------------
toc +
--------------------------------------------------------------*/

.toc_list {
    padding:0;
    list-style: none;
}
.toc_list li{
    padding:6px;
}
.toc_list li:before {
    padding-right:10px;
    font-weight: bold;
    color: #999;
    content: "\27A9";
    transition-duration: 0.5s;
}
.toc_list li:hover:before {
    color: #333;
content: "\27AA";
}


#categories-3 {
	width: 295px;
	margin-top: 10px;
	margin-bottom:10px;
	}
#categories-3 li a {
	text-decoration: none;
	height: 36px;
   }
#categories-3 li a:link, #categories-3 li a:visited {
	color: #333333;
	display: block;
    padding: 8px 0 0 20px;
	}
#categories-3 li a:hover {
	color: #ffffff;
	background-color:#4ecdc4;
	padding: 8px 0 0 30px;
	font-weight: bold;
font-family: 'Open Sans Bold', sans-serif;
	}
#categories-3 li a:active {
padding: 8px 0 0 25px;
	}