
@media all and (max-width:1200px){
	
.on1024 {display: block!important}
	.wrapper {
		width: 980px;
	}
	
	.page {
		max-width: 1200px;
		min-width: 980px;
	}
#header h1 {
    padding: 117px 0 41px 96px;
}
#header a.order {
    margin: 0px 0 0 100px;
}

#header {
	background: url(img/ba/header-1024.jpg) no-repeat center top;
}

#for .item.item2 {
    margin: 0 20px 0 0px;
}
#for .item {
    width: 228px;
    margin: 0 20px 0 0px;
}
#for .item p {
    font-size: 22px;
}

#get .item {
    width: 230px;
    margin: 0 20px 0 0;
}

#get .item.item2 {
    margin: 0 20px 0 0px;
}
#get .item p {
    font-size: 17px;
}
#trener .image {
    width: 450px;
	height: auto;
    margin: 50px 0 0 55px;
}
#trener .text {
	height: auto;
    width: 470px;
}
#try h3 {
    padding: 249px 0 0 203px;
}
#try {
	background: url(img/try.jpg) no-repeat center top;
}
#order .hms {
    width: 460px;
}

#order .timer .text {
    padding: 53px 0 58px 0px;
    width: 496px;
    text-align: center;
}


#order .item {
    width: 309px;
    margin: 0 20px 0 0;
}

#order .prices .old {
    font-size: 36px;
	margin: 33px 0 0 10px;
}
#order .prices .new {
    font-size: 36px;
}

#order .prices .new span {
    font-size: 28px;
    font-size: 65%;
}
#order .prices {
    width: 170px;
}
#order .places {
    width: 135px;
}
#order .note {width: 70px;}
a.order {
    width: 280px;
}
a.order:after {
    margin: 28px 53px 0 0;
}
#order a.order:after {
    margin: 27px 83px 0 0;
}

#final h2 {
    padding: 185px 217px 0 0px;
}
#final h3 {
    padding: 46px 217px 0 0px;
}
#final h4 {
	padding: 27px 217px 0 0px;
}
#final {
	background: url(img/final.jpg) no-repeat center top;
}
#footer .logo {
    margin: 42px 0 0 0px;
    width: 150px;
}
#footer .logo {
    margin: 32px 0 0 0px;
    width: 110px;
}
#footer .copy {
    font-size: 15px;
    margin: 37px 0 0 15px;
    width: 295px;
}

#footer .buttons {
    font-size: 15px;
    margin: 36px 0 0 0;
    width: 350px;
}
#footer .social {font-size: 15px;}
#footer .social a {    margin: 9px 0 0 20px;}
#lk {
    margin: 0 0 0 188px;
}
.popup {
    width: calc(100vw - 100px);
    margin: 50px 0 0 50px;
}










	
}


@media all and (max-width:980px){
	
.on768 {display: block!important}
	.wrapper {
		width: 750px;
	}
	
	.page {
		max-width: 768px;
		min-width: 750px;
	}
#header h1 {
    padding: 117px 0 41px 31px;
}
#header {
    background: url(img/header-768.jpg) no-repeat center top;
}
#header a.order {
    margin: 0px 0 0 35px;
}
#for .item {
    width: 258px;
}
#for .item.item1,
#for .item.item2 {
	margin: 0 20px 100px 20px;
}
#for .item.item3,
#for .item.item4 {
	margin: 0 20px 0 20px;
}
#for .items {
    margin: 0 auto;
    width: 600px;
}
#for a.order {
    margin: 50px auto 0;
}

#for {
	height: auto; padding: 0 0 70px;
}
#get .item {
    width: 260px;
}
#get .item.item1,
#get .item.item2 {
	margin: 0 20px 110px 20px;
}
#get .item.item3,
#get .item.item4 {
	margin: 0 20px 0 20px;
}
#get .items {
    margin: 0 auto;
    width: 600px;
}

#get {height: auto; background-size: cover; padding: 0 0 70px;}

.no768 {display: none!important;}
.on768 {display: block!important;}
#trener {height: auto; padding: 0 0 20px;}
#trener .image {
    width: 100%;
    height: auto;
    margin: 0 0 0 0;
}

#trener .image img {margin: 0 auto; display: block;}
#trener .text {
    width: 100%;
    height: auto;
    margin: 0 0 0 0;
	text-align: center;
	padding: 20px 0 0 0;
}

#trener .slider .prev {
    margin: 580px 0 0 0;
}
#trener .slider .next {
    margin: 580px 0 0 0;
}
#trener p {
    padding: 0 0 23px 0;
}

