/*****
zacks.com
Media Room Page CSS
April 2014
*****/

.left_subnav ul li a
{
      display:block;
      width: 100%;
      padding: 0;
}

.left_subnav ul li ul li > a
{
     padding: 3px 15px 3px 24px;
}






/* Styles for the media ribbon */
/* TODO: Remove old #quote_ribbon styles after new HTML is approved */
#media_ribbon
{
    padding:10px 10px 10px 0;
    margin:0 0 10px 0;
    border-top:1px solid #CACACA; /* gray */
    border-bottom:3px solid #007F06; /* Zacks green */
}

#media_ribbon .add_to_portfolio
{
    position:absolute;
    top:10px;
    right:15px;
}
 #media_ribbon .add_to_portfolio span
{
    vertical-align:6px;
}

#media_ribbon span.rank_chip
{
    font:normal 10.5pt Arial, sans-serif; /* 14px */
    color:#FFF;
    line-height:19px;
    padding-right:0;
    margin-right:0;
    font-weight:bold;
}


/* Set up columns */
#media_ribbon .ribbon_value > div {
    float:left;
    height:70px;
    padding:0 20px;
    margin:5px 0;
}
#media_ribbon .ribbon_value .group1 {
    width:200px;
    border-right:1px solid #CACACA;
    padding-left:0;
}
#media_ribbon .ribbon_value .group2 {
    width:170px;
    border-right:1px solid #CACACA;
}
#media_ribbon .ribbon_value .group3 {
    width:313px;
    padding-right:0;
}

/* Adjustment of rows */
#media_ribbon .group1 p
, #media_ribbon .group2 p
, #media_ribbon .group3 div
{
    position:relative;
    height:20px;
    margin:0;
    padding:0;
}
#media_ribbon .group3 div {
    height:26px;
}

/* Font adjustments */
#media_ribbon h1
{
    color: #007F06;
    font-size: 13.5pt;
}
#media_ribbon h1
, #media_ribbon header h2
{
    margin:0;
}
#media_ribbon p
, #media_ribbon .price span
{
    font-size:9pt;
}
#media_ribbon .price {
    font-size:13.5pt;
    font-weight:bold;
}
#media_ribbon .up {
    color:#007F06; /* Zacks green */
}
#media_ribbon .group2 span {
    float:right;
    font-weight:bold;
}

/* Positions in 3rd column */
#media_ribbon .rank p
, #media_ribbon .composite p
, #media_ribbon .composite_group span
{
    font-weight:bold;
}
#media_ribbon .rank div
, #media_ribbon .composite div
{
    position:absolute;
    top:0;
    right:0;
}
#media_ribbon .composite div
{
    right:92px;
}


/** Media Room Login **/
#mediaroom_login input[type=text]
, #mediaroom_login input[type=submit]{
    margin-top: 0 !important;
    float: none;
    margin-left: 10px !important;
}




/* Styles for the media body */

#media_room_index div.media_body,
#right_content > section + div.media_body{
    border-top: none;
    padding-top: 0;
}

.media_body {
    float: none;
    width: 100%;
    border-top: 1px solid #CACACA;
    padding-top: 7px;
}


/*******/
#mediaroom_overview footer p{
    font-style: normal;
    margin-bottom: 5px;
}
#mediaroom_overview footer a.in_copy{
    font-size: 8pt !important;
}


/*****/
#zacks_estimate{
    position: relative;
}
.media_body section > h1{
    box-shadow: none;
}

#zacks_estimate div.ticker{
    position: absolute;
    right: 0;
    top: 31px;
    width: 255px;
}

#zacks_estimate div.ticker p{
    display: inline;
}
#zacks_estimate div.ticker input[type=text]{
    width: 110px;
    margin-top: 10px;
}
#zacks_estimate p.export{
    margin-top: 20px;
}
#zacks_estimate .dataTable td {
    padding-bottom: 4px;
    padding-top: 5px;
    height: 25px;
}

/*#zacks_estimate .dataTables_length label{
    position: absolute;
    right: 0;
    width: 182px;
}*/

#estimates_reports_wrapper .DTFC_LeftBodyLiner{height: auto !important;}

