.onmobile-show {
	display:none;
}

@media screen and (min-width: 769px) {
	.i1 {
		padding-left: 36%;
	}
}
@media screen and (max-width: 1100px) {
	.wrapper {
		padding: 0 10px;
	margin-top:-50px;
	overflow: hidden;
	}
	.main-callback aside .submenu ul li a.order-button {
		font-family: Caption;
		font-size: 135%;
	}
	.recall-containter {
		right: -10px;
	}
}

@media screen and (max-width: 1024px) {
	header .children {
		display: none;
	}
	header .logo {
		//width: 50%;
		float: left;
		height: 180px;
		background-size: contain;
		background-position: left center;
	}
	header nav ul li span, header nav ul li a {
		font-size: 22px;
	}
	main .home .programms-list .programms-item.double {
		width: 100%;
	}
	footer ul.contacts {
		margin: 0;
	}
	.totop {
		position: absolute;
		right: 50px;
		bottom: 10px;
	}
	aside .submenu ul li a.order-button::before {
		content: none;
	}
	aside .submenu ul li a.order-button {
		margin-top: 0px;
	}
	/*map*/
	.contacts iframe {
		width: 95% !important;
	}
	iframe{
		width: 100%;
		height: auto;
		max-height: 100%;
		max-width: 100%;
	}
	.youtube {
		/*width: 100%;
		height: auto;*/
		/*max-height: 100%;*/
		max-width: 100%;
	}
}

@media screen and (max-width: 768px) {
	aside.main-page {
		margin: 0;
		width: 100%;
	}
	.main-callback aside .submenu ul li a.order-button {
		width: 100%;
		font-size: 90%;
	}

	.icon-bar{
		position: fixed;
		top: 50%;
		right: -20px;
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		/* transform: translateY(-50%); */
		z-index: 999;
	}
	.icon-bar a{
		display: block;
    text-align: center;

    transition: all 0.3s ease;
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: ease;
    transition-delay: 0s;
    color: white;
    font-size: 30px;
    width: 80px;
    height: 80px;
	}
	.onmobile-hide {
		display:none;
	}
	.onmobile-show {
		display:block;
	}
	body {
		background-size: initial;
	}
	header .main-menu ul.simplemenu {
		display: block;
		padding: 0 20px;
		text-shadow: 0px 2px 1px #000;
	}
	header .main-menu ul.sub {
		display: none;
	}
	header .contacts {
		background: none;
		padding: 0;
		margin: 0;
	}
	header .contacts li {
		font-size: 14px;
	}
	header .contacts li a {
		font-size: 20px;
	}
	header .menu-sandwich {
		display: inline-block;
	}
	header nav {
		display: none;
	}
	ul.social {
		margin: 40px 0px 20px;
	}
	.recall-containter {
		position: static;
	}
	.recall-button {
		background:  #F60;
		padding: 5px 17px;
		margin: 10px 0 0;
		text-shadow: 0px 2px 1px #000;
	}
	.recall-button:hover {
		background: none;
	}
	main, aside {
		width: 100%;
	}
	main .programms-full-list .item a .image img {
		height: 100%;
		/*width: auto;*/
		width: 100%;
	}
	aside,
	aside nav,
	aside .submenu ul li,
	aside .submenu ul li a.order-button,
	aside .submenu ul li a.stock {
		/*margin 0;*/
		/*margin-top: 170px;*/
	}
	aside .submenu {
		margin-bottom: 10px;
	}
	aside .submenu ul li a.order-button::before {
		display: none;
	}
	aside .submenu.pics {
		/*display: none;*/
		margin-bottom: -70px;
		/*text-align: center;*/
	}
	/*aside .submenu.pics ul li {
		display: inline-block;
		vertical-align: middle;
	}*/
	.index-news {
		/*display: none;*/
	}
	main .news-main-page .item {
		width: 100%;
	}
	main .news-main-page .all-news-container {
		text-align: center;
	}

	footer {
		background: none;
	}
	footer ul.contacts {
		display: block;
		float: none;
		background: none;
		text-align: center;
		padding: 0;
	}
	footer .simplemenu,
	footer .copy,
	.licounter {
		display: none;
	}
	footer .address {
		margin: 10px 0;
		display: block;
		text-align: center;
	}
	footer .address span {
		display: inline-block;
	}
	.totop {
		position: static;
	}
	.fancybox-opened {
		width: 80% !important;
		left: 10% !important;
	}
	.fancybox-inner {
		width: 100% !important;
	}
	/*mobil*/
	.submenu ul li::before {
		display: none !important;
	}
	main .home .white-bg.white-bg-small{
		padding: 10px 25px 10px 25px;
	}
	main .zayavka h1 {
	padding: 15px 0 10px 0;
	}
	main .zayavka .success {
	padding-left: 0;
	}
}

@media screen and (max-width: 640px) {
	main .images-list li,
	main .staff-list .item {
		width: 50%;
	}
	main .home .banners {
		/*display: none;*/

	}

}