#try {
	background: url(img/try-768.jpg) no-repeat center top;
}
#try h3 {
    padding: 249px 0 0 160px;
}
#results p {
    line-height: 30px;
}
#results .left {
    margin: 750px 0 0 30px;
}
#results .right {
    margin: 750px 30px 0 0;
}

#order .item {
    width: 236px;
    margin: 0 15px 0 0;
}
#order .digit {
    width: 47px;
    height: 55px;
    line-height: 65px;
}
#order .hours, #order .mins, #order .secs {
    width: 104px;
}
#order .timer .divider {
    width: 22px;
    line-height: 59px;
}
#order .hms p {
    padding: 5px 0 0;
    font-size: 16px;
}
#order .hms {
    width: 356px;
}
#order .timer .text {
    padding: 46px 0 52px 0px;
    width: 376px;
    text-align: center;
    font-size: 25px;
}
#order .item2 .head {
    padding: 0 0 0 30px;
}
#order .head h3 {
    font-size: 29px;
}
#order .head .super {
    width: 50px;
    height: 59px;
    margin: 0px 0 0 -18px;
    background-size: cover;
}
#order .item2 .head p {
    font-size: 17px;
}
#order .head p {
    font-size: 20px;
	line-height: 18px;
}
#order .item3 .head p {
    font-size: 20px;
}
#order .prices {
    width: auto;
    display: table;
    margin: 0 auto 0;
    float: none;
}
#order .places {
    width: auto;
    float: none;
    margin: 0 auto 0;
    display: table;
}
#order .prices .old {
    margin: 20px 0 0 10px;
}
#order .prices .new {
    margin: 22px 0 0 9px;
}
#order .note {
    margin: 28px 7px 0 0;
    text-align: right;
}

#order {height: auto; padding: 0 0 20px}

#order a.order {
    margin: 25px auto 19px;
    width: 210px;
    height: 70px;
    line-height: 70px;
    padding: 0 30px 0 0;
}
#order a.order:after {
    margin: 22px 43px 0 0;
}

#order .agree p {font-size: 15px;}


#final {
	background: url(img/final-768.jpg) no-repeat center top;
}

#final h2 {
    padding: 185px 177px 0 0px;
}
#final h3 {
    padding: 52px 177px 0 0px;
    font-size: 33px;
    line-height: 43px;
}
#final h3 span {
    padding: 9px 22px 8px 22px;
    margin: 5px auto 8px;
    font-size: 33px;
    line-height: 43px;
}

#final h4 {
    padding: 7px 177px 0 0px;
    font-size: 33px;
    line-height: 43px;
}
#footer .logo {
    margin: 12px 0 0 0px;
	    width: 200px;
}
#footer .logo {
    margin: 2px 0 0 0px;
    width: 200px;
}
#footer .copy {
    margin: 7px 0 0 0px;
    text-align: center;
    width: 350px;
}
#footer .social {
    margin: 6px 0px 0 0;
	    width: 200px;
}
#footer .buttons {
    margin: 0 0 0 0;
    width: 100%;
}

#footer .buttons p {
	text-align: center;
}
#footer .buttons a {
    margin: 0 12px 0 12px;
}
#footer .buttons img {
    margin: 10px auto 0;
    display: block;
}

#footer {height: auto; padding: 0 0 20px}

#lk {
    margin: 0 0 0 73px;
}

}


@media all and (max-width:767px){
	
.on320 {display: block!important}
.no320 {display: none!important}
	.wrapper {
		width: 300px;
	}
	
	.page {
		max-width: 500px;
		min-width: 300px;
	}



#menu .logo {
    width: 45px;
    height: 34px;
    margin: 1px 0 0 0;
}
#menu {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 9999;
    height: 50px;
    background: #7acccb;
    width: 100%;
    border-radius: 0 0 0 0;
}
#menu .login:after {display: none}


#menu .burger {
    width: 46px;
    height: 44px;
    background: transparent url(img/burger.png) no-repeat 11px 9px;
    float: right;
    cursor: pointer;
    margin: 5px 0 0 0;
    transition: 0.3s ease all;
}

