img {
	max-width: 100%;
	height: auto;
}

.post-content address {
	font-style: normal;
	margin: 10px 0 15px;
}

.post-content hr {
	border: 0;
	border-top: 1px solid #d9d9d9;
	margin: 20px 0;
}

.post-content .ngg-galleryoverview {
	margin: 20px 0;
	overflow: hidden;
}

.post-content .ngg-gallery-thumbnail-box {
	float: left;
	margin: 0 12px 12px 0;
}

.post-content .ngg-gallery-thumbnail {
	background: #fff;
	border: 1px solid #d9d9d9;
	padding: 4px;
}

.post-content .ngg-gallery-thumbnail a {
	display: block;
}

.post-content .ngg-gallery-thumbnail img {
	display: block;
	margin: 0;
	width: 70px;
	height: 70px;
	object-fit: cover;
}

.post-content .ngg-clear {
	clear: both;
}

.sidebar .widget-body p + p {
	margin-top: 15px;
}

.navigation {
	padding-top: 10px;
	clear: both;
}

.navigation a + a {
	margin-left: 10px;
}

@media (max-width: 1024px) {
	body {
		padding: 0;
	}

	.wrapper {
		width: 100%;
	}

	.header {
		height: auto;
		padding: 20px;
	}

	.nav {
		padding: 0 20px;
	}

	.dd {
		height: auto;
		overflow: hidden;
	}

	.dd li {
		box-sizing: border-box;
		width: 50%;
	}

	.dd li a {
		margin: 0 12px;
		padding: 14px 0;
	}

	.logo,
	.site-description,
	.search,
	.menu {
		float: none;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0 0 20px;
	}

	#container {
		padding: 20px;
	}

	#content,
	.sidebar {
		float: none;
		width: 100%;
		margin: 0;
	}

	.content-title,
	.entry .post-meta,
	.entry .post-content,
	.entry .post-footer,
	.pagination,
	#pagination,
	.post-navigation {
		padding-left: 0;
		padding-right: 0;
	}

	.list .post {
		padding: 20px 0 0;
	}

	.post .thumb,
	.post .thumb img {
		width: 100%;
		height: auto;
	}

	.list .post .thumb img {
		float: none;
		margin: 0 0 20px;
	}

	#slideshow,
	.slideshow,
	.slide {
		width: 100%;
		height: auto;
	}

	.slide img {
		float: none;
		width: 100%;
		height: auto;
		position: static;
		top: auto;
		left: auto;
	}

	.slide .post {
		padding: 20px;
	}

	.post-navigation {
		width: auto;
	}

	.post-prev,
	.post-next {
		float: none;
		width: auto;
		min-height: 0;
		margin-bottom: 12px;
		padding: 0;
		background: none;
		text-align: left;
	}

	.grid {
		padding: 0;
	}

	.grid .post {
		float: none;
		width: auto;
		height: auto;
		margin: 20px 0 0;
		padding: 0;
		background: none;
		overflow: visible;
	}

	.grid .post .thumb {
		position: static;
		width: auto;
		height: auto;
		margin-bottom: 12px;
	}

	.grid .post .thumb img {
		width: 100%;
		height: auto;
	}

	.grid .post .post-category,
	.grid .post .post-content,
	.grid .post .post-meta em {
		display: block;
	}
}
