* {
  scrollbar-width: thin;
  scrollbar-color: #41B6F8 #F2FAFF;
}

  /* для Chrome/Edge/Safari */
  *::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  *::-webkit-scrollbar-track {
    background: #F2FAFF;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #41B6F8;
    border-radius: 5px;
    border: 3px solid #41B6F8;
  }

html {
  height: calc(100% - 80px);
  margin-top: 80px;
  overflow: hidden;
}

body {
  font-family: Poppins;
  font-style: normal;
  font-weight: normal;
  height: 100%;
  width: 100%;
}

.load_page {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

  .load_page img {
    position: absolute;
    left: calc(50% - 35px);
    top: calc(50% - 35px);
    animation-name: rotation;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.w-100 {
  width: 100%;
}

.container {
  height: calc(100% - 80px);
  max-width: 100% !important;
  padding: 0px 80px 24px 80px !important;
  position: absolute;
  top: 80px;
  overflow: auto;
}

.bank_card {
  position: relative;
  width: 272px;
  height: 165px;
  background: #F2FAFF;
  border: 1px solid #0785CC;
  box-sizing: border-box;
  border-radius: 8px;
}

.card_first_line {
  position: absolute;
  width: 202px;
  height: 27px;
  left: 24px;
  top: 24px;
  background: #D8F1FF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card_second_line {
  position: absolute;
  width: 202px;
  height: 27px;
  left: 24px;
  top: 66px;
  background: #D8F1FF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card_third_line {
  position: absolute;
  width: 90px;
  height: 27px;
  left: 24px;
  top: 107px;
  background: #D8F1FF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card_fourth_line {
  position: absolute;
  width: 48px;
  height: 27px;
  left: 130px;
  top: 107px;
  background: #D8F1FF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card_plus {
  position: absolute;
  width: 70px;
  height: 165px;
  left: 201px;
  top: -1px;
  background: #F2FAFF;
  border: 1px dashed #0785CC;
  box-sizing: border-box;
  border-radius: 8px;
}

.card_plus_img {
  position: absolute;
  width: 32px;
  height: 32px;
  left: 19px;
  top: 74px;
}

.card_layering {
  margin-left: -210px;
}

.custom_checkbox {
  position: relative;
  width: 24px;
  height: 24px;
  margin: auto 0px;
  border: 1.5px solid black;
  border-radius: 4px;
  cursor: pointer;
}

.custom_checkbox_img {
  position: absolute;
  width: 24px;
  height: 24px;
  left: -1px;
  top: -1px;
}

.custom_checkbox_active {
  border: 1.5px solid #0785CC;
  position: relative;
  width: 24px;
  height: 24px;
  margin: auto 0px;
  border: 1.5px solid #0785CC;
  border-radius: 4px;
  cursor: pointer;
  background: #0785CC;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.custom_select {
  display: block;
  padding: 8px 26px 8px 12px;
  position: relative;
  width: 100%;
  border: 1px solid #CCCCCC;
  box-sizing: border-box;
  border-radius: 4px;
  flex: none;
  order: 0;
  flex-grow: 1;
  background-color: white;
  font-size: 14px;
  line-height: 21px;
  color: #666666;
  min-height: 39px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
}
  .custom_select::after {
    content: ' ';
    background-image: url('/assets/Icons/Down_small.svg');
    background-repeat: no-repeat;
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 1;
    text-align: center;
    width: 16px;
    height: 16px;
    pointer-events: visiblestroke;
    box-sizing: border-box;
  }

  .custom_select:disabled {
    opacity: 0.6;
    cursor: default;
  }

  .custom_select:focus-visible {
    outline: none;
  }

  .custom_select_with_padding {
    display: block;
    padding: 8px 75px 8px 12px;
    position: relative;
    width: 100%;
    border: 1px solid #CCCCCC;
    box-sizing: border-box;
    border-radius: 4px;
    flex: none;
    order: 0;
    flex-grow: 1;
    background-color: white;
    font-size: 14px;
    line-height: 21px;
    color: #666666;
    min-height: 39px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
  }

  .custom_select_with_padding::after {
    content: ' ';
    background-image: url('/assets/Icons/Down_small.svg');
    background-repeat: no-repeat;
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 1;
    text-align: center;
    width: 16px;
    height: 16px;
    pointer-events: visiblestroke;
    box-sizing: border-box;
  }


.custom_select_with_padding:focus-visible {
  outline: none;
}


.custom_select_active {
  display: block;
  padding: 8px 26px 8px 12px;
  position: relative;
  width: 100%;
  border: 1px solid #CCCCCC;
  box-sizing: border-box;
  border-radius: 4px 4px 0px 0px;
  flex: none;
  order: 0;
  flex-grow: 1;
  background-color: white;
  font-size: 14px;
  line-height: 21px;
  color: #000000;
  min-height: 39px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
}

  .custom_select_active::after {
    content: ' ';
    background-image: url('/assets/Icons/Top_small.svg');
    background-repeat: no-repeat;
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 1;
    text-align: center;
    width: 16px;
    height: 16px;
    pointer-events: visiblestroke;
    box-sizing: border-box;
  }

  .custom_select_active:focus-visible {
    outline: none;
  }

.custom_select_active_with_padding {
  display: block;
  position: relative;
  padding: 8px 75px 8px 12px;
  width: 100%;
  border: 1px solid #CCCCCC;
  box-sizing: border-box;
  border-radius: 4px 4px 0px 0px;
  flex: none;
  order: 0;
  flex-grow: 1;
  background-color: white;
  font-size: 14px;
  line-height: 21px;
  color: #000000;
  min-height: 39px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
}

  .custom_select_active_with_padding::after {
    content: ' ';
    background-image: url('/assets/Icons/Top_small.svg');
    background-repeat: no-repeat;
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 1;
    text-align: center;
    width: 16px;
    height: 16px;
    pointer-events: visiblestroke;
    box-sizing: border-box;
  }

  .custom_select_active_with_padding:focus-visible {
    outline: none;
  }

.custom_select_edit {
  width: 37px;
  height: 37px;
  position: absolute;
  right: 40px;
  top: 28px;
  border-radius: 5px;
  border: none;
  background: white;
}

  .custom_select_edit:hover {
    border: 1px solid #0785CC;
    box-sizing: border-box;
  }

.custom_select_edit_img {
  width: 18px;
  height: 18px;
  margin-left: 2px;
  margin-bottom: 3px;
}

.popup_body_error {
  padding: .5rem;
  color: red;
  margin: 0px;
  width: 100%;
  font-size: 14px;
  line-height: 21px;
}

.popup_body_edit_form {
  position: relative;
  margin: 10px 0px;
}

.popup_body_edit_accept {
  width: 36px;
  height: 36px;
  position: absolute;
  right: 40px;
  top: 2px;
  border-radius: 5px;
  border: none;
  background: white;
}

  .popup_body_edit_accept:hover {
    border: 1px solid #0785CC;
    box-sizing: border-box;
  }

.popup_body_edit_close {
  width: 36px;
  height: 36px;
  position: absolute;
  right: 2px;
  top: 2px;
  border-radius: 5px;
  border: none;
  background: white;
}

  .popup_body_edit_close img {
    width: 12px;
    height: 12px;
    margin-left: 1px;
  }


  .popup_body_edit_close:hover {
    border: 1px solid #0785CC;
    box-sizing: border-box;
  }

.custom_select_option {
  font-size: 14px;
  line-height: 21px;
  color: #000000;
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  padding: 8px 12px;
  position: relative;
  width: 100%;
  background-color: white;
  border-left: 1px solid #CCCCCC;
  border-right: 1px solid #CCCCCC;
  border-bottom: 1px solid #CCCCCC;
  box-sizing: border-box;
  flex: none;
  order: 0;
  flex-grow: 1;
  overflow: hidden;
}

  .custom_select_option:hover {
    cursor: pointer;
    background-color: #41B6F8;
    color: #FFFFFF;
  }

.custom_select_options {
  margin-bottom: 10px;
}

  .custom_select_options > *:last-child {
    border-radius: 0px 0px 4px 4px;
  }

.custom_input {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 16px 9px;
  width: 100%;
  height: 40px;
  border: 1px solid #CCCCCC;
  box-sizing: border-box;
  border-radius: 4px;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
  margin: 0px;
  font-size: 14px;
  line-height: 21px;
  color: #666666;
}

.custom_input:read-only{
  opacity: 0.6;
  cursor: default;
}

.custom_input:focus-visible {
  outline: 1px solid #000;
  border: none;
}

.custom_input::-moz-placeholder {
  opacity: 0.5;
}

.custom_input::-webkit-input-placeholder {
  opacity: 0.5;
}

.popup_window {
  position: fixed;
  width: 100%;
  left: 0px;
  top: 0px;
  bottom: 0;
  z-index: 20;
  overflow: auto;
}

.popup_background {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  background: #0A4D73;
  opacity: 0.3;
}

.popup {
  position: fixed;
  width: 720px;
  height: auto;
  max-height: calc(100% - 64px);
  left: calc(50% - 360px);
  top: 32px;
  background: #FFFFFF;
  box-shadow: 5px 5px 20px rgb(3 56 135 / 10%);
  border-radius: 32px;
}

.popup_body {
  display: flex;
  height: auto;
  width: 100%;
}

.popup_padding {
  padding: 0px 56px 0px 56px;
  height: auto;
  display: flex;
  width: 100%;
  flex-flow: column;
}

.popup_content_wrapper {
  height: auto;
  position: relative;
}

.popup_title {
  display: flex;
  height: 125px;
}

.popup_title_main_span {
  width: auto;
  height: 40px;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  color: #00041C;
  margin: 56px 32px 30px 56px;
}

.popup_title_secondary_span {
  height: 40px;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  color: #999999;
  cursor: pointer;
  width: auto;
  margin: 56px 0px 30px 0px;
}

.popup_title_img {
  position: absolute;
  width: 32px;
  height: 32px;
  left: 632px;
  top: 60px;
  cursor: pointer;
}

.popup_body_data_photo_container {
  position: relative;
}

.popup_body_data_with_photo_wrapper {
  display: flex;
  height: auto;
  width: 100%;
}

.popup_body_avatar {
  width: 96px;
  /*height: 96px;*/
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  margin: auto;
}

.popup_body_data_photo_container_load_disable {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  cursor: not-allowed;
}

.download_avatar_fake_button {
  display: flex;
  flex-direction: row;
  padding: 0px;
  width: 103px;
  height: 21px;
  font-size: 13px;
  line-height: 21px;
  color: #0785CC;
  text-decoration: none;
  cursor: pointer;
  margin-top: 8px;
  justify-content: center;
  text-align: center;
}

.popup_form {
  display: block;
  overflow: auto;
  margin-top: 24px;
  padding: 0 12px 0 2px;
  width: calc(100% + 12px);
  height: auto;
  max-height: calc(100vh - 237px);
  margin-bottom: 24px;
}

.popup_body_data_with_photo_data_wrapper {
  display: block;
  padding: 0px;
  width: 100%;
  height: auto;
  margin-left: 27px;
}

.popup_body_input_wrapper {
  display: flex;
  flex-direction: column;
  padding: 0px;
  position: static;
  width: 100%;
  height: auto;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
  margin: 0px 0px 16px 0px;
}

.popup_body_label {
  display: flex;
  flex-direction: column;
  padding: 0px 0px 0px 8px;
  position: static;
  width: 100%;
  height: 21px;
  flex-grow: 0;
  margin: 6px 0px;
  font-size: 14px;
  line-height: 21px;
  color: #000000;
}

.popup_body_label_auto {
  width: auto !important;
}

.popup_body_two_items_wrapper {
  display: flex;
  width: 100%;
}

.popup_body_first_item_wrapper {
  display: flex;
  flex-flow: column;
  width: auto;
  margin-right: 15px;
}

.popup_body_second_item_wrapper {
  display: flex;
  flex-flow: column;
  width: 100%;
}

.popup_body_input {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 16px 9px;
  width: 100%;
  height: 40px;
  border: 1px solid #CCCCCC;
  box-sizing: border-box;
  border-radius: 4px;
}

.popup_body_input:focus-visible {
  outline: 1px solid #000;
  border: none;
}

.popup_body_input::-moz-placeholder {
  opacity: 0.5;
}
.popup_body_input::-webkit-input-placeholder {
  opacity: 0.5;
}

.popup_body_input:read-only {
  opacity: 0.6;
  cursor: default;
}

.popup_body_input_with_padding {
  padding: 10px 80px 9px 16px;
}

.popup_body_checkbox_wrapper {
  display: flex;
  flex-direction: row;
  padding: 0px;
  width: 100%;
  height: auto;
  margin: 18px 0px;
}

.popup_body_checkbox_description {
  width: auto;
  height: 27px;
  font-size: 18px;
  line-height: 27px;
  color: #000000;
  margin: 0px 8px;
  cursor: pointer;
}

.popup_body_checkbox_with_input_wrapper {
  display: flex;
}

.popup_body_checkbox_input {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 16px 9px;
  position: static;
  width: 80px;
  height: 40px;
  border: 1px solid #CCCCCC;
  box-sizing: border-box;
  border-radius: 4px;
  align-self: stretch;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  color: #666666;
  margin-top: -5px;
}

.popup_body_save_wrapper {
  display: flex;
  padding: 0px;
  width: 100%;
  height: 72px;
}

.popup_body_save_button {
  position: absolute;
  width: 180px;
  height: 40px;
  left: calc(50% - 90px);
  bottom: 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 9px 16px 10px;
  background: #0785CC;
  border-radius: 4px;
  border: none;
  color: white;
  font-size: 14px;
  line-height: 21px;
}

  .popup_body_save_button:disabled {
    opacity: 0.5;
  }

.popup_body_select_wrapper {
  display: block;
  margin: 0px 0px 16px 0px;
  height: auto;
  position: relative;
}

.div_logo {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  background-size: cover !important;
  background-position-y: center !important;
}

.popup_body_input_error{
    color:red;
    margin:0;
}

.input_error {
  border: 1px solid red !important;
}

.popup_error {
  display: block;
  border: dashed red 1px;
  padding: .5rem;
  color: red;
  margin-bottom: 7px;
  width: 100%;
}

.popup_small {
  position: fixed;
  width: 720px;
  height: fit-content;
  max-height: calc(100% - 64px);
  left: calc(50% - 360px);
  background: #FFFFFF;
  box-shadow: 5px 5px 20px rgb(3 56 135 / 10%);
  border-radius: 32px;
  top: 0;
  bottom: 0;
  margin: auto 0;
}

.popup_small_body {
  text-align: center;
  max-height: 260px;
  overflow: overlay;
  font-weight: 600;
  font-size: 26px;
  line-height: 38px;
  color: #00041C;
  margin: 50px 25px 35px 50px;
}

  .popup_small_body p {
    padding: 0px 25px 0px 0px;
    margin: 0;
  }

.popup_small_btn {
  width: 180px;
  height: 40px;
  bottom: 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 9px 16px 10px;
  background: #0785CC;
  border-radius: 4px;
  border: none;
  color: white;
  font-size: 16px;
  line-height: 20px;
  margin: auto;
  margin-bottom: 25px;
}

.highcharts-credits{
    display: none !important;
}


.popup_settings_wrapper {
  margin-bottom: 32px;
}

.popup_settings_p {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
}

.is_load_img {
  animation-name: rotation;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  height: 20px;
}

button:disabled{
    opacity: 0.5;
}

@media(max-width: 1400px) {
  .container {
    padding: 0px 20px 24px 20px !important;
  }
}


@media (max-width: 500px) {

  html {
    height: calc(100% - 64px);
    margin-top: 64px;
  }

  body {
    position: relative;
    height: 100%;
  }

  .custom_checkbox {
    width: 18px;
    height: 18px;
  }

  .custom_checkbox_active {
    width: 18px;
    height: 18px;
  }
  .custom_checkbox_img {
    width: 16px;
    height: 16px;
  }

  .container {
    top: 0;
    height: 100%;
    padding: 0px 23px 12px 23px !important;
  }


  .popup_background {
    display: none;
  }

  .popup_window {
    background-color: white;
  }

  .popup_body {
    position: relative;
    min-height: calc(100% - 82px);
    height: 100%;
  }


  .popup_padding {
    padding: 0px 16px;
  }

  .popup {
    width: 100%;
    left: 0;
    top: 0;
    box-shadow: none;
    border-radius: 0px;
    height: 100%;
    max-height: 100%;
  }

  .popup_title {
    height: 70px;
  }

  .popup_title_main_span {
    height: 20px;
    font-size: 16px;
    line-height: 20px;
    margin: 25px 16px 26px 16px;
  }

  .popup_title_secondary_span {
    height: 20px;
    font-size: 16px;
    line-height: 20px;
    margin: 26px 0px 26px 0px;
  }

  .popup_title_img {
    width: 24px;
    height: 24px;
    right: 16px;
    left: auto;
    top: 23px;
  }

  .popup_body_data_with_photo_wrapper {
    display: block;
  }

  .popup_body_data_photo_container {
    display: block;
    padding: 0px;
    height: 316px;
    margin-top: 6px;
  }

  .popup_body_data_photo_container {
    width: 96px;
    margin: auto;
    height: auto;
  }

  .popup_body_data_with_photo_data_wrapper {
    margin-left: 0px;
  }

  .popup_body_input_wrapper {
    width: 100%;
    height: auto;
    left: 0px;
    top: 0px;
  }

  .popup_body_label {
    width: 100%;
  }

  .popup_body_input {
    width: 100%;
  }

  .popup_body_checkbox_wrapper {
    margin: 12px 0px;
    width: 100%;
  }

  .popup_body_checkbox_description {
    font-size: 14px;
    line-height: 26px;
  }

  .popup_body_checkbox_with_input_wrapper {
    display: block;
    width: 100%;
  }

  .popup_body_checkbox_input {
    width: calc(100% + 18px);
    margin-left: -18px;
    margin-top: 0px;
    text-align: left;
  }

  .popup_body_save_wrapper {
    height: 80px;
  }

  .popup_body_save_button {
    margin-bottom: 16px;
  }

  .popup_form {
    height: auto;
    max-height: calc(100% - 70px);
    min-height: calc(100% - 70px);
    margin-top: 0px;
    overflow: auto;
    margin-bottom: 0px;
  }

  .popup_content_wrapper {
    min-height: calc(100% - 12px);
  }

  .popup_body_checkbox_wrapper:first-child {
    margin: 0px 0px 12px 0px !important;
  }

  .popup_body_two_items_wrapper{
      flex-flow: column;
  }

  .popup_body_first_item_wrapper {
    margin-right: 0px;
  }

  .div_logo {
    width: 48px;
    height: 48px;
  }

  .popup_body_input_error {
    font-size: 14px;
    line-height: 21px;
  }

  .popup_error {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 5px;
    margin-top: 12px;
  }

  .custom_select_edit:hover {
    border: none;
    box-sizing: border-box;
  }


  .popup_body_edit_accept:hover {
    border: none;
    box-sizing: border-box;
  }

  .popup_body_edit_close:hover {
    border: none;
    box-sizing: border-box;
  }

  .popup_small {
    width: 100%;
    left: 0;
    top: 0;
    box-shadow: none;
    border-radius: 0px;
    height: 100%;
    max-height: 100%;
  }

  .popup_small_body {
    display: flex;
    max-height: calc(100% - 140px);
    font-size: 19px;
    line-height: 29px;
  }

    .popup_small_body p {
      margin: auto;
    }

  .popup_settings_p {
    font-size: 16px;
    line-height: 20px;
  }
}