#menu .burger.active {
    width: 46px;
    height: 45px;
    background: white url(img/burger-active.png) no-repeat 11px 9px;
    float: right;
    cursor: pointer;
    margin: 5px 0 0 0;
}
#menu .menu {
    display: none;
    float: right;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    line-height: 1;
    color: #525252;
    margin: 0 0 0 0;
    position: absolute;
    background: white;
    right: 0;
    width: 94px;
    box-sizing: border-box;
    padding: 18px 0 3px 14px;
    top: 50px;
}
#menu .menu a {
    display: block;
    margin: 0 0 14px 0;
}
#menu .login {
    display: block;
    float: right;
    background: transparent;
    margin: 5px 0px 0 0;
    width: 125px;
    height: 45px;
    box-sizing: border-box;
    font-family: 'Bebas Neue';
    color: white;
    font-size: 18px;
    padding: 9px 0 0 11px;
    position: relative;
    text-decoration: underline;
    transition: 0.3s ease all;
}
#menu .login.active {
    background: white;
    color: #7accca;
}
#lk {
    margin: 0 0 0 -150px;
    left: 50%;
    top: 50px;
}

#header {
    height: 529px;
	background: url(img/header.jpg) no-repeat center top;
	padding: 50px 0 0 0;
}
#header h5 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 400;
    display: table;
    background: none;
    /* background: red; */
    margin: 82px auto 0;
    padding: 0 0 0 0;
    color: white;
}

#header h5.on320 {display: table!important;}


#header h1 span {
    display: table;
    padding: 5px 15px 0px;
    margin: 2px auto 3px;
    font-weight: bold;
    background: #d50042;
}
#header h1 {
    padding: 16px 0 17px 0px;
    font-size: 33px;
    text-align: center;
    width: auto;
    line-height: 35px;
    border: 1px solid white;
    margin: 9px 0 0 0;
	background-color: rgba(55, 22, 6, 0.3);
}

a.order {
    margin: 0 auto 0;
    width: 260px;
    font-size: 25px;
    padding: 22px 35px 0 0;
    text-align: center;
    height: 60px;
	box-shadow: 0px 12px 16px 0px rgba(243, 185, 165, 0.61);
}

#header a.order {
    margin: 92px auto 0;
}

a.order:after {
    margin: 23px 55px 0 0;
    background: url(img/form-button.png) no-repeat center top;
}

#for {
	height: auto;
}
h2 {
    font-size: 33px;
    line-height: 40px;
}

#for h2 {
    padding: 32px 0 40px 0px;
}
#for .items {
    margin: 0 auto;
    width: auto;
}

/* может, удалить?*/


#for .item {
    margin: 0 10px 0 0;
    width: 143px;
	height: 174px;
}
#for .item.item1 {
    margin: 0 10px 42px 0;
}
#for .item.item1 .icon {
    margin-left: 29px;
    width: 85px;
}
#for .item p {
    font-size: 18px;
    line-height: 20px;
}
#for .item .icon {
    display: table;
    margin: -20px 0 0 25px;
    height: 92px;
    width: 95px;
}
#for .item p {
    font-size: 18px;
	padding: 7px 0px 0;
    line-height: 20px;
}

#for .item.item2 {
    margin: 0 0 42px 0;
}

#for .item.item3 .icon {
    width: 86px;
    margin-left: 29px;
}
#for .item.item3 {
    margin: 0 10px 0 0;
}
#for .item.item4 {
    margin: 0 0 0 0;
}
#for .item.item4 .icon {
    width: 84px;
    margin-bottom: -4px;
}
#for a.order {
    margin: 34px auto 0;
}


/******************/

#get {
	height: 800px;
	background: #e6f7f7;
}
#get h2 {
    padding: 61px 0 77px 0;
}
#get .item.item1 {
    margin: 0 10px 88px 0;
}
#get .item.item2 {
    margin: 0 0 88px 0px;
}
#get .item {
    width: 145px;
    height: 194px;
}
#get .item .icon {
    display: table;
    margin: -63px 10px 14px 27px;
    height: 104px;
    width: 92px;
    line-height: 0;
}
#get .item h5 {
    font-size: 18px;
    line-height: 20px;
    padding: 0px 10px 0;
	margin: -6px 0 0 0;
}

#get .item p {
    font-size: 12px;
    line-height: 14px;
    padding: 10px 0 0;
}

#get .items {
    width: auto;
}
#get .item.item3 {
    margin: 0 10px 0 0;
}
#get .item.item4 {
    margin: 0 0 0 0;
}
#get a.order {
    margin: 38px auto 0;
}


#trener h2 {
    padding: 23px 0 14px 0;
}

