/* -------------------------------------------------------------------------
   MSAL Product Choices
   ------------------------------------------------------------------------- */

#msal-product-choices
{
    width: 100%;
    max-width: 1140px;
    margin: 32px auto 46px;
    padding: 0 18px;
    color: #142434;
    font-family: inherit;
}

#msal-product-choices,
#msal-product-choices *,
#msal-product-choices *::before,
#msal-product-choices *::after
{
    box-sizing: border-box;
}


/* Selected reports ------------------------------------------------------- */

#msal-product-choices .msal-product-choices-reports
{
    margin: 0 0 28px;
    padding: 16px 20px;
    border: 1px solid #e6e6e6;
    background: #fff;
}

#msal-product-choices .msal-product-choices-report-list ul
{
    margin: 0;
    padding-left: 20px;
}

#msal-product-choices .msal-product-choices-report-list li
{
    margin: 3px 0;
    font-size: 14px;
    line-height: 1.4;
}

#msal-product-choices .msal-product-choices-no-reports
{
    margin: 0;
    color: #666;
    font-size: 14px;
}

#msal-product-choices .msal-product-section-heading
{
    margin: 0 0 16px;
    color: #142434;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
}


/* Compare control -------------------------------------------------------- */

#msal-product-choices .msal-product-compare-action
{
    display: flex;
    justify-content: flex-end;
    margin: 0 0 18px;
}

#msal-product-choices .msal-product-compare-open,
#msal-product-choices .msal-version-compare-close
{
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid #d7b66a;
    border-radius: 0;
    background: #d7b66a;
    color: #142434;
    font-family: Lato, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    cursor: pointer;
}

#msal-product-choices .msal-product-compare-open:hover,
#msal-product-choices .msal-product-compare-open:focus,
#msal-product-choices .msal-version-compare-close:hover,
#msal-product-choices .msal-version-compare-close:focus
{
    border-color: #042420;
    background: #042420;
    color: #fff;
}


/* Three product cards ---------------------------------------------------- */

#msal-product-choices .msal-product-options
{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

#msal-product-choices .msal-product-option
{
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 0 28px 26px;
    border: 2px solid #ddd;
    background: #fff;
}

#msal-product-choices .msal-product-option-database
{
    border-color: #207534;
}

#msal-product-choices .msal-product-option-book
{
    border-color: #d7b66a;
}

#msal-product-choices .msal-product-option-ebook
{
    border-color: #042420;
}

#msal-product-choices .msal-product-option-header
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    margin: 0 -28px 28px;
    padding: 12px 18px;
    text-align: center;
}

#msal-product-choices .msal-product-option-header h2
{
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.15;
}

