/* variables */
@media screen and (max-width: 1440px) {
    .content__inner {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media screen and (min-width: 1800px) {
    .i-slide {
        height: auto !important;
        padding-bottom: 130px !important;
    }
    .data-mobile-bg{
        height: 900px !important;
    }
    .i-about:before{
        top: 63px !important;
    }
    .i-about__start{
        margin-top: 30px;
    }

    .i-about__promo-img{
    	margin-top: 100px;
    }
    .i-about__advantages{
    	margin-top: 100px;
    }
    .i-about__test{
    	margin-top: 80px;
    }
}


@media screen and (max-width: 1279px) {
    .content__name {
        font-size: 35px;
    }

    .content__name--big {
        font-size: 84px;
    }
}
@media screen and (max-width: 1023px) {
    .content__area {
        padding-top: 30px;
    }
}
@media screen and (max-width: 767px) {
    .content__name {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .content__name--big {
        font-size: 48px;
        line-height: 54px;
    }

    .content__name--person {
        margin-bottom: 5px;
    }

    .content__inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .content__subname {
        line-height: 32px;
        font-size: 20px;
    }
	.map-show-all {
		transform: translateX(-40px);
	}
}

@media screen and (min-width: 767px) {

    .d-news__promo-image {
        margin-right: 30px;

    }
}

@media screen and (max-width: 1440px) {
    .i-about__advantage-num {
        margin-top: 20px;
    }

    /*.d-news__promo-image {
        margin-right: 30px;

    }*/
}

@media screen and (max-width: 1366px) {
    .header__dropdown-logo {
        margin-bottom: 15px;
    }

    .header__dropdown-item {
        margin-bottom: 20px;
    }
}

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

    .i-about__advantage-num {
        font-size: 62px;
    }

    .i-about__active-jour {
        width: 100%;
    }

    .i-about__start {
        flex-wrap: wrap;
    }

    .i-about__test {
        margin-right: 40px;
    }

    .i-about__advantage {
        -ms-flex: 1;
        flex: 1;
        max-width: 100%;
        display: -ms-flexbox;
        display: flex;
        margin-top: 0;
    }

    .i-about__advantage:first-child {
        margin-left: 0;
    }

    .i-about__start {
        margin-top: 0;
    }

    .i-about__advantages {
        margin-top: 40px;
        margin-bottom: 40px;
        padding-left: 40px;
        padding-right: 40px;
        flex: none;
        width: 100%;
        box-sizing: border-box;
    }

    .i-about__advantage-content {
        text-align: left;
    }

    .i-about__advantage-image {
        margin-left: 25px;
        margin-right: 25px;
    }

    .i-about__advantage-text {
        text-align: left;
    }

    .i-about__advantage-num {
        margin-top: 10px;
    }

    .i-about__promo {
        -ms-flex: 3;
        flex: 3;
        display: -ms-flexbox;
        display: flex;
    }

    .i-about__test {
        max-width: 240px;
        box-sizing: border-box;
        -ms-flex-positive: 0;
        flex-grow: 0;
    }

    .i-about__more {
        padding-left: 40px;
        padding-right: 70px;
        flex: none;
    }

    .i-about__more .i-about__advantage-content {
        text-align: left;
        padding-top: 30px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .i-about__test-img {
        display: none;
    }

    .i-about__promo-desc {
        max-width: 280px;
    }

    .i-about:before {
        display: none;
    }

    .i-about__slider-promo {
        position: relative;
        width: 100%;
        left: auto;
        top: auto;
        margin: 0 auto 60px auto;
        height: auto;
        background-color: #1ca9e3;
        background-image: url(../images/static/promo-bg.png);
        border-radius: 20px;
    }

    .i-about__slider-promo-link {
        margin-top: 40px;
    }

    .i-about__slider {
        height: auto;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .i-about__slider-heading {
        margin-left: 50%;
        transform: translateX(-50%);
    }

    .i-about__active {
        padding-left: 40px;
        padding-right: 40px;
    }

    .i-about__active-items {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .i-about__active-services {
        width: 100%;
    }
}

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

    .main_content {
        padding-bottom: 0px !important;
    }

    .i-about__more {
        padding-left: 30px;
        padding-right: 30px;
    }

    .i-about__promo-image {
        width: auto;
    }

    .i-about__advantage-num {
        font-size: 64px;
    }

    .i-about__advantage-image {
        margin-left: 0;
        margin-right: 20px;
        width: 90px;
        height: 90px;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

    .i-about__advantage-image img {
        max-width: 100%;
        height: auto;
    }

    .i-about__advantages {
        padding-left: 25px;
        padding-right: 25px;
    }

    .i-about__active {
        padding-left: 30px;
        padding-right: 30px;
    }

    .i-about__start {
        margin-bottom: 0;
    }
}

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

    .i-about__advantage-num--more:before {
        left: -5px;
    }

    .i-about__advantage {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        align-items: center;
    }

    .i-about__advantage-content {
        text-align: center;
        padding-left: 18px;
    }

    .i-about__advantage-image {
        margin-right: 0;
    }

    .i-about__advantage-text {
        text-align: center;
    }

    .i-about__slider-promo {
        padding: 50px 35px;
        margin: 0 auto;
    }

    .i-about__more {
        padding-left: 15px;
        padding-right: 15px;
    }

    .i-about {
        overflow-x: hidden;
    }

    .i-about__test {
        margin-right: 15px;
        margin-left: 15px;
    }
}

@media screen and (max-width: 720px) {
    .i-about__more {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .i-about__promo {
        width: 100%;
        margin-bottom: 30px;
        margin-left: 0;
        margin-right: 0;
    }

    .i-about__test {
        max-width: 100%;
        width: 100%;
    }

    .d-news__article-text iframe {
        width: 470px;
        height: 264.375px;
    }
}

@media screen and (max-width: 500px) {
    .d-news__article-text iframe {
        width: 300px;
        height: 168.75px;
    }
}

@media screen and (max-width: 639px) {
    .i-about__advantages {
        -ms-flex-direction: column;
        flex-direction: column;
        margin-top: 0;
    }

    .i-about__advantage {
        width: 100%;
        max-width: 320px;
        margin: 40px auto 0 auto;
    }

    .i-about__advantage:first-child {
        margin-left: auto;
    }

    .i-about__advantage-num {
        margin-top: 0;
        font-size: 45px;
    }

    .i-about__more {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .i-about__more .i-about__advantage-content {
        padding-left: 0;
        padding-right: 0;
    }

    .i-about__advantage {
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .i-about__advantage-image {
        margin-right: 10px;
    }

    .i-about__advantage-content,
  .i-about__advantage-text {
        text-align: left;
    }

    .i-about__promo {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .i-about__promo-image {
        width: 100%;
    }

    .i-about__slider-heading {
        min-width: 200px;
    }

    .i-about__active-header {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .i-about__active-link {
        display: block;
        color: #0d99ce;
        font-family: "museo";
        text-decoration: none;
        text-transform: uppercase;
        font-size: 16px;
        font-weight: 100;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 1366px) {
    .infobox {
        min-height: 300px;
        padding: 20px;
        max-width: 350px;
        margin-top: 240px;
        margin-right: 500px;
    }

    .infobox__title {
        margin-bottom: 10px;
        font-size: 22px;
        line-height: 30px;
    }

    .infobox__subtitle {
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .infobox-btn-close {
        right: auto;
        top: 255px;
        left: 355px;
    }

    .infobox__addr {
        margin-bottom: 10px;
    }

    .infobox__addr-title {
        font-size: 16px;
    }

    .infobox__person {
        margin-bottom: 10px;
    }

    .infobox__person-name {
        font-size: 16px;
    }

    .infobox__contacts {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 1279px) {
    .infobox {
        margin-right: 0;
    }

    .infobox-btn-close {
        top: 255px;
        left: 330px;
    }

    .i-about__promo-image {
        transform: translateY(0);
    }

    .i-about__promo:hover .i-about__promo-image {
        transform: scale(1.1) translateY(0);
    }

    .i-slide__strong {
        font-size: 42px;
    }
}

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

    .i-slide__strong {
        font-size: 24px;
    }

    .infobox {
        margin-top: 170px;
        margin-left: 20px;
        margin-right: 20px;
        max-width: calc(100% - 80px);
    }

    .infobox__title {
        font-size: 16px;
        line-height: 26px;
    }

    .infobox__subtitle {
        font-size: 16px;
        line-height: 1.2;
    }

    .infobox__addr {
        margin-bottom: 5px;
    }

    .infobox__addr-title {
        font-size: 14px;
        width: 55px;
    }

    .infobox__addr-text {
        font-size: 14px;
    }

    .infobox__person {
        margin-bottom: 5px;
    }

    .infobox__person-name {
        font-size: 14px;
    }

    .infobox__person-position {
        font-size: 14px;
    }

    .infobox__contacts {
        margin-bottom: 5px;
    }

    .infobox__contacts a {
        font-size: 14px;
    }

    .infobox-btn-close {
        left: 270px;
        top: 185px;
    }
    .infobox-btn-showall {
        left: 40px;
    }
}

@media screen and (max-width: 1440px) {
    .i-slide__text {
        font-size: 40px;
        line-height: 50px;
        -ms-flex-item-align: start;
        align-self: flex-start;
        margin-top: 225px;
    }

    .i-slider {
        height: 650px;
    }

    .i-slide {
        height: 650px;
    }

    .i-slider__prev {
        left: 15px;
    }

    .i-slider__next {
        right: 15px;
    }
}

@media screen and (max-width: 1279px) {
    .i-slide__text {
        width: 450px;
    }

    .i-slide__image {
        height: 85%;
        align-self: flex-end;
    }

    .i-slide__inner {
        height: 100%;
    }
}

@media screen and (max-width: 1023px) {
    .i-slider,
    .i-slide {
        height: 568px;
    }

    .i-slide__text {
        margin-top: 170px;
        font-size: 32px;
        line-height: 36px;
    }

    .d-help__quotes {
        width: 100%;
        flex-flow: row wrap;
        -webkit-flex-flow: row wrap;
    }

    .footer {
        padding-top: 0;
    }
}

@media screen and (max-width: 767px) {
    .i-slide__inner {
        -ms-flex-pack: end;
        justify-content: flex-end;
    }
    .i-slide__text {

    }
    .i-slide__image {
        display:none;
        align-self: center;
    }
}
@media screen and (max-width: 640px) {
    .i-slide__text {
        line-height: 30px;
        width: 100%;
        box-sizing: border-box;
        bottom: auto;
        top: 20%;
        right: 0;
        left: auto;
        max-width: 235px;
        margin: 0;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 22px;
        position: absolute;
        z-index: 10;
        text-align: right;
    }
}
@media screen and (max-width: 1440px) {
    .welcome {
        height: 400px;
    }
}

@media screen and (max-width: 1440px) {
    .i-more {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media screen and (max-width: 1279px) {
    .i-more__previews {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .i-more {
        padding-left: 45px;
    }

    .i-more__col {
        width: calc(50% - 40px);
        margin-right: 0;
        padding-right: 40px;
        padding-top: 45px;
    }

    .i-more__col:nth-child(even) {
        padding-right: 0;
        padding-left: 40px;
    }

    .i-more__col:nth-child(even) .i-more__more {
        left: 40px;
    }

    .i-more__col--has-title {
        padding-top: 85px;
    }

    .i-more__announce {
        max-width: 100%;
    }

    .i-more__announce-image {
        width: 100%;
    }

    .i-more__news {
        width: 100%;
        height: auto;
        padding-bottom: 60px;
    }

    .i-more__medel {
        margin-bottom: 70px;
    }

    .i-more__medel img {
        max-width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 1023px) {
    .i-more {
        padding: 25px;
        padding-right: 25px;
    }

    .i-more__col {
        width: calc(50% - 20px);
        padding-right: 20px;
    }

    .i-more__col:nth-child(even) {
        padding-left: 20px;
    }

    .i-more__previews {
        margin-bottom: 50px;
    }

    .i-more__medel {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .i-more__medel-promo {
        width: 100%;
        margin-bottom: 60px;
    }

    .i-more__medel-is {
        margin-left: 0;
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .i-more {
        padding-left: 20px;
        padding-right: 20px;
    }

    .i-more__previews {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .i-more__news {
        display: none;
        padding-bottom: 40px;
    }

    .i-more__col {
        width: 100%;
        padding-right: 0;
        padding-top: 0;
    }

    .i-more__col--has-title {
        padding-top: 35px;
    }

    .i-more__col--has-title .i-more__news {
        display: block;
    }

    .i-more__col:nth-child(even) {
        padding-left: 0;
    }

    .i-more__col:nth-child(even) .i-more__more {
        left: 0;
    }

    .i-more__more {
        position: relative;
        margin-bottom: 20px;
    }

    .i-more__all {
        display: block;
        color: #ffcb07;
        font-family: "museo";
        font-size: 16px;
        font-weight: 100;
        text-transform: uppercase;
        text-decoration: underline;
        margin-bottom: 35px;
    }

    .i-more__announces {
        padding-top: 20px;
    }

    .i-more__medel-promo {
        padding: 60px 40px;
    }

    .i-more__medel-promo-name {
        font-size: 28px;
    }

    .i-more__medel-is {
        height: auto;
    }

    .i-more__announces {
        padding-top: 0;
    }
}

@media screen and (max-width: 1440px) {
    .sub {
        padding-left: 25px;
        padding-right: 25px;
    }
}
@media screen and (min-width: 1023px) and (max-width: 1201px){
    .sub {
        margin-top: -470px;
        background-size: cover;
    }
    .block-before-wave,
    .f-form.block-before-wave {
        margin-bottom: -170px;
        padding-bottom: 272px;
    }
    .fest--wrapper.block-before-wave {
        margin-bottom: -130px;
    }
    .test.block-before-wave {
        margin-bottom: -276px;
        padding-bottom: 250px;
    }
}
@media screen and (max-width: 1023px) {
    .sub {
        background-image: none;
        background-color: #f3f3f4;
        padding-top: 80px;
        margin-top: 0;
    }

    .sub__inner {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .sub__left {
        -ms-flex-direction: row;
        flex-direction: row;
        margin-bottom: 50px;
    }

    .sub__awards {
        padding-left: 0;
        width: 50%;
        font-weight: 700;
        font-size: 18px;
        margin-bottom: 0;
    }

    .sub__form {
        width: 46%;
    }

    .sub__form-head {
        font-size: 24px;
        font-weight: 100;
        line-height: 32px;
        width: 100%;
        margin-bottom: 25px;
    }

    .sub__lists {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .sub__left {
        margin-right: auto;
        flex-direction: column;
        gap: 30px;
    }

    .sub__awards  {
        width: auto;
     }
}
@media screen and (max-width: 680px) {
    .sub {
        padding-top: 40px;
        padding-bottom: 0;
    }

    .sub__awards {
        box-sizing: border-box;
        font-size: 21px;
    }


    .before__sub__awards>a{
        flex-direction: column;
        text-align: center;
    }

     .before__sub__awards>a img{
        height: auto;
     }

    .sub__form {
        width: 100%;
    }

    .sub__lists {
        flex-flow: row wrap;
        -webkit-flex-flow: row wrap;
    }

    .sub__list {
        margin-bottom: 50px;
    }

    .sub__list-item {
        margin-bottom: 15px;
    }

    .sub__list-item:first-child {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 1440px) {
    .bread {
        left: 25px;
    }
}

@media screen and (max-width: 1023px) {
    .bread {
        display: none;
    }
}

@media screen and (max-width: 1365px) {
    .n-news--default {
        width: 740px;
    }

    .n-news--small-left {
        width: 355px;
    }
}

@media screen and (max-width: 1279px) {
    .n-news--default {
        width: 62%;
    }

    .n-news--fat {
        width: 35%;
    }

    .n-news--small-left {
        width: 29.5%;
    }

    .n-news--small-right {
        width: 35%;
    }

    .n-news__text {
        font-size: 16px;
        line-height: 24px;
    }
}

@media screen and (max-width: 1023px) {
    .n-news__image {
        -ms-flex-negative: 0;
        flex-shrink: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        width: 240px;
    }

    .n-news {
        float: none;
    }

    .n-news:nth-last-child(-n+2) {
        margin-bottom: 30px;
    }

    .n-news--default {
        width: 100%;
    }

    .n-news--default .n-news__image {
        width: 240px;
    }

    .n-news--fat {
        width: 100%;
        height: 220px;
        display: -ms-flexbox;
        display: flex;
    }

    .n-news--fat .n-news__image {
        height: 100%;
    }

    .n-news--fat .n-news__content {
        height: auto;
        padding: 45px 20px 35px 35px;
    }

    .n-news--small-left {
        width: 47.9%;
        float: left;
    }

    .n-news--small-right {
        width: 47.9%;
    }

    .n-news--imaged .n-news__image {
        position: relative;
    }

    .n-news--imaged .n-news__content {
        position: relative;
    }

    .n-news--imaged .n-news__text {
        text-align: left;
        color: #000;
    }

    .n-news--imaged .n-news__date {
        color: #b6b6b6;
    }

    .n-news--imaged .n-news__hash {
        color: #00aeef;
    }

    .news__ajax-wrapper {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 767px) {
    .n-news--default, .n-news--fat, .n-news--small-left {
        display: block;
        height: auto;
    }

    .n-news--default .n-news__image, .n-news--fat .n-news__image, .n-news--small-left .n-news__image {
        width: 100%;
        height: 170px;
    }

    .n-news--default .n-news__content, .n-news--fat .n-news__content, .n-news--small-left .n-news__content {
        padding: 25px;
        width: auto;
    }

    .n-news--default .n-news__text, .n-news--fat .n-news__text, .n-news--small-left .n-news__text {
        margin-bottom: 25px;
        height: auto;
    }

    .n-news--default .n-news__desc, .n-news--fat .n-news__desc, .n-news--small-left .n-news__desc {
        display: block;
    }

    .n-news--default .n-news__hashs, .n-news--fat .n-news__hashs, .n-news--small-left .n-news__hashs {
        margin-bottom: 15px;
    }

    .n-news--small-green {
        margin-left: 0;
    }
}

@media screen and (max-width: 1279px) {
    .a-slider__slide {
        height: auto;
        margin: 0 auto;
    }
    .a-slider-inner {
        max-width: calc(100% - 60px);
        margin: 0 auto 60px auto;
    }

    .a-slider__slide-content {
        margin-left: 80px;
        bottom: 0px;
    }

    .a-slider .owl-dots {
        margin-left: 50%;
        transform: translateX(-50%);
        bottom: 10px;
    }
}
@media screen and (max-width: 767px) {
    .a-slider-inner {
        max-width: calc(100% - 30px);
    }
    .a-slider__slide-wrapper {
        display: none;
    }
}
@media screen and (max-width: 500px) {
    .a-slider {
        padding-bottom: 40px;
    }

    .a-slider__slide,
  .a-slider__slide-filter,
  .a-slider,
  .a-slider__slide-image {
        border-radius: 0;
    }

    .a-slider__slide-head {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 0;
    }

    .a-slider__slide-content {
        margin-left: 30px;
        bottom: 0px;
    }

    .a-slider__slide-desc,
  .a-slider__slide-date {
        display: none;
    }

    .a-slider-inner {
        margin-bottom: 45px;
    }
}

@media (max-width: 500px) {
    .sub__lists {
        column-count: 1;
    }
}

/* i-service */
@media screen and (max-width: 1279px) {
    .i-service {
        width: 33.333%;
        overflow: visible;
        box-shadow: 0 10px 40px rgba(13, 153, 205, 0.15);
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .i-service__hover {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        position: relative;
        top: 0;
        height: calc(100% - 165px);
    }

    .i-service__image {
        display: none;
    }

    .i-service__hover-link {
        display: block;
        color: #0d99ce;
        text-transform: uppercase;
        font-family: "OpenSansRegular";
        font-size: 14px;
        font-weight: 600;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .i-service__hover-link:before {
        content: '';
        display: inline-block;
        width: 40px;
        height: 40px;
        margin-bottom: -15px;
        margin-right: 15px;
        background-image: url(../images/static/hover-arr.png);
        background-repeat: no-repeat;
        background-position: center;
    }
}

@media screen and (max-width: 1023px) {
    .i-service {
        margin-right: 35px;
        width: 50%;
    }

    .i-service:last-child {
        display: none;
    }

    .i-service:nth-child(2) {
        margin-right: 0;
    }
}

@media screen and (max-width: 767px) {
    .i-about__active {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 639px) {
    .i-service {
        display: none;
        width: 100%;
        margin-right: 0;
    }

    .i-service:first-child {
        display: block;
    }

    .i-service__hover,
  .i-service__head {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media screen and (max-width: 1279px) {
    .i-journal--index {
        margin-top: 80px;
        width: 100%;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-align: start;
        align-items: flex-start;
        text-align: left;
        padding-top: 0;
        padding-bottom: 0;
    }

    .i-journal__image {
        margin-left: 25px;
        margin-right: 25px;
        margin-top: -27px;
        margin-bottom: -60px;
    }

    .i-journal__image img {
        max-width: 100%;
        height: auto;
    }

    .i-journal__button {
        margin-top: 0;
        padding: 20px;
        font-weight: 700;
    }

    .i-journal__info {
        padding-left: 15px;
    }

    .i-journal__head {
        margin-bottom: 30px;
    }

    .i-journal__content,
  .i-journal__subscribe {
        padding-top: 60px;
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 1023px) {
    .i-journal {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .i-journal--about {
        margin-top: 80px;
        width: 100%;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-align: start;
        align-items: flex-start;
        text-align: left;
        padding-top: 0;
        padding-bottom: 0;
    }

    .i-journal__content {
        width: 50%;
    }

    .i-journal__image {
        width: 42%;
        margin-right: 40px;
        margin-left: 0;
        margin-top: -38px;
    }

    .i-journal__text {
        max-width: 250px;
    }

    .i-journal__subscribe {
        padding-top: 0;
        width: 100%;
        display: -ms-flexbox;
        display: flex;
    }

    .i-journal__button {
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

    .i-journal__info {
        padding-left: 150px;
        padding-top: 60px;
    }
}

@media screen and (max-width: 720px) {
    .i-journal {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        align-items: center;
        padding-left: 25px;
        padding-right: 25px;
        margin-top: 40px;
    }

    .i-journal__content {
        width: 100%;
        text-align: center;
    }

    .i-journal__text {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .i-journal__image {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 20px;
        text-align: center;
    }

    .i-journal__image img {
        max-width: 100%;
        height: auto;
    }

    .i-journal__subscribe {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        align-items: center;
    }

    .i-journal__info {
        padding-left: 0;
        padding-top: 0;
        max-width: 210px;
        margin: 0 auto 20px auto;
        text-align: center;
    }

    .i-journal__button {
        margin-bottom: 30px;
    }

    .i-journal__head {
        font-size: 24px;
    }
}

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

    .content {
        overflow-x: hidden;
    }

    .i-stories {
        margin-top: 90px;
        padding-left: 35px;
        padding-right: 35px;
    }

    .i-stories--inside {
        padding-top: 75px;
        padding-bottom: 75px;
        margin-top: 0;
    }

    .i-stories--inside .i-stories__slider {
        /*margin-bottom: 0;*/
    }

    .i-stories__slide-text {
        padding-left: 50px;
        padding-top: 25px;
    }
}

@media screen and (max-width: 1023px) {
    .i-stories {
        padding: 100px 80px 30px 80px;
    }
    .i-stories__slide {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .i-stories__slide-image {
        width: 100%;
    }

    .i-stories__slide-text {
        max-width: 100%;
        padding-left: 30px;
        line-height: 33px;
    }

    .i-stories__slide-name {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .i-stories__slide-name:before {
        left: -25px;
        z-index: -1;
    }

    .i-stories__slider {
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 767px) {
    .i-stories .owl-dots {
        bottom: -26px;
    }
}
@media screen and (max-width: 720px) {
    .i-stories {
        padding: 100px 40px 30px 40px;
    }
}

@media screen and (max-width: 600px) {
    .i-stories {
        padding: 60px 15px 30px 15px;
    }

    .i-stories__slide-image {
        height: 280px;
    }

    .i-stories__slide-text {
        padding-left: 0;
    }

    .i-stories__slide-name {
        font-size: 21px;
        line-height: 32px;
        margin-bottom: 20px;
    }
    .i-stories__slide-author {
        margin-top: 15px;
    }
}

/* i-friends */
@media screen and (max-width: 1279px) {
    .i-friends__inner {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .i-friends__header {
        max-width: 100%;
        margin-bottom: 45px;
    }

    .i-friends__row {
        box-sizing: border-box;
        padding-left: 0;
        padding-right: 20px;
    }
}

@media screen and (max-width: 1023px) {
    .i-friends {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .i-friends__header {
        font-size: 35px;
        margin-bottom: 35px;
    }

    .i-friends__more {
        width: 100%;
        max-width: 580px;
        margin: 50px auto;
    }

    .i-friends__more-head {
        font-size: 31px;
    }

    .i-friends__more-link {
        display: inline-block;
    }
}

@media screen and (max-width: 639px) {
    .i-friends {
        z-index: 6;
    }

    .i-friend {
        display: none;
    }

    .i-friend:first-child {
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    .i-friend__image {
        -ms-flex-pack: center;
        justify-content: center;
    }

    .i-friends__header {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .i-friends__all {
        display: block;
        margin-bottom: 30px;
        text-transform: uppercase;
        color: #03a7e5;
        font-family: "museo";
        font-size: 16px;
        font-weight: 100;
    }

    .i-friends__more {
        position: relative;
        margin-top: 40px;
        padding-left: 40px;
    }
}

/* story */
@media screen and (max-width: 1279px) {
    .story--green .story__content {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media screen and (max-width: 1023px) {
    .story {
        width: 48%;
    }

    .grid-sizer {
        width: 46%;
    }

    .gutter-sizer {
        width: 6%;
    }
}

@media screen and (max-width: 767px) {
    .story {
        width: 100%;
        margin-bottom: 25px;
    }

    .story--note:before {
        left: 0;
        margin-left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }

    .story--green .story__content {
        padding-left: 35px;
        padding: 35px;
    }

    .story__more {
        padding: 20px 45px;
    }

    .story__image {
        height: 270px;
    }

    .story__content {
        padding: 20px 35px;
    }

    .story__head {
        font-size: 18px;
        line-height: 26px;
    }

    .grid-sizer {
        width: 100%;
    }

    .gutter-sizer {
        width: 0%;
    }
}

@media screen and (max-width: 1279px) {
    .add-story {
        padding-top: 45px;
    }

    .add-story__head {
        font-size: 24px;
        margin-bottom: 45px;
    }

    .add-story__form {
        max-width: calc(100% - 80px);
    }
}

@media screen and (max-width: 1023px) {
    .add-story {
        padding-bottom: 50px;
    }

    .add-story__form {
        padding: 35px 25px;
    }

    .add-story__input-fake {
        font-size: 16px;
    }

    .add-story__input,
  .f-form__input {
        font-size: 16px;
    }

    .add-story__input-fake {
        padding-left: 60px;
    }

    .add-story__input-fake:before {
        left: 17px;
    }
}

@media screen and (max-width: 767px) {
    .add-story__head {
        font-size: 21px;
        padding-left: 45px;
        padding-right: 45px;
        margin-bottom: 30px;
    }

    .add-story {
        padding-top: 30px;
    }

    .add-story__form {
        max-width: calc(100% - 40px);
        padding: 30px 20px;
    }

    .add-story__inputs-wrapper {
        display: block;
    }

    .add-story__input-area {
        width: 100%;
    }

    .add-story__submit {
        padding: 17px 28px;
    }
}

/*  persons  */
@media screen and (max-width: 767px) {
    .persons {
        padding-bottom: 0;
    }

    .person {
        margin-bottom: 40px;
    }

    .person__image {
        width: 100%;
        max-width: 330px;
    }
}

/*    test   */
@media screen and (max-width: 1279px) {
    .test__top-title {
        font-size: 24px;
    }

    .test__top {
        border: none;
        padding-bottom: 10px;
    }

    .test__form {
        padding-left: 40px;
        padding-right: 40px;
    }

    /*.test {
        min-height: 800px;
    }*/
}

@media screen and (max-width: 1023px) {
    .test__ask {
        width: 250px;
    }

    .test__option-content {
        padding-left: 55px;
    }

    .test {
        padding-bottom: 20px;
        min-height: 700px;
    }

    .test__links {
        padding-left: 250px;
    }
}

@media screen and (max-width: 767px) {
    .test {
        margin-top: 40px;
    }

    .test__top {
        padding-top: 30px;
        padding-bottom: 20px;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: start;
        align-items: flex-start;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .test__top-title {
        font-size: 21px;
        margin-bottom: 35px;
        margin-left: 0;
    }

    .test__top-link {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .test__question-title {
        font-size: 21px;
        margin-bottom: 20px;
    }

    .test__form {
        padding-left: 0;
        padding-right: 0;
    }

    .test__question {
        padding-top: 30px;
    }

    .test__question-inner {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .test__ask {
        margin-bottom: 35px;
    }

    .test__option-title,
  .test__option-note {
        font-size: 16px;
        line-height: 23px;
    }

    .test__links {
        padding-left: 0;
    }

    .test__next-btn {
        padding: 15px 30px;
    }

    .test__links {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .test__prev {
        margin-top: -45px;
    }

    .test__step {
        padding-left: 60px;
    }
}

@media screen and (max-width: 1279px) {
    .j-description {
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 1023px) {
    .target__dates {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 767px) {
    .o-description__title {
        font-size: 16px;
        line-height: 22px;
    }

    .o-description__pre {
        width: 100%;
        padding-right: 0;
        margin-bottom: 25px;
    }

    .o-description {
        display: block;
    }

    .description--target {
        margin-bottom: 30px;
    }

    .o-description__subtitle {
        font-size: 16px;
        font-weight: 300;
    }

    .o-description__post {
        font-size: 16px;
        line-height: 30px;
    }

    .target__text {
        margin-bottom: 30px;
    }

    .target__date {
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

/*   j-about   */
@media screen and (max-width: 1279px) {
    .j-about {
        margin-top: 50px;
    }

    .j-about--article {
        padding-left: 25px;
        padding-right: 25px;
    }

    .j-about--article .j-about__image {
        width: 340px;
        margin-top: -20px;
        margin-right: 45px;
    }

    .j-about--article .j-about__text {
        padding-bottom: 45px;
    }

    .j-about--article .more-link {
        margin-top: 30px;
    }

    .j-about--article .section-text {
        font-size: 16px;
        line-height: 26px;
    }

    .j-about--sub .j-about__image--first {
        display: none;
    }

    .j-about--sub .j-about__image--second {
        width: 370px;
        height: auto;
    }

    .j-about--sub .j-about__head {
        font-size: 24px;
        line-height: 34px;
    }

    .j-about--sub:hover .j-about__image {
        transform: scale(1);
    }
}

@media screen and (max-width: 767px) {
    .j-about--article {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .j-about--article .j-about__image {
        width: 140px;
    }

    .j-about--article .j-about__text {
        padding-top: 20px;
    }

    .j-about--sub {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 0;
        display: block;
    }

    .j-about--sub .j-about__text {
        padding-top: 20px;
        padding-bottom: 0;
    }

    .j-about--sub .j-about__image--second {
        width: 100%;
    }
}

/*   look  */
@media screen and (max-width: 1279px) {
    .look {
        padding-left: 180px;
        padding-top: 90px;
        margin-top: -30px;
        padding-bottom: 100px;
    }

    .look .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .look .section-text {
        font-size: 16px;
        line-height: 26px;
    }

    .look__video {
        margin-left: 0;
        margin-top: 45px;
    }
}

@media screen and (max-width: 1023px) {
    .look {
        padding-left: 50px;
        padding-right: 50px;
        padding-bottom: 80px;
    }

    .look .section-title {
        text-align: center;
    }
}

@media screen and (max-width: 767px) {
    .look {
        margin-top: 40px;
        padding-top: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .look__video {
        height: 240px;
    }

    .look__video .s-album__item {
        height: 100%;
    }
}

/*   book  */
@media screen and (max-width: 1279px) {
    .book {
        padding-top: 60px;
        padding-bottom: 15px;
    }

    .section-title {
        text-align: center;
        font-size: 24px;
    }

    .book__row {
        max-width: 770px;
    }

    .book__content {
        margin-left: -190px;
    }
}

@media screen and (max-width: 1023px) {
    .book__row {
        max-width: 640px;
    }

    .book__content {
        margin-left: -215px;
    }
}

@media screen and (max-width: 767px) {
    .book {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .book .section-title {
        font-size: 21px;
    }

    .book__row {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .book__img img {
        max-width: 100%;
        height: auto;
    }

    .book__content {
        margin-left: 0;
    }
}

/* games */
@media screen and (max-width: 1279px) {
    .games {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media screen and (max-width: 1023px) {
    .games {
        padding-left: 30px;
        padding-right: 30px;
    }

    .game__name {
        font-size: 20px;
    }

    .game__img {
        width: 220px;
        height: 220px;
    }

    .games__inner {
        margin-top: 40px;
    }
}

@media screen and (max-width: 767px) {
    .section-text {
        font-size: 16px;
        line-height: 26px;
    }

    .games {
        padding-top: 40px;
        padding-bottom: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    .games__inner {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .game__img {
        margin: 0 auto;
        width: 180px;
        height: 180px;
    }

    .game {
        margin-bottom: 60px;
    }

    .game:hover .game__img {
        transform: translateY(-5px);
    }
}

/*   j-block   */
@media screen and (max-width: 1366px) {
    .j-list--overlayed {
        padding-left: 18px;
        padding-right: 11px;
    }

    .j-list--overlayed .j-list__slider {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 1279px) {
    .j-block {
        padding-left: 40px;
        padding-right: 40px;
    }

    .j-block .content__inner {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 1023px) {
    .j-block {
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 767px) {
    .j-block {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .j-list--overlayed {
        margin-top: 40px;
        padding-top: 35px;
        padding-bottom: 60px;
    }

    .j-list__slide {
        height: 370px;
    }

    .j-list__slider .owl-nav {
        top: auto;
        margin-top: 0;
        bottom: -13px;
        max-width: 150px;
        left: 50%;
        transform: translateX(-50%);
    }

    .j-list__slider {
        overflow: visible;
        padding-top: 0;
        padding-bottom: 5px;
    }

    .j-list__slider:hover .j-list__slide {
        transform: scale(1);
    }

    .j-list__slider.owl-carousel .owl-stage-outer {
        overflow: hidden;
    }
}

/* develop */
@media screen and (max-width: 1279px) {
    .content__name--dev {
        font-size: 80px;
        line-height: 77px;
    }

    .content__bg-img--404 {
        top: 7%;
        right: -180px;
    }
}

@media screen and (max-width: 1023px) {
    .content__inner--has-space {
        padding-bottom: 50px;
    }

    .content__area--404 {
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 767px) {
    .content__name--dev {
        font-size: 40px;
        line-height: 44px;
    }

    .content__bg-img--404 {
        right: -250px;
    }

    .content__bg-img--left-404 {
        bottom: 220px;
        left: -75px;
    }

    .content__bg-img--star {
        left: -30px;
    }

    .develop__text {
        margin-bottom: 0;
    }
}

/*   hash   */
@media screen and (max-width: 1366px) {
    .hash__dropdown-inner {
        padding-left: 50px;
    }
}

@media screen and (max-width: 1279px) {
    .hash__item:nth-child(+n+7):not(.hash__item--opener) {
        display: none;
    }
}

@media screen and (max-width: 1023px) {
    .hash__item:nth-child(+n+7):not(.hash__item--opener) {
        display: block;
    }

    .hash__item:nth-child(+n+6):not(.hash__item--opener) {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .hash__item:nth-child(+n+6):not(.hash__item--opener) {
        display: block;
    }

    .hash__item:nth-child(+n+5):not(.hash__item--opener) {
        display: none;
    }

    .hash__dropdown {
        display: block;
        padding-top: 140px;
        overflow: scroll;
    }

    .hash__dropdown-inner {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media screen and (max-width: 610px) {
    .hash__item:nth-child(+n+4):not(.hash__item--opener) {
        display: none;
    }
}

@media screen and (max-width: 420px) {
    .hash__item:nth-child(+n+3):not(.hash__item--opener) {
        display: none;
    }
}

@media screen and (max-width: 1279px) {
    .s-promo {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .s-promo__text {
        font-size: 16px;
        line-height: 26px;
        max-width: 720px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 1023px) {
    .s-promo--fest {
        margin-top: 0;
    }
    .s-promo--distant {
        padding-bottom: 0 !important;
    }
    .s-promo__add {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 767px) {
    .s-promo {
        padding-left: 20px;
        padding-right: 20px;
    }

    .s-promo--fest {
        margin-top: 40px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .s-promo--fest .s-promo__text {
        text-align: left;
    }

    .s-promo--fest .s-promo__add {
        font-size: 14px;
        margin-bottom: 0;
    }
    .s-promo--distant .s-promo__add {
        font-size: 14px;
    }
    .s-promo__nav {
        margin-top: 40px;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .s-promo__add {
        padding: 20px 30px;
    }
}

@media screen and (max-width: 1279px) {
    .fest__head {
        font-size: 21px;
        margin-top: 60px;
        margin-bottom: 45px;
    }

    .fest__nominations {
        max-width: 750px;
        margin: 0 auto;
    }

    .fest__nominations-item {
        height: 190px;
    }

    .fest__nominations-item-img {
        height: 100px;
    }

    .fest__nominations-item-name {
        top: 125px;
        font-size: 16px;
        line-height: 24px;
    }

    .fest__description {
        padding-left: 35px;
        padding-right: 35px;
    }

    .fest__description-post {
        margin-left: 70px;
    }
}

@media screen and (max-width: 767px) {
    .fest__nominations {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .fest__nominations-item {
        width: 50%;
    }

    .fest__nominations-item-name {
        position: relative;
        top: 0;
        margin-top: 15px;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .fest__nominations-item {
        height: auto;
        margin-bottom: 40px;
    }

    .fest__description {
        -ms-flex-direction: column;
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
    }

    .fest__description-pre {
        width: 100%;
    }

    .fest__description-post {
        margin-left: 0;
        width: 100%;
        padding-top: 35px;
        border: none;
    }
}

.s-album .c-slider__nav-wrapper {
    display: none;
}

@media screen and (max-width: 1279px) {
    .s-album {
        padding-top: 70px;
        padding-bottom: 70px;
        z-index: 2;
    }

    .s-album--person {
        padding-bottom: 200px;
    }

    .s-album__item {
        height: 230px;
        width: 24%;
        margin-bottom: 15px;
    }

    .s-album__item--big {
        width: 48%;
    }
}

@media screen and (max-width: 1023px) {
    .s-album--person {
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 920px) {
    .s-album {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 0;
        padding-bottom: 20px;
        margin-top: 30px;
    }

    .s-album__item {
        width: 100%;
        max-width: 100%;
        height: 400px;
    }

    .s-album__item--big {
        width: 100%;
    }

    .s-album .c-slider__nav-wrapper {
        display: -ms-flexbox;
        display: flex;
    }
}

@media screen and (max-width: 767px) {
    .s-album__item {
        height: 240px;
    }

    .s-album {
        padding-bottom: 35px;
    }
}

@media screen and (max-width: 1023px) {
    .s-archive {
        padding-top: 60px;
        padding-bottom: 40px;
        margin-bottom: 0;
    }

    .s-archive__head {
        font-size: 31px;
    }

    .s-archive__slider-control {
        margin-right: 0;
        padding: 13px 16px;
    }

    .s-archive__slide-images {
        -ms-flex-align: center;
        align-items: center;
    }

    .s-archive__slide-images .s-archive__slide-image:nth-child(2) {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .s-archie__slide {
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .s-archie__slide-row {
        flex-direction: column;
        -ms-flex-direction: column;
    }
    .s-archive__slide-text {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .s-archive__slide-head {
        margin-bottom: 30px;
    }

    .s-archive__slide-image:first-child {
        margin-right: 0;
    }

    .s-archive__slide-images {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .s-archive__slide-images .s-archive__slide-image {
        margin-bottom: 20px;
    }

    .s-archive__slide-images .s-archive__slide-image:nth-child(2) {
        display: block;
    }

    .s-archive__drop {
        position: relative;
        display: inline-block;
        margin-left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 3;
        margin-bottom: 30px;
    }

    .s-archive__drop-control {
        position: relative;
        display: inline-block;
        background-color: #ffcb08;
        padding: 13px 40px 13px 20px;
        border-radius: 30px;
        cursor: pointer;
        z-index: 3;
    }

    .s-archive__drop-control:after {
        position: absolute;
        content: '';
        border: 5px solid transparent;
        border-top: 6px solid #000;
        top: 18px;
        right: 21px;
    }

    .s-archive__slider-nav {
        background-color: #ffcb08;
        position: absolute;
        padding-top: 20px;
        left: 50%;
        top: calc(100% - 20px);
        width: 100%;
        -ms-flex-direction: column;
        flex-direction: column;
        border-bottom-left-radius: 22px;
        border-bottom-right-radius: 22px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px) translateX(-50%);
        transition: opacity .3s, visibility .3s, transform .3s;
    }

    .s-archive__slider-nav.is-opened {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) translateX(-50%);
    }

    .s-archive__slider-control {
        color: #000;
    }

    .s-archive__slider-control.is-active {
        background-color: #fff;
    }
}

@media screen and (max-width: 1279px) {
    .lesson__sizer {
        width: 47%;
    }

    .lesson {
        width: 47%;
    }

    .lesson__gutter {
        width: 5%;
    }
}

@media screen and (max-width: 1023px) {
    .lesson__sizer {
        width: 47%;
    }

    .lesson__gutter {
        width: 3%;
    }

    .lesson {
        width: 47%;
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .lesson__sizer {
        width: 100%;
    }

    .lesson__gutter {
        width: 0%;
    }

    .lesson {
        width: 100%;
        max-width: 100%;
    }

    .lesson__content {
        padding: 30px 20px;
    }

    .lesson__text {
        font-size: 16px;
    }
}

@media screen and (max-width: 1023px) {
    .d-help .d-news__welcome {
        display: block;
    }

    .d-help .d-news__welcome-image {
        float: left;
        width: 50%;
        margin-right: 30px;
    }

    .d-help .d-news__welcome-about {
        width: 100%;
        margin-left: 0;
    }
}

@media screen and (max-width: 1280px) {
    .d-news__welcome-about-head {
        margin-bottom: 20px;
        line-height: 38px;
        font-size: 30px;
    }

    .d-news__welcome-about-text {
        max-height: 100%;
    }
}

@media screen and (max-width: 1023px) {
    .d-news--has-space {
        padding-bottom: 0;
        padding-top: 0;
    }

    .d-news__welcome-image {
        height: 360px;
    }

    .d-news__welcome-about-head {
        margin-top: 0;
    }

    .d-news__welcome-about {
        padding-top: 0;
    }

    .d-news__welcome-about-head {
        line-height: 28px;
        font-size: 22px;
    }

    .d-news__welcome {
        display: block;
    }

    .d-news__welcome-image {
        float: left;
        width: 55%;
        margin-right: 30px;
        height: 300px;
    }

    .d-news__welcome-about,
  .d-news__welcome-about-date {
        width: 100%;
        margin-left: 0;
    }

    .d-news__welcome-about-date {
        border: none;
    }

    .d-news__welcome-about-hash {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .d-news__welcome-hash {
        margin-right: 40px;
        margin-bottom: 20px;
    }

    .d-news__welcome-about-text {
        clear: both;
        padding-top: 30px;
    }

    .d-news__promo {
        display: block;
    }

    .d-news__promo-image {
        margin-bottom: 40px;
        margin-right: 0;
    }

    .description--d-news {
        max-width: 630px;
    }

    .d-news__quotes {
        width: 100%;
        flex-flow: row wrap;
        -webkit-flex-flow: row wrap;
    }

    .d-news__quoute {
        flex: 0 0 47%;
        max-width: 47%;
        margin-bottom: 15px;
    }

    /*.d-news__quoute:nth-child(3) {
        display: none;
    }*/

    .d-news__more-items {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }

    .d-news__welcome {
        margin-bottom: 10px;
    }

    .d-help__container {
        padding-bottom: 50px;
    }
    .news-slider__wrapper {
        /* height: 430px; */
        height: auto;
    }
}

@media screen and (max-width: 767px) {
    .d-news__welcome {
        -ms-flex-direction: column;
        flex-direction: column;
        margin-bottom: 25px;
    }

    .d-news__welcome-image {
        width: 100%;
        height: 240px;
        margin-bottom: 30px;
    }

    .d-news__welcome-about {
        margin-left: 0;
        width: 100%;
    }

    .d-news__article-name {
        margin-bottom: 15px;
    }

    .n-news {
        width: 100%;
    }

    .d-news__quoute {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /*.d-news__quoute:nth-child(2) {
        display: none;
    }*/

    .d-news__promo-image {
        width: 100%;
        min-height: 0;
        margin-bottom: 20px;
    }

    .d-news__promo {
        margin-top: 40px;
    }

    .description {
        font-size: 18px;
        line-height: 31px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .d-news__list {
        margin-top: 40px;
    }

    .d-news__welcome-about-head,
    .d-news__more-head {
        margin-bottom: 20px;
        line-height: 36px;
        font-size: 24px;
    }

    .d-news__more {
        margin-top: 40px;
    }

    .d-news__welcome-image {
        float: none;
        width: 100%;
        margin-right: 0;
    }

    .d-news__welcome-about-hash {
        margin-bottom: 0;
    }

    .d-news {
        padding-top: 0;
    }

    .d-news__welcome-about-text {
        padding-top: 0;
    }

    .news-slider__inner {
        padding-bottom: 65px;
        -ms-flex-align: end;
        align-items: flex-end;
        padding-left: 30px;
    }

    .news-slider__text {
        font-size: 22px;
        line-height: 36px;
    }

    .d-help__container {
        padding-top: 30px;
    }

    .d-news__quotes {
        margin-top: 40px;
    }

    .d-help {
        padding-top: 30px;
    }

    .d-help .d-news__welcome-image {
        float: none;
        width: 100%;
        margin-right: 0;
    }
}

@media screen and (max-width: 1023px) {
    .specs__title--bot {
        margin-top: 25px;
    }
}
@media screen and (max-width: 767px) {
    .specs {
        margin-top: 0;
    }

    .specs__title {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 15px;
    }
    .specs__title--bot {
        margin-top: 0;
    }
    .s-map {
        height: 270px;
    }
}

@media screen and (max-width: 767px) {
    .f-form {
        padding-top: 30px;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .f-form__head {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .f-from__form {
        padding-left: 30px;
        padding-right: 30px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .f-from__input-wrapper {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .f-form__input {
        width: 100%;
    }

    .faq__item {
        padding-left: 40px;
        padding-top: 20px;
        padding-right: 20px;
        margin-bottom: 0;
    }

    .faq__item.is-active {
        padding-left: 40px;
        padding-top: 20px;
        padding-right: 20px;
    }

    .faq__item:before {
        left: 15px;
        top: 17px;
        font-size: 18px;
    }

    .faq__answer {
        font-size: 16px;
        line-height: 30px;
    }

    .faq__question {
        margin-bottom: 20px;
    }
}

/*  steps  */
@media screen and (max-width: 1023px) {
    .steps {
        padding-left: 0;
    }

    .step__img {
        -ms-flex-negative: 0;
        flex-shrink: 0;
        width: 80px;
    }

    .steps__title {
        margin-bottom: 35px;
    }
}

@media screen and (max-width: 767px) {
    .steps__inner {
        display: block;
    }

    .step {
        width: 100%;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .step__img {
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    }

    .step__content {
        padding-left: 0;
        padding-right: 0;
    }

    .step__content:before {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .steps__title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .step__title {
        font-size: 19px;
    }
}

@media screen and (max-width: 1023px) {
    .a-person {
        margin-top: 30px;
    }

    .a-person__info-name {
        margin-bottom: 30px;
    }
}

/*  news-slider*/
@media screen and (max-width: 1023px) {
    .news-slider__slide {
        height: 430px;
    }

    .news-slider__text {
        font-size: 21px;
        line-height: 30px;
    }
}

@media screen and (max-width: 680px) {
    .news-slider__inner {
        -ms-flex-pack: start;
        justify-content: flex-start;
        -ms-flex-align: end;
        align-items: flex-end;
    }

    .news-slider__about {
        padding-left: 0;
        margin-bottom: 0;
    }

    .news-slider__text {
        padding-bottom: 10px;
    }

    .news-slider__slide {
        height: 70vh;
        min-height: 430px;
    }
}

@media screen and (max-width: 1279px) {
    .c-slider--summer {
        width: 100%;
    }

    .c-slider__slide {
        max-width: 100%;
    }

    .c-slider__nav {
        margin-bottom: 22px;
    }
}

@media screen and (max-width: 767px) {
    .c-slider__nav {
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .c-slider__slide {
        height: 240px;
    }
}

/*   s-slider  */
@media screen and (max-width: 1279px) {
    .s-slider {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .s-slider__text {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

/*   s-project  */
@media screen and (max-width: 1023px) {
    .s-project {
        margin-bottom: 50px;
    }

    .s-project__head-text {
        padding-right: 30px;
        font-size: 30px;
    }

    .s-project__head {
        padding-top: 35px;
    }

    .s-project__text {
        padding-top: 35px;
    }
}

@media screen and (max-width: 767px) {
    .s-project {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .s-project__head {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .s-project__text {
        padding-top: 10px;
    }

    .s-project__phar {
        margin-bottom: 20px;
    }
}

/*   sub-comments   */
@media screen and (max-width: 1279px) {
    .sub-comments {
        background-image: none;
        background-color: #eaeaec;
        padding-top: 15px;
    }

    .sub-comments__grid {
        width: 28%;
    }

    .sub-comments__head {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 1023px) {
    .sub-comments__grid {
        width: 47%;
    }

    .sub-comments__item {
        width: 47%;
    }

    .sub-comments__gutter {
        width: 3%;
    }

    .sub-comments__head {
        margin-bottom: 50px;
    }

    .sub-comments {
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 690px) {
    .sub-comments__grid {
        width: 100%;
    }

    .sub-comments__item {
        width: 100%;
        min-width: 0;
        padding: 30px 30px 35px 30px;
    }

    .sub-comments__gutter {
        width: 0;
    }

    .sub-comments__item-text {
        font-size: 14px;
        line-height: 29px;
    }

    .sub-comments__add {
        margin-top: 10px;
        padding: 29px 30px;
        font-size: 16px;
    }
}

@media screen and (max-width: 1279px) {
    .subscribe {
        padding-left: 40px;
        padding-right: 40px;
    }

    .subscribe__button {
        width: 30%;
        padding: 10px;
    }
}

@media screen and (max-width: 1023px) {
    .subscribe {
        padding-top: 50px;
        padding-bottom: 50px;
    }

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

    .subscribe__button {
        width: 40%;
        margin-bottom: 30px;
    }

    .subscribe__head {
        margin-bottom: 45px;
    }

    .subscribe__description {
        margin-top: 20px;
    }
}

@media screen and (max-width: 767px) {
    .subscribe {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .subscribe__button {
        width: 100%;
        margin-bottom: 30px;
    }

    .subscribe__head {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .subscribe__description {
        font-size: 14px;
    }
}

@media screen and (max-width: 1279px) {
    .j-list {
        padding-top: 40px;
    }

    .j-list__header {
        margin-bottom: 0;
    }

    .j-list--overlayed {
        margin-top: 0;
    }

    .j-list__header {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 767px) {
    .j-list__header {
        font-size: 20px;
        line-height: 32px;
        margin-bottom: 20px;
    }
}

.fixed__title {
    display: none;
}

@media screen and (max-width: 1279px) {
    .fixed__menu-link {
        text-transform: none;
    }

    .fixed__content {
        padding-left: 300px;
    }

    .fixed__menu {
        width: 280px;
    }

    .faq__question {
        font-size: 18px;
        line-height: 30px;
    }

    .fixed--compact .fixed__menu-link {
        padding: 20px 22px;
    }
}

@media screen and (max-width: 1023px) {
    .fixed {
        -ms-flex-direction: column;
        flex-direction: column;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .fixed__menu {
        position: relative;
        padding-top: 0;
    }

    .fixed__menu.is-fixed {
        position: absolute;
        top: 100%;
    }

    .fixed__content {
        padding-left: 0;
        width: 100%;
    }

    .fixed__header {
        font-size: 35px;
    }

    .faq {
        padding-left: 0;
    }

    .fixed__title {
        display: block;
    }

    .fixed__drop-inner {
        position: relative;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        align-items: center;
        width: 250px;
        margin: 0 auto 20px auto;
    }

    .fixed__drop-inner.is-opened .fixed__menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: 0 30px 20px rgba(0, 0, 0, 0.24);
    }

    .fixed__drop-inner.is-opened .fixed__title:after {
        transform: rotate(180deg) translateY(7px);
    }

    .fixed__title {
        position: relative;
        background-color: #fff;
        width: 100%;
        padding: 20px 45px;
        text-transform: uppercase;
        color: #fff;
        display: inline-block;
        box-sizing: border-box;
        text-align: center;
        font-weight: 700;
        color: #fff;
        text-decoration: none;
        border: 1px solid #e8e8e8;
        border-radius: 30px;
        transition: all 0.4s;
        position: relative;
        z-index: 4;
        cursor: pointer;
    }

    .fixed__title:before {
        opacity: 1;
        transition: all 0.4s;
        border-radius: 30px;
        background-color: #04a8e5;
        display: block;
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(../images/static/bread__bg.png);
        background-position: center;
        background-size: cover;
        z-index: -2;
    }

    .fixed__title:after {
        content: '';
        position: absolute;
        right: 23px;
        top: 26px;
        border: 6px solid transparent;
        border-top: 6px solid white;
        transition: transform .23s;
    }

    .fixed__menu {
        width: 100%;
        position: absolute;
        left: 0;
        top: 100%;
        background-color: #fff;
        border-radius: 30px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(30px);
        transition: transform .23s, opacity .23s, visibility .23s;
    }

    .fixed__menu-item {
        margin-bottom: 0;
    }

    .fixed__menu-link {
        border: none;
        width: 100%;
    }
}

@media screen and (max-width: 1279px) {
    .e-about {
        padding-top: 40px;
    }

    .e-about__top-img {
        width: 50%;
        -ms-flex: none;
        flex: none;
        float: left;
        margin-right: 20px;
    }

    .e-about__top-img img {
        max-width: 100%;
        height: auto;
    }

    .e-about__top-content {
        width: 100%;
        -ms-flex: none;
        flex: none;
    }

    .e-about__top {
        display: block;
    }
}

@media screen and (max-width: 767px) {
    .e-about {
        padding-top: 0;
    }

    .e-about img {
        max-width: 100%;
        height: auto;
    }

    .e-about__top-img {
        width: 100%;
        float: none;
    }

    .e-about__title {
        font-size: 24px;
        line-height: 36px;
        margin-bottom: 9px;
        margin-top: 10px;
    }

    .e-about__subt {
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .e-about__list {
        margin-top: 30px;
    }

    .e-about__friends {
        margin-top: 40px;
    }

    .e-about__friends-title {
        margin-bottom: 40px;
        font-size: 28px;
    }
}

@media screen and (max-width: 1279px) {
    .stat__title {
        font-size: 38px;
    }
}

@media screen and (max-width: 767px) {
    .stats {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .stat {
        width: 100%;
        margin-bottom: 30px;
    }

    .stat__title {
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 1279px) {
    .friend__text {
        width: 100%;
    }
}

@media screen and (max-width: 1023px) {
    .friends {
        padding-bottom: 0;
    }

    .friend__text {
        width: 100%;
    }

    .friend {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .friend__image {
        margin-right: 0;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 767px) {
    .friend {
        width: 100%;
        margin-bottom: 30px;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        align-items: center;
    }
}

@media screen and (max-width: 1279px) {
    /*.map-info {
        top: 110px;
        margin-top: 0;
    }*/

    .map-info__opener {
        position: absolute;
        display: block;
        top: 110px;
        right: 50px;
        width: 400px;
        box-sizing: border-box;
        padding: 35px;
        background-color: #fff;
        border-radius: 15px;
        z-index: 6;
        cursor: pointer;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        transition: background-color .3s, box-shadow .3s, padding .3s;
    }

    .map-info__opener:after {
        position: absolute;
        top: 47px;
        right: 47px;
        content: '';
        width: 30px;
        height: 20px;
        background-position: center;
        background-repeat: no-repeat;
        background-image: url(../images/static/arrow-left.png);
        transform: rotate(-90deg);
        transition: transform .3s;
    }

    .map-info__opener.is-clicked {
        background-color: transparent;
        box-shadow: 0 20px 40px transparent;
        padding-bottom: 0;
        padding-top: 0;
    }

    .map-info__opener.is-clicked .map-info__opener-text {
        opacity: 0;
        visibility: 0;
        transform: translateY(-30px);
    }

    .map-info__opener.is-clicked:after {
        transform: rotate(90deg) translateX(10px);
    }

    .map-info__opener-text {
        font-size: 21px;
        font-family: 'museo';
        font-weight: 100;
        max-width: 240px;
        transition: transform .3s, opacity .3s, visibility .3s;
    }

    .map-info--interactive {
        visibility: hidden;
        opacity: 0;
        transform: translateY(-40px);
    }

    .map-info--interactive.is-opened {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 1023px) {
    .map-wrapper {
        min-height: 650px;
    }

    .map {
        min-height: 650px;
    }

    .map-info--contacts {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: auto;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding-bottom: 20px;
    }

    .map-info--contacts .map-info__block {
        width: 50%;
    }

    .map-info--interactive {
        height: 450px;
    }

    .map-move {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .i-map__text {
        padding-top: 0;
    }

    .map-info--contacts {
        padding-left: 20px;
        padding-right: 20px;
    }

    .map-info--contacts .map-info__block {
        width: 100%;
    }

    .map {
        max-height: 500px;
    }

    .map-wrapper {
        max-height: auto;
    }

    .map-info__opener {
        display: none;
    }

    .map-info--interactive {
        position: relative;
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
        top: 0;
        right: 0;
        height: auto;
        width: 100%;
        box-sizing: border-box;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 0;
        padding-bottom: 30px;
        padding-top: 30px;
    }

    .map-zoom-more,
  .map-zoom-less {
        transform: translateX(-40px);
    }

    .map-info__category {
        width: 40px;
        height: 40px;
    }
}

/*@media screen and (max-width: 1366px) {
    .infobox {
        height: 300px;
        padding: 20px;
        max-width: 350px;
        margin-top: 240px;
        margin-right: 500px;
    }

    .infobox__title {
        margin-bottom: 10px;
        font-size: 22px;
        line-height: 30px;
    }

    .infobox__subtitle {
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .infobox-btn-close {
        right: auto;
        top: 255px;
        left: 355px;
    }

    .infobox__addr {
        margin-bottom: 10px;
    }

    .infobox__addr-title {
        font-size: 16px;
    }

    .infobox__person {
        margin-bottom: 10px;
    }

    .infobox__person-name {
        font-size: 16px;
    }

    .infobox__contacts {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 1279px) {
    .infobox {
        margin-right: 0;
    }

    .infobox-btn-close {
        top: 255px;
    }
}*/

@media screen and (max-width: 767px) {
    .infobox {
        margin-top: 170px;
        margin-left: 20px;
        margin-right: 20px;
        max-width: calc(100% - 80px);
    }

    .infobox__title {
        font-size: 16px;
        line-height: 26px;
    }

    .infobox__subtitle {
        font-size: 16px;
        line-height: 1.2;
    }

    .infobox__addr {
        margin-bottom: 5px;
    }

    .infobox__addr-title {
        font-size: 14px;
        width: 55px;
    }

    .infobox__addr-text {
        font-size: 14px;
    }

    .infobox__person {
        margin-bottom: 5px;
    }

    .infobox__person-name {
        font-size: 14px;
    }

    .infobox__person-position {
        font-size: 14px;
    }

    .infobox__contacts {
        margin-bottom: 5px;
    }

    .infobox__contacts a {
        font-size: 14px;
    }

    .infobox-btn-close {
        /*left: 270px;*/
        top: 185px;
    }
}

@media screen and (max-width: 1279px) {
    .about__project-head {
        font-size: 24px;
        padding-right: 30px;
    }
}

@media screen and (max-width: 1023px) {
    .about {
        display: block;
    }

    .about__left,
  .about__right {
        width: 100%;
    }

    .about__right {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin-bottom: 0;
    }

    .about__right .a-promo {
        max-width: 340px;
        flex: 1 1 50%;
    }

    .about__welcome-head {
        margin-bottom: 25px;
    }

    .about__welcome {
        margin-bottom: 40px;
    }

    .about__c-slider {
        margin-top: 40px;
    }

    .about__info {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 767px) {
    .about__project {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .about__project-head {
        width: 100%;
    }

    .about__info-content {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .about__info-link {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }

    .about__info {
        margin-bottom: 0;
    }
}

/*   t-table   */
@media screen and (max-width: 1023px) {
    .t-table__main {
        width: 250px;
        padding-right: 20px;
    }

    .t-table__top {
        padding-left: 280px;
    }

    .t-table__type-img {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .t-table__values {
        display: -ms-flexbox;
        display: flex;
        padding-left: 0;
    }

    .t-table__value {
        padding-left: 10px;
        padding-right: 10px;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

    .t-table__option {
        width: 145px;
    }
}

@media screen and (max-width: 767px) {
    .t-table {
        min-width: 718px;
        overflow-x: scroll;
        overflow-y: hidden;
        margin-bottom: 20px;
    }

    .t-table-inner {
        position: relative;
        overflow: auto;
        margin-bottom: 30px;
    }

    .t-table__main {
        -ms-flex-direction: column;
        flex-direction: column;
        width: 190px;
    }

    .t-table__top {
        padding-left: 220px;
    }

    .t-table__option {
        width: 166px;
    }

    .t-table__subtitle {
        font-size: 22px;
        max-width: 300px;
        line-height: 30px;
    }
}

@media screen and (max-width: 1023px) {
    .f-links {
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 767px) {
    .f-links {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-top: 40px;
    }

    .f-links a {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 620px) {
    .f-links a {
        width: 100%;
    }
}

@media screen and (max-width: 1440px) {
    .header__menu {
        padding: 11px 17px;
        min-height: 45px;
    }

    .header__logo {
        transform: scale(0.9);
    }

    .header__menu-link {
        font-size: 13px;
    }

    .header__menu-opener {
        height: 15px;
        width: 22px;
    }

    .header__menu-opener-pin {
        margin-bottom: 6px;
    }

    .header__callback {
        height: 45px;
        width: 45px;
    }

    .header__search-area-wrapper {
        margin-top: -23px;
    }

    .header__search-area {
        padding: 14px 28px;
    }
}

@media screen and (max-width: 1279px) {
    .hide-on-small {
        display: none;
    }

    .show-on-small {
        display: block;
    }
}

@media screen and (max-width: 1023px) {
    .show-on-tablet {
        display: block;
    }

    .hide-on-tablet {
        display: none;
    }

    .header__callback {
        display: none;
    }

    .header__inner {
        padding-left: 25px;
        padding-right: 25px;
    }

    .header__search {
        margin-right: 0;
    }

    .header__dropdown {
        -ms-flex-pack: start;
        justify-content: flex-start;
        overflow-x: scroll;
    }

    .header__dropdown-list {
        margin-top: 30px;
        padding-bottom: 30px;
    }

    .header__dropdown-logo {
        width: 110px;
        margin-top: 100px;
        margin-bottom: 0;
    }

    .header__dropdown-item {
        margin-bottom: 25px;
    }
    .block-before-wave {
        padding-bottom: 0;
        margin-bottom: 0;
    }
	.header__phone {
		display: none;
	}
}

@media screen and (max-width: 719px) {
    .show-on-mobile {
        display: block;
    }

    .header__logo {
        width: 135px;
        height: 135px;
        float: left;
    }
    .header__logo.is-up {
        margin-top: 0;
        transform: scale(0.9);
    }
    .header__logo img {
        max-width: 100%;
        height: auto;
    }
    .header__nav {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 670px) {
    .header__menu-item {
        display: none;
    }

    .header__menu-item--opener {
        display: block;
    }

    .header__dropdown {
        padding-top: 7px;
    }

    .header__dropdown .header__menu-item {
        display: block;
    }

    .header__inner {
        padding-top: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    .header__nav {
        width: 98px;
    }
	
	li.flag {
		margin: 0;
		padding: 0;
		bottom: 10px;
		position: relative;
	}
	
	li.flag a>img {
		width: 50px !important;
		height: 30px !important;
		display: block;
	}
	
    .header__menu {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        padding: 20px 24px;
        width: 98px;
		flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
    }

    .header__menu-opener {
        width: 50px;
        height: 40px;
    }

    .header__menu-opener-pin {
        height: 6px;
        margin-bottom: 10px;
    }

    .header__search {
        display: none;
    }
    .header .header__logo.is-scrolled  {
        transform: scale(0.9) translateY(-250px);
        margin-top: 0;
    }

    .header__dropdown-list {
        margin-top: 40px;
    }

    .header__dropdown-search {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        padding-left: 25px;
        padding-right: 25px;
    }

    .header__dropdown-area {
        width: 100%;
        background-color: #41bce8;
        border: none;
        padding: 12px 15px 10px 40px;
        border-radius: 8px;
        color: #fff;
        box-sizing: border-box;
    }

    .header__dropdown-area::-webkit-input-placeholder {
        color: #fff;
    }

    .header__dropdown-area::-moz-placeholder {
        color: #fff;
    }

    .header__dropdown-area:-moz-placeholder {
        color: #fff;
    }

    .header__dropdown-area:-ms-input-placeholder {
        color: #fff;
    }

    .header__dropdown-search-button {
        margin-right: -25px;
        margin-left: 10px;
        position: absolute;
        z-index: 2;
        background-color: transparent;
        border: none;
        width: 16px;
        height: 16px;
        background-image: url(../images/static/search.png);
        background-position: top center;
        overflow: hidden;
        background-repeat: no-repeat;
    }

    .header__dropdown-logo {
        margin-top: 0;
        margin-bottom: 40px;
        -ms-flex-item-align: start;
        align-self: flex-start;
        margin-left: 20px;
    }
}

/* Footer */
@media screen and (max-width: 1279px) {
    .footer__inner {
        padding-left: 25px;
        padding-right: 25px;
    }

    .footer__contact {
        display: none;
    }

    .footer__socio {
        margin-right: 25px;
    }
}

@media screen and (max-width: 680px) {
    .footer__inner {
        display: block;
    }

    .footer__contacts {
        margin-bottom: 30px;
    }

    .footer__socios {
        margin-bottom: 30px;
    }
}

/* video */
@media screen and (min-width: 1440px) {
    .video__text {
        visibility: hidden;
    }
}
@media screen and (max-width: 1441px) {
    .video {
        display: none;
    }
    .video__content-row {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .video__file {
        display: none;
    }

    .video__picture {
        display: block;
    }

    .video__content {
        padding-left: 25px;
        padding-right: 25px;
    }

    .video__text {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 766px) {
    .video__text {
        font-size: 26px;
    }

    .video__content {
        padding-bottom: 30px;
    }
}

@media screen and (min-width: 1921px) {

    /*.sub {
        margin-top: -366px;
    }*/

    .sub-comments {
        padding-top: 300px;
    }

    .s-archive {
        padding-bottom: 340px;
        margin-bottom: -325px;
    }
}
/*   popups media   */
@media screen and (max-width: 767px) {
    .popup {
        display: block;
    }

    .popup__wrapper {
        padding-top: 50px;
        padding-bottom: 50px;
        min-width: 100%;
    }

    .popup__closer {
        top: 10px;
        right: 20px;
    }

    .popup__title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 20px;
    }

    .popup__form-area {
        padding: 20px;
    }

    .popup__form-row {
        display: block;
    }

    .select2-container {
        width: 100% !important;
        margin-bottom: 22px !important;
    }
}

/*   popups media end

/* Sasha 11.10.2017 */

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

	.i-friends__all {
		position: static;
		margin-bottom: 30px;
	}
}

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

    .advantages__item {
        width: 50%;
        padding: 0 20px;
        padding-top: 60px;
    }

    .i-journal--about {
        margin-left: 10px;
        margin-right: 10px;
    }

    .about__right .a-promo {
        max-width: none;
        flex-grow: 3;
        width: calc(50% - 20px);
        flex-basis: calc(50% - 20px);
        margin-left: 10px;
        margin-right: 10px;
    }
    .i-friends.block-before-wave {
        margin-bottom: 0;
    }
    .i-friends__row {
    	padding-right: 0;
    }

    .fixed__menu.is-fixed {
    	top: 0;
    }

    .fixed__drop-inner {
    	width: 300px;
    }
}

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

    a.game {
        margin-left: auto;
        margin-right: auto;
    }

    .look__video {
        margin-top: 30px !important;
        margin-bottom: 40px !important;
    }

    .s-album__item {
        height: 100% !important;
    }

    .a-slider__slide-head {
    	font-size: 32px;
    	margin-bottom: 0;
    }

    .welcome {
        background-position: center;
    }

    .i-slide__image img {
        max-height: 350px;
        align-self: flex-start;
    }

    .i-stories__slider {
        margin-bottom: 15px;
    }

    div[data-mobile-bg="/local/templates/main/tpl/assets/images/content/mobile/f-specs-bg.jpg"].welcome {
        background-position: right;
    }
    .i-slider,
    .i-slide {
        height: 100vh;
    }
}

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

    .advantages {
        padding-bottom: 20px;
    }

    .advantages__item {
        width: 100%;
        padding: 0;
        padding-top: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .advantages__item p {
        padding-left: 30px;
    }

    .about__right .a-promo {
        width: 100%;
        flex-basis: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .i-journal--about {
        margin-left: 0;
        margin-right: 0;
    }

    .i-friends__row {
    	justify-content: space-around;
    }

    .i-friend:first-child {
    	margin: 0;
    }

    .i-friend:nth-child(2) {
    	display: block;
    }
}

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

    .advantages__item {
        display: block;
        text-align: center;
        padding-top: 60px;
    }

    .advantages__item p {
        padding-left: 0;
        text-align: left;
    }

    .i-friend {
    	width: 225px;
    }

    .i-friend:first-child {
    	margin: 0 auto;

    }

    .i-friend:nth-child(2) {
    	display: none;
    }
}