/*
    Created on : 19.11.2017, 18:42:40
    Author     : dimabresky
*/
.ts-collapse__button {
    /*! min-width: 11.25rem */
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    /* max-width: 122px; */
    width: 100%;
}

.ts-collapse__button svg{
    transform: rotate(90deg);
    transition: transform 0.3s;
    margin-left: .5rem;
}
.booking-block-inner .table-wrapper .table-item:nth-child(5) {
    width: 8.8125rem !important;

}
.table-wrapper{
    border: 1px solid #eee;
}
.btn.btn-colored.small {
    min-width: 8.25rem !important;
}

.dep-points-title {
    font-weight: 600 !important;
    margin-bottom: 10px;
}

.dropdown-content .text-1 {
    margin-bottom: 5px !important;

}
.text-1{
    margin: auto 0;
}
.bus-map-container {
    position: relative;
}

.bus-title {
    font-size: 12px;
}

.bus-map-container .rect {
    position: absolute;
    display: block;
    z-index: 19;
    cursor: pointer;
}

.bus-map-img {
    margin: 0;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 19
}

.bus-map-container .rect .bsInnerRect {
    display: block;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    /*text-align: right;*/
    text-align: center;
}


input[name="eurotrans[book_request]"] {
    padding: .78125rem 1.375rem;
}
.price_discount{
    position: absolute;
    font-size: 14px;
    color: white;
    background: #ff0001;
    padding: .15rem;
    /* width: 70px; */
    text-align: center;
    border-radius: 2px;
    white-space: nowrap;
    bottom: 4px;
    right: -4px;
    text-decoration: line-through;
    font-weight: 600;
}
.price_discount:before{
    content: '';
    display: block;
    width: 92%;
    /* height: 1px; */
    background: #ffffff;
    position: absolute;
    top: 8px;
    transform: rotate(-9deg);
}
.price_main{
    background: #0f438a;
    padding: 0.35rem;
    border-radius: 4px;
    color: white;
    font-size: 18px;
}
@media (max-width: 820px) {
    .bus-map-container {
        transform: rotate(-90deg);
        width: 790px !important;
        height: 778px !important;
        margin: -100px 0px 30px 10px;
    }

    .seat-text{
        display: block;
        transform: rotate(90deg);
    }
}


.ts-collapse__button {
    /*! min-width: 11.25rem */
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
}
.ts-collapse__button svg{
    transform: rotate(90deg);
    position: relative;
    top: -1px;
    transition: transform 0.3s;
    margin-left: .5rem;
}

