@import "../../../css/chart-v2.0.css";

@import 'common.css';

body{
  max-width: 100vw;
}

#wrapper {
	border: 0px solid #fff;
	background:#fff;
}

#wrapper #top,
#wrapper #navigation,
#wrapper #chart-header > div,
#wrapper #chart,
#wrapper #chart-footer,
#wrapper #bottom,
#wrapper #footer {
    border: none;
    padding-right: 0px;
    padding-left: 0px;
}
#wrapper div#range-selector{
  border: none;
    border-bottom: 1px solid #045064;
    width: 100%;
    padding-bottom: 0;
    float: left;
}

.dropdown:after{
  pointer-events: none;
}
#navigation li {
    width: 12.5%;
    float: left;
}
#navigation li:nth-child(8n) a {
    margin-right: 0;
  }

#navigation a {
  margin-right: 2px;
  margin-bottom: 2px;
  color: #fff;
  background-color: #00a2b0;
  transition: background-color 0.3s ease 0s;
}
#navigation .active a {
  border-bottom: 1px solid #c2c2c2;
  color: #c4c924;
  background-color: #fff;
}
#navigation a:hover {
  color: #c4c924;
  background-color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease 0s;
}

#navigation span {
    display: block;
    margin: 0px auto;
    width: 80px;
}

.dropdown select {
  height: 33px;
  padding-left: 5px;
  /*background-image: -webkit-linear-gradient(white 0, #f3f3f3 100%);
  background-image: linear-gradient(white 0, #f3f3f3 100%);*/
  /* -webkit-transition: all 100ms ease 100ms;
  -moz-transition: all 100ms ease 100ms;
  transition: all 100ms ease 100ms; */
  text-transform: none;
  background-color: #fff;
  border: 1px solid #00ccdf;
}
.dropdown:hover select, .dropdown select:focus {
  background-color: #00ccdf!important;
  color: #fff;
  border-color: #00ccdf;
  outline: none!important;
}
.dropdown:hover:after, .dropdown.active:after {
  color: #fff;
}
/* .dropdown select option:hover, .dropdown select:focus option{
  background-color: #fff;
  color: #00ccdf;
} */

.dropdown:after{
  content: "ä";
  font-family: Icomoon, sans-serif;
  color: #00ccdf;
  z-index: 1;
  display: none;
}

#range-selector li a {
    white-space: nowrap;
}
#range-selector li:last-child a {
  /*margin-right: 2px;*/
}

#range-selector li a,
#range-input .submit,
#chartexport a,
#chart-footer .history-download a {
  border: 0;
  color: #333;
  background-color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease 0s;
}
#range-selector li a{
  font-weight: 600;
  margin-bottom: 0;
  padding-bottom: 1em;
  padding-top: 0.6em;
}

#range-selector li.active a, #range-selector li.active a:hover {
  color: #fff;
  background-color: #045064;
}

#range-selector li a:hover,
#range-input .submit:hover,
#chartexport a:hover,
#chart-footer .history-download a:hover {
  color: #00ccdf;
  background-color: #fff;
  text-decoration: none;
}

#range-input .title {
  line-height: 26px;
}

#top-table td {
  white-space: nowrap;
  border-color: #e7e7e7;
}
#top-table .row4 td,
#top-table .row5 td,
#top-table .row6 td,
#top-table .row7 td,
#top-table .row8 td,
#top-table .row9 td,
#top-table .row10 td,
#top-table .row11 td,
#top-table .row12 td{
  font-size: 14px;
}
#bond-data-table th,
#bond-data-table td {
    border-bottom: 1px solid #c2c2c2;
    text-align: left;
    white-space: normal;
}

#bond-data-table th:first-child,
#bond-data-table td:first-child {
    width: 50%;
    /*max-width: 130px;*/
    padding: 0.4em 3.5em 0.4em 0;
}

#bond-data-table a {
    display: block;
    padding-top: 0.4em;
    color: #00a2b0;
    font-style: italic;
    text-decoration: none;
}
#bond-data-table p a {

    display:inline-block;

}


#bond-data-table a:hover {
    text-decoration: underline;
}

#chart-footer .history-download a{
  padding:0.5em 1em 0.4em;
}

