.top_search {
    width: 100%;
    background-color: #000;

}

.top_search .inp {
    width: 261px;
    height: 48px;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    padding-left: 40px;
    margin: 20px 0px;
    float: left;
    margin-right: 20px;
    border-radius: 5px;

}

.top_search .inp.inp1,
.top_search .inp.inp2 {
    background: url('/tickets/images/placeholder1.png') white 12px center no-repeat;
}

.top_search .inp.inp3 {
    background: url('/tickets/images/placeholder2.png') white 12px center no-repeat;
}

.top_search_block {
    width: 1170px;
    margin: 0 auto;
}

.top_search input[type=button] {
    width: 200px;
    height: 50px;
    color: white;
    text-transform: uppercase;
    background-color: #ed111f !important;
    float: left;
    background: url('/tickets/images/icon_search.png') 25px center no-repeat;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    padding-left: 30px;
    outline: none;
    margin: 20px 0px;
    border-radius: 5px;
}

.inner_container {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    width: 1170px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.inner_container:after {
    content: '';
    display: block;
    clear: both;
}

.inner_container img {
    max-width: 100%;
    height: auto !important;
}

.inner_left {
    width: 850px;
    float: left;
}

.inner_right {
    width: 292px;
    float: right;
}

.inner_sidebar .widget,
.inner_right .widget {
    padding-top: 20px;
}

.breadcrumbs {
    margin-top: 18px;
    margin-bottom: 70px;
}

.breadcrumbs,
.breadcrumbs a {
    color: #969696 !important;
}

.breadcrumbs a:hover {
    text-decoration: none;
}

.breadcrumbs .separator {
    padding: 0px 8px;
}

.h1_title {
    font-family: 'Russo One', sans-serif;
    font-size: 18px;
    color: #969696;
    text-transform: uppercase;
    overflow: hidden;
}

h1 {
    font-family: 'Russo One', sans-serif;
    font-size: 30px;
    color: #ed111f;
    text-transform: uppercase;
    margin: 0px;
    padding: 0px;
    text-align: left;
    padding-top: 5px;
}

.yadirect {
    width: 262px;
    height: 304px;
    background: url('/tickets/images/yadirect.jpg') left top no-repeat;
    margin-top: 105px;
    margin-bottom: 18px;
    cursor: pointer;
}

.booking_button {
    background: rgb(26, 97, 229);
    width: 262px;
    color: white;
    display: block;
    padding: 16px 0px;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    background: url('/tickets/images/booking_icon.png') left 20px top 16px no-repeat, linear-gradient(279deg, rgba(26, 97, 229, 1) 31%, rgba(219, 24, 47, 1) 95%);
    padding-left: 60px;
    margin-bottom: 10px;
}

.booking_button:hover {
    text-decoration: none;
}

.support_block {
    width: 292px;
    height: 127px;
    background: url('/tickets/images/support_block.png') left top repeat-x;

}

.support_title {
    background: url('/tickets/images/support_icon.png') left 0px top 13px no-repeat;
    margin: 22px;
    padding-left: 30px;
    margin-bottom: 18px;
    padding-top: 15px;

}

.support_phone {
    font-family: 'Russo One', sans-serif;
    font-size: 18px;
    margin: 0px 22px;
}

.support_email {
    font-family: 'Russo One', sans-serif;
    font-size: 18px;
    color: #969696;
    margin: 0px 22px;
    text-transform: uppercase;
    margin-top: 15px;
}

.questions_block {

    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(240, 240, 240, 1) 50%);
    padding-bottom: 12px;
}