#trener .slider {
	margin: 0 -10px;
}
#trener .slider .prev {
    margin: 327px 0 0 11px;
    background: url(img/trener-prev.png) no-repeat;
    width: 69px;
    height: 21px;
}
#trener .slider .next {
    margin: 327px 11px 0 0 ;
    background: url(img/trener-next.png) no-repeat;
    width: 69px;
    height: 21px;
}
#trener .text {
    padding: 3px 0 0 0;
}
#trener h4 {
    font-weight: bold;
    padding: 0 0 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
}

#trener h5 i {
    margin: 0 5px 0 8px;
	vertical-align: -6px;
}
#trener h5 span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    vertical-align: -4px;
}
#trener h5{
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: bold;
    padding: 0 0 22px 0;
}
#trener p {
    padding: 0 0 15px 0;
    font-size: 12px;
    line-height: 16px;
}

#try {
	height: 468px;
	background: url(img/try.jpg) no-repeat center top;
}
#try h3 span {
    padding: 7px 25px 3px 25px;
    margin: 0 auto 0;
    font-size: 33px;
	background: none;
}

#try h3 {
    padding: 0 0 0 0;
    font-size: 20px;
    line-height: 25px;
    border: 1px solid white;
    margin: 269px 0 0 0;
    background-color: rgba(55, 22, 6, 0.3);
    padding: 18px 0 15px 0;
}

#results .inner {
    width: 300px;
}

#results {
	height: 555px;
}

#results h2 {
    padding: 44px 0 35px;
	line-height: 35px;
}
#results p {
    line-height: 25px;
    font-size: 20px;
    padding: 21px 0 0;
}
#results .left {
    margin: 335px 0 0 0px;
    background: url(img/trener-prev.png) no-repeat;
    width: 69px;
    height: 21px;
}
#results .right {
    margin: 335px 0 0 0px;
    background: url(img/trener-next.png) no-repeat;
    width: 69px;
    height: 21px;
}

#gar {
	height: 281px;
	background: url(img/gar_bg.png) no-repeat center top;
}
#gar img {
    margin: 45px auto 0;
    display: table;
}
#gar h3 {
    text-align: center;
    font-size: 20px;
    line-height: 40px;
    color: white;
    font-weight: bold;
    padding: 4px 0 0;
}
#gar h4 {
    font-size: 20px;
    line-height: 25px;
    padding: 1px 0 0;
}


#order h2 {
    padding: 44px 0 14px 0;
    line-height: 35px;
    margin: 0 -10px;
}
#order .timer {
    border: none;
    margin: 0 0 8px;
    background: none;
}

#order .timer .text {
    padding: 0 0 9px;
    width: 100%;
    font-size: 25px;
    color: #3b3b3b;
    font-size: 18px;
    font-weight: 400;
}

#order .hour10, #order .min10, #order .sec10 {
    margin: 0 5px 0 0;
}
#order .hours, #order .mins, #order .secs {
    width: 65px;
}
#order .timer .divider {
    width: 14px;
    line-height: 39px;
    font-size: 27px;
}
#order .hms {
    width: auto;
    margin: 0 auto 0;
    float: none;
    display: table;
}



#order .digit {
    border-radius: 5px;
    width: 30px;
    height: 40px;
    /* background: no-repeat; */
    font-size: 25px;
    line-height: 44px;
}
#order .hms p {
    padding: 0px 0 0;
    font-size: 13px;
}

#order .item {
    width: auto;
    margin: 0 0 20px 0;
}
#order .head h3 {
    font-size: 33px;
    padding: 11px 0 0 0;
}
#order .head p {
    font-size: 23px;
    line-height: 18px;
    padding: 1px 0 12px;
}
#order .content ul {
    margin: 17px 15px 0 44px;
    line-height: 20px;
    font-size: 15px;
	line-height: 17px;
}
#order ul li.yes:after {
    margin: 1px 0 0 -26px;
}
#order .date {
    padding: 9px 0 0;
    font-size: 16px;
}
#order .prices {
    width: 166px;
    display: table;
    margin: 0 0 0 0;
    float: left;
}
#order .prices .old {
    margin: 27px 0 0 18px;
    font-size: 33px;
}
#order .prices .new {
    margin: 28px 0 0 7px;
    font-size: 33px;
}
#order .prices .new span {
    font-size: 25px;
    font-size: 65%;
}
#order .places {
    width: 130px;
    float: right;
    margin: 0 0 0 0;
    display: table;
}
#order .count {
    font-size: 33px;
    margin: 28px 14px 0 3px;
}
#order .note {
    margin: 23px 3px 0 0;
    text-align: left;
    font-size: 12px;
    width: 65px;
}
#order a.order {
    margin: 21px auto 29px;
    width: 260px;
    height: 60px;
    line-height: 70px;
    padding: 0 30px 0 0;
    line-height: 66px;
}
#order a.order:after {
    margin: 23px 85px 0 0;
}
#order .head .super {
    width: 68px;
    height: 80px;
    margin: 3px -5px 0 0;
    background-size: cover;
    left: auto;
    right: 0;
}
#order .item2 .head {
    padding: 0 56px 0 0;
}
#order .item2 .head p {
    font-size: 19px;
}
#order .item3 .head p {
    font-size: 23px;
}
#order .gifts {
    padding: 0 0 0 0;
}
#order .gifts + hr {
    margin: 15px 15px 17px 15px;
}

