:root {
  --White: #ffffff;
  --Black: #000000;
  --body-background: #F1F1F1;
  --outlining: #C1C1C1;
  --100: #222222;
  --70: #707070;
  --50: #AAAAAA;

  --container-background: #ffffff;

  /* sizes */
  --17px: 1.0625rem;
  --15px: .9375rem;
  --14px: .875rem;
  --10px: .625rem;
}

.mb-30 {
  margin-bottom: 1.875rem;
}

body {
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background-color: var(--body-background);
}

body.path-user {
  background-color: #272727;
}

body.path-user.user-logged-in {
  background-color: var(--body-background);
}

header,
footer {
  background-color: var(--body-background);
}

h1 {
  font-size: 2.125rem;
  margin-bottom: 1.5rem;
}

header {
  margin-bottom: 3.125rem;
}

.form-control {
  font-size: 1.0625rem;
  line-height: 140%;
  color: var(--100);
}

.form-control::placeholder {
  color: var(--50);
}

.form-item label {
  font-weight: 500;
  font-size: 1rem;
  line-height: 135%;
  color: var(--100);
}

.form-item .description,
.form-item .description a {
  font-weight: 500;
  font-size: .875rem;
  line-height: 130%;
  color: var(--50, #AAAAAA);
}

.eye-open {
  background: url("../images/eye.svg") no-repeat;
  display: block;
  height: 1.5rem;
  width: 1.5rem;
}

.eye-close {
  background: url("../images/eye-off.svg") no-repeat;
  display: block;
  height: 1.5rem;
  width: 1.5rem;
}

.icon-64 {
  width: 4rem;
  height: 4rem;
}

@media screen and (min-width: 576px){
  .region-sidebar-first, .region-sidebar-second, .region-footer, .region-content
  {
    padding: 0;
  }
}

/* header styles */
header .navbar {
  --bs-navbar-padding-y: 1rem;
}

header .navbar-brand img,
footer .navbar-brand img {
  height: auto;
  max-width: 7.6875rem;
  width: 100%;
}

.navigation.menu--main .nav-item {
  margin-right: .5rem;
}

.navigation.menu--main .nav-item:last-child {
  margin-right: 0;
}

.navigation.menu--main .nav-item a.nav-link {
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--100);
  padding: .625rem 1rem .625rem 1.75rem;
  position: relative;
  background-color: transparent;
}

.navigation.menu--main .nav-item a.nav-link:hover,
.navigation.menu--main .nav-item a.nav-link.active,
.navigation.menu--main .nav-item a.nav-link.is-active {
  background-color: var(--White);
  border-radius: 1rem;
  font-weight: 700;
}

.navigation.menu--main .nav-item a.nav-link::before {
  content: ' ';
  display: none;
  width: .25rem;
  height: .25rem;
  border-radius: 50%;
  background-color: var(--100);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.navigation.menu--main .nav-item a.nav-link:hover::before,
.navigation.menu--main .nav-item a.nav-link.active::before,
.navigation.menu--main .nav-item a.nav-link.is-active::before {
  display: block
}

#block-proinvest-headerusermenu .user-menu-wrapper {
  margin-right: 1rem;
}

#block-proinvest-headerusermenu .user-menu-wrapper:last-of-type {
  margin-right: 0;
}

.loginWrapper {
  max-width: 8.5rem;
  padding: .625rem 1rem;
  border-radius: 1rem;
  background: var(--White);
  border: 1px solid var(--White);
}

.loginWrapper a {
  font-weight: 500;
  font-size: .875rem;
  line-height: 140%;
  color: var(--100);
  text-decoration: unset;
}

.loginWrapper .hover-trigger {
  position: relative;
}

.loginWrapper .hover-show {
  display: flex;
  flex-direction: column;
  position: absolute;
  max-width: 8.5rem;
  padding: .625rem 1rem;
  border-radius: 1rem;
  background: var(--White);
  top: 100%;
  right: -1rem;
  opacity: 0;
  z-index: 500;
}

.loginWrapper .hover-trigger:hover .hover-show {
  opacity: 1;
}

.loginWrapper .hover-show > * {
  margin-bottom: .5rem;
}

.loginWrapper .chevron-down {
  display: inline-block;
  margin-left: .75rem;
  width: 1.5rem;
  height: 1.5rem;
  background-image: url(../images/chevron-down.svg);
  transition: .5s ease-in-out;
}

