:root {
  --rv-space-gap: 16px;
  --rv-space-gap-vertical: 16px;
  --rv-space-gap-horizontal: 16px;
}

.rv-space__item {
  -webkit-box-flex: 0;
  -webkit-flex: none;
  flex: none;
}

.rv-space {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  --gap: var(--rv-space-gap);
  --gap-vertical: var(--gap);
  --gap-horizontal: var(--gap);
}

.rv-space--vertical {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
}

.rv-space--vertical>.rv-space__item {
  margin-bottom: var(--gap-vertical);
}

.rv-space--vertical>.rv-space__item:last-child {
  margin-bottom: 0;
}

.rv-space--horizontal {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  flex-direction: row;
}

.rv-space--horizontal>.rv-space__item {
  margin-right: var(--gap-horizontal);
}

.rv-space--horizontal>.rv-space__item:last-child {
  margin-right: 0;
}

.rv-space--horizontal.rv-space--wrap {
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: calc(var(--gap-vertical) * -1);
}

.rv-space--horizontal.rv-space--wrap>.rv-space__item {
  padding-bottom: var(--gap-vertical);
}

.rv-space.rv-space--block {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

.rv-space--align-center {
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.rv-space--align-start {
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

.rv-space--align-end {
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

.rv-space--align-baseline {
  -webkit-box-align: baseline;
  -webkit-align-items: baseline;
  align-items: baseline;
}

.rv-space--justify-center {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.rv-space--justify-start {
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}

.rv-space--justify-end {
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}

.rv-space--justify-between {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.rv-space--justify-around {
  -webkit-justify-content: space-around;
  justify-content: space-around;
}

.rv-space--justify-evenly {
  -webkit-box-pack: space-evenly;
  -webkit-justify-content: space-evenly;
  justify-content: space-evenly;
}

.rv-space--justify-stretch {
  -webkit-box-pack: stretch;
  -webkit-justify-content: stretch;
  justify-content: stretch;
}