#bottom-table > tbody > tr > td,
#bottom-table > tbody > tr > th,
#bottom-table > tfoot > tr > td,
#bottom-table > tfoot > tr > th,
#bottom-table > thead > tr > td,
#bottom-table > thead > tr > th {
  border-top: 1px solid #ddd;
  line-height: 1.42857;
  padding: 8px;
  vertical-align: top;
}
#bottom-table th {
	border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color #6aaf23;
	border-style: none none none solid;
	border-width: medium medium medium 1px;
	font-weight: 100;
	color: #fff;
	padding: 10px 1em;
	background-color: #045064;
      border-right: 1px solid #1a757a;
}
#bottom-table thead tr:last-child th, .bottom-table thead tr:last-child th{
  border-bottom-width: 0;
}
#bottom-table tbody > tr:nth-of-type(2n) {
    background-color: #f6f6f6;
}
#bottom-table tbody > tr:nth-of-type(2n+1) {
    background-color: #e9edee;
}


#range-input .submit {
    max-width: 98px;
    border: 1px solid #00ccdf;
    background-color: #fff;
    -webkit-transition: border 500ms ease, background-color 500ms ease;
    transition: border 500ms ease, background-color 500ms ease;
    color: #00ccdf;
  }
  #range-input .submit:hover {
    background-color: #00ccdf;
    color: #fff;
}

@media (min-width: 600px){
#bottom-table tbody > tr:nth-of-type(2n+1), #bottom-table tbody > tr:nth-of-type(2n){
  background: none;
}
#bottom-table td, .bottom-table td {
    background: none;
    border-bottom: 1px solid #e7e7e7;
}
  #bottom-table thead .row1 .col5{
    text-align: center;
  }
  #bottom-table thead .row2 .col5, #bottom-table thead .row2 .col6{
    border-top: 1px solid #1a757a;
  }
}

@media screen and (min-width: 480px) and (max-width: 1024px) {
  #navigation li {
    width: 25%;
  }
  #navigation li:nth-child(4n) a {
    margin-right: 0;
  }
}

@media screen and (max-width: 599px) {
    #bond-data-table th:first-child {
        width: 100%;
        font-size: 1em;
    }
    #bond-data-table td,
    #bond-data-table a {
        font-size: 0.8em;
    }
    #range-input .submit {
      max-width: 100%;
      width: 100%;
  }
  #bond-data-table th:first-child{
    font-size: 0.8em;
  }
}

@media screen and (max-width: 480px) {
    #wrapper #top,
    #wrapper #chart-header > div,
    #wrapper #chart,
    #wrapper #chart-footer,
    #wrapper #bottom,
    #wrapper #footer {
        /*border: 1px solid #fff;*/
        padding-right: 0px;
        padding-left: 0px;
    }
    #navigation li {
      width: 50%;
    }
    #navigation li:nth-child(2n) a {
      margin-right: 0;
    }
  #bond-data-table th:first-child,
    #bond-data-table td,
    #bond-data-table td:first-child,
    #bond-data-table a {
        display: block;
        padding-bottom: 0.4em;
        padding-left: 0px;
    }
    #bond-data-table td:first-child {
        border-bottom: none;
    }
    #chart-footer > div{
      width: 100%;
      padding-left: 0 !important;
      padding-right: 0 !important;
    }

    #wrapper div#range-selector{
      border-top-width: 0;
    }
    #range-selector ul li{
      border-right-width: 0;
    }
    #range-selector ul{
      border-width: 0;
    }
    #range-input .submit {
      max-width: 100%;
    }
}

@media screen and (max-width: 340px) {
  #chart-footer > div.history-download {
    width: 90%;
    padding-left: 0;
  }
}
@media (min-width: 481px){
  #bottom-table td, .bottom-table td{
    padding-left: 1rem;
  }
}
#chart-footer .history-download a {
    border: 1px solid #00ccdf;
    background-color: #fff;
    -webkit-transition: border 500ms ease, background-color 500ms ease;
    transition: border 500ms ease, background-color 500ms ease;
    color: #00ccdf;
    height: 34px;
  }
#chart-footer .history-download a i{
  font-size: 12px;
}
#chart-footer .history-download a:hover {
    background-color: #00ccdf;
    color: #fff;
}
#news-information .news-icons .news-icon{
  color: #045064;
  border-color: #00ccdf;
      font-weight: 700;
    font-family: 'Open Sans', sans-serif;
}

#news-information .news-icons .news-icon{
  line-height: 15px;
}
.dropdown{
  border: none;
}
option{
    background-color: #045064;
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    color: #fff;
}
#footer{
  color: #888;
  font-size: 12px;
}
.highcharts-tooltip a{
  color: #fff;
}
.highcharts-tooltip a:hover, #range-input .range-wrap .calendar-icon{
  color: #00ccdf;
  bottom: 8px;
}
#range-input .range-wrap input{
  border: 1px solid #ccc;
}
#range-input .range-wrap input:focus{
  border-color: #00ccdf;
  outline: none;
}
#error-wrapper{
  display: none;
}

.fa-lg{
  font-size: 2em;
}