.loginWrapper .hover-trigger:hover .chevron-down {
  transform: rotate(180deg);
}

.user-balance-wrapper {
  padding: .625rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--outlining);
  display: flex;
  align-items: center;
}

.user-balance-wrapper .tusd-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: .375rem;
}

.user-balance-wrapper .user-balance-amount {
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 140%;
  margin-right: .125rem;
}

.user-balance-wrapper .user-balance-currency {
  font-size: .875rem;
  line-height: 130%;
  color: var(--50);
}

.user-register-form .form-elements-wrapper,
.user-pass .form-elements-wrapper,
.email-verification-form .form-elements-wrapper,
.user-login-form .form-elements-wrapper {
  border-radius: 1.875rem;
  padding: 1.875rem;
  background: var(--White);
}

.user-register-form .form-elements-wrapper > *,
.user-pass .form-elements-wrapper > *,
.email-verification-form .form-elements-wrapper > *,
.user-login-form .form-elements-wrapper > * {
  margin-bottom: 1.5rem;
}


.user-register-form h4.login-title,
.user-pass h4.login-title,
.email-verification-form h4.login-title,
.user-login-form h4.login-title {
  font-weight: 700;
  line-height: 140%;
  color: var(--100);
}

.user-register-form .login-description,
.user-pass .login-description,
.email-verification-form .login-description,
.user-login-form .login-description,
.apikey-description {
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 140%;
  color: var(--70);
}

.user-register-form .form-actions .form-submit,
.user-pass .form-actions .form-submit,
.email-verification-form .form-actions .form-submit,
.user-login-form .form-actions .form-submit {
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 140%;
  color: var(--White);
  background: var(--Black);
  border-radius: .5rem;
  border: unset;
  padding: 1rem;
}

.user-register-form .register-wrapper.form-elements-wrapper,
.user-pass .register-wrapper.form-elements-wrapper,
.email-verification-form .register-wrapper.form-elements-wrapper,
.user-login-form .register-wrapper.form-elements-wrapper {
  margin-top: .625rem;
  padding: 1.25rem 1.5rem 1.25rem 1.875rem;
}

.user-register-form .register-wrapper.form-elements-wrapper > *,
.user-pass .register-wrapper.form-elements-wrapper > *,
.email-verification-form .register-wrapper.form-elements-wrapper > *,
.user-login-form .register-wrapper.form-elements-wrapper > * {
  margin-bottom: 0;
}

.user-register-form .register-wrapper .text,
.user-pass .register-wrapper .text,
.email-verification-form .register-wrapper .text,
.user-login-form .register-wrapper .text {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 140%;
  color: var(--100);
}

.user-register-form .register-wrapper .link a,
.user-pass .register-wrapper .link a,
.email-verification-form .register-wrapper .link a,
.user-login-form .register-wrapper .link a {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: .5rem;
  border: 1px solid var(--outlining);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 140%;
  text-align: center;
  color: var(--100);
  text-decoration: unset;
}

.black-plus-button,
a.create-new-vizitka {
  padding: .75rem 1rem .75rem 2.625rem;
  border-radius: .5rem;
  background: var(--Black);
  color: var(--White);
  text-decoration: unset;
  font-weight: 700;
  font-size: .9375rem;
  line-height: 110%;
  margin-bottom: 0;
  position: relative;
}

