.schedule {
    font-size: 14px;
    font-weight: 500;
}

section {
    margin: 0 auto;
    width: 100%;
}

section .wrap-stations, section .wrap-schedules  {
    margin-top: 1.14285714rem !important;
    color: #4F4F4F;
}

section h1 {
    font-size: 1.85714286rem;
    font-weight: 700;
    line-height: 2em;
    color: #333333;
}

.schedule-city {
    background-color: #FFFFFF;
    box-shadow: 0 .85714286rem 2.42857143rem rgba(27,94,32,0.27);
    -webkit-box-shadow: 0 .85714286rem 2.42857143rem rgba(27,94,32,0.27);
    -ms-box-shadow: 0 .85714286rem 2.42857143rem rgba(27,94,32,0.27);
    -o-box-shadow: 0 .85714286rem 2.42857143rem rgba(27,94,32,0.27);
}

.wrap-stations .flex-talbe, .wrap-stations .teble-head {
    justify-content: left;
    -webkit-justify-content: left;
}

.schedule-city,
.wrap-stations .flex-talbe {
    border-bottom: .07142857rem solid #E0E0E0;
}

.flex-talbe, .teble-head, .flex-talbe .coll {
    display: flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-direction: row;
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -moz-box-direction: normal;
    -moz-box-orient: horizontal;

    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    width: 100%;
}

.station.coll, .addr.coll {
     width: 350px;
   /* flex-basis: 350px;*/
    flex-grow: 2.1;
}
.race.coll,.departure.coll,.arrival.coll {
   width: 250px;
   /*  flex-basis: 250px;*/
    flex-grow: 2;
}

.regular.coll {
   width: 100px;
    /* flex-basis: 100px; */
    flex-grow: 1.2;
}
.price.coll {
    width: 150px;  
   /* flex-basis: 150px;*/
    flex-grow: 1.3;
}
.timew.coll {
   width: 100px;
   /*  flex-basis: 100px;*/
    flex-grow: 1;
}
.table-stations .coll {
    padding: 1rem;
    padding-right: 0;
}

.flex-talbe .coll, .teble-head .coll{
    background: #FFFFFF;
    vertical-align: middle;
}
.flex-talbe .coll {
    flex-direction: column;
    justify-content: space-between;

    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    -moz-box-direction: normal;
    -moz-box-orient: vertical;

    -webkit-flex-direction: column;
    -ms-flex-direction: column;

    justify-content: space-between;
    -webkit-justify-content: space-between;    
}

.cell {
    padding: 10px;
    position: relative;
    height: 100%;
}

.wrap-xcalendar {
    position: absolute;
    top: -15px;
    width: 100%;
    height: 25px;
    display: flex;
    justify-content: right;
    right: 10px;
}

.wrap-schedules .input-calendar{
    /*position: absolute;
    top: -16px;*/
    display: block;
    cursor: pointer;
    height: 20px;
    padding: 0;
    width: 20px;
}
.wrap-schedules .icon.i-calendar {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3cpath fill='%23068fd8' d='M152 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24V64zM48 248H128V192H48V248zM48 296V360H128V296H48zM176 296V360H272V296H176zM320 296V360H400V296H320zM400 192H320V248H400V192zM400 408H320V464H384C392.8 464 400 456.8 400 448V408zM272 408H176V464H272V408zM128 408H48V448C48 456.8 55.16 464 64 464H128V408zM272 192H176V248H272V192z'/%3e%3c/svg%3e");
}

.wrap-schedules .icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-repeat: no-repeat;
}


.flex-talbe.bottom .cell  {
    margin: auto 0;
}

.flex-talbe .bottom {
    border-top: 1px solid #E0E0E0;
    line-height: 30px;
    height: 30px;
}


.schedule-city .time, 
.schedule-city .price-text {
    font-size: 1.42857143rem;
    line-height: 1.2em;
    color: black;
}

.table-stations {
    background-color: #FFFFFF;
    box-shadow: 0 .85714286rem 2.42857143rem rgba(27,94,32,0.27);
    -webkit-box-shadow: 0 .85714286rem 2.42857143rem rgba(27,94,32,0.27);
    -ms-box-shadow: 0 .85714286rem 2.42857143rem rgba(27,94,32,0.27);
    -o-box-shadow: 0 .85714286rem 2.42857143rem rgba(27,94,32,0.27);
}

.schedule .icon::after {
    content: '';
    width: 1.4em;
    height: 1.4em;
    display: inline-block;
    vertical-align: text-bottom;
}

.schedule  .icon.marker-icon::after {
    mask-image: url(../icons/map-marker-point.svg);
    -webkit-mask-image: url(../icons/map-marker-point.svg);  
    background-color: #1e73be; 
}

