#shop-for-rates .text-link {
    text-transform: capitalize;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

#shop-for-rates button {
    border: none;
}

#shop-for-rates .flex-row {
    display: flex;
    justify-content: space-between;
}

@media only screen and (max-width: 979px) {
    #shop-for-rates .col-reverse {
        flex-direction: column-reverse !important;
    }
}

@media only screen and (min-width: 980px) {
    #shop-for-rates .show-980-less {
        display: none;
    }

    #shop-for-rates .show-980-more {
        display: block;
    }
}

@media only screen and (max-width: 979px) {
    #shop-for-rates .show-980-less {
        display: block;
    }

    #shop-for-rates .show-980-more {
        display: none;
    }
}

#shop-for-rates .section-heading {
    font-size: var(--fontmmobile);
    color: var(--navy);
    font-weight: var(--bold);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
}

#shop-for-rates .section-heading .text-link {
    margin-left: 16px;
}

#shop-for-rates .text-overflow span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#shop-for-rates .compare-checkbox {
    align-self: end;
    margin-bottom: 16px;
    width: fit-content;
    background-color: var(--lighterember);
    color: var(--softblack);
    font-weight: var(--bold);
    padding: 8px 16px 8px 8px;
}

#shop-for-rates .compare-checkbox label {
    cursor: pointer;
}

#shop-for-rates .compare-checkbox label:hover {
    color: var(--sky);
}

#shop-for-rates .compare-checkbox input {
    cursor: pointer;
}

@media only screen and (min-width: 980px) {
    #shop-for-rates .compare-checkbox {
        margin-bottom: 0;
        align-self: start;
    }
}

#shop-for-rates .filter-wrap {
    margin-bottom: 16px;
}

#shop-for-rates .filter-label {
    font-weight: var(--semibold);
}

#shop-for-rates .input-holder {
    position: relative;
    max-width: 300px;
}

#shop-for-rates .input-holder.text input {
    width: 80px;
    padding: 8px 5px;
    border: 1px solid var(--softblack);
}

#shop-for-rates .input-holder.select {
    min-width: 200px;
}

#shop-for-rates input[type="checkbox"] {
    outline: 1px solid #000;
    border: none !important;
    outline-offset: -1px;
    width: 18px;
    height: 18px;
    margin-right: 4px;
    margin-bottom: -2px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #ffffff;
    box-shadow: none;
    content: '';
    cursor: pointer;
}

#shop-for-rates input[type="checkbox"]:checked:before {
    content: '';
    background: url('/assets/images/check-solid.svg') 0 0 no-repeat;
    background-size: cover;
    display: block;
    width: 12px;
    height: 12px;
    margin-left: 3px;
    margin-top: 2px;
}

#shop-for-rates label {
    cursor: pointer;
}

#shop-for-rates .select-label {
    border: 1px solid var(--softblack);
    padding: 5px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    cursor: pointer;
}

#shop-for-rates .select-label:after {
    content: '';
    background: url('/assets/images/angle-down-solid-black.svg') 0 0 no-repeat;
    background-size: cover;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-left: 10px;
}

#shop-for-rates .select-label.expanded:after {
    transform: rotate(180deg);
}

#shop-for-rates .select-options {
    border: 1px solid var(--softblack);
    margin-top: -1px;
    z-index: 10;
    position: absolute;
    left: 0;
    right: 0;
    background-color: var(--white);
}

#shop-for-rates .select-options input[type="radio"] {
    display: none;
}

#shop-for-rates .select-options.radio label {
    cursor: pointer;
    width: 100%;
    display: inline-block;
    height: 100%;
    padding: 8px;
}

#shop-for-rates .select-options.radio .option:hover {
    background-color: var(--lightgray);
}

#shop-for-rates .select-options.multi-check .option {
    padding: 8px 8px 0 8px;
}

#shop-for-rates .select-options.multi-check .option:last-child {
    padding-bottom: 8px;
}

#shop-for-rates .select-options.multi-check label,
#shop-for-rates .select-options.multi-check input {
    cursor: pointer;
}

