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

	.header:before {
		width: 81%;
	}

	.head-search {
		width: 23%;
	}

	.content-col .school-grid .school-item {
		width: calc((100% - 5px) / 2);
	}

	.footer-top {
		gap: 50px;
	}

	.footer-top .footer-col {
		width: 250px;
	}

	.footer-top #menu-footer-menu li a {
		font-size: 16px;
	}
}

@media screen and (max-width:1024px) {
	.main {
		padding-top: 67px;
	}

	.head-logo {
		gap: 30px;
	}

	.head-logo .logo {
		width: 200px;
	}

	.head-nav {
		gap: 20px;
	}

	.head-nav h4 {
		font-size: 16px;
	}

	.head-nav .hiden-menu {
		top: 44px;
	}

	.head-nav .hiden-menu.mega {
		width: 750px;
	}

	.head-nav #menu-kursy .menu-item-has-children>a {
		width: 220px;
		font-size: 14px;
	}

	.head-nav #menu-kursy .menu-item-has-children .sub-menu {
		width: 530px;
		left: 220px;
		padding: 20px;
	}

	.title-banner {
		padding: 110px 50px;
	}

	.content-row {
		display: block;
	}

	.content-sidebar {
		display: none;
	}

	.content-col .school-grid .school-item {
		width: calc((100% - 10px) / 3);
	}

	.single-content table {
		width: 100%;
	}

	.post-grid-container {
		gap: 15px;
	}

	.post-box {
		width: calc((100% - 30px) / 3);
	}

	.footer-top {
		align-items: flex-start;
	}

	.footer-top #menu-footer-menu li {
		width: calc((100% - 40px) / 2);
	}

	.footer-top .footer-col {
		width: 300px;
	}
}

@media screen and (max-width:767px) {
	html {
		overflow-x: hidden;
	}

	.header {
		background: #fff;
	}

	.header:before {
		content: none;
	}

	.head-logo {
		display: block;
	}

	.head-logo .logo {
		display: block;
		width: 270px;
	}

	.head-nav {
		position: absolute;
		display: none;
		width: calc(100% - 40px);
		max-height: calc(100vh - 80px);
		background: #fff;
		border-radius: 5px;
		top: 82px;
		padding: 30px;
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
		overflow-y: auto;
	}

	.head-nav .sitemap {
		margin-bottom: 16px;
		padding-bottom: 16px;
		border-bottom: 1px solid #E3E3E3;
	}

	.head-nav h4 {
		font-size: 18px;
	}

	.head-nav .sitemap:last-child {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: 0;
	}

	.head-nav .hiden-menu {
		position: static;
		width: 100%;
		background: transparent;
		box-shadow: none;
	}

	.head-nav .hiden-menu.mega {
		width: 100%;
	}

	.head-nav #menu-kursy .menu-item-has-children>a {
		display: flex;
		align-items: center;
		width: 100%;
		padding: 10px;
		border-bottom: 0;
	}

	.head-nav #menu-kursy .menu-item-has-children>a:after {
		content: '';
		display: block;
		background: url(../images/down-black.svg) no-repeat center;
		background-size: cover;
		width: 14px;
		height: 14px;
		margin-left: 6px;
	}

	.head-nav #menu-kursy .menu-item-has-children.active>a {
		background: transparent;
	}

	.head-nav #menu-kursy .menu-item-has-children .sub-menu {
		position: static;
		display: none;
		visibility: visible;
		width: 100%;
		height: auto;
		overflow-y: visible;
		background: transparent;
		padding: 0 20px;
	}

	.head-nav #menu-kursy .menu-item-has-children.active .sub-menu {
		display: block;
	}

	.head-nav #menu-kursy .menu-item-has-children .sub-menu li {
		width: 100%;
		padding: 3px 0;
	}

	.head-nav #menu-kursy .menu-item-has-children .sub-menu li a:hover {
		color: inherit;
		border-bottom: 0;
	}

	.head-nav .hiden-menu.simple {
		padding: 10px;
	}

	.head-nav .hiden-menu.simple li {
		padding: 3px 0;
	}

	.head-search {
		position: absolute;
		display: none;
		width: calc(100% - 40px);
		top: 82px;
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
	}

	.head-mobile {
		display: flex;
	}

	.title-banner {
		padding: 60px 30px;
	}

	.school-grid .school-item {
		width: 100% !important;
	}

	.list-item {
		padding: 20px;
	}

	.list-title {
		flex-direction: column;
		align-items: center;
	}

	.list-logo-col {
		width: 100%;
		border-right: 0;
		padding-right: 0;
		border-bottom: 2px solid #E3E3E3;
		padding-bottom: 30px;
	}

	.list-title-col {
		padding: 30px 0;
	}

	.list-link-col {
		flex-direction: row;
		gap: 20px;
		width: 100%;
		border-left: 0;
		padding-left: 0;
		border-top: 2px solid #E3E3E3;
		padding-top: 30px;
	}

	.list-options p {
		width: calc((100% - 20px) / 3);
	}

	.list-options .big {
		width: 100%;
	}

	.list-price-table table th, .list-price-table table td {
		padding: 10px;
		font-size: 14px;
	}

	.post-box {
		width: calc((100% - 15px) / 2);
	}

	.footer-top {
		flex-direction: column;
		gap: 30px;
	}

}

@media screen and (max-width:480px) {
	h1 {
		font-size: 30px;
		margin: 0 0 40px;
	}

	h2 {
		font-size: 26px;
	}

	.btn {
		width: 100% !important;
	}

	.head-logo .logo {
		width: 200px;
	}

	.toggle-menu {
		margin-left: 10px;
	}

	.title-banner {
		padding: 50px 20px;
	}

	.title-banner p {
		font-size: 16px;
	}

	.list-link-col {
		flex-direction: column;
		gap: 15px;
	}

	.list-options p {
		width: 100%;
		padding: 10px;
	}

	.list-price-table {
		overflow-x: auto;
		margin-right: -20px;
		margin-bottom: 20px;
	}

	.list-price-table table {
		overflow-x: auto;
		margin-bottom: 20px;
	}

	.list-price-table table th, .list-price-table table td {
		padding: 8px;
		font-size: 13px;
	}

	.adv-group {
		display: block;
	}

	.adv-col {
		width: 100%;
	  }

	.adv-col.first {
		border-right: 0;
		padding-right: 0;
		margin-right: 0;
		border-bottom: 2px solid #E3E3E3;
		padding-bottom: 20px;
		margin-bottom: 20px;
	}

	.cat-tabs, .home-cat-tabs ul {
		gap: 10px;
	}

	.cat-tabs .cat-tab, .home-cat-tabs ul li a {
		font-size: 14px;
		padding: 5px 10px;
	}

	.school-page .list-title-col .big {
		font-size: 18px;
	}

    .list-title-col {
        padding-bottom: 0;
    }

    .post-box {
        width: 100%;
		padding: 20px;
    }

	.post-box .btn {
		position: static;
	}

	.footer-top #menu-footer-menu {
		flex-direction: column;
		gap: 10px;
	}

    .footer-top #menu-footer-menu li {
        width: 100% ;
    }
}