.btn-primary {
  background-color: #16CA94 !important;
}

.set-max-width {
  max-width: 100px !important;
}

.loader-box {
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  top: 40%;

}
.loader-box-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.loader {
  display: inline-flex;
  gap: 5px;
}
.loader:before,
.loader:after {
  content: "";
  width: 50px;
  aspect-ratio: 1;
  box-shadow: 0 0 0 3px inset #000;
  animation: l5 1.5s infinite;
}
.loader:after {
  --s:-1;
}
@keyframes l5 {
  0%   {transform:scaleX(var(--s,1)) translate(0) scale(1)}
  33%  {transform:scaleX(var(--s,1)) translate(calc(50% + 2.5px)) scale(1)}
  66%  {transform:scaleX(var(--s,1)) translate(calc(50% + 2.5px)) scale(2)}
  100% {transform:scaleX(var(--s,1)) translate(0) scale(1)}
}


.update_account_check_radio {
  border-radius: 0px;
  background: black;
  color: red;
  border: 2px dotted green;

}
.g-recaptcha {
  display: inline-block;
}
.logo-adjustment {
  margin: auto;
  max-width: 200px;
}
#sticky-footer {
  flex-shrink: none;
}

.bottom-navbar {

  background-color: white !important;
  margin-top: 100px !important;
  margin-bottom: 50px !important;

}
.bottom-adjustment {
  padding-top: 10px !important;
  padding-bottom: 20px !important;
}

.ul-main-links {
  margin: 0.75em 0;
  padding: 0 1em;
  list-style: none;
}
.li-main-links::before { 
  content: "";
  border-color: transparent #111;
  border-style: solid;
  border-width: 0.35em 0 0.35em 0.45em;
  display: block;
  height: 0;
  width: 0;
  left: -1em;
  top: 0.9em;
  position: relative;
}
.position-right {
  text-align: right;
  font-size: larger;
}
.news-title {
  text-align: center;
  margin: auto;
}
/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
/* .prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
} */

/* Position the "next button" to the right */
/* .next {
  right: 0;
  border-radius: 3px 0 0 3px;
} */

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
/* .fade { */
  /* animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .8}
  to {opacity: 1}
} */

.header-background {
/*  background-color: transparent;*/
  background-color: white;
}
.icon-box {
  height: 100px;
  width: auto;
}
.nav-link {
  color: black !important;
}
.footer-box {
  margin: auto;
  text-align: center;
}
.title-box {
  margin: auto;
  text-align: center;
  padding: 30px;
}
  .title-box-outer {
    border-radius: 50px;
    border: 0px;
    background: #F7D767;
    color: white;
    font-weight:500;
    padding: 5px 50px;
      /* display: block; */
      position: relative;
      /* margin: 2em auto;
      width: 16em;
      height: 9em; */
  }
  .title-box-outer-absolute {
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: 1px darkgrey solid;
    background: transparent;
    color: white;
    font-weight:500;
    padding: 5px 20px;
      /* display: block; */
      position: absolute;
      left: 5px;
      top:3px;
      /* margin: 2em auto;
      width: 16em;
      height: 9em; */
  }

      
  .title-box-outer:after {
    content: '';
    background: blue;
    border: 1px solid black;
    top: 7px;
    right: 7px;
    bottom: -7px;
    left: -7px;
    position: absolute;
    z-index: -1;
  }
.center-items {
  margin: auto;
  text-align: center;
}
  
