/***********************************************************
 Styles for company pages and the stock data being displayed from Iguana/QuoteAPI.
 ************************************************************/


.innter-container {
    border:1px solid #c8d1d1;
    padding:30px 15px 40px;
}

#main-post article {
    background: #fff;
    border-radius: 5px 0 0 5px;
    padding: 4rem;
    padding-top: .5em;
}

.strong {
    font-weight:700;
}

.clear_both {
    clear:both;
}

.below-chart {
    width:25%;
    float:left;
}

.article_details_wrapper{
  padding-left:20px;
  padding-top:10px;
}


.capital-data {
    width:50% !important;
}



@media only screen and (max-width:767px) {
    .below-chart {
        width:100%;
        float:none;
    }
    #main-post article {
        padding: 1rem;
    }
}

.below-chart #pointerBox {
    margin-top:13px;
    width:220px;
}

.below-chart #pointerMain:after {
    font-style:italic;
}

@media only screen and (max-width:767px) {
    .year-to-date {
        clear:both;
        margin-top:50px;
    }
}

.asxtab {
    border:none;
    border-collapse:collapse;
    margin:0 auto;
    text-align:left;
    width:90%;
    line-height:1.25em;
}

.asxtab td {
    font-size:1em;
    line-height:1.25em;
    border:none;
    padding:7px;
    vertical-align:middle;
}

.asxtab tr {
    background-color:#fff;
    -webkit-transition:background-color .2s ease-out;
    -moz-transition:background-color .2s ease-out;
    -o-transition:background-color .2s ease-out;
}

.asxtab tr:hover {
    background-color:#e5e4e4;
}

.individual-companies .asxtab tr:hover {
    background-color:transparent;
}

.tab-row {
    border-bottom:1px solid #e5e4e4;
}

.dataright {
    text-align:right;
    font-weight:700;
}

.asx_title {
    padding-bottom:5px;
    border-bottom:5px solid #e5e4e4;
}

.asx_title_no_border {
    padding-bottom:10px;
}

.title_left {
    float:left;
}

h1.toptitle {
    font-size:32px;
    float:left;
    margin:0;
}

.asxsearch {
    display:inline-block;
    float:right;
    width:30%;
}

.delay-time {
    float:right;
    font-style:italic;
    font-weight:100;
    color:grey;
    margin-bottom:0px;

}
.delay-time span{
  font-size: 0.8em;
}

.first-col {
    width:520px;
    float:left;
    text-align:center;
    margin-top:10px;
}

.first-col_left {
    float:left;
    width:35%;
    text-align:left;
}

.first-col_left p {
    font-weight:700;
    font-size:2em;
    line-height:20px;
    height:30px;
    margin:5px 0;
    color:#000;
}

.first-col_right {
    width:45%;
    float:left;
}

.chart-options {
    float:right;
    margin-top:-60px;
}

.chart-options .chrrng {
    font-size:12px;
    float:left;
    display:block;
    font-weight:700;
    text-transform:capitalize;
    padding:10px 8px;
    border-left:1px solid #d8d8d8;
    text-decoration:none;
    background:linear-gradient(#efefef,#fff) #f3f3f3;
}

.chart-options button {
    color:#666;
    font-size:.75em;
    background:none;
    border-width:1px;
    border-style:solid;
    border-color:#c8d1d1;
    border-image:initial;
    padding:5px 15px;
    border-radius:0;
}

#main-post article .first-col_right p {
    font-weight:700;
    font-size:1.5em;
    line-height:30px;
    height:30px;
    margin:5px 0;
}

#main-post article .first-col_right p span {
    font-size:100%;
  }

@media (max-width:1024px) {
    .chart-options {
        float:right;
        margin-top:0;
    }
    .first-col {
        width:100%;
    }
    .first-col_right {
        text-align:right;
    }
    .below-chart {
        width:50%;
    }
    .quoteapi-chart-panel {
        height:200px;
    }

    .quoteapi-chart-extra-panel {
        height:50px;
    }
}

@media (min-width: 768px) and (max-width:979px) {
    .asxsearch {
        width:40%;
    }
}