#chartexport a{
  color: #fff;
  font-size: 1.2em;
  padding: 0.4em 0.5em;
}

#bottom-table td::before, .bottom-table td::before{
  padding-left: 5px;
}
#bottom-table td::before, .bottom-table td::before, #top-table td strong, #range-input .title{
   font-weight: 600;
}

#top-table .row1 .col2 strong,
#top-table .row2 .col2 strong{
  font-family: Merriweather, serif;
  font-weight: 300;
}

#chartexport a {
    border: 0px;
    color: #00ccdf;
    background-color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease 0s;
    height: 36px;
    line-height: 30px;
    padding: 5px 5px 5px 8px !important;
    border: 1px solid #00ccdf;
}
#chartexport a:hover {
  color: #fff;
  background-color: #00ccdf;
}
#chartexport a i{
  font-size: 24px;
}
.fa.alteration-down, .fa.alteration-equal, .fa.alteration-up{
  position: relative;
  top: 2px;
}

/************ Bond chart CSS*************/
body.bond-detail-view{
  overflow: hidden;
  padding: 0;
  max-width: 100vw;
  width: 100%;
}
body.bond-detail-view table{
  max-width: 100vw;
}
body.bond-detail-view #chart{
  text-align: center;
}
.bond-info th.first{
  text-align: left;
  display: none;
}

.bond-chart #wrapper div#range-selector{
    margin-bottom: 1.8em;
}
@media (min-width: 768px){
  #bond_filter_select, .select-sort-icon{
    display: none!important;
  }
}

.bond-info{
  padding: 2em 0;
  clear: both;
}
#bond-info table td{
  border-bottom: 1px solid #e7e7e7;
  padding: 7px 5px;
  width: 50%;
}
#bond-info table tr:hover td{
  background-color: rgba(39, 47, 50, .03);
}
#bond-info table td span > strong{
  font-weight: normal;
}
#bond-info p.pdf-doc{
   border-bottom: 1px solid #e7e7e7;
   padding-bottom: 6px;
   margin-top: -2px;
    font-size: 14px;
}
#bond-info > p ~ p,#bond-info .small-text{
  color: #999;
  font-size: 12px;
}
#bond-info p.pdf-doc a{
  color: #00ccdf;
  text-decoration: none;
  margin-left: 5px;
}
#bond-info .pdf-ico{
  font-family: Icomoon, sans-serif;
  color: #00ccdf;
  font-size: 26px;
  line-height: 1em;
  position: relative;
  top: 5px;
  padding-right: 5px;
}
.bond_listing table th{
  color: #fff;
  background-color: #024253;
  padding: 10px 4px;
  padding-right: 12px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.bond_listing table td{
  padding: 24px 5px;
  padding-right: 10px;
  border-bottom: 1px solid #e7e7e7;
}
.bond_listing .iframe td{
  padding: 0;
}

.bond_listing table th strong{
  font-weight: normal;
}

.bond_listing table td.selected, .bond_listing table th.selected strong{
  font-weight: 600;
}

.acc-icons{
  cursor: pointer;
  position: relative;
  right: 3px;
  display: inline-block;
  width: 40px;
  height: 30px;
  padding: 7px 4px 0px;
  border: 1px solid #00ccdf;
  -webkit-transition: background-color 400ms cubic-bezier(.165, .84, .44, 1), color 400ms ease;
  transition: background-color 400ms cubic-bezier(.165, .84, .44, 1), color 400ms ease;
  font-family: Icomoon, sans-serif;
  color: #00ccdf;
  font-size: 18px;
  line-height: 1em;
  text-align: center;
}
.acc-icons:hover, .acc-icons.acc-open{
  background-color: #00ccdf;
  color: #fff;
}
.sort-icons{
  display: inline-block;
  width: 10px;
  height: 12px;
  position: relative;
  top: 3px;
}
.sort-heading em{
  font-family: Icomoon, sans-serif;
  font-size: 9px;
  color: #fff;
  font-style: normal;
  position: absolute;
  left: 5px;
}
.sort-heading em.sortdown{
  top: 2px;
}
.sort-heading em.sortup{
  bottom: 5px;
}

.headerSortDown
.sort-heading em.sortdown, .headerSortUp
.sort-heading em.sortup{
  color: #00ccdf;
}
.chart_row td{
  transition: background-color 500ms ease;
  -moz-transition: background-color 500ms ease;
  -webkit-transition: background-color 500ms ease;
  cursor: pointer;
}

.chart_row .sort-colum, #bond-info p.pdf-doc a{
  display: block;
  position: relative;
  left: 0;
  transition: left 500ms ease;
  -moz-transition: left 500ms ease;
  -webkit-transition: left 500ms ease;
}

