/*
Copied from nabrwd_app/tree/master/content/src/main/content/jcr_root/etc/designs/nabrwd
/clientlibs-components/clientlibs-asx-feed-new/css

 * this style is needed because of this rule on the shareholder center page:
 *
 * .shareprice p span {
 *     font-size: 0.4em;
 * }
 *
 * on the current page, that rule just styles the "AUD" span on each carousel
 * item, but YourIR prices and changes are formatted with nested spans, so
 * that rule causes them to have the small font size too.
 *
 * I have chosen to override the rule for the first span and its descendant
 * spans, but it might be easier for you to make the above rule more
 * specific.
 */
 /*----- Dev Styles -----*/
.shareprice p span:first-child, .shareprice p span:first-child span {
    font-size: inherit;
}

/* make sure there's no line break */
.shareprice p {
    white-space: nowrap;
}

/* price change colors */
.shareprice-change .yourir-positive {
    color: #89B837;
}
.shareprice-change .yourir-negative {
    color: #C20000;
}
.shareprice-change .yourir-zero {
    color: #005AA3;
}

/* make a zero change display as 0.00 (it displays as a dash by default) */
.shareprice-change .yourir-zero:before {
    content: "0.00";
}

/* hide the dollar sign on price changes */
.shareprice-change .yourir-currency-symbol {
    display: none;
}

/* bring the announcement popup in front of the carousel */
.yourir-announcement-popup {
    z-index: 1000;
}

/* the example chart */
.example-chart .yourir-chart-panel {
    height: 300px;
    background: #ebebeb;
}
.example-chart .yourir-chart-xaxis-stripe {
    fill: #f2f4f6;
}
.example-chart .yourir-chart-panel-border {
    stroke: none;
}
.example-chart .yourir-chart-tick,
.example-chart .yourir-chart-gridline,
.example-chart .yourir-chart-yaxis-minor-gridline,
.example-chart .yourir-chart-xaxis-minor-gridline {
    stroke: none;
}
.example-chart .yourir-chart-yaxis-gridline {
    stroke: #a5a5a5;
}
.example-chart .yourir-chart-tick-bottom {
    stroke: #a5a5a5;
    stroke-width: 1px;
}
.example-chart .yourir-chart-xaxis-label-container {
    margin-top: 2px;
}
.example-chart .yourir-chart-yaxis-label-container {
    margin-right: 2px;
}
.example-chart .yourir-chart-price {
    stroke: #e60c00;
    stroke-width: 3px;
}
.example-chart .yourir-chart-price-fill {
    fill: none;
}

 table.ui-datepicker-calendar {
    display: table;
}

/*----- Widget/Menu Styles -----*/
.widget,.widget-tabs{
    margin:0 0 20px;
    padding: 30px;
    background-color: #eff1f3;
    border: none;
}

.widget select, .widget input{
    width: 100%;
    display: block;
    font-size: 1rem;
    line-height: 1.42857143;
    border-radius: 3px;
    height: 3rem;
    min-height: 1px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.widget select:focus, .widget input:focus {
    border-color: #66AFE9;
    outline: 0px none;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(102, 175, 233, 0.6);
}

.widget select,.widget-tabs select{
    padding: 0 20px;
    max-width: 350px;
    background: url(clientlib-asx-feed/resources/images/chevron_down.svg) right 24px bottom 50%/15px no-repeat #e3e5e7;
    border: none;
    font-family: SourceSansBold, Helvetica, Arial, sans-serif;
    color: #1a1d1f;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-background-size: 15px 15px;
}

.date-box input {
    padding: 6px 7.5px 6px 15px;
    background: url(clientlib-asx-feed/resources/images/ico_calendar.gif) right 23px bottom 50%/17px no-repeat #f6f8fa;
    color: #383b3d;
    border: none;
}

.widget h2{
    padding:0px 8px 0px 20px
}

.widget h3 {
    margin: 0.25rem 0;
}

.widget h3.datebox {
    margin-top: 0;
}

.date-box {
    display: inline-block;
    width: 100%;
    max-width: 350px;
}

.date-box.date-box-from {
    margin-right: 30px;
}

/*----- Announcements List -----*/
ul.item-list li {
    padding:0.4rem 0 0.4rem 30px;
    margin: 0;
    list-style-type:none;
    border-right: solid 30px rgba(0, 0, 0, 0);
    overflow: hidden;
    text-overflow: ellipsis;
}

ul.item-list li:nth-child(2n) {
    background: #F6F8FA;
}

ul.item-list span {
    white-space: nowrap;
}

span.date {
    width: 6rem;
    display: inline-block;
}

/*----- Pagination -----*/
#announcements p {
    font-size: 0.9rem;
    text-align: right;
    color: #666;
}

ul.pagination {
    display:flex;
    flex-wrap: wrap;
    margin: 0;
}

ul.pagination li{
    margin:0 12px 12px 0;
    display: table;
    height: 50px;
    width: 50px;
}

ul.pagination li a{
    font-size:1.125em;
    color:#4d4d4d;
    text-decoration:none;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    padding: 0px;
    position: relative;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    border: medium none;
    background: #F6F8FA none repeat scroll 0% 0%;
}

ul.pagination li.active a, ul.pagination li a:hover {
    background-color: #6b7682;
    color: #fcfeff;
}

ul.pagination li.yourir-disabled {
    display: none;
}

ul.pagination li:first-child, ul.pagination li:nth-child(2), ul.pagination li:last-child, ul.pagination li:nth-last-child(2) {
    width:65px;
}

/*----- Date Picker -----*/
.ui-datepicker th {
    font-weight: normal;
}

div#ui-datepicker-div {
    width:80%;
    max-width: 350px;
    border: 0;
    background: #f6f8fa;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.075);
    box-shadow: 0 1px 1px rgba(0,0,0,.075);
}

td.ui-datepicker-week-end.ui-datepicker-other-month.ui-datepicker-unselectable.ui-state-disabled {
    padding: 0;
}

.ui-datepicker-header {
    background: none;
    border: none;
}

a.ui-datepicker-prev, a.ui-datepicker-next {
    border: 0;
}

a.ui-datepicker-prev-hover.ui-state-hover, a.ui-datepicker-next-hover.ui-state-hover {
    top:2px;
    border:none;
    background:none;
}

a.ui-datepicker-prev-hover.ui-state-hover {
    left:2px;
}

a.ui-datepicker-next-hover.ui-state-hover {
    right:2px;
}

.ui-datepicker-calendar td {
    padding: 4px !important;
}

.ui-datepicker-calendar tr {
    background: none !important;
}

.ui-state-default, .ui-widget-content .ui-state-default {
    background: #fcfeff;
    border-color: #aaa;
}

a.ui-state-default.ui-state-hover {
    border-color: #E20000;
    color: #E20000;
}

a.ui-state-default.ui-state-highlight {
    background: #EFEFEF;
}

a.ui-state-default.ui-state-active {
    border-color: #E20000;
    background: #E20000;
    color: #fcfeff;
}

/*----- Other Styles -----*/
#announcements ul li{
    list-style: none;
}