#order .timer.on320 {
	margin-top: 20px;
}

#order .agree p {
    font-size: 10px;
    line-height: 13px;
    text-align: center;
}
#order .agree {
    margin: 7px 0 0 0;
	    position: static;
}

#final {
	height: 689px;
	background: url(img/final.jpg) no-repeat center top;
}


#final h5 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: bold;
    display: table;
    background: rgba(255,255,255,0.8);
    /* background: red; */
    margin: 45px auto 0;
    padding: 6px 25px 2px;
}


#final h5.on320 {display: table!important;}

#final h2 {
    padding: 13px 0 159px 0;
    font-size: 33px;
}

#final h3 {
    font-size: 20px;
    line-height: 24px;
    border: 1px solid white;
    padding: 22px 0 14px;
    text-align: center;
}
#final h3 span {
    padding: 6px 24px 6px;
    margin: 6px auto 8px;
    font-size: 20px;
    line-height: 24px;
    /* background: green; */
}
#final h4 {
    padding: 128px 0 0 0;
    font-size: 20px;
    line-height: 25px;
}

#footer .logo {
    margin: 0 auto 0;
    width: 150px;
    float: none;
}
#footer .logo {
    margin: 0 auto 0;
    width: 100px;
    float: none;
}
#footer .copy {
    margin: 7px 0 0 0px;
    text-align: center;
    width: 100%;
    font-size: 12px;
    line-height: 16px;
}
#footer .copy a {
	margin: 16px auto 0;
	display: table;
}
#footer .buttons {
    margin: 0 0 0 0;
    width: 100%;
	float: none;
    font-size: 12px;
    line-height: 16px;
}
#footer .buttons a {
    margin: 0 auto;
    display: table;
}
#footer .social {
    margin: 10px 0px 0 0;
    width: auto;
	font-weight: bold;
    float: none;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
}
#footer .social a {
    margin: 9px 5px 0 5px;
}
#header:after {
    background: url(img/border-bottom-white.png) no-repeat center top;
}

#for:after {
	background: url(img/border-bottom-white-2-m.png) no-repeat center top;
}


#get:after {
    background: url(img/border-bottom-white.png) no-repeat center top;
}

#trener:after {
    background: url(img/border-bottom-white-2.png) no-repeat center top;
}

#try:after {
    background: url(img/border-bottom-white.png) no-repeat center top;
}

#results:after {
    background: url(img/border-bottom-white-2.png) no-repeat center top;
}
#gar:after {
    background: url(img/border-bottom-white.png) no-repeat center top;
}

#order:after {
    background: url(img/border-bottom-white-2.png) no-repeat center top;
    z-index: 1;
}
#final:after {
    background: url(img/border-bottom-white.png) no-repeat center top;
}




.popup {
    position: fixed;
    top: 0;
    left: 0;
    margin-left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    display: none;
    box-sizing: border-box;
    background: white;
    z-index: 9999;
    color: black;
    margin: 0;
    border-radius: 0;
}

.popup p {
	padding: 0 0 0;
	font-size: 13px;
}
.popup ul li {
	padding: 0 0 0;
	font-size: 13px;
}

.popup h3 {
    padding-top: 0;
    font-weight: bold;
    font-size: 25px;
    margin: 10px 0 20px;
}

.popup .inner {
	overflow1: auto;
	max-height: 100%;
}

.popup .close {
    position: absolute;
    width: 20px;
    height: 20px;
    background: black;
    border-radius: 50%;
    font-size: 20px;
    right: 10px;
    line-height: 20px;
    text-align: center;
    top: 10px;
    cursor: pointer;
    font-weight: 800;
    color: white;
    margin: 0px 0px 0px 0;
}
.popup .text {
    max-height: calc(100vh - 100px);
}
.popup hr {
    margin: 0 auto 20px;
}
.popup img {
    width: 100px;
	margin: 0 10px 10px;
}

}