/* Promo Img and text on it */
.rs-promo {
    position: relative;
    width: 100%; /* for IE 6 */
    height: 570px;
    background: #40a2de url(../images/main-img.jpeg) no-repeat center;
    background-size: cover;
    box-shadow: inset 0px 5px 25px 0 rgba(30, 31, 33, 0.2);
}

.rs-promo-text-main {
    width: 333px;
    font-size: 60px;
    font-weight: bold;
    line-height: 1.16;
    font-family: DIN75, sans-serif;
    letter-spacing: 1.8px;
    text-align: left;
    color: #000000;
    margin-top: 74px;
    padding-bottom: 32px;
    text-transform: uppercase;
}

.rs-promo-text-additional {
    width: 489px;
    font-size: 26px;
    font-family: DIN45, sans-serif;
    line-height: 1.23;
    text-align: left;
    color: #000000;
}
/* END:  Promo Img and text on it  */

.five_steps {
    padding-top: 42px;
    padding-bottom: 45px;
}
@media (max-width: 768px) {
    .five_steps {
        padding-top: 44px;
        padding-bottom: 33px;
    }
}

.five_steps ul {
    list-style: none; /*убираем маркеры списка*/
    margin: 0; /*убираем верхнее и нижнее поле, равное 1em*/
    padding-left: 0; /*убираем левый отступ, равный 40px*/
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.five_steps__text {
    width: 160px;
    position: relative;
    font-family: DIN65, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    color: #000000;
}

.five_steps__text > span:not(.five_steps__num) {
    position: relative;
    z-index: 100;
}

.five_steps__img img {
    height: 80px;
    margin-bottom: 30px;
}

.five_steps__num {
    width: 32px;
    height: 56px;
    top: 20px;
    position: absolute;
    font-family: DIN65, sans-serif;
    font-size: 80px;
    font-weight: 500;
    line-height: 0.33;
    text-align: left;
    color: rgba(64, 162, 222, 0.34);
    opacity: 0.7;
    z-index: 80;
}

.health-insurance__text {
    padding-top: 33px;
    padding-bottom: 43px;
}


/*search-educational-programs*/



.search-educational-programs {
    margin-top: -156px;
    padding: 34px 60px;
    opacity: 0.9;
    background-color: #ebedf0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
.search-educational-programs__main-text {
    font-family: DIN55, sans-serif;
    font-size: 20px;
    letter-spacing: 0.6px;
    text-align: left;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 11px;
}



.public-material {
    background: url(../images/blue-block/group-2.png) bottom right no-repeat;
    background-color: #40a2de;
    background-size: contain;
}

.public-material > img {
    position: absolute;
    margin-top: -325px;
    margin-left: 35px;
    background-size: cover;
    z-index: 1;
}

.public-material__all-material {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    padding-top: 32px;
    padding-bottom: 40px;
}

.public-material__main-material {
    margin: 10px 10px 10px 0px;
    opacity: 0.95;
    background-color: #ffffff;
    flex: 2;
    box-shadow: 0px 2px 25px 0 rgba(30, 31, 33, 0.15);
    opacity: 0.9;
    position: relative;
    z-index: 100;
}

.public-material__main-material:hover, .public-material__main-material:active, .public-material__main-material:focus {
    cursor: pointer;
    opacity: 1;
}

.public-material__main-material a {
    text-decoration: none;
}

.public-material__main-material a:hover {
    text-decoration: none;
}

.public-material__main-material__content {
    padding: 30px;
}

.public-material__main-material__date {
    font-family: DIN55, sans-serif;
    font-size: 16px;
    line-height: 0.5;
    text-align: left;
    color: #cb3c1a;
}

.public-material__main-material__title {
    font-family: DIN65, sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.23;
    text-align: left;
    color: #000000;
}

.public-material__main-material__description {
    font-family: DIN45, sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    text-align: left;
    color: #000000;
}


.public-material__other-material {
    margin: 0;
    flex: 1;
}

.public-material__other-material__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.public-material__other-material__list__element {
    background-color: #ffffff;
    box-shadow: 0px 2px 25px 0 rgba(30, 31, 33, 0.15);
    padding: 21px;
    margin: 10px 0px 10px 10px;
    opacity: 0.9;
}

.public-material__other-material__list__element:hover, .public-material__other-material__list__element:focus, .public-material__other-material__list__element:active {
    cursor: pointer;
    opacity: 1;
}

.public-material__other-material__list__element a {
    text-decoration: none;
}

.public-material__other-material__list__element a:hover {
    text-decoration: none;
}


.public-material__other-material__content {
    display: inherit;
}

.public-material__other-material__date__num {
    font-family: DIN65, sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    color: #cb3c1a;
}

.public-material__other-material__date__month {
    height: 15px;
    font-family: DIN55, sans-serif;
    font-size: 16px;
    line-height: 0.5;
    text-align: left;
    color: #cb3c1a;
}

.public-material__other-material__title {
    font-family: DIN65, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    color: #000000;
}

.public-material__other-material__content p:not(.public-material__other-material__date__month), .public-material__other-material__content p:not(.public-material__other-material__date__num) {
    text-align: left;
}

.why-block-wrapflex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 40px;
}

.why-block-item {
    max-width: 330px;
}

.why-block__content-block-img {
    height: 90px;
    width: 90px;
    padding-bottom: 10px;
    -webkit-box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
    box-sizing: content-box !important;
}

.why-block__content-block__title {
    padding-bottom: 26px;
    margin: 0;
}

.why-block__content-block__link-block {
    padding-top: 27px;
}

.why-block__content-block__link {
    font-family: DIN55, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-align: left;
    color: #40a2de;
    cursor: pointer;
}

.why-block__content-block__link:hover i {
    margin-left: 5px;
    transition: margin-left .2s;
}

.why-block__content-block__link:hover, .why-block__content-block__link:focus, .why-block__content-block__link:active {
    text-decoration: none;
    color: #5ec2fe;
}

.edu-free {
    background-color: #40a2de;
}

.edu_free_block {
    display:  table;
}

.edu-free__img {
    float: none !important;
    display: table-cell !important;
    background: #40a2de url(../images/edu-free/too-many-international.png) no-repeat 0% 50%;
    background-size: cover;
}

.edu-free__right-content {
    float: none !important;
    display: table-cell !important;

    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 80px;
}

.edu-free__text {
    padding-top: 33px;
    padding-bottom: 46px;
}

.edu-free__text p {
    padding-right: calc(100% - 520px);
}

.contract {
    background: url(../images/contract/shape-21-copy-15.svg) 10% no-repeat,
                url(../images/contract/girl.png) 78% 12% no-repeat;
    background-color: #edeff1;
}

.contract__content__title {
}

.contract__content__text {
    padding-top: 33px;
    padding-bottom: 43px;
}

.rs-flex-container-map {
    display: flex;
    flex-direction: row;
}

.rs-map-flex {
    display: flex!important;
    flex-basis: 50%;
}

.rs-map-right-flex {
    display: flex;
    flex-basis: 50%;
    padding-left: 80px;
    padding-right: calc(50% - 587px);
}

.map__content {
    background-color: #40a2de;
}

.map__right-content__text {
    padding-top: 33px;
    padding-bottom: 43px;
    max-width: 600px;
}


/*arrive-to-russia*/

.arrive-to-russia-wrap-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.arrive-to-russia-item {
    max-width: 330px;
}


.arrive-to-russia__content__main-title {
    padding-bottom: 40px;
}

.arrive-to-russia__content__img {
    padding-bottom: 30px;
}

.arrive-to-russia__content__title {
    padding-bottom: 25px;
}

.arrive-to-russia__content__description {
    padding-bottom: 20px;
}

.arrive-to-russia__content__link {
    font-family: DIN55, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-align: left;
    color: #40a2de;
    cursor: pointer;
}

.arrive-to-russia__content__link:hover i {
    margin-left: 5px;
    transition: margin-left .2s;
}

.arrive-to-russia__content__link:hover, .arrive-to-russia__content__link:focus, .arrive-to-russia__content__link:active {
    text-decoration: none;
    color: #5ec2fe;
}


.health-insurance {
    background: url(../images/health-insurance/doctors.png) 75% 110% no-repeat;
    background-color: #edeff1;
}

.health-insurance__content__title {
}

.reviews__content__main-title {
    padding-bottom: 43px;
}

.reviews__content__wrap-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.reviews__content__review {
    max-width: 48%;
}

@media (max-width: 768px) {
    .reviews__content__review {
        max-width: 100%;
    }

    .arrive-to-russia__content__main-title {
        padding-bottom: 25px;
    }

    .health-insurance__text {
        padding-top: 17px;
        padding-bottom: 34px;
    }

    .reviews__content__main-title {
        padding-bottom: 35px;
    }
}

.reviews__content__review:nth-child(1), .reviews__content__review:nth-child(2) {
    padding-bottom: 86px;
}

.reviews__content__review__img {
    border-radius: 100px;
    width: 90px;
    height: 90px;
    margin-right: 30px;
}

.reviews__content__review__title {
    font-family: DIN65, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    color: #161616;
}

.reviews__content__review__uni {
    font-family: DIN55, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.25;
    text-align: left;
    color: #161616;
}

.reviews__content__review__quotes {
    font-family: DIN75, sans-serif;
    font-size: 60px;
    font-weight: bold;
    line-height: 0.4;
    text-align: left;
    color: #b6d7eb;
    padding-right: 14px;
}

.reviews__content__review__quotes_right {
    font-family: DIN75, sans-serif;
    font-size: 60px;
    font-weight: bold;
    line-height: 0.01;
    text-align: left;
    color: #b6d7eb;
    padding-left: 13px;
    vertical-align: middle;
}

.reviews__content__review__text {
    font-family: DIN45, sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    text-align: left;
    color: #161616;
    padding-top: 35px;
    display: flex;
    flex-direction: row;
}

.reviews__content__review__text span:last-child {
    align-self: flex-end;
}

.reviews__content__review__text span:first-child {
    align-self: flex-start;
}


/*RU LANG*/

.ru-lang-wrap-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ru-lang-left {
    flex-basis: 30%;
}

.ru-lang__title {
    padding-bottom: 33px;
}
.ru-lang__img-block {
    position: relative;
    margin-bottom: 20px;
}

.ru-lang__img-block:hover > .ru-lang__img-block__text-block, .ru-lang__img-block:active > .ru-lang__img-block__text-block, .ru-lang__img-block:focus > .ru-lang__img-block__text-block {
    opacity: 0.9;
}
.ru-lang__img-block:hover, .ru-lang__img-block:focus, .ru-lang__img-block:active {
    cursor: pointer;
}

.ru-lang__img-block__text-block {
    position: absolute;
    height: 40%;
    width: 100%;
    bottom: 0;
    opacity: 0.75;
    background-color: #ffffff;
}

.ru-lang__img-block__text {
    font-family: DIN65, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    color: #000000;
    padding: 17px;
    max-width: 361px;
}


/* custom RISE BTN */

.rs-btn {
    text-decoration: none;
    font-family: DIN45, sans-serif;
    font-size: 20px;
    height: 52px;
    line-height: 1;
    letter-spacing: 0.4px;
    padding: 16px 30px;
    border-radius: 0;
}

.rs-btn > .rs-icon-arrow_right {
    position: relative;
    top: 2px;
}

a > .rs-icon-arrow_right {
    position: relative;
    top: 2px;
}

.rs-program-input > .rs-btn {
    padding: 0;
}

.rs-btn:hover {
    text-decoration: none;
    border-radius: 0;
    cursor: pointer;
}
.rs-btn:active {
    border-radius: 0;
}
.rs-btn[type="button"], .rs-btn[type="submit"] {
    border: none;
}

.rs-btn-margin-right {
    margin-right: 40px !important;
}

.rs-btn-blue-on-white {
    color: #ffffff;
    background-color: #40a2de;
    border: 1px solid #40a2de;
    z-index: 100;
}

.rs-btn-blue-on-white:hover,
.rs-btn-blue-on-white:active,
.rs-btn-blue-on-white:focus {
    color: #ffffff;
    background-color: #5ec2fe;
    border: 1px solid #40a2de;
}


.rs-btn-white-on-white {
    color: #40a2de;
    background-color: rgba(255, 0, 0, 0.0);
    border: 1px solid #40a2de;
}

.rs-btn-white-on-white:hover,
.rs-btn-white-on-white:active,
.rs-btn-white-on-white:focus {
    color: #5ec2fe;
    background-color: rgba(255, 0, 0, 0.0);
    border: 1px solid #5ec2fe;
}

.rs-btn-blue-on-blue {
    color: #ffffff;
    background-color: rgba(255, 0, 0, 0.0);
    border: 1px solid #ffffff;
}

.rs-btn-blue-on-blue:hover,
.rs-btn-blue-on-blue:active,
.rs-btn-blue-on-blue:focus {
    color: #40a2de;
    background-color: #ffffff;
    border: 1px solid #ffffff;
}

.rs-btn-white-on-blue {
    color: #40a2de;
    background-color: #ffffff;
    border: 1px solid #ffffff;
}

.rs-btn-white-on-blue:hover,
.rs-btn-white-on-blue:active,
.rs-btn-white-on-blue:focus {
    color: #ffffff;
    background-color: inherit;
    border: 1px solid #ffffff;
}

.rs-indent-block {
    padding-top: 90px;
    padding-bottom: 100px;
}
.rs-indent-block_content {
    padding-top: 42px;
    padding-bottom: 30px;
}

.rs-indent-block_content_top {
    padding-top: 28px;
}

.rs-indent-block_content_bottom {
    padding-bottom: 27px;
}


.rs-program-tabs {
    display: flex;
    flex-direction: row;
}
.rs-program-tabs-in {
    float: left;
    opacity: 0.5;
    font-family: DIN55, sans-serif;
    font-size: 20px;
    line-height: 1.5;
    text-align: left;
    color: rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    margin-right: 45px;
    padding-bottom: 15px;
    cursor: pointer;
    opacity: 1;
}

.rs-program-tabs-in.active {
    font-family: DIN55, sans-serif;
    font-size: 20px;
    line-height: 1.5;
    text-align: left;
    color: #000000;
    border-bottom: 4px solid #40a2de;
    white-space: nowrap;
}

.rs-program-in form {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.advanced-navigator-search {
    font-family: DIN55, sans-serif;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.4px;
    text-align: left;
    color: #40a2de;
}

.advanced-navigator-search > i:hover {
    margin-left: 5px;
    transition: margin-left .2s;
}

.clear:after {
    content: "&nbsp;";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
    line-height: 0;
}

.rs-link {
    color: #FFFFFF;
    text-decoration: underline;
}

.rs-link:hover, .rs-link:active, .rs-link:focus {
    color: #FFFFFF;
    text-decoration: none;
}

.rs-arrow-right {
    background: #40a2de url(../images/main-icon/arrow_right.svg) no-repeat center
}


.rs-visible-desktop {
    display: inherit ;
}


.rs-btn-block-flex {
    display: flex;
    flex-direction: row;
}

@media (max-width: 1200px) {
    .edu-free__text {
        max-width: none;
    }

    .health-insurance__content__title {
        width: 100% !important;
    }

    .rs-indent-block_content > .span6 {
        width: 100% !important;
    }

    .reviews__content__review:nth-child(1), .reviews__content__review:nth-child(2), .reviews__content__review:nth-child(3) {
        padding-bottom: 56px;
    }

    .contract {
        background: url(../images/contract/shape-21-copy-15.svg) 10% no-repeat,
        url(../images/contract/girl.png) 85% 12% no-repeat;
        background-color: #edeff1;
    }
    .health-insurance {
        background: none;
        background-color: #edeff1;
    }

}

@media (max-width: 768px) {
    .public-material__other-material__title {
        margin-left: 0px;
        text-align: left;
    }

    .public-material__other-material__content {
        display: flex;
        flex-direction: column;
    }

    .public-material__other-material__content > .span3 {
        flex: 0 1 auto;
        display: flex;
        justify-content: flex-start;
        width: 100%;
    }

    .public-material__other-material__content > .span3 > .row-fluid {
        width: auto;
    }

    .public-material__other-material__content > .span9 {
        flex: 0 0 auto;
    }

    .public-material > img {
        margin-left: 0px;
    }

    .public-material__other-material__date__month {
        position: relative;
        top: 8px;
        margin-left: 2px;
    }

    .public-material__other-material__content p:not(.public-material__other-material__date__month), .public-material__other-material__content p:not(.public-material__other-material__date__num) {
        text-align: left;
    }
}


.rs-combobox .combobox-container > input {
    height: 38px;
    background-color: #ffffff;
    border: solid 1px #d6d9e1;
    border-right: none !important;
    font-family: DIN45, sans-serif;
    font-weight: 300;
    font-size: 16px;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: left;
    color: rgba(0, 0, 0, 0.5);
    width: 330px;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    padding-left: 18px;
}

.rs-combobox .combobox-container:hover > input, .rs-combobox .combobox-container:active > input, .rs-combobox .combobox-container:focus > input {
    border: solid 1px #40a2de;
}

.rs-combobox .combobox-container:hover > span, .rs-combobox .combobox-container:active > span, .rs-combobox .combobox-container:focus > span {
    border: solid 1px #40a2de;
    -webkit-transition-delay: 0.1s;
    -o-transition-delay: 0.1s;
    -moz-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.rs-program-btn input {
    width: 380px;
    height: 48px;
}

.rs-combobox .combobox-container > input:hover, .rs-combobox .combobox-container > input:active, .rs-combobox .combobox-container > input:focus {
    box-shadow: none !important;
}

.rs-combobox .combobox-container > span {
    height: 46px;
    width: 40px;
    background: #ffffff!important;
    border: solid 1px #d6d9e1;
    border-left: none !important;

    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.rs-combobox .combobox-container > span > i {
    vertical-align: -17px;
    color:  #aaaaaa;
}

.rs-combobox .control-group {
    margin-bottom: 0px !important;
}

.typeahead {
    background-color: #ffffff !important;
    box-shadow: 0px 2px 25px 0 rgba(30, 31, 33, 0.1) !important;
    border: solid 1px #d9dce3 !important;
}

.typeahead > li > a {
    font-family: DIN55, sans-serif;
    font-size: 16px !important;
    line-height: 0.5 !important;
    text-align: left !important;
    color: #000000 !important;
    padding: 14px 25px 14px 25px !important;
}

.typeahead > li:hover, .typeahead > li:active, .typeahead > li:focus {
    background: none !important;
    background-color: #f6f7f8 !important;
    color: #40a2de !important;
}

.typeahead > li:hover a, .typeahead > li:active a, .typeahead > li:focus a {
    background: none !important;
    background-color: #f6f7f8 !important;
    color: #40a2de !important;
}

.typeahead > li.active a {
    background: none !important;
    background-color: #f6f7f8 !important;
    color: #40a2de !important;
}

.rs-combobox label.control-label {
    display: none !important;
}


.rs-text-field {
    width: 410px !important;
    height: 40px !important;
}


.rs-text-field input {
    height: 38px;
    width: 368px;
    background-color: #ffffff !important;
    border: solid 1px #d6d9e1;
    font-family: DIN45, sans-serif;
    font-size: 16px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: left;
    color: rgba(0, 0, 0, 0.5);
    padding-left: 18px;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.rs-text-field input:hover, .rs-text-field input:active, .rs-text-field input:focus {
    box-shadow: none;
    border: solid 1px #40a2de;
}

.rs-text-field label.control-label {
    display: none !important;
}

.rs-program-in {
    margin-top: 40px !important;
}

.rs-link-blue {
   text-decoration: none;
}

.rs-link-blue:hover, .rs-link-blue:active, .rs-link-blue:focus {
    text-decoration: none;
    color: #5ec2fe;
}

@media (max-width: 1290px) {
    .search-educational-programs {
        padding: 34px 40px;
    }
}

@media (max-width: 1250px) {
    .search-educational-programs {
        padding: 34px 20px;
    }
}

@media (max-width: 1210px) {
    .search-educational-programs {
        padding: 34px 15px;
    }
}

@media (max-width: 1200px) {
    .search-educational-programs {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
}


@media (max-width: 1200px) {
    .rs-combobox .combobox-container > input {
        width: 293px;
    }

    .rs-program-btn input {
        width: 358px;
        height: 48px;
    }

    .rs-text-field input {
        width: 333px;
    }
}

@media (max-width: 1120px) {
    .rs-combobox .combobox-container > input {
        width: 224px;
    }

    .rs-program-btn input {
        width: 298px;
        height: 48px;
    }

    .rs-text-field input {
        width: 262px;
    }

    .ru-lang__title {
        padding-bottom: 13px;
    }
}

@media (max-width: 920px) {
    .rs-combobox .combobox-container > input {
        width: 175px;
    }

    .rs-program-btn input {
        width: 240px;
        height: 48px;
    }

    .rs-text-field input {
        width: 217px;
    }

    .five_steps__num {
        font-family: DIN65, sans-serif;
        font-size: 70px;
        font-weight: 500;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.22;
        letter-spacing: normal;
        text-align: left;
        top: -18px;
        left: -32px;
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .rs-text-field {
        width: 100% !important;
        height: 40px !important;
        margin-bottom: 50px;
    }

    .rs-text-field input {
        width: 100%;
        height: 50px !important;
        background-color: #ffffff !important;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .contract__content__text {
        max-width: 500px;
        padding-top: 14px;
        padding-bottom: 36px;
    }

    .public-material {
        background: none;
        background-color: #40a2de;
    }

    .public-material > img {
        display: none;
    }
}

@media (max-width: 940px) {
    .rs-tabs-style {
        overflow: hidden;
        overflow-x: auto;
    }
}

/*TODO: THIS DICH!*/

@media (max-width: 800px) {
    .main-menu-custom {
        flex-basis: 50% !important;
    }
}

@media (max-width: 1400px) {
    .rs-language-dropdown {
        right: 0;
    }
}

@media (max-width: 1200px) {
    .contract__content__title {
        width: 100% !important;
    }
}

@media (max-width: 1050px) {
    .contract {
        background: url(../images/contract/shape-21-copy-15.svg) 4% no-repeat,
        url(../images/contract/girl.png) 600px 12% no-repeat;
        background-color: #edeff1;
    }
}

@media (max-width: 850px) {
    .contract {
        background: url(../images/contract/shape-21-copy-15.svg) 4% no-repeat,
        url(../images/contract/girl.png) 445px 12% no-repeat;
        background-color: #edeff1;
    }
}

@media (max-width: 770px) {
    .contract {
        background: none;
        background-color: #edeff1;
    }
}

@media (max-width: 630px) {
    .contract {
        background: url(../images/contract/shape-21-copy-15.svg) 2% no-repeat,
        url(../images/contract/girl.png) 383px 12% no-repeat;
        background-color: #edeff1;
    }

    .contract__content__text {
        max-width: 480px;
    }
}

@media (max-width: 572px) {
    .contract {
        background: url(../images/contract/shape-21-copy-15.svg) -50px no-repeat,
        url(../images/contract/girl.png) 334px 12% no-repeat;
        background-color: #edeff1;
    }

    .contract__content__title {
        width: 50% !important;
    }

    .contract__content__text {
        max-width: 340px;
    }
}

@media (max-width: 550px) {
    .contract {
        background: url(../images/contract/shape-21-copy-15.svg) -86px no-repeat,
        url(../images/contract/girl.png) 215px 12% no-repeat;
        background-color: #edeff1;
    }

    .contract__content__text {
        max-width: 50%;
    }
}

@media (max-width: 470px) {
    .contract {
        background: url(../images/contract/shape-21-copy-15.svg) -170px no-repeat,
        url(../images/contract/girl.png) 191px 58px no-repeat;
        background-color: #edeff1;
    }

    .contract__content__text {
        max-width: 50%;
    }
}

@media (max-width: 380px) {
    .contract {
        background: url(../images/contract/shape-21-copy-15.svg) -152px no-repeat,
        url(../images/contract/girl.png) 100px 90px no-repeat;
        background-color: #edeff1;
    }

    .contract__content__text {
        max-width: 50%;
    }
}

@media (max-width: 300px) {
    .contract {
        background: url(../images/contract/shape-21-copy-15.svg) -152px no-repeat,
        url(../images/contract/girl.png) 100px 130px no-repeat;
        background-color: #edeff1;
    }
}


@media (max-width: 276px) {
    .contract {
        background: url(../images/contract/shape-21-copy-15.svg) -152px no-repeat,
        url(../images/contract/girl.png) 60px 250px no-repeat;
        background-color: #edeff1;
    }
}

@media (max-width: 766px) {
    .rs-combobox .combobox-container > span {
        height: 48px;
    }

    .rs-combobox .combobox-container > span > i {
        vertical-align: -8px;
    }

    .rs-combobox .ei-combobox {
        width: 97%;
    }

    .rs-text-field input {
        width: 100%;
    }
}

@media (max-width: 435px) {
    .search-educational-programs {
        margin-top: -161px;
    }
}


/*START: Перевод "почему в россии" в моб. версию*/
@media (max-width: 1120px) {
    .why-block-item {
        max-width: 30%;
    }
}

@media (max-width: 768px) {
    .why-block-wrapflex {
        flex-direction: column;
        padding-top: 24px;
    }

    .edu-free__text {
        padding-top: 18px;
    }

    .why-block-item {
        max-width: 100%;
    }

    .why-block-item:nth-child(1), .why-block-item:nth-child(2) {
        padding-bottom: 47px;
    }
}
/*END*/

/*START: Перевод блока "Приезд в россию" в мобильную версию*/
@media (max-width: 1120px) {
    .arrive-to-russia-item {
        max-width: 30%;
    }
}

@media (max-width: 768px) {
    .arrive-to-russia-item {
        max-width: 100%;
    }

    .arrive-to-russia-item:nth-child(1), .arrive-to-russia-item:nth-child(2) {
        padding-bottom: 47px;
    }
    .arrive-to-russia-wrap-flex {
        flex-direction: column;
    }

}
/*END:*/


/*START: Перевод промо текста на глвной в моб версию*/
@media (max-width: 768px) {
    .rs-promo-text-main {
        margin-top: 181px;
        font-size: 40px !important;
        font-weight: bold !important;
        line-height: 1.13 !important;
        letter-spacing: 1.2px !important;
        text-align: left !important;
        color: #ffffff !important;
    }

    .rs-promo-text-additional {
        display: none !important;
    }
}
@media (max-width: 400px) {
    .rs-promo-text-main {
        width: auto;
    }
}
/*END:*/

/*Перевод публичных материалов в мобильную версию*/
@media (max-width: 1200px) {
    .public-material__other-material__content > .span3 {
        position: relative;
        top: 15px;
    }
}

@media (max-width: 768px) {
    .public-material__all-material {
        flex-direction: column;
        padding-top: 24px;
        padding-bottom: 14px;
    }

    .public-material__other-material__list__element {
        margin: 0;
        margin-top: 20px;
    }

    .public-material__main-material {
        margin: 0;
    }

    .public-material__other-material__title {
        margin-left: -120px;
        text-align: center;
        margin-left: 0px;
    }

    .public-material__other-material__content {
        display: flex;
    }

    .public-material__other-material__content > .span3 {
        flex: 0 1 auto;
        width: 0px;
    }

    .public-material__other-material__content > .span9 {
        flex: 0 0 auto;
    }

    .public-material__other-material__content > .span3 {
        position: inherit;
    }
}

@media (max-width: 768px) {
    .public-material__other-material__title {
        margin-left: 0px;
        text-align: left;
    }

    .public-material__other-material__content {
        display: flex;
        flex-direction: column;
    }

    .public-material__other-material__content > .span3 {
        flex: 0 1 auto;
        display: flex;
        justify-content: flex-start;
        width: 100%;
    }

    .public-material__other-material__content > .span3 > .row-fluid {
        width: auto;
    }

    .public-material__other-material__content > .span9 {
        flex: 0 0 auto;
    }
}
/*END: Публичные материалы*/

/*START: Перевод в мобиьную версию "Поступи в российский вуз за 5 шагок*/

@media (max-width: 922px) {
    .five_steps ul {
        flex-direction: column;
    }

    .five_steps__block {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .five_steps__text {
        display: flex;
        align-items: flex-end;
        width: 100%;
        align-self: flex-start;
    }

    .five_steps__img {
        height: 110px;
        width: 110px;
        margin-right: 36px;
    }
}
@media (max-width: 300px) {
    .five_steps__img {
        display: none;
    }

    .five_steps__text {
        height: 110px;
    }
}
/*END: Перевод в мобиьную версию "Поступи в российский вуз за 5 шагок*/

/*START: Перевод кнопок в мобильную версию */
@media (max-width: 770px) {
    .rs-btn-margin-right {
        margin: 0 !important;
    }

    .rs-btn-block-flex {
        flex-direction: column;
    }

    .rs-btn-block-flex {
        margin: 0;
    }

    .rs-btn-block-flex .rs-btn:not(:last-child) {
        margin-bottom: 30px !important;
    }
}
/*END*/

/*START: Перевод блока "Выбери свой университет" в мою версию*/
@media (max-width: 768px) {
    .map__right-content__text {
        max-width: none;
        padding-top: 18px;
        padding-bottom: 36px;
    }

    .rs-map-flex {
        display: none !important;
    }

    .rs-visible-desktop {
        display: none !important;
    }

    .rs-map-right-flex {
        padding-left: 0 !important;
        flex-basis: 100%;
        flex-direction: column;
    }

    .ru-lang-wrap-flex {
        flex-direction: column;
    }

    .rs-indent-block {
        padding-top: 49px;
        padding-bottom: 60px;
    }
    .rs-indent-block_content {
        padding-top: 14px;
        padding-bottom: 40px;
    }

    .rs-indent-block_content_top {
        padding-top: 14px;
    }

    .rs-indent-block_content_bottom {
        padding-bottom: 14px;
    }
}
@media (min-width: 768px) {
    .map__content .container {
        padding: 0;
        padding-right: 0px;
        padding-left: 0px;
        width: 100%;
    }
}
/*END*/

@media (min-width: 1151px) {
    .edu-free > .container {
        padding: 0;
        padding-right: 0px;
        padding-left: 0px;
        width: 100%;
    }
}
@media (max-width: 1150px) {
    .edu-free__img {
        background: none;
    }

    .edu_free_block {
        display: flex;
        flex-direction: column;
    }

    .edu-free__right-content {
        padding-left: 0;
    }
    .edu-free__text p {
        padding-right: inherit;
    }
}

@media (min-width: 1151px) {
    .edu-free-width {
        width: 50%;
    }

    .edu_free_block .span12 {
        width: inherit !important;
    }
}


/*START: Search Form*/
@media (max-width: 768px) {
    .search-educational-programs {
        flex-direction: column;
    }

    .rs-program-tabs {
        flex-direction: row;
    }

    .rs-promo {
        min-height: 440px;
    }

    .search-educational-programs {
        margin-top: -130px;
    }

    .rs-program-in form {
        flex-direction: column;
    }

    .rs-program-btn input {
        width: 100%;
    }

    .rs-combobox .input-append {
        margin-bottom: 0;
    }

    .rs-combobox .combobox-container > input {
        width: calc(100% - 41px);
        width: -moz-calc(100% - 41px);
        width: -webkit-calc(100% - 41px);
        width: -webkit-calc(100% - 41px);
        height: 40px;
        margin-bottom: 40px;
    }

    .rs-combobox .combobox-container > span > i {
        vertical-align: -10px;
    }

    .rs-combobox .ei-combobox {
        width: 96%;
    }

    .search-educational-programs {
        padding: 47px 27px;
        margin-top: -141px;
    }
}
/**/

/*Блок "Русский язык*/
.ru-lang__img-block_row {
    display: flex;
}

.ru-lang__img-block_row > .ru-lang__block:first-child {
    margin-right: 20px;
}

@media (max-width: 1120px) {
    .ru-lang-left {
        flex-basis: 100%;
    }

    .ru-lang__img-blocks {
        width: 100%;
        padding-top: 33px;
    }

    .ru-lang__block {
        width: 50%;
    }

    .ru-lang__img-block > img {
        width: 100%;
    }

}

@media (max-width: 768px) {
    .ru-lang__img-block_row {
        flex-direction: column;
    }
    .ru-lang__block {
        width: 100%;
    }
    .ru-lang__img-block_row > .ru-lang__block:first-child {
        margin-right: 0px;
    }
    .ru-lang__img-block__text-block {
        height: 20%;
    }
    .ru-lang__img-block__text {
        max-width: 100%;
    }
}

@media (max-width: 591px) {
    .ru-lang__img-block__text-block {
        height: 35%;
    }
}

@media (max-width: 591px) {
    .ru-lang__img-block__text-block {
        height: 50%;
    }
}

/**/

.rs_landing_head h2 {
    text-transform: uppercase;
    font-family: DIN75, sans-serif;
    font-size: 36px;
    font-weight: bold;
    line-height: 1.22;
    letter-spacing: 1.1px;
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
}

.rs_landing_head h3 {
    font-family: DIN65, sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.15;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
}

.head_black {
    color: #000000;
}
.head_white {
    color: #FFFFFF;
}

.rs-polygraphy p {
    font-family: DIN45, sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 0;
    margin-top: 0;
}

@media (max-width: 768px) {
    .search-educational-programs__main-text {
        font-family: DIN55, sans-serif;
        font-size: 18px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.39;
        letter-spacing: 0.5px;
        text-align: left;
        color: #000000;
    }

    .rs-program-tabs-in {
        font-family: DIN55, sans-serif;
        font-size: 18px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: 0.83;
        letter-spacing: normal;
        text-align: left;
        color: rgba(0, 0, 0, 0.5);
    }

    .rs-program-tabs-in.active {
        font-family: DIN55, sans-serif;
        font-size: 18px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: 0.83;
        letter-spacing: normal;
        text-align: left;
        color: #000000;
    }

    .advanced-navigator-search {
        font-family: DIN55, sans-serif;
        font-size: 20px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: 1;
        letter-spacing: 0.4px;
        text-align: left;
        color: #40a2de;
    }

    .rs-btn {
        font-family: DIN45, sans-serif;
        font-size: 18px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: 0.56;
        letter-spacing: 0.4px;
        text-align: center;
    }

    .rs_landing_head h2 {
        font-family: DIN75, sans-serif;
        font-size: 32px;
        font-weight: bold;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.13;
        letter-spacing: 1px;
        text-align: left;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .rs_landing_head h3 {
        font-family: DIN65, sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 1.25;
        letter-spacing: normal;
        text-align: left;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .rs-polygraphy p {
        font-family: DIN45, sans-serif;
        font-size: 18px;
        font-weight: 300;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.44;
        letter-spacing: normal;
        text-align: left;
        margin-top: 0;
        margin-bottom: 0;
    }

    .public-material__content-block > .rs-btn-block-flex {
        padding-top: 26px;
    }


    .reviews__content__review__text {
        font-family: DIN45, sans-serif;
        font-size: 18px;
        font-weight: 300;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.44;
        letter-spacing: normal;
        text-align: left;
    }

    .reviews__content__review__uni {
        font-family: DIN55, sans-serif;
        font-size: 14px;
        font-weight: 300;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.43;
        letter-spacing: normal;
        text-align: left;
    }

    .reviews__content__review__title {
        font-family: DIN65, sans-serif;
        font-size: 18px;
        font-weight: 500;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.33;
        letter-spacing: normal;
        text-align: left;
    }
    .rs-promo {
        background: #40a2de url(../images/main_img_mob.jpg) no-repeat center;
        background-size: cover;
        height: 440px;
    }

}


/*The Best Org Info Slick*/

.landing-the-best-org {
    display: flex;
    padding-top: 33px;
    flex-direction: column;
}

.landing-the-best-org__imgs {
    position: relative;
}
.landing-the-best-org__imgs .img_on{
    position: absolute;
    top: 110px;
}
.landing-the-best-org_org-name {
    margin-top: 30px;
}

.landing-the-best-org_city {
    display: flex;
    margin-top: 10px;
    align-items: baseline;
}
.landing-the-best-org_city > i.rs-icon-pin {
    margin-right: 5px;
    color: #CB3C1A;
}
.landing-the-best-org_city-title {
    font-family: DIN55, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-align: left;
    color: #40a2de;
    cursor: pointer;
}

.landing-the-best-org_city-title:hover, .landing-the-best-org_city-title:focus, .landing-the-best-org_city-title:active {
     text-decoration: none;
     color: #5ec2fe;
 }