/*
******************************************************************************************
* Site: Zacks
* Author: Subhranil Dutta
* Year 2024
******************************************************************************************
*/

/*
//////////////////////////////////////////////////////////////////////////////////////////
Index:
00. Left rail
01. Right content
//////////////////////////////////////////////////////////////////////////////////////////
*/

/*
******************************************************************************************
00. Left rail
******************************************************************************************
*/

/* Left navigation */
nav.left_subnav {
    background-color: #484848;
    border: 1px solid #313131;
    border-radius: 0;
    padding-top: 0;
}

.left_subnav h2.nav_title {
    background-color: #787878;
    margin: 0;
    padding: 5px 15px;
    padding-right: 0;
    border-bottom: 1px solid #000;
    cursor: default;

    color: #fff;
    text-shadow: none;
    text-transform: capitalize;
    font-size: 12pt;
}

.left_subnav>ul:nth-child(2)>li:first-child {
    padding-bottom: 5px !important;
}

.left_subnav h2.nav_title:focus,
.left_subnav h2.nav_title.selected {
    background-color: #bbb7b8;
    color: #010101;
}

.zero_level h2.nav_title,
.left_subnav h2.nav_title {
    -webkit-transition: all linear 0.2s;
    -moz-transition: all linear 0.2s;
    -o-transition: all linear 0.2s;
    -ms-transition: all linear 0.2s;
    transition: all linear 0.2s;
}

ul.zero_level li.first_level_open ul,
zero_level li.first_level_open ul {
    padding-top: 3px;
    margin-bottom: 6px;
    background: #484848;
}

/*.zero_level li.first_level_open ul li.asterics_anchor {
    position: relative;
}*/

ul.subnav_excp {
    margin-bottom: 0;
}

ul.subnav_excp li a.newwin {
    padding-left: 0px;
    text-align: center;
}

.left_subnav a {
    border-top: 1px dashed transparent;
    border-bottom: 1px dashed transparent;
    padding-left: 23px;
    padding-right: 12px;
    /* for IE12+ specifically, doesn't effetc other browsers */
}

.left_subnav a.selected {
    background: none;
    border-top: 1px dashed #fff;
    border-bottom: 1px dashed #fff;
    color: #3cd44e !important;
    text-shadow: none;
}

.left_subnav li a:focus {
    transition: all linear 0.2s;
    box-sizing: border-box;
    outline: 2px solid #fff !important;
    outline-offset: -2px;
    text-decoration: underline;
}

.left_subnav .nav_title+ul {
    margin-bottom: 6px;
    padding-top: 3px;
}

/* hiding left sidebar nav items till iPad porttait mode */
@media (max-width: 1023px) {
    .left_subnav .nav_title+ul {
        display: none;
    }


    #detailed_estimate section#detail_estimate+section table tbody tr td:first-child {
        position: relative;
    }
}

.left_subnav ul.subnav_excp li a.newwin {
    padding-bottom: 10px;
    font-size: 12pt;
}

.composite_val_vgm {
    background: #000 !important;
    border: 1px solid #000;
    border: 1px solid #000;
}

/*positioning tooltip for style scores*/

/*#quote_ribbon_v2 .quote_rank_summary .zr_rankbox label.rank_title span.info-tooltip {
    position: relative;
    top: 3px;
    left: 3px;
}*/

/* tbody th font weight normalized */
.quote_body #stock_industry_analysis tbody th {
    font-weight: 400;
}

#quote_ribbon header h1 a,
#quote_ribbon_v2 header h1 a {
    color: #007706;
}

#quote_ribbon_v2 .quote_rank_summary .zr_rankbox div.rank_title span button.tt-trigger {
    background: none;
    border: none;
    outline: 0 none;
    padding: 0;
}

#quote_ribbon_v2 .quote_rank_summary .zr_rankbox div.rank_title .tippy-content button.tt-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fff;
    border: 2px solid #999;
    line-height: 22px;
    border-radius: 5px;
}

/*
******************************************************************************************
01. Right content => using breakpoints
******************************************************************************************
*/

/* For only 320px */
@media screen and (max-width: 320px) {
    ul.news-link-tabs li {
        font-size: 8pt !important;
    }

    /* Quote Ribbon */
    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium {
        background-position: calc(100% - 88%) 0 !important;
    }
}

