#custom-message {
  display: none;
}

@media screen and (max-width: 500px) and (orientation: portrait) {
  #custom-message {
    display: block;
    color: #5c88da;
    margin: 30px 10px 10px;
    font-size: 16px;
    font-weight: 700;
  }

  #gsib-chart-wrapper,
  #tooltiptext {
    display: none;
  }
}

.selectbarGSib li ul li {
  margin-bottom: 0 !important;
  background: #fcfcfc;
}

.selectbarGSib li ul li:hover {
  background: #f5f5f8 !important;
}

.clear {
  clear: both;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider,
.slider:before {
  position: absolute;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider {
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
}

.slider:before {
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
}

input:checked + .slider {
  background-color: #286090;
}

input:focus + .slider {
  box-shadow: 0 0 1px #286090;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.toggle {
  list-style: none;
  padding: 0;
  margin: 0;
}

.centerTable {
  margin: auto;
  padding: 5px;
}

.centerTable tr td {
  padding-right: 40px;
}

.centerTable ul {
  list-style-type: none;
}

#interactive .navbar ul li.dropdown button.dropdown-toggle {
  background-color: #6282c1 !important;
  margin-bottom: 0 !important;
  width: 100%;
  box-shadow: none;
  border: 0;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  padding: 13px 16px;
  outline-offset: -2px;
  line-height: 20px;
}

#gsib-chart,
#gsib-chart-wrapper,
#interactive .navbar ul li.dropdown ul.dropdown-menu {
  width: 100%;
}

#gsib-chart {
  padding: 0;
}

#gsib-score,
.excerpt__right,
.gsib-legend,
.gsib-legend-score-wrapper {
  display: none;
}

#interactive {
  display: block;
  position: relative;
  background: #f9f9f9;
  margin: 0 auto 10px;
  border: 1px solid #adc8e8;
  min-height: 750px;
  padding-bottom: 10px;
}

#interactive .navbar .container-fluid,
.gsib-nav {
  padding: 0;
  margin: 0;
}

#interactive .navbar.chart-nav {
  margin-bottom: 5px;
  border: 0;
  border-bottom: 1px solid #e1e1e1;
}

#interactive .navbar ul li#region-menu {
  width: 100%;
  margin-bottom: 0 !important;
}

#interactive .navbar ul li#region-menu ul.dropdown-menu li span.region-menu-item {
  text-decoration: none;
  cursor: pointer;
  clear: both;
  color: #333;
  display: block;
  font-weight: 400;
  line-height: 1.42857;
  padding: 12px 20px;
  white-space: nowrap;
}

#interactive .navbar ul li#region-menu ul.dropdown-menu li span.region-menu-item:hover {
  background-color: #f5f5f5;
  color: #262626;
  text-decoration: none;
}

#interactive .navbar-header {
  background: #adc8e8;
  width: 100%;
  float: left;
  margin: 0;
  text-align: center;
  padding: 15px 0;
}

#interactive .navbar-brand {
  width: 100%;
  background: #adc8e8;
  font-weight: 700;
  color: #222;
  line-height: 18px;
  margin: 0;
  font-size: 16px;
  padding: 0;
  height: auto;
}

#interactive .navbar-brand p {
  width: 50%;
  margin: 0 auto;
}

#interactive .highcharts-yaxis-labels {
  text-align: center;
  width: 100% !important;
}

#interactive .highcharts-yaxis-labels .gsib-percent-label {
  min-width: 40px;
}

.gsib-nav {
  float: right;
  width: 100%;
}

#tooltiptext {
  margin: 0 0 0 25px;
  font-size: 12px;
  font-weight: 700;
}

