.tabs-wrap {
    width: 83%;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
    @media screen and (max-width: 767px) {
        width: 100%;
    }
}

.tabs-wrap .panel {
    display: none;
}
.tabs-wrap.js-ready .panel.active {
    display: block;
}

.tablist {
    display: flex;
    padding: 0;
    justify-content: space-around;
    @media screen and (max-width: 767px) {
        flex-wrap: wrap;
    }
}

.tab {
    display: flex;
    align-items: center;
    flex-shrink: inherit;
    width: auto;
    border: 1px solid #fff;
    background-color:  #F2F2F2;
    min-height: 55px;
    max-width: 100% !important;
    margin: 0 !important;
    flex-grow: 1;
    justify-content: center;
    transition: background 0.2s ease;
    font-family: arial, sans-serif;
    font-size: .875rem;
    font-weight: bold;
    line-height: 1.313rem;
    cursor: pointer;
    color: #4d4d4f;;
    width: 25%;
    @media screen and (max-width: 768px) {
        flex: 49%;
        padding: .5rem 1.25rem;
    }
}

.tab:hover {
    background: rgba(127, 127, 127, .12);
}

.tab.active {
    background-color: #D71920;
    color: #fff;
    border: none !important;
    border-radius: 0;
    text-decoration: underline;
}

.panels {
    padding: 20px;
    background: white;
    width: 83%;
    margin: 0 auto;
    @media screen and (max-width: 767px) {
        width: 100%;
    }
    .panel {
        h2.panel-title {
            text-align: center;
            color: #D71920 !important;
            line-height: 1.75rem !important;
            font-size: 1.3125rem !important;
            font-family: arial, sans-serif !important;
            font-weight: 700;
            padding: 20px 0;
        }
        .tab-callout {
            display: flex;
            background-color:  #F2F2F2;
            margin: 20px auto;
            border-radius: 12px;
            @media screen and (max-width: 767px) {
                flex-direction: column;
            } 
            .image-box {
                min-height: 125px;
                background: url('/content/dam/brs-pharma-us/shingrix-dtc/en_US/bg/keypoints-d.svg') no-repeat center left;
                border-bottom-right-radius: 10px;
                width: 150px;
                height: 125px;
                padding: 0;
                display: flex;
                justify-content: center;
                img {
                    position: relative;
                    left: -5px;
                    width: 38px;
                }
                @media screen and (max-width: 767px) {
                    background: url('/content/dam/brs-pharma-us/shingrix-dtc/en_US/bg/keypoints-m.svg') no-repeat top left;
                    min-height: 130px;
                    display: flex;
                    justify-content: center;
                    background-size: 100%;
                    width: 100%;
                    img {
                        position: relative;
                        left: 0;
                        width: 38px;
                        bottom: 10px;
                    }
                }
            }
            .text-box {
                min-height: 125px;
                display: flex;
                align-items: flex-start;
                flex-direction: column;
                justify-content: center;
                @media screen and (max-width: 767px) {
                    align-items: center;
                    padding: 30px 20px;
                }
                &.width-fix {
                     @media screen and (min-width: 767px) {
                        width: 75%;
                    }
                }
                p {
                    font-family: arial, sans-serif;
                    font-size: 1rem;
                    line-height: 1.3125rem;
                    color: #4d4d4f;
                    @media screen and (max-width: 767px) {
                        text-align: center;
                    }
                    @media screen and (min-width: 767px) {
                        padding-left: 40px;
                    }
                    &:first-of-type {
                        color: #9E0B0F;
                        font-weight: 700 !important;
                    }
                }
            }
        }
    }
}

.text-container {
    margin-top: 40px;
    .text-content {
        margin: 16px 0 20px;
        p, h3 {
            font-family: arial, sans-serif !important;
            font-size: 1rem !important;
            line-height: 1.3125rem !important;
            color: #4d4d4f !important;
        }
        p {
            margin-bottom: 8px;
        }
        p.small-text {
            font-size: 12px !important;
        }
        h3 {
            font-weight: 700 !important;
            padding: 16px 0 8px;
        }
    }
    p a {
        font-weight: 700 !important;
        font-family: arial, sans-serif !important;
        font-size: 1rem !important;
        line-height: 1.3125rem !important;
    }
}

#tabs_0_panel_3 {
    .text-container {
        margin-top: 4px !important;
    }
}