.black-plus-button::before,
a.create-new-vizitka::before {
  content: ' ';
  display: block;
  width: 1rem;
  height: 1rem;
  background-image: url(../images/plus-white.svg);
  background-size: contain;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

a.filter-vizitka {
  font-weight: 700;
  font-size: .9375rem;
  line-height: 110%;
  padding: .75rem 1rem;
  border-radius: .5rem;
  background-color: var(--White);
  color: var(--Black);
  margin-right: .5rem;
  text-decoration: unset;
}

a.filter-vizitka.active {
  background-color: var(--Black);
  color: var(--White);
}

.view-stranicy-vizitki .view-content .views-row {
  margin-bottom: 1.25rem;
}

.vizitka-fields-wrapper {
  padding: .625rem .625rem 1.625rem;
  border-radius: 1.875rem;
  background-color: var(--White);
  position: relative;
  height: 100%;
}

.vizitka-edit-link-wrapper {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  padding: .375rem;
  background-color: var(--White);
  border-radius: 2.5rem;
}

.vizitka-edit-link-wrapper > * {
  margin-left: .375rem;
  border: 1px solid var(--outlining);
  width: 2.375rem;
  height: 2.375rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.vizitka-edit-link-wrapper > *:first-child {
  margin-left: 0;
}

.vizitka-password-wrapper {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  padding: .375rem;
  background-color: var(--White);
  border-radius: 2.5rem;
  height: 3.125rem;
  align-items: center;
  max-width: 15.3125rem;
}

.vizitka-image-wrapper {
  border-radius: 1.5rem;
  margin-bottom: 1.25rem;
}

.vizitka-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.vizitka-title-wrapper,
.vizitka-body-wrapper {
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 140%;
  color: var(--100);
}

.vizitka-title-wrapper {
  font-weight: 700;
  min-height: 3rem;
}

.vizitka-body-wrapper {
  margin-bottom: .75rem;
  min-height: 6rem;
}

.vizitka-date-wrapper {
  font-weight: 500;
  font-size: 1rem;
  line-height: 135%;
  color: var(--50);
  margin-bottom: 1.25rem;
}

.vizitka-copy-link-wrapper span,
.vizitka-publish-unpublish-link-wrapper a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: .9375rem;
  line-height: 110%;
  text-align: center;
  text-decoration: unset;
  border: 1px solid transparent;
  padding: .5625rem 1.875rem;
  border-radius: .5rem;
  height: 100%;
}

.vizitka-publish-unpublish-link-wrapper a:hover,
.vizitka-copy-link-wrapper span {
  background-color: var(--Black);
  color: var(--White);
}

.vizitka-publish-unpublish-link-wrapper a,
.vizitka-copy-link-wrapper span:hover {
  background-color: var(--White);
  color: var(--Black);
  border-color: var(--outlining)
}

.container-style {
  padding: 2.5rem 1.875rem;
  background: var(--container-background);
  border-radius: 1.875rem;
  margin-bottom: 1.5rem;
}

.container-style .container-title,
.title-style {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 140%;
  margin-bottom: 1.5rem;
}

.personal-container .row.row-cols-sm-2 {
  margin-bottom: 2.5rem;
}

.personal-container .title {
  font-weight: 500;
  font-size: 1rem;
  line-height: 135%;
  color: var(--50);
  margin-bottom: .25rem;
}

.personal-container .value {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 140%;
  margin-bottom: 1.5rem;
}

.personal-container .change-pass-wrapper a {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 140%;
  padding: 1rem 2rem;
  border-radius: .5rem;
  border: 1px solid var(--outlining, #C1C1C1);
  color: var(--100);
  text-decoration: unset;
  display: inline-block;
}

.personal-container .edit-profile-wrapper a,
.api-keys-container>a,
.black-button {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 140%;
  padding: 1rem 2rem;
  border-radius: .5rem;
  border: 1px solid var(--White, #C1C1C1);
  color: var(--White);
  text-decoration: unset;
  background-color: var(--Black);
  display: inline-block;
}

.create-portfolio-button {
  font-weight: 700;
  font-size: .9375rem;
  line-height: 110%;
  padding: .75rem 1rem .75rem 2.5rem;
  border: 1px solid var(--outlining);
  border-radius: .5rem;
  position: relative;
  color: var(--100);
  text-decoration: unset;
}

.create-portfolio-button::after {
  position: absolute;
  left: 1rem;
  width: 1rem;
  height: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background-image: url(../images/plus.svg);
  background-position: center;
  background-size: contain;
  display: block;
  content: ' ';
}

.email-verification-form .manager-wrapper,
.personal-container .manager-wrapper {
  padding: .75rem;
  background: var(--body-background);
  border-radius: 1.875rem;
  display: flex;
  flex-direction: row;
}

.email-verification-form .manager-wrapper img,
.personal-container .manager-wrapper img {
  margin-right: .75rem;
}

.email-verification-form .manager-wrapper .manager-title,
.personal-container .manager-wrapper .manager-title {
  font-weight: 500;
  font-size: .875rem;
  line-height: 130%;
  color: var(--50);
  margin-bottom: .125rem;
}

.email-verification-form .manager-wrapper .manager-name,
.personal-container .manager-wrapper .manager-name {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 140%;
  color: var(--100);
}

.api-key-wrapper {
  padding: .875rem 1.25rem;
  border-radius: 1rem;
  background-color: var(--body-background);
  margin-bottom: .75rem;
}

.exchanger-name {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 140%;
}

.key {
  font-weight: 500;
  font-size: 1rem;
  line-height: 135%;
}

.ui-dialog.popup-style {
  padding: 2.5rem;
  box-shadow: 0 .625rem 1.875rem 0 #0000001F;
  border-radius: 1.25rem;
}

.ui-dialog.popup-style .ui-dialog-titlebar,
.ui-dialog.popup-style .ui-dialog-buttonpane {
  background-color: transparent;
  border-color: transparent;
}

.ui-dialog.popup-style input,
.ui-dialog.popup-style input {
  width: 100%;
  border-radius: .5rem;
  border: 1px solid var(--outlining);
}

.ui-dialog.popup-style .form-select:focus,
.ui-dialog.popup-style input.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: var(--bs-border-color);
  outline: 0;
  box-shadow: none;
}

.ui-dialog.popup-style .ui-dialog-titlebar,
.ui-dialog.popup-style .ui-dialog-content,
.ui-dialog.popup-style .ui-dialog-buttonpane {
  padding: 0;
}

.ui-dialog.popup-style span.ui-dialog-title {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 140%;
  text-align: center;
  color: var(--100);
}

.ui-dialog.popup-style .ui-dialog-buttonpane .ui-dialog-buttonset {
  float: unset;
}

.ui-dialog.popup-style .ui-dialog-buttonpane .form-submit
{
  padding: 1rem 2rem;
  border-radius: .5rem;
  width: 100%;
  display: inline-block;
  background-color: var(--Black);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 140%;
  text-align: center;
  color: var(--White);
}

.ui-dialog.popup-style .ui-button .ui-icon.ui-icon-closethick {
  background-image: url("../images/x.svg");
  background-size: 1rem;
  background-position: 0 0;
  width: 1rem;
  height: 1rem;
  margin-top: -.5rem;
  margin-left: -.5rem;
  z-index: 5;
}

.container-style .container-title.portfolio-form-title,
.base-information-title {
  margin-bottom: .25rem;
}

.base-information-description,
.apikey-description {
  margin-bottom: 1.5rem;
}

#edit-strategy--wrapper {
  display: flex;
  justify-content: space-between;
}

#edit-strategy--wrapper > * {
  width: 50%;
}

