@media screen and (max-width: 1024px) {
	.main-container {
		padding-right: 0;
	}
	.main-container .secondary-content {
		float: none;
		position: fixed;
		margin-right: 0;
		top: 0;
		right: 0;
		height: 100%;
    	overflow: scroll;
		display: none;
	}
	.main-container .primary-content {
		float: none;
	}
	.post .kg-width-full img {
		width: 100%;
	}
	.header .toggleSidebar {
		display: block;
	}
}

@media screen and (max-width: 720px) {
	.container,
	body.home-template .post.post-first .post-inner,
	body.home-template .post.featured .post-inner {
		width: 90%;
		max-width: 100%;
	}
	.post .kg-width-wide {
		margin-left: -5.55%;
	    margin-right: -5.55%;
	    width: calc(100% + 11%);
	}
	img.mw-700 {
		max-width: 100%;
	}
}

@media screen and (max-width: 520px) {
	body .layout-home .post {
		flex-direction: column;
	}
	body .layout-home .post .post-cover {
		flex-basis: inherit;
		width: 100%;
		margin-bottom: 1.875rem;
	}
	body .layout-home .post .post-cover:after {
		padding-bottom: 54%;
	}
	.pagination-outer li.text-center {
		display: none;
	}
	.post-footer .post-footer-line-1 {
		flex-direction: column;
		align-items: start;
	}
	.post-footer .post-footer-line-1 .post-author {
		order: 2;
		margin-top: 20px;
	}
	.post-footer .post-footer-line-1 .sharing-button li {
		margin-left: 0;
		margin-right: 10px
	}
	.nextprev-content {
		flex-direction: column;
	}
	.nextprev-content .nextprev-item {
		width: calc(100% - 20px);
		margin-bottom: 20px;
		text-align: center !important;
	}
	.author-term > .d-flex {
		flex-direction: column;
		align-items: start
	}
	.author-term .author-img {
		margin-bottom: 10px;
	}
	.kg-gallery-card .kg-gallery-row {
		flex-direction: column;
	}
}
