html, body {
  font-family: 'Rubik', sans-serif;
}

body {
  margin: 0;
  box-sizing: border-box;
  color: #1E1F21;
}

button {
  border: none;
  outline: none;
}

.card {
  border: unset;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Button: Primary */
.gbs-primary-button,
.gbs-primary-button-14,
.gbs-primary-link-button-14 {
  background: #00458B;
  border-radius: 4px;
  color: white;
  transition: 0.3s;
}

/* Button: Primary, font-size: 14 */
.gbs-primary-button-14 {
  font-size: 14px;
  line-height: 20px;
  padding: 10px 16px;
}

/* Button: Primary, <a> */
.gbs-primary-link-button-14 {
  font-size: 14px;
  line-height: 20px;
  padding: 0;
}

.gbs-primary-link-button-14 a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 16px;
  text-decoration: none;
  color: white;
}

.gbs-primary-button {
  font-size: 18px;
  line-height: 24px;
  padding: 16px 24px;
}

.gbs-primary-button:hover,
.gbs-primary-button-14:hover,
.gbs-primary-link-button-14:hover {
  background: #196BBE;
}

.gbs-primary-button:active,
.gbs-primary-button-14:active,
.gbs-primary-link-button-14:active {
  background: #00458B;
}

/* Button: Secondary */
.gbs-secondary-button,
.gbs-secondary-light-button {
  min-height: 56px;
  background: none;
  border-radius: 4px;
  padding: 16px 24px;
  font-size: 18px;
  line-height: 24px;
  transition: 0.3s;
}

.gbs-secondary-button {
  color: #00458B;
  border: 1px solid #00458B;
}

.gbs-secondary-button:hover {
  background: rgba(25, 107, 190, 0.08);
}

.gbs-secondary-button:active {
  background: #00458B;
  color: white;
}

.gbs-secondary-light-button {
  color: #F8F9FA;
  border: 1px solid #F8F9FA;
  transition: 0.2s;
}

.gbs-secondary-light-button:hover {
  background: rgba(25, 107, 190, 0.08);
}

/* Button: Opacity */
.gbs-opacity-button {
  min-height: 56px;
  background: none;
  border-radius: 4px;
  padding: 16px 24px;
  color: #00458B;
  background: rgba(25, 107, 190, 0.04);
  font-size: 18px;
  line-height: 24px;
  transition: 0.3s;
}

.gbs-opacity-button:hover {
  background: rgba(25, 107, 190, 0.08);
}

.gbs-opacity-button:active {
  background: #00458B;
  color: white;
}

/* Button: Exception/Info */
.gbs-exception-button,
.gbs-info-button {
  border-radius: 4px;
  padding: 16px 24px;
  border: none;
  outline: none;
  font-size: 18px;
  line-height: 24px;;
  transition: 0.3s;
}

.gbs-exception-button {
  color: black;
  background: #FBD44B;
  box-shadow: 0 8px 32px rgba(251, 212, 75, 0.48);
}

.gbs-exception-button:hover {
  background: #FFDD64;
  box-shadow: 0 4px 16px rgba(251, 212, 75, 0.48);
}

.gbs-exception-button:active {
  background: #FBD44B;
  box-shadow: unset;
}

.gbs-info-button {
  color: white;
  background: #09B5B0;
  box-shadow: 0 16px 32px rgba(9, 181, 176, 0.32);
}

.gbs-info-button:hover {
  background: #23CCC7;
  box-shadow: 0 8px 16px rgba(9, 181, 176, 0.24);
}

.gbs-info-button:active {
  background: #09B5B0;
  box-shadow: unset;
}

/* Button: Small */
.gbs-small-button {
  font-size: 16px;
  line-height: 24px;
  min-height: 40px;
  padding: 8px 16px;
}

/* Button: Link */
.gbs-link-button {
  padding: 0;
}

.gbs-link-button a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  text-decoration: unset;
  color: inherit !important;
}

.gbs-link-button.gbs-small-button a {
  padding: 6px 14px;
}

