div.white-bg {
  top: -40px !important;
}

section.banner {
  background-color: #141a1c;
}

section.banner > div {
  max-width: 1300px;
  height: 500px;
  background-image: url("/img/brokers/xm/xm_bg.png");
  background-repeat: no-repeat;
  background-position: 100% 50%;
  background-size: 900px 600px;
  margin: 0 auto;
}

@media (max-width: 1000px) {
  section.banner > div {
    background-image: none;
  }
}

section.banner .wrapper {
  display: flex;
  align-items: center;
  height: 500px;
}

section.banner img {
  display: block;
  margin-bottom: 40px;
  width: 300px;
}

section.banner h1 {
  color: white;
  font-weight: bold;
  margin-bottom: 16px;
}

section.banner h2 {
  color: white;
  font-weight: 100;
  margin-bottom: 40px;
  font-size: 25px;
}

section.banner a {
  color: white;
}

section.about h2 {
  font-weight: bold;
  margin-top: 0;
}

section.about .wrapper {
  width: unset;
  max-width: unset;
  display: flex;
  flex-direction: row;
  padding-bottom: 0 !important;
  align-items: center;
}

@media (max-width: 1000px) {
  section.about .wrapper {
    flex-wrap: wrap;
  }
}

@media (max-width: 1000px) {
  section.about .wrapper > div {
    padding-top: 30px;
  }
}

section.about .wrapper > img {
  margin-right: 100px;
  height: 400px;
}

@media (max-width: 1000px) {
  section.about .wrapper > img {
    order: 3;
    margin-right: 0;
    margin-top: 30px;
  }
}

section.rates {
  background-color: #88a5b0;
  text-align: center;
}

section.rates h2 {
  color: white;
  font-weight: bold;
}

section.rates table {
  border-spacing: 10px;
  border-collapse: separate;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

section.rates table td {
  background-color: #ffffff22;
  color: #d7e1e5;
  font-size: 15px;
  padding: 10px 100px 10px 20px;
}

@media (max-width: 1000px) {
  section.rates table td {
    padding: 10px;
  }
}

section.rates table td:first-of-type {
  color: white;
  font-weight: bold;
  background-color: #ffffff55;
  font-size: 16px;
}

section.rates table tr:first-of-type td {
  color: white;
  font-weight: bold;
  background-color: #ffffff55;
  font-size: 16px;
}

section.rates h3 {
  color: white;
  font-weight: bold;
  margin-top: 20px;
}

section.rates p {
  color: white;
  max-width: 600px;
  margin: 10px auto 0;
}

section.rates ul {
  text-align: center;
}

section.rates ul li {
  text-align: center;
  color: white;
  margin-top: 10px;
}

section.steps {
  background-color: #141a1c;
  color: #ffffffaa;
}

section.steps h2 {
  color: white;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 36px;
  text-align: center;
}

section.steps .steps-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

@media (max-width: 1000px) {
  section.steps .steps-container {
    flex-wrap: wrap;
  }
}

section.steps .steps-container > div {
  max-width: 200px;
  text-align: center;
  margin: 0 40px;
  font-size: 20px;
  text-decoration: none;
  color: #cccccc;
  border-radius: 10px;
}

section.steps .steps-container > div img {
  width: 100px;
  display: block;
  margin: 20px auto 10px auto;
}

section.steps .steps-container > div i {
  font-size: 16px;
  color: #4c5d61;
}

section.benefits {
  background-color: #88a5b0;
}

section.benefits img {
  float: right;
  margin-left: 40px;
}

@media (max-width: 1000px) {
  section.benefits img {
    margin: 0 auto 30px auto;
    display: block;
    float: none;
  }
}

section.benefits h2 {
  color: white;
  margin-bottom: 30px;
  font-weight: bold;
}

section.benefits p {
  color: white;
  font-size: 16px;
}

section.benefits p .material-icons {
  vertical-align: top;
}

section.faq {
  background-color: white;
}

section.faq > div {
  display: flex;
}

section.faq > div div:first-of-type {
  flex-grow: 1;
}

section.faq > div a {
  display: inline-block;
  margin-left: 40px;
  margin-top: 50px;
}

section.faq h4 {
  color: #4f626c;
  padding: 20px;
  border-left: 5px solid #a6bdc6;
  background: #f8fafc;
  cursor: pointer;
  font-size: 12pt;
}

section.faq p {
  display: none;
  margin: 20px;
}

.rates-page table tr.group td {
  background-color: #698089;
  color: white;
}

.rates-page table td {
  padding: 5px 10px;
}

.rates-page table td:first-of-type {
  width: 120px;
}

.rates-page table td:last-of-type {
  width: 160px;
}

.rates-page h3 {
  background-color: #93a9b4;
  color: white;
  padding: 10px;
  font-size: 18px;
}

.rates-page h3:not(:first-of-type) {
  margin-top: 30px;
}

.rates-page .pairs div {
  display: inline-block;
  padding: 10px;
  border: 1px solid #cccccc;
  margin-right: 5px;
  margin-bottom: 5px;
  width: 88px;
}

.rates-page div.tabs {
  box-shadow: 0 0 10px #00000022;
  display: flex;
  flex-direction: column;
}

.rates-page div.tabs div.tabHeaders {
  display: flex;
  flex-direction: row;
}

@media (max-width: 768px) {
  .rates-page div.tabs div.tabHeaders {
    display: block;
  }
}

.rates-page div.tabs div.tabHeaders div.tabHeader {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #4e5c61;
  flex-grow: 1;
  padding: 15px;
  font-size: 22px;
  cursor: pointer;
  background-color: #e0e6e8;
  border-right: 1px solid white;
}

.rates-page div.tabs div.tabHeaders div.tabHeader.selected {
  background-color: white;
}

@media (max-width: 768px) {
  .rates-page div.tabs div.tabHeaders div.tabHeader {
    font-size: 16px;
    border-right: none;
    border-bottom: 1px solid white;
  }
}

.rates-page div.tabs div.tab {
  padding: 25px;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 0 10px 10px;
  background: #e0e6e8;
  display: none;
}

.rates-page div.tabs div.tab.selected {
  display: flex;
  background: white;
}

@media (max-width: 1000px) {
  .rates-page div.tabs div.tab {
    padding: 15px;
  }
}

.rates-page .search {
  padding: 4px 6px;
  width: 350px;
  font-size: 16px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .rates-page .search {
    width: 100%;
  }
}

.rates-page span.deleteicon {
  position: relative;
}

.rates-page span.deleteicon span {
  position: absolute;
  display: block;
  top: 0;
  right: 5px;
  width: 18px;
  height: 18px;
  background: url("/img/clear_black_18x18.png");
  cursor: pointer;
}