.user-portfolios-wrapper .portfolio-wrapper {
  border-radius: 1.865rem;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid var(--outlining);
  margin-bottom: 1.25rem;
}

.user-portfolios-wrapper .portfolio-wrapper:hover {
  background-color: var(--White);
}

.user-portfolios-wrapper .portfolio-strategy-wrapper {
  margin-bottom: 1rem;
}

.user-portfolios-wrapper .portfolio-strategy {
  font-weight: 500;
  font-size: .875rem;
  line-height: 130%;
  color: var(--100);
  background: var(--White);
  margin-bottom: 1.375rem;
  border-radius: 3.75rem;
  padding: .375rem .75rem;
}

.user-portfolios-wrapper .portfolio-wrapper:hover .portfolio-strategy {
  background-color: var(--body-background);
}

.user-portfolios-wrapper .portfolio-name a
{
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 140%;
  text-decoration: underline;
  text-decoration-style: solid;
  color: var(--100);
  text-decoration-color: var(--outlining);
  position: relative;
}

.user-portfolios-wrapper .portfolio-name a::after {
  position: absolute;
  display: block;
  content: ' ';
  width: 1.375rem;
  height: 1.375rem;
  background-image: url(../images/arrow-up-right.svg);
  right: -1.5rem;;
  top: 50%;
  transform: translateY(-50%);
}

.user-portfolios-wrapper .portfolio-description {
  font-weight: 500;
  font-size: .875rem;
  line-height: 130%;
  color: var(--50);
  margin-top: .5rem;
  margin-bottom: .5rem
}

.user-portfolios-wrapper .portfolio-changed
{
  border-top: 1px solid var(--outlining);
  margin-top: .625rem;
  padding-top: .625rem;
  font-weight: 500;
  font-size: .75rem;
  line-height: 130%;
}

