body {
	background-color: var(--backgroundColor) !important;
	background-image: var(--backgroundImage) !important;
	background-position: var(--backgroundImage) !important;
	background-attachment: var(--backgroundAttachment) !important;
	background-repeat: var(--backgroundRepeat) !important;
	background-size: var(--backgroundSize) !important;
	color: var(--foregroundColor) !important;
}

/* BASIC THEME */
a {color: var(--primaryBackground);}
a:hover {opacity: 0.8;}

/* PRIMARY */
.themed.ui.button {background-color: var(--primaryBackground) !important;color: var(--primaryForeground) !important;}
.themed.ui.button.basic {background-color: transparent !important;color: var(--primaryBackground) !important;box-shadow: 0 0 0 1px var(--primaryBackground) inset;}
.themed.ui.button.inverted {background-color: transparent !important;color: var(--primaryBackground) !important;box-shadow: 0 0 0 2px var(--primaryBackground) inset;}
.themed.ui.button.inverted.active,
.themed.ui.button.inverted:hover,
.themed.ui.button.inverted:active
{background-color: var(--primaryBackground) !important;color: var(--primaryForeground) !important;}

.themed.ui.label {background-color: var(--primaryBackground) !important;color: var(--primaryForeground) !important;}
.themed.ui.label.basic {background-color: transparent !important;color: var(--primaryBackground) !important;box-shadow: 0 0 0 1px var(--primaryBackground) inset;}
.themed.ui.label.inverted {background-color: transparent !important;color: var(--primaryBackground) !important;box-shadow: 0 0 0 2px var(--primaryBackground) inset;}
.themed.ui.label.inverted.active,
.themed.ui.label.inverted:hover,
.themed.ui.label.inverted:active
{background-color: var(--primaryBackground) !important;color: var(--primaryForeground) !important;}

.themed.ui.header { color: var(--primaryBackground) !important;}
.themed.ui.header .sub.header {color: inherit;opacity:0.8;}
.themed.ui.header.dividing { border-bottom: 2px solid var(--primaryBackground) !important;}

.themed.ui.statistic .value { color: var(--primaryBackground) !important;}

.themed.ui.segment { background: var(--primaryBackground) !important; color: var(--primaryForeground) !important; }
.themed.ui.segment a {color: inherit;}
.themed.ui.segment .ui.header {color: inherit;}
.themed.ui.segment .ui.header .sub.header {color: inherit;opacity:0.8;}
.themed.ui.segment.inverted { background: var(--secondaryBackground) !important; color: var(--secondaryForeground) !important;  }
.themed.ui.segment .ui.statistic .value { color: inherit !important;}
.themed.ui.segment .ui.statistic .label { color: inherit !important;}

.themed.ui.text { color: var(--primaryBackground) !important;}

i.themed.icon { color: var(--primaryBackground) !important;}
i.themed.icon.bordered.inverted,
i.themed.icon.circular.inverted { background-color: var(--primaryForeground) !important; color: var(--primaryBackground) !important;}

.themed.ui.menu.primary.secondary .item {color: var(--primaryBackground) !important;}
.themed.ui.menu.primary.secondary .item.active {background-color: var(--primaryColorActive) !important;}

/* PRIMARY ON BODY */
.themeb.ui.button {background-color: var(--primaryBackgroundOnBody) !important;color: var(--primaryForegroundOnBody) !important;}
.themeb.ui.button.basic {background-color: transparent !important;color: var(--primaryBackgroundOnBody) !important;box-shadow: 0 0 0 1px var(--primaryBackgroundOnBody) inset;}
.themeb.ui.button.inverted {background-color: transparent !important;color: var(--primaryBackgroundOnBody) !important;box-shadow: 0 0 0 2px var(--primaryBackgroundOnBody) inset;}
.themeb.ui.button.inverted.active,
.themeb.ui.button.inverted:hover,
.themeb.ui.button.inverted:active
{background-color: var(--primaryBackgroundOnBody) !important;color: var(--primaryForegroundOnBody) !important;}

.themeb.ui.label {background-color: var(--primaryBackgroundOnBody) !important;color: var(--primaryForegroundOnBody) !important;}
.themeb.ui.label.basic {background-color: transparent !important;color: var(--primaryBackgroundOnBody) !important;box-shadow: 0 0 0 1px var(--primaryBackgroundOnBody) inset;}
.themeb.ui.label.inverted {background-color: transparent !important;color: var(--primaryBackgroundOnBody) !important;box-shadow: 0 0 0 2px var(--primaryBackgroundOnBody) inset;}
.themeb.ui.label.inverted.active,
.themeb.ui.label.inverted:hover,
.themeb.ui.label.inverted:active
{background-color: var(--primaryBackgroundOnBody) !important;color: var(--primaryForegroundOnBody) !important;}

