.date-selector-block {
  margin-top: 80px;
  margin-bottom: 10px;
}

.get-rates-button {
  margin-top: 10px;
}

.data-display {
  margin-top: 20px;
}

.data-display .container {
  height: 400px;
  margin: 0 auto;
}

#openexform .form-group {
  margin-bottom: 0;
}

#currency-to-currency-chart,
#currency-tabs-history-chart {
  height: 400px;
  margin: 0 auto;
}

#currency-to-currency-chart {
  margin-top: 2em;
  box-sizing: border-box;
}

#currencyTab .ctc-date {
  color: #818181;
  padding: 1.3em 0;
}

#currencyTab .ctc-single-rate {
  color: #818181;
  padding: 10px 0;
}

#currencyTab .ctc-row {
  width: 80%;
  display: table-row;
}

#currencyTab .ctc-row .ctc-cell {
  display: table-cell;
  width: 180px;
  white-space: nowrap;
}

#currencyTab .ctc-row .ctc-sign {
  width: 50px;
}

#currencyTab .ctc-double-arrows {
  background: url(arrows.png) no-repeat;
  width: 30px;
  height: 22px;
  display: block;
}

#currencyTab .ctc-amount,
#currencyTab .ctc-equals {
  color: #264422;
  font-size: 30pt;
  font-family: 'Droid Sans', Arial, Helvetica, sans-serif;
}

#currencyTab .country-info {
  padding-bottom: 0.7em;
  margin-bottom: 0.7em;
  border-bottom: 1px solid #d7d7d7;
}

#currencyTab .ctc-buttons {
  padding: 20px 0 20px 75px;
}

#currencyTab .ctc-buttons ul,
#currencyTab .ctc-buttons li {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
}

#currencyTab .ctc-buttons li {
  background: #f4f4f4;
  background: -moz-linear-gradient(top, #f4f4f4 0%, #d9d9d9 71%, #d9d9d9 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f4f4f4), color-stop(71%, #d9d9d9), color-stop(100%, #d9d9d9));
  background: -webkit-linear-gradient(top, #f4f4f4 0%, #d9d9d9 71%, #d9d9d9 100%);
  background: -o-linear-gradient(top, #f4f4f4 0%, #d9d9d9 71%, #d9d9d9 100%);
  background: -ms-linear-gradient(top, #f4f4f4 0%, #d9d9d9 71%, #d9d9d9 100%);
  background: linear-gradient(to bottom, #f4f4f4 0%, #d9d9d9 71%, #d9d9d9 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4', endColorstr='#d9d9d9', GradientType=0);
  margin: 0 6px;
  border: 1px solid #949494;
  border-radius: 3px;
}

#currencyTab .ctc-buttons li.selected {
  background: #909090;
  background: -moz-linear-gradient(top, #909090 0%, #909090 54%, #7f7f7f 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #909090), color-stop(54%, #909090), color-stop(100%, #7f7f7f));
  background: -webkit-linear-gradient(top, #909090 0%, #909090 54%, #7f7f7f 100%);
  background: -o-linear-gradient(top, #909090 0%, #909090 54%, #7f7f7f 100%);
  background: -ms-linear-gradient(top, #909090 0%, #909090 54%, #7f7f7f 100%);
  background: linear-gradient(to bottom, #909090 0%, #909090 54%, #7f7f7f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#909090', endColorstr='#7f7f7f', GradientType=0);
}

#currencyTab .ctc-buttons li a {
  color: black;
  font-size: 11pt;
  text-decoration: none;
  font-family: 'Droid Sans', Arial, Helvetica, sans-serif;
  padding: 5px 20px;
  display: inline-block;
}

#currencyTab .ctc-buttons li.selected a {
  color: white;
}

.currency-matrix .currency-flag {
  position: relative;
  display: inline-block;
  margin-right: 5px;
  width: 36px;
  height: 18px;
  border: 1px solid gray;
  box-sizing: border-box;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  vertical-align: middle;
}

.currency-matrix tr th:first-child {
  white-space: nowrap;
}