/* For all screens => common attributes for all viewports */
@media screen and (min-width: 320px) {

    /* New left side bar nav toggle v1.5 */
    #quote_sidebar_toggle {
        display: none;
    }

    #quote_sidebar_toggle+nav.left_subnav {
        opacity: 1;
        left: 0 !important;
        top: 0;
    }

    #quote_sidebar_toggle+nav.left_subnav aside.close_nav_btn {
        display: none;
    }

    /* Toggle head title */
    .toggle-head-title {
        width: 100%;
        margin-top: 7px;
        margin-bottom: 8px;
        padding-left: 18px;
        cursor: pointer;
        font-family: inherit;
        font-size: 12pt;
        font-weight: bold;
        color: #fff;
        text-align: left;
        text-transform: capitalize;
    }

    .toggle-head-title .border-grp {
        float: right;
        width: 100%;
        max-width: 27px;
        margin-right: 35px;
    }

    .toggle-head-title .border-grp span {
        width: 100%;
        height: 3px;
        margin-bottom: 4px;
        display: block;
        background-color: #fff;
        font-size: 0;
    }

    .page-selector {
        position: absolute;
        padding: 9px 20px;
        left: -1px;
        top: 30px;
        width: 100%;
        background: #6c6c6c;
        border-bottom: 1px solid #313131;
        background-color: #6c6c6c;
    }


    /* Quote Ribbon */
    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox:first-of-type p.rank_view span.rank_chip {
        float: left;
        margin-left: 2px;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox:first-of-type p.rank_view span.rank_chip:last-of-type {
        margin-right: 10px;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox:first-of-type p.rank_view {
        line-height: 20px;
    }


    #quote_ribbon_v2 .quote_summary .ribbon_value .group1 {
        border-bottom: none !important;
    }

    #quote_overview table.abut_top tr td,
    #quote_overview table.abut_top tr td a {
        font-weight: bold;
        color: #1964e3;
    }

    #quote_overview table.abut_top tr td a:hover,
    #quote_overview table.abut_top tr td a:focus {
        text-decoration: underline;
    }

    #quote_ribbon_v2 .quote_summary header h1 a {
        font-size: 15pt;
    }

    #quote_ribbon_v2 .group1 .bats_value_block {
        margin-top: 10px;
        float: left;
    }

    #quote_ribbon_v2 .group1 .bats_value_block p {
        text-align: left;
        color: #6b6b6b;
    }

    /* Other sections */
    #stock_industry_analysis p a.in_copy,
    #premium_research footer a {
        font-weight: bold !important;
        color: #1964e3 !important;
        position: relative;
    }

    .quote_body #stock_industry_analysis table+p a.in_copy,
    #premium_research footer a {
        font-size: 9pt !important;
    }

    #stock_industry_analysis p a.in_copy:after,
    #premium_research footer a:after,
    #premium_research footer>p a span:after {
        content: inherit !important;
    }

    #stock_industry_analysis p a.in_copy span[aria-hidden=true],
    #premium_research footer a span[aria-hidden=true] {
        font-size: 9pt;
        font-family: Verdana, sans-serif;
        line-height: 0;
    }


    #third_rail section#quote_chart .align_center p a.in_copy,
    #stock_comp_desc footer a,
    #stock_comp_desc footer p.alpha a {
        font-size: 9pt !important;
        font-weight: bold !important;
        color: #1964e3 !important;

        margin-top: 10px;
    }

    #third_rail section#quote_chart .align_center p a.in_copy:hover,
    #stock_comp_desc footer a:hover,
    #stock_comp_desc footer p.alpha a:hover {
        text-decoration: underline !important;
    }

    #stock_comp_desc footer p.alpha a:after {
        color: #1964e3 !important;
    }

    /* Research ,News header */
    .quote_body .zacks_reserach_reports_cta h1,
    .quote_body #stocks_other_news h1,
    .quote_body #premium_research h1 {
        text-transform: none;
    }

    .quote_body #stocks_other_news .news_link_grp {
        margin-bottom: 10px;
    }

    /* Research reports */
    section.zacks_reserach_reports_cta a.premium.report:hover {
        text-decoration: underline;
    }

    /* Other News */
    .quote_body #stocks_other_news .news_link_grp a {
        position: relative;
        font-size: 10pt;
        font-weight: bold;
        color: #1964e3 !important;
    }

    .quote_body #stocks_other_news .news_link_grp a:first-of-type {
        margin-right: 10px;
    }

    .quote_body #stocks_other_news .news_link_grp a:first-of-type::after {
        position: absolute;
        content: '';
        background-color: #1964e3;
        width: 2px;
        height: 16px;
        top: 0;
        right: -7px;
    }

    #right_content .quote_body #stock_industry_analysis table tbody tr td.alpha.truncated_text_two div {
        max-height: inherit;
    }


    .quote_body section#quote_overview div.two_col {
        width: 100%;
        float: left;
        background-color: #efefef;
    }

    .quote_body section#quote_overview div.two_col section#stock_activity,
    .quote_body section#quote_overview div.two_col section#stock_key_earnings {
        border-top: none;
    }

    #quote_ribbon_v2 .quote_summary .ribbon_value .group1 p.last_price {
        background: none !important;
    }

    #stock_search .search {
        margin-top: 4px;
    }

    /* Research report section link behavior */
    .zacks_reserach_reports_cta a.premium.report {
        color: #1865e5;
    }

    .zacks_reserach_reports_cta a.premium.report:hover {
        text-decoration: underline;
        color: #1865e5 !important;
    }

    /* Premium research block for specific ticker */
    .quote_body #premium_research h2 {
        font-size: 13.5pt;
        color: #007f06;
        border-bottom: none !important;
        margin-bottom: 4px !important;
    }

    .quote_body #premium_research .callout_box3.pad10 {
        background: linear-gradient(to bottom, #e2e2e2 0, #f5f5f5 100%);
        box-shadow: inset 0 1px 3px 0 #fff;
        border-radius: 5px;
        border: 1px solid #cacaca;
        padding: 8px 7px;
    }

    #premium_research p.premium {
        margin-top: 15px !important;
        border-bottom: 1px solid #cacaca;
        padding-bottom: 8px;
    }

    #premium_research footer {
        padding: 10px 0;
        padding-top: 6px;
    }

    #premium_research footer a:hover {
        text-decoration: underline;
    }

    /* Industry analysis */
    #stock_industry_analysis table tbody tr td a {
        color: #1964e3;
    }

    #stock_industry_analysis table tbody tr td a:hover {
        text-decoration: underline;
    }

    /* News tabbed block => tabbed section */
    ul.news-link-tabs {
        list-style: none;
        margin: 0;
        margin-top: 15px;
        margin-bottom: 15px;
        padding: 0;
    }

    ul.news-link-tabs li {
        display: inline-block;
        cursor: pointer;
        background: none;
        margin-right: 16px;
        position: relative;
        width: auto;
        font-size: 11pt;
        font-weight: bold;
        color: #1865e5;
    }

    ul.news-link-tabs li:first-of-type::after {
        position: absolute;
        right: -15px;
        top: 0;
        content: '';
        display: inline-block;
        width: 3px;
        height: 24px;
        background-color: #1865e5;
        margin-left: 5px;
        margin-right: 5px;
        cursor: default;
    }

    ul.news-link-tabs li:hover,
    ul.news-link-tabs li.current {
        border-bottom: 1px solid #1865e5;
        padding-bottom: 5px;
    }

    .news-tab-content {
        width: 100%;
        float: left;
        display: none;
        background-color: #efefef;
        padding: 10px;
    }

    .news-tab-content.current {
        display: inherit;
    }

    .news-tab-content aside {
        width: 100%;
        float: left;
    }

    .news-tab-content aside a {
        float: right;
        padding: 10px 0;
        font-size: 9pt;
        font-weight: bold;
        color: #1865e5;
        text-align: left;
        text-decoration: none;
    }

    .news-tab-content aside a:hover {
        color: #1964e3 !important;
        text-decoration: underline;
    }

    .news-tab-content aside a:after {
        content: inherit;
    }

    .news-tab-content aside a span[aria-hidden=true] {
        font-size: 9pt;
        font-family: Verdana, sans-serif;
        line-height: 0;
    }

    .quote_body #stocks_other_news .module-loader {
        position: absolute;
        top: -4px;
        left: 0;
        width: 100%;
        height: 101%;
        background: rgba(255, 255, 255, 0.7);
    }

    .quote_body #stocks_other_news .module-loader img {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
    }

    #third_rail section#quote_chart .align_center p a:hover {
        text-decoration: underline;
        color: #1865e5 !important;
    }

    /* All news Providers dropdown overlap fix for partner headlines page */
    #right_content .quote_body #comp_news .select_comp_news {
        width: 98%;
        float: left;
        margin-top: -9px;
        margin-bottom: 18px;
    }

    #right_content .quote_body #comp_news .select_comp_news select#select_provider_list {
        width: 100%;
        padding: 2px;
    }

    /* Style scorecard table section in style score page */
    #scorecard_table .callout_box_scorecard {
        background-size: contain;
    }

    /* table background fix => to stretch the bg img to the full width of the container */

    /* Premium research block */
    .quote_body #premium_research h1 {
        background-color: #fff;
        width: 100%;
        margin-left: 0;
    }

    /* Scorecard table alignment */
    #scorecard_table {
        margin-left: 10px;
        margin-right: 10px;
    }

    /* Premium research block for Style score page */
    #scorecard_table+script+div.quote_body section#premium_research h1 {
        margin-left: -12px;
    }

    /* add to portfolio button attributes */
    /*#quote_ribbon_v2 .quote_summary p.add_to_portfolio a,*/
    #quote_ribbon_v2 .quote_summary p.add_to_portfolio button {
        background: #c55300;
        float: left;
        width: 108px;
        margin-top: 10px;
        margin-left: 0px;
        padding: 4px 5px;
        border-radius: 4px;
        font-size: 12pt;
        font-weight: bold;
        text-transform: capitalize;
        text-align: center;
        color: #fff;
        border: 1px solid #be570c;
    }

    #quote_ribbon_v2 .quote_summary p.add_to_portfolio button {
        width: 135px;
        margin-left: 8px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    /* controlling both hover and focus state(through mouse click and keyboard selction) of add to portfolio btn */
    /*#quote_ribbon_v2 .quote_summary p.add_to_portfolio a:hover,
    #quote_ribbon_v2 .quote_summary p.add_to_portfolio a:focus,*/
    #quote_ribbon_v2 .quote_summary p.add_to_portfolio button:hover,
    #quote_ribbon_v2 .quote_summary p.add_to_portfolio button:focus {
        color: #fff !important;
        text-decoration: underline;
    }

    /* Image added for premium icon */
    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium-btn a>img {
        width: 16px;
        position: relative;
        top: 4px;
        margin-right: 6px;
    }

}

