html {
    font-size: 10px;
}
@media screen and (max-width: 992px) {
    html {
        font-size: 10px;
    }
}

.search-content {
    overflow-x: auto;
    overflow-y: hidden;
}

.search-content--no-scroll {
    overflow: visible;
}
.search-content--no-scroll tbody tr td:last-child {
    position: relative;
}

.search-content table {
    min-width: 100%;
}

.search-content thead th,
.search-content tbody tr td {
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 100%;
    letter-spacing: 0.01em;
    color: #252b42;
}
.search-content thead th {
    font-weight: 700;
}
.search-content thead th a {
    color: inherit;
    font-weight: 700;
}
.search-content tbody tr td a {
    color: #167ffc;
}
.search-content thead th a[data-sort]::after {
    content: '';
    display: inline-block;
    width: 9px;
    height: 13px;
    background: url('/new/images/th-sort.svg') no-repeat;
    background-size: 9px auto;
    margin-left: 5px;
    position: relative;
    top: 1px;
}
.search-content thead th a[data-sort].asc::after {
    background-image: url('/new/images/th-sort-asc.svg');
}
.search-content thead th a[data-sort].desc::after {
    background-image: url('/new/images/th-sort-desc.svg');
}

.help-block {
    display: none;
}
.has-error .help-block {
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.4rem;
}
.has-success .control-label {
    color: #252b42;
}
.has-success .form-control {
    border-color: #ddd;
}

a.bus-table-quantity::before {
    margin-top: 0;
}

.bus-tours__item {
    cursor: pointer;
}

.applications .applications-top__block-1__row {
    height: auto;
}

.popup-bus-tours .bus-table {
    max-width: 100%;
    overflow-x: auto;
}

.tour-top__select-block .form-group {
    margin: 0;
    width: 22rem;
}
.tour-top__select-block label {
    margin-bottom: 0;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background: #167ffc;
    color: #fff;
    font-weight: 700;
}

.pagination > li > a,
.pagination > li > span {
    color: #167ffc;
    border: 1px solid #ddd;
    padding: 0.95rem 1.6rem;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 100%;
    letter-spacing: 0em;
    text-align: center;
}

.search-content a[href*='/order/view'] {
    color: #212529;
    white-space: nowrap;
}

.login-form__checkbox {
    position: relative;
    /* padding-left: 35px; */
    padding-left: 3.5rem;
}
.login-form__checkbox input[type='checkbox'] {
    position: absolute;
    left: 0;
}
.login-form__checkbox input[type='checkbox']:before {
    left: 0;
    top: 4px;
}
.login-form__checkbox label {
    padding-left: 0;
}
.login-form__checkbox .checkbox {
    position: static;
}
.login-form__checkbox .checkbox input[type='checkbox'] {
    margin-left: 0;
}

/* .applications .popup-bus__main-map__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
}
.applications .popup-bus__main-map__column {
    grid-template-columns: 1fr;
} */

.application-row--danger {
    background: rgba(222, 62, 62, 0.1) !important;
}
.application-row--success {
    background: #ebffeb !important;
}
.application-status {
    width: 100%;
    background: #abb4c2;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 100%;
    letter-spacing: 0.02em;
    color: #fff;
    border-radius: 3rem;
    text-align: center;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.2rem;
    padding-left: 6px;
    padding-right: 6px;
}
.application-status--danger {
    background-color: #cc5b53 !important;
}
.application-status--primary {
    background-color: #467ab3 !important;
}
.application-status--warning {
    background-color: #ebb261 !important;
}
.application-status--wait {
    background-color: #dc6dbc !important;
}
.application-status--info {
    background-color: #b3b3b3 !important;
}
.application-status--success {
    background-color: #79b871 !important;
}

.margin-top-1 {
    margin-top: 1rem;
}

.search-content thead th,
.search-content tbody td {
    width: auto !important;
}

.tour .tour-top__select-block select {
    padding-right: 35px;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 340px;
}
.tour .tour-top__select-block option {
    overflow: hidden;
    text-overflow: ellipsis;
}

.select2-container--krajee .select2-selection {
    padding: 0.5rem 1.5rem 0.55rem 1.8rem;
    border: 0.1rem solid #ddd;
    border-radius: 0.5rem;
    color: #737373;
    font-weight: 400;
    font-size: 1.8rem;
    box-shadow: none;

    background-image: url('/new/images/select.svg');
    background-position: center right 1.5rem;
    background-repeat: no-repeat;
    background-size: 1.4rem;
    cursor: pointer;
}

.select2-container--krajee
    .select2-selection--single
    .select2-selection__arrow {
    display: none !important;
}