#bond-info p.pdf-doc:hover{
  background-color: rgba(39, 47, 50, .03);
}
#bond-info p.pdf-doc:hover a{
  left: 9px;
}
.bond-detail-view .wrapper{
    padding-top: 1em;
}

@media (min-width: 768px){
  .chart_row:hover td{
    background-color: rgba(39, 47, 50, .03);
  }
  .chart_row:hover .sort-colum, #bond-info p.pdf-doc:hover a{
    left: 9px;
  }
  #bond_listing table .tr_open td{
    border-color: #fff;
  }
}
.bond_filter_select{
  position: relative;
}

.bond_filter_select .select-sort-icon{
  position: absolute;
  right: 5px;
  top: 0;
  cursor: pointer;
  width: 30px;
  display: block;
  height: 34px;
  text-align: center;
}
.bond_filter_select .select-sort-icon em{
  font-family: Icomoon, sans-serif;
  font-size: 12px;
  font-style: normal;
  width: 30px;
  display: block;
  position: relative;
  cursor: pointer;
}
.bond_filter_select .select-sort-icon .sortup{
  top: 4px;
  color: #00ccdf;
}
.bond_filter_select .select-sort-icon .sortdown{
  top: -1px;
}
.bond_filter_select .select-sort-icon.state-up .sortup{
  color: #333;
}
.bond_filter_select .select-sort-icon.state-up .sortdown{
  color: #00ccdf;
}
.bond_filter_select label{
  width: 100px;
  text-indent: 5px;
  display: inline-block;
}
.bond_filter_select .dropdown{
  margin: 1.5em 0 1.5em 7px;
  width: calc(100% - 45px );
}
.select-updown{
  position: absolute;
  top: 5px;
  right: 10px;
}

#bottom-table tr:hover td{
  background-color: rgba(39, 47, 50, .03);
}

@media (max-width: 767px){
  #top-table td{
    font-size: inherit;
  }
  .chart_row td{
    cursor: default;
  }
  #bond_filter_select, .select-sort-icon{
    display: block;
  }
  .bond_listing > table > thead{
      display: none;
  }
  .bond_listing > table > tbody td{
    width: 100%;
    position: relative;
    display: block;
    padding: 0 5px;
  }
  .bond_listing > table > tbody td:after{
    content: attr(data-label);
    position: absolute;
    left: 5px;
    top: 10px;
  }
  .bond_listing > table .sort-colum{
    width: 100%;
    padding: 8px 12px 8px 50%;
    display: block;
  }
  .bond_listing > table > tbody td.accordion-buttons{
    text-align: right;
    padding-top: 10px;
    padding-bottom: 2em;
  }
}

@media (max-width: 480px){

  select{
    -webkit-appearance: none;
    -webkit-focus-ring-color: red;
  }

  #chartexport a i {
    font-size: 20px;
  }

  body{
    font-size: 13px;
  }
  #bottom-table td, .bottom-table td, #top-table .row4 td, #top-table .row5 td, #top-table .row6 td, #top-table .row7 td, #top-table .row8 td, #top-table .row9 td, #top-table .row10 td, #top-table .row11 td, #top-table .row12 td{
      font-size: 13px;
  }
  .chart_row .sort-colum,
  .bond_listing > table > tbody td:after{
    font-size: 13px!important;
  }
}

@media only screen  and (min-device-width : 375px)  and (max-device-width : 667px) and (orientation: portrait){
  body.bond-list-view{
    max-width: 480px;
  }
  body.bond-list-view .bond_listing > table .sort-colum{
    font-size: 13px !important;
    font-family: 'Open Sans', sans-serif !important;
  }
  body.ios{
    width: 100vw;
    overflow: hidden;
    max-width: 100vw;
  }
   body.ios #wrapper{
      max-width: 100vw;
      overflow: visible;
   }
   body.ios table{
    max-width: 100vw;
  }
}
.bond-info .doc{
    display: table;
    width: 100%;
}
.bond-info .doc p.pdf-doc{
    display: table-cell;
    width: 50%;
}

.greenbond__wrapper .chart_s7{
  display: table-row !important;
}


.chart_s42 td , .chart_s55 td , .chart_s57 td, .chart_s59 td{
  color: #009860;
}

.chart_s53 td , .chart_s54 td , .chart_s56 td, .chart_s58 td{
  color: #ff0000;
}

.chart_s58.toptable tr td:first-child,
.chart_s59.toptable tr td:first-child{
  color: #000;
}



tr.chart_s7 + .iframe{
/*  display: none !important;*/
}
tr.row1.chart_s42{
  display: none;
}