* {
	box-sizing: border-box;
}
html {
    height: 100%;
}
body {
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 20px;
	color: #444;
	font-family: 'Roboto Condensed', Roboto, Helvetica, Arial, sans-serif;
	width: 100%;
	min-height: 100%;
}

h1 {
	font-size: 1.9em;
	line-height: 1.6em;
	margin: 0.9em 0 0.7em;
}
h2 {
	font-size: 1.7em;
	line-height: 1.4em;
	margin: 0.9em 0 1.1em;
}
h3 {
	font-size: 1.5em;
	line-height: 1.3em;
	margin: 0.7em 0 1.1em;
}
h4 {
	font-size: 1.2em;
	line-height: 1.1em;
	margin: 0.5em 0 1.1em;
}
h1 a, h2 a, h3 a {
	text-decoration: none;
}
a {
	text-decoration: underline;
}
a, a:visited, a:active {
	//color: #437DD4;
	color: #349ad5;
}
a:hover {
	text-decoration: none;
}
p {
	margin: 0 0 12px;
}
img {
	max-width: 100%;
	height: auto !important;
	margin: 0 0 2px;
	border: none;
}
pre {
    padding: 10px;
    font-size: 0.85em;
    line-height: 1.4em;
    background: #efefef;
    overflow-x: scroll;
    overflow-y: hidden;
}

.small {
	font-size: 0.85em;
}

@media all and (max-width: 700px) {
	body {		
		font-size: 14px;
		line-height: 18px;
	}
	h1 {		
		line-height: 1.3em;
		margin: 0.5em 0 0.9em;
	}
	h2 {	
		line-height: 1.2em;
		margin: 0.4em 0 0.8em;
	}
	h3 {	
		line-height: 1.1em;
		margin: 0.3em 0 0.7em;
	}
	h4 {	
		line-height: 1em;
		margin: 0.2em 0 0.6em;
	}
}

h1 a {
    color: #444 !important;
}
.site-wrapper {
	max-width: 960px;
	min-width: 320px;
	min-height: 100vh;
	margin: 0 auto;
	padding: 0 16px 50px;
	overflow: hidden;
}
.site-header {
	padding: 0 0 20px;
	text-align: center;
}
.site-header. .site-logo {
	display: inline-block;
	text-decoration: none;
}
.site-header .site-logo img {
    height: auto;
    width: 684px;
    max-width: 100%;
}
.site-menu ul {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    width: 80%;
    flex-wrap: wrap;
}
.site-menu ul li {
    margin: 10px 25px;
}
.site-menu ul li a {
    font-size: 17px;
    text-transform: uppercase;
    text-decoration: none;
}
@media all and (max-width: 700px) {
    .site-wrapper {
        min-height: 100%;
    	padding: 0 16px;
    }
    .site-menu ul {
        display: flex;
        width: 100%;
    }
    .site-menu ul li {
        margin: 5px 15px;
    }
    .site-menu ul li a {
        font-size: 14px;
    }
}
safe center


.main-site {

}
.main-site .inner {
	display: flex;
	justify-content: flex-end;
}
.main-site .main {
	width: 73%;
	padding-bottom: 20px;
}
.main-site .aside {
	width: 27%;
	padding: 10px 0 10px 28px;
}

@media all and (max-width: 700px) {
	.site-wrapper {
		padding: 14px;
	}
	.site-header {
		padding: 8px 0 14px;
	}
	.main-site .inner {
		display: block;
	}
	.main-site .main {
		width: 100%;
		padding-bottom: 14px;
	}
	.main-site .aside {
		width: 100%;
		padding: 0 0 10px;
	}
}