/* For all mobile screens only = > mobile + tablet(portrait mode) */
@media screen and (min-width: 320px) and (max-width: 1023px) {

    /* Generic */
    #right_content,
    #quote_overview,
    #quote_overview h1,
    #stock_activity,
    #stock_key_earnings {
        width: 100%;
    }

    .quote_body {
        width: 99%;
    }

    /* shrinked down the mother container width in order to push the right side content away from the right edge of the browser window for better readability */

    #stock_activity,
    #stock_key_earnings {
        border-top: none;
        margin-left: 0 !important;
    }

    .info-tooltip {
        display: inline-block;
    }

    /* Quote overview panel */
    #quote_overview {
        background-color: #fff;
    }

    #quote_overview aside#stock_search {
        margin-bottom: 10px;
        margin-top: 10px;
    }

    #quote_overview,
    section.zacks_reserach_reports_cta {
        border-bottom-width: 2px;
        border-bottom-color: #7b7b7b;
    }

    #stock_key_earnings {
        margin-top: 25px;
    }

    #quote_overview h1,
    #stock_activity h1,
    #stock_key_earnings h1 {
        padding: 0 10px;
    }

    .quote_body #quote_overview h1+.two_col #stock_activity h1,
    .quote_body #quote_overview h1+.two_col #stock_key_earnings h1 {
        border-bottom: 1px solid #c6c6c6;
        margin-bottom: 0;
        padding-bottom: 5px;
        font-size: 12pt;
    }

    #stock_activity>table,
    #stock_key_earnings>table,
    #quote_overview table.abut_top {
        width: 100%;
        margin-left: 0;
    }

    #quote_overview table.abut_top {
        margin-left: 5px;
    }

    #stock_activity>table tr td,
    #stock_key_earnings>table tr td,
    #quote_overview table.abut_top tr td {
        padding-left: 11px;
        padding-right: 11px;
    }

    #quote_overview table.abut_top tr td {
        border-bottom: none;
    }

    /* Left side bar */
    #left_rail {
        width: 100%;
        margin: 0;
        /*margin-bottom: 65px;*/
    }

    nav.left_subnav {
        width: 100%;
    }

    .toggling-nav-panel {
        display: none;
    }

    /* hiding the sub-nav items altogether by default for mobile viewports only */


    /* arrow like caret structure for left side bar nav toggle v1.5 */
    nav.left_subnav .toggling-nav-panel .nav_title {
        cursor: pointer;
        position: relative;
    }

    nav.left_subnav .toggling-nav-panel .nav_title span.caret,
    nav.left_subnav .toggling-nav-panel .nav_title span.caret-reverse {
        display: block;
        -webkit-transform: rotate(-270deg);
        -moz-transform: rotate(-270deg);
        -o-transform: rotate(-270deg);
        -ms-transform: rotate(-270deg);
        transform: rotate(-270deg);

        -webkit-transition: transform linear 0.4s;
        -moz-transition: transform linear 0.4s;
        -o-transition: transform linear 0.4s;
        -ms-transition: transform linear 0.4s;
        transition: transform linear 0.4s;
    }

    nav.left_subnav .toggling-nav-panel .nav_title span.caret-reverse {
        -webkit-transform: rotate(270deg);
        -moz-transform: rotate(270deg);
        -o-transform: rotate(270deg);
        -ms-transform: rotate(270deg);
        transform: rotate(270deg);
    }

    /* hiding sub menu items under stock page type category nav title */
    nav.left_subnav .toggling-nav-panel .first_level_open {
        display: none;
    }

    .left_subnav li a.newwin br {
        display: none;
    }

    /**** Quote ribbon ****/
    #quote_ribbon_v2.stock_ribbon_view {
        width: 100%;
        height: auto;
        background-color: #efefef;
        border: none;
        padding: 0px !important;
    }

    /* Quote summary => Quick status for any stock => left panel in the quote ribbon */
    #quote_ribbon_v2 .quote_summary {
        width: 100%;
        float: left;
        margin-left: 0;
        margin-right: 0;
        padding-top: 15px;
    }

    #left_rail {
        padding-top: 63px;
    }

    #quote_ribbon_v2 .quote_summary header h1 {
        padding-left: 10px;
        text-align: left;
    }

    #quote_ribbon_v2 .quote_summary header h2 {
        margin-top: 3px;
        padding-left: 10px;
        color: #6b6b6b;
    }

    #quote_ribbon_v2 .quote_summary .ribbon_value {
        width: 100%;
        padding-left: 10px;
    }

    #quote_ribbon_v2 .quote_summary .ribbon_value .group1 {
        width: 100% !important;
        margin-top: 8px;
    }

    #quote_ribbon_v2 .quote_summary .ribbon_value .group1 p.last_price,
    #quote_ribbon_v2 .quote_summary .ribbon_value .group1 p.last_price span {
        font-size: 16pt;
        font-weight: bold;
    }

    #quote_ribbon_v2 .quote_summary .ribbon_value .group1 p.last_price span {
        font-size: 12pt;
    }

    #quote_ribbon_v2 .quote_summary .ribbon_value .group1 .change p {
        font-weight: bold;
    }

    #quote_ribbon_v2 .quote_summary .ribbon_value .group1 p.date {
        height: 11px;
        padding-top: 2px;
        color: #6b6b6b;
    }

    #quote_ribbon_v2 .quote_summary p.add_to_portfolio {
        position: relative;
        float: left;
        top: 0;
        left: 0;
        margin-top: 20px;
        margin-bottom: 8px;
        width: 100%;
    }

    #quote_ribbon_v2 .quote_summary p.add_to_portfolio a {
        background: #f38234;
        float: left;
        width: 100%;
        padding: 4px 5px;
        border-radius: 0;
        font-size: 16pt;
        font-weight: bold;
        text-transform: capitalize;
        text-align: center;
        color: #fff;
        border: none;
        border-top: 1px solid #be570c;
        border-bottom: 1px solid #be570c;
        box-shadow: none;
    }

    #quote_ribbon_v2 .quote_summary p.add_to_portfolio a:hover {
        color: #fff !important;
        text-decoration: underline;
    }

    /* Quote Rank Summary => Quick overview of the stock's ongoing rank status => right panel in the quote ribbon */
    #quote_ribbon_v2 .quote_rank_summary {
        width: 100%;
        float: left;
        background-color: transparent;
        border-radius: 0;
        margin: 4px 0;
        padding: 0;
    }

    /* Simplified rankbox attribute */
    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox {
        width: 100%;
        float: left;
        padding: 10px !important;
        border: none !important;
        border-bottom: 1px solid #707070 !important;
        padding-bottom: 20px !important;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox div.rank_title {
        float: left;
        margin-right: 20px;
        padding-top: 2px;
        position: relative;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox div.rank_title a {
        float: left;
        font-size: 12pt;
        font-weight: bold;
        color: #007706;
        text-align: left;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox div.rank_title .tooltip-wrapper {
        display: inline-block;
        /*float: left;*/
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox div.rank_title span.info-tooltip {
        float: left;
        text-align: left;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox p.rank_view {
        width: 100%;
        float: left;
        margin-top: 10px;
        margin-left: 0px;
        text-align: left;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox:first-of-type p.rank_view {
        line-height: 19px;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.composite_group p.rank_view,
    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank p.rank_view {
        margin-left: 0;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox p.rank_view span.rank_chip {
        float: left;
        margin-right: 3px;
    }

    #quote_ribbon_v2.stock_ribbon_view p {
        font-size: 9pt
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox p.rank_view small {
        float: left;
        margin-left: 10px;
        padding-top: 3px;
        font-size: 10pt;
        text-align: left;
    }

    /* Style score */
    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.composite_group {
        margin: 10px 0;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.composite_group p.rank_view {
        padding: 2px 0;
        font-weight: normal !important;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.composite_group p.rank_view span.composite_val {
        margin-left: 4px;
        padding: 1px 2px;
        font-weight: normal !important;
        border: 1px solid #989898;
        background: #b8b8b8;
    }

    /* Industry rank */
    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank {
        border-bottom: none;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank label.rank_title {
        margin-right: 15px;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank p.rank_view a {
        font-size: 9pt;
        font-weight: normal;
        color: #185dd2;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank p.rank_view a:hover {
        color: #185dd2 !important;
        text-decoration: underline;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank p.rank_view a.status {
        position: relative;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank p.rank_view a.status::after {
        position: relative;
        content: '';
        width: 2px;
        height: 16px;
        background-color: #000;
        right: 0;
        top: 3px;
        display: none;
        margin: 0 8px;
    }

    #quote_ribbon_v2 .quote_rank_summary .zer_report_box {
        float: left;
        width: 100%;
        margin: 1.4rem 0;
    }

    .quote_body_full .breadcumb_ztbutton {
        position: relative;
    }

    .quote_body_full .breadcumb_ztbutton,
    .quote_body_full .breadcumb_ztbutton #zt_offsite {
        width: 100% !important;
        margin: 0;
        padding: 0;
        padding-left: 0 !important;
    }

    .quote_body_full .breadcumb_ztbutton #zt_offsite {
        position: absolute;
        top: 0;
        left: -.313rem;
        padding-bottom: 1.4rem;
        border-bottom: 2px solid #007f06 !important;
    }

    .quote_body_full .breadcumb_ztbutton nav {
        width: auto;
        margin-right: 0;
        padding: .625rem;
        padding-top: 4rem;
        clear: both;
        float: none;
    }

    .quote_body_full .breadcumb_ztbutton nav.full_width {
        width: auto;
        padding-top: 0;
    }

    .quote_body_full .breadcumb_ztbutton #zt_offsite a.zt_offsite_link {
        margin: 0 .625rem;
    }

    /* Image added for premium icon */
    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium,
    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium-btn {
        background-position: calc(100% - 80%) 0;
        width: 100%;
        float: left;
        text-align: center;
    }

    /* Image added for premium icon */
    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium a,
    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium-btn a {
        font-size: 10pt !important;
        color: #185dd2 !important;
        text-align: center;
    }


    #quote_ribbon_v2 .quote_rank_summary .zer_report_box #zt_offsite {
        width: 100%;
        margin-bottom: 10px;
        position: relative;
        float: left;
        top: 0;
        right: 0;
        display: flex;
        display: -webkit-flex;
        justify-content: center;
        -webkit-justify-content: center;
        align-content: center;
        -webkit-align-content: center;
    }

    #quote_ribbon_v2 .quote_rank_summary .zer_report_box #zt_offsite #ztBtn {
        margin-bottom: 0;
    }

    #stock_activity>table tr td:first-of-type a,
    #stock_key_earnings>table tr td:first-of-type a,
    #quote_overview table.abut_top tr td,
    #quote_overview table.abut_top tr td a {
        color: #1964e3;
    }

    #quote_ribbon_v2.stock_ribbon_view {
        width: 100% !important;
        position: inherit !important;
    }

    #quote_ribbon_v2 .quote_rank_summary {
        border-bottom: 2px solid #007f06;
    }

    /* Premium research block */
    #premium_research {
        background: #fff;
        width: 100%;
    }

    /* Research reports */
    section.zacks_reserach_reports_cta {
        background: #efefef;
        padding-bottom: 0;
    }

    .zacks_reserach_reports_cta a.premium.report {
        float: left;
        display: table;
        width: 100%;
        margin-left: 1px;
        margin-top: 20px;
        padding-left: 22px;
        line-height: 1.5;
        text-align: left;
    }

    /* Other news panel */
    #stocks_other_news {
        margin-bottom: 0;
        clear: both;
    }

    #stocks_other_news,
    #stock_industry_analysis {
        padding-left: 0;
    }

    #stock_industry_analysis {
        width: 100%;
        margin-left: 0;
        background-color: #efefef;
    }

    #stocks_other_news section.news_link_grp {
        border-top: none;
        border-bottom: 1px solid #a1a1a1;
        padding: 5px 12px;
        padding-bottom: 8px;
    }

    #stock_industry_analysis table,
    #stock_industry_analysis table+p {
        padding: 5px 12px;
        padding-bottom: 8px;
    }

    /* Third rail */
    #third_rail section#quote_chart,
    #third_rail section#stock_comp_desc,
    #third_rail section.video_block {
        border: none !important;
        border-radius: 0;
        background: none;
    }

    #third_rail section#quote_chart .chart_canvas svg {
        margin-top: 0;
    }

    #third_rail section#quote_chart .chart_canvas img {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #third_rail section#quote_chart .align_center {
        margin-top: 10px;
    }


    /* News tabbed block => tabbed section */

    ul.news-link-tabs {
        margin-left: 13px;
    }

    .news-tab-content {
        padding: 0px;
    }

    .news-tab-content aside a {
        margin-right: 10px;
        float: left;
        padding-left: 10px;
    }

    #agreement_estimate>h1,
    #magnitude_estimate>h1,
    #quote_upside>h1,
    #surprised_reported>h1 {
        position: relative;
    }
}