.themeb.ui.header { color: var(--primaryBackgroundOnBody) !important;}
.themeb.ui.header .sub.header {color: inherit;opacity:0.8;}
.themeb.ui.header.dividing { border-bottom: 2px solid var(--primaryBackgroundOnBody) !important;}

.themeb.ui.statistic .value { color: var(--primaryBackgroundOnBody) !important;}

.themeb.ui.segment { background: var(--primaryBackgroundOnBody) !important; color: var(--primaryForegroundOnBody) !important; }
.themeb.ui.segment a {color: inherit;}
.themeb.ui.segment .ui.header {color: inherit;}
.themeb.ui.segment .ui.header .sub.header {color: inherit;opacity:0.8;}
.themeb.ui.segment.inverted { background: var(--secondaryBackgroundOnBody) !important; color: var(--secondaryForegroundOnBody) !important;  }
.themeb.ui.segment .ui.statistic .value { color: inherit !important;}
.themeb.ui.segment .ui.statistic .label { color: inherit !important;}

.themeb.ui.text { color: var(--primaryBackgroundOnBody) !important;}

i.themeb.icon { color: var(--primaryBackgroundOnBody) !important;}
i.themeb.icon.bordered.inverted,
i.themeb.icon.circular.inverted { background-color: var(--primaryForegroundOnBody) !important; color: var(--primaryBackgroundOnBody) !important;}

.themeb.ui.menu.primary.secondary .item {color: var(--primaryBackgroundOnBody) !important;}
.themeb.ui.menu.primary.secondary .item.active {background-color: var(--primaryColorActiveOnBody) !important;}

/* PRIMARY ON SEGMENT */
.themew.ui.button {background-color: var(--primaryBackgroundOnWhite) !important;color: var(--primaryForegroundOnWhite) !important;}
.themew.ui.button.basic {background-color: transparent !important;color: var(--primaryBackgroundOnWhite) !important;box-shadow: 0 0 0 1px var(--primaryBackgroundOnWhite) inset;}
.themew.ui.button.inverted {background-color: transparent !important;color: var(--primaryBackgroundOnWhite) !important;box-shadow: 0 0 0 2px var(--primaryBackgroundOnWhite) inset;}
.themew.ui.button.inverted.active,
.themew.ui.button.inverted:hover,
.themew.ui.button.inverted:active
{background-color: var(--primaryBackgroundOnWhite) !important;color: var(--primaryForegroundOnWhite) !important;}

.themew.ui.label {background-color: var(--primaryBackgroundOnWhite) !important;color: var(--primaryForegroundOnWhite) !important;}
.themew.ui.label.basic {background-color: transparent !important;color: var(--primaryBackgroundOnWhite) !important;box-shadow: 0 0 0 1px var(--primaryBackgroundOnWhite) inset;}
.themew.ui.label.inverted {background-color: transparent !important;color: var(--primaryBackgroundOnWhite) !important;box-shadow: 0 0 0 2px var(--primaryBackgroundOnWhite) inset;}
.themew.ui.label.inverted.active,
.themew.ui.label.inverted:hover,
.themew.ui.label.inverted:active
{background-color: var(--primaryBackgroundOnWhite) !important;color: var(--primaryForegroundOnWhite) !important;}

.themew.ui.header { color: var(--primaryBackgroundOnWhite) !important;}
.themew.ui.header .sub.header {color: inherit;opacity:0.8;}
.themew.ui.header.dividing { border-bottom: 2px solid var(--primaryBackgroundOnWhite) !important;}

.themew.ui.statistic .value { color: var(--primaryBackgroundOnWhite) !important;}

.themew.ui.segment { background: var(--primaryBackgroundOnWhite) !important; color: var(--primaryForegroundOnWhite) !important; }
.themew.ui.segment a {color: inherit;}
.themew.ui.segment .ui.header {color: inherit;}
.themew.ui.segment .ui.header .sub.header {color: inherit;opacity:0.8;}
.themew.ui.segment.inverted { background: var(--secondaryBackgroundOnWhite) !important; color: var(--secondaryForegroundOnWhite) !important;  }
.themew.ui.segment .ui.statistic .value { color: inherit !important;}
.themew.ui.segment .ui.statistic .label { color: inherit !important;}

