.select2-selection.select2-selection--single {
    border: none;
    padding: 0 20px;
    font-size: 14px;
    line-height: 38px;
    color: #3b3c44;
    height: 38px;
    border: none;
    border-radius: 0;
    background: #f1f1f2;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    padding-left: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    color: inherit;
}
.main-content__text p.calc-container__label {
    font-size: 14px;
    line-height: 20px;
}

.main-content__text p.not-valid {
    margin-bottom: 0;
    position: absolute;
    bottom: -11px;
}

.MultiFile-label {
    margin: 0 !important;
    padding: 3px 0 !important;
    font-size: 14px;
    line-height: 24px;
    color: #757575 !important;
}

.MultiFile-label span {
    display: inline-block;
    margin-right: 8px;
    padding-right: 27px;
    font-family: 'opensans-semibold';
    color: #3b3c44 !important;
    background: url(../../img/upload-img-icon.png) 100% 0 no-repeat;
}

.request-form-upload-box .icon-remove {
    position: absolute;
    top: 3px;
    right: 5px;
    font-size: 8px;
    text-transform: uppercase;
    color: #3b3c44;
    font-style: italic;
}

.main-content__text img.freight__info--img {
    margin: 20px 15px 15px auto;
}

.qst-block {
    background: #f6f6f6;
    padding: 18px 49px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 15px 0;
}

.qst-block_title {
    color:  #3b3c46;
    font-size: 16px;
    font-weight: 700;
    margin: 0 10px;
    display: block;
}

.qst-block_item--last {
    max-width: 270px;
    width: 100%;
    text-align: center;
}

.main-content__text img.qst-block__img {
    display: block;
    margin: 0;
}

.icon-whatsapp-b {
    height: 36px;
    width: 30px;
    background: url('/assets/img/whatsapp_yellow_f.png') 0 3px no-repeat;
}

.icon-map-marker {
    height: 36px;
    width: 30px;
    background: url("/assets/img/f1.png") 5px 0 no-repeat;
}

.icon-clock {
    height: 36px;
    width: 30px;
    background: url("/assets/img/footer-time-icon.png") 0 0 no-repeat;
}

.icon-phone {
    height: 36px;
    width: 30px;
    background: url("/assets/img/f2.png") 0 3px no-repeat;
}

.icon-whatsapp {
    height: 36px;
    width: 30px;
    background: url('/assets/img/wechat_yellow_f.png') 0 3px no-repeat;
}

.icon-envelope {
    height: 36px;
    width: 30px;
    background: url('/assets/img/f3.png') 0 3px no-repeat;
}

.page-up-arrow--stop {
    z-index: 9;
}

.mfp-helper body {
    /*position: fixed;*/
    overflow: hidden;
    height: 100vh;
}

.mfp-bg {
    position: fixed;
    height: 100%;
    height: 100vh;
}

.mfp-container {
    position: fixed;
}

.mfp-wrap .mfp-container {
    overflow: auto;
}

.newMenuWrap {
    display: none;
}

#comment-form .markItUp {
    margin: 0;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

.js_loading:before {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: rgba(255, 255, 255, 0.83);
}

.js_loading:after {
    content: '';
    background: url('../../img/preloader@2x.png') no-repeat center center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background-size: 64px;
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}

.js_loading {
    overflow-x: hidden;
}


.msg--not-read .txt-content {
//border-color: transparent transparent #c5e1fe transparent;
    background-color : #c5e1fe !important;
}


@media only screen and (max-width: 1400px) {
    .page-up-arrow--stop,
    .page-up-arrow {
        position: relative;
        top:  0;
        left: 0;
        display: block;
        margin: 10px auto;
        /*opacity: 1 !important;*/
        overflow: hidden;
    }
    .main-content__text img.freight__info--img {
        margin: 20px 15px 15px 0;
    }
}

