/*
		Theme Name: Generic Blue
		Description: Тема для WordPress.
		Author: Boolean
		Author URI:
		Version: 1.0.0
*/
*, *::before, *::after {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
body {
	font-family: Arial, sans-serif;
	font-size: 12pt;
	color: #666;
	background-color: #fff;
}


a {
	color: #0077dd;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}


/* Header */
#header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	position: relative;
	background: #004778 url('images/a5.gif') bottom left repeat-x;
	padding: 15px 20px;
}
.h_logo {
	margin: 10px 0;
	color: #fff;
	font-size: 2.2em;
	font-weight: bold;
	text-decoration: none;
}
.h_desc {
	max-width: 340px;
	color: #E0E8EF;
	font-size: 0.8em;
}
.h_desc-sharewood {
	color: #fff;
	font-size: 18px;
	text-decoration: none;
}
.h_desc-sharewood:hover {
	text-decoration: underline;
}



/* Secondary Content */
#secondaryContent {
	position: relative;
	float: left;
	width: 320px;
	padding: 20px;
	background: #fff url('images/a1.gif') top right repeat-y;
}
#secondaryContent .xbg {
	position: absolute;
	right: 0em;
	bottom: -64px;
	background: #fff url('images/a3.gif') top right no-repeat;
	height: 64px;
	width: 128px;
}



/* Content */
#content {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	justify-content: space-between;
	-ms-align-items: flex-start;
	align-items: flex-start;
	width: 100%;
	max-width: 1200px;
	padding-left: 15px;
	padding-right: 15px;
	margin: auto;
	line-height: 1.5em;
}
#content p {
	margin-bottom: 1.5em;
}
#content h1,h2,h3,h4,h5,h6 {
	color: #545454;
	margin-bottom: 1em;
	border-bottom: dashed 1px #dfdfdf;
	padding-bottom: 0.3em;
	font-weight: bold;
}
#content h2 {
	font-size: 1.5em;
	font-weight: bold;
}
#content h3 {
	font-size: 1.1em;
	font-weight: bold;
}
#content ul {
	padding-left: 1em;
	list-style: square;
}
#content blockquote {
	margin-bottom: 1.5em;
	padding: 0.75em 0.75em 0.75em 1.5em;
	border-left: solid 0.75em #005082;
	background: #FDFDFD url('images/a7.gif') top left repeat-x;
}
#content blockquote p {
	margin-bottom: 0em;
}
#content table {
	width:100%;
	margin-bottom: 1.5em;
	border-collapse: collapse;
	text-align: left;
}
#content table th {
	font-weight: bold;
	padding: 0.5em;
}
#content table td {
	padding: 0.5em;
	border-right: solid 1px #fff;
}
#content img {
	max-width: 100%;
	height: auto;
}

.source {
	padding-top: 24px;
	padding-bottom: 8px;
	font-size: 12px;
}


.good-choice {
    margin-bottom: 24px;
}
.good-choice img {
    display: block;
    width: 100%;
    height: auto;
}



/* Primary Content */
#primaryContent {
	background-color: #fff;
	width: calc(100% - 350px);
	padding: 40px 0;
}
#primaryContent table th {
	color: #fff;
	background: #006192 url('images/a8.gif') top left repeat-x;
	border-right: solid 1px #fff;
}

#primaryContent table tr:nth-of-type(2n) {
	background: #F8F8F8 url('images/a6.gif') top left repeat-x;
	border-top: solid 1px #fff;
	color: inherit;
}

#primaryContent table tr {
	background: #FDFDFD url('images/a7.gif') top left repeat-x;
	border-top: solid 1px #fff;
	color: inherit;
}


/* Footer */
#footer {
	position: relative;
	z-index: 1;
	border-top: dashed 1px #dfdfdf;
	padding: 1em 0em 2em 0em;
	margin: 1em 2em 0em 2em;
	text-align: center;
}