.questions_title {
    background: url('/tickets/images/questions_icon.png') left 0px top 10px no-repeat;
    margin: 22px;
    padding-left: 30px;
    margin-bottom: 14px;
    display: block;
    color: #555 !important;
    text-decoration: none;
    padding-top: 9px;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

a.questions_title:hover {
    text-decoration: underline !important;
}

.questions_block a {
    color: #1164ed;
    display: block;
    margin: 22px;
    margin-top: 0px;
    line-height: 22px;
    margin-bottom: 10px;
    text-align: justify;
}

.questions_block a:hover {
    text-decoration: none;
}

.train_count {
    font-size: 14px;
    background: url('/tickets/images/train_small_icon.png') left top 31px no-repeat;
    padding-left: 23px;
    margin-top: 50px;
    padding-top: 20px;
    margin-bottom: 30px;
    line-height: 40px;
    margin-right: 52px;
}

.train_count:after {
    content: '';
    display: block;
    clear: both;
}

.route_length {
    font-size: 14px;
    background: url('/tickets/images/length_icon.png') left top 1px no-repeat;
    padding-left: 23px;
    margin-top: 17px;
    margin-bottom: 65px;
}

.train_count span,
.route_length span {
    color: #ed111f;
}


.route_block {
    border: 1px solid #f0f0f0;
    padding: 40px 20px 25px;
    overflow: hidden;
    width: calc(100% - 52px);
    margin-left: 2px;
    border-bottom: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
    margin-top: 20px;
    transition: .3s;
    box-sizing: border-box;
    position: relative;
    border-radius: 5px;
}

.route_block:first-child {
    margin-top: 0;
}

.route_block.hidden {
    display: none;
}

.route_blks .route_block:last-child {
    border-bottom: 1px solid #f0f0f0;
}

.route_blocks {
    float: left;
}

.route_block .train_tags {
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
}

.route_block .tag {
    float: right;
    margin-left: 10px;
    height: 30px;
    line-height: 20px;
    padding: 5px 15px;
    font-size: 14px;
    background: #ed111f;
    color: #fff;
    box-sizing: border-box;
    border-radius: 5px;
}

.route_block .tag:last-child {
    margin-left: 0;
}

.pl_block {
    margin-left: 25px;
}

.route_train {
    background: url('/tickets/images/train_icon.png') left top no-repeat;
    padding-left: 27px;
    color: #000;
    margin-bottom: 20px;
    float: left;
}

.route_train:hover {
    text-decoration: none;
}

.train_name_row {
    overflow: hidden;
}

.route_list {
    font-size: 18px;
    font-family: 'Russo One', sans-serif;
    text-transform: uppercase;
    color: #969696;
    width: 100%;
}

.route_active {
    color: #ed111f;
}

.route_train_small {
    background-color: #ed111f;
    color: white;
    padding: 0px 4px;
    margin-right: 5px;
}

.route_miniblock {
    font-size: 12px;
    color: #969696;
    margin-top: 17px;
    float: left;
    margin-right: 18px;
}

.route_miniblock:last-child {
    margin-right: 0;
}

.route_miniblock a {
    font-size: 14px;
    margin-top: -4px;
    display: inline-block;
    color: black;
    margin-left: 7px;
}

.route_miniblock .blue {
    color: #1164ed;
    text-transform: none;
}

.route_miniblock div {
    font-size: 18px;
    font-family: 'Russo One', sans-serif;
    text-transform: uppercase;
    padding-top: 3px;
}

.route_miniblock div span {
    color: #000;
}

.buy_button {
    background: url('/tickets/images/buy_icon.png') #1164ed left 13px top 7px no-repeat;
    color: white;
    display: inline-block;
    float: right;
    padding: 7px 20px;
    padding-left: 40px;
    padding-right: 15px;
    cursor: pointer;
    margin-top: 26px;
    border-radius: 5px;
}

.route_block:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, .7);
}

#map {
    height: 300px;
    width: 100%;
    margin-top: 40px;
}

h1 {
    font-size: 25px !Important;
}

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

    .inner_left .blue_button {
        float: left !important;
        margin: 20px 0px;
    }

    .top_search_block,
    .bottom_search_block {
        width: 824px !important;
        margin: 0 auto;
    }

    .inner_container {
        width: calc(100% - 20px) !important;
    }

    .inner_left {
        width: calc(100% - 315px);
    }

    .inner_right {}

    .route_blocks {
        width: 100%;
    }

    .pl_block {
        margin-left: 0px;
    }

    .buy_button {
        float: left;
    }

    .top_search .inp {
        width: 154px;
    }

}

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

    .top_search_block,
    .bottom_search_block {
        width: calc(100% - 20px) !important;
    }

    .inner_container {
        width: calc(100% - 20px) !important;
        margin: 0 auto;
    }

    .inner_left {
        width: 100%;
    }

    .inner_right {
        display: none;
    }

    .inp {
        width: calc(100% - 40px) !important;
        margin: 0px 10px;
        margin-bottom: 0px !important;

    }


    .route_block {
        width: 100%;
        margin-left: 0;
    }
}