#msal-product-choices .msal-product-option-header strong
{
    display: block;
    margin-top: 6px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

#msal-product-choices .msal-product-option-database
    .msal-product-option-header
{
    background: #207534;
    color: #fff;
}

#msal-product-choices .msal-product-option-database
    .msal-product-option-header h2,
#msal-product-choices .msal-product-option-database
    .msal-product-option-header strong
{
    color: #fff;
}

#msal-product-choices .msal-product-option-book
    .msal-product-option-header
{
    background: #d7b66a;
    color: #142434;
}

#msal-product-choices .msal-product-option-book
    .msal-product-option-header h2,
#msal-product-choices .msal-product-option-book
    .msal-product-option-header strong
{
    color: #142434;
}

#msal-product-choices .msal-product-option-ebook
    .msal-product-option-header
{
    background: #042420;
    color: #fff;
}

#msal-product-choices .msal-product-option-ebook
    .msal-product-option-header h2,
#msal-product-choices .msal-product-option-ebook
    .msal-product-option-header strong
{
    color: #fff;
}

#msal-product-choices .msal-product-option p
{
    margin: 0;
    color: #3d4650;
    font-size: 15px;
    line-height: 1.65;
}

#msal-product-choices .msal-product-option-footer
{
    margin-top: auto;
    padding-top: 28px;
}

#msal-product-choices .msal-product-option-header strong:not(:empty)::before,
#msal-product-choices .msal-compare-product strong:not(:empty)::before
{
    content: "£";
}

#msal-product-choices .msal-product-option button,
#msal-product-choices .msal-compare-select-row button
{
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 0;
    font-family: Lato, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    cursor: pointer;
}

#msal-product-choices .msal-product-option-database button,
#msal-product-choices .msal-compare-select-row td:nth-child(2) button
{
    border: 1px solid #207534;
    background: #207534;
    color: #fff;
}

#msal-product-choices .msal-product-option-book button,
#msal-product-choices .msal-compare-select-row td:nth-child(3) button
{
    border: 1px solid #d7b66a;
    background: #d7b66a;
    color: #142434;
}

#msal-product-choices .msal-product-option-ebook button,
#msal-product-choices .msal-compare-select-row td:nth-child(4) button
{
    border: 1px solid #042420;
    background: #042420;
    color: #fff;
}


/* Comparison panel ------------------------------------------------------- */

#msal-product-choices .msal-version-compare[hidden]
{
    display: none !important;
}

#msal-product-choices .msal-version-compare
{
    width: 100%;
    max-width: 920px;
    margin: 0 auto 30px;
    padding: 24px 26px 28px;
    border: 1px solid #e2e2e2;
    background: #fff;
    scroll-margin-top: 30px;
}

#msal-product-choices .msal-version-compare-header
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

#msal-product-choices .msal-version-compare-header
    .msal-product-section-heading
{
    margin: 0;
    color: #207534;
    font-size: 30px;
}

#msal-product-choices .msal-version-compare-close
{
    min-height: 42px;
    padding: 0 16px;
}

#msal-product-choices .msal-version-compare-scroll
{
    width: 100%;
    overflow-x: auto;
}

#msal-product-choices .msal-version-compare-table
{
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
}

#msal-product-choices .msal-version-compare-table th,
#msal-product-choices .msal-version-compare-table td
{
    padding: 11px 12px;
    border: 1px solid #dedede;
    vertical-align: middle;
}

#msal-product-choices .msal-version-compare-table tbody th
{
    width: 34%;
    color: #142434;
    background: #f7f7f7;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}

#msal-product-choices .msal-version-compare-table td
{
    color: #207534;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

#msal-product-choices .msal-compare-feature
{
    width: 34%;
    background: #f1f1f1;
    color: #142434;
    text-align: left;
}

#msal-product-choices .msal-compare-product
{
    color: #fff;
    text-align: center;
}

#msal-product-choices .msal-compare-product span,
#msal-product-choices .msal-compare-product strong
{
    display: block;
}

#msal-product-choices .msal-compare-product strong
{
    margin-top: 5px;
    font-size: 21px;
}

#msal-product-choices .msal-compare-database
{
    background: #207534;
}

#msal-product-choices .msal-compare-book
{
    background: #d7b66a;
    color: #142434;
}

#msal-product-choices .msal-compare-ebook
{
    background: #042420;
}

#msal-product-choices .msal-compare-select-row th,
#msal-product-choices .msal-compare-select-row td
{
    padding: 12px;
    background: #fff;
}


/* Responsive ------------------------------------------------------------ */

@media only screen and (max-width: 900px)
{
    #msal-product-choices .msal-product-options
    {
        gap: 16px;
    }

    #msal-product-choices .msal-product-option
    {
        padding: 0 20px 24px;
    }

    #msal-product-choices .msal-product-option-header
    {
        margin: 0 -20px 22px;
    }
}

@media only screen and (max-width: 750px)
{
    #msal-product-choices
    {
        margin-top: 24px;
        padding: 0 15px;
    }

    #msal-product-choices .msal-product-section-heading
    {
        font-size: 22px;
    }

    #msal-product-choices .msal-product-compare-action
    {
        justify-content: stretch;
    }

    #msal-product-choices .msal-product-compare-open
    {
        width: 100%;
    }

    #msal-product-choices .msal-product-options
    {
        grid-template-columns: 1fr;
    }

    #msal-product-choices .msal-product-option
    {
        min-height: 0;
    }

    #msal-product-choices .msal-version-compare
    {
        padding: 20px 15px;
    }

    #msal-product-choices .msal-version-compare-header
    {
        align-items: flex-start;
    }

    #msal-product-choices .msal-version-compare-header
        .msal-product-section-heading
    {
        font-size: 24px;
    }
}