/* For all mobile screens only = > landscape mode) */
@media screen and (min-width: 320px) and (max-width: 1023px) and (orientation: landscape) {

    /* Quote ribbon */
    /* Image added for premium icon */
    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium,
    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium-btn {
        background-position: calc(100% - 72%) 0;
    }
}

/* For iPad portrait mode only */
@media screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium {
        background-position: calc(100% - 66%) 0;
    }
}

/* For desktop + iPad landscape mode */
@media screen and (min-width: 1024px) {

    #left_rail {
        margin-right: 15px;
        width: 180px;
    }

    #right_content {
        width: 810px;
    }

    /* New left side bar nav toggle v1.5 */
    .toggle-head-title {
        display: none;
    }

    .toggling-nav-panel {
        display: block !important;
    }

    /* forcing the left sidebar nav wrapper to be visible for desktop width => overriding js */

    /* Quote ribbon */
    #quote_ribbon_v2.stock_ribbon_view {
        width: 785px;
        height: auto;
        background-color: #efefef;
        border: 3px solid #007f06;
        padding: 10px !important;
    }

    #stock_search .search {
        position: absolute;
        top: -4px;
        right: 0;
    }

    /* Quote summary => Quick status for any stock => left panel in the quote ribbon */
    #quote_ribbon_v2 .quote_summary {
        width: 260px;
        float: left;
        margin-left: 6px;
        margin-right: 9px;
    }

    #quote_ribbon_v2 .quote_summary header {
        padding-top: 3px;
    }

    #quote_ribbon_v2 .quote_summary header h1 {
        text-align: left;
    }

    #quote_ribbon_v2 .quote_summary header h2 {
        margin-top: 3px;
        color: #6b6b6b;
    }

    #quote_ribbon_v2 .quote_summary .ribbon_value {
        width: 100%;
    }

    #quote_ribbon_v2 .quote_summary .ribbon_value .group1 {
        width: 100% !important;
        height: auto;
        border: none;
        margin-top: 8px;
    }

    #quote_ribbon_v2 .quote_summary .ribbon_value .group1 .change p {
        font-weight: bold;
    }

    #quote_ribbon_v2 .quote_summary .ribbon_value .group1 p.date {
        height: auto;
        padding-top: 2px;
        color: #6b6b6b;
    }

    #quote_ribbon_v2 .quote_summary p.add_to_portfolio {
        float: left;
        position: relative;
        top: 0;
        left: 0;
        margin-top: 3px;
        margin-bottom: 8px;
    }

    #quote_ribbon_v2 .quote_summary p.add_to_portfolio button {
        margin-left: 0;
    }

    /* Quote Rank Summary => Quick overview of the stock's ongoing rank status => right panel in the quote ribbon */
    #quote_ribbon_v2 .quote_rank_summary {
        width: 480px;
        float: left;
        background-color: #e6e6e6;
        border-radius: 4px;
        margin: 4px 0;
        padding: 10px 13px;
        border: 1px solid #ccc;
    }

    /* Simplified rankbox attribute */
    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox {
        width: 100%;
        float: left;
        padding: 0;
        border-bottom: 1px solid #707070;
        padding-top: 6px;
        padding-bottom: 10px !important;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox:first-of-type p.rank_view {
        padding-left: 10px;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox div.rank_title {
        float: left;
        margin-right: 20px;
        padding-top: 2px;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox div.rank_title a {
        float: left;
        font-size: 11.8pt;
        font-weight: bold;
        color: #007706;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox p.rank_view {
        width: auto;
        float: left;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox p.rank_view small {
        float: left;
        margin-left: 10px;
        padding-top: 3px;
        font-size: 10pt;
        text-align: left;
    }

    /* custom attribute for default rank chip */
    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.composite_group p.rank_view span.composite_val {
        margin-left: 4px;
        padding: 1px 2px;
        font-weight: normal !important;
        border: 1px solid #989898;
        background: #b8b8b8;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.composite_group p.rank_view span.composite_val.composite_val_vgm {
        background-color: #010101;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank {
        padding-bottom: 4px !important;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank label.rank_title {
        width: 125px;
        float: left;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank p.rank_view {
        width: 100%;
        max-width: 294px;
        float: left;
        padding-top: 3px;
        text-align: left;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank p.rank_view a {
        word-break: break-word;
        text-align: left;
    }

    /* Style score */
    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.composite_group {
        margin: 10px 0;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.composite_group p.rank_view {
        padding: 2px 0;
        font-weight: normal !important;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.composite_group p.rank_view span.composite_val {
        margin-left: 10px;
        padding: 1px 2px;
        font-weight: normal !important;
    }

    /* Industry rank */
    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank {
        border-bottom: none;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank label.rank_title {
        margin-right: 15px;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank p.rank_view a {
        font-size: 9pt;
        font-weight: normal;
        color: #185dd2;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank p.rank_view a:hover {
        color: #185dd2 !important;
        text-decoration: underline;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank p.rank_view a.status {
        position: relative;
    }

    #quote_ribbon_v2 .quote_rank_summary .zr_rankbox.industry_rank p.rank_view a.status::after {
        position: relative;
        content: '';
        width: 2px;
        height: 16px;
        background-color: #000;
        right: 0;
        top: 3px;
        display: none;
        margin: 0 8px;
    }

    #quote_ribbon_v2 .quote_rank_summary .zer_report_box {
        float: left;
        width: 100%;
        margin: .625rem 0 .313rem 0;
    }

    /* Image added for premium icon */

    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium,
    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium-btn {
        margin-left: 0;
    }

    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium a,
    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium-btn a {
        font-size: 10pt !important;
        color: #185dd2 !important;
    }


    #quote_ribbon_v2 .quote_rank_summary .zer_report_box #zt_offsite {
        position: relative;
        float: right;
        top: 0;
        right: 0;
    }

    #quote_ribbon_v2 .quote_rank_summary .zer_report_box #zt_offsite #ztBtn {
        margin-bottom: 0;
    }

    /* Quote body */
    .quote_body {
        width: 433px;
    }

    .quote_body #quote_overview {
        border-bottom: none;
        padding-left: 0;
    }

    .quote_body #quote_overview h1 {
        width: 100%;
        border-bottom: 1px solid #000;
        margin-bottom: 5px;
        padding-bottom: 5px;
        padding-top: 8px;
    }


    .quote_body #quote_overview h1+.two_col {
        width: 100%;
        float: left;
        background-color: #efefef;
        margin-top: 5px;
    }

    .quote_body #quote_overview h1+.two_col #stock_activity,
    .quote_body #quote_overview h1+.two_col #stock_key_earnings {
        border-top: none;
        padding-left: 5px;
    }

    .quote_body #quote_overview h1+.two_col #stock_activity h1,
    .quote_body #quote_overview h1+.two_col #stock_key_earnings h1 {
        border-bottom: none;
    }

    .quote_body #quote_overview h1+.two_col #stock_activity h1,
    .quote_body #quote_overview h1+.two_col #stock_key_earnings h1 {
        padding-bottom: 10px;
    }

    .quote_body table.abut_top {
        background-color: #efefef;
        padding: 5px;
    }

    .quote_body table.abut_top tbody tr td {
        border-bottom: none;
        font-weight: bold;
    }

    .quote_body .zacks_reserach_reports_cta,
    .quote_body #stocks_other_news,
    .quote_body #premium_research,
    .quote_body #stock_industry_analysis {
        border-bottom: none;
    }

    .quote_body .zacks_reserach_reports_cta h1,
    .quote_body #stocks_other_news h1,
    .quote_body #premium_research h1,
    .quote_body #stock_industry_analysis h1 {
        background-color: transparent;
        border-bottom: 1px solid #000;
        margin-bottom: 10px;
        padding-bottom: 7px;
    }

    .quote_body .zacks_reserach_reports_cta {
        margin-bottom: 20px;
    }

    .quote_body section#quote_overview div.two_col section#stock_activity,
    .quote_body section#quote_overview div.two_col section#stock_key_earnings {
        width: 208px;
    }

    /* News for ticker */
    .quote_body #stocks_other_news {
        width: 100%;
        width: 415px;
        background-color: transparent;
        margin-bottom: 20px;
        margin-left: 0px;
        padding-top: 0;
        padding-left: 5px;
        padding-right: 5px;
        min-height: 400px;
    }

    .quote_body #stocks_other_news .news_link_grp {
        width: 100%;
        background-color: #fff;
        border-top: none;
        margin-left: -5px;
        margin-right: -5px;
        padding: 15px 12px 30px;
    }

    .quote_body #stocks_other_news .news_link_grp a {
        float: left;
        font-size: 11pt;
    }

    .quote_body #stocks_other_news .news_link_grp a:hover {
        text-decoration: underline;
    }

    .quote_body #stocks_other_news .news_link_grp a:first-of-type {
        margin-right: 10px;
    }

    .quote_body #stocks_other_news .news_link_grp a:first-of-type::after {
        float: right;
        position: relative;
        margin-left: 10px;
        right: 0;
    }

    /* Premium research specific to the ticker */
    #premium_research .callout_box3.pad10 {
        background: #efefef;
    }

    /* Stocks industry analysis */
    .quote_body #stock_industry_analysis {
        margin-bottom: 20px;
    }

    .quote_body #stock_industry_analysis table {
        background-color: #efefef;
        margin-bottom: 0;
        padding: 7px 10px;
    }

    .quote_body #stock_industry_analysis table thead tr th {
        font-size: 10pt;
    }

    .quote_body #stock_industry_analysis table+p {
        background-color: #efefef;
        padding: 4px 12px 8px;
    }

    .quote_body .zacks_reserach_reports_cta,
    .quote_body #stock_industry_analysis {
        padding-left: 0;
    }


    /* Third rail */
    #third_rail {
        width: 359px;
        margin-right: 0;
        padding-left: 18px;
    }


    #third_rail section#quote_chart h1 {
        margin-bottom: 0px !important;
        padding-top: 10px;
        padding-bottom: 0;
    }

    #third_rail #stock_comp_desc,
    #third_rail .video_block {
        background: #efefef;
        border: none !important;
        border-radius: 0;
    }


    /* Chart block */
    aside#third_rail section#quote_chart .chart_canvas svg {
        margin-top: 0;
    }

    aside#third_rail section#quote_chart .chart_canvas img {
        margin-top: 20px;
        margin-bottom: 20px;
    }


    /* News tabbed block => tabbed section */
    .news-tab-content {
        max-width: 400px;
    }

    /* All news Providers dropdown overlap fix for partner headlines page */
    #right_content .quote_body #comp_news .select_comp_news {
        width: 150px;
        float: right;
        clear: both;
    }

    /* Premium research block for Style score page */
    #scorecard_table+script+div.quote_body section#premium_research {
        margin-top: 15px;
    }

    #scorecard_table+script+div.quote_body section#premium_research h1 {
        width: 103%;
        margin-left: -9px;
        margin-right: -20px;
        padding-left: 6px;
    }

    /* quote chart section on the right rail for style score page */
    #scorecard_table+script+div.quote_body+aside#third_rail section#quote_chart h1 {
        margin-bottom: 10px !important;
    }
}