@media screen and (max-width: 475px) {

	main .home .programms-list .programms-item .name{
		font-family: "Caption";
		font-weight: normal;
		color: #333333;
		font-size: 185%;
		width: 70%;
		text-align: center;
		margin: 0px auto 10px auto;
		transition: 0.2s;
		-webkit-transition: 0.2s;
		-moz-transition: 0.2s;
		-o-transition: 0.2s;
	}
	main .home .white-bg.white-bg-small{
		min-height: 400px;
		padding: 12px;
	}

}

@media screen and (max-width: 425px), (orientation: landscape) and (max-width: 768px) {
	header .logo {
		height: 150px;
	}

	header .contacts li a {
		font-size: 16px;
	}
	header nav {
		margin: 0;
	}
	.contact-block {
		width: 50%;
		box-sizing: border-box;
		text-align: left;
		float: right;
	}
	header .contacts li a.mail,
	header .contacts li span.def {
		display: none;
	}
	main .home .programms-list .programms-item {
		width: 100%;
		height: initial;
	}

	/*main .home .programms-list .programms-item .name{
		text-align: center;
		max-width: 250px;
	}
*/

	main .programms-full-list {
		margin: 0px;
	}
	main .programms-full-list .item a .image {
		/*height: 136px;*/
		background-size: contain;
		background-repeat: no-repeat;
		position: absolute;
    	top: 0;
    	left: 0;
    	width: 100%;
    	background-position: top;

	}
	main .programms-full-list .item a .name, .banners .item a .name {
		width: 100%;
		top: initial;
		left: 0;
		bottom: 0;
	  transform: none;
		font-size: 22px;
	}
	main .programms-full-list .item {
		padding: 0;
		margin-bottom: 20px;
	}
	main .white-bg, aside .white-bg {
		padding: 20px;
		/*padding-bottom: 15vw;*/
	}
	main .staff-description .item-1 {
		float: none;
	}
	main .news-list .item .date {
		float: none;
	}
	main .contacts a {
		font-size: 24px;
	}
	main .banners .item {
		width: calc(100% - 20px);
    left: 0%;
    text-align: center;
    right: 0;
    margin: auto;
}
	}
	main .request form .white-bg .i1,
	main .request form .white-bg .i2 {
		width: 100%;
		margin-right: 0;
	}
	main .review-button {
		width: 100%;
	}
	main .workshops-description .item-1 {
		float: none;
	}
	main .workshops-list h2 {
		transform: none;
		position: static;
		margin: auto;
		background-image: url(/local/templates/main/css/../images/maskl.svg);
		background-size: calc(100% + 10px);
		background-position: -5px;
	}
	main .workshops-list h2::before {
		display: none;
	}
	main .workshops-list .item {
		width: 100%;
	}
	main table td {
		display: block;
		width: 100%;
	}
	main .item.yandex .yandex-map {
		height: auto; /*300px;*/
	}
	 main .italic {
		 font-size: 26px;
	 }
	.fancybox-prev {
		left: -40px;
	}
	.fancybox-next {
		right: -45px;
	}
}



@media screen and (max-width: 375px) {
	main .images-list li,
	main .staff-list .item {
		width: 100%;
	}
	.modal .modal-body {
		width: 300px;
		margin-left: -150px;
		top: 25%;
	}
	.modal .modal-body .close {
		right: 0px;
	}
	main .images-list li a {
		/*height: 185px;*/
	}
}
/*mobil*/
@media screen and (max-width: 600px) {
	.mobil {
		display: block;
		flex-direction: column-reverse;
		align-items: center;
	}
	.banner_mobil {
		height: auto !important;
	}
	.youtube {
		max-width: 100%;
		max-height: 250px;
	}
}
@media screen and (max-width: 500px) {
	.mobile-only{
		display: block;
	}
	.mobile-only a.order-button{
		font-size: 90% !important;
	}
	.mobile-hidden{
		display: none;
	}
	.mob_width {
		max-width: 100% !important;
	}
	main .workshops-description .mob_picture0 {
		float: none;
		margin: auto;
	}
	.main-callback aside .submenu ul li a.order-button {
		font-size: 160%;
	}
	.main-callback aside {
		flex-direction: column;
	}
	.main-page_flex div {
		width: 100% !important;
	}
	.main-callback aside .submenu {
		margin: 0;
	}
	main ul {
		margin: 0px
	}
	.main-callback aside, aside nav, aside .submenu ul li, .main-callback aside .submenu ul li a.order-button, aside .submenu ul li a.stock {
		width: 100%;
	}
	.order-button_margin {
		margin: 0px!important;
	}
	.main-callback aside .submenu ul li a.order-button {
		margin: 0px;
	}
}

@media screen and (min-width:1023px) {
	.new_navbar{
		display: none !important;
	}
}
@media screen and (max-width:1022px) {
.new_navbar{
	 display:flex;
	 background: white;
	 width: 100%;
	 position: fixed;
	 top: 0;
	 height: 61px;
	 left: 0;
	 z-index:9999;
	}

}
@media screen and (max-width:1020px) {
.new_header{
	margin-top: 115px;
}
.mobile{
	display: none !important;
}
.icon-bar{
	display: none;
}
.mobile_button{
font-size: 112% !important;
}
#mobile_menu{
padding-top: 15%;
}
	aside .submenu ul li.zayavka {
		margin-top: 0px;
		display: none;
	}
	.main-callback aside .submenu ul li.zayavka {
		margin-top: 0px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}