.date-range-set,
.select2-container--krajee
    .select2-selection--single
    .select2-selection__rendered {
    width: calc(100% - 20px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*  */

.search-tour__second {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.search-tour__block {
    max-width: unset !important;
}

.search-tour__block > label {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 150%;
    letter-spacing: 0.01em;
    color: #252b42;
}
.search-tour__block.direction.active::before {
    display: none !important;
}
.search-tour__block.direction .search-tour__block-button::after {
    width: 100%;
}
.search-tour__block-button .search-tour div {
    transition: none;
}

.select2-container--krajee .select2-selection,
.search-tour__block-button {
    padding-left: 1.2rem;
}

.search-tour__item-quantity-btn {
    text-align: center;
    cursor: pointer;
}
.search-content thead th:nth-child(2) p {
    margin-bottom: 0 !important;
}

.popup-bus .popup-main {
    overflow-y: auto;
    max-height: 90vh;
}

.tour .tour-second__form .profile-form__block select {
    padding: 1rem 1.5rem 0.6rem 1.8rem;
    line-height: 100%;
}
.tour .tour-second__form .profile-form__block select[id*='form_sex'] {
    width: 100%;
}

.profile-form__block input:disabled {
    background-color: #ddd;
}
.profile-form__block select {
    padding-right: 30px !important;
    text-overflow: ellipsis;
}

.js-accommodation-row td {
    position: relative;
}
.js-accommodation-delete,
.js-service-delete {
    cursor: pointer;
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('/img/remove.svg') no-repeat;
    background-size: cover;
    position: absolute;
    right: -22px;
}

.switch-radio input {
    display: none;
}
.switch-radio label {
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 156%;
    letter-spacing: 0.01em;
    text-align: right;
    cursor: pointer;
    color: #737373;

    padding-left: 60px;
    display: inline-block;
    position: relative;
}
.switch-radio label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -1.25rem;

    cursor: pointer;
    text-indent: -9999px;
    width: 4.5rem;
    height: 2.5rem;
    background: rgba(22, 127, 252, 0.1);
    display: block;
    border-radius: 1.6rem;
    border: 0.1rem solid rgba(22, 127, 252, 0.4);
}
.switch-radio label::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    display: inline-block;
    margin: auto 0;
    left: 0.5rem;
    width: 1.7rem;
    height: 1.7rem;
    background: #167ffc;
    border-radius: 50%;
    transition: 0.3s;
}
.switch-radio input:checked + label::after {
    left: calc(4.5rem - 0.5rem);
    transform: translateX(-100%);
}

.tour .tour-top__button--small {
    height: 3.7rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 1.7rem;
}

.company-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 2rem;
}

.agent-files h5 {
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 5px;
}
.agent-files a {
    color: #167ffc;
    text-decoration: underline;
    font-size: 18px;
}
.agent-files-block {
    margin-bottom: 20px;
}
.agent-files-links {
    list-style: none;
    padding-top: 5px;
}
.agent-files-links a {
    display: inline-block;
    padding-left: 20px;
    position: relative;
}
.agent-files-links a::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url('/new/images/download.svg') no-repeat center;
    background-size: 14px auto;

    position: absolute;
    left: 0;
    top: 4px;
}

.btn-green,
a.btn-green,
button.btn-green {
    display: inline-block;
    padding: 14px 35px 12px;
    font-size: 20px;
    border-radius: 15px;
    background-color: #50b150;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    margin-bottom: 0;
    font-weight: bold;
}

.agent-files .btn-green {
    margin-top: 10px;
}

.glyphicon.glyphicon-pencil {
    background: url('/new/images/Phosphor Icons/Pencil.svg') no-repeat center;
    background-size: 22px;
    width: 22px;
    height: 22px;
    display: inline-block;
}
.glyphicon.glyphicon-pencil::before {
    display: none !important;
}

.orders-report .orders-form-input-block {
    width: 100% !important;
}

.mobile-show {
    display: none !important;
}