.h1_title {
    display: block;
    float: left;
    margin-bottom: 0px;
    width: 100%;
    overflow: hidden;
}

h1 {
    display: inline-block;
    float: left;
    width: 100%;
    font-size: 25px;
}

.h1_container {
    overflow: hidden;
}

.inner_left p:first-of-type {
    padding-top: 20px;
}

.inner_left p {
    padding: 0px 0px;
    line-height: 22px;
    text-align: justify;
    margin-bottom: 25px;
}

h2 {
    font-size: 22px;
}

.blue_button {
    background-color: #1164ed;
    color: white;
    padding: 17px 20px;
    float: right;
    cursor: pointer;
    border-radius: 5px;
}

.h1_c {
    float: left;
}

.red {
    color: #ed111f !important;
}

.switcher {
    padding-top: 40px;

}

.switcher div {
    float: left;
    color: #ed111f;
    border: 1px solid #ed111f;
    width: 165px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}

.switcher div.active {
    background-color: #ed111f;
    color: white;
}

.table {
    width: 100%;
    padding-top: 20px;
}

.table thead tr {
    height: 40px;
    background: url('/tickets/images/grad.png') left top repeat-x;
}

.table tr {
    height: 40px;
}

.table tr.unactive {
    color: #969696;
}

.table thead tr th:first-child,
.table tbody tr td:first-child {
    padding-left: 20px;
}

.table th {
    text-align: left;
    font-weight: normal;
}

.table tbody tr td {
    border-bottom: 1px solid #f0f0f0;
}

.table_buy {
    float: right;
    cursor: pointer;
    color: #1164ed;
    text-decoration: underline;
    background: url('/tickets/images/buy_blue_icon.png') left top 1px no-repeat;
    padding-left: 25px;
    margin-right: 30px;
}

.table a {
    color: #1164ed;
}

.table a:hover {
    text-decoration: none;
}

.table_buy:hover {
    text-decoration: none;
}

.station1 {
    float: left;
    width: calc(50% - 10px);
    margin-top: 30px;
    margin-bottom: 70px;
}

.station2 {
    float: right;
    width: calc(50% - 10px);
    margin-top: 70px;
}

.station2 img {
    float: right;
}

.station_info {
    color: black;
}

.itable {
    float: left;
    font-size: 14px;
    width: 100%;
    margin-top: 20px;

}

.itable {
    line-height: 25px;
}

.itable span {
    color: #1164ed;
    width: 100%;
    text-transform: uppercase;
    display: block;
}

.itable td {
    padding: 15px 0px;
    border-bottom: 1px solid #f0f0f0;
}

.itable tr td:first-child {
    color: #969696;
    width: 200px;
    vertical-align: top;
}

.itable tr:last-child td {
    border: none;
}

.rasp_button {
    width: calc(100% - 40px);
    text-align: center;
    padding: 10px 20px;
    margin-top: 30px;
}

/* .reviews {
	background-color: #f0f0f0;
	padding: 70px 0px;
	overflow: hidden;
	border-top: 1px solid #fff;

}
.reviews_block {
	width: 1170px;
	margin: 0 auto;
	overflow: hidden;

}
.reviews_list .review:last-child {

}
.reviews h2 {
	font-size: 30px;
}

.reviews_list {

	background-color: #fff;
	margin-top: 70px;
	margin-bottom: 20px;
	overflow: hidden;
}
.reviews_list_left {

	width: 30px;
	height: 190px;
	background: url('/tickets/images/list_left.png') left 8px center no-repeat;
	float: left;
	border-right: 1px solid #f0f0f0;
}
.reviews_list_right {
	width: 30px;
	height: 190px;
	background: url('/tickets/images/list_right.png') left 8px center no-repeat;
	float: right;
	border-left: 1px solid #f0f0f0;
}


.review {
	width: calc(50% - 88px);
	border-right: 1px solid #f0f0f0;
	height: 100%;
	float: left;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	padding: 28px;
	background-color: #fff;
	min-height: 134px;
}
.review_name {
	float: left;
}
.review_date {
	float: right;
	color: #969696;
}
.review_content {
	width: 100%;
	padding-top: 35px;
	line-height: 25px;
} */
.gray {
    color: #969696;
}

