@media all and (max-width: 1199px) { 
	.width_range {
	  min-width: 100%;
	  max-width: 100%;
	}
	.bgImageTweenfader {
		width: 100%!important;
		height: auto!important;
	}
	#layout-head .poster {
		height: auto;
	}
}
@media all and (max-width: 1080px) { 
	#layout-head {
		background-size: 100% auto;
		height: 810px;
	}
	#layout-head .bgImageTweenfaderContent {
	  height: 814px;
	}
	#layout-head .poster {
	  height: 330px;
	  background: linear-gradient(to bottom, #99146a, #99146a);
	}
	#layout-head .poster div.r-side {
	width: 50%;
	background-size: 100% 100%;
	height: 310px;
	}
	#layout-head .layout-middle-head .r-side {
	  width: auto;
	}
	#layout-head .layout-middle-head ul.menu {
	  display: inline-block;
	  margin: 26px 0 0 0;
	  overflow: visible;
	}
	#layout-head .layout-left-head .screen_head {
	  width: auto;
	  height: auto;
	}
	#slider_schedule .prev {
	  display: none;
	}
	.all_schedule {
	  position: relative;
	  right: auto;
	  top: 0;
	  padding: 10px 0;
	  display: block;
	}
	.layout-middle img {
		max-width: 100%;
		height: auto!important;
	}
	.layout-middle table {
		width: 100%!important;
	}
	form textarea.w600brd,form p.button_position_l{
		width: 100%;
	}

}
@media all and (max-width: 768px) { 
	#layout-head .layout-left-head a.logo {
	  width: 190px;
	  background-size: 100%;
	}
	#vk_like {
		width: 90px!important;
	}
	#layout-head .layout-middle-head .r-side .phone span {
	  color: #bfbfbf;
	}
	#layout-head {
	  background-size: cover;
	}
	#layout-head .layout-middle-head ul.menu {
	  margin: 0;
	  overflow: visible;
	  padding: 0;
	  position: fixed;
	  background: #4090b7;
	  width: 55%;
	  height: 100%;
	  top: 0;
	  left: 0;
	  z-index: 99999;
	  padding: 70px;
	  box-sizing: border-box;
	  display:none;
	}
	#layout-head {
		position: relative;
		z-index: 9999;
	}
	.mobile_icon {
		background: url(/img/menu.png) no-repeat center;
		display: block;
		width: 30px;
		height: 30px;
		cursor:pointer;
		top: 68px;
		position: absolute;
		left: 36px;
	}
	.mobile_icon.mobile_close {
		position: absolute;
		z-index: 999999;
		top: 70px;
		left: 50px;
		background: url(/img/close.png) no-repeat center;
	}
	#layout-head .layout-middle-head ul.menu li {
		display: block;
		padding: 5px 4% 5px 0;
	}
	#layout-head .layout-middle-head ul.menu li a {
	  text-decoration: none;
	}
	#layout-head h2 {
	  font: 16px Verdana, Tahoma;
		line-height: normal;
	  color: #ffffff;
	  text-transform: none;
	  line-height: 1.5;
	}
	#layout-content .layout-middle {
	  margin: 35px 0px 20px 300px;
	}
	#layout-head .poster div.both {
	height: 310px;
	}
	#layout-head .bgImageTweenfaderContent {
	  height: 1130px;
	}
	#layout-head .poster {
	  height: 620px;
	  display: flex;
	  flex-wrap: wrap;
	  background: linear-gradient(to bottom, #99146a, #99146a);
	}
	#layout-head .poster div.r-side {
	  width: 100%;
	  height: 310px;
	  order: 1;
	  padding: 30px;
	  box-sizing: border-box;
	}
	#layout-head .poster div.both {
	  padding: 30px;
	  height: 340px;
	  box-sizing: border-box;
	}
	#layout-head h2 {
		margin-bottom: 15px;
	}
	#slider_schedule {
	  height: 267px;
	}
	#layout-head {
	  height: 815px;
	}
	#layout-content {
	  margin: 370px auto 20px auto;
	}
	.inner_page #layout-content {
	  margin: 50px auto 20px;
	  width: 90%;
	}
	.inner_page #layout-content .layout-middle {
	  margin: 35px 30px 20px 30px;
	}
	.inner_page #layout-head {
	  height: 180px;
	}
	.inner_page #layout-head .bgImageTweenfaderContent {
	  height: 180px;
	}
}
@media all and (max-width: 680px) { 
	#layout-head .layout-middle-head {
	  margin-left: 240px;
	}
	.layout-middle-wrap-head + div {
		left: 280px!important;
	}
	#footer {
	  margin: 0 auto 0 auto;
	  height: auto;
	}
	#footer .layout-middle-footer {
	  margin-left: 194px;
	  margin-right: 85px;
	}
	.blue-rounded + div {
		width: 285px!important;
	}
	#footer .layout-middle-footer .dev {
	  margin: 0 0 0 20px;
	  width: auto;
	  height: auto;
	}
	#clear {
	  height: 0;
	}
	#main {
	  margin: 0 auto 0px auto;
	}
	#mess > table:nth-child(1) > tbody > tr {
		display: flex;
		flex-wrap: wrap;
	}
	#mess > table:nth-child(1) > tbody > tr > td {
	  padding: 10px 0;
	}
}
@media all and (max-width: 480px) { 
	.layout-middle-wrap-head + div {
		display: flex;
		flex-wrap: wrap;
		width: 185px;
		height: auto;
		display:none;
	}
	#vk_like {
		order: 1;
	}
	#vk_like + div {
		order: 0;
	}
	.fb_iframe_widget {
		order: 2;
	}
	
	#layout-head .layout-middle-head .l-side,#slider_schedule .prev {
	  display: none;
	}
	#layout-head .layout-middle-head .service {
	  margin: 15px 0 5px 38px;
	}
	#layout-head .layout-middle-head .r-side {
	  float: none;
	  height: auto;
	}
	#layout-head .layout-middle-head .r-side .phone {
	  float: none;
	  margin: 0;
	  font: 17px Verdana, Tahoma;
	}
	#layout-head .layout-middle-head .r-side .phone span,#footer .layout-middle-footer .phone,#footer .layout-middle-footer .phone span {
	  font: 17px Verdana, Tahoma;
	}
	#layout-head .layout-middle-head ul.menu {
	width: 75%;
	}
	.both.r-side .bx-wrapper,.both.r-side .bx-window {
		width: 100%!important;
	}
	#slider_actions > div {
		width: 420px!important;
	}
	#layout-content .layout-left {
	  float: none;
	  width: 100% !important;
	}
	#layout-content .layout-middle-wrap {
	  float: none;
	  width: 100%;
	  margin-left: 0;
	  margin-right: 0;
	}
	#layout-content .layout-middle {
	  margin: 35px 35px 20px 30px;
	}
	.blue-rounded,#footer .bg-tip{
		display:none;
	}
	#footer .layout-middle-wrap-footer {
	  float: none;
	  width: 100%;
	  margin-left: 0;
	  margin-right: 0;
	  overflow: hidden;
	}
	#footer .layout-middle-footer {
	  margin-left: 0;
	  margin-right: 0;
	  padding: 20px 0 0 48px;
	}
	.inner_page #layout-content {
	  margin: 0px auto 20px;
	}
	
	#layout-head {
		background-size: auto 846px;
		background-position: center top;
		height: auto;
		position: relative;
		z-index: 9999;
	}
	#layout-head .bgImageTweenfaderContent {
	  height: auto;
	  position: relative !important;
	  display: flex;
	  flex-wrap: wrap;
	}
	#layout-head .poster {
	  height: auto;
	  order: 2;
	  position: relative;
	}
	#layout-head .layout-left-head {
	  float: left;
	  width: 56%;
	  position: relative;
	  z-index: 2;
	  order: 0;
	}
	#layout-head .layout-middle-wrap-head {
	  float: left;
	  height: 130px;
	  margin: 0;
	  width: 100%;
	  position: absolute;
	}
	#layout-head .layout-middle-head {
	  text-align: right;
	}
	#layout-head .layout-middle-head .service {
	  margin: 15px 20px 0 0;
	}
	.mobile_icon {
	  left: auto;
	  right: 20px;
	}
	#layout-head .poster div.both,#slider_schedule .viewport{
	  height: auto;
	}
	#slider_schedule {
	  height: auto;
	  width: 100%;
	}
	#slider_schedule .viewport {
	  width: 100%;
	}
	#layout-head .poster div.both ul {
		width: 100% !important;
		position: relative!important;
	}
	#slider_schedule .buttons.next {
	  visibility: hidden;
	  display: none;
	}
	#layout-content {
	  margin: 0px auto 20px auto;
	}
	#layout-head .layout-middle-head ul.menu {
	  text-align: left;
	}
}
@media all and (max-width: 414px) { 
	#layout-head .layout-left-head .screen_head a {
	  font: 18px Verdana, Tahoma;
	  text-decoration: none;
	}
	#slider_actions > div {
	  width: 370px !important;
	}
	#layout-head .layout-left-head a.logo {
	  width: 135px;
	}
	#layout-head .layout-middle-head {
	  margin-left: 188px;
	}
	#layout-head .layout-middle-head ul.menu {
	  padding: 40px;
	}
	.mobile_icon.mobile_close {
	top: 28px;
	}
	#layout-head .layout-left-head .screen_head {
	top: 145px;
	}
	#layout-head .layout-left-head .screen_head a {
	    font: 14px/26px Verdana, Tahoma;
	}
	#layout-head .poster div.both p {
	  font: 14px Verdana, Tahoma;
	}
	.schedule-item > tbody > tr > td > a:nth-child(1) {
    float: none;
	order: 1;
	}
	table.schedule-item  td {
	  padding-right: 40px;
	  display: flex;
	  flex-wrap: wrap;
	}
	table.schedule-item a.title {
	  order: 0;
	  padding: 0 0 15px 0;
	}
	table.schedule-item table {
	  order: 2;
	}
}
@media all and (max-width: 375px) { 
	#layout-head .layout-middle-head .r-side .phone span,#layout-head .layout-middle-head .r-side .phone{
	  font: 13px Verdana, Tahoma;
	}
	.mobile_icon {
	top: 45px;
	}
	#layout-head .layout-left-head .screen .time {
	  font: 40px Verdana, Tahoma;
	}
	#slider_actions > div {
	  width: 340px !important;
	}
}
@media all and (max-width: 360px) { 
	#layout-head .poster div.both ul li {
	  margin: 0;
	  padding-left: 0;
	}
	#slider_actions > div {
	  width: 300px !important;
	}
}
@media all and (max-width: 320px) { 
	#slider_actions > div {
	  width: 260px !important;
	}
	#slider_actions > div img{
	  max-width: 100%;
	}
}