﻿
/*#region Gated*/

    body:has(article.full-gated-content) .mims-footer-gated-content {
        display: block !important;
    }

body:has(article.partial-gated-content) .mims-footer-gated-content {
    display: block !important;
}

body:has(div.control-section.full-gated-content) .mims-footer-gated-content {
    display: block !important;
}

body:has(article.full-gated-content) .mims-footer-content {
    display: none !important;
}

body:has(article.partial-gated-content) .mims-footer-content {
    display: none !important;
}

.partial-gated-content > .disease-content:has(#disease-algorithm-diagram):after {
    height: 100% !important;
}

/*#endregion*/

@media (max-width: 1023.98px) {

    /*#region Gated*/
    body:has(article.full-gated-content) {
        overflow-y: hidden;
    }

    .msp-content-body-section:has(article.partial-gated-content) .msp-primesighttop-container {
        display: none !important;
    }

    .msp-content-body-section:has(article.full-gated-content) .msp-primesighttop-container {
        display: none !important;
    }

    body:has(article.full-gated-content) .mims-footer {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1029;
    }

    body:has(article.partial-gated-content) .mims-footer {
        position: relative;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1029;
    }

    /*#endregion*/
}

@media (min-width: 1024px) {

    .msp-body-content-container .full-gated-content {
        height: 260px;
        overflow: hidden;
    }

        .msp-body-content-container .full-gated-content * {
            height: 100%;
        }

    body:has(article.full-gated-content) .mims-footer {
        bottom: 0;
        height: 100%;
        width: 100%;
        top: calc(100vh - 100px);
        z-index: 1029;
    }

    body:has(article.partial-gated-content) .mims-footer {
        bottom: 0;
        height: 100%;
        width: 100%;
        top: calc(100vh - 100px);
        z-index: 1029;
    }

    .article-content-body-container:has(.partial-gated-content) {
        padding-bottom: 0 !important;
    }

    .article-content-body-container:has(.full-gated-content) {
        padding-bottom: 0 !important;
    }

}