.themew.ui.text { color: var(--primaryBackgroundOnWhite) !important;}

i.themew.icon { color: var(--primaryBackgroundOnWhite) !important;}
i.themew.icon.bordered.inverted,
i.themew.icon.circular.inverted { background-color: var(--primaryForegroundOnWhite) !important; color: var(--primaryBackgroundOnWhite) !important;}

.themew.ui.menu.primary.secondary .item {color: var(--primaryBackgroundOnWhite) !important;}
.themew.ui.menu.primary.secondary .item.active {background-color: var(--primaryColorActiveOnWhite) !important;}

/* SECONDARY */
.themed.secondary.ui.button {background-color: var(--secondaryBackground) !important;color: var(--secondaryForeground) !important;}
.themed.secondary.ui.button.basic {background-color: transparent !important;color: var(--secondaryBackground) !important;box-shadow: 0 0 0 1px var(--secondaryBackground) inset;}
.themed.secondary.ui.button.inverted {background-color: transparent !important;color: var(--secondaryBackground) !important;box-shadow: 0 0 0 2px var(--secondaryBackground) inset;}
.themed.secondary.ui.button.inverted.active,
.themed.secondary.ui.button.inverted:hover,
.themed.secondary.ui.button.inverted:active
{background-color: var(--secondaryBackground) !important;color: var(--secondaryForeground) !important;}

.themed.secondary.ui.label {background-color: var(--secondaryBackground) !important;color: var(--secondaryForeground) !important;}
.themed.secondary.ui.label.basic {background-color: transparent !important;color: var(--secondaryBackground) !important;box-shadow: 0 0 0 1px var(--secondaryBackground) inset;}
.themed.secondary.ui.label.inverted {background-color: transparent !important;color: var(--secondaryBackground) !important;box-shadow: 0 0 0 2px var(--secondaryBackground) inset;}
.themed.secondary.ui.label.inverted.active,
.themed.secondary.ui.label.inverted:hover,
.themed.secondary.ui.label.inverted:active
{background-color: var(--secondaryBackground) !important;color: var(--secondaryForeground) !important;}

.themed.secondary.ui.header { color: var(--secondaryBackground) !important;}
.themed.secondary.ui.header .sub.header {color: inherit;opacity:0.8;}
.themed.secondary.ui.header.dividing { border-bottom: 2px solid var(--secondaryBackground) !important;}

.themed.secondary.ui.statistic .value { color: var(--secondaryBackground) !important;}

.themed.secondary.ui.segment { background: var(--secondaryBackground) !important; color: var(--secondaryForeground) !important; }
.themed.secondary.ui.segment a {color: inherit;}
.themed.secondary.ui.segment .ui.header {color: inherit;}
.themed.secondary.ui.segment .ui.header .sub.header {color: inherit;opacity:0.8;}
.themed.secondary.ui.segment.inverted { background: var(--primaryBackground) !important; color: var(--primaryForeground) !important;  }
.themed.secondary.ui.segment .ui.statistic .value { color: inherit !important;}
.themed.secondary.ui.segment .ui.statistic .label { color: inherit !important;}

.themed.secondary.ui.text { color: var(--secondaryBackground) !important;}

i.themed.secondary.icon { color: var(--secondaryBackground) !important;}
i.themed.secondary.icon.bordered.inverted,
i.themed.secondary.icon.circular.inverted { background-color: var(--secondaryForeground) !important; color: var(--secondaryBackground) !important;}

.themed.secondary.ui.menu .item {color: var(--secondaryBackground) !important;}
.themed.secondary.ui.menu .item.active {background-color: var(--secondaryColorActive) !important;}

/* SECONDARY ON BODY */
.themeb.secondary.ui.button {background-color: var(--secondaryBackgroundOnBody) !important;color: var(--secondaryForegroundOnBody) !important;}
.themeb.secondary.ui.button.basic {background-color: transparent !important;color: var(--secondaryBackgroundOnBody) !important;box-shadow: 0 0 0 1px var(--secondaryBackgroundOnBody) inset;}
.themeb.secondary.ui.button.inverted {background-color: transparent !important;color: var(--secondaryBackgroundOnBody) !important;box-shadow: 0 0 0 2px var(--secondaryBackgroundOnBody) inset;}
.themeb.secondary.ui.button.inverted.active,
.themeb.secondary.ui.button.inverted:hover,
.themeb.secondary.ui.button.inverted:active
{background-color: var(--secondaryBackgroundOnBody) !important;color: var(--secondaryForegroundOnBody) !important;}

