:root {
/*  --bgcol: #201A64;
*/ 
  --shapecol: #405f96;
    --bgcol: #333333;
  --logocol: #00b9ff;
  --hovercol: #00a4df;
  --buttoncol: #2ed06e;
  --linkcol: #f1f4f7;
  --darkblue: #4C505F;
}

/* Background */

#bg {
  position: relative;
  background: var(--bgcol);
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

#bg-square {
  background: var(--shapecol);
  position: absolute;
  bottom: -20px;
  width: 550px;
  height: 46vh;
  z-index: 0;
}

#bg-square::after {
  content: "";
  position: absolute;
  right: 0;
  border-left: 120px solid transparent;
  border-bottom: 45vh solid var(--bgcol);
}

#bg-circle {
  background: var(--shapecol);
  position: absolute;
  left: 60%;
  bottom: -5vh;
  height: 45vh;
  width: 90vh;
  border-top-left-radius: 90vh;
  border-top-right-radius: 90vh;
  z-index: 0;
}

#bg-circle::after {
  content: "";
  background: white;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 5vh;
}

/* Main content: Hero page */
/*#landing-page {
  position: relative;
  margin: 14vh auto 34px auto;
  width: 90%;
  max-width: 1100px;
  z-index: 1;
}*/

#landing-page {
  width: 100%;
}

#information-container {
  float: left;
  display: flex;
  flex-direction: column;
  margin-right: 2%;
  width: 48%;
}
#service-description {
  margin: 4vh 0 6vh 0;
  line-height: 22px;
}

#service-description p {
  letter-spacing: 0.04em;
}

#information-container a {
  color: var(--logocol);
  font-weight: bold;
}

.how-it-works-button {
  background: var(--bgcol);
  padding: 12px;
  line-height: 16px;
  width: 150px;
  border-radius: 3px;
  border: 1px solid var(--logocol);
  color: var(--logocol);
  font-weight: bold;
}

.how-it-works-button:hover {
  background: var(--logocol);
  color: white;
  cursor: pointer;
}

#accreditation-container {
  margin: 100px 0 0 0;
  width: 100%;
  line-height: 22px;
  font-weight: bold;
}

.accreditation {
  width: 50%;
  margin: 6px 0;
}

.accreditation figcaption {
  margin: 3px;
  width: 210px;
}

.accreditation img {
  float: left;
  margin-right: 10px;
  height: 70px;
  width: 70px;
}

#tuev-figure {
  float: left;
}

#customer-figure {
  float: right;
}

/* Right side of page */
#floating-calculator {
  background: var(--bgcol);
  float: right;
  margin: 0 0 34px 2%;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: -2px -1px 40px 0 rgb(0, 0, 0, 0.15),
    1px 3px 30px 0 rgb(55, 81, 126, 0.7);
}

#money-tab-container {
  background: #253655;
  display: flex;
  justify-content: space-between;
}

.money-tab {
  background:  var(--darkblue);/*linear-gradient(35deg, #25375f, #2c4060);*/
  padding: 20px 0;
  line-height: 27px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  flex: 1;
}

.money-tab:hover {
  background: var(--darkblue);
}

.tab-text {
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  color: white;
}

.tab-icon {
  color: var(--logocol);
}

.selected-tab, .selected-tab:hover, .selected-tab p {
  background: var(--bgcol);
  color: white;
}

.tab-contents {
  position: relative;
  display: block;
  margin: 34px;
}

#receive-money-tab-content {
  display: none;
  
}

#debit-card-tab-content {
  display: none;
  
}

.cash-value-box {
  background: white;
  position: relative;
  display: inline-block;
  width: 100%;
  border-radius: 4px;
}

.cash-value-box:hover {
  box-shadow: 0 0 1px 1px var(--logocol);
}

.cash-value-box-error {
  box-shadow: 0 0 0px 1.5px #C73B3B;
}

.cash-value-box p {
  padding: 9px 7px 0 7px;
  margin-left: 2px;
  width: 70%;
  /*font-size: 13px;*/
  color: var(--shapecol);
}

.cash-value-box input[type="text"] {
  padding: 0 7px 9px 7px;
  width: 70%;
  color: #10455B;
  font-size: 22px;
  border: none;
  border-radius: 4px;
}

.cash-value-box input[type="text"]::placeholder {
  color: #10455B;
  opacity: 1;
}

