.country-rates .rates-container {
    padding-top: 15px;
    padding-bottom: 40px;
}
.country-rates #title {
    width: auto;
    max-width: 100%;
    font-size: 24px;
}
.country-rates .rates-content {
    background: #fff;
    border-radius: 3px;
    padding-bottom: 20px;
}
.rates-caption {
    margin-top: -10px;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 3px 3px 0 0;
}
.rates-caption h2 {
    margin: 10px 0;
}
.country-selection {
    padding: 20px 10px;
    display: flex;
    align-items: center;
}
.country-selection label {
    font-weight: normal;
}
.rate-product .product-heading {
    margin: 20px 0 12px;
    font-size: 20px;
}
.country-rates .panel-title a {
    display: block;
}
.country-rates .rate-details {
    padding: 0 15px;
}
.country-rates .rate-message {
    padding: 12px 15px;
}
.country-rates .panel-body {
    max-height: none;
    overflow: visible;
}
.country-rates .tariffs_rows {
    padding-top: 0;
    padding-bottom: 0;
}
.tariffs_rows > div {
    padding-top: 6px;
    padding-bottom: 6px;
    overflow-wrap: anywhere;
}
.rate-order {
    margin: 16px 0;
}
.country-rates .page-footer {
    position: static;
    height: auto;
    margin-top: 25px;
}
.country-rates .page-footer p {
    margin-bottom: 12px;
}
.country-rates .navbar-brand {
    height: 70px;
}
.country-rates .navbar-nav.navbar-left {
    margin-left: 50px;
}
.country-rates #product-asia {
    scroll-margin-top: 85px;
}
.country-rates .destinations-panel .list-group-item {
    border-radius: 0;
}
@media (max-width: 767px) {
    .country-selection {
        display: block;
    }
    .country-selection label {
        margin-bottom: 10px;
    }
    .country-rates #title {
        font-size: 22px;
        line-height: 1.4;
    }
    .country-rates .rates-content {
        margin: 0 15px;
        width: calc(100% - 30px);
    }
    .country-rates .navbar-header {
        height: 70px;
    }
    .country-rates .navbar-nav.navbar-left {
        margin-left: -15px;
    }
    .rate-order .btn {
        white-space: normal;
    }
    .tariffs_rows .dark-row {
        font-weight: 600;
    }
    .country-rates .page-header {
        margin-top: 20px;
    }
}
.country-selection .input-group {
    width: 100%;
}
#rates-popular-destinations .list-group {
    margin-bottom: 0;
}
@media (min-width: 1000px) {
    .country-rates {
        background-repeat: repeat-y;
        background-color: #ec008c;
    }
}
.package-original-details {
    text-align: center;
    padding: 12px 10px;
    line-height: 1.45;
}
.package-detail-line {
    overflow-wrap: anywhere;
}
.country-rates .rate-details {
    padding: 0;
}
.package-detail-line span {
    white-space: normal;
}
.best-value > .panel-heading .panel-title > a,
.best-value .package-original-details {
    color: #fe018f;
}
.best-value-label {
    display: block;
    font-size: 12px;
    margin-top: 4px;
}
.package-coverage-link {
    margin-top: 12px;
}
.package-country-list {
    column-count: 2;
    padding-left: 25px;
    line-height: 1.8;
}
.package-country-list li {
    break-inside: avoid;
}
.package-languages {
    display: flex;
    margin-right: 0;
}
.package-languages > li {
    float: left;
}
@media (max-width: 767px) {
    .package-country-list {
        column-count: 1;
    }
    .package-languages {
        position: absolute;
        right: 15px;
        top: 0;
    }
}
.more-packages {
    margin: 14px 0;
}
.more-packages > summary {
    cursor: pointer;
    color: #337ab7;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #f5f5f5;
}
.more-packages > summary:hover {
    color: #fe018f;
}
.more-packages-content {
    padding-top: 10px;
}
.more-packages:not([open]) > .more-packages-content {
    display: none;
}

/* Keep the footer at the viewport bottom on short pages, after content on long pages. */
html:has(body.country-rates) {
    min-height: 100%;
}
body.country-rates {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 70px);
    min-height: calc(100dvh - 70px);
    height: auto;
}
.country-rates main.rates-container {
    flex: 1 0 auto;
}
.country-rates footer.page-footer {
    flex: 0 0 auto;
    width: 100%;
    position: static;
    margin-top: 25px;
}

@media (min-width: 1000px) {
    body.country-rates {
        background-size: cover;
        background-repeat: no-repeat;
    }
}