/* Button: Icon */
.gbs-icon-button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px;
  border-radius: 4px;
  background: transparent;
  transition: 0.2s;
}

.gbs-icon-button:active {
  background: rgba(30, 31, 33, 0.16);
}

/* Modal */
.modal-content {
  border-radius: 4px;
}

/* Form: Radio button */
input[type=radio] {
  accent-color: #00458B;
}

/* Form: Textarea, Input - old style */
textarea,
input[type=text] {
  font-size: 16px;
  line-height: 24px;
  padding: 6px 12px;
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  outline: none;
  transition: 0.2s;
}

textarea:focus,
input[type=text]:focus {
  border: 1px solid #196BBE !important;
  box-shadow: 0 0 0 4px rgba(25, 107, 190, 0.16);
}

textarea::placeholder,
input[type=text]::placeholder {
  font-size: 16px;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.5);
}

.gbs-input-control,
.gbs-textarea-control {
  display: flex;
  flex-direction: column;
}

.gbs-textarea-control .gbs-control-error-message,
.gbs-input-control .gbs-control-error-message {
  display: none;
}

.gbs-textarea-error .gbs-control-error-message,
.gbs-input-error .gbs-control-error-message {
  display: unset;
}

.gbs-input-control input,
.gbs-textarea-control input {
  width: 100%;
}

.gbs-textarea-error textarea,
.gbs-input-error input[type=text] {
  border: 1px solid #F55F55 !important;
  box-shadow: unset;
}

.gbs-input-control .gbs-control-error-message,
.gbs-textarea-control .gbs-control-error-message {
  color: #F55F55;
  font-size: 12px;
  line-height: 18px;
  margin-top: 4px;
}

/* !!! Form: Textarea, Input - new style */
.gbs-control label {
  font-size: 12px;
  font-weight: 300;
  line-height: 18px;
  margin-bottom: 8px;
}

.gbs-control label .required {
  color: #00458B;
}

.gbs-control.gbs-invalid label .required {
  color: #F55F55;
}

.gbs-text-input {
  width: 100%;
  min-height: 40px;
  font-size: 14px;
  line-height: 21px;
  padding: 10px 8px 9px;
  outline: none;
  border-radius: 2px !important;
  border: 1px solid rgba(30, 31, 33, 0.48) !important;
  box-shadow: none !important;
  background: transparent;
  transition: 0.2s;
}

textarea.gbs-text-input {
  resize: none;
}

.gbs-text-input::placeholder {
  color: rgba(32, 31, 30, 0.32) !important;
}

.gbs-text-input:hover {
  border: 1px solid rgba(0, 69, 139, 0.48) !important;
}

.gbs-text-input:focus {
  border: 1px solid #00458B !important;
}

.gbs-invalid .gbs-text-input {
  border: 1px solid rgba(245, 95, 85, 0.48) !important;
}

.gbs-invalid .gbs-text-input:hover {
  border: 1px solid rgba(245, 95, 85, 0.64) !important;
}

.gbs-invalid .gbs-text-input:focus {
  border: 1px solid #F55F55 !important;
}

/* Form: Select */
.gbs-select {
  position: relative;
}