@media (max-width:767px) {
    .individual-companies .first-col {
        width:100%;
        text-align:left;
    }

    .chart-options {
        float:right;
        margin-top:0;
    }

    .first-col_right {
        text-align:right;
    }

    .asxtab td {
        padding:7px 5px;
    }

    .asxtab {
        width:100%;
    }

    .capital-data {
        width:100% !important;
    }

    .toptitle {
        width:100%;
    }

    .asxsearch {
        display:inline-block;
        float:left;
        width:100%;
        margin-top:15px;
    }
}

.quoteapi-positive {
    color:#20b720;
}

.quoteapi-negative {
    color:#e70000;
}

.arrow-down:before {
    content:"\25bc";
}

.arrow-up:before {
    content:"\25b2";
}

.quoteapi-chart {
    padding: 8px 26px 24px 4px;
    font-size: .9em;
    overflow: visible;
}

.quoteapi-chart-panel {
    height:250px;
}

.quoteapi-nav-chart .quoteapi-chart-panel {
    height:50px;
    margin-top:10px;
}

.quoteapi-chart-extra-panel {
    height:50px;
    margin-top:25px;
}

.quoteapi-chart-panel-plot-area {
    padding:0;
}

.quoteapi-chart-xaxis-spacing {
    width:50px;
}

.quoteapi-chart-yaxis-spacing {
    height:50px;
}

.quoteapi-chart-tooltip-container {
    padding:10px 30px;
}

.quoteapi-chart-tooltip-marker {
    fill:none;
    stroke-width:2px;
}

.quoteapi-chart-xaxis-label-container {
    margin-top:4px;
}

.quoteapi-chart-top-panel .quoteapi-chart-yaxis-bottom-label {
    display:none;
}

.quoteapi-chart-panel-border,.quoteapi-chart-gridline {
    stroke:#000;
    stroke-opacity:.05;
}

.quoteapi-chart-minor-gridline {
    display:none;
}

.quoteapi-chart-price {
    stroke:#2f74ae;
    stroke-width:3px;
}

.quoteapi-nav-chart .quoteapi-chart-price {
    stroke:#2f74ae;
    stroke-width:1px;
}

.quoteapi-chart-price-fill {
    fill:#2f74ae;
    fill-opacity:.3;
}

.quoteapi-chart-prev-close {
    stroke:#e74b3c;
}

.quoteapi-chart-relative-price {
    stroke:#529642;
    stroke-width:1px;
}

.quoteapi-chart-moving-average1 {
    stroke:#bd401e;
}

.quoteapi-chart-performance {
    stroke:#2f4c6b;
    stroke-width:1px;
}

.quoteapi-chart-performance1 {
    stroke:#529642;
}

.marg_btm.margdec.compquote{
  margin-left: auto; margin-right: auto;
}

@media screen and (max-width:767px) {
    .quoteapi-chart-panel {
        height:200px;
    }

    .quoteapi-chart-extra-panel {
        height:50px;
    }

    .quoteapi-nav-chart {
        display:none;
    }
}
@media (max-width:360px) {
  #main-post article .first-col_right p#movement_description{
    top: 0px;
  }
}

@media (max-width:480px) {
    #main-post article .first-col_right p {
        font-size:1.2em;
        text-align:right;
    }

    #main-post article .first-col_left p {
        font-size:1.5em;
    }

    .chart-options {
        float:left;
        margin-top:20px;
        margin-bottom:10px;
        width:100%;
    }

    .asxsearch {
        padding:0 0 10px;
    }


    .toptitle {
        font-size:26px;
        line-height:1.2em;
        width:100%;
    }

    h1.toptitle span.title_left {
        float:left;
    }
    h1.toptitle {
      font-size: 24px;
    }

    .chart-options .chrrng {
      padding: 10px 3px;
    }

    .quoteapi-chart {
      padding: 8px 35px 20px 38px;
      font-size: .8em;
    }

    .single_article img{
      margin-bottom: 20px;
    }

    .article_details_wrapper{
      padding-left:0px;
    }


}

.as_at_time {
    position:relative;
    top:-10px;
    vertical-align:baseline;
    font-style:italic;
    font-size:12px;
}

.byline img {
    float:left;
    height:145px;
    width:auto;
    padding-right:10px;
    margin-top:8px;
    padding-bottom:20px;
    margin-bottom:50px;
    display:block;
    clear:both;
}