.tour-second__caption {
    opacity: 0.6;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.applications-tourists select {
    padding-right: 10px;
}
.applications-tourists input[type='text'],
.applications-tourists input[type='email'],
.applications-tourists input[type='number'],
.applications-tourists select {
    padding-right: 10px;
    border: 0.1rem solid #ddd;
}

.search-tour__block-direction label {
    margin-bottom: 0;
}

.search-tour .select2-container--krajee .select2-selection {
    padding-bottom: 0rem;
    height: auto;
}

.date-picker-wrapper .month-wrapper table .day.invalid {
    opacity: 0.5;
}

.badge-warning {
    background: #f0852d;
}
.applications-comment {
    word-break: break-word;
    padding: 10px 15px 10px 10px !important;
}
.applications-comment--active {
    background: #f1f7ff;
}
.applications-comments--scroll {
    max-height: 350px;
    overflow-y: auto;
}
.date-picker-wrapper .month-wrapper table .day.day--success {
    background-color: #50b150 !important;
    color: #fff !important;
}

.header-button-icon__count {
    width: 1.8rem;
    height: 1.8rem;
    right: -0.7rem;
    top: -0.7rem;
    line-height: 1;
    align-items: center;
    padding-top: 3px;
}

.search-tours .search-tour__switch label {
    font-size: 1.7rem;
}

@media screen and (max-width: 992px) {
    .mobile-hide {
        display: none !important;
    }
    .mobile-show {
        display: block !important;
    }
    .search-content {
        overflow-x: auto;
    }
    .company-grid {
        grid-template-columns: 1fr;
    }
    .agent-files a {
        font-size: 15px;
    }
    .agent-files h5 {
        font-size: 16px;
    }

    .btn-green,
    a.btn-green,
    button.btn-green {
        padding: 13px 35px 12px;
    }

    .search-tour__second {
        display: flex;
        flex-direction: column;
    }
    .search-tour__block {
        max-width: unset !important;
        width: 100%;
    }
    .search-tour__block svg {
        top: 0;
        bottom: 0;
    }
    .search-tour__block-direction {
        max-height: 0;
        overflow: hidden;
    }

    .search-tour__block-direction,
    .search-tour__calendar-content,
    .search-tour__block-quantity {
        display: none;
    }

    .search-tour__block.active .search-tour__block-quantity {
        display: flex;
        max-height: unset;
        position: static;
        padding-top: 20px;
    }

    .search-tour__block.active .search-tour__calendar-content {
        display: block;
        position: static;
    }

    .search-tour__block.active .search-tour__block-direction {
        max-height: 20rem;
        display: flex;
        position: relative;
        top: 7px;
    }
    .search-tours .search-tour__switch {
        display: flex;
        text-align: center;
    }
    .search-tours .search-tour__switch label {
        line-height: 1;
        text-align: center;
        max-width: 50%;
    }
    .search-tours .search-tour__switch .field-toursearchform-type_id {
        display: none;
    }

    .tour .tour-top__button {
        display: block;
        width: 100%;
    }
    .tour .tour-top__select-block select {
        max-width: unset;
    }

    .tabs-container.active {
        top: 7rem;
        height: calc(100vh - 7rem);
    }

    .bottom-menu {
        max-width: 100vw;
    }
    .edit-company__item input {
        padding: 0.6rem 1.8rem 0.3rem 1.8rem;
    }
    .select2-container--krajee .select2-selection--single {
        padding: 0.3rem 1.5rem 0.1rem 1.8rem;
        height: auto;
    }
    .popup-bus__main {
        margin-right: auto;
        margin-left: auto;
    }
    .select-list {
        overflow-x: auto;
    }
    .change .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-0.6rem, 0.5rem);
    }
    .change .bar:nth-child(3) {
        transform: rotate(45deg) translate(-0.6rem, -0.4rem);
    }

    .row {
        margin-right: -10px;
        margin-left: -10px;
    }
    .col-xs-1,
    .col-sm-1,
    .col-md-1,
    .col-lg-1,
    .col-xs-2,
    .col-sm-2,
    .col-md-2,
    .col-lg-2,
    .col-xs-3,
    .col-sm-3,
    .col-md-3,
    .col-lg-3,
    .col-xs-4,
    .col-sm-4,
    .col-md-4,
    .col-lg-4,
    .col-xs-5,
    .col-sm-5,
    .col-md-5,
    .col-lg-5,
    .col-xs-6,
    .col-sm-6,
    .col-md-6,
    .col-lg-6,
    .col-xs-7,
    .col-sm-7,
    .col-md-7,
    .col-lg-7,
    .col-xs-8,
    .col-sm-8,
    .col-md-8,
    .col-lg-8,
    .col-xs-9,
    .col-sm-9,
    .col-md-9,
    .col-lg-9,
    .col-xs-10,
    .col-sm-10,
    .col-md-10,
    .col-lg-10,
    .col-xs-11,
    .col-sm-11,
    .col-md-11,
    .col-lg-11,
    .col-xs-12,
    .col-sm-12,
    .col-md-12,
    .col-lg-12 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .popup .bus-table tbody tr a {
        min-width: 30px;
    }
}

.profile-form__block--required .control-label:after {
    content: ' *';
    color: red;
}

.popup.popup-bus-tours {
    transition: unset;
}

/* v1.0.2 */