/* updated attribute for tabs for stocks news for section in stock quote overview page */
.news-link-tabs {
    box-shadow: none;
}

.news-link-tabs li.ui-state-default a,
.news-link-tabs li.ui-state-active a {
    position: relative;
    background: none;
    border: none;
    width: auto;
    display: inline-block;
    font-size: 11pt;
    color: #1865e5;
}

.news-link-tabs li.current.ui-state-default {
    border: none;
}

.news-link-tabs li.ui-state-default:hover,
.news-link-tabs li.ui-state-default:focus,
.news-link-tabs li.ui-state-default.ui-tabs-active {
    border-bottom: 1px solid #1865e5;
    padding-bottom: 5px;
}

/* updated quote overview symbol search input */
#quote_ribbon_v2 {
    margin-bottom: 1.4rem;
}

#stock_search .search {
    width: auto;
    height: auto;
}

#stock_search .search input[type=text] {
    width: auto;
    margin-top: 0;
    padding: .4rem;
}

@media (max-width: 1023px) {
    #stock_search .search input[type=text] {
        width: 100%;
    }
}

#stock_search .search input[type=submit] {
    top: 3px;
}

/** Floating label **/
#stock_search .floating-label {
    position: relative;
}


/** Label (the real one, above the field) */
#stock_search .floating-label label {
    position: absolute;
    left: 5px;
    top: 7px;
    font-size: 13px;
    font-weight: normal;
    transition: top .2s ease-in-out;
}