.table-wrapper.not-collapse  .ts-collapse__button svg {
    transform: rotate(270deg);
    transition: transform 0.3s;
}
.table-wrapper div[id*=bus_map], .promocode-wrapper {
    overflow: hidden;
    height: 0 !important;
    display: block;
    padding: 0;
}
.table-wrapper.not-collapse div[id*=bus_map]{
    height: auto !important;
    overflow: initial !important;
    padding: .9375rem 0;
    display: table-row;
    padding: 1rem;
    border-top: 1px dashed #eee;
    transition: height 0.3s;
}
.promocode-wrapper.not-collapse{
    height: auto !important;
    overflow: initial !important;
    transition: height 0.3s;
}
.time{
    font-size: 18px !important;
    margin-bottom: 5px;
}
.text_controll:after{
    content:'Выбрать'
}
.not-collapse .text_controll:after{
    content:'Скрыть'
}
.table-row:nth-child(1){
    z-index: 10000;
}
.tiket-button a{
    float: left;
}
.ticket-header{
    font-size: 13px;
    line-height: 1;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    color: #6b6b6b;

}
.tikets-content{
    border-top: 1px solid #eee !important;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}
.border-left{
    border-left: 1px solid #eee !important; ;
}

.border-bottom__none{
    border-bottom: 0 !important;
}
.border-top{
    border-top: 1px solid #eee !important;
}
.ts-price__tittle{
    font-size: 13px;
    color: #6b6b6b;
}
.ts-price__price{
    font-size: 32px;
    padding-top: 5px;
}
.tikets-content a{
    font-size: 14px;
    line-height: 1;
}
.ts-price{
    padding: .5rem;
    background: #f2f6f8;
    width: 100%;
    margin-top: 16px;
}
@media (max-width: 992px ){

    .ts-price__container{
        border-top: 1px solid #eee !important;
        /* padding-top: 1rem !important; */
    }
    .ts-price{
        /* margin-bottom: 1rem; */
    }

    .ts-collapse__button{
        float:  right;
    }


}

.ts-price__container{
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 160px;
}


.promocode-wrapper {
    margin: 0 -1rem !important;
    padding-left: 0rem !important;
    padding-right: 0rem !important;
    display: flex;
    position: relative;
    /* height: auto !important; */
    /* background: #f2f5f8; */
}
.promocode-inner {
    margin: 1rem;
    padding: 1rem !important;
    background: #f2f5f8;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding-top: 2.25rem;
    padding-bottom: 2.375rem;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}
.leftColor {
    float: left;
    font-size: .8125rem;
    display: inline-block;
    margin-right: 10px;
    margin-top: 10px;
    margin-left: 0px !important;
}
@media (min-width: 768px) {
    .flex-column__reverse{
        display: flex;
        flex-direction: column-reverse;
        font-size: 14px !important;
    }
    .border-right{
        border-right: 1px solid #eee !important; ;
    }


}
.tickets_from, .tickets_to{
    width: 44%;
    display: flex;
    align-items: center;
}
.ticket_time{
    font-size: 14px;
    display: flex;
    flex-direction: column-reverse;
    margin-right: 0.5rem;
}
.ticket_time .time{
    font-size: 16px;
    margin-bottom: 4px;
    line-height: 16px;
}
.ticket_time .date{
    background: #004a9e;
    color: white;
    padding: 3px;
    font-size: 12px !important;
    border-radius: 4px;
    line-height: 12px;
    white-space: nowrap;
}
.arrow{
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1%;
}
/*.table-wrapper [class*='ts-col-']{
    padding: 0 0.5rem;
}*/
.tickets_from h2, .tickets_to h2{
    font-size: 13px;
    font-weight: bold;
    color: #ff8400;
}
.tickets_from p, .tickets_to p{
    color: #353535;
    font-size: 13px;
}
.title {
    color: #004a9e !important;
    font-size: 16px;
    text-transform: uppercase;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
}
.tooltip{
    background: white;
    color: #6f6f6f;
    position: absolute;
    font-size: 14px;
    font-weight: normal;
    text-transform: unset;
    top: -115%;
    z-index: 0;
    left: -30px;
    opacity: 0;
    z-index: -1;
}
.tooltip-container:hover .tooltip{
    opacity: 1;
    z-index: 1;
    transition: opacity .3s;
}
.tooltip div{
    background: white;
    box-shadow: 1px 1px 13px rgba(0, 0, 0, 0.3);
    display: block;
    padding: 1rem;
    z-index: 10;
    text-transform: initial;
    width: 130px;
    font-size: 12px;
    line-height: 1.1;
    transition: opacity .3s;
}
.tooltip:after{
    content: '';
    background: white;
    width: 15px;

    height: 15px;
    transform: rotate(45deg);
    /* box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.3); */
    display: block;
    position: absolute;
    bottom: -4px;
    /* z-index: -1; */
    right: 50%;
}
@media (max-width:768px) {
    .price_discount {
        position: absolute;
        font-size: 14px;
        color: white;
        background: #ff0001;
        padding: .15rem;
        /* width: 70px; */
        text-align: center;
        border-radius: 2px;
        white-space: nowrap;
        bottom: 4px;
        right: -4px;
        text-decoration: line-through;
        font-weight: 600;
    }
    .tooltip {
        background: white;
        color: #6f6f6f;
        position: absolute;
        font-size: 14px;
        font-weight: normal;
        text-transform: unset;
        top: -115%;
        z-index: 0;
        left: calc(100% - 120px);
        opacity: 0;
    }
    .tikets-content {
        border-top: 1px solid #eee !important;
        padding-top: 0;
        padding-bottom: 0;
    }
    [data-before]{
        display: flex;
        padding: 0.5rem 0;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
    .ts-border-bottom__dashed{
        border-bottom: 1px dashed #eee !important;
    }
    .ts-price__container {
        border-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    .tickets_from, .tickets_to{
        width: auto;
        justify-content: space-between;
        flex-direction: column;
        align-items: flex-start;
    }
    .table-road{
        border-top: 1px dashed #eee !important;
        border-bottom: 1px dashed #eee !important;
        padding-top: .5rem !important;
        padding-bottom: .5rem !important;
    }
    .tickets_from .ticket_time:first-child{
        padding-bottom: .5rem;
    }
    .header-display__none{
        display: none !important;
    }
    [data-before]:before{
        content: attr(data-before) ':';
        color:#6b6b6b;
        margin-right: .5rem;
        font-size: 13px;
        display: block;
        margin-bottom: 2px;
        font-weight: normal;
        text-transform: uppercase;
    }

    .booking-block-inner{
        padding: 0 !important;
    }
}
.ts-tabs__content-item{
    display: none;
}
.ts-tabs{
    border:none !important;
}
.ts-tabs__content-item.active {
    display: block;
}
.ts-tabs__nav-item{
    border: 1px solid #dedede !important;

}

.ts-theme .ts-tabs__content {
    border: none;
    border-top: 1px solid #DEDEDE;
    min-height: auto;
}
.ts-theme .ts-tabs__nav-item {
    height: 54px;
    border: none;
    border-right: 1px solid #DEDEDE;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

}
.card .tittle{
    color: #004a9e;
    font-size: 20px !important;
    text-transform: uppercase;
}
#payment-user svg{
    fill:#767676;
    height: 20px;
    width: 20px;
}
#payment-user label.active{
    background: #ff8600;
    color: white;
}
#payment-user label.active svg{
    fill: #004a9e;
}