@media only screen and (max-width: 765px) {
    .type-trans__item:before {
        display: none;
    }

    .main-content__text img.freight__info--img {
        margin: 0 15px 0 0;
        width: 60px;
    }

    .freight__info {
        margin: 25px auto;
    }

    .main-content__text img.freight__info--img {
        margin: 20px 15px;
    }

    .qst-block {
        padding: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .qst-block_item--last {
        margin-top: 10px;
    }
}

.type-trans__wrapp {
    padding-bottom: 0;
}

@media (max-width: 480px) {
    .doc-page__item {
        margin-bottom: 15px;
    }

    .doc-page__wrp {
        padding: 5px 15px;
    }

    .doc-page__block {
        padding: 10px;
        margin: 10px 0;
    }

    .doc-page__icons {
        min-width: 32px;
        margin-right: 10px;
    }

    .doc-page__cnt {
        font-size: 12px;
    }

    .doc-page {
        margin-bottom: 0;
    }

    .header .sub-nav {
        position: absolute;
    }

}

/* .select2-container.select2-container--default {
    z-index: 9;
} */

.mfp-wrap {
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateZ(0);
}

html.mfp-helper {
    height: 100vh;
    position: fixed;
    right: 0;
    left: 0;
}
.mfp-helper body {
    overflow: hidden;
    height: 100% !important;
    -webkit-transform: translateZ(0);
}

.type-trans__wrapp {
    overflow: hidden;
}

input,textarea {
    /* Exception for input areas */
    -webkit-touch-callout: default !important;
    -webkit-user-select: text !important;
}

.log-mob {
    display: none;
}

.foot-note {
    overflow: hidden;
}

.textarea__block {
    border-radius: 5px;
    border: 1px solid #e4e4e4;
    width: 100%;
    /* padding: 5px; */
    line-height: 1.2;
    font-size: 14px;
    min-height: calc((4em * 1.2) + 10px);
    max-height: 108px;
    overflow: hidden;
    white-space: normal;
    font-family: 'Open Sans',sans-serif;
    font-weight: 300;
}

.textarea__block-span {
    display: block;
    height: 100%;
    width: 100%;
    min-height: calc((4em * 1.2) - 3px);
    overflow: auto;
    padding: 5px;
    max-height: 108px;
    font-weight: 400;
}

#comment-editor {
    display: none !important;
}

.m-chat__list--info li {
    line-height: normal;
}

.main-content-error {
    height: calc(100% - 59px);
}

.m-chat__dialog {
    min-width: 1px;
}

.online-ind {
    font-weight: normal;
}

.main-content-error {
    text-align: center;
}

.main-content-error .documents-banner {
    margin-bottom: 40px;
}

.main-content-error p {
    margin: 0 0 22px;
}

.main-content-error p:first-child {
    font-size: 22px;
}

.m-chat__del--scroll {
    overflow: auto;
}

.basket .indicator {
    right: 10px;
}

#comments .ticket-comment .txt-content {
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

/*#comments .ticket-comment .txt-content a:not([class]) {
    display: inline-block;
}*/

@media (max-width: 980px) {

    .log-mob {
        display: block;
        font-size: 12px;
        color: #ffd14e;
    }

    .log-dsck {
        display: none;
    }

    .icon-man,
    .icon-sign-in {
        display: none;
    }

    .main-header__phone.menu {
        margin: 0 auto 0 57px;
    }

    .main-header__phone.menu a {
        font-size: 12px;
        display: block;
        font-family: "opensans-semibold",sans-serif;
        font-weight: 500;
    }

    .basket i {
        color: #fff;
    }

    .menu__sub {
        right: 0;
        left: inherit;
        min-width: 200px;
    }

    .auth {
        margin: 0;
    }

    .basket {
        position: relative;
        padding: 0;
    }

    .call-manager__round .icon-man {
        display: inline-block;
    }

}

@media (max-width: 767px) {

    .main-content-error {
        height: calc(100% - 48px);
    }

}

@media (max-width: 480px) {

    /*.m-chat__dialog .mCSB_scrollTools .mCSB_dragger {*/
    /*max-height: 0 !important;*/
    /*height: 0 !important;*/
    /*top: 0 !important;*/
    /*min-height: 0 !important;*/
    /*}*/

    #comment-form textarea {
        max-height: 85px;
        height: 55px;
        padding: 5px;
        font-size: inherit;
        /*overflow: auto !important;*/
    }

    #comment-form .btnSendMsgChat {
        top: 25px;
    }

    #comment-form .removeText label {
        top: 20px;
    }

    .main-content-error {
        height: calc(100% - 62px);
    }

}