#zacks_estimate .dataTable th[aria-label="Current Quarter End Date: activate to sort column ascending"],
#zacks_estimate .dataTable th[aria-label="Current Quarter End Date: activate to sort column descending"],
#zacks_estimate .dataTable th[aria-label="Current Year End Date: activate to sort column ascending"],
#zacks_estimate .dataTable th[aria-label="Current Year End Date: activate to sort column descending"],
#zacks_estimate .dataTable th[aria-label="Next Year End Date: activate to sort column ascending"],
#zacks_estimate .dataTable th[aria-label="Next Year End Date: activate to sort column descending"],
#zacks_estimate .dataTable th[aria-label="Next Quarter End Date: activate to sort column ascending"],
#zacks_estimate .dataTable th[aria-label="Next Quarter End Date: activate to sort column descending"],
#zacks_estimate .dataTable th[aria-label="Next Report Date: activate to sort column ascending"],
#zacks_estimate .dataTable th[aria-label="Next Report Date: activate to sort column descending"]{
    width: 78px !important;
}

#zacks_estimate .dataTable th[aria-label="Company Name: activate to sort column descending"],
#zacks_estimate .dataTable th[aria-label="Company Name: activate to sort column ascending"]{
    width: 95px !important;
}

#zacks_estimate .dataTable th[aria-label="MRQ* Surprise: activate to sort column ascending"],
#zacks_estimate .dataTable th[aria-label="MRQ* Surprise: activate to sort column descending"],
#zacks_estimate .dataTable th[aria-label="Zacks Consensus Estimate: activate to sort column ascending"],
#zacks_estimate .dataTable th[aria-label="Zacks Consensus Estimate: activate to sort column descending"]{
    width: 75px !important;
}

#zacks_estimate .dataTable th[aria-label="Earnings ESP: activate to sort column ascending"],
#zacks_estimate .dataTable th[aria-label="Earnings ESP: activate to sort column descending"],
#zacks_estimate .dataTable th[aria-label="Most Accurate Estimate: activate to sort column ascending"],
#zacks_estimate .dataTable th[aria-label="Most Accurate Estimate: activate to sort column descending"]{
    width: 60px !important;
}

#zacks_estimate .dataTable th[aria-label="Same Quarter Year ago EPS: activate to sort column ascending"],
#zacks_estimate .dataTable th[aria-label="Same Quarter Year ago EPS: activate to sort column descending"]{
    width: 90px !important;
}

#zacks_estimate .dataTable td:nth-child(4)
, #zacks_estimate .dataTable td:nth-child(5)
, #zacks_estimate .dataTable td:nth-child(6)
, #zacks_estimate .dataTable td:nth-child(7)
, #zacks_estimate .dataTable td:nth-child(8)
, #zacks_estimate .dataTable td:last-child{
    padding-right: 20px;
}

#zacks_estimate .dataTable th[aria-label="Zacks Rank: activate to sort column ascending"],
#zacks_estimate .dataTable th[aria-label="Zacks Rank: activate to sort column descending"],
#zacks_estimate .dataTable th[aria-label="# of  Estimates: activate to sort column ascending"],
#zacks_estimate .dataTable th[aria-label="# of  Estimates: activate to sort column descending"]{
    padding-left: 5px;
}

#zacks_estimate .no_report{
    padding-top: 0;
    height: 20px;
}

/* Styles for the media room form */

.media_room_form
{
    margin-top: 50px;
    padding: 20px;
    border: 3px solid rgb(0, 127, 6);
    width: 720px;
}


.media_room_form tr:hover
{
    background:none;
}
.media_room_form tr td
{
    padding: 3px;
    border: 0;
    width: 25%;
}
.media_room_form tr td div
{
    width:100px;
    margin: auto;
    margin-top: 20px;
}
.media_room_form tr td input[type=text]
{
    width:300px;
    float: left;
    border: 1px solid #CCCCCC;
    height: 20px;
    padding: 3px;
    margin: 0;
    margin-top: 0;
}
.media_room_form tr td input[type=submit]
{
    float:left;
    margin: auto;
}
.media_room_form tr td input[type=text]
{
    margin-top: 0;
}
.media_room_form tr td input[type=text]:hover
, .media_room_form tr td input[type=text]:focus
{
    margin-top: 0;
    border: 1px solid #999999;
}