#shop-for-rates #supplier-sortby {
    align-items: center !important;
    margin-bottom: 0;
}

#shop-for-rates #supplier-sortby .filter-label {
    margin-right: 10px;
}

#shop-for-rates #supplier-sortby .select-label {
    cursor: pointer;
}

#shop-for-rates #filter-form {
    position: relative;
    margin-top: 20px;
}

@media only screen and (min-width: 980px) {
    #shop-for-rates #filter-form {
        display: flex;
        align-items: start;
        margin-top: -4em;
    }

    #shop-for-rates #filter-form .form-wrap {
        width: 25%;
        min-width: 280px;
        position: sticky;
        left: 0;
        top: 10px;
        max-width: 320px;
        overflow-y: scroll;
        scrollbar-width: thin;
        height: calc(100vh - 80px);
    }

    #shop-for-rates #filter-form .offers-wrap {
        width: 73%;
        margin-left: 2%;
    }
}

#shop-for-rates #filter-form .flex-row {
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
}

#shop-for-rates #filter-form .flex-row.space-between {
    justify-content: space-between;
}

#shop-for-rates .call-to-actions {
    display: flex;
    flex-wrap: wrap;
}

#shop-for-rates .call-to-actions a {
    position: relative;
    display: flex;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--softblack);
}

#shop-for-rates .call-to-actions a:before {
    content: '';
    background-repeat: no-repeat;
    margin-right: 6px;
    margin-top: 4px;
    width: 12px;
    height: auto;
    display: block;
}

@media only screen and (max-width: 979px) {
    #shop-for-rates .call-to-actions {
        margin-bottom: 20px;
    }
}

#shop-for-rates #change-zip-mobile:before,
#shop-for-rates #change-zip-desktop:before {
    background-image: url('/assets/images/location-pen-solid-navy.svg');
}

#shop-for-rates #print-mobile,
#shop-for-rates #print-desktop {
    margin-left: 8px;
    padding: 0 0 0 8px;
    border-left: 1.5px solid #aeaeae;
}

#shop-for-rates #print-mobile:before,
#shop-for-rates #print-desktop:before {
    background-image: url('/assets/images/print-solid.svg');
    width: 16px;
    margin-top: 6px;
}

#shop-for-rates #export-mobile,
#shop-for-rates #export-desktop {
    margin-left: 8px;
    padding: 0 0 0 8px;
    border-left: 1.5px solid #aeaeae;
}

#shop-for-rates #export-mobile:before,
#shop-for-rates #export-desktop:before {
    background-image: url('/assets/images/file-csv-solid.svg');
    width: 16px;
    margin-top: 6px;
}

#shop-for-rates .offer-filters {
    padding: 16px;
    margin-bottom: 16px;
}

#shop-for-rates .offer-filters .small {
    padding: 0 6px;
}

#shop-for-rates .crosslink-wrap {
    padding-bottom: 12em;
}

#shop-for-rates .crosslink-wrap .crosslink-title {
    font-size: var(--fontmmobile);
    font-weight: var(--bold);
}

#shop-for-rates .tag-wrap {
    margin-top: 8px;
}

#shop-for-rates .tag-wrap button {
    background-color: var(--lightgray);
    border: 1px solid var(--navy);
    color: var(--navy);
    font-weight: var(--semibold);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 6px;
    margin-right: 6px;
}

#shop-for-rates .tag-wrap button:before {
    content: '';
    background-image: url('/assets/images/circle-xmark-solid-navy.svg');
    background-repeat: no-repeat;
    margin-right: 6px;
    width: 20px;
    height: 20px;
    display: block;
}

#shop-for-rates .tag-wrap button:hover {
    background-color: var(--navy);
    color: var(--white);
}

#shop-for-rates .tag-wrap button:hover:before {
    background-image: url('/assets/images/circle-xmark-solid-white.svg');
}

#shop-for-rates .card {
    padding: 16px 16px 26px 16px;
    border: 2px solid var(--navy);
}