#eurotrans-booking-btn.animated input{
    background-color: #dae6ec;
    color: transparent!important;
    pointer-events: none;
    border-color: #dae6ec;
}
.white-line{
    border-left: 1px solid #dedede;
}

.form-block-section .input-form .input-item.s30{
    width: 30%;
}
.orange{
    color: #ff8400;
}

.btn-switcher-tab{
    display: none;
}
.btn-switcher-tab.active{
    display: block;
}
.btn-switcher-elem {height: 3em;
    min-width: 194px !important;
    font-size: 0.86rem !important;
    line-height: 1.5 !important;}
.bg-semiblu {background-color:#f0f4f7}

.from .time, .to .time{
    font-size: 16px;
    margin-bottom: 4px;
    line-height: 16px;
}
.from svg, .to  svg{
    fill:#004a9e;

    width: 30px;
    height: 30px;
}
.arrow-right {
    width: 0;
    height: 0;
    border-top: 5px solid transparent !important;
    border-bottom: 5px solid transparent !important;
    transform: translateX(1px);
    border-left: 5px solid #004aa1 !important;
}
.arrow-left {
    width: 0;
    height: 0;
    border-top: 5px solid transparent !important;
    border-bottom: 5px solid transparent !important;
    border-right: 5px solid #004aa1 !important;
    transform: translate(-3px);
}
.arrow-left__header {
    width: 0;
    height: 0;
    border-top: 9px solid transparent !important;
    border-bottom: 9px solid transparent !important;
    border-right: 9px solid #004aa1 !IMPORTANT;
    transform: translate(-1px);
}
.arrow-right__header {
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;

    border-left: 9px solid #004aa1;
}
.text-way{
    font-weight: bolder;
    font-size: 14px !important;
    line-height: 19px;
}
.text-way > .small{
    font-weight: normal;
}
.ts-v-row{
    background: url('./img/row.svg');
    background-repeat-x: no-repeat;
    background-position: center;
    background-size: 100%;
    max-width: 3px;
    /* transform: translateX(3px); */
}
.ts-hv__dashed{
    margin: 30px 0;
}
.ts-border-left__dashed{
    border-color: #004a9e;
    border-size: 2px;
    border-left-width: 2px;
}
.from .arrow{

}
.date{
    background: #004a9e;
    color: white;
    padding: 3px;
    font-size: 12px !important;
    border-radius: 4px;
    line-height: 12px;
}
.ts-bg-white{
    background: white;
    padding: 2px 0;
    margin: -8px 0;
}
.ts-theme h6.summ span {
    color: #004aa1;
}
.js-popup-map:after{
    display: inline-block;
    content: "";
    width: 12px;
    height: 12px;
    background-repeat: no-repeat;
    background-size: 12px;
    background-image: url(/bitrix/templates/eurotrans/img/pin.svg);
}
.map-marker-content{
    text-align: center;
    font-size: 20px;
}
#payment-user label{
    height: 75px;
    box-sizing: border-box;
}
#payment-user label.active{
    border:2px solid #004a9e !important;
    color: #004a9e;
    background: white;
}
.ts-tabs__nav-item{
    font-size: 16px !important;
    color: #004aa1;
    font-weight: bolder;
}
.ts-theme .color-blue{
    color: #004aa1;
}
.min, .sec{
    color: #004a9e !important;
    font-size: 24px !important;
    text-transform: uppercase;
}
.payment_card{
    box-sizing: border-box;
    border: 1px solid #dedede;
    display: flex;
    align-items: center;
    position: relative;
    color:#656565;
    transition: all 0.3s;
}
.payment_card li{
    margin: auto 10px;
    display: flex;
    align-items: center;
}
.pay-img img{
    height: 30px;
}

