@media (min-width: 1200px) {
	.container {
		padding-left: 20px; 
		padding-right: 20px; 
	}

	.logo-text {
		width: 540px;
		margin: 10px auto;
		position: relative;
	}

	.logo-text::after, .logo-text::before {  
	    width: 370px;
	    height: 8px;
	    content: '';
	    display: block;
	    position: absolute;
	    top: 10px;
	    background-image: url(../svg/head__line.svg);
	    background-repeat: no-repeat;
	}
	.logo-text::before {
	    right: calc(100% + 0px);
	}
	.logo-text::after {
		left: calc(100% + 0px); 
	}


	.header-image {
	    width: 100%;
	    height: 580px;
	    background-image: url(../img/bg-header.jpg);
	    background-repeat: no-repeat;
	    background-size: cover;
	    background-position: bottom;
	}

	.wrap-header-nav {
	    background-color: #7A675E;
	}


	.header-nav ul.menu li a {
		position: relative;
		letter-spacing: 5%;
	}

	/*
	.header-nav ul.menu li a::before {
		height: 1px;
		width: 100%;
		position: absolute;
		bottom: 15px;
		background-color: white;
		content: '';
		opacity: 0; 
		transition: opacity 400ms;
	}
	.header-nav ul.menu li a:hover::before {
		opacity: 1;
	}
	*/

	.header-nav ul.sub-menu {
		display: none;
	}

	.header-nav .menu-item-has-children {
		position: relative;
	}

	.header-nav .menu-item-has-children > a::after {
	    display: inline-block;
	    background-image: url(../svg/ic-menu-down.svg);
	    background-size: contain;
	    height: 9px;
	    width: 17px;
	    content: '';
	    vertical-align: middle;
	    margin-top: -3px;
	    margin-left: 7px;
	    border-radius: 50%;
	    background-repeat: no-repeat;
	}

	.header-nav .menu-item-has-children:hover .sub-menu {
	    position: absolute;
	    top: 100%;
	    display: block;
	    background-color: #7A675E;
	    z-index: 4;
	    padding: 0;
	    margin-left: -24px;
	    min-width: 240px;
	    border-radius: 0 0 24px 24px;
	    padding-bottom: 10px;
	}

	.header-nav .menu-item-has-children:hover .sub-menu li {
		display: block;
		width: 100%;
	}
	.header-nav .menu-item-has-children:hover .sub-menu li a {
	    display: inline-block;
	    padding: 15px 26px;
	    position: relative;
	}

	.header-nav .menu-item-has-children:hover .sub-menu li a::before {
		width: calc(100% - 40px);
	}
 

	.block__donate {
	    display: flex;
	    gap: 40px;
	    align-items: flex-end;
	    margin: 80px 0;
	}
	.block__donate-item {
	    width: calc(100% / 3 - 10px);
	}
	.block__donate-item:first-child {
	    width: 434px;
	}

	.block__donate-beige {
	    padding-right: 50px;
	}

	body.home .post-item:first-child .image {
		height: 255px;
	}

	.flexbox-content {
	    width: calc(100% - 438px);
	}
	.flexbox-side {
	    width: 402px; 
	}

	.wrap-single .flexbox-content {
	    width: calc(100% - 578px); 
	}
	.wrap-single .flexbox-side {
	    width: 548px; 
	}

	.wrap-rules .flexbox-content {
	    width: calc(100% - 520px);
	}
	.wrap-rules .flexbox-side {
	    width: 480px;
	}

	.wrap-blocks .flexbox-content {
	    width: calc(100% - 428px);
	}
	.wrap-blocks .flexbox-side {
	    width: 390px;
	}

	.trebi .flexbox-side {
		position: sticky;
		top: 20px;
	}

	.trebi-first-content {
	    width: calc(100% - 490px);
	}

	.trebi-first-content h2 {
	    font-size: 30px;
	    font-weight: 600; 
	}

	.trebi-first-content p {
	    font-size: 21px;
	    line-height: 130%;
	}

	.flexbox-right,
	.flexbox-left {
		width: calc(100% / 2 - 25px);
	}

	.posts {
		display: flex;
		flex-wrap: wrap;
		margin-left: -40px; 
		width: calc(100% + 40px);
	}

	.h2-line + .posts {
	    margin-top: 40px;
	}

	.post-item {
		margin-left: 40px;
		width: 100%; 
		margin-bottom: 20px;
	}

	.posts-one .post-item {
		width: 100%; 
		margin-left: 0; 
		margin-bottom: 20px;
	}

	.posts-two .post-item {
		width: calc(100% / 2 - 40px);
	}
	.posts-two .post-item:first-child {
		width: 100%;
	}
	.posts-tree .post-item {
		width: calc(100% / 3 - 40px);
	}
	.posts-four .post-item {
		width: calc(100% / 4 - 40px);
	}

	.flexbox-right .post-item .image {
		height: 220px;
	}


	.wrap-more-posts .posts {
	    margin: 20px auto;
	    width: 100%;
	}
	.posts-one .post-item .title {
	    font-size: 16px;
	    line-height: 20px;
	}
	.posts-one .post-item .image {
		height: 220px;
	}

	.float-more-posts {
		display: inline-block;
	    width: 400px;
	    float: right;
	    margin-left: 30px;
	    margin-bottom: 10px;
	}

	.float-history-side {
		display: inline-block;
	    width: 400px;
	    float: left;
	    margin-right: 40px;
	    margin-bottom: 10px;
	}

	.float-history-side ~ div {
    	display: flow-root;
	}

	.float-history-side .block-grafik {
	    margin: 0;
	}

	.float-history-side .margin-60-0 {
	    margin: 0;
	}

	.footer-flex {
		display: flex;
		justify-content: space-between;
		margin-top: 30px;
	}

	.footer-logo {
	    max-width: 50%;
	}	

	.footer-logo p {
	    margin-left: -100px;
	}

	.footer-address {
	    text-align: left;
	    max-width: 725px;
	}

	.footer-address h4 {
	    margin: 6px 0;
	    font-size: 15px;
	}

	.wrap-raspisanie {
	    display: flex;
	    flex-wrap: wrap;
	    width: calc(100% + 20px);
	    margin-left: -20px;
	    margin-top: 30px;
	    margin-bottom: 30px;
	}
	.wrap-raspisanie .shedule-show {
	    width: calc(100% / 4 - 20px);
	    margin-left: 20px;
	    margin-bottom: 20px;
	    margin-top: 0;
	}

	.wrap-page-shedules .block-grafik {
	    /* padding: 25px 40px; */ 
	}

	.block-grafik-width .block-side-inner {
	    max-width: 320px;
	    margin: 0 auto;
	}

	.lr-content-image {
	    margin-top: -10px;
	}

	.lr-content-text p:first-child {
		margin-top: 0;
	}
}



@media (min-width: 1280px) {
	.container {
		padding-left: 0; 
		padding-right: 0; 
		margin-right: auto;
		margin-left: auto;
		max-width: 1280px;
	}


	.logo-text::after,
	.logo-text::before {
		/* width: 320px; */
	}
}

@media (min-width: 1500px) {
	.container {
		padding-left: 0; 
		padding-right: 0; 
		margin-right: auto;
		margin-left: auto;
		max-width: 1280px;
	}


	.logo-text::after,
	.logo-text::before {
		/* width: 320px; */
	}
}