.main-image {
  max-height: 400px;
  width: auto;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.text-with-border {
  text-align: center;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0px 10px;
  position: relative;
  z-index: 10;
}
.border-for-text-with-border {
  width: 100%;
  position: absolute;
  bottom: 2px;
  left: -5px;
  border-bottom: 4px solid darkgrey;
  border-radius: 10px;
  z-index: 5;
}
.general-border-for-text-with-border {
  text-align: left;
  text-decoration: underline;
  text-decoration-color: #16CA94;/*orange;*/
  text-decoration-thickness: 5px;
}

.position-left {
  text-align: left !important;
  margin: initial;
}
.no-padding {
  padding: 20px 0px !important;
}

.set-margin-auto {
  margin: auto;

}
.flex-image-container {
  display: flex;
  margin: auto;
  align-items: center;
  justify-content: center;
}
.affiliate-image {
  width: 200px;
  height: auto;
  padding: 10px;
}
.image-with-border {
  display: inline-block;

  border-radius: 5px;
  border: 1px solid black;
  margin: 10px;
  padding: 10px;
}
.make-shorter {
  width: 70%;
  text-align: center;
  margin: auto;
}
.add-background-for-affiliate {
    height: 200px;
/*    background-image: url("../images/affiliate/05.png");*/
    background-repeat: no-repeat, no-repeat;
    background-position: right;
    background-size: contain;
    width: 80%;
    margin: auto;
}

.table-container {
  display: table;
}
.table-cell-container {
  display: table-cell;
  vertical-align: middle;
  font-size: larger;
  font-weight: bolder;
}

.number-circle {
  margin: 5px;
  padding: 20px;
  font-size: 1.5rem;
  background-color:#74DBE3;
  color: white;
  font-weight: 900;
  border-radius: 100%;
  width:75px;
  height: 75px;

}


.regular-text {
  padding: 30px 50px;
  margin: auto;
  position: relative;
  span {
    text-align: center;

  }
}

.regular-text-answer {
  padding: 30px 10px;
  margin: auto;
  position: relative;
  span {
    text-align: center;

  }
}
.image-inside-text-right {
  position: absolute;
  vertical-align: bottom;
  right: 0px;
  bottom: 0px;

}

.service-praise-image {
  width: 100%;
  height: auto;
  margin: auto;
}
.service-praise-image-bottom {
  width: 100%;
  height: auto;
  margin: auto;

}
.page-title {
  /* height: 150px; */
  width: 100%;
  background-color: #F6F6F6;
/*  background-image: url("../images/haikei.png");

  background-repeat: no-repeat, no-repeat;
  background-position: center, center; */
}
.page-title-text {
  text-align: center;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
}
.back-button-container {
  position: absolute;
  left: 10px;
  top: 20px;
}
.back-button {
  background-color: #16CA94 !important; /*#F17E1C !important*/;
    color: white !important;
    width: 100%;
    margin: auto;
    text-align: center;
    border-radius: 20px;
    padding: 5px 10px;
        border: none;
}
.page-title-text-h {
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
  1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

.special-colored-text-blue {
  color: #74DBE3;
}

.header-with-padding {
  padding-top: 10px;
  padding-bottom: 10px;
}

  /* .title-box-outer::after {
    top: 1rem;
    right: -1rem;
    bottom: -1rem;
    left: 1rem;
    border: 2px solid black;
  } */

  .mobile {
    display: none;
  }

  .contact-form {
    max-width: none;

  }
  .form-row-container {
    display: flex;
  }
  .form-row-column {
    display: table-cell;
    vertical-align: top;
    width: 30%;
    padding: 5px;;
  }
  .form-row-column:last-child {
    width: 70%;
  }

  .error {
    color: darkred;
  }
  .ib-explanation {
    width: 100%;
    min-height: 50px;

  }
  .ib-explanation-display {
    white-space: pre-line;

  }
  .contact-input {
    border-radius: 5px;
    padding: 10px;
    width: 90%;
    border: 1px solid darkgrey;
  }

  .submit-button-container {
    width: 100%;
    text-align: center;
  }
  .submit-button-container-2 {
    width: 50%;
    text-align: center;
    margin: auto;
  }

  .submit-button {
    background: #3A4967;
    color: white;
    border-radius: 20px;
    padding: 10px 30px;
    margin: auto;
    text-align: center;
  }

  .login-button {
  background-color: #16CA94 !important; /*#F17E1C !important*/;
    color: white !important;
    width: 100%;
    margin: auto;
    text-align: center;
    border-radius: 20px;
    padding: 10px 30px;
        border: none;
  }

  .company-details {
    margin: auto;
    text-align: center;
    width: 80%;
    margin-bottom: 50px;
  }
  .company-details-box {
    display: table;
    text-align: center;
    margin: auto;
    width: 100%;
  }
  .company-details-left-box {
    padding: 10px;
    margin: 10px;
    display: table-cell;
  }
  .company-details-right-box {
    width: 70%;
    padding: 10px;
    margin: 10px;
    display: table-cell;
  }
  .company-details-middle-border-box {
    margin: 5px;
    padding: 5px;
    width: 1px;
    display: table-cell;
    /* border-right: 1px solid darkgrey; */
  }

  .middle-box {
    border-top: 1px solid darkgrey;
    border-bottom: 1px solid darkgrey;

  }
  .remove-padding {
    padding: initial !important;
  }

  .navbar-dark .navbar-toggler-icon {
    background-image: url('../images/hamburger-menu.svg') !important;
  }

  .navbar-dark .navbar-toggler {
    color: #00D9B1 !important;
    border-color: #00D9B1 !important;
  }
  .navbar-toggler {
    color: #00D9B1 !important;
    border-color: #00D9B1 !important;
  }
  .navbar-dark .navbar-toggler-icon {
    /* background-color: black !important; */
  }

  .slider-image {
    /* width: 90%; */
    height: auto;
    /* max-height: 300px; */
  }

  .ranking-header {
    margin: auto;
    text-align: center;

  }
  .ranking-subheader {
    margin: auto;
    text-align: center;
    position: relative;
  }
  .ranking-subheader-bottom-box {
    position: absolute;
    bottom: 0px;
    border-radius: 5px;
    height: 5px;
    background-color: darkgray;
    width: 120px;
    
  }
  .ranking-subheader-bottom-box-color {
    position: absolute;
    display: inline;
    width: 30%;
    text-align: left;
    background-color: #F7D767;
    z-index: 1000;
    height: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    left: 0px;
  }

  .ranking-table {
    text-align: center;
    width: 90%;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  th {
    padding: 20px;
    background-color: darkgrey;      
    border: 1px solid black;
  }

  td {
    position: relative;
    padding: 20px;
    border: 1px solid black;
    height: 50px;
  }

  .new-ranking {
    position: absolute;
    left: -40px;
    top: 20px;
    width: 80px;
    height: 50px;
    /* background: cornflowerblue; */
    color: #F7D767;
    z-index: 1000;
    border-radius: 100%;
    padding-top: 15px;
    padding-left: 5px;
    font-size: 13px;
    background-image: url("../images/fxcompanies/04.png");
    background-repeat: no-repeat, no-repeat;
    background-position: right;
    background-size: contain;
    text-shadow: 1px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
    1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
  }
  .rank-place-1 {
    background-image: url("../images/fxcompanies/01.png");
    background-repeat: no-repeat, no-repeat;
    background-position: initial;
    width: 50px;
    background-size: contain;
    height: 50px;
    margin: auto;
  }
  .rank-place-2 {
    background-image: url("../images/fxcompanies/02.png");
    background-repeat: no-repeat, no-repeat;
    background-position: initial;
    width: 50px;
    background-size: contain;
    height: 50px;
    margin: auto;
  }
  .rank-place-3 {
    background-image: url("../images/fxcompanies/03.png");
    background-repeat: no-repeat, no-repeat;
    background-position: initial;
    width: 50px;
    background-size: contain;
    height: 50px;
    margin: auto;
  }

.service-logo {
  width: 200px;
  height: auto;
  text-align: center;
  margin: auto;
  margin-bottom: 20px;
}
.how-to-use-affiliate-box {
  display: inline-block;
  position: relative;
  width: 150px;
  height: 120px;
  background:#74DBE3;
  border-radius: 10px;
  vertical-align: middle;
    text-align: center;
    margin: auto;
    padding-top: 40px;
    font-size: larger;

}
.how-to-use-affiliate-box-number {
  position: absolute;
  top: -30px;
  left: 50px;
  width: 50px;
  height: 50px;
  border: 2px solid #74DBE3;
  background: white;
  border-radius: 100%;
  font-size: 25px;
  padding-top: 3px;
}
.how-to-use-affiliate-box-arrow {
  display: inline-block;
}
.register-box {
  max-width: 50%;
  padding: 10%;
  margin: auto;
}

.affiliate-table {
  background-color: #F7D766;
}

.m-table {
  width: 100%;
  /* max-width: 900px; */
  margin: auto;
  margin-top: 10px;
  margin-bottom: 50px;
}
.affiliate-text {
  max-width: 100%;
  text-align: left;
}
.hide-mobile {
  display: none;
}
.show-pc {
  display:block;
}
.pc-version {
  width: 100%;
}
.news-box {
  width: 100%;
  background-color: #F7D767;
}
.red {
  color:#FF4C3B!important ;
}
.m-caution>li {
  font-size: smaller !important;
  text-align: left;
  list-style: none;
}

.broker-logo {
  max-width: 90% !important;
    margin: auto !important;
}
.section {
  padding-top:  10px !important;
  padding-bottom: 20px !important;
}

.input-wrapper {
  position: relative;
}

.input-box {
  border: 1px solid gray;
  border-radius: 6px;
  position: relative;
  /* width: 200px; */
  margin: 10px;
  line-height: 6ex;
}

.label-box {
  position: absolute;
  top: -10px;
  z-index: 1;
  left: 2em;
  background-color: white !important;
  padding: 0 5px;
}

  @media only screen and (max-width: 1000px) {
    .hide-mobile {
      display: block;
    }
    .show-pc {
      display:none;
    }
    .mobile-version-img {
      max-width: 100% !important;
    }
  /* Slideshow container */
  .slideshow-container {
    max-width: 500px;
    position: relative;
    margin: auto;
  }
  .main-image {
    max-height: 250px;
    width: auto;
    max-width: 600px;
  }

  .bottom-navbar {

    background-color: white !important;
    margin-top: 100px !important;
    margin-bottom: 50px !important;
  
  }
  .bottom-adjustment {
    padding-top: 10px !important;
    padding-bottom: 20px !important;
  }
  .contact-form {
    max-width: 600px;

  }
  .register-box {
    max-width: 100%;
  }
  }

  @media only screen and (max-width: 767px) {
    .how-to-use-affiliate-box {
      display: block;
    }
    .how-to-use-affiliate-box-arrow {
      display: block;
      margin: 30px;
      transform: rotate(90deg);
  }

  }
@media only screen and (max-width: 600px) {

  .adjust-height-for-service-list {
    height: auto;
  }
  .m-table {
    width: 100%;
    max-width: 500px;
  }

  
  .page-title-text-h {
    font-size: 1.5rem;
  }

  .navbar-brand {
    max-height: 50px;
  }
  .icon-box {
    max-height: 50px;
  }

  .page-title {
    height: 100px;
    width: 100%;
    /* background-image: url("../images/haikei.png"); */
    background-repeat: no-repeat, no-repeat;
    background-position: center, center; 
  }
  .page-title-text {
    text-align: center;
    margin: auto;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .add-background-for-affiliate {
    width: 100%;
    height: 250px;
  }
  .make-shorter {
    width: 100%;
  }
  .flex-image-container {

    display: block;
  }
  .bottom-navbar {

    background-color: white !important;
    margin-top: 100px !important;
    margin-bottom: 50px !important;
  
  }
  .bottom-adjustment {
    padding-top: 10px !important;
    padding-bottom: 20px !important;
  }
/* Slideshow container */
.slideshow-container {
  max-width: 300px;
  position: relative;
  margin: auto;
}
.desktop {
  display: none;
}
.mobile {
  display: block;
}
.text-with-border {
  margin: unset;
  text-align: left;
  margin-left: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 10px;

}
.border-for-text-with-border {
  width: 100%;
  position: absolute;
  bottom: 10px;
  left: -5px;
  border-bottom: 4px solid darkgrey;
  border-radius: 10px;
  z-index: 5;
}
.main-image {
  max-height: 200px;
  width: auto;
  max-width: 300px;
}
.regular-text {
  padding: 0px 20px;
}
.image-inside-text-right {
  position: relative;
  float: right;
  vertical-align: bottom;

}
.service-praise-image {
  max-width: 240px;
  height: auto;
  margin: auto;
}
.service-praise-image-bottom {
  width: 100%;
  height: auto;
  margin: auto;
}
.no-margin {
  margin-bottom: 0px !important;
}
.contact-form {
  max-width: 95vw;

}

.form-row-container {
  display: block;
}
.form-row-column {
  display: block;
  width: 100%;
  padding: 5px;;
}
.form-row-column:last-child {
  width: 100%;
}

.mobile-version-img {
  max-width: 100% !important;
}

}