/* loop post -------------------------------------- */
.post {
	margin-bottom: 30px;
}
.post-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	-ms-align-items: flex-start;
	align-items: flex-start;
}
.post-thumb {
	width: 300px;
}
.post-thumb img {
	display: block;
	width: 100%;
	height: auto;
}
.post-info {
	width: calc(100% - 330px);
}
.post-title {
	margin-bottom: 20px;
	font-size:24px;
	line-height: 1.2;
}
.post-title a {
	color: #004778;
}
.meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	-ms-align-items: flex-start;
	align-items: flex-start;
	padding: 5px 0;
}
.date {
	margin-left: 20px;
	margin-right: auto;
}
.more a {
	display: block;
	padding: 2px 8px;
	border: 1px solid #dfdfdf;
	background-color: #dfdfdf;
	color: #000;
	font-size: 14px;
	text-decoration: none;
	transition: all .2s ease;
}
.more a:hover {
	background-color: #004778;
	color: #fff;
}
.post-googoo {
	margin-bottom: 15px;
}
.post-googoo ins {
	max-width: 100%;
}

.widgettitle {
	font-size:16px;
	font-weight:normal;
	margin-bottom:5px;
}
#secondaryContent ul.widgets ,
#tertiaryContent ul.widgets {
	margin:0;
	padding:0;
}
#tertiaryContent li.widget,
#secondaryContent li.widget {
	list-style-type:none;
	padding-bottom:20px;
}
li.widget:last-child {
	margin-bottom:0;
}

/* Pagination */
.pagination {
	margin-bottom:20px;
	padding-top:20px;
}
.pagination a:hover {
	color:#000;
	text-decoration:none;
}
.pagination a {
	font-size:12px;
	text-decoration:none;
	color:#000;
}
.pagination span, .pagination span.current, .pagination a:hover {
	background:#F2F2F2 url("images/page-numbers.png") repeat-x;
	border:1px solid #9E9E9E;
	color:#000;
	padding:5px 10px;
	text-decoration:none;
	font-size:12px;
	border-radius:3px;
}
.pagination a {
	background:#FFF url("images/page-numbers-unlink.png") repeat-x;
	border:1px solid #9E9E9E;
	color:#545454;
	padding:5px 10px;
	text-decoration:none;
	border-radius:3px;
}
.wp-paginater1 {
	border:0;
	color:#FFF;
	float:left;
	width:50% !important;
	margin:-100% 0 0 0;
	overflow:hidden;
	line-height:0;
	padding:0;
	font-size:11px;
}


.author-card {
    display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	border: 1px solid rgba(0, 0, 0, .2);
	padding: 8px;
	border-radius: 54px 4px 4px 54px;
	margin-top: 16px;
	margin-bottom: 32px;
}
.author-image {
    display: block;
    width: 100px;
    border-radius: 50%;
    overflow: hidden;
}
.author-content {
    width: calc(100% - 120px);
    padding-top: 4px;
    font-size: 17px;
}
.author-title {
    font-size: 20px;
}
.author-name {
    font-size: 18px;
}
#content p.author__details {
    padding-top: 8px;
    margin-bottom: 0;
}


/* Comments list */
#primaryContent .commentlist {
	padding:0;
	margin:0;
	text-align:justify;
}
#comments .commentlist li .avatar {
	background:none repeat scroll 0 0 #FFF;
	border:1px solid #EEE;
	float:left;
	margin-right:10px;
	padding:2px;
}
#comments .commentlist li.comment {
	list-style:none outside none;
	margin:15px 0 10px;
	min-height:72px;
	padding:6px;
}
#comments .commentlist li.post {
	list-style-type:none;
}
.commentlist li.comment ul li.comment {
	margin-left:10px;
	margin-right:-5px;
}
.commentlist p {
	margin:10px 5px 10px 0;
}
.children {
	padding:0;
}
.odd {
	background:#F8F8F8;
}
.even {
	background:#FFF;
}
.depth-1 {
	border:1px solid #DDD;
}
.even, .alt {
	border:1px solid #DDD;
}