#stock_search .floating-label.is-floating label {
    top: -18px;
}

#stock_search .floating-label.has-focus label {
    color: royalblue;
}


@media (max-width: 1023px) {
    #stock_search .floating-label label {
        left: 9px;
    }
}

/** Pseudo-placeholder */
#stock_search .floating-label .pseudo-placeholder {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;

    font-size: 16px;
    opacity: .6;

    pointer-events: none;
    transition: opacity .1s ease-in-out;
}

#stock_search .floating-label.is-floating .pseudo-placeholder {
    opacity: 0;
}

/* sr only block for ticker pills in zacks news archive page */
#blog_archive .article_tag_wrapper a .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* managing stock search box 
 * positioning in detailed 
 * estimates block 
*/
#detailed_estimate h1,
#industry_report h1 {
    margin-top: 10px;
    margin-bottom: 10px;
}

#detailed_estimate #stock_research_form,
#industry_report #stock_research_form {
    margin-top: 10px;
}

@media (max-width: 1023px) {

    #detailed_estimate #stock_search .search input[type=text],
    #industry_report #stock_search .search input[type=text] {
        margin-left: 0;
    }
}


@media (min-width: 1024px) {
    .quote_body+#third_rail {
        margin-top: 5px;
    }
}


.tippy-arrow {
    display: none !important;
}