.schedule  .star.icon::after {
    background-image: url(../icons/star.svg);
    background-repeat: no-repeat;
    background-position: left center;
}

.schedule .review.icon::after {
    background-image: url(../icons/review.svg);
    background-repeat: no-repeat;
    background-position: left center;
}

.schedule-city.teble-head {
    text-transform: uppercase;
    font-weight: 700;
}

.schedule-city.teble-head .departure,
.schedule-city.teble-head .arrival
{
    cursor: pointer;
}


.a:hover, .a:active {
    border-bottom: .03571429rem solid;
    color: #1e73be !important;
}

.btn {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-checkout {
    background-color: #1e73be;
    color: #FFFFFF;
    cursor: pointer !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: inline-block;
    position: relative;
	padding: 0.6rem;
	border: 0;
    border-radius: .28571429rem;
    font-size: 1rem;    
}


 /* details */
 
 .details, .details .hiddien {
    display: none;
   /* opacity: 0; */
    flex-direction: column; /*test*/
 }
 .details.active {
    display: block;
 /* opacity: 1; */
    -webkit-animation: fadeInFromNone 0.5s ease-out;
    -moz-animation: fadeInFromNone 0.5s ease-out;
    -o-animation: fadeInFromNone 0.5s ease-out;
    animation: fadeInFromNone 0.5s ease-out;
 }

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn.btn-buy {
    background: rgba(34,147,215,1);
    background-image: none;
    border-color: rgba(34,147,215,1);
    color: #fff;

    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
    width: 100%;
}

.btn-buy,
.btn-details {
    cursor: pointer;
}
.details .route-wrap {
    position: relative;
}

.details .route-line {
    display: flex;
    flex-direction: row;
}

.price .xcalendar {
    /*position: absolute;
    top: -15px;*/
    display: block;
    border: 0;
    background: none;
    height: 18px;
    font-size: 18px;
    margin: 0;
    padding: 0;
    line-height: 18px;
    color: #4f4f4f;
    text-align: center;
    width: 100px;
}

.route-line .marker::after {
    width: .3rem;
    height: .3rem;
    background-color: #FFFFFF;
    border: .2rem solid #1e73be;
    border-radius: 50%;
    content: "";
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    display: inline-block;
}


.route-line .divider {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 1.4rem;
    bottom: -0.57142857rem;
    left: 0.9rem;
    width: 1px;
    height: auto;
    background-color: transparent;
    background-image: url("../icons/line.svg");
    background-repeat: repeat-y;
}
.route-line .hiddien.divider {
    display: none;
}


.route-line .station-name {
    color: gray;
}

/*preload*/
.preload-icons .marker {
    display: inline-block;
    width: 1px;
    height: 1px;
    background-image: url("../icons/line.svg");
}

.btn-details,
.message {
    width: 100%;
    text-align: left;
    bottom: 0;
    position: absolute;
    margin: 10px 0;
}
.message {
    height: 1px;
}
.message.show {
    line-height: 30px;
    height: 30px;
}



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

    section {
        width: 100%;
    }

    .station.coll, .addr.coll, .price.coll {
        width: 100%;
    }

    .addr.coll {
        padding-top: 0;
        font-size: 12px;
    }

    .section .container {
        max-width: 768px;
        padding: 0 10px;
    }
    .flex-talbe {
        -webkit-box-direction: normal;
        -webkit-box-orient: vertical;
        -moz-box-direction: normal;
        -moz-box-orient: vertical;

        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .race.coll {
        font-size: 1.3rem;
        color: black;
    }
    .bottom.info {
        /* display: none; */
    }

    .bottom.info .race.coll, .bottom.info .departure.coll, .bottom.info .arrival.coll, 
    .bottom.info .timew.coll, .bottom.info .regular.coll,
    .teble-head .departure, .teble-head .arrival, .teble-head .regular, .teble-head .price
    {
        display: none;
    } 

    .bottom.info .race.coll{
        display: block;
        width: 100%;
    }

    .race.coll, .departure.coll, .arrival.coll {
        width: 100%;
    }
    
    .schedule-city .cell.title {
        display: flex;
        justify-content: space-around;
    }
    .schedule-city .departure .cell,
    .schedule-city .arrival .cell {
        display: flex;
        justify-content: flex-start; 
    }
    .schedule-city .coll .cell .time {
        margin-right: 10px;
    }
    .schedule-city .coll .cell .station {
        align-self: flex-end;
    }
    .schedule-city .cell .staddr {
        margin: 0 10px;
        align-self: flex-end;
    }

    .btn-details {
        width: 100%;
        text-align: center;
        position: relative;
        margin: 10px 0;
    }
    .timetables .container {
        margin: 10px;
        text-align: justify;
    }
    .schedule h2 {
        margin: 20px 10px;
        text-align: justify;
    }
}


@-webkit-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@-moz-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@-o-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}