/* global comments */
/*@lrflex-dir
@rlflex-dir*/
/* switch account */
.switch-account-cards-holder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(336px, 1fr));
  gap: 28px;
}
@media (max-width: 580px) {
  .switch-account-cards-holder {
    grid-template-columns: 1fr;
  }
}
.mobile.switch-account-cards-holder {
  display: flex;
  margin: 14px -20px;
  padding: 0 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mobile.switch-account-cards-holder::-webkit-scrollbar {
  display: none;
  width: 0px;
  height: 0px;
}
.mobile.switch-account-cards-holder::-webkit-scrollbar-track {
  background: transparent;
}
.mobile .switch-account-card {
  min-width: 240px;
  flex-basis: 100%;
}
.mobile .switch-account-card.international {
  order: -1;
}
.switch-account-card {
  border-radius: 7px;
}
.switch-account-card .profile-overlay {
  display: flex;
  height: 100%;
  padding: 14px;
}
.profile-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 200px;
  z-index: 10;
}
.switch-account-card.br,
.switch-account-card.bh,
.switch-account-card.mu {
  border: 1px solid #002857;
}
.switch-account-card.br .profile-overlay,
.switch-account-card.bh .profile-overlay,
.switch-account-card.mu .profile-overlay {
  position: relative;
  overflow: hidden;
}
.switch-account-card.br .profile-overlay:before,
.switch-account-card.bh .profile-overlay:before,
.switch-account-card.mu .profile-overlay:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
}
.switch-account-card.br.not-active,
.switch-account-card.bh.not-active,
.switch-account-card.mu.not-active {
  border-color: #d0d8e1;
}
.switch-account-card.br.not-active .profile-overlay:before,
.switch-account-card.bh.not-active .profile-overlay:before,
.switch-account-card.mu.not-active .profile-overlay:before {
  filter: grayscale(1);
  transition: all 0.2s linear;
}
.switch-account-card.br.dynamic.not-active:hover .profile-overlay:before,
.switch-account-card.bh.dynamic.not-active:hover .profile-overlay:before,
.switch-account-card.mu.dynamic.not-active:hover .profile-overlay:before {
  transform: scale(1.05);
  filter: none;
}
.switch-account-card.br.dynamic.not-active:hover .card-title,
.switch-account-card.bh.dynamic.not-active:hover .card-title,
.switch-account-card.mu.dynamic.not-active:hover .card-title,
.switch-account-card.br.dynamic.not-active:hover .section-heading,
.switch-account-card.bh.dynamic.not-active:hover .section-heading,
.switch-account-card.mu.dynamic.not-active:hover .section-heading,
.switch-account-card.br.dynamic.not-active:hover .profile-status .equity-tooltip,
.switch-account-card.bh.dynamic.not-active:hover .profile-status .equity-tooltip,
.switch-account-card.mu.dynamic.not-active:hover .profile-status .equity-tooltip {
  color: #002857;
}
.switch-account-card.br.dynamic.not-active:hover .profile-flag,
.switch-account-card.bh.dynamic.not-active:hover .profile-flag,
.switch-account-card.mu.dynamic.not-active:hover .profile-flag {
  opacity: 1;
}
.switch-account-card.br .profile-overlay:before {
  background-image: url("../../images/profiles/brazil-profile-card-bg.png");
}
.switch-account-card.bh .profile-overlay:before,
.switch-account-card.mu .profile-overlay:before {
  background-image: url("../../images/profiles/bahamas-profile-card-bg.png");
}
.switch-account-card.not-active .card-title,
.switch-account-card.not-active .section-heading,
.switch-account-card.not-active .profile-status .equity-tooltip {
  color: #66778a;
  fill: #66778a;
}
.switch-account-card.not-active .profile-flag {
  opacity: 0.6;
}
.switch-account-card.international {
  background: #002857;
  border: 1px solid #002857;
}
.switch-account-card.international .profile-overlay {
  position: relative;
  color: #fff;
}
.switch-account-card.international .profile-overlay:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../../images/profiles/international-profile-card-bg.png") no-repeat 0 0;
  background-size: cover;
  mix-blend-mode: soft-light;
}
.switch-account-card .card-title {
  color: #002857;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}
.switch-account-card.international .card-title {
  color: #ffffff;
}
.switch-account-card .min-deposit {
  font-size: 14px;
  font-weight: bold;
  margin-top: 7px;
}
.switch-account-card .btn {
  display: inline-block;
  background: transparent;
  border-radius: 3px;
  font-size: 14px;
  padding: 9px 27px;
}
.switch-account-card .btn.activate-account-btn {
  border: 1px solid #ffffff;
  color: #ffffff;
}
.switch-account-card .btn.activate-account-btn:hover,
.switch-account-card .btn.activate-account-btn:focus-visible {
  background: #ffffff;
  color: #002857;
}
.switch-account-card .btn.switch-account-btn {
  border: 1px solid #002857;
  color: #002857;
}
.switch-account-card .btn.switch-account-btn:hover,
.switch-account-card .btn.activate-account-btn:focus-visible {
  color: #ffffff;
  background: #002857;
}
.switch-account-card .btn.activate-account-btn:hover:active,
.switch-account-card .btn.switch-account-btn:hover:active {
  opacity: 0.75;
}
.switch-account-card .btn[disabled] {
  opacity: 0.25;
}
.switch-account-card .profile-status {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
}
@media (max-width: 768px) {
  .switch-account-card .profile-status {
    flex-direction: column;
    align-items: flex-start;
  }
}
.mobile .switch-account-card .profile-status {
  flex-direction: column;
  align-items: flex-start;
}
.switch-account-card .more {
  font-size: 14px;
  color: #66778a;
  /*!!! defined to be rtl/ltr !!!*/
  margin-left: 5px;
}
.switch-account-card.international .more {
  color: #ffffff;
}
.switch-account-card .active-icon {
  display: inline-block;
  width: 17px;
  height: 17px;
  background: url("../../images/profiles/active-profile-icon.svg") no-repeat 0 0;
  vertical-align: text-bottom;
  /*!!! defined to be rtl/ltr !!!*/
  margin-right: 5px;
}
.switch-account-card .active {
  color: #077456;
}
.profile-flag {
  display: inline-block;
  width: 28px;
  height: 28px;
  flex-grow: 0;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center center;
}
.profile-flag.br {
  background-image: url("../../images/profiles/brazil-flag.svg");
}
.profile-flag.bh,
.profile-flag.mu {
  background-image: url("../../images/profiles/bahamas-flag.svg");
}
.profile-flag.international {
  background-image: url("../../images/profiles/international-flag.svg");
}
.profile-status .equity-tooltip {
  margin: 0;
}
.switch-account-card.international .profile-status .equity-tooltip svg {
  fill: #00d49a;
}
.pa-green {
  color: #00d49a;
  fill: #00d49a;
}
/* switch account popup */
#switch_account_popup .modal-dialog.modal-small {
  width: 390px;
}
#switch_account_popup .page-title {
  font-size: 20px;
  margin-bottom: 7px;
}
.choose-profile-button {
  position: relative;
  border: 1px solid rgba(0, 40, 87, 0.2);
  padding: 14px;
  border-radius: 7px;
}
.choose-profile-button:hover {
  border: 1px solid rgba(0, 40, 87, 0.4);
}
.choose-profile-button:active,
.choose-profile-button.active {
  background: #f5f5f5;
  border: 1px solid rgba(0, 40, 87, 0.4);
}
.choose-profile-button .choose-profile-radio input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.choose-profile-button .choose-profile-radio label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.choose-profile-button .section-heading {
  display: block;
  font-size: 16px;
}
.choose-profile-button .more {
  font-size: 14px;
}
.choose-profile-button .account-name {
  flex-grow: 1;
}
#switch_account_popup .modal-footer {
  display: none;
}
/* investor profiles */
#suitabilityProfile .page-title {
  margin-bottom: 7px;
}
.all-profiles h2 {
  color: #66778a;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 14px;
  text-align: center;
}
.profile-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 35px;
  border-radius: 3px;
  overflow: clip;
}
@media (max-width: 768px) {
  .profile-levels {
    grid-template-columns: 1fr;
  }
}
.profile-level-card {
  text-align: center;
  padding: 14px;
}
.profile-level-card.active {
  background-color: rgba(0, 40, 87, 0.1);
}
.profile-level-card img {
  max-width: 100%;
  height: 60px;
  margin-bottom: 14px;
  opacity: 0.5;
}
.profile-level-card h3 {
  color: #002857;
  font-size: 16px;
  margin-bottom: 14px;
  font-weight: 700;
}
.profile-level-card p {
  color: #002857;
  font-size: 12px;
}
.current-profile {
  text-align: center;
}
.current-profile h2 {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  color: #002857;
}
.profile-badge {
  margin: 14px 0;
}
.profile-badge img {
  height: 126px;
}
.current-level {
  color: #1976D2;
  font-size: 20px;
  font-weight: 700;
}
.retake-info {
  background-color: rgba(0, 40, 87, 0.1);
  padding: 14px;
  border-radius: 3px;
}
.retake-info p {
  color: #002857;
  font-size: 16px;
  margin: 0;
}
/* derivatives */
.derivatives-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(165px, 1fr));
  column-gap: 21px;
  margin-top: 28px;
}
@media (max-width: 1200px) {
  .derivatives-grid {
    grid-template-columns: repeat(3, minmax(165px, 1fr));
  }
}
@media (max-width: 620px) {
  .derivatives-grid {
    grid-template-columns: repeat(2, minmax(165px, 1fr));
  }
}
@media (max-width: 450px) {
  .derivatives-grid {
    grid-template-columns: repeat(1, minmax(165px, 1fr));
  }
}
.derivatives-grid img {
  height: 75px;
}
.derivatives-grid h3 {
  font-size: 18px;
  font-weight: bold;
  color: #002857;
  margin-bottom: 7px;
  margin-top: 14px;
}
.derivatives-grid p {
  margin-bottom: 0;
}
#manage_derivatives_container h2 {
  font-size: 28px;
  font-weight: bold;
  color: #002857;
  margin-top: 0;
}
#manage_derivatives_container hr,
#suitabilityProfile hr {
  margin-top: 35px;
  margin-bottom: 35px;
  border-color: #D0D8E1;
}
#manage_derivatives_container ol {
  list-style-position: inside;
  padding: 0;
}
#manage_derivatives_container .status-btn .btn-blue {
  background: transparent;
  color: #002857;
  border: 2px solid #002857;
}