.themeb.secondary.ui.label {background-color: var(--secondaryBackgroundOnBody) !important;color: var(--secondaryForegroundOnBody) !important;}
.themeb.secondary.ui.label.basic {background-color: transparent !important;color: var(--secondaryBackgroundOnBody) !important;box-shadow: 0 0 0 1px var(--secondaryBackgroundOnBody) inset;}
.themeb.secondary.ui.label.inverted {background-color: transparent !important;color: var(--secondaryBackgroundOnBody) !important;box-shadow: 0 0 0 2px var(--secondaryBackgroundOnBody) inset;}
.themeb.secondary.ui.label.inverted.active,
.themeb.secondary.ui.label.inverted:hover,
.themeb.secondary.ui.label.inverted:active
{background-color: var(--secondaryBackgroundOnBody) !important;color: var(--secondaryForegroundOnBody) !important;}

.themeb.secondary.ui.header { color: var(--secondaryBackgroundOnBody) !important;}
.themeb.secondary.ui.header .sub.header {color: inherit;opacity:0.8;}
.themeb.secondary.ui.header.dividing { border-bottom: 2px solid var(--secondaryBackgroundOnBody) !important;}

.themeb.secondary.ui.statistic .value { color: var(--secondaryBackgroundOnBody) !important;}

.themeb.secondary.ui.segment { background: var(--secondaryBackgroundOnBody) !important; color: var(--secondaryForegroundOnBody) !important; }
.themeb.secondary.ui.segment a {color: inherit;}
.themeb.secondary.ui.segment .ui.header {color: inherit;}
.themeb.secondary.ui.segment .ui.header .sub.header {color: inherit;opacity:0.8;}
.themeb.secondary.ui.segment.inverted { background: var(--primaryBackgroundOnBody) !important; color: var(--primaryForegroundOnBody) !important;  }
.themeb.secondary.ui.segment .ui.statistic .value { color: inherit !important;}
.themeb.secondary.ui.segment .ui.statistic .label { color: inherit !important;}

.themeb.secondary.ui.text { color: var(--secondaryBackgroundOnBody) !important;}

i.themeb.secondary.icon { color: var(--secondaryBackgroundOnBody) !important;}
i.themeb.secondary.icon.bordered.inverted,
i.themeb.secondary.icon.circular.inverted { background-color: var(--secondaryForegroundOnBody) !important; color: var(--secondaryBackgroundOnBody) !important;}

.themeb.secondary.ui.menu .item {color: var(--secondaryBackgroundOnBody) !important;}
.themeb.secondary.ui.menu .item.active {background-color: var(--secondaryColorActiveOnBody) !important;}

/* SECONDARY ON SEGMENT */
.themew.secondary.ui.button {background-color: var(--secondaryBackgroundOnWhite) !important;color: var(--secondaryForegroundOnWhite) !important;}
.themew.secondary.ui.button.basic {background-color: transparent !important;color: var(--secondaryBackgroundOnWhite) !important;box-shadow: 0 0 0 1px var(--secondaryBackgroundOnWhite) inset;}
.themew.secondary.ui.button.inverted {background-color: transparent !important;color: var(--secondaryBackgroundOnWhite) !important;box-shadow: 0 0 0 2px var(--secondaryBackgroundOnWhite) inset;}
.themew.secondary.ui.button.inverted.active,
.themew.secondary.ui.button.inverted:hover,
.themew.secondary.ui.button.inverted:active
{background-color: var(--secondaryBackgroundOnWhite) !important;color: var(--secondaryForegroundOnWhite) !important;}

.themew.secondary.ui.label {background-color: var(--secondaryBackgroundOnWhite) !important;color: var(--secondaryForegroundOnWhite) !important;}
.themew.secondary.ui.label.basic {background-color: transparent !important;color: var(--secondaryBackgroundOnWhite) !important;box-shadow: 0 0 0 1px var(--secondaryBackgroundOnWhite) inset;}
.themew.secondary.ui.label.inverted {background-color: transparent !important;color: var(--secondaryBackgroundOnWhite) !important;box-shadow: 0 0 0 2px var(--secondaryBackgroundOnWhite) inset;}
.themew.secondary.ui.label.inverted.active,
.themew.secondary.ui.label.inverted:hover,
.themew.secondary.ui.label.inverted:active
{background-color: var(--secondaryBackgroundOnWhite) !important;color: var(--secondaryForegroundOnWhite) !important;}