.arrow-right-pay{

    display: block;
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 9px solid #004aa1;
    position: absolute;
    right: 15px;

}

.payment_card.active, .payment_card:hover{
    border: 1px solid #004a9e !important;
    color: #004a9e;

    transition: all 0.3s;
}
@media screen and (min-width: 1024px) {
    .ts-d-md-none {
        display: none !important; }
    .ts-d-md-flex {
        display: flex !important; }
    .ts-d-md-block {
        display: block !important; } }
.booking-block-inner .table-wrapper *, .booking-block-inner .table-wrapper .table-item{
    /* border: initial; */
}

.tittle{
    position: relative;
}
@media (max-width: 568px) {

}

@media (min-width: 769px) {
    .type-race{
        font-size: 11px !important;
        color: #515151 !important;
        margin-bottom: 1rem;
        /* background: #eeee; */
        /*border: 1px solid #f5f4f4b8;*/
        padding: .5rem;
    }
}
@media (max-width: 768px) {
    .text-hide{
        display: none;
    }
}
.ts-tickets-section{
    display: flex;
    flex-wrap: wrap;
}
ts-tickets-section{
    display: flex;
    flex-wrap: wrap;
}
.ts-tickets-section__title{
    flex-basis: 70%;
}
.ts-tickets-section__currency{
    min-width: 200px;
    flex-basis: auto;
    background: #f2f6f8;
    padding: 0.5rem;
    margin: auto 0 auto auto;
    align-self: baseline;
}
.ts-tickets-section__currency select{
    width: 100%;
    padding: 5px 0;
}
@media (max-width: 700px) {
    .ts-tickets-section__title{
        flex-basis: 50%;
    }
    .ts-tickets-section__currency {
        min-width: 30%;
    }
}
@media (max-width: 568px) {
    .ts-tickets-section__title{
        flex-basis: 100%;
    }
    .ts-tickets-section__currency{
        min-width: 150px;
        flex-basis: 100%;
        background: #f2f6f8;
        padding: 0.5rem;
        margin: 1rem 0 0 0;
        align-self: baseline;
    }
}
.ts-currency-block__title{
    font-size: 13px;
    color: #6b6b6b;
    margin-bottom: .5rem;
}

.text-line{
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-top: 1px solid #e1e1e1;
    position: relative;
}
.text-line:after{
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #f2f6f8;
    font-size: 16px;
    padding: .5rem 1rem;
    background: #ff8609;
    text-align: center;

}
.small-icon{
    color: #0f438a;
}
.small-icon svg{
    color: #0f4a9b;
    min-width: 16px;
}
.small-icon path{
    fill: #0f4a9b;
}
.border-top-dashed{
    bordet-top: 1px dashed #e1e1e1;
    height: 1px;
    width: 100%;
}
.roadmap-item-text{
    text-align: center;
}

#tooltip{
    background: white;
    font-size: 14px;
    box-shadow: 0 5px 13px 0 rgba(7, 35, 53, .11);
    padding: .75rem 1rem;
    color: #2e2e2e;
    z-index: 999999;
    line-height: 1.2;
    max-width: 250px;
    text-align: center;

}
#tooltip:after{
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 13px 13px 0;
    border-color: #fff transparent transparent;
    position: absolute;
    bottom: -13px;
    left: -webkit-calc(50% - 13px);
    left: calc(50% - 13px);
    -webkit-filter: drop-shadow(0 6px 4px rgba(7, 35, 53, .25));
    filter: drop-shadow(0 6px 4px rgba(7, 35, 53, .25));
}
.delete-info{
    border-right: 1px solid #e1e1e1;
    margin-right: .5rem;
    padding-left: 0;
    cursor: pointer;
    transition: text-decoration .3s;
}
.delete-info:hover{
    transition: text-decoration .3s;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .servises-tickets{
        order: 1;
        margin-top: .5rem ;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        flex-wrap: wrap;

    }
    .type-race{
        order: 0;
    }
    .delete-info{
        margin-right: 0;
        border-right: 0;
    }
    .delete-info svg{
        margin-right: 0 !important;
    }

}


