/* M&M Awards - Product Details */

.mm-product-details {
    margin: 28px 0 15px;
    padding: 20px 24px;
    background: #f7f9fc;
    border: 1px solid #e1e6ed;
    border-radius: 6px;
}

.mm-details-title {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dfe4ea;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
}

.mm-details-description {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.7;
}

.mm-detail-row {
    display: flex;
    align-items: baseline;
    padding: 9px 0;
    border-top: 1px solid #e7ebf0;
    font-size: 14px;
}

.mm-detail-row strong {
    width: 140px;
    flex-shrink: 0;
    font-weight: 600;
}

.mm-detail-row span {
    flex: 1;
}

@media (max-width: 767px) {
    .mm-product-details {
        padding: 16px;
        margin-top: 20px;
    }

    .mm-details-title {
        font-size: 19px;
    }

    .mm-detail-row {
        display: block;
    }

    .mm-detail-row strong,
    .mm-detail-row span {
        display: block;
    }

    .mm-detail-row span {
        margin-top: 4px;
    }
}

/* =========================================================
   M&M Awards - Product Tabs
   ========================================================= */

.product-tabs .nav-tabs {
    border-bottom: 2px solid #e2e7ed !important;
    margin-bottom: 25px;
}

.product-tabs .nav-tabs > li {
    margin-right: 6px !important;
    margin-bottom: -2px !important;
}

.product-tabs .nav-tabs > li > a {
    display: block !important;
    padding: 13px 22px !important;

    background: #f5f7fa !important;
    color: #263746 !important;

    border: 1px solid #cbd3dc !important;
    border-bottom: 2px solid #cbd3dc !important;

    border-radius: 7px 7px 0 0 !important;

    font-weight: 700 !important;
    text-decoration: none !important;

    transition: background .15s ease, color .15s ease !important;
}


/* Selected tab */
.product-tabs .nav-tabs > li.active > a,
.product-tabs .nav-tabs > li.active > a:hover,
.product-tabs .nav-tabs > li.active > a:focus,
.product-tabs .nav-tabs > li > a.active {
    background: #205d9e !important;
    color: #ffffff !important;

    border-color: #205d9e !important;
    border-bottom-color: #205d9e !important;
}


/* Hover non-selected */
.product-tabs .nav-tabs > li:not(.active) > a:hover {
    background: #e9eef4 !important;
    color: #205d9e !important;
}


/* Specifications table */
.product-tabs .table,
.product-tabs table {
    width: 100%;
    border-collapse: collapse;
}

.product-tabs table td,
.product-tabs table th {
    padding: 13px 20px !important;
    vertical-align: middle !important;
}

.product-tabs table td:first-child {
    width: 42%;
    font-weight: 500;
}


/* Mobile */
@media (max-width: 767px) {

    .product-tabs .nav-tabs > li > a {
        padding: 10px 12px !important;
        font-size: 12px !important;
    }

    .product-tabs table td,
    .product-tabs table th {
        padding: 10px 12px !important;
    }
}


/* =========================================================
   M&M Awards - Journal 3 Product Tabs - FINAL OVERRIDE
   ========================================================= */

/* All three product tab buttons */
.product-blocks .nav-tabs > li > a,
.product-blocks .nav-tabs a,
.product-blocks .nav > li > a,
.product-blocks [href*="-tab-"] {
    padding: 12px 20px !important;
    margin-right: 5px !important;

    background: #f4f6f8 !important;
    color: #263746 !important;

    border: 1px solid #c7d0da !important;
    border-bottom: 1px solid #c7d0da !important;
    border-radius: 7px 7px 0 0 !important;

    font-weight: 700 !important;
    text-decoration: none !important;
}

/* ACTIVE / SELECTED TAB */
.product-blocks .nav-tabs > li.active > a,
.product-blocks .nav-tabs > li.active > a:hover,
.product-blocks .nav-tabs > li.active > a:focus,
.product-blocks .nav-tabs a.active,
.product-blocks .nav > li.active > a,
.product-blocks [href*="-tab-"].active,
.product-blocks [aria-expanded="true"] {
    background: #205d9e !important;
    background-color: #205d9e !important;

    color: #ffffff !important;

    border-color: #205d9e !important;
    border-bottom-color: #205d9e !important;

    box-shadow: none !important;
}

/* Selected tab text must remain white */
.product-blocks .nav-tabs > li.active > a *,
.product-blocks [aria-expanded="true"] * {
    color: #ffffff !important;
}

/* Hover */
.product-blocks .nav-tabs > li:not(.active) > a:hover,
.product-blocks [href*="-tab-"]:not(.active):hover {
    background: #e8edf3 !important;
    color: #205d9e !important;
}


/* =========================================================
   M&M Awards - Product Tabs Close Together
   ========================================================= */

/* Remove Journal spacing between tabs */
.product-blocks .nav-tabs,
.product-blocks .nav {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 0 !important;
}

/* Tabs sit directly beside each other */
.product-blocks .nav-tabs > li,
.product-blocks .nav > li {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove previous right margin */
.product-blocks .nav-tabs > li > a,
.product-blocks .nav-tabs a,
.product-blocks .nav > li > a,
.product-blocks [href*="-tab-"] {
    margin: 0 !important;
    border-radius: 6px 6px 0 0 !important;
}

/* Small separation only */
.product-blocks .nav-tabs > li + li,
.product-blocks .nav > li + li {
    margin-left: 3px !important;
}


/* =========================================================
   M&M Awards - Product Details - Final Spacing
   ========================================================= */

.mm-product-details {
    margin: 22px 0 22px !important;
    padding: 20px 30px !important;
    background: #f7f9fc !important;
    border: 1px solid #e1e6ed !important;
    border-radius: 7px !important;
}

.mm-details-title {
    margin: 0 0 14px 0 !important;
    padding: 0 0 12px 0 !important;
    border-bottom: 1px solid #dfe4ea !important;
    font-size: 21px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

.mm-details-description {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

@media (max-width: 767px) {
    .mm-product-details {
        margin: 18px 0 !important;
        padding: 16px 18px !important;
    }

    .mm-details-title {
        font-size: 19px !important;
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }
}