@media (max-width: 390px) {
    .mob-menu span,
    .mob-menu:after,
    .mob-menu:before {
        width: 22px;
        left: 15px
    }

    .log-mob {
        font-size: 11px;
    }

    .main-header__phone.menu a {
        font-size: 11px;
    }

    .main-header__phone.menu {
        margin: 0 auto 0 30px;
    }

    .auth__block, .currency>li {
        padding: 0;
        margin: 0 20px 0 20px;
    }

    .basket {
        padding: 0;
    }

    .indicator {
        right: -18px;
    }

}

@media (max-width: 380px) {

    .newMenuWrap {
        /*width: 100%;*/
        left: -365px;
    }

    .mm-wrapper_opening .main-header {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        z-index: 0;

    }

    .indicator {
        right: -18px;
    }
}


/**************************************Надо внести в новую верстку***********************/
/*http://annodanini.loc/kargo-iz-kitaya-v-rossiyu*/
/*.call-manager-msg {
    color: #757575 !important;
}
.text p a, .text li a {
    color: #1a0dab !important;
}
.main-content a:not([class]):link {
    color: #1a0dab !important;
}
.type-trans__days {
    color: #BA5D17 !important;
}
.offline {
    color: #757575 !important;
}
.call-manager__msg {
    color: #757575 !important;
}
.list-dscr--inverse .list-dscr__number {
    color: #63636E !important;
}*/

.mm-slideout {
    height: auto !important;
}

.mm-page.mm-slideout,
.wrapper.mm-slideout {
    height: auto!important;
}

.mm-wrapper {
    overflow-x: initial;
}

.mfp-helper {
    margin-right: 0 !important;
    overflow: initial !important;
}

span[contenteditable="true"] * {
    font-weight: normal !important;
    font-size: 100% !important;
    text-align: left !important;
    font-style: normal !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
    list-style: none !important;
    text-transform: none !important;
}

.wrapper.fixed-panel {
    padding-top: 64px;
}

.form__flex--child.form__input--wrapp.form__input--small {
    justify-content: end;
}

.form__input--small .form__label {
    min-height: 34px;
}

span.not-valid.error_attachment.error-attachment-validate.error {
    position: absolute;
    top: 100px;
    margin: 0;
}

#comments-wrapper,
.mCSB_container {
    -webkit-overflow-scrolling: touch;
}

.m-chat {
    padding-top: 105px;
}

.select2-results .select2-results__option {
    margin-bottom: 0;
}

@media (max-width: 1080px) {
    .m-chat {
        padding-top: 75px;
    }
}

@media (max-width: 767px) {
    .form__flex-mob-small .form__flex--child {
        padding-left: 0;
        padding-right: 0;
        padding: 0 5px;
        width: 50%;
    }

    .form__flex-mob-small .form__flex--wrapp {
        display: flex;
        align-items: flex-end;
        padding: 0 10px;
    }

    .form__flex-mob-small .form__input--wrapp {
        margin-bottom: 0;
    }

    .form__border {
        padding: 15px;
    }

}

@media (max-width: 480px) {
    .form__flex--child {
        padding-left: 15px;
        padding-right: 15px;
    }

    .form__block {
        padding: 0;
    }

    .mfp-wrap .mfp-container {
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
}


#file_F1-error, #file_F2-error, #file_F3-error, #file_F4-error, #file_F5-error, #file_F6-error, #file_F7-error, #file_F8-error {
    display: none !important;
}

#comment-form p.not-valid {
    position: absolute;
    bottom: 0;
    font-size: 12px;
    color: red;
    line-height: 14px;
    height: 15px;
}

#comment-form p.not-valid.static {
    position: static;
    text-align: left;
    display: inline-block;
    margin-bottom: 5px;
}

