@media screen and (max-width: 1023px) {
	body {
		font-size: 16px;
	}
	.hide-mobile {
		display: none;
	}


	.mobile-logo {
	    display: flex;
	    align-items: flex-start;
	}
	.mobile-logo span {
	    line-height: 110%;
	    padding-left: 10px;
	    font-weight: bold;
	    color: gray;
	}

	.h-line span, 
	.h-line a {
	    white-space: nowrap;
	}

	.h-line span, .h-line a {
		white-space: unset;
	}

	.wp-block-video video {
    	max-height: calc(100vw / 3 * 2);
		height: 320px;
	    background-color: black;
	}

	.h1 {
	    font-size: 20px;
	    line-height: 27px;
	}

	h2 {
		font-size: 18px;
		line-height: 23px;
	}

	.header-nav {
		display: none;
	}

	.header-logo {
	    max-width: calc(100% - 68px);
	    height: 68px;
	    padding: 15px;
	}

	.h-toggle {
		display: inline-block;
		width: 40px;
		height: 40px;
		position: absolute;
		top: 15px;
		right: 15px;
		z-index: 10000;
	}

	.h-toggle span {
		height: 2px; 
		width: 100%; 
		display: inline-block;
		background-color: #717171; 
		position: absolute;
		left: 0px;
		transition: all 400ms; 
	}

	.h-toggle span:nth-of-type(1) {
		top: 8px; 
	}
	.h-toggle span:nth-of-type(2) {
		top: 18px; 
	}
	.h-toggle span:nth-of-type(3) {
		top: 28px;
	}

	body.m-menu-active header {
		height: 50vh;
	}

	body.m-menu-active header ~ * {
		display: none;
	}

	body.m-menu-active .h-toggle span:nth-of-type(2) {
		transform: rotate(-45deg);
	}

	body.m-menu-active .h-toggle span:nth-of-type(3),
	body.m-menu-active .h-toggle span:nth-of-type(1) {
		top: 18px; 
		transform: rotate(45deg);
	}

	body.m-menu-active .header-nav {
	    display: block;
	    position: fixed;
	    top: 0px;
	    left: 0px;
	    height: 100%;
	    z-index: 3;
	    background-color: rgb(255 255 255);
	    width: 100%;
	    overflow-y: auto;
	    z-index: 9999;
	    padding-top: 72px;
	    padding: 0 20px;
	}

	body.m-menu-active.admin-bar .header-nav {
		padding-top: 44px;
	}

	.header-search-toggle {
		display: none;
	}

	.header-search {
		margin-left: 0;
		margin-top: 20px;
	}

	.header-search form {
		display: flex;
		border: 1px solid #adadad;
	}

	.menu-header {
		margin-top: 5px;
	}

	.menu-header .menu-item-has-children:hover > .sub-menu {
	    position: relative;
	    width: 100%;
	    top: unset;
	}

	.menu-header ul {
		display: block;
		padding: 0;
	}
	.menu-header ul li {
		display: block;
	}

	.wrap-home-subscribe {
	    flex-direction: column;
	    padding: 20px 0;
	    height: auto;
	}

	.wp-block-embed.is-type-video iframe {
		height: 230px;
	}

	.wp-block-image img {
		height: auto;
	}

	.btn {
		font-size: 16px;
		padding: 8px 10px;
		margin: 6px 6px 6px 0;
	}

	.document-flex {
		padding: 0 15px;
	}
	.news-item {
		margin-bottom: 15px;
	}
	.news-item img {
		max-width: unset;
	}
	.news--title {

	}

	.breadcrumbs {
		text-align: left;
		font-size: 13px;
		color: gray;
	}

	footer {
		position: relative;
		z-index: 11;
	}

	.footer {
		padding: 20px 15px;
	}

	.jposts {
		flex-direction: column;
		width: 100%;
		margin-left: 0;
	}
	.menu-footer > ul, 
	.footer, 
	.wrap-anonsy {
		flex-direction: column;
		align-items: flex-start;
	}

	.jpost-item {
		width: 100%; 
		margin-left: 0px;
	}

	.wrap-anonsy .h2 {
		text-align: left;
	}

	.menu-footer {
		width: 100%;
	}

	.menu-footer > ul > li {
		width: 100%; 
	}

	.menu-footer .sub-menu {
		margin-top: 10px;
	}

	.pagination a {
		padding: 5px;
    	margin-right: 5px;
	}
}


@media screen and (min-width: 768px) and (max-width: 1023px) {
	.news {
		justify-content: space-between;
	}
	.news-item {
		width: calc(100% / 2 - 10px);
	}

	.jposts, 
	.document-side {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		flex-direction: row;
	}

	.jado--title {
		min-height: 50px;
	}

	body.home .news-item:nth-of-type(3) {
		display: none;
	}


	.jpost-item, 
	.document-side .jado,
	.w-calendar, 
	.group-feed {
		width: calc(100% / 2 - 10px);
		margin-top: 0; 
		margin-bottom: 20px;
	}

	.jpost-item img, .news-item img {
		max-width: 100%;
	}
}

@media screen and (min-width: 600px) and (max-width: 767px) {

}

@media screen and (min-width: 768px) and (max-width: 1023px) {

}