@media (min-width: 280px) and (max-width:460px) {
    .byline img {
        float:none;
        width: 100%;
        height: auto;
        margin-bottom: 0px;
    }
    .single_article{
      display:block;
      clear:both;
    }
}

@media (min-width: 380px){
  .first-col_left p.quoteapi-number.quoteapi-price,.first-col_right p.quoteapi-number.quoteapi-price.quoteapi-change {
      font-size:1.8em !important;
    }
}

#main-post article .promo {
    padding-bottom: .5em;
}

ul.article-list li {
    min-height: 150px !important;
    margin-bottom: 0px !important;
}

.single_article{
  clear:both;
  min-height: 130px;
  margin-top:20px;
}

#articles_listing_title{
  margin-top:30px;
}

#main-post article .first-col_right p#movement_description{
  position: relative;
  top: 10px;
  vertical-align: baseline;
  font-style: italic;
  font-size: 12px;
  font-weight: normal;
  text-align: right;
}

.individual-companies, .compquote{
    margin-top: 2em;
}

.quotes-table th, .quotes-table td{
    font-size: 0.9em;
}

table.quotes-table tbody td, table.quotes-table tbody th{
    padding: .5rem .125rem .425rem;
}

#risers_movers_wrapper{
  background: #ececec;
  padding-top: 30px;
}

@media (max-width: 767px){
.td-container, .tdc-row {
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
  }
}


.quoteapi_list_wrapper{
  padding-top:30px;
}

#asx-index-chart .quoteapi-chart-price {
    stroke: #285b86;
    stroke-width: 1px;
}

.date_range_select {
 background: #e7e7e7;
 border: 1px solid #cfcfcf;
 padding: 5px 15px;
 font-size: 11px;
 width: 195px;
 margin-top: 10px;
}

.market_status{
    display: block;
    padding: 20px;
    background: white;
    width: 240px;
    border: solid 3px #297fc5;
    color: green;
}

/******** Styles added for index page template *********/

#market-data-top{
    display: block;
    border: 1px solid #cacaca;
    padding: 13px !important;
    padding-top: 12px !important;
    padding-bottom: 0px !important;
}
#market-data-top .responsive-table-scrollable {
    margin-bottom: 0rem;
}
.quotes-table {
    margin-bottom: 10px;
}
#quote_lookup_tracker{
    margin-top:5px;
}
.risers_fallers_small{
    padding: 0px;
}

@media (max-width: 767px){
    .td-container, .tdc-row {
        width: 100%;
        padding-left: 5px;
        padding-right: 5px;
    }
    #small_chart-wrapper{
        padding-top:20px;
    }
}
#articles_listing_title{
    margin-top:40px;
}
.quoteapi-chart {
    padding: 10px 24px 24px 28px;
}
.marg_btm.margdec.compquote{
    margin-left: auto; margin-right: auto;
}
.top_links_time{
  font-weight:200;
}
.page article h1 {
    margin-bottom: 0.2em;
    margin-top:0.2em;
}
#market-data-top .quoteapi-chart {
    padding: 10px 24px 24px 0px;
}
.markets-chart .quoteapi-chart-panel{
    height: 90px;
}
.small-date-time{
    font-size: 13px;
}
#index_content{
    margin-top:30px;
}
table.quotes-table tbody td, table.quotes-table tbody th {
    padding: 0.4rem .165rem .425rem .5rem;
    font-size: 15px;
    padding-top: 6px;
    padding-bottom: 6px;
}
#market-data-top .article-listing-top li a{
    color: black;
    font-size: 12px;
    font-weight: bold;
}
#market-data-top .article-listing-top li{
    margin:5px;
    list-style-type: none;
    border-bottom: 1px solid #d8d8d8;
}
#market-data-top .article-listing-top{
    margin-left: 0px;
}
#small_chart_date{
    font-size: 13px;
}
.prices-top-small, .latest_price_section{
    padding: 0px ;
    margin:0px ;
}
#chart-wrapper .block-title{
    padding-bottom: 0px;
}
#delay_text{
    font-size: 13px;
    font-style: italic;
    margin-bottom: 10px;
}