@media only screen and (min-width: 980px) {
    #shop-for-rates .card {
        padding: 24px;
    }
}

#shop-for-rates .card.offer-checked {
    box-shadow: 0 3px 20px #5f5f5f;
}

#shop-for-rates .card .company-info {
    margin-bottom: 16px;
}

@media only screen and (min-width: 980px) {
    #shop-for-rates .card .company-info {
        max-width: 400px;
    }
}

@media only screen and (min-width: 1100px) {
    #shop-for-rates .card .company-info {
        max-width: 500px;
    }
}

#shop-for-rates .card .company-info .name {
    font-size: var(--fontmmobile);
    font-weight: var(--bold);
}

#shop-for-rates .card .company-info .phone {
    font-size: var(--fontxs);
}

#shop-for-rates .card .company-info .phone:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

#shop-for-rates .card .highlight {
    font-size: var(--fontmdesktop);
    font-weight: var(--bold);
}

#shop-for-rates .card .highlight.medium {
    font-size: var(--fontsdesktop);
}

@media only screen and (max-width: 600px) {
    #shop-for-rates .card .highlight {
        font-size: var(--fontsdesktop);
    }
}

#shop-for-rates .card .data-wrap {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 48%;
    /*min-width: fit-content;*/
}

#shop-for-rates .card .description {
    margin: 16px 0;
}

@media only screen and (min-width: 980px) {
    #shop-for-rates .card .description {
        max-width: 90%;
        margin-top: 0;
    }
}

#shop-for-rates .card .last-updated {
    margin-bottom: 16px;
    font-style: italic;
}

#shop-for-rates .card .link-group {
    margin-bottom: 16px;
}

#shop-for-rates .card .bottom {
    overflow: hidden;
}

@media only screen and (min-width: 1100px) {

    #shop-for-rates .card .middle,
    #shop-for-rates .card .bottom {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: start;
    }

    #shop-for-rates .card .middle .container.first,
    #shop-for-rates .card .bottom .container.first {
        width: 56%;
    }

    #shop-for-rates .card .middle .container.second,
    #shop-for-rates .card .bottom .container.second {
        width: 44%;
    }
}

#shop-for-rates .card .middle .container.second,
#shop-for-rates .card .bottom .container.second {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#shop-for-rates .card .top {
    display: flex;
    flex-direction: column-reverse;
}

@media only screen and (min-width: 768px) {
    #shop-for-rates .card .top {
        flex-direction: row;
        justify-content: space-between;
    }
}

#shop-for-rates .card .btn-primary {
    font-size: var(--fontregular);
}

#shop-for-rates .supplier-card {
    margin-top: 20px;
}

@media only screen and (max-width: 600px) {
    #shop-for-rates .supplier-card .terms-conditions {
        flex-direction: column;
    }
    #shop-for-rates .supplier-card .terms-conditions .data-wrap {
        width: 100%;
    }
}

#shop-for-rates .supplier-card .company-info {
    color: var(--navy);
}

#shop-for-rates .supplier-card .terms-conditions,
#shop-for-rates .supplier-card .description,
#shop-for-rates .supplier-card .last-updated {
    color: rgba(0, 0, 0, 0.72);
}

#shop-for-rates .supplier-card:nth-child(odd) {
    background-color: var(--lightgray);
}

#shop-for-rates .terms-conditions span {
    padding-right: 20px;
}

#shop-for-rates .terms-conditions b {
    font-weight: var(--semibold) !important;
}

#shop-for-rates .ptc {
    padding-top: 16px;
    margin-bottom: 20px;
}

#shop-for-rates .to-top-wrap {
    width: fit-content;
    margin: 20px auto;
}

#shop-for-rates .to-top-wrap a {
    display: flex;
    align-items: center;
}

#shop-for-rates .to-top-wrap a:after {
    width: 20px;
    height: 20px;
    display: block;
    transform: rotate(270deg);
}

/*change zip overrides*/
.hero-form {
    position: absolute;
    top: 20px;
}