.black {
    color: #000 !important;
}

.m60 {
    margin-top: 60px;
}

.rasptable {
    margin-bottom: 40px;
}

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

    .review {
        width: calc(100% - 57px);
    }

    .reviews_list_left,
    .reviews_list_right {
        display: none;
    }
}

@media screen and (max-width: 850px) {
    .station1 {
        width: 100%;
        margin-bottom: 0px;
    }

    .station2 {
        float: left;
        margin-bottom: 60px;
        width: auto;
    }

    .rasptable td:nth-child(3),
    .rasptable td:nth-child(4),
    .rasptable td:nth-child(5),
    .rasptable td:nth-child(6),
    .rasptable th:nth-child(3),
    .rasptable th:nth-child(4),
    .rasptable th:nth-child(5),
    .rasptable th:nth-child(6) {
        display: none;
    }

    .ptable td:nth-child(3),
    .ptable td:nth-child(4),
    .ptable td:nth-child(5),
    .ptable td:nth-child(6),
    .ptable td:nth-child(7),
    .ptable th:nth-child(3),
    .ptable th:nth-child(4),
    .ptable th:nth-child(5),
    .ptable th:nth-child(6),
    .ptable th:nth-child(7) {
        display: none;
    }

}



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













.train_date1 {
    background: url('/tickets/images/itrain1.png') left top 2px no-repeat;
    padding-left: 25px;
    margin-top: 20px;
}

.train_date2 {
    background: url('/tickets/images/itrain2.png') left top 2px no-repeat;
    padding-left: 25px;
    margin-top: 15px;
}

.train_date3 {
    color: #1164ed;
    background: url('/tickets/images/itrain3.png') left top 2px no-repeat;
    float: right;
    padding-left: 25px;
}

.train_place {
    background: url('/tickets/images/itrain4.png') left top 2px no-repeat;
    width: 12px !important;
    height: 18px;
    margin: 0 auto;

}

.ptable tr th:first-child,
.ptable tr td:first-child {
    padding-left: 0px !important;
}













.bottom_search {
    width: 100%;
    background-color: #000;
    overflow: hidden;
    margin-top: 80px;
    float: left;
    margin-bottom: 40px;
}

.bottom_search .inp {
    width: 272px;
    height: 48px;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    padding-left: 40px;
    margin: 20px 0px;
    float: left;
    margin-right: 1px;


}

.bottom_search .inp.inp1,
.bottom_search .inp.inp2 {
    background: url('/tickets/images/placeholder1.png') white 12px center no-repeat;
}

.bottom_search .inp.inp3 {
    background: url('/tickets/images/placeholder2.png') white 12px center no-repeat;
}

.bottom_search_block {
    width: 1140px;
    margin: 0 auto;
}

.bottom_search input[type=button] {
    width: 200px;
    height: 50px;
    color: white;
    text-transform: uppercase;
    background-color: #ed111f !important;
    float: left;
    background: url('/tickets/images/icon_search.png') 25px center no-repeat;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    padding-left: 30px;
    outline: none;
    margin: 20px 0px;
}


.stext {
    margin-top: 40px;
    line-height: 23px;
}


.loading_train_routes {
    font-size: 24px;
    text-align: center;
    margin: 50px 0;
    font-weight: bold;
}

@media screen and (max-width: 1170px) {
    .top_search input[type=button] {
        width: 175px;
        background-position: 12px center;
    }
}

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

@media screen and (max-width: 678px) {
    .route_block .tag:nth-child(3) {
        display: none;
    }
}

@media screen and (max-width: 479px) {
    .route_block .tag {
        padding: 5px 10px;
    }

    .route_train {
        margin-bottom: 10px;
        display: block;
        float: none;
    }

    .route_train_link {
        margin: 0 0 20px;
        display: block;
    }

    .trains_sort {
        float: none;
        margin-top: 10px;
        margin-left: -23px;
    }
}

.train_search_content {
    box-sizing: border-box;
    padding: 0 15px;
    margin: 50px auto 80px !important;
    display: flex;
    justify-content: space-between;
    font-family: "Montserrat", sans-serif;
}

.train_search_content .support_block {
    width: 100%;
}

.inner_container_with_sidebar {
    width: calc(100% - 370px);
}