.tippy-box p {
    float: left;
    width: 100%;
    margin-bottom: 5px !important;
    margin-top: 0 !important;
    font-weight: normal;
}

.tippy-box p,
.tippy-box table th,
.tippy-box table td {
    text-align: left;
}

.tippy-box table th,
.tippy-box table td {
    padding: 4px 0;
}

.tippy-box p a {
    color: #1d5eb5 !important;
    text-decoration: none;
    font-size: 10pt !important;
    font-weight: normal;
    float: none !important;
}

.tippy-box p a:hover {
    text-decoration: underline !important;
}


/* added h2 tag as a sub-heading in te place of h1 & div added of article at quote page */
#stocks_other_news ul.news-tab-content li {
    border-bottom: none;
    margin-bottom: 10px;
    list-style: none;
}

.quote_body #stocks_other_news .news-tab-content ul li h3 {
    background-color: transparent;
    border: none;
    margin: 0;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.quote_body #stocks_other_news .news-tab-content li>h3 {
    font-size: 10pt;
}

#stocks_other_news .news-tab-content li h3 {
    padding-bottom: 0;
    margin-top: 0;
}

.quote_body #stocks_other_news .news-tab-content li>h3,
.quote_body #stocks_other_news .news-tab-content li h3 {
    margin-bottom: 0;
    color: #4b4b4b;
    font-weight: 400;
    padding: 0;
}

#stocks_other_news.ruled .news-tab-content li {
    margin: 6px 0;
    border-bottom: 1px solid #cacaca;
    position: relative;
    list-style: none;
}

#stocks_other_news.ruled .news-tab-content li:after {
    content: '.';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    float: none;
}

#stocks_other_news .news-tab-content li.ts_news_link {
    background-color: #fffedf;
    padding: 7px 0;
}

#stocks_other_news .news-tab-content li.ts_news_link p {
    display: block !important;
    font-size: 9pt;
    color: #4b4b4b;
}

#stocks_other_news .news-tab-content li time[pubdate] {
    display: block !important;
    font-size: 9pt;
    color: #4b4b4b;
}

/* Added <dl> in the place of table in Quote Overview */

.quote_body #quote_overview dl.abut_bottom {
    position: relative;
    border-top: 1px solid transparent;
    border-bottom: 1px solid #cacaca;
}

.quote_body #quote_overview dl.abut_bottom:hover {
    background-color: #e0eada;
}

.quote_body #quote_overview dl.abut_bottom:after,
.quote_body #premium_research dl:after {
    content: '.';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    float: none;
}

.quote_body #quote_overview dl.abut_bottom>dt,
.quote_body #quote_overview dl.abut_bottom>dd {
    padding: 5px 0;
}

.quote_body #quote_overview dl.abut_bottom>dt {
    float: left;
}

.quote_body #quote_overview dl.abut_bottom>dd {
    text-align: right;
    margin: 0;
}

.quote_body section#quote_overview div.two_col section#stock_activity dl.abut_bottom,
.quote_body section#quote_overview div.two_col section#stock_key_earnings dl.abut_bottom {
    margin: 0 6px 0;
    font-size: 10pt;
}

/* added dl i n premium research */
.quote_body #premium_research dl {
    margin: 0;
    position: relative;
    border-bottom: 1px solid #cacaca;
}

.quote_body #premium_research dl:hover {
    background-color: #e0eada;
}

.quote_body #premium_research dl:first-of-type {
    margin-top: 0px;
}

.quote_body #premium_research dl:last-of-type {
    margin-bottom: 5px;
}

.quote_body #premium_research dl dd {
    margin-left: 0;
    float: right;
    text-align: right;
}

.quote_body #premium_research dl dt {
    float: left;
    font-weight: bold;
}

.quote_body #premium_research dl dt.score {
    width: 100%;
}

.quote_body #premium_research dl dd,
.quote_body #premium_research dl dt {
    width: 50%;
    padding: 8px 0;
    color: #4b4b4b;
    font-size: 10pt;
}

.quote_body #premium_research .composite_val {
    margin-right: 0;
}

.quote_body #premium_research .callout_box3.pad10 dt.premium_research_score.score p.float_right .composite_val {
    padding: 1px 2px;
}

/* left nav */
.left_subnav .links_note p {
    font-size: 11px;
    padding: 6px;
    font-weight: 400;
}


.left_subnav .links_note p>span {
    margin-bottom: 10px;
    display: inline-block;
    float: left;
    padding-right: 4px;
}

/* cash flow statement page */
#annual_cash_flow_statement div,
#quarterly_cash_flow_statement div {
    margin-top: 20px;
}

#annual_cash_flow_statement div:first-of-type,
#quarterly_cash_flow_statement div:first-of-type {
    padding-top: 10px;
    margin-top: 0;
    border-top: 1px solid #ccc;
}

#annual_cash_flow_statement,
#quarterly_cash_flow_statement {
    margin-top: 10px;
}