/**** Mediaroom Resource People ****/
#mediaroom_resource_people > section{
    margin-bottom : 30px;
}
#mediaroom_resource_people > section h2{
    margin-top : 5px;
}


.toplist
{
    list-style:none;
    margin-left: 20px;
    padding-left: 0;
}


#mediaroom_zcr .rank_analysis{
    margin-top: 100px;
}
.zer_pre {
    background: url("/National_Library/oe_/https://staticx.zacks.com/images/zacks/zer_bg_image.png") no-repeat scroll right top rgba(0, 0, 0, 0);
    float: right;
    height: 121px;
    width: 100px;
    position: absolute;
    right:300px;
    z-index: 200;
}
.zer_pre input[type=text]
{
    border:1px solid #666666;
    margin-top: 63px !important;
    margin-left: 12px !important;
    margin-right:10px !important;
}
.fancy_button
{
    margin: 5px 0pt 0pt 25px;
}

article
{
    margin-left: 10px;
}






/*css for estimates reports*/

#main_content input[type=text]
{
     margin-top: 5px;
    /*width: 103px;*/
}

#main_content select {
    margin-top: 5px;
    /*border: 1px solid #666666;*/
    width: 303px;
}

#main_content input[type=submit] {
    margin-left: 3px;
   /* min-width: 40px;*/
    padding: 0 !important;
    text-align: center;
    clear: none;
    /*height: 22px;*/
    margin-top: 5px;
}
#main_content .ticker_div {
    float: right;
    margin-top: 8px;
    margin-right: 3px;
}
#main_content p
{
    clear:both;
}

#static_pagination_footer
{
    height:80px;
}
#zacks_estimate .rank_chip
{
    margin: 0;
}


/*css for media room gallery*/

 #mediaroom_gallery .gallery div
{
    float:left;
    margin: 10px 10px 0 0;
    border: 1px solid #CCCCCC;
    width: 183px;
    text-align: center;
    height: 205px;
}

 #mediaroom_gallery .gallery div img
{
    margin: 10px;
}


/*css for media room news*/

.in_copy
{
    margin-bottom: 7px;
}
.list
{
    margin-left: 0;
    margin-bottom: 10px;
}

.list_in_copy
{
    display: block;
    float: left;
    clear: both;
}
/*css fo media room news*/



/*css for media room quantitative analytics*/

.bulleted
{
    list-style: none;
    padding-left: 15px;
}
.bulleted li
{
    margin-bottom: 5px;
}

/*css for media room quantitative analytics*/



/*Media Room left Panel*/

.li_selected a
{
    color: #666666 !important;
    font-weight: bold;
}
.li_selected a:hover
{
     color: #666666 !important;
     font-weight: bold;
}
.li_selected
{
    background: #FFFFFF;
    padding: 3px 16px !important;
    margin: 0 !important;
    text-shadow: none;
    font-weight: bold;

}
.li_normal
{
    padding: 3px 14px !important;
    margin: 0 !important;
}

.left_subnav ul li > a
{
    font-weight: bold;
}


.left_subnav ul li li > a
{
    font-weight: normal;
}

.left_subnav ul li a
{
    width:auto;
}

.left_subnav > ul > li:first-child
{
    margin:3px 14px;
}
/*Media Room Left Panel*/



/*-------------------------------*/
#news_content
{
    margin-bottom:50px;
}
#news_content table td
{
    padding:5px;
    text-align:left;
    border-right:none;
    border-left:none;
}

#news_content strong[style="text-align: center;"],
#news_content table td p
{
    text-align:left !important;
}
#news_content table td article
{
    text-align:left;
    margin-bottom: 0;
}

#news_content strong, #news_content span
{
    font-size: 10pt !important;
}

#news_content table, #news_content .MsoTableGrid
{
    border-left:none !important;
    border-top:1px solid #CCCCCC !important;
    border-right:none !important;
    border-bottom: 1px solid #CCCCCC !important;
}

#news_content article, #news_content article span
{
    font-size: 10pt !important;
    position: static;
    white-space:normal !important;
    margin-left: 0;
    padding-bottom: 3px;
}

#news_content > div h1{
    margin-left: 0;
}


/***********/
#news_content strong[style="text-align: center;"] p{
    font-weight: normal !important;
}