.m-chat__dialog--fun .fileList {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}
.m-chat__dialog--fun .fileList li {
    font-size: 12px;
    padding: 6px 10px 6px 25px;
    position: relative;
    border: 1px solid #b2b2b2;
    border-radius: 3px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.m-chat__dialog--fun .fileList li:before {
    content: '';
    position: absolute;
    display: inline-block;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    height: 17px;
    width: 14px;
    background: url(../../img/files.svg) 100% 0 no-repeat;
    background-size: contain;
}
.m-chat__dialog--fun .fileList li .removeFile {
    text-decoration: none;
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #b2b2b2;
    border-radius: 50%;
    position: absolute;
    font-size: 0;
    right: -8px;
    top: -8px;
}

.m-chat__dialog--fun .fileList li .removeFile:before {
    content: '';
    width: 1px;
    height: 8px;
    background: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.m-chat__dialog--fun .fileList li .removeFile:after {
    content: '';
    width: 8px;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
#check_offer-error {
    bottom: -17px;
}
.slide-nav .create-order .order-manager .control.add {
    color: #3b3c44;
}

.popup__thanks_btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 25px;
}

.popup__thanks_btn .btn {
    height: 40px;
    margin-right: 10px;
    width: 130px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.popup__thanks_btn .btn:last-child {
    margin-right: 0;
}
.ui-timepicker-standard {
    z-index: 9999991 !important;
}
.requests__table table thead tr th:nth-child(2) {
    padding-left: 0;
}
.requests__table table thead tr th:nth-child(3) {
    padding-left: 16px;
    width: 460px;
}
.requests__table table thead tr th:nth-child(6) {
    width: 200px;
}
.num_order_form {
    font-size: 14px;
    padding: 5px 0;
}

/* old video section */
.video {
    margin: 40px 0;
}

.video .container__text {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 15px;
}

.video h2 {
    margin-top: 0;
}

@media screen and (min-width: 1200px) {
    .video h2 {
        margin-bottom: 30px;
    }
}

.video .video__wrapp {
    display: flex;
    align-items: center;
}

@media (max-width: 980px) {
    .video .video__wrapp {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.video .video__wrapp > a {
    max-width: 198px;
    width: 100%;
    margin-right: 28px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.video .video__wrapp > a:before {
    content: url("../../img/play.svg");
    display: inline-flex;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
}

.video .video__wrapp > a:hover:before {
    content: url("../../img/play-active.svg");
}

@media (max-width: 980px) {
    .video .video__wrapp > a {
        margin: 10px;
    }
}

.video .video__wrapp > a img {
    display: block;
    margin: 0;
}

.video .video__item--content {
    flex-grow: 1;
    margin-left: 22px;
}

.video .video__item--content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

@media (max-width: 980px) {
    .video .video__item--content {
        margin: 15px 0 0;
        text-align: center;
    }
}
/* old video section END */
.requests__table table .row span.source__link {
    font-size: 12px;
    line-height: 140%;
    color: #3b3c44;
    font-weight: 600;
    text-decoration: none;
}
.requests__table table .row span.source__link:hover {
    text-decoration: none;
    cursor: text;
}
.developer-hide-title-form .form__title.title__three {
    display: none;
}
.developer-hide-title-form .fon-base.form__block {
    border: none;
}
#msOrder select.error ~ .select2-container .select2-selection {
    border: 1px solid brown !important;
}
.error_checkbox input[type=checkbox]+.form__label-check::before {
    border: 1px solid brown !important;
}
.cart__item-about-control {
    width: 65px;
}
#rtmanager-grid-manager-accruals table tbody td:nth-child(6) div {
    white-space: unset !important;
}
#rtmanager-grid-manager-accruals table tbody td:nth-child(6) div, #rtmanager-grid-manager-accruals table tbody td:nth-child(4) div {
    white-space: unset !important;
}

.select2-dropdown {
    z-index: 1029 !important;
}
.mega-menu__sub-category-link.active {
    color: #fdd137;
}
.rating__best {
    left: 0px;
    bottom: 0px;
}

footer .default-styles .f-h5, .default-styles .f-h6, .default-styles f-h5, .default-styles f-h6 {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    text-transform: initial;
    margin-bottom: 16px;
    margin-top: 0;
}

/* Только для подменю "Доставка грузов" */
.header-menu__item:nth-child(2) .dropdown-menu {
    column-count: 2;         /* количество колонок */
    column-gap: 30px;        /* расстояние между колонками */
}

/* Только для подменю "Маршруты" */
.header-menu__item:nth-child(3) .dropdown-menu {
    column-count: 2;
    column-gap: 30px;
}

/* Чтобы ссылки в колонках выглядели аккуратно */
.header-menu__item .dropdown-menu li {
    break-inside: avoid;     /* не ломать элементы внутри колонок */
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
}

.header-menu__item:nth-child(2) .dropdown-menu:not(.mega-menu) {
    width: 520px;
}
.header-menu__item:nth-child(3) .dropdown-menu:not(.mega-menu) {
    width: 520px;
}