.pro-invest-pe-form a.button--danger {
  padding: 1rem 2rem;
}

.clients-page-clients-wrapper {
  border-radius: 1.875rem;
  background-color: var(--White);
  margin-top: 1.5rem;
}

.clients-page-clients-wrapper > .row {
  padding-top: .875rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--outlining);
}

.clients-page-clients-wrapper > .row:last-child {
  border-bottom: unset;
}

.clients-page-clients-wrapper .titles-row {
  font-weight: 500;
  font-size: 1rem;
  line-height: 135%;
  color: var(--50);
}

.clients-page-clients-wrapper .client-row .client-name {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 140%;
  text-decoration: underline;
  text-decoration-style: solid;
  color: var(--100);
}

.clients-page-clients-wrapper .client-row .client-mail {
  font-weight: 500;
  font-size: 1rem;
  line-height: 135%;
  color: var(--50);
}

a.client-show-link {
  font-weight: 700;
  font-size: 15px;
  line-height: 110%;
  padding: 12px 16px;
  margin-right: .5rem;
  background: var(--White);
  border-radius: .8rem;
  display: inline-block;
  color: var(--Black);
  text-decoration: unset;
}

a.client-show-link:hover,
a.client-show-link.active {
  background: var(--Black);
  color: var(--White);
}

.actual-balance-and-commission-wrapper {
  border-radius: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--White);
  margin-bottom: 3.75rem;
}

.actual-balance-and-commission-wrapper .label {
  font-weight: 500;
  font-size: .875rem;
  line-height: 130%;
  color: var(--50);
}

.actual-balance-and-commission-wrapper .value {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 140%;
  color: var(--100);
}

.actual-balance-and-commission-wrapper .replenish-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.actual-balance-and-commission-wrapper a.replenish-link {
  font-weight: 700;
  font-size: .9375rem;
  line-height: 110%;
  padding: 1rem 2rem;
  border-radius: .5rem;
  background: var(--Black);
  color: var(--White);
  text-decoration: unset;
}

h3.history-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--100);
  margin-bottom: 1.25rem;
}

.history-wrapper .filters-wrapper .filter-label {
  font-weight: 500;
  font-size: 1rem;
  line-height: 135%;
  color: var(--70);
  margin-bottom: .5rem;
}

.history-wrapper .filter-type-wrapper .filter-wrapper,
.history-wrapper .filter-date-wrapper .filter-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.history-wrapper .filter-date-wrapper {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.history-wrapper .filter-type-wrapper .filter-wrapper > *,
.history-wrapper .filter-date-wrapper .filter-wrapper > * {
  font-weight: 700;
  font-size: .9375rem;
  line-height: 110%;
  border-radius: 1rem;
  padding: .75rem 1rem;
  margin-right: .5rem;
  background: var(--White);
}

table.history-table {
  --bs-border-color: var(--outlining);
}
table.history-table thead th,
table.history-table thead td {
  font-weight: 500;
  font-size: 1rem;
  line-height: 135%;
  color: var(--50);
}

table.history-table thead th:first-child,
table.history-table thead td:first-child {
  padding-left: 1.5rem;
  border-top-left-radius: 1rem;
}

table.history-table thead th:last-child,
table.history-table thead td:last-child {
  padding-right: 1.5rem;
  border-top-right-radius: 1rem;
  text-align: right;
}

table.history-table tbody tr td {
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 140%;
}

table.history-table tbody tr td:first-child {
  padding-left: 1.5rem;
}

table.history-table tbody tr td:last-child {
  padding-right: 1.5rem;
  text-align: right;
}

table.history-table tbody tr:last-child {
  border-bottom: unset;
}

table.history-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 1rem;
}

table.history-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 1rem;
}

table.history-table tbody tr td.empty.message {
  text-align: center;
  border-bottom: unset;
}

a.new-type-filter-link {
  display: inline-block;
  font-weight: 700;
  font-size: var(--15px);
  border-radius: 1.5rem;
  padding: .75rem 1rem;
  color: var(--100);
  background-color: var(--White);
  text-decoration: unset;
}

a.new-type-filter-link.active {
  color: var(--White);
  background-color: var(--100);
}