#annual_cash_flow_statement div>h3,
#quarterly_cash_flow_statement div>h3 {
    font-size: 10pt;
    margin: 0;
}

@media screen and (min-width: 320px) {

    /* added h2 tag as a sub-heading in te place of h1 & div added of article at quote page */
    .quote_body .zacks_reserach_reports_cta h2,
    .quote_body #stocks_other_news h2,
    .quote_body #premium_research h2 {
        text-transform: none;
    }

    .news-tab-content h3.truncated_text_single div,
    .news-tab-content h3.truncated_text_single>a {
        height: 18.33px;
        line-height: 19px;
        text-overflow: ellipsis;
        display: inline-block;
        overflow: hidden;
    }

    /* Added <dl> in the place of table in Quote Overview */
    .quote_body section#quote_overview div.two_col section#stock_activity h3,
    .quote_body section#quote_overview div.two_col section#stock_key_earnings h3 {
        border-bottom: none;
        padding-left: 6px;
        margin-top: 0;
        font-size: 10pt;
        color: #4b4b4b;
        text-shadow: 0 1px 1px #fff;
    }

    .quote_body section#quote_overview div.two_col section#stock_activity dl.abut_bottom dt a,
    .quote_body section#quote_overview div.two_col section#stock_key_earnings dl.abut_bottom dt a {
        color: #1964e3;
    }

    .quote_body section#quote_overview div.two_col section#stock_activity dl.abut_bottom dt a:hover,
    .quote_body section#quote_overview div.two_col section#stock_key_earnings dl.abut_bottom dt a:hover {
        text-decoration: underline;
    }
}

@media screen and (max-width: 1023px) and (min-width: 320px) {

    /* added h2 tag as a sub-heading in te place of h1 & div added of article at quote page */
    #stocks_other_news .news-tab-content li,
    #stocks_other_news .news-tab-content li.ts_news_link {
        padding: 0 10px;
    }

    #stocks_other_news .news-tab-content li h3 {
        padding-left: 0;
    }

    #stocks_other_news h2,
    #premium_research h2,
    #stock_industry_analysis h2 {
        padding: 10px 0 0 12px;
    }

    .quote_body #stocks_other_news .news-tab-content li>h3,
    .quote_body #stocks_other_news .news-tab-content li h3 {
        padding: 10px 0 0 0;
    }

    #stocks_other_news.ruled .news-tab-content li {
        border-bottom: none;
    }

    /* Added <dl> in the place of table in Quote Overview */
    #quote_overview h2,
    #stock_activity h3,
    #stock_key_earnings h3 {
        padding: 0 10px;
    }

    #stock_activity>dl,
    #stock_key_earnings>dl,
    #quote_overview dl.abut_top {
        margin-left: 0;
    }

    /* added <dl> in premium research */

    .quote_body #premium_research dt.alpha.premium_research_score.score a,
    .quote_body #premium_research dt.alpha.premium_research_score.score span.info-tooltip {
        float: left;
    }

    .quote_body #premium_research dt.alpha.premium_research_score.score a {
        margin-right: 4px;
    }

    .quote_body #premium_research dt.alpha.premium_research_score.score p.float_right {
        float: left;
        clear: both;
        margin-top: 10px;
    }

    .quote_body #premium_research dl dt {
        width: 55%;
    }

    .quote_body #premium_research dl dd {
        width: 45%;
    }

    .quote_body #premium_research dl.research_report dt {
        width: 63%;
    }

    .quote_body #premium_research dl.research_report dd {
        width: 37%;
    }
}

@media screen and (max-width: 1023px) {

    #quote_overview h2,
    #quote_overview h3 {
        float: left;
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (min-width: 1024px) {

    /* added h2 tag as a sub-heading in te place of h1 & div added of article at quote page */
    .quote_body #stocks_other_news .news-tab-content li {
        border-bottom: 1px solid #c6c6c6;
        padding-bottom: 7px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .quote_body .zacks_reserach_reports_cta h2,
    .quote_body #stocks_other_news h2,
    .quote_body #premium_research h2,
    .quote_body #stock_industry_analysis h2 {
        background-color: transparent;
        border-bottom: 1px solid #000;
        margin-bottom: 10px;
        padding-bottom: 7px;
    }

    /* Added <dl> in the place of table in Quote Overview */
    .quote_body #quote_overview h2,
    .quote_body #quote_overview h3 {
        width: 100%;
        border-bottom: 1px solid #000 !important;
        margin-bottom: 5px;
        padding-bottom: 5px;
        padding-top: 8px;
    }

    /* added <dl> in premium research */
    .quote_body #premium_research dt.premium_research_score #tooltip_composite+p {
        margin-top: 0;
    }
}

/* till before iPad portrait mode */
@media screen and (max-width: 768px - .02px) {

    .news-link-tabs li.ui-state-default a,
    .news-link-tabs li.ui-state-active a {
        font-size: 9pt;
    }
}

/* module's header fixation */

#third_rail section#quote_chart h2,
#third_rail section.video_block h2,
#third_rail section#stock_comp_desc h2 {
    font-size: 13.5pt;
    color: #007f06;
    margin-bottom: 6px !important;
    margin-top: 3px;
    text-shadow: 0 1px 1px #fff;
}

@media screen and (min-width: 1024px) {
    #third_rail section#quote_chart h2 {
        margin-bottom: 0px !important;
        padding-top: 10px;
        padding-bottom: 0;
    }
}


/* comparative chart module in mobile */
@media (max-width: 991.98px) {
    #stock_quote_chart iframe {
        height: 1000px;
    }
}

/* zacks rank and trade button */
@media (max-width: 576px) {

    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium a,
    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium-btn a {
        display: block;
        margin: 0 .625rem;
    }

    .quote_body_full .breadcumb_ztbutton #zt_offsite {
        width: 98% !important;
        left: 0;
    }
}

@media(min-width: 577px) and (max-width: 1023px) {

    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium a,
    #quote_ribbon_v2 .quote_rank_summary .zer_report_box p.premium-btn a {
        width: 16.125rem;
        margin: 0 auto;
    }

    .quote_body_full .breadcumb_ztbutton #zt_offsite a.zt_offsite_link,
    #third_rail #zt_offsite a.zt_offsite_link {
        margin: 0 auto;
        width: 16.875rem;
    }

    #third_rail #zt_offsite {
        border-bottom: 1px solid #707070 !important;
        border-radius: 0;
        padding-bottom: 1.25rem;
    }
}

/* additional fixes for premium research module in order to make its visual consistent */
.quote_body #premium_research dl dt,
.quote_body #premium_research dl dt a,
.quote_body #premium_research dt.premium_research_score #tooltip_composite+p{
    font-size: 9pt !important;
}

/* eof */