.themew.secondary.ui.header { color: var(--secondaryBackgroundOnWhite) !important;}
.themew.secondary.ui.header .sub.header {color: inherit;opacity:0.8;}
.themew.secondary.ui.header.dividing { border-bottom: 2px solid var(--secondaryBackgroundOnWhite) !important;}

.themew.secondary.ui.statistic .value { color: var(--secondaryBackgroundOnWhite) !important;}

.themew.secondary.ui.segment { background: var(--secondaryBackgroundOnWhite) !important; color: var(--secondaryForegroundOnWhite) !important; }
.themew.secondary.ui.segment a {color: inherit;}
.themew.secondary.ui.segment .ui.header {color: inherit;}
.themew.secondary.ui.segment .ui.header .sub.header {color: inherit;opacity:0.8;}
.themew.secondary.ui.segment.inverted { background: var(--primaryBackgroundOnWhite) !important; color: var(--primaryForegroundOnWhite) !important;  }
.themew.secondary.ui.segment .ui.statistic .value { color: inherit !important;}
.themew.secondary.ui.segment .ui.statistic .label { color: inherit !important;}

.themew.secondary.ui.text { color: var(--secondaryBackgroundOnWhite) !important;}

i.themew.secondary.icon { color: var(--secondaryBackgroundOnWhite) !important;}
i.themew.secondary.icon.bordered.inverted,
i.themew.secondary.icon.circular.inverted { background-color: var(--secondaryForegroundOnWhite) !important; color: var(--secondaryBackgroundOnWhite) !important;}

.themew.secondary.ui.menu .item {color: var(--secondaryBackgroundOnWhite) !important;}
.themew.secondary.ui.menu .item.active {background-color: var(--secondaryColorActiveOnWhite) !important;}

/* TERTIARY */
.themed.tertiary.ui.button {background-color: var(--tertiaryBackground) !important;color: var(--tertiaryForeground) !important;}
.themed.tertiary.ui.button.basic {background-color: transparent !important;color: var(--tertiaryBackground) !important;box-shadow: 0 0 0 1px var(--tertiaryBackground) inset;}
.themed.tertiary.ui.button.inverted {background-color: transparent !important;color: var(--tertiaryBackground) !important;box-shadow: 0 0 0 2px var(--tertiaryBackground) inset;}
.themed.tertiary.ui.button.inverted.active,
.themed.tertiary.ui.button.inverted:hover,
.themed.tertiary.ui.button.inverted:active
{background-color: var(--tertiaryBackground) !important;color: var(--tertiaryForeground) !important;}

.themed.tertiary.ui.label {background-color: var(--tertiaryBackground) !important;color: var(--tertiaryForeground) !important;}
.themed.tertiary.ui.label.basic {background-color: transparent !important;color: var(--tertiaryBackground) !important;box-shadow: 0 0 0 1px var(--tertiaryBackground) inset;}
.themed.tertiary.ui.label.inverted {background-color: transparent !important;color: var(--tertiaryBackground) !important;box-shadow: 0 0 0 2px var(--tertiaryBackground) inset;}
.themed.tertiary.ui.label.inverted.active,
.themed.tertiary.ui.label.inverted:hover,
.themed.tertiary.ui.label.inverted:active
{background-color: var(--tertiaryBackground) !important;color: var(--tertiaryForeground) !important;}

.themed.tertiary.ui.header { color: var(--tertiaryBackground) !important;}
.themed.tertiary.ui.header .sub.header {color: inherit;opacity:0.8;}
.themed.tertiary.ui.header.dividing { border-bottom: 2px solid var(--tertiaryBackground) !important;}

.themed.tertiary.ui.statistic .value { color: var(--tertiaryBackground) !important;}

.themed.tertiary.ui.segment { background: var(--tertiaryBackground) !important; color: var(--tertiaryForeground) !important; }
.themed.tertiary.ui.segment a {color: inherit;}
.themed.tertiary.ui.segment .ui.header {color: inherit;}
.themed.tertiary.ui.segment .ui.header .sub.header {color: inherit;opacity:0.8;}
.themed.tertiary.ui.segment.inverted { background: var(--primaryBackground) !important; color: var(--primaryForeground) !important;  }
.themed.tertiary.ui.segment .ui.statistic .value { color: inherit !important;}
.themed.tertiary.ui.segment .ui.statistic .label { color: inherit !important;}