.gbs-select .gbs-select-toggle {
  width: 100%;
  height: 40px;
  font-size: 14px;
  line-height: 21px;
  padding: 10px 8px 9px;
  outline: none;
  border-radius: 2px;
  border: 1px solid rgba(30, 31, 33, 0.48);
  background: transparent;
  transition: 0.2s;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gbs-select .gbs-select-toggle:hover {
  border: 1px solid rgba(0, 69, 139, 0.48);
}

.gbs-select .gbs-select-toggle:focus {
  border: 1px solid #00458B;
}

.gbs-invalid .gbs-select-toggle {
  border: 1px solid rgba(245, 95, 85, 0.48);
}

.gbs-invalid .gbs-select-toggle:hover {
  border: 1px solid rgba(245, 95, 85, 0.64);
}

.gbs-invalid .gbs-select-toggle:focus {
  border: 1px solid #F55F55;
}

.gbs-select .gbs-select-toggle::after {
  display: none;
}

.gbs-select .gbs-toggle-icon {
  transform: rotate(180deg);
  transition: 0.2s;
}

.gbs-select .gbs-toggle-icon .fill {
  fill: rgba(30, 31, 33, 0.64);
}

.gbs-select .gbs-select-toggle.show .gbs-toggle-icon .fill {
  fill: rgba(30, 31, 33, 1);
}

.gbs-select .gbs-select-toggle.show .gbs-toggle-icon {
  transform: rotate(0deg);
}

.gbs-select .gbs-select-menu {
  transform: unset;
  top: 44px;
  width: 100%;
  border-radius: 2px;
  border: none;
  background: white;
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.08);
  padding: 4px;
}

.gbs-select .gbs-select-menu-inner {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.gbs-select .gbs-select-item {
  width: 100%;
  min-height: 32px;
  color: #1E1F21;
  font-size: 14px;
  line-height: 20px;
  border-radius: 2px;
  padding: 6px 16px;
  background: transparent;
}

.gbs-select .gbs-select-item:hover {
  background: rgba(25, 107, 190, 0.04);
}

.gbs-select .gbs-select-item.gbs-active {
  color: #00458B;
  background: rgba(25, 107, 190, 0.08);
}

/* Switcher: Primary, Light */
.gbs-switcher {
  display: flex;
}

.gbs-switcher .gbs-switcher-option {
  flex: 1;
  font-size: 14px;
  line-height: 21px;
  background: transparent;
  color: white;
  margin: 4px;
  padding: 0;
  border-radius: 2px;
  transition: 0.2s;
}

.gbs-switcher .gbs-switcher-option a {
  display: block;
  text-decoration: none;
  color: white;
  padding: 6px 8px 5px;
  border-radius: 2px;
}

.gbs-switcher .gbs-switcher-option:hover {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.24)), #00458B;
}

.gbs-switcher .gbs-switcher-option:active {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.32)), #00458B;
}

.gbs-switcher .gbs-active {
  background: rgba(30, 31, 33, 0.16);
}

.gbs-switcher-light {
  display: flex;
  border: 1px solid rgb(25, 107, 190, 0.08);
  box-sizing: border-box;
}

.gbs-switcher-light .gbs-switcher-option {
  flex: 1;
  margin: 4px !important;
  border-radius: 2px;
  line-height: 32px;
  padding: 0;
  background: transparent;
  transition: 0.2s;
  font-size: 14px;
}

.gbs-switcher-light .gbs-switcher-option:hover {
  background: rgba(25, 107, 190, 0.08);
}

.gbs-switcher-light .gbs-switcher-option:active {
  background: rgba(25, 107, 190, 0.12);
}

.gbs-switcher-light .gbs-selected {
  background: rgba(0, 69, 139, 0.1);
  color: #00458B;
}

/* Dialog */
.gbs-modal .modal-dialog {
  max-width: 920px;
}

.gbs-modal .modal-header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 24px;
  border-bottom: 1px solid rgba(30,31,33,.16);
}

.gbs-modal .modal-header h1 {
  font-size: 18px;
  line-height: 21px;
  font-weight: 500;
  margin-bottom: 0;
}

.gbs-modal .modal-body {
  padding: 0;
}

/* Checkbox */
.gbs-checkbox {
  appearance: none;
  width: 12px;
  height: 12px;
  border: 1px solid #1E1F217A;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: 0.2s;
}

.gbs-checkbox:not(:disabled):checked {
  background: #196BBE1A;
  border: none;
}

.gbs-checkbox:not(:disabled):checked::before {
  content: '';
  width: 6px;
  height: 6px;
  top: 3px;
  left: 3px;
  border-radius: 1px;
  background: #196BBE;
  display: block;
  position: absolute;
}

