html {
    font-size: 62.5%;
    min-width: 320px;
}

body {
    background-color: #fafafa;
    margin: 0;
    padding: 0;
    font-family: "PT Sans";
    position: relative;
}

::-webkit-input-placeholder {
    color: #c5c4c4;
    font-size: 1.4rem;
    font-weight: 400;
}

::-moz-placeholder {
    color: #c5c4c4;
    font-size: 1.4rem;
    font-weight: 400;
}

:-moz-placeholder {
    color: #c5c4c4;
    font-size: 1.4rem;
    font-weight: 400;
}

:-ms-input-placeholder {
    color: #c5c4c4;
    font-size: 1.4rem;
    font-weight: 400;
}

div,
ul {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.textInBorder {
    border: 1px solid #e2e2e2;
    background-color: #fff;
    position: relative;
    margin-top: 20px;
    padding: 10px;
    font-weight: 400;
    color: #4d535e;
}

.header {
    width: 940px;
    margin: 0 auto;
    padding-top: 25px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.logo {
    background: url(img/logo.png) no-repeat left center;
    width: 230px;
    height: 58px;
}

.caption {
    text-align: center;
    font-weight: 400;
    color: #1d9dec;
}

.header > .caption {
    width: 313px;
    height: 30px;
    font-size: 1.4rem;
}

.contacts span {
    color: #1d9dec;
    font-size: 2rem;
    font-weight: 700;
}

.contact__button {
    display: block;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 26px;
    color: #fff;
    width: 147px;
    height: 28px;
    -webkit-box-shadow: 0 2px 0 #d4d4d4;
    box-shadow: 0 2px 0 #d4d4d4;
    border: 1px solid #fff;
    background-image: -webkit-gradient(linear, left bottom, left top, from(#30cf5f), to(#00b034));
    background-image: -webkit-linear-gradient(bottom, #30cf5f 0%, #00b034 100%);
    background-image: -o-linear-gradient(bottom, #30cf5f 0%, #00b034 100%);
    background-image: linear-gradient(to top, #30cf5f 0%, #00b034 100%);
    text-align: center;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    margin-top: 7px;
    float: right;
}

.contact__button:active {
    -webkit-box-shadow: 0 0 7px #999;
    box-shadow: 0 0 7px #999;
}

.nav-static {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 940px;
    height: 40px;
    margin: 24px auto 23px auto;
    border: 1px solid #fff;
    background-image: -webkit-linear-gradient(bottom, #2697db 0%, #7db8f2 100%);
    background-image: -o-linear-gradient(bottom, #2697db 0%, #7db8f2 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, from(#2697db), to(#7db8f2));
    background-image: linear-gradient(to top, #2697db 0%, #7db8f2 100%);
    -webkit-border-radius: 4px;
    border-radius: 4px;
    position: relative;
    padding-left: 0;
}

.nav-responsive {
    display: none;
}

.nav li {
    display: inline;
    height: 40px;
}

.menu-item:hover {
    background-image: -webkit-linear-gradient(bottom, #2f9add 0%, #2676a8 100%);
    background-image: -o-linear-gradient(bottom, #2f9add 0%, #2676a8 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, from(#2f9add), to(#2676a8));
    background-image: linear-gradient(to top, #2f9add 0%, #2676a8 100%);
}

.menu-item {
    position: relative;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 40px;
    padding: 10px 50px;
    text-decoration: none;
    bottom: 1px;
}

.menu-item-first {
    padding-left: 58px;
}

.menu-item-first:hover {
    -webkit-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}

.menu-item-last:hover {
    -webkit-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}

#respMenuBtn {
    -webkit-border-bottom-right-radius: 40px;
    border-bottom-right-radius: 40px;
    -webkit-border-bottom-left-radius: 40px;
    border-bottom-left-radius: 40px;
}

.nav:before {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 15px;
    left: 10px;
    width: 80%;
    height: 20%;
    -webkit-box-shadow: 0 15px 13px rgba(0, 0, 0, 0.4);
    box-shadow: 0 15px 13px rgba(0, 0, 0, 0.4);
    -webkit-transform: rotate(-1deg);
    -ms-transform: rotate(-1deg);
    transform: rotate(-1deg);
}

.nav:after {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 15px;
    right: 10px;
    width: 80%;
    height: 20%;
    -webkit-box-shadow: 0 15px 13px rgba(0, 0, 0, 0.4);
    box-shadow: 0 15px 13px rgba(0, 0, 0, 0.4);
    -webkit-transform: rotate(1deg);
    -ms-transform: rotate(1deg);
    transform: rotate(1deg);
}

.wrap {
    width: 940px;
    margin: 0 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.wrap > div {
    float: left;
}

.video {
    width: 472px;
    height: 287px;
    position: relative;
    background: #fff url(img/comments.jpg) no-repeat bottom;
    -webkit-background-size: cover;
    background-size: cover;
}

.video:before {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 13px;
    left: 10px;
    width: 80%;
    height: 20%;
    -webkit-box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    -webkit-transform: rotate(-2deg);
    -ms-transform: rotate(-2deg);
    transform: rotate(-2deg);
}

.video:after {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 13px;
    right: 10px;
    width: 80%;
    height: 20%;
    -webkit-box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    -webkit-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    transform: rotate(2deg);
}

.date {
    position: relative;
    height: 287px;
}

.date:before {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 13px;
    left: 10px;
    width: 80%;
    height: 20%;
    -webkit-box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    -webkit-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
}

.date:after {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 13px;
    right: 10px;
    width: 80%;
    height: 20%;
    -webkit-box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    -webkit-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    transform: rotate(3deg);
}

.date__caption {
    width: 200px;
    height: 70px;
    background-image: -webkit-gradient(linear, left bottom, left top, from(#2697db), to(#7db8f2));
    background-image: -webkit-linear-gradient(bottom, #2697db 0%, #7db8f2 100%);
    background-image: -o-linear-gradient(bottom, #2697db 0%, #7db8f2 100%);
    background-image: linear-gradient(to top, #2697db 0%, #7db8f2 100%);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    padding-top: 5px;
}

.date__numbers {
    width: 200px;
    height: 217px;
    color: #4ca5e5;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    padding-top: 80px;
    background-color: #fff;
}

.date__numbers-big {
    font-size: 11rem;
}

.register {
    width: 236px;
    height: 287px;
    border: 3px solid #fff;
    background-image: -webkit-gradient(linear, left bottom, left top, from(#eaeaea), color-stop(37%, #fff), to(#f4f4f4));
    background-image: -webkit-linear-gradient(bottom, #eaeaea 0%, #fff 37%, #f4f4f4 100%);
    background-image: -o-linear-gradient(bottom, #eaeaea 0%, #fff 37%, #f4f4f4 100%);
    background-image: linear-gradient(to top, #eaeaea 0%, #fff 37%, #f4f4f4 100%);
    position: relative;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.register:before {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 11px;
    left: 10px;
    width: 80%;
    height: 20%;
    -webkit-box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    -webkit-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
}

.register:after {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 11px;
    right: 10px;
    width: 80%;
    height: 20%;
    -webkit-box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    -webkit-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    transform: rotate(3deg);
}

.register__title {
    width: 199px;
    height: 52px;
    color: #747474;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin: 24px auto 29px auto;
}

.register__notice {
    font-size: 1rem;
    color: #747474;
    font-weight: 700;
    margin: 5px auto 0 auto;
    width: 190px;
    display: block;
}

.register__notice:before {
    content: '';
    width: 10px;
    height: 12px;
    background: url(img/confidence.png);
    display: block;
    float: left;
    margin: 0 7px 5px 0;
}

.register__name,
.register__phone,
.register__mail {
    display: block;
    width: 190px;
    height: 30px;
    border: 1px solid #e2e2e2;
    background-color: #fff;
    outline: none;
    padding: 0 9px 0 9px;
    margin: 0 auto 14px auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #888;
}

.register__name:focus,
.register__phone:focus,
.register__mail:focus {
    border: 1px solid #999;
    -webkit-box-shadow: 0 0 3px #999;
    box-shadow: 0 0 3px #999;
}

.register__submit {
    display: block;
    width: 192px;
    height: 43px;
    -webkit-box-shadow: 0 2px 0 #d4d4d4;
    box-shadow: 0 2px 0 #d4d4d4;
    border: 1px solid #fff;
    background-image: -webkit-gradient(linear, left bottom, left top, from(#30cf5f), to(#00b034));
    background-image: -webkit-linear-gradient(bottom, #30cf5f 0%, #00b034 100%);
    background-image: -o-linear-gradient(bottom, #30cf5f 0%, #00b034 100%);
    background-image: linear-gradient(to top, #30cf5f 0%, #00b034 100%);
    cursor: pointer;
    outline: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    margin: 20px auto 0 auto;
}

.register__submit:active {
    -webkit-box-shadow: 0 0 7px #999;
    box-shadow: 0 0 7px #999;
}

.underVideo {
    width: 470px;
    font-size: 1.2rem;
}

.underVideo:before,
.underVideo:after {
    content: '';
    position: absolute;
    top: -20px;
    left: -webkit-calc(47%);
    left: calc(47%);
    border: 10px solid transparent;
    border-bottom: 10px solid #e2e2e2;
}

.underVideo:after {
    border-bottom: 10px solid #fff;
    top: -19px;
}

.course {
    width: 236px;
    height: 75px;
    border: 3px solid #fff;
    margin-top: 20px;
    background-color: #fff;
    color: #515151;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 18px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.course > div {
    float: left;
    width: 50%;
    height: 17px;
    border-bottom: 1px solid #f0f0f0;
}

.course__caption {
    text-align: center;
    color: #222121;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 16px;
    background-color: #f0f0f0;
    border-bottom: none;
}

.course__price {
    padding-left: 10px;
}

.course__price-name {
    color: #0f6ad5;
    text-decoration: underline;
    padding-left: 0;
}

.title_section,
.slide__name {
    color: #4d535e;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin: 30px 0 30px 0;
}

.gray_bg {
    width: 100%;
    height: 106px;
    background: url(img/gray_bg.png) no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    margin-bottom: 55px;
}

.facts > span {
    font-size: 2.4rem;
    font-weight: 700;
}

.facts {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 20px;
    height: 58px;
}

.facts:nth-child(1) {
    background: url(img/fact1.png) no-repeat left center;
    padding-left: 70px;
}

.facts:nth-child(2) {
    background: url(img/fact2.png) no-repeat left center;
    padding-left: 60px;
}

.facts:nth-child(3) {
    background: url(img/fact3.png) no-repeat left center;
    padding-left: 40px;
}

.facts:nth-child(4) {
    background: url(img/fact4.png) no-repeat left center;
    padding-left: 75px;
}

.facts:nth-child(5) {
    background: url(img/fact5.png) no-repeat left center;
    padding-left: 60px;
}

.slider_bg {
    width: 100%;
    position: relative;
    border: 3px solid #fff;
    background: #fff url(img/slider_bg.jpg);
    margin-bottom: 55px;
}

.slider_bg:before {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 11px;
    left: 10px;
    width: 80%;
    height: 20%;
    -webkit-box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    -webkit-transform: rotate(-1deg);
    -ms-transform: rotate(-1deg);
    transform: rotate(-1deg);
}

.slider_bg:after {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 11px;
    right: 10px;
    width: 80%;
    height: 20%;
    -webkit-box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    -webkit-transform: rotate(1deg);
    -ms-transform: rotate(1deg);
    transform: rotate(1deg);
}

.sliderbox {
    width: 697px;
    height: 234px;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}

.slider {
    width: 697px;
    height: 234px;
    margin: 0 auto;
}

.slide:active,
.slider:focus {
    outline: none;
}

.slide__photo {
    width: 200px;
    height: 200px;
    -webkit-border-radius: 100px;
    border-radius: 100px;
    background: #fff url(img/tony_stark.png) no-repeat 0 15px;
}

.slide__name {
    margin: 8px 0 0 0;
}

.slide__containerPhoto {
    width: 200px;
    height: 234px;
    float: left;
}

.slide__containerText {
    width: 460px;
    height: 234px;
    float: right;
}

.slide__text {
    width: 453px;
    font-size: 1.4rem;
    float: right;
}

.slide__text:before,
.slide__text:after {
    content: '';
    position: absolute;
    top: 29px;
    left: -20px;
    border: 10px solid transparent;
    border-top: 10px solid #e2e2e2;
    border-right: 10px solid #e2e2e2;
}

.slide__text:after {
    border-top: 10px solid #fff;
    border-right: 10px solid #fff;
    top: 30px;
    left: -17px;
}

.slide__submit {
    width: 268px;
    height: 45px;
    background-image: -webkit-gradient(linear, left bottom, left top, from(#2697db), to(#7db8f2));
    background-image: -webkit-linear-gradient(bottom, #2697db 0%, #7db8f2 100%);
    background-image: -o-linear-gradient(bottom, #2697db 0%, #7db8f2 100%);
    background-image: linear-gradient(to top, #2697db 0%, #7db8f2 100%);
    float: right;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 45px;
    text-align: center;
    cursor: pointer;
    margin-top: 15px;
    border: 0;
    outline: none;
}

.slide__submit:active {
    -webkit-box-shadow: 0 0 7px #999;
    box-shadow: 0 0 7px #999;
}

.comments {
    width: 412px;
    height: 271px;
    position: relative;
    background: url(img/comments.jpg) no-repeat;
}

.comments:before {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 11px;
    left: 10px;
    width: 80%;
    height: 20%;
    -webkit-box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    -webkit-transform: rotate(-1deg);
    -ms-transform: rotate(-1deg);
    transform: rotate(-1deg);
}

.wrap-comments {
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.comments:after {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 11px;
    right: 10px;
    width: 80%;
    height: 20%;
    -webkit-box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
    -webkit-transform: rotate(1deg);
    -ms-transform: rotate(1deg);
    transform: rotate(1deg);
}

.underComments {
    width: 410px;
    font-size: 1.3rem;
    padding: 15px;
}

.underComments:before,
.underComments:after {
    content: '';
    position: absolute;
    top: -14px;
    left: 20px;
    border: 7px solid transparent;
    border-bottom: 7px solid #e2e2e2;
    border-left: 7px solid #e2e2e2;
}

.underComments:after {
    border-bottom: 7px solid #fff;
    border-left: 7px solid #fff;
    top: -11px;
    left: 21px;
}

.selectBusiness {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.direction {
    width: 93%;
    margin: 0 auto;
}

.direction__slider {
    width: 398px;
    height: 150px;
    border: 3px solid #fff;
    background-color: #fff;
    float: left;
}

.direction__description {
    width: 405px;
    font-size: 1.4rem;
    margin-bottom: 0;
    float: right;
    margin-top: 0;
}

.direction__description:before,
.direction__description:after {
    content: '';
    position: absolute;
    top: 9px;
    left: -15px;
    border: 7px solid transparent;
    border-top: 7px solid #e2e2e2;
    border-right: 7px solid #e2e2e2;
}

.direction__description:after {
    border-top: 7px solid #fff;
    border-right: 7px solid #fff;
    top: 10px;
    left: -12px;
}

.selectBusiness_btn {
    width: 159px;
    height: 26px;
    font-size: 1.2rem;
    line-height: 26px;
    margin: 11px 0 15px 0;
}

.certificate-resp {
    display: none;
}

.certificate-desk {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.certificate {
    width: 160px;
    height: 226px;
    background: url(img/certificate_full.png) no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    position: relative;
    margin-bottom: 10px;
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    -o-transition: transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s;
}

.certificate:nth-child(2) {
    margin: 0 110px 0 110px;
}

.wrap-certificate {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.certificate:hover {
    -webkit-transform: scale(2.4, 2.4);
    -ms-transform: scale(2.4, 2.4);
    transform: scale(2.4, 2.4); 
    z-index: 999;              
}

.gray_bg-wide {
    height: 324px;
    margin-bottom: 0;
}

.offer__book {
    width: 203px;
    height: 311px;
    margin-top: 5px;
    margin-left: 7px;
    background: url(img/offer_book.png) no-repeat;
}

.offer__text {
    width: 400px;
    height: 100px;
    text-align: center;
    color: #369ddf;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 112px;
}

.offer__text span {
    color: #fff;
    font-size: 2.4rem;
}

.offer__register {
    margin-top: 18px;
    margin-right: 7px;
    padding-top: 0; 
}

.offer__register:before,
.offer__register:after {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.offer__register input {
    margin-bottom: 9px;
}

.offer__register button {
    margin-top: 9px;
}

.offerRegister__counter {
    color: #747474;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-top: 12px;
    /* отступ вместо счетчика */
    margin-bottom: 50px;
}

.footer {
    height: 140px;
    padding-top: 20px;
}

.footer > .contacts {
    margin-top: 20px;
}

.footer > .logo {
    width: 236px;
    height: 90px;
    background: url(img/justlike.png) no-repeat 90% bottom,
    url(img/logo.png) no-repeat;
}

.footer > .caption {
    width: 475px;
    height: 50px;
    font-size: 1.3rem;
    margin-top: 30px;
}

.footer > .caption > br {
    display: none;
}

#to-top {
    display: none;
    position: fixed;
    bottom: 85px;
    right: 70px;
    width: 50px;
    height: 50px;
    background: #eee url(img/to-top.png) no-repeat center top;
    -webkit-background-size: contain;
    background-size: contain;
    cursor: pointer;
    opacity: .5;
    -webkit-border-radius: 25px;
    border-radius: 25px;
}



@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
    a:active,
    button:active {
        -webkit-tap-highlight-color: transparent;
    }
    .header {
        width: 100%;
        -webkit-flex-wrap: wrap !important;
        -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
        margin-top: 40px;
    }
    .logo,
    .caption {
        margin: 0 auto;
        width: 90% !important;
        text-align: center;
        background-position: 40% center;
        /*background-position: center center;*/
    }
    .caption {
        margin-top: 18px;
    }
    .contacts {
        width: 190px !important;
        margin: 0 auto;
    }

    .header > .caption {
        width: 95% !important;
        height: 100%;
        display: block;
        font-size: 1.4rem !important;
    }
    .contacts {
        text-align: center !important;
    }
    .contacts span {
        display: block;
        font-size: 2rem !important;
        margin: 20px 0 -10px 0;
    }
    .contact__button {
        margin: 0 auto;
        float: none;
        width: 100%;
        max-width: 190px !important;
        height: 45px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        line-height: 42px;
    }
    .nav {
        display: none;
    }
    .nav-responsive {
        display: block;
        position: fixed;
        top: 0;
        width: 100%;
        height: 240px;
        list-style-type: none;
        text-align: center;
        padding-left: 0;
        margin-top: -200px;
        -webkit-transition: margin-top .3s ease;
        -o-transition: margin-top .3s ease;
        transition: margin-top .3s ease;
    }
    .menu-item {
        display: block;
        width: 100%;
        font-size: 1.4rem !important;
        padding: 0 !important;
        background-image: -webkit-gradient(linear, left bottom, left top, from(#2697db), to(#7db8f2));
        background-image: -webkit-linear-gradient(bottom, #2697db 0%, #7db8f2 100%);
        background-image: -o-linear-gradient(bottom, #2697db 0%, #7db8f2 100%);
        background-image: linear-gradient(to top, #2697db 0%, #7db8f2 100%);
    }
    .course {
        display: none;
    }
    .wrap {
        width: 100%;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-top: 30px;
    }
    .videoContainer {
        width: 95%;
        margin-bottom: 0 !important;
    }
    .video {
        width: 100%;
    }
    .underVideo {
        width: 100%;
    }
    .date {
        width: 65%;
        margin: 30px 0 30px 0 !important;
    }
    .date__caption {
        width: 100%;
        height: 80px;
    }
    .date__numbers {
        width: 100%;
        height: 207px;
    }
    .registerContainer {
        width: 100%;
    }
    .register {
        width: 70%;
        margin: 0 auto;
    }
    .register__title,
    .register__notice {
        width: 210px;
    }
    .register__notice {
        font-size: 0.9rem;
    }
    .register__title {
        font-size: 1.4rem;
    }
    .gray_bg {
        height: 100% !important;
        padding-bottom: 0 !important;
    }
    .gray_bg .wrap {
        width: 100% !important;
        padding-bottom: 20px;
        -webkit-box-pack: center !important;
        -webkit-justify-content: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
    }
    .facts {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 20px;
        width: 47%;
        text-align: center;
    }
    .facts:nth-child(1) {
        width: 60%;
        margin-left: 20%;
        margin-right: 20%;
        background-position: 30px center;
    }
    .facts:nth-child(2) {
        background-position: 10px center;
    }
    .facts:nth-child(3) {
        margin-left: 3%;
        background-position: 20px center;
    }
    .facts:nth-child(4) {
        background-position: 7px center;
    }
    .facts:nth-child(5) {
        margin-left: 3%;
        background-position: 15px center;
    }
    .slide__submit {
        font-size: 1.4rem !important;
    }
    .slide__text {
        font-size: 1.15rem !important;
    }
    .slick-next {
        right: 0 !important;
    }
    .slick-prev {
        left: 0 !important;
    }
    .wrap-comments {
        width: 95%;
    }
    .wrap-comments div:first-child {
        margin-bottom: 20px;
    }
    .comments {
        width: 100%;
        -webkit-background-size: cover;
        background-size: cover;
    }
    .underComments {
        width: 100%;
        font-size: 1.15rem;
    }
    .direction {
        padding-top: 10px;
    }
    .direction__slider {
        width: 100%;
        margin-bottom: 20px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        background-color: #fafafa;
        border: 3px solid #fafafa;
    }
    .slick-arrownext {
        right: -15px;
        opacity: .5;
    }
    .slick-arrowprev {
        left: -15px;
        z-index: 1;
        opacity: .5;
    }
    .direction__description {
        font-size: 1.15rem;
        width: 100%;
    }
    .direction__description:before,
    .direction__description:after {
        content: '';
        position: absolute;
        top: -20px;
        left: -webkit-calc(47%);
        left: calc(47%);
        border: 10px solid transparent;
        border-bottom: 10px solid #e2e2e2;
    }
    .direction__description:after {
        border-bottom: 10px solid #fff;
        top: -19px;
    }
    .selectBusiness_btn {
        font-size: 1.15rem;
    }
    .offer__book {
        margin-top: 20px;
    }
    .offer__text {
        font-size: 1.5rem;
        margin: 25px 0;
    }
    .offer__text span {
        color: #fff;
        font-size: 1.8rem;
    }
    .offer__register {
        width: 75%;
    }
    .offerRegister__counter {
        margin-bottom: 50px;
        /* отступ вместо счетчика */
    }
    .gray_bg-wide {
        margin-bottom: 0;
    }
    .footer {
        padding-top: 0;
    }
    .footer .logo {
        width: 236px !important;
    }
    .footer > .caption {
        margin: 30px 0 15px 0 !important;
    }
    .footer > .caption > br {
        display: block;
    }
    .footer > .contacts {
        margin-bottom: 60px;
    }
    #button_bottom {
        margin-bottom: 60px;
    }
}

@media (min-width: 680px) and (max-width: 867px) {
    .slide__containerText {
        width: 66%  !important;
    }
    .slide__text {
        margin-top: 0;
    }
    .slide__submit {
        width: 200px;
        height: 40px;
        line-height: 35px;
        margin-top: 10px;
        font-size: 1.7rem;
    }
}

@media (min-width: 481px) and (max-width: 840px) {
    .wrap-comments {
        width: 90% !important;
    }
    .wrap-comments div:nth-child(2) {
        margin-bottom: 30px;
    }
    .direction {
        width: 82%;
    }
    .direction__description {
        width: 77% !important; 
        margin-top: 20px;   
    }
}

@media (max-width: 767px) {
    .header {
        width: 95%;
        padding-top: 15px;
    }
    header > .caption {
        width: 35% !important;
        height: 100% !important;
        font-size: 1.2rem !important;
    }
    header > .logo {
        width: 35%;
        -webkit-background-size: contain;
        background-size: contain;
    }
    .contacts span {
        font-size: 1.5rem;
    }
    .footer .contacts span {
        font-size: 2rem;
    }
    .contacts {
        width: 27%;
        text-align: right;
    }
    .contact__button {
        width: 100%;
        max-width: 147px;
    }
    .nav {
        width: 100%;
        -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        margin: 15px auto 15px auto;
    }
    .menu-item {
        padding: 10px 0;
        font-size: 1.3rem;
    }
    .menu-item:hover { 
        background-image: -webkit-gradient(linear, left bottom, left top, from(#2697db), to(#7db8f2)); 
        background-image: -webkit-linear-gradient(bottom, #2697db 0%, #7db8f2 100%); 
        background-image: -o-linear-gradient(bottom, #2697db 0%, #7db8f2 100%); 
        background-image: linear-gradient(to top, #2697db 0%, #7db8f2 100%);
    }
    .wrap-video {
        width: 470px !important;
        -webkit-justify-content: space-around !important;
        -ms-flex-pack: distribute !important;
        justify-content: space-around !important;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .videoContainer {
        margin-bottom: 20px;
    }
    .date {
        margin-right: 0 !important;
        margin-bottom: 20px;
    }
    .course {
        display: none;
    }
    .gray_bg .wrap {
        width: 80%;
        -webkit-justify-content: space-around !important;
        -ms-flex-pack: distribute !important;
        justify-content: space-around !important;
    }
    .gray_bg {
        height: 100%;
        padding-bottom: 20px;
    }
    .facts {
        margin-left: 5px;
        margin-right: 5px;
    }
    .facts:first-child {
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
    }
    .slide__text {
        margin-top: 5px !important;
        font-size: 1.25rem;
    }
    .slide__containerText {
        width: 60% !important;
    }
}

@media (max-width: 480px) {
    .wrap-video {
        width: 100% !important;
    }
    .direction .slide__submit {
        width: 200px;
        height: 40px;
        line-height: 35px;
        font-size: 1.15rem !important;
    }
    .menu-item:hover {
        background-image: -webkit-linear-gradient(bottom, #2f9add 0%, #2676a8 100%) !important;
        background-image: -o-linear-gradient(bottom, #2f9add 0%, #2676a8 100%) !important;
        background-image: -webkit-gradient(linear, left bottom, left top, from(#2f9add), to(#2676a8)) !important;
        background-image: linear-gradient(to top, #2f9add 0%, #2676a8 100%) !important;
    }
}

@media (min-width: 702px) and (max-width: 767px) {
    .wrap {
        width: 80%;
    }
}

@media (min-width: 481px) and (max-width: 979px) {
    .header {
        width: 95%;
    }
    .nav {
        width: 100%;
        -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }
    .menu-item {
        padding: 10px 0;
    }
    .menu-item:hover { 
        background-image: -webkit-gradient(linear, left bottom, left top, from(#2697db), to(#7db8f2)); 
        background-image: -webkit-linear-gradient(bottom, #2697db 0%, #7db8f2 100%); 
        background-image: -o-linear-gradient(bottom, #2697db 0%, #7db8f2 100%); 
        background-image: linear-gradient(to top, #2697db 0%, #7db8f2 100%);
    }
    .wrap {
        width: 70%;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .videoContainer {
        margin-bottom: 20px;
    }
    .date {
        margin-right: 30px;
    }
    .course {
        display: none;
    }
    .gray_bg .wrap {
        width: 93%;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .sliderbox {
        width: 90%;
        height: 100%;
    }
    .slider {
        width: 100%;
        height: 100%;
    }
    .slide {
        width: 100%;
        padding: 0 1%;
    }
    .slide__containerText {
        width: 70%;
    }
    .slide__text {
        width: 95%;
     }
    .slick-next {
        right: 0px;
        top: 105px;
    }
    .slick-prev {
        left: 0px;
        top: 105px;
        z-index: 1;
    }
    .wrap-comments {
        width: 100%;
        -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }
    .selectBusiness {
        width: 100%;
        -webkit-box-pack: center !important;
        -webkit-justify-content: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
    }
    .direction .slide__submit {
        width: 159px;
        height: 30px;
        line-height: 30px;
        font-size: 1.25rem !important;
    }
    .direction__description {
        width: 45%;
        min-width: 350px;
    }
    .certificate-desk {
        width: 100%;
        -webkit-box-pack: center !important;
        -webkit-justify-content: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
    }
    .certificate:nth-child(2) {
        margin: 0 50px 0 50px;
    }
    .offer {
        width: 98% !important;
        -webkit-justify-content: space-around !important;
        -ms-flex-pack: distribute !important;
        justify-content: space-around !important;
        height: 100%;
    }
    .offer__text {
        -webkit-box-ordinal-group: 0;
        -webkit-order: -1;
        -ms-flex-order: -1;
        order: -1;
        width: 90%;
        margin: 30px 0 30px 0;
    }
    .offer__book {
        margin-bottom: 10px;
        margin-right: 15px;
    }
    .offer__register {
        margin-bottom: 10px;
    }
    .gray_bg-wide {
        height: 100%;
        padding-bottom: 20px;
    }
    .footer {
        width: 85%;
        -webkit-box-pack: space-evenly;
        -webkit-justify-content: space-evenly;
        -ms-flex-pack: space-evenly;
        justify-content: space-evenly;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .footer .caption {
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
    }
    .footer .contacts {
        margin-top: 0;
        width: 160px;
    }
}
@media (max-width: 679px) {
    .sliderbox {
        margin-top: 0;
        width: 100%;
        height: 100%;
    }
    .slider {
        width: 100%;
        height: 100%;
    }
    .slide {
        width: 100%;
    }
    .slide > div {
        float: none;
        margin: 0 auto;
    }
    .slide__containerPhoto {
        width: 160px;
        height: 200px;
    }
    .slide__containerText {
        width: 90% !important;
    }
    .slide__photo {
        width: 160px;
        height: 160px;
        -webkit-border-radius: 80px;
        border-radius: 80px;
        background-position: -10px 5px;
        margin-top: 15px;
    }
    .slide__name {
        margin-top: 3px;
    }
    .slide__text {
        width: 60%;
    }
    .slide__text {
        width: 100%;
        font-size: 1.3rem;
        margin-top: 10px !important;
    }
    .slide__text:before,
    .slide__text:after {
        content: '';
        position: absolute;
        top: -20px;
        left: -webkit-calc(47%);
        left: calc(47%);
        border: 10px solid transparent;
        border-bottom: 10px solid #e2e2e2;
    }
    .slide__text:after {
        border-bottom: 10px solid #fff;
        top: -19px;
    }
    .slide__submit {
        width: 200px;
        height: 40px;
        line-height: 35px;
        margin-top: 10px;
        font-size: 1.7rem;
    }
    .slick-next {
        right: 5%;
        top: 180px;
        opacity: .5;
    }
    .slick-prev {
        left: 5%;
        top: 180px;
        z-index: 1;
        opacity: .5;
    }
    .certificate-resp {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
    .certificate-desk {
        display: none;
    }
    #certificate {
        width: 240px;
        height: 340px;
        margin: 30px auto 0 auto;
        position: relative;
    }
    .certificate {
        position: absolute;
        -webkit-transition: all .3s;
        -o-transition: all .3s;
        transition: all .3s;
        z-index: 0;
        width: 160px;
        height: 226px;
    }
    .certificate:nth-child(2) {
        margin: 0;
        top: 60px;
    }
    .certificate:before,
    .certificate:after {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    #s1 {
        top: 0;
        left: 0;
    }
    #s2 {
        top: 60px;
        left: 40px;
    }
    #s3 {
        top: 120px;
        left: 80px;
    }
    .footer {
        -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }
    .footer .caption {
        margin: 30px auto 50px auto;
    }
    .footer .contacts span {
        font-size: 2rem;
    }
    #to-top {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 45px;
        -webkit-border-radius: 0;
        border-radius: 0;
        opacity: .9;
        z-index: 999;
    }
}