.themed.tertiary.ui.text { color: var(--tertiaryBackground) !important;}

i.themed.tertiary.icon { color: var(--tertiaryBackground) !important;}
i.themed.tertiary.icon.bordered.inverted,
i.themed.tertiary.icon.circular.inverted { background-color: var(--tertiaryForeground) !important; color: var(--tertiaryBackground) !important;}

.themed.tertiary.ui.menu .item {color: var(--tertiaryBackground) !important;}
.themed.tertiary.ui.menu .item.active {background-color: var(--tertiaryColorActive) !important;}

/* TERTIARY ON BODY */
.themeb.tertiary.ui.button {background-color: var(--tertiaryBackgroundOnBody) !important;color: var(--tertiaryForegroundOnBody) !important;}
.themeb.tertiary.ui.button.basic {background-color: transparent !important;color: var(--tertiaryBackgroundOnBody) !important;box-shadow: 0 0 0 1px var(--tertiaryBackgroundOnBody) inset;}
.themeb.tertiary.ui.button.inverted {background-color: transparent !important;color: var(--tertiaryBackgroundOnBody) !important;box-shadow: 0 0 0 2px var(--tertiaryBackgroundOnBody) inset;}
.themeb.tertiary.ui.button.inverted.active,
.themeb.tertiary.ui.button.inverted:hover,
.themeb.tertiary.ui.button.inverted:active
{background-color: var(--tertiaryBackgroundOnBody) !important;color: var(--tertiaryForegroundOnBody) !important;}

.themeb.tertiary.ui.label {background-color: var(--tertiaryBackgroundOnBody) !important;color: var(--tertiaryForegroundOnBody) !important;}
.themeb.tertiary.ui.label.basic {background-color: transparent !important;color: var(--tertiaryBackgroundOnBody) !important;box-shadow: 0 0 0 1px var(--tertiaryBackgroundOnBody) inset;}
.themeb.tertiary.ui.label.inverted {background-color: transparent !important;color: var(--tertiaryBackgroundOnBody) !important;box-shadow: 0 0 0 2px var(--tertiaryBackgroundOnBody) inset;}
.themeb.tertiary.ui.label.inverted.active,
.themeb.tertiary.ui.label.inverted:hover,
.themeb.tertiary.ui.label.inverted:active
{background-color: var(--tertiaryBackgroundOnBody) !important;color: var(--tertiaryForegroundOnBody) !important;}

.themeb.tertiary.ui.header { color: var(--tertiaryBackgroundOnBody) !important;}
.themeb.tertiary.ui.header .sub.header {color: inherit;opacity:0.8;}
.themeb.tertiary.ui.header.dividing { border-bottom: 2px solid var(--tertiaryBackgroundOnBody) !important;}

.themeb.tertiary.ui.statistic .value { color: var(--tertiaryBackgroundOnBody) !important;}

.themeb.tertiary.ui.segment { background: var(--tertiaryBackgroundOnBody) !important; color: var(--tertiaryForegroundOnBody) !important; }
.themeb.tertiary.ui.segment a {color: inherit;}
.themeb.tertiary.ui.segment .ui.header {color: inherit;}
.themeb.tertiary.ui.segment .ui.header .sub.header {color: inherit;opacity:0.8;}
.themeb.tertiary.ui.segment.inverted { background: var(--primaryBackgroundOnBody) !important; color: var(--primaryForegroundOnBody) !important;  }
.themeb.tertiary.ui.segment .ui.statistic .value { color: inherit !important;}
.themeb.tertiary.ui.segment .ui.statistic .label { color: inherit !important;}

.themeb.tertiary.ui.text { color: var(--tertiaryBackgroundOnBody) !important;}

i.themeb.tertiary.icon { color: var(--tertiaryBackgroundOnBody) !important;}
i.themeb.tertiary.icon.bordered.inverted,
i.themeb.tertiary.icon.circular.inverted { background-color: var(--tertiaryForegroundOnBody) !important; color: var(--tertiaryBackgroundOnBody) !important;}

.themeb.tertiary.ui.menu .item {color: var(--tertiaryBackgroundOnBody) !important;}
.themeb.tertiary.ui.menu .item.active {background-color: var(--tertiaryColorActiveOnBody) !important;}

