@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out; }

body {
  margin: 0;
  padding: 30px;
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100, "YTLC" 500;
  color: #404040;
  background-color: whitesmoke;
  min-width: 610px; }

button {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto; }

h1, h2 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 800; }

p {
  font-size: 15px;
  line-height: 20px;
  font-weight: 400; }

.highlight {
  color: #1274c4;
  font-weight: 700; }

.separator {
  border-bottom: 1px solid #d0d0d0;
  width: 100%;
  margin: 60px 0; }

.copy-button {
  background-color: #1274c4;
  color: white;
  font-size: 16px;
  font-weight: 700;
  height: 38px;
  width: 360px;
  border: none;
  border-radius: 19px;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  cursor: pointer;
  position: relative; }
  .copy-button:hover {
    background-color: #0063b5; }
  .copy-button:after {
    content: 'Skopiowano adres URL widgetu';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 2px);
    height: 36px;
    background-color: #f1f6f9;
    border: 1px solid #1274c4;
    border-radius: 19px;
    color: #1274c4;
    line-height: 36px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out; }
  .copy-button.copied:after {
    transition: opacity 0s ease-in-out;
    opacity: 1; }

.widget-sizes {
  display: flex;
  flex-direction: row;
  gap: 16px; }
  .widget-sizes .widget-size {
    border: 1px solid #d0d0d0;
    background-color: #f9f9f9;
    height: 30px;
    border-radius: 15px;
    line-height: 28px;
    font-size: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    padding-left: 10px; }
    .widget-sizes .widget-size .widget-size-dimension {
      margin-right: 5px;
      color: #6c6c6c; }
    .widget-sizes .widget-size .widget-size-px {
      padding-right: 10px;
      padding-left: 1px; }
    .widget-sizes .widget-size .copy-button-size {
      background-color: #1274c4;
      color: white;
      padding: 0 10px;
      font-size: 12px;
      font-weight: 700;
      border: none;
      border-radius: 24px;
      transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
      cursor: pointer;
      position: relative; }
      .widget-sizes .widget-size .copy-button-size:hover {
        background-color: #0063b5; }
      .widget-sizes .widget-size .copy-button-size:after {
        content: '';
        background: url(../images/tick.svg) center center no-repeat;
        background-size: 14px;
        position: absolute;
        top: 0;
        left: 0;
        width: calc(100% - 2px);
        height: 26px;
        background-color: #f1f6f9;
        border: 1px solid #1274c4;
        border-radius: 14px;
        color: #1274c4;
        line-height: 28px;
        opacity: 0;
        transition: opacity 0.2s ease-in-out; }
      .widget-sizes .widget-size .copy-button-size.copied:after {
        transition: opacity 0s ease-in-out;
        opacity: 1; }

.modes-switch {
  background-color: #e1e1e1;
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  border-radius: 10px; }
  .modes-switch .mode-switch {
    font-size: 16px;
    line-height: 18px;
    font-weight: 700;
    height: 50px;
    width: 170px;
    border: 3px solid transparent;
    background-color: transparent;
    cursor: pointer;
    border-radius: 10px;
    color: #404040; }
    .modes-switch .mode-switch.active {
      color: #1274c4;
      border-color: #1274c4;
      background-color: white; }

.siepomaga-widget-wrapper-overflow {
  overflow: hidden;
  padding: 30px;
  margin: -30px -30px 0; }

.siepomaga-widget-list,
.siepomaga-widget-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 800px;
  max-width: 100%;
  margin: 0 auto; }

.siepomaga-widget-list {
  padding: 46px 0px; }

.widget-to-copy {
  background-color: #ebebeb;
  border-radius: 15px;
  padding: 20px 40px;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15) inset;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  width: fit-content; }

.siepomaga-widget {
  display: flex;
  width: min-content; }
  .siepomaga-widget .placeholder {
    position: relative;
    min-height: 60px;
    min-width: 180px; }
    .siepomaga-widget .placeholder > * {
      visibility: hidden; }
    .siepomaga-widget .placeholder:after {
      content: 'trwa ładowanie widgetu…';
      white-space: nowrap;
      display: block;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      font-size: 14px;
      color: #1274c4; }
  .siepomaga-widget.api-error .placeholder:after {
    content: 'Błąd podłączenia do API';
    color: #cd141a; }
  .siepomaga-widget.url-error .placeholder:after {
    content: 'Podano nieprawidłowy adres URL';
    color: #cd141a; }
  .siepomaga-widget.no-url-error .placeholder:after {
    content: 'Nie podano podano adresu URL';
    color: #cd141a; }
  .siepomaga-widget.target-error .placeholder:after {
    content: 'Cel nie jest obsługiwany przez widgety';
    color: #cd141a; }
  .siepomaga-widget.loaded .placeholder > * {
    visibility: visible; }
  .siepomaga-widget.loaded .placeholder:after {
    display: none; }

.widget-card {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(64, 64, 64, 0.26);
  display: flex;
  flex-direction: column; }

.link-text-widget .widget-card {
  padding: 10px 30px;
  align-content: center;
  align-items: center; }
.link-text-widget .logo {
  height: 54px;
  width: auto; }
.link-text-widget .link-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px; }
.link-text-widget .link-text {
  font-size: 28px;
  line-height: 38px;
  font-weight: 800;
  white-space: nowrap; }

.qr-code-widget .widget-card {
  padding: 10px;
  align-items: center; }
.qr-code-widget #qr-code {
  width: 195px;
  height: 195px;
  padding: 10px;
  margin: 0 auto 4px;
  border-radius: 8px;
  background-color: white; }
  .qr-code-widget #qr-code canvas {
    width: 175px;
    height: 175px; }
.qr-code-widget .logo {
  height: 27px;
  width: auto; }
.qr-code-widget .link-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2px; }
.qr-code-widget .link-text {
  font-size: 14px;
  line-height: 19px;
  font-weight: 800;
  white-space: nowrap; }

.donation-list-widget {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 392px; }
  .donation-list-widget .placeholder {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 550px; }
  .donation-list-widget .donation-list-item {
    width: 100%;
    margin-bottom: 20px;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    transform: scale(1);
    opacity: 1; }
    .donation-list-widget .donation-list-item.hidden {
      position: absolute;
      opacity: 0;
      transform: scale(0.65); }
    .donation-list-widget .donation-list-item .widget-card {
      padding: 20px 30px;
      display: flex;
      flex-direction: row;
      gap: 20px; }
    .donation-list-widget .donation-list-item .donation-details {
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex-grow: 1; }
    .donation-list-widget .donation-list-item .donation-name {
      font-size: 24px;
      line-height: 28px;
      font-weight: 800; }
    .donation-list-widget .donation-list-item .donation-comment {
      font-size: 21px;
      line-height: 28px;
      font-weight: 400;
      color: #6c6c6c; }
      .donation-list-widget .donation-list-item .donation-comment:empty {
        display: none; }
    .donation-list-widget .donation-list-item .donation-amount {
      font-size: 24px;
      line-height: 28px;
      font-weight: 900;
      color: #00801c;
      white-space: nowrap; }

.donation-progress-widget .placeholder > div {
  display: none; }
.donation-progress-widget .widget-card {
  min-width: 300px; }
  .donation-progress-widget .widget-card .main-photo {
    width: calc(100% - 10px);
    height: auto;
    margin: 5px;
    border-radius: 15px; }
.donation-progress-widget .progress-wrapper {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; }
  .donation-progress-widget .progress-wrapper .total-amount {
    font-size: 28px;
    line-height: 28px;
    margin: 2px 0;
    color: #00801c;
    font-weight: 900;
    text-align: center;
    display: flex; }
  .donation-progress-widget .progress-wrapper .total-percent {
    white-space: nowrap;
    font-size: 15px;
    line-height: 15px;
    margin: 2px 0;
    font-weight: 400;
    color: #00801c;
    display: flex; }
  .donation-progress-widget .progress-wrapper .donation-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px; }
  .donation-progress-widget .progress-wrapper .aim {
    display: flex;
    flex-direction: row;
    font-size: 16px;
    line-height: 16px;
    margin: 2px 0; }
  .donation-progress-widget .progress-wrapper .aim[data-mode="left-to"] {
    display: none; }
.donation-progress-widget.left-to .aim[data-mode="final"] {
  display: none; }
.donation-progress-widget.left-to .aim[data-mode="left-to"] {
  display: inherit; }
.donation-progress-widget .donation-cause-progress:not(.no-aim) {
  min-width: 400px; }
.donation-progress-widget .donation-cause-progress .donation-total-amount-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px; }
  .donation-progress-widget .donation-cause-progress .donation-total-amount-wrapper .total-amount {
    font-size: 24px;
    line-height: 24px;
    margin: 3px 0; }
.donation-progress-widget .donation-cause-progress .cause-progress-bar-wrapper {
  background-color: #ebebeb;
  height: 16px;
  border-radius: 8px;
  border: 1px solid #d0d0d0;
  width: 100%;
  margin-bottom: 8px;
  overflow: hidden;
  position: relative; }
  .donation-progress-widget .donation-cause-progress .cause-progress-bar-wrapper .cause-progress-bar-status {
    background: linear-gradient(270deg, #16884a 0%, #39c747 100%);
    height: 100%;
    transition: width 0.2s ease-in-out; }
.donation-progress-widget.compact .donation-cause-progress:not(.no-aim) {
  min-width: 500px; }
  .donation-progress-widget.compact .donation-cause-progress:not(.no-aim) .progress-wrapper {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap; }
  .donation-progress-widget.compact .donation-cause-progress:not(.no-aim) .cause-progress-bar-wrapper {
    order: 3;
    margin-bottom: 0; }
.donation-progress-widget.with-url .link-text {
  display: inherit; }
.donation-progress-widget.with-photo .main-photo {
  display: inherit; }
.donation-progress-widget .donation-fundraise-progress .progress-wrapper {
  padding: 20px 30px;
  flex-direction: row;
  gap: 16px; }
.donation-progress-widget .donation-fundraise-progress .fundraise-progress-bar {
  position: relative; }
  .donation-progress-widget .donation-fundraise-progress .fundraise-progress-bar .fundraise-progress-bar-wrapper {
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: calc(100% - 10px);
    height: 54px;
    overflow: hidden;
    clip-path: url(#fundraise-progress-bar-clip-path);
    transform: translateX(-50%); }
  .donation-progress-widget .donation-fundraise-progress .fundraise-progress-bar .fundraise-progress-bar-status {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(#16884a 0%, #39c747 100%);
    clip-path: url(#fundraise-progress-bar-clip-path);
    top: 25%;
    transition: top 0.2s ease-in-out; }
  .donation-progress-widget .donation-fundraise-progress .fundraise-progress-bar .fundraise-icon {
    aspect-ratio: 0.596 / 1;
    width: 50px;
    display: block; }
  .donation-progress-widget .donation-fundraise-progress .fundraise-progress-bar .fundraise-progress-bar-status-text {
    white-space: nowrap;
    position: absolute;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    top: 40px;
    left: 50%;
    transform: translateX(-50%); }
    .donation-progress-widget .donation-fundraise-progress .fundraise-progress-bar .fundraise-progress-bar-status-text:before {
      position: absolute;
      z-index: -1;
      color: white;
      content: attr(data-text);
      filter: url(#fundraise-progress-bar-filter); }
.donation-progress-widget .support-by {
  padding: 10px 20px;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: row;
  gap: 4px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px; }
  .donation-progress-widget .support-by .support-text {
    white-space: nowrap; }
  .donation-progress-widget .support-by .logo {
    height: 28px;
    width: auto;
    margin: -3px -2px -3px 0; }
.donation-progress-widget .link-text {
  font-size: 14px;
  line-height: 19px;
  font-weight: 800;
  white-space: nowrap;
  display: none; }
.donation-progress-widget .main-photo {
  display: none; }

.controls {
  display: flex;
  flex-direction: row;
  gap: 10px 20px;
  flex-wrap: wrap;
  justify-content: center; }
  .controls .control {
    display: flex;
    flex-direction: row;
    gap: 8px;
    white-space: nowrap; }
    .controls .control .control-label {
      font-size: 14px;
      line-height: 20px; }

.switch-select {
  background: #e1e1e1;
  height: 20px;
  padding: 2px;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  gap: 2px; }
  .switch-select span {
    height: 100%;
    padding: 3px 8px;
    font-size: 10px;
    line-height: 10px;
    border-radius: 8px;
    cursor: pointer; }
  .switch-select .active {
    background-color: #4aa040;
    color: white; }

.toggle-switch {
  cursor: pointer; }
  .toggle-switch .toggle-switch-wrapper {
    background: #d0d0d0;
    height: 20px;
    width: 36px;
    padding: 2px;
    border-radius: 10px; }
  .toggle-switch .toggle-switch-button {
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 100%;
    position: relative;
    left: 0;
    transition: left 0.2s ease-in-out; }
  .toggle-switch.on .toggle-switch-wrapper {
    background: #4aa040; }
  .toggle-switch.on .toggle-switch-button {
    left: calc(100% - 16px); }

.slider {
  width: 335px;
  background: #d0d0d0;
  height: 10px;
  border-radius: 10px;
  position: relative;
  margin-top: 48px;
  margin-bottom: 12px;
  outline: none !important; }
  .slider .slider-progress {
    background: #4aa040;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    height: 100%; }
  .slider .slider-area {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 10px;
    overflow: hidden;
    white-space: nowrap; }
    .slider .slider-area .slider-area-step {
      height: 100%;
      transform: translateX(-50%);
      display: inline-block;
      vertical-align: top; }
  .slider .slider-button {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 24px;
    width: 24px;
    background-color: white;
    border-radius: 100%;
    box-shadow: 0 3px 12px rgba(64, 64, 64, 0.26);
    cursor: pointer; }
    .slider .slider-button:after {
      position: absolute;
      content: "";
      display: block;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 12px;
      height: 12px;
      border-radius: 100%;
      background-color: #4aa040; }
  .slider .slider-value {
    background-color: white;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 16px;
    line-height: 20px;
    color: #6c6c6c;
    font-weight: 800;
    position: absolute;
    top: -16px;
    transform: translate(-50%, -100%);
    white-space: nowrap;
    user-select: none; }

.numbers-value {
  display: flex;
  flex-direction: row;
  height: 1em;
  position: relative;
  overflow: hidden; }
  .numbers-value .number-value {
    width: 0.6em;
    text-align: center;
    line-height: 1em;
    /*
    &[data-value="0"] {
    	margin-top: 0;
    }
    
    &[data-value="1"] {
    	margin-top: -1em;
    }
    
    &[data-value="2"] {
    	margin-top: -2em;
    }
    
    &[data-value="3"] {
    	margin-top: -3em;
    }
    
    &[data-value="4"] {
    	margin-top: -4em;
    }
    
    &[data-value="5"] {
    	margin-top: -5em;
    }
    
    &[data-value="6"] {
    	margin-top: -6em;
    }
    
    &[data-value="7"] {
    	margin-top: -7em;
    }
    
    &[data-value="8"] {
    	margin-top: -8em;
    }
    
    &[data-value="9"] {
    	margin-top: -9em;
    }
    */ }
    .numbers-value .number-value span {
      display: block; }
    .numbers-value .number-value[data-value=" "] {
      margin-top: -10em; }
    .numbers-value .number-value[data-value=","] {
      margin-top: -11em; }
    .numbers-value .number-value[data-value=" "], .numbers-value .number-value[data-value=","] {
      width: 0.3em; }

.dark-mode-show {
  display: none !important; }

.defaul-mode-show {
  display: inherit !important; }

.dark-mode {
  color: #ebebeb; }
  .dark-mode:not(.obs-ready) {
    background-color: #202020; }
  .dark-mode .separator {
    border-color: #404040; }
  .dark-mode .modes-switch {
    background-color: #404040; }
    .dark-mode .modes-switch .mode-switch:not(.active) {
      color: white; }
  .dark-mode .slider,
  .dark-mode .toggle-switch-wrapper {
    background: #404040; }
  .dark-mode .switch-select {
    background: #292929; }
  .dark-mode .siepomaga-widget {
    color: #ebebeb; }
  .dark-mode .widget-card {
    background-color: #292929;
    box-shadow: 0 3px 12px rgba(15, 15, 15, 0.26); }
  .dark-mode .dark-mode-show {
    display: inherit !important; }
  .dark-mode .default-mode-show {
    display: none !important; }
  .dark-mode .donation-list-widget .donation-list-item .donation-comment {
    color: #e1e1e1; }
  .dark-mode .donation-list-widget .donation-list-item .donation-amount {
    color: #1fb763; }
  .dark-mode .donation-progress-widget .progress-wrapper .total-amount,
  .dark-mode .donation-progress-widget .progress-wrapper .total-percent {
    color: #57fc69; }
  .dark-mode .donation-progress-widget .support-by {
    color: #ebebeb;
    background-color: #404040; }
  .dark-mode .donation-progress-widget .donation-cause-progress .cause-progress-bar-wrapper {
    background-color: #6c6c6c;
    border: none; }
    .dark-mode .donation-progress-widget .donation-cause-progress .cause-progress-bar-wrapper .cause-progress-bar-status {
      background: linear-gradient(270deg, #1db562 0%, #58fe69); }
  .dark-mode .donation-progress-widget .donation-fundraise-progress .fundraise-progress-bar .fundraise-progress-bar-status {
    background: linear-gradient(#1db562 0%, #58fe69); }
  .dark-mode .donation-progress-widget .donation-fundraise-progress .fundraise-progress-bar .fundraise-progress-bar-status-text:before {
    color: #292929; }
  .dark-mode .widget-sizes .widget-size {
    border-color: #404040; }
    .dark-mode .widget-sizes .widget-size .widget-size-dimension {
      color: #e1e1e1; }
  .dark-mode .widget-to-copy {
    background-color: #292929; }
    .dark-mode .widget-to-copy .widget-size {
      background-color: #404040; }