@media (min-width: 768px) {
  #gsib-chart-wrapper {
    width: 78%;
    padding: 0 15px;
  }

  #gsib-chart {
    width: 100%;
  }

  .gsib-legend-score-wrapper {
    display: block;
  }

  #interactive .navbar-header {
    width: 80%;
    text-align: left;
    padding: 5px 0;
  }

  #interactive .navbar-brand {
    font-size: 18px;
    padding: 9px 20px;
  }

  #interactive .navbar-brand p {
    width: 100%;
    margin: 0;
  }

  #interactive .nav {
    width: 20%;
  }

  #interactive .gsib-percent-label,
  #interactive .gsib-points-label {
    width: 100%;
    font-size: 13px;
  }

  #interactive .gsib-percent-label {
    text-align: center;
  }

  #interactive .gsib-percent-3,
  #interactive .gsib-percent-4,
  #interactive .gsib-percent-5 {
    color: #fff;
  }

  #interactive #gsib-score,
  #interactive .gsib-legend {
    padding: 8px;
    background: #fff;
    border: 1px solid #adc8e8;
    width: 23%;
    position: absolute;
    top: 50%;
    right: 8px;
    height: 235px;
    margin-top: -114px;
  }

  #interactive #gsib-score {
    display: none;
    height: auto;
    margin-top: -77.5px;
  }

  #interactive #gsib-score .gsib-score__score-title,
  #interactive .gsib-legend__title th {
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    font-family: "Prompt", sans-serif;
    margin-top: 0;
    padding-top: 0;
  }

  #interactive .gsib-legend__sub-title td {
    font-weight: 500;
    text-align: center;
    font-family: "Prompt", sans-serif;
    font-size: 12px;
    color: #555;
    line-height: 12px;
  }

  #interactive .gsib-legend__title th {
    padding-bottom: 0;
  }

  #interactive .gsib-legend__sub-title {
    margin-bottom: 10px;
  }

  #interactive .gsib-legend td,
  #interactive .gsib-legend th {
    border-top: none;
  }

  #interactive .gsib-legend__bucket {
    text-align: center;
    color: #fff;
    padding: 2px;
  }

  #interactive .gsib-legend__bucket td {
    width: 50%;
    padding: 2px;
    border-bottom: 5px solid #fff;
    font-weight: 700;
  }

  #interactive .gsib-legend__bucket-one {
    background: #747e8b;
  }

  #interactive .gsib-legend__bucket-two {
    background: #65be6c;
  }

  #interactive .gsib-legend__bucket-three {
    background: #548ac8;
  }

  #interactive .gsib-legend__bucket-four {
    background: #14479d;
  }

  #interactive .gsib-legend__bucket-five {
    background: #17286d;
  }

  #interactive #gsib-score .gsib-score__bank-title {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0;
  }

  #interactive .score.circle {
    background-color: #424a90;
    border-radius: 40px;
    height: 60px;
    width: 60px;
    margin: 15px auto;
    display: block;
    text-align: center;
    padding-top: 12px;
  }

  #interactive #gsib-score .score {
    font-weight: 700;
    font-size: 23px;
    color: #fff;
  }

  #interactive #tooltip {
    display: none;
    font-size: larger;
    border: 1px solid #f08023;
    color: #f08023;
    background-color: #fff;
    opacity: 0.95;
    padding: 4px 12px;
    border-radius: 3px;
    position: absolute;
    top: 100px;
    box-shadow: 1px 1px 3px #666;
  }

  #interactive .highcharts-button {
    padding: 30px;
  }

  #interactive .highcharts-drilldown-axis-label {
    text-decoration: none !important;
  }

  #interactive .highcharts-axis .highcharts-yaxis-title {
    font-weight: 700;
  }

  #tooltiptext {
    margin: 0 0 0 5px;
    font-size: 14px;
  }
}
#gsib-chart-wrapper .highcharts-label .label, #gsib-chart-wrapper .highcharts-label .year{
    font-size: 11px;
    font-weight: bold;
}
.highcharts-tooltip .label{
  font-family: Prompt, sans-serif;
  font-size: 13px;
  white-space: nowrap;
  color: rgb(51, 51, 51);
  font-weight: bold;
  margin-left: 0;
  margin-top: 0;
  padding: 0;
}