/* TERTIARY ON SEGMENT */
.themew.tertiary.ui.button {background-color: var(--tertiaryBackgroundOnWhite) !important;color: var(--tertiaryForegroundOnWhite) !important;}
.themew.tertiary.ui.button.basic {background-color: transparent !important;color: var(--tertiaryBackgroundOnWhite) !important;box-shadow: 0 0 0 1px var(--tertiaryBackgroundOnWhite) inset;}
.themew.tertiary.ui.button.inverted {background-color: transparent !important;color: var(--tertiaryBackgroundOnWhite) !important;box-shadow: 0 0 0 2px var(--tertiaryBackgroundOnWhite) inset;}
.themew.tertiary.ui.button.inverted.active,
.themew.tertiary.ui.button.inverted:hover,
.themew.tertiary.ui.button.inverted:active
{background-color: var(--tertiaryBackgroundOnWhite) !important;color: var(--tertiaryForegroundOnWhite) !important;}

.themew.tertiary.ui.label {background-color: var(--tertiaryBackgroundOnWhite) !important;color: var(--tertiaryForegroundOnWhite) !important;}
.themew.tertiary.ui.label.basic {background-color: transparent !important;color: var(--tertiaryBackgroundOnWhite) !important;box-shadow: 0 0 0 1px var(--tertiaryBackgroundOnWhite) inset;}
.themew.tertiary.ui.label.inverted {background-color: transparent !important;color: var(--tertiaryBackgroundOnWhite) !important;box-shadow: 0 0 0 2px var(--tertiaryBackgroundOnWhite) inset;}
.themew.tertiary.ui.label.inverted.active,
.themew.tertiary.ui.label.inverted:hover,
.themew.tertiary.ui.label.inverted:active
{background-color: var(--tertiaryBackgroundOnWhite) !important;color: var(--tertiaryForegroundOnWhite) !important;}

.themew.tertiary.ui.header { color: var(--tertiaryBackgroundOnWhite) !important;}
.themew.tertiary.ui.header .sub.header {color: inherit;opacity:0.8;}
.themew.tertiary.ui.header.dividing { border-bottom: 2px solid var(--tertiaryBackgroundOnWhite) !important;}

.themew.tertiary.ui.statistic .value { color: var(--tertiaryBackgroundOnWhite) !important;}

.themew.tertiary.ui.segment { background: var(--tertiaryBackgroundOnWhite) !important; color: var(--tertiaryForegroundOnWhite) !important; }
.themew.tertiary.ui.segment a {color: inherit;}
.themew.tertiary.ui.segment .ui.header {color: inherit;}
.themew.tertiary.ui.segment .ui.header .sub.header {color: inherit;opacity:0.8;}
.themew.tertiary.ui.segment.inverted { background: var(--primaryBackgroundOnWhite) !important; color: var(--primaryForegroundOnWhite) !important;  }
.themew.tertiary.ui.segment .ui.statistic .value { color: inherit !important;}
.themew.tertiary.ui.segment .ui.statistic .label { color: inherit !important;}

.themew.tertiary.ui.text { color: var(--tertiaryBackgroundOnWhite) !important;}

i.themew.tertiary.icon { color: var(--tertiaryBackgroundOnWhite) !important;}
i.themew.tertiary.icon.bordered.inverted,
i.themew.tertiary.icon.circular.inverted { background-color: var(--tertiaryForegroundOnWhite) !important; color: var(--tertiaryBackgroundOnWhite) !important;}

.themew.tertiary.ui.menu .item {color: var(--tertiaryBackgroundOnWhite) !important;}
.themew.tertiary.ui.menu .item.active {background-color: var(--tertiaryColorActiveOnWhite) !important;}

/* BODY */

.themes.ui.header {color: var(--foregroundColor) !important;}
.themes.ui.header .sub.header {color: var(--foregroundColor) !important;}
.themes.ui.menu.secondary .item {color: var(--foregroundColor) !important;}
.themes.ui.menu.secondary .item.active {background-color: var(--foregroundColorActive) !important;}
.themes.ui.statistic .label,
.themes.ui.statistic .value
{color: var(--foregroundColor) !important;}
.themes.ui.text { color: var(--foregroundColor) !important;}

/* */

.themed.ui.button.loading, .themew.ui.button.loading, .themeb.ui.button.loading
{color: transparent !important;}