ol{
    list-style-type: decimal !important;
    padding-left: 1rem !important;
}
#tooltipHeader{
    font-weight: bold ;
    line-height: 1.5;
}
#tooltipText{
    font-size: 80%;
    line-height: 1.2;
//margin-top: 5px;
}

.bg-prefix{
    list-style-type: none; /* Убираем исходные маркеры */
    counter-reset: num; /* Задаём имя счетчика */
    padding-left: 0 !important;
    /* row-gap: 5px; */
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}
.bg-prefix li{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    flex-basis: 0;
}
.bg-prefix li span{
    flex-basis: 0;
    flex-grow: 1;
}

.bg-prefix li::before {
    content: counter(num);
    counter-increment: num;
    color: white;
    font-style: italic;
    margin-right: 15px;
    background: #0f438a;
    border-radius: 50%;
    height: 18px;
    width: 18px;
    display: block;
    /* flex-wrap: wrap; */
    line-height: 18px;
    text-align: center;
    flex-basis: 18px;
    margin-top: 1px;
}
.modal-layout[data-modal="modalInfoRobot"] .modal-container{
    max-width: 425px;
}
.mobile-close{
    display: none;
}
@media (max-width: 426px) {
    .modal-layout[data-modal="modalInfoRobot"] .modal-container-header .small-link {
        right: 0;
        top: 0;
        background: white;
        border-radius: 8px;
    }
    .modal-layout[data-modal="modalInfoRobot"]{
        padding: .5rem;
        max-height: none;
        background-color: #104a9c;
        height: 100%;
        align-items: flex-start;

    }
    .modal-layout[data-modal="modalInfoRobot"] .modal-container{
        background: transparent;
        height: calc(100% );
        display: flex;
        flex-direction: column;
        padding: 0;
        margin-bottom: 0;
    }
    .modal-layout[data-modal="modalInfoRobot"] .modal-container .modal-container-header{
        background: white;
        border-radius:  8px 8px 0 0 ;
        position: static;
        margin-top: 3rem;
        padding: 1rem;
    }
    .modal-layout[data-modal="modalInfoRobot"] .modal-container .modal-container-content{
        background: white;
        margin-top: 0;
        border-radius: 0 0 8px 8px ;
        padding: 1rem;
        flex-grow: 1;
    }
    .modal-layout[data-modal="modalInfoRobot"] .modal-container .modal-container-footer {
        background-color: #104a9c;
        margin: auto -1rem 0;
    }
    .mobile-close{
        right: 1rem !important;
        top: 1rem !important;
        color: white !important;
    }
    /*.modal-layout[data-modal="modalInfoRobot"] .modal-container .bg-prefix{*/
    /*    margin-top: 0;*/

    /*    background: white;*/
    /*    padding: 1rem !important;*/
    /*}*/
}

.bus-wrap {
    width: 100%;
    /*height: 100%;*/
    border: solid 2px gray;
    border-radius: 20px;
    display: flex;
    flex-direction: row-reverse;
}

.bus-wrap .bus-row {
    display: flex;
    flex-flow: column;
}

.bus-wrap .bus-driver {
    width: 41px;
    height: 39px;
    margin: 20px;
    background: url('./img/bus_driver.png') no-repeat;
}

.bus-wrap .bus-seat {
    width: 25px;
    height: 30px;
    margin: 2px;
    font-size: 14px;
    text-align: center;
    font-weight: 700;
    color: #ffffff;
    padding-top: 8px;
}

.bus-wrap .bus-seat:nth-child(3) {
    margin-top: 32px;
}

.bus-wrap .bus-seat.free {
    cursor: pointer;
    background: url('./img/bus_seat_free.png') no-repeat;
}

.bus-wrap .bus-seat.occupied {
    cursor: no-drop;
    background: url('./img/bus_seat_occup.png') no-repeat;
}

.bus-wrap .bus-seat.selected {
    cursor: pointer;
    background: url('./img/bus_seat_choose.png') no-repeat;
}