.cat-item {
	margin: 0 0 20px;
}
.cat-item h3 {
	margin-bottom: 4px;
}
.cat-item h3 a {
	color: #444;
}
.cat-item .date-line {
	margin: 0 0 0.7em;
	font-size: 0.95em;
	text-align: right;
	font-style: italic;
}
.cat-item .image {
	margin: 0 0 5px;
}
.cat-item .text {
	margin: 0 0 10px;
}
.cat-item .tags-line {
	margin: 0 0 6px;
	display: flex;
}
.cat-item .tags-line .tags-title {
	font-weight: 600;
	display: inline-block;
}
.cat-item .tags-line .tags {
	margin: 0; 
	padding: 0;
	list-style: none;
	display: flex;
}
.cat-item .tags-line .tags li {
	display: inline-block;
	margin: 0 4px 0 0;
	font-weight: 700;
}
.cat-item .more {
	text-align: right;
}

.article-item {
    overflow: hidden;
}
.article-item .date-line {
	margin: 0 0 0.7em;
	font-size: 0.95em;
	text-align: right;
	font-style: italic;
}
.article-item .image {
	margin: 0 0 5px;
}
.article-item .tags-line {
	margin: 0 0 6px;
	display: flex;
}
.article-item .tags-line .tags-title {
	font-weight: 600;
	display: inline-block;
}
.article-item .tags-line .tags {
	margin: 0; 
	padding: 0;
	list-style: none;
	display: flex;
}
.article-item .tags-line .tags li {
	display: inline-block;
	margin: 0 4px 0 0;
	font-weight: 700;
}
.article-item .extra-fields {
	padding: 10px 16px;
	background: #eee;
	margin: 0 0 10px;
}
.article-item .extra-fields ul {
	margin: 0;
	padding: 0;
	list-style: none;
}


.tags-cloud {
	margin: 30px 0;	
}
.tags-cloud a {
    display: inline-block;
	padding: 5px 8px;
	line-height: 1.2em;
	text-decoration: none;
}

.latest-items-block ul {
	margin: 0;
	list-style: none;
	padding: 0;
}
.latest-items-block ul li {
	margin: 0 0 16px;
}
.latest-items-block ul li h4 {
	margin: 0 0 0.7em;
}
.latest-items-block ul li .intro-text {
	font-size: 0.95em;	
	margin-bottom: 4px;
}
.latest-items-block ul li .date-line {
	display: block;
	text-align: right;
	font-size: 0.9em;	
	font-weight: 500;
}

.site-footer {
    width: 100%;
    height: 50px;
    margin-top: -50px;
}
.site-footer, .site-footer a {
	overflow: hidden;
	background: #6d6d6d;
	color: #fff;
}
.site-footer .inner {
	max-width: 960px;
	min-width: 320px;
	padding: 14px 16px;
	margin: 0 auto;
	overflow: hidden;
}
.site-footer .inner p {
	margin: 0 0 4px;
}
.site-footer .inner .left {
	display: inline-block;
	float: left;
	width: 27%;
}
.site-footer .inner .left .link-item {
	padding: 0 8px;
	vertical-align: middle;
}
.site-footer .inner .left .link-item img {
	height: 32px !important;
	width: auto;
}
.site-footer .inner .right {
	display: inline-block;
	float: right;
	width: 67%;
	text-align: right;
	font-size: 0.92em;
}
@media all and (max-width: 700px) {	
    .site-footer {
        height: auto;
        margin-top: 0;
    }
	.site-footer .inner {
		padding: 10px;
	}
	.site-footer .inner .left {
		width: 100%;
		margin: 0 0 10px;
		text-align: center;
	}
	.site-footer .inner .right {
		width: 100%;
		margin: 0;
		text-align: center;
	}
}

.pagination-prev, .pagination-next, .pagination-start, .pagination-end {
    display: none !important;
}
.k2Pagination {
    margin: 0 0 16px;
    text-align: center;
}
.k2PaginationLinks ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}
.k2PaginationLinks ul li {
    display: inline-block;
    margin: 7px;
    width: 28px;
    height: 28px;
}
.k2PaginationLinks ul li a {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    width: 100%;
    height: 100%;
    background: #cde0eb;
    text-decoration: none;
}
.k2PaginationLinks ul li span {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    width: 100%;
    height: 100%;
    background: #eee;
}
.k2PaginationCounter {
    font-size: 0.9em;
}