.inner_sidebar {
    width: 340px;
}

@media (max-width: 1230px) {
    .inner_container_with_sidebar {
        width: calc(100% - 290px);
    }

    .inner_sidebar {
        width: 270px;
    }
}

@media (max-width: 960px) {
    .train_search_content {
        margin-bottom: 0 !important;
    }

    .inner_container_with_sidebar {
        width: 100%;
    }

    .inner_sidebar {
        display: none;
    }
}


.transfer_page h1 {
    margin: 20px 0;
    float: none;
    color: #333;
}

.transfer_table {
    margin-top: 40px;
    border: 1px solid #eee;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    border-collapse: collapse;
}

.transfer_table td,
.transfer_table th {
    padding: 10px 15px;
    text-align: left;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    line-height: 1.5;
}

.transfer_table th {
    background: #f0f0f0;
    font-size: 14px;
    vertical-align: middle;
}

.transfer_table .red_btn {
    padding: 0 15px;
    height: auto;
    line-height: 40px;
    border-radius: 5px;
}

.transfer_table .label,
.transfer_table .mob_btn {
    display: none;
}

.transfer_table .red_btn:hover {
    background: #b8151f;
}

.transfer_heading {
    color: #ed111f;
    font-size: 25px;
}

@media (max-width: 640px) {
    .transfer_table {
        margin-top: 25px;
        border: 0;
    }

    .transfer_table td,
    .transfer_table th {
        font-size: 14px;
        padding: 5px 8px;
        border: 0;
    }

    .transfer_table tr {
        border: 1px solid #eee;
    }
    .transfer_table tr + tr {
        margin-top: 20px;
    }

    .transfer_table td:last-child {
        display: none;
    }

    .transfer_table .station_wrap {
        padding: 0;
    }

    .transfer_table .station_name {
        font-weight: bold;
    }
    .transfer_table .station {
        padding: 5px 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .transfer_table .desktop_btn {
        display: none;
    }
    .transfer_table .red_btn {
        padding: 0 5px;
        height: auto;
        line-height: 30px;
        border-radius: 5px;
    }
    .transfer_table .label {
        font-weight: bold;
    }
    .transfer_table .label,
    .transfer_table .mob_btn {
        display: block;
    }

    .transfer_table,
    .transfer_table thead,
    .transfer_table tbody,
    .transfer_table tr,
    .transfer_table td {
        display: block;
    }
    .transfer_table th {
        display: none;
    }
    .transfer_table .label.main {
        background: #f0f0f0;
        padding: 5px 8px;
    }
}

.train_options * {
    box-sizing: border-box;
}

.train_option {
    font-family: "Montserrat", sans-serif;
    margin-top: 30px;
    border: 2px solid #e7e7e7;
}

.train_option.active {border-color: #ed111f;}
.train_option.active .top {background-color: #ed111f;}

.train_option .train {}

.train_option .top {
    padding: 10px 15px;
    align-items: center;
    background: #8b8b8b;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    display: flex;
    position: relative;
    top: -2px;
    width: calc(100% + 4px);
    left: -2px;
}

.train_option .top .info {
    width: calc(100% - 54px);
    display: flex;
    justify-content: space-between;
}

.train_option .top .icon {
    fill: #fff;
    height: 17px;
    margin-right: 24px;
    width: 30px;
}

.train_option .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    margin-right: 5px;
}

.train_option .top .number {
    font-size: 16px;
    text-transform: uppercase;
}

.train_option .top .type {
    font-size: 14px;
    font-weight: normal;
}

.train_option .path {
    padding: 10px 15px;
    background: #f9f9f9;
    font-size: 14px;
}

.train_option .data {
    display: flex;
}

.train_option .data .segment {
    padding: 15px;
}

.train_option .data .date {
    font-size: 12px;
    color: #7e7e7e;
}

.train_option .data .time {
    font-size: 16px;
    font-weight: 700;
    color: #ed111f;
    margin: 10px 0;
}

.train_option .data .city {
    font-size: 12px;
    color: #7e7e7e;
}

.train_option .data .trip_time {
    padding: 15px 0;
    width: 110px;
    text-align: center;
}

.train_option .data .label {
    font-size: 12px;
    color: #7e7e7e;
}

.train_option .data .val {
    font-size: 14px;
    color: #ed111f;
    padding-top: 10px;
}

.train_option .buy_btn_wrap {
    padding: 20px 15px 15px 20px;
    width: calc(33.333% - 110px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.train_option .red_btn {
    padding: 0 15px;
    height: auto;
    line-height: 40px;
    border-radius: 5px;
    width: 130px;
    min-width: 130px;
    text-align: center;
}

.train_option .red_btn:hover {
    background: #b8151f;
}

.train_option .trip_graph {
    display: flex;
    background: #f9f9f9;
    color: #fff;
}

.train_option .segment {
    padding: 15px;
    width: 33.333%;
}

.train_option .line {
    margin: 10px 0;
    width: calc(100% + 15px);
    height: 1px;
    background: #bbb;
}

.train_option .arrival .line {
    margin-left: -15px;
}

.train_option .transfer .line {
    border-bottom: 0;
    width: calc(100% + 30px);
    margin-left: -15px;
    background:
        linear-gradient(to right, #999 20%, transparent 0) repeat-x,
        linear-gradient(to bottom, #999 20%, transparent 0) repeat-y,
        linear-gradient(to right, #999 20%, transparent 0) repeat-x bottom,
        linear-gradient(to bottom, #999 20%, transparent 0) repeat-y right;
    background-size: 6px 2px, 2px 6px;
    /* Настраиваем частоту точек */
    background-position: left top, left top, left bottom, right top;
}

.train_option .segment .date {
    font-size: 12px;
    color: #7e7e7e;
}

.train_option .segment .time {
    font-size: 16px;
    font-weight: 700;
    color: #ed111f;
    margin: 10px 0;
}

.train_option .segment .station {
    font-size: 12px;
    color: #7e7e7e;
}

.train_option .segment .total_trip_time {
    font-size: 12px;
    margin-top: 10px;
    color: #7e7e7e;
}

h2.error {
    color: #ed111f;
}

.train_option .transfer {
    font-size: 12px;
    color: #7e7e7e;
    padding: 15px;
    width: 33.333%;
}

.train_option .transfer .date_time {
    display: flex;
    justify-content: space-between;
}

.train_option .transfer .date_time .transfer_time {
    display: none;
}

.train_option .transfer .transfer_time {
    display: none;
}

.train_option .transfer .to {
    text-align: right;
}

.train_option .transfer .date {
    font-size: 12px;
    color: #7e7e7e;
}

.train_option .transfer .time {
    font-size: 16px;
    font-weight: 700;
    color: #ed111f;
    margin: 10px 0 0;
}

@media (max-width: 768px) {
    .train_option .trip_graph,
    .train_option .data {
        display: block;
        position: relative;
    }

    .train_option .transfer,
    .train_option .data .buy_btn_wrap,
    .train_option .data .trip_time,
    .train_option .segment {
        padding: 10px 15px;
        width: auto;
        text-align: left;
    }
    .train_option .segment .date,
    .train_option .segment .time {
        display: inline-block;
        margin: 0 10px 0 0;
    }
    .train_option .data .trip_time {
        display: flex;
        align-items: center;
    }

    .train_option .segment .station,
    .train_option .city {
        margin-top: 7px;
        color: #333 !important;
        font-weight: bold;
    }

    .train_option .line {
        display: none;
    }

    .train_option .trip_time .label,
    .train_option .trip_time .val {
        padding: 0;
        margin-right: 10px;
    }
    .train_option .data .buy_btn_wrap {
        position: absolute;
        right: 15px;
        top: 10px;
        padding: 0;
    }

    .train_option .red_btn {
        min-width: 0;
        width: auto;
        padding: 0 8px;
        line-height: 30px;
    }

    .train_option .transfer .date_time {
        display: block;
    }

    .train_option .transfer .from,
    .train_option .transfer .to {
        display: flex;
    }

    .train_option .transfer .date {
        margin-right: 10px;
    }
    .train_option .transfer .time {
        margin: 0;
    }
    .train_option .transfer .station {
        margin: 10px 0;
    }
    .train_option .transfer .transfer_time {
        display: none;
    }
    .train_option .transfer .date_time .transfer_time {
        display: block;
        margin: 5px 0;
    }
    .train_option .transfer .transfer_time .label {
        display: inline-block;
        margin-right: 5px;
        color: #000;
    }
}