#news_content strong[style="text-align: center;"] table[border="1"] td:last-child article,
#news_content strong[style="text-align: center;"] table[border="1"] td:last-child{
    text-align: right;
}

#news_content strong[style="text-align: center;"] > p span.truncated_text_single,
#news_content strong[style="text-align: center;"] table[border="1"] tr:first-child td article h1{
    border-top: none;
    color: #4B4B4B;
    font-weight: bold;
    font-size: 10pt;
}

#news_content strong[style="text-align: center;"] > p span.truncated_text_single{
    margin: 10px 0;
}

#news_content > article > h1 strong[style="text-align: center;"]{
    margin-left: 0;
}
#news_content .news_head{
    font-weight: bold;
    color: #4b4b4b;
    margin-bottom: 10px;
}

#news_content .news_sub_head{
    font-weight: bold;
    margin-top: 15px !important;
}



/**** start: attributes for media room responsive left sidebar ****/

.quote_nav_toggle      { position: relative; float: left; z-index: 99; margin-top: 0; margin-left: 0; margin-bottom: 5px; padding: 2px; padding-top: 5px; padding-bottom: 8px; width:100%; max-width: 60px; cursor: pointer; display: none; top: -37px; }
.quote_nav_toggle span { width: 80%; float: left; margin: 5px 10% 0; background-color: #787878;; padding: 3px 0; }

/* Start: New quote nav toggle v1.3 */
#quote_nav_toggle{position: absolute; top: -45px; left: 2%; width: 82px; padding: 12px; padding-left: 8px; background: #F07519; cursor: pointer; display: block; border-radius: 2px;}

#quote_nav_toggle span{float: left; width: 22px; background: #fff; margin: 2px 0; padding: 1px;}
#quote_nav_toggle span::before, #quote_nav_toggle span::after, #quote_nav_toggle.close-toggle span::before, #quote_nav_toggle.close-toggle span::after{width: 22px; position: absolute; background: #fff; padding: 1px; content: ''; display: block; -webkit-transition:all ease 0.5s; -moz-transition:all ease 0.5s; -o-transition:all ease 0.5s; -ms-transition:all ease 0.5s; transition:all ease 0.5s;}
#quote_nav_toggle span::before{left: 8%; top: 19%;}
#quote_nav_toggle span::after{bottom: 19%; left: 8%;}

#quote_nav_toggle.close-toggle span::before{-webkit-transform: rotate(44deg); -moz-transform: rotate(44deg); -o-transform: rotate(44deg); -ms-transform: rotate(44deg); transform: rotate(44deg); top: 46%;}
#quote_nav_toggle.close-toggle span{background: none; padding: 0;}
#quote_nav_toggle.close-toggle span::after{-webkit-transform: rotate(-44deg); -moz-transform: rotate(-44deg); -o-transform: rotate(-44deg); -ms-transform: rotate(-44deg); transform: rotate(-44deg); bottom: 45%;}

#quote_nav_toggle strong{float: right; font-weight: 400; line-height: 0.2; color: #fff; text-align: left; font-size: 14px;}
@media screen and (max-width:384px)
{
    #quote_nav_toggle { top:-31px; }
    nav.left_subnav   { top:0 !important; }

    #quote_sidebar_toggle { margin-top:-20px; }
}

/* Start: New left side bar nav toggle v1.4  */
 #quote_sidebar_toggle { cursor:pointer; display:none; }
 #quote_sidebar_toggle strong { text-transform:capitalize; font-size:12px; color:#000; text-align:left; float:left; line-height:22px; }
 #quote_sidebar_toggle aside {
    background: #f1943b; /* Old browsers */
    background: -moz-linear-gradient(top,  #f1943b 0%, #dc6e2f 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f1943b), color-stop(100%,#dc6e2f)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f1943b 0%,#dc6e2f 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f1943b 0%,#dc6e2f 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f1943b 0%,#dc6e2f 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f1943b 0%,#dc6e2f 100%); /* W3C */
}

#quote_sidebar_toggle aside{float: left; margin-left: 5px; padding: 8px 10px;}
#quote_sidebar_toggle aside span{background-color: #fff; float: left; margin:0 2px; border-radius:100%; padding: 2px;}

.close_nav_btn span{float: right; margin-left: 5px; border:1px solid #cacaca; border-radius: 100%; width: 16px; height: 16px; margin-right: 10px; position: relative;}
.close_nav_btn span::before, .close_nav_btn span::after{background-color: #fff; width: 1px; height: 10px; position: absolute; z-index: 1000; left: 46%; top: 16%; content: '';}
.close_nav_btn span::before{-webkit-transform: rotate(44deg); -moz-transform: rotate(44deg); -o-transform: rotate(44deg); -ms-transform: rotate(44deg); transform: rotate(44deg); }
.close_nav_btn span::after{-webkit-transform: rotate(-44deg); -moz-transform: rotate(-44deg); -o-transform: rotate(-44deg); -ms-transform: rotate(-44deg); transform: rotate(-44deg); right: 50%;}
.close_nav_btn {color: #fff; text-align: left; float: right; cursor: pointer; display: none;}
@media screen and (max-width:1023px)                      { #quote_sidebar_toggle, .close_nav_btn{display: block;} }
@media screen and (min-width:480px) and (max-width:768px) { #quote_sidebar_toggle{top: -35px;} }
@media screen and (min-width:385px) and (max-width:414px) { #quote_sidebar_toggle{top: -34px;} }
/* End: New left side bar nav toggle v1.4  */

@media screen and (min-width:1023px){#quote_nav_toggle{display: none;} }
@media screen and (max-width:1023px){
    #left_rail{ width: 98%; float: left; margin: 0 1%; position: relative;}
    .quote_nav_toggle{ display: block; }
    nav.left_subnav{top: -14px; position: absolute; z-index: 1001; border-radius: 0; width: 99%; left: -999px;}/* implemented new value for left sidbar nav in quote page in order to slide it from left */
}

/**** end: attributes for media room responsive left sidebar ****/

/* responsive attributes for media room pages */

@media screen and (max-width:1023px){
    #right_content { float: left; max-width: 1023px; width: 96%; margin: 0; margin-left: 1%;}
    #media_room_index, #media_ribbon{width:98%; float: left;}
    #media_room_index{margin-top: 10px; margin-left: 10px;}
    #media_room_index .media_body, #mediaroom_login, table#frm_reg, #media_room_index h1, #media_room_index h2, #media_room_index p{float: left; width: 100%;}
    .media_body>section h1, .media_body>section h2, .media_body>section p{float: left; width: 99%; margin-left: 1%;}
    .media_body>section#mediaroom_overview{width: 98%; margin-left: 2%; float: left;}
    table#frm_reg input[type="submit"]{float: left; text-align: center;}
    .media_body a.in_copy{text-align: left; white-space: nowrap;}
    .media_body section, .media_body ul.bulleted{float: left;}


    /* attributes for estimates reports page */
    .media_body #zacks_estimate{float: left; width: 98%; margin-left: 1%; margin-right: 1%; max-width: 1023px;}
    .media_body #zacks_estimate h1, .media_body #zacks_estimate p, .media_body #zacks_estimate div.ticker, .media_body #zacks_estimate div.ticker p, .media_body #zacks_estimate form#mfhome, .media_body #zacks_estimate div#street_eps_report{float: left; width: 100%;}
    /*.media_body #zacks_estimate p{margin-top: 100px;}*/
    .media_body #zacks_estimate div.ticker{position: relative;}
    .media_body #zacks_estimate p.export{width: 96%; text-align: center; margin-top: 50px;}
    .media_body #zacks_estimate p select#report_type{width: 98%;}
    .media_body #zacks_estimate div.ticker input#ticker_q_input{width: 98%; float: left;}
    .media_body #zacks_estimate div.ticker input.fancy_button{float: left; width: 98%; margin-left: 0;}
    div#estimates_reports_data_wrapper{width: 98%; float: left; margin-left: 1%; margin-right: 1%; overflow-x: auto;}

    div.media_body section#zacks_estimate p, div.media_body section#zacks_estimate div.ticker p{margin-left:0;} /* for fixing the right margin for <p> tag in media-room/estimates/estimates_reports.php page */


}


@media screen and (min-width:737px) and (max-width:768px){
   .media_body #zacks_estimate div.ticker input.fancy_button{float: left; width: 98%; margin-left: 3px;}
   .media_body #zacks_estimate div.ticker input#ticker_q_input{width: 97%; float: left;}

}