/* Forms */
.comment-respond input, .comment-respond textarea {
	width: 100%;
	height: 32px;
	border-color:#CCC #EEE #EEE #CCC;
	border-style:solid;
	border-width:1px;
	outline: none;
	padding-left: 12px;
}
.comment-respond textarea {
	height: 80px;
	resize: none;
}
.comment-respond input[type="submit"] {
	display:block;
	width: 240px;
	height:44px;
	border: none;
	background: url(images/a5.gif) top left repeat-x;
	color: #fff;
	text-align:center;
	text-decoration:none;
	cursor: pointer;
}
.comment-respond input[type="submit"]:hover {
	background: #004778;
}
form p {
	display:block;
	margin-bottom:10px;
}
label {
	display:block;
}
.required {
	color:#FC0000;
	font-weight:bold;
}
#searchform {
	width:100%;
	padding-left:10px;
}
#searchform input[type=text]{
	background: url(images/search.png) right 5px no-repeat;
	padding:5px;
	width:95%;
	border-color: #CCCCCC #EEEEEE #EEEEEE #CCCCCC;
	border-style: solid;
	border-width: 1px;
	margin-left: -10px;
}

.wp-caption {
	padding-bottom: 8px;
}
.wp-caption-text {
	color:#555;
	font-size: 10pt;
}

/* Aligments */
.alignleft {
	float:left;
	margin-right:10px;
	margin-top:5px;
}
.alignright {
	float:right;
	margin-left:10px;
	margin-top:5px;
}
.aligncenter {
	display:block;
	margin:5px auto;
	text-align:center;
}
.attachment a {
	border-bottom: medium none;
}






.category__description {
    margin-top: 32px;
    margin-bottom: 48px;
    border: 1px solid rgba(0, 0, 0, .2);
    padding: 12px;
    border-radius: 8px;
}









/* Sidebar ------------------------------------------------------------------------------- */
.side__box {
	margin-bottom: 34px;
}
.side__head {
	margin-bottom: 16px;
	color: #222;
	font-size: 18pt;
}
.side__search {

}


#content .side__nav ul {
	list-style: none;
	padding-left: 0;
}
.side__nav ul li {
	padding: 4px 0;
	border-bottom: 1px dotted #e5e5e5;
}
.side__nav ul a {
	display: inline-block;
	vertical-align: top;
	padding: 0 8px;
	font-size: 13pt;
}


.side-popular__list {
    padding-bottom: 8px;
}
.side-popular__item {
    padding-bottom: 20px;
}
.side-popular__link {
    display: block;
    margin-bottom: 4px;
    text-decoration: none;
}
.side-popular__thumb {
    display: block;
    width: 100%;
    margin-bottom: 4px;
    position: relative;
}
.side-popular__thumb-ins {
    display: block;
    width: 100%;
    padding-top: 48%;
    position: relative;
}
.side-popular__thumb-ins img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}
.side-popular__title {
    display: block;
    font-size: 18px;
    line-height: 1.3;
}
.side-popular__link:hover .side-popular__title {
    color: #000;
}
.side-popular__excerpt {
    font-size: 13px;
    line-height: 1.3;
}






/* ==============================================================
	 ========================  MEDIA  =============================
	 ============================================================== */
@media screen and (max-width:1200px) {

	#secondaryContent {width: 240px;padding: 20px 10px;}
	#primaryContent {width: calc(100% - 260px);}

}



@media screen and (max-width:900px) {

	#secondaryContent {width: 190px;padding: 20px 10px 20px 0;}
	#primaryContent {width: calc(100% - 205px);}

	.post-thumb {width: 200px;}
	.post-info {width: calc(100% - 210px);}
	.post-googoo {display: none;}

}


@media screen and (max-width:700px) {

	#secondaryContent, #primaryContent {width: 100%;}
	#secondaryContent {order: 1;background: none;}
	#secondaryContent .xbg {display: none;}

}


@media screen and (max-width:500px) {

	.alignleft {float: none;margin: 0 auto 12px;}

	.post-box {display: block;}
	.post-thumb {width: 290px;margin: 0 auto 12px;}
	.post-info {width: 100%;}
	.post-title {margin-bottom: 4px;}

}


@media screen and (max-width:400px) {

	.alignleft, .alignright {float: none;display: block;margin: auto;}

}