.cash-value-box input[type="text"]:focus {
  outline: none;
}

#receive-money-output-box {
  margin-top: 6px;
}

#insufficient-amount-error {
  display: none;
  position: relative;
  background: #FFDFDF;
  border-radius: 0 0 3px 3px;
}

#insufficient-amount-error::before {
  content: "▲";
  position: absolute;
  margin: -16px 0 0 16px;
  color: #FFDFDF;
}

#insufficient-amount-error-text {
  padding: 5px 15px;
  width: 99%;
  color: #C73B3B;
}

.currency-select {
  background:  var(--gray-dark);
  position: absolute;
  right: 0;
  padding: 1.5px 0;
  width: 30%;
  height: 100%;
  cursor: pointer;
  border: none;
  border-radius: 0 3px 3px 0;
  text-align-last: center;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

#fee-bullet-point-line {
  background: #253655;
  position: absolute;
  left: 13px;
  width: 2px;
  height: 150px;
}

.fee-bullet-point-circle {
  background: #253655;
  position: absolute;
  margin-left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

#fee-bullet-point-1 {
  margin-top: 60px;
}

#fee-bullet-point-2 {
  margin-top: 90px;
}

#fee-bullet-point-3 {
  margin-top: 120px;
}

#fee-breakdown-grid {
  display: grid;
  grid-template-columns: max-content auto;
  grid-template-rows: 30px 0px 30px;
  margin-left: 30px;
}

#show-fee-button {
  position: relative;
  display: inline-block;
  margin: 16px 9px;
  cursor: pointer;
  font-weight: bold;
  color: var(--logocol);
}

#show-fee-button::before {
  content: "▼ ";
}

#fee-value {
  font-weight: bold;
}

.fee-details {
  visibility: hidden;
}

#fee-breakdown-grid select {
  background: #10455B;
  padding: 5px;
  margin-top: -5px;
  margin-right: 3px;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  font-size: 13px;
  color: #ffffff;
}

#fee-breakdown-grid a {
  text-decoration: none;
  border-bottom: 1px dotted var(--logocol);
  color: #d3d5d8;
}

#amount-to-convert {
  margin-right: 5px;
}

#savings-container p {
  margin: 20px 0;
  line-height: 22px;
}

#compare-get-started-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
}

#compare-button,
#get-started-button {
  flex: 1;
  padding: 13px;
  min-height: 40px;
  cursor: pointer;
  border: none;
  border-radius: 3px;
  font-weight: bold;
}

#compare-button {
  background: var(--logocol);
  margin-right: 10px;
}

#compare-button:hover {
  background: #00a4df;
}

#get-started-button {
  background: var(--buttoncol);
  margin-left: 10px;
}

#get-started-button:hover {
  background: #28b862;
}

#how-it-works-mobile-button {
  display: none;
  margin: auto;
}

/* Media queries */
@media only screen and (max-width: 925px) {

  #service-description,
  #how-it-works-laptop-button,
  #accreditation-container,
  #bg-square,
  #bg-circle {
    display: none;
  }

  #landing-page {
    width: 80%;
  }

  #information-container {
    float: none;
    width: 100%;
    align-items: center;
  }

  #floating-calculator {
    float: none;
    width: 100%;
    margin-left: 0;
  }

  #how-it-works-mobile-button {
    display: block;
  }
}

/* Media queries: mobile screens */
@media only screen and (max-width: 710px) {
  #signup-link {
    margin: 11px 0;
  }

 #fee-breakdown-grid {
    font-size: 13px;
  }
  
  .tab-icon {
    font-size: 16px;
  }

  #fee-breakdown-grid select {
    margin-top: 0px;
    font-size: 12px;
  }

  #fee-breakdown-grid {
    grid-template-columns: 88px auto;
    align-items: center;
  }

  #show-fee-button {
    margin-left: 11px;
  }

  #compare-get-started-container {
    flex-direction: column;
  }

  #compare-button,
  #get-started-button {
    margin: 0 0 10px 0;
  }

  #how-it-works-mobile-button {
    margin-top: -14px;
  }
}

@media only screen and (max-width: 570px) {
  #landing-page {
    width: 100%;
  }

  #information-container {
    padding: 0 3%;
  }

  .tab-contents {
    margin: 34px 8px;
  }
  
  .tab-text {
    font-size: 13px;
  }
}