/* Link */
.gbs-link {
  color: #196bbe;
  text-decoration: unset;
  transition: 0.2s;
}

.gbs-link:hover {
  color: #00458b;
  text-decoration: underline;
}

/* Toggle */
/* The switch - the box around the slider */
.gbs-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  min-width: 42px;
  height: 24px;
}

/* Hide default HTML checkbox */
.gbs-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.gbs-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #1e1f213d;
  border-radius: 12px;
  transition: 0.2s;
}

.gbs-toggle .slider .thumb-container {
  position: absolute;
  top: 4px;
  left: 4px;
  height: 16px;
  width: 16px;
  transition: 0.2s;
}

.gbs-toggle .slider .thumb {
  position: absolute;
  height: 16px;
  width: 16px;
  background-color: #fff;
  border: 1px solid rgba(30, 31, 33, 0.1);
  box-shadow: 0 2px 1px -1px #0003, 0 1px 1px #00000024, 0 1px 3px #0000001f;
  border-radius: 50%;
  z-index: 1;
  transition: 0.2s;
}

.gbs-toggle .slider .ripple {
  position: absolute;
  top: calc(50% - 20px);
  left: calc(50% - 20px);
  height: 40px;
  width: 40px;
  background-color: rgba(0, 0, 0);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: 0.2s;
}

.gbs-toggle input:hover + .slider .ripple {
  opacity: 0.05;
}

.gbs-toggle input:active + .slider .ripple {
  opacity: 0.2;
}

.gbs-toggle input:checked + .slider .ripple {
  background-color: rgba(0, 69, 139);
}

.gbs-toggle input:checked + .slider {
  background-color: #196bbe;
}

.gbs-toggle input:checked + .slider .thumb-container {
  transform: translateX(18px);
}

/* noUiSlider */
.noUi-target {
  height: 4px !important;
  top: 28px;
  background: rgba(30, 31, 33, 0.10) !important;
  border-radius: 2px !important;
  border: none !important;
  box-shadow: none !important;
}

.noUi-connect {
  background: #00458B !important;
}

.noUi-handle {
  width: 16px !important;
  height: 16px !important;
  right: -8px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  box-shadow: unset !important;
  border: 2px solid #196bbe !important;
  transition: 0.2s !important;
}

.noUi-handle:hover {
  border: 2px solid #00458B !important;
}

.noUi-handle:active {
  background: #00458B !important;
}

.noUi-handle::before,
.noUi-handle::after {
  display: none !important;
}

.noUi-pips {
  padding: 0 !important;
  top: 0 !important;
  height: unset !important;
}

.noUi-pips .noUi-marker {
  height: 12px !important;
  transform: translateY(calc(-50% + 2px)) !important;
  background: rgba(30, 31, 33, 0.10) !important;
}

.noUi-pips .noUi-value {
  width: 24px;
  height: 24px;
  background: rgba(30, 31, 33, 0.10);
  border-radius: 50%;
  color: transparent;
  transform: translate(-50%, -28px);
}

.noUi-pips .noUi-value.active-pip {
  background: rgba(25, 107, 190, 0.08);
}

.noUi-pips .noUi-value::after {
  content: '';
  display: block;
  position: absolute;
  background-image: url("../assets/icons/percentage-main.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: center;
  width: 10px;
  height: 10px;
  top: 0;
  transform: translate(7px, 7px);
}

.noUi-pips .noUi-value.active-pip::after {
  background-image: url("../assets/icons/percentage-primary.svg");
}

.noUi-marker:first-of-type {
  display: none !important;
}

.noUi-tooltip {
  min-width: 24px;
  bottom: 18px !important;
  border-radius: 2px !important;
  border: none !important;
  background: #00458B !important;
  color: white !important;
  padding: 2px 6px !important;
  font-size: 12px !important;
  line-height: 20px !important;
  visibility: hidden !important;
  transition: 0.2s;
}

.noUi-handle:hover .noUi-tooltip,
.noUi-handle:active .noUi-tooltip {
  visibility: visible !important;
}