.departure-schedule,
.departure-schedule * {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif
}

.departure-schedule {
    border: 1px solid #dce5f2;
    border-radius: 5px;
    overflow: visible;
    background: #fff;
    box-shadow: 0 6px 20px rgba(30, 64, 175, .06)
}

.departure-schedule__header {
    width: 100%;
    min-height: 45px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    border-radius: 5px 5px 0 0;
    color: #fff
}

.departure-schedule__header h3 {
    margin: 0 !important;
    color: #fff;
    font-size: 18px;
    line-height: 45px;
    font-weight: 700;
    font-style: italic
}

.departure-schedule__header span {
    padding: 3px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .18);
    font-size: 14px;
    line-height: 22px;
    white-space: nowrap
}

.departure-schedule__scroll {
    overflow: visible
}

.departure-schedule__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    margin: 0
}

.departure-schedule__table th {
    padding: 12px 14px;
    background: #f3f6fc;
    color: #6c7483;
    font-size: 14px;
    line-height: 22px;
    text-transform: uppercase;
    border-bottom: 1px solid #e1e8f2
}

.departure-schedule__table td {
    padding: 13px 14px;
    color: #17213a;
    font-size: 15px;
    line-height: 22px;
    border-bottom: 1px solid #e8edf5;
    vertical-align: middle
}

.departure-schedule__table tbody tr:last-child td {
    border-bottom: 0
}

.departure-schedule__table tbody .departure-row {
    cursor: pointer;
    transition: background-color .2s ease
}

.departure-schedule__table tbody tr.is-featured {
    background: #fff7f5
}

.departure-schedule__table tbody tr.is-featured td:first-child {
    border-left: 4px solid #ff3c38;
    padding-left: 14px
}

.departure-schedule .departure-schedule__table th,
.departure-schedule .departure-schedule__table td {
    font-size: 13px!important;
    color: #000!important
}

.departure-code {
    font-family: monospace;
    color: #697386 !important
}

.departure-end {
    color: #a1a9b7 !important
}

.departure-status.is-contact {
    color: #f23838 !important
}

.departure-price-cell {
    position: relative
}

.departure-price-trigger {
    padding: 3px 0;
    border: 0;
    background: transparent;
    color: #1674e8;
    font: inherit;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.departure-price-trigger:hover,
.departure-price-trigger:focus {
    color: #0b59b5;
    text-decoration: underline;
    outline: 0
}

.departure-price-popover {
    display: none;
    position: absolute;
    z-index: 50;
    right: 8px;
    top: calc(100% - 7px);
    width: 240px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #d8e0eb;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .18);
    text-align: left
}

.departure-price-popover:before {
    content: "";
    position: absolute;
    right: 28px;
    top: -7px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #d8e0eb;
    border-top: 1px solid #d8e0eb;
    transform: rotate(45deg)
}

.departure-price-option {
    display: flex;
    width: 100%;
    border: 0;
    background: transparent;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    font-size: 15px;
    color: #697386
}

.departure-price-option:hover,
.departure-price-option:focus {
    background: #f3f7fd;
    outline: 0
}

.departure-price-popover strong {
    color: #17213a;
    white-space: nowrap
}

.departure-price-cell:hover .departure-price-popover,
.departure-price-cell:focus-within .departure-price-popover {
    display: block
}

@media(max-width:767px) {
    .departure-schedule__header {
        padding: 0 12px;
        min-height: 45px
    }

    .departure-schedule__header h3 {
        font-size: 16px;
        line-height: 45px
    }

    .departure-schedule__header span {
        font-size: 12px;
        padding: 2px 8px
    }

    .departure-schedule__scroll {
        overflow-x: auto
    }

    .departure-schedule__table {
        min-width: 700px
    }

    .departure-schedule__table th,
    .departure-schedule__table td {
        padding: 10px 12px;
        font-size: 14px
    }

    .departure-price-popover {
        position: fixed;
        left: 50%;
        right: auto;
        top: 50%;
        transform: translate(-50%, -50%)
    }

    .departure-price-popover:before {
        display: none
    }
}
