/*!
 * # Semantic UI - Label
 * http://github.com/semantic-org/semantic-ui/
 *
 *
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */


/*******************************
            Label
*******************************/

.ui.label {
  display: inline-block;
  line-height: 1;
  vertical-align: @labelVerticalAlign;

  margin: @labelVerticalMargin @labelHorizontalMargin;

  background-color: @labelBackgroundColor;
  background-image: @labelBackgroundImage;
  padding: @labelVerticalPadding @labelHorizontalPadding;
  color: @labelColor;

  text-transform: @labelTextTransform;
  font-weight: @labelFontWeight;

  border: @labelBorder;
  border-radius: @labelBorderRadius;
  transition: @labelTransition;
}

.ui.label:first-child {
  margin-left: 0em;
}
.ui.label:last-child {
  margin-right: 0em;
}

/* Link */
a.ui.label {
  cursor: pointer;
}

/* Inside Link */
.ui.label > a {
  cursor: pointer;
  color: inherit;
  opacity: @labelLinkOpacity;
  transition: @labelLinkTransition;
}
.ui.label > a:hover {
  opacity: 1;
}

/* Image */
.ui.label > img {
  width: auto !important;
  vertical-align: middle;
  height: @labelImageHeight !important;
}

/* Icon */
.ui.label > .icon {
  width: auto;
  margin: 0em @labelIconDistance 0em 0em;
}

/* Detail */
.ui.label > .detail {
  display: inline-block;
  vertical-align: top;
  font-weight: @labelDetailFontWeight;
  margin-left: @labelDetailMargin;
  opacity: @labelDetailOpacity;
}
.ui.label > .detail .icon {
  margin: 0em @labelDetailIconDistance 0em 0em;
}


/* Removable label */
.ui.label > .close.icon,
.ui.label > .delete.icon {
  cursor: pointer;
  margin-right: 0em;
  margin-left: @labelDeleteMargin;
  font-size: @labelDeleteSize;
  opacity: @labelDeleteOpacity;
  transition: @labelDeleteTransition;
}
.ui.label > .delete.icon:hover {
  opacity: 1;
}

/*-------------------
       Group
--------------------*/

.ui.labels > .label {
  margin: 0em @labelGroupHorizontalMargin @labelGroupVerticalMargin 0em;
}


/*-------------------
       Coupling
--------------------*/

.ui.header > .ui.label {
  margin-top: @labelLineHeightOffset;
}


/* Remove border radius on attached segment */
.ui.attached.segment > .ui.top.left.attached.label,
.ui.bottom.attached.segment > .ui.top.left.attached.label  {
  border-top-left-radius: 0;
}
.ui.attached.segment > .ui.top.right.attached.label,
.ui.bottom.attached.segment > .ui.top.right.attached.label  {
  border-top-right-radius: 0;
}
.ui.top.attached.segment > .ui.bottom.left.attached.label  {
  border-bottom-left-radius: 0;
}
.ui.top.attached.segment > .ui.bottom.right.attached.label  {
  border-bottom-right-radius: 0;
}

/* Padding on next content after a label */
.ui.top.attached.label:first-child + :not(.attached),
.ui.top.attached.label + [class*="right floated"] + * {
  margin-top: @labelAttachedSegmentPadding !important;
}
.ui.bottom.attached.label:first-child ~ :last-child:not(.attached) {
  margin-top: 0em;
  margin-bottom: @labelAttachedSegmentPadding !important;
}


/*******************************
             Types
*******************************/

.ui.image.label {
  width: auto !important;
  margin-top: 0em;
  margin-bottom: 0em;
  max-width: 9999px;
  vertical-align: baseline;
  text-transform: none;

  background: @labelImageLabelBackground;
  padding: @labelImageLabelPadding;
  border-radius: @labelImageLabelBorderRadius;
  box-shadow: @labelImageLabelBoxShadow;
}

.ui.image.label img {
  display: inline-block;
  vertical-align: top;

  height: @labelImageLabelImageHeight;
  margin: @labelImageLabelImageMargin;
  border-radius: @labelImageLabelImageBorderRadius;
}

.ui.image.label .detail {
  background: @labelImageLabelDetailBackground;
  margin: @labelImageLabelDetailMargin;
  padding: @labelImageLabelDetailPadding;
  border-radius: 0em @labelImageLabelBorderRadius @labelImageLabelBorderRadius 0em;
}

/*-------------------
         Tag
--------------------*/

.ui.tag.labels .label,
.ui.tag.label {
  margin-left: 1em;
  position: relative;
  padding-left: @labelTagHorizontalPadding;
  padding-right: @labelTagHorizontalPadding;

  border-radius: 0em @labelBorderRadius @labelBorderRadius 0em;
  transition: @labelTagTransition;
}
.ui.tag.labels .label:before,
.ui.tag.label:before {
    position: absolute;
    transform: translateY(-50%) translateX(50%) rotate(-45deg);

    top: @labelTagTriangleTopOffset;
    right: @labelTagTriangleRightOffset;
    content: '';

    background-color: inherit;
    background-image: @labelTagTriangleBackgroundImage;

    width: @labelTagTriangleSize;
    height: @labelTagTriangleSize;
    transition: @labelTagTransition;
}


.ui.tag.labels .label:after,
.ui.tag.label:after {
  position: absolute;
  content: '';
  top: 50%;
  left: -(@labelTagCircleSize / 2);

  margin-top: -(@labelTagCircleSize / 2);
  background-color: @labelTagCircleColor !important;
  width: @labelTagCircleSize;
  height: @labelTagCircleSize;

  box-shadow: @labelTagCircleBoxShadow;
  border-radius: @circularRadius;
}


/*-------------------
    Corner Label
--------------------*/

.ui.corner.label {
  position: absolute;
  top: 0em;
  right: 0em;
  margin: 0em;
  padding: 0em;
  text-align: center;

  border-color: @labelBackgroundColor;

  width: @labelCornerTriangleSize;
  height: @labelCornerTriangleSize;
  z-index: @labelCornerTriangleZIndex;
  transition: @labelCornerTriangleTransition;
}

/* Icon Label */
.ui.corner.label{
  background-color: transparent !important;
}
.ui.corner.label:after {
  position: absolute;
  content: "";
  right: 0em;
  top: 0em;
  z-index: -1;

  width: 0em;
  height: 0em;
  background-color: transparent !important;

  border-top: 0em solid transparent;
  border-right: @labelCornerTriangleSize solid transparent;
  border-bottom: @labelCornerTriangleSize solid transparent;
  border-left: 0em solid transparent;

  border-right-color: inherit;
  transition: @labelCornerTriangleTransition;
}

.ui.corner.label .icon {
  cursor: default;
  position: relative;
  top: @labelCornerIconTopOffset;
  left: @labelCornerIconLeftOffset;
  font-size: @labelCornerIconSize;
  margin: 0em;
}

/* Left Corner */
.ui.left.corner.label,
.ui.left.corner.label:after {
  right: auto;
  left: 0em;
}
.ui.left.corner.label:after {
  border-top: @labelCornerTriangleSize solid transparent;
  border-right: @labelCornerTriangleSize solid transparent;
  border-bottom: 0em solid transparent;
  border-left: 0em solid transparent;

  border-top-color: inherit;
}
.ui.left.corner.label .icon {
  left: -@labelCornerIconLeftOffset;
}

/* Segment */
.ui.segment > .ui.corner.label {
  top: -1px;
  right: -1px;
}
.ui.segment > .ui.left.corner.label {
  right: auto;
  left: -1px;
}

/*-------------------
       Ribbon
--------------------*/

.ui.ribbon.label {
  position: relative;
  margin: 0em;
  min-width: max-content;
  border-radius: 0em @labelBorderRadius @labelBorderRadius 0em;
  border-color: @labelRibbonShadowColor;
}

.ui.ribbon.label:after {
  position: absolute;
  content: '';

  top: 100%;
  left: 0%;
  background-color: transparent !important;

  border-style: solid;
  border-width: 0em @labelRibbonTriangleSize @labelRibbonTriangleSize 0em;
  border-color: transparent;
  border-right-color: inherit;

  width: 0em;
  height: 0em;
}
/* Positioning */
.ui.ribbon.label {
  left: @labelRibbonOffset;
  margin-right: -@labelRibbonTriangleSize;
  padding-left: @labelRibbonDistance;
  padding-right: @labelRibbonTriangleSize;
}
.ui[class*="right ribbon"].label {
  left: @labelRightRibbonOffset;
  padding-left: @labelRibbonTriangleSize;
  padding-right: @labelRibbonDistance;
}

/* Right Ribbon */
.ui[class*="right ribbon"].label {
  text-align: left;
  transform: translateX(-100%);
  border-radius: @labelBorderRadius 0em 0em @labelBorderRadius;
}
.ui[class*="right ribbon"].label:after {
  left: auto;
  right: 0%;

  border-style: solid;
  border-width: @labelRibbonTriangleSize @labelRibbonTriangleSize 0em 0em;
  border-color: transparent;
  border-top-color: inherit;
}

/* Inside Table */
.ui.image > .ribbon.label,
.ui.card .image > .ribbon.label {
  position: absolute;
  top: @labelRibbonImageTopDistance;
}
.ui.card .image > .ui.ribbon.label,
.ui.image > .ui.ribbon.label {
  left: @labelRibbonImageOffset;
}
.ui.card .image > .ui[class*="right ribbon"].label,
.ui.image > .ui[class*="right ribbon"].label {
  left: @labelRightRibbonImageOffset;
  padding-left: @labelHorizontalPadding;
}

/* Inside Table */
.ui.table td > .ui.ribbon.label {
  left: @labelRibbonTableOffset;
}
.ui.table td > .ui[class*="right ribbon"].label {
  left: @labelRightRibbonTableOffset;
  padding-left: @labelHorizontalPadding;
}


/*-------------------
      Attached
--------------------*/

.ui[class*="top attached"].label,
.ui.attached.label {
  width: 100%;
  position: absolute;
  margin: 0em;
  top: 0em;
  left: 0em;

  padding: @labelAttachedVerticalPadding @labelAttachedHorizontalPadding;

  border-radius: @labelAttachedCornerBorderRadius @labelAttachedCornerBorderRadius 0em 0em;
}
.ui[class*="bottom attached"].label {
  top: auto;
  bottom: 0em;
  border-radius: 0em 0em @labelAttachedCornerBorderRadius @labelAttachedCornerBorderRadius;
}

.ui[class*="top left attached"].label {
  width: auto;
  margin-top: 0em !important;
  border-radius: @labelAttachedCornerBorderRadius 0em @labelAttachedBorderRadius 0em;
}

.ui[class*="top right attached"].label {
  width: auto;
  left: auto;
  right: 0em;
  border-radius: 0em @labelAttachedCornerBorderRadius 0em @labelAttachedBorderRadius;
}
.ui[class*="bottom left attached"].label {
  width: auto;
  top: auto;
  bottom: 0em;
  border-radius: 0em @labelAttachedBorderRadius 0em @labelAttachedCornerBorderRadius;
}
.ui[class*="bottom right attached"].label {
  top: auto;
  bottom: 0em;
  left: auto;
  right: 0em;
  width: auto;
  border-radius: @labelAttachedBorderRadius 0em @labelAttachedCornerBorderRadius 0em;
}


/*******************************
             States
*******************************/

/*-------------------
      Disabled
--------------------*/

.ui.label.disabled {
  opacity: 0.5;
}

/*-------------------
        Hover
--------------------*/

a.ui.labels .label:hover,
a.ui.label:hover {
  background-color: @labelLabelHoverBackgroundColor;
  border-color: @labelLabelHoverBackgroundColor;

  background-image: @labelLabelHoverBackgroundImage;
  color: @labelLabelHoverTextColor;
}
.ui.labels a.label:hover:before,
a.ui.label:hover:before {
  color: @labelLabelHoverTextColor;
}

/*-------------------
        Active
--------------------*/

.ui.active.label {
  background-color: @labelLabelActiveBackgroundColor;
  border-color: @labelLabelActiveBackgroundColor;

  background-image: @labelLabelActiveBackgroundImage;
  color: @labelLabelActiveTextColor;
}
.ui.active.label:before {
  background-color: @labelLabelActiveBackgroundColor;
  background-image: @labelLabelActiveBackgroundImage;
  color: @labelLabelActiveTextColor;
}

/*-------------------
     Active Hover
--------------------*/

a.ui.labels .active.label:hover,
a.ui.active.label:hover {
  background-color: @labelLabelActiveHoverBackgroundColor;
  border-color: @labelLabelActiveHoverBackgroundColor;

  background-image: @labelLabelActiveHoverBackgroundImage;
  color: @labelLabelActiveHoverTextColor;
}
.ui.labels a.active.label:ActiveHover:before,
a.ui.active.label:ActiveHover:before {
  background-color: @labelLabelActiveHoverBackgroundColor;
  background-image: @labelLabelActiveHoverBackgroundImage;
  color: @labelLabelActiveHoverTextColor;
}


/*-------------------
      Visible
--------------------*/

.ui.labels.visible .label,
.ui.label.visible:not(.dropdown) {
  display: inline-block !important;
}

/*-------------------
      Hidden
--------------------*/

.ui.labels.hidden .label,
.ui.label.hidden {
  display: none !important;
}


/*******************************
           Variations
*******************************/


/*-------------------
       Colors
--------------------*/

/*--- Red ---*/
.ui.red.labels .label,
.ui.red.label {
  background-color: @red !important;
  border-color: @red !important;
  color: @labelRedTextColor !important;
}
/* Link */
.ui.red.labels .label:hover,
a.ui.red.label:hover{
  background-color: @redHover !important;
  border-color: @redHover !important;
  color: @labelRedHoverTextColor !important;
}
/* Corner */
.ui.red.corner.label,
.ui.red.corner.label:hover {
  background-color: transparent !important;
}
/* Ribbon */
.ui.red.ribbon.label {
  border-color: @labelRedRibbonShadow !important;
}
/* Basic */
.ui.basic.red.label {
  background-color: @white !important;
  color: @red !important;
  border-color: @red !important;
}
.ui.basic.red.labels a.label:hover,
a.ui.basic.red.label:hover {
  background-color: @white !important;
  color: @redHover !important;
  border-color: @redHover !important;
}

/*--- Orange ---*/
.ui.orange.labels .label,
.ui.orange.label {
  background-color: @orange !important;
  border-color: @orange !important;
  color: @labelOrangeTextColor !important;
}
/* Link */
.ui.orange.labels .label:hover,
a.ui.orange.label:hover{
  background-color: @orangeHover !important;
  border-color: @orangeHover !important;
  color: @labelOrangeHoverTextColor !important;
}
/* Corner */
.ui.orange.corner.label,
.ui.orange.corner.label:hover {
  background-color: transparent !important;
}
/* Ribbon */
.ui.orange.ribbon.label {
  border-color: @labelOrangeRibbonShadow !important;
}
/* Basic */
.ui.basic.orange.label {
  background-color: @white !important;
  color: @orange !important;
  border-color: @orange !important;
}
.ui.basic.orange.labels a.label:hover,
a.ui.basic.orange.label:hover {
  background-color: @white !important;
  color: @orangeHover !important;
  border-color: @orangeHover !important;
}

/*--- Yellow ---*/
.ui.yellow.labels .label,
.ui.yellow.label {
  background-color: @yellow !important;
  border-color: @yellow !important;
  color: @labelYellowTextColor !important;
}
/* Link */
.ui.yellow.labels .label:hover,
a.ui.yellow.label:hover{
  background-color: @yellowHover !important;
  border-color: @yellowHover !important;
  color: @labelYellowHoverTextColor !important;
}
/* Corner */
.ui.yellow.corner.label,
.ui.yellow.corner.label:hover {
  background-color: transparent !important;
}
/* Ribbon */
.ui.yellow.ribbon.label {
  border-color: @labelYellowRibbonShadow !important;
}
/* Basic */
.ui.basic.yellow.label {
  background-color: @white !important;
  color: @yellow !important;
  border-color: @yellow !important;
}
.ui.basic.yellow.labels a.label:hover,
a.ui.basic.yellow.label:hover {
  background-color: @white !important;
  color: @yellowHover !important;
  border-color: @yellowHover !important;
}

/*--- Olive ---*/
.ui.olive.labels .label,
.ui.olive.label {
  background-color: @olive !important;
  border-color: @olive !important;
  color: @labelOliveTextColor !important;
}
/* Link */
.ui.olive.labels .label:hover,
a.ui.olive.label:hover{
  background-color: @oliveHover !important;
  border-color: @oliveHover !important;
  color: @labelOliveHoverTextColor !important;
}
/* Corner */
.ui.olive.corner.label,
.ui.olive.corner.label:hover {
  background-color: transparent !important;
}
/* Ribbon */
.ui.olive.ribbon.label {
  border-color: @labelGreenRibbonShadow !important;
}
/* Basic */
.ui.basic.olive.label {
  background-color: @white !important;
  color: @olive !important;
  border-color: @olive !important;
}
.ui.basic.olive.labels a.label:hover,
a.ui.basic.olive.label:hover {
  background-color: @white !important;
  color: @oliveHover !important;
  border-color: @oliveHover !important;
}

/*--- Green ---*/
.ui.green.labels .label,
.ui.green.label {
  background-color: @green !important;
  border-color: @green !important;
  color: @labelGreenTextColor !important;
}
/* Link */
.ui.green.labels .label:hover,
a.ui.green.label:hover{
  background-color: @greenHover !important;
  border-color: @greenHover !important;
  color: @labelGreenHoverTextColor !important;
}
/* Corner */
.ui.green.corner.label,
.ui.green.corner.label:hover {
  background-color: transparent !important;
}
/* Ribbon */
.ui.green.ribbon.label {
  border-color: @labelGreenRibbonShadow !important;
}
/* Basic */
.ui.basic.green.label {
  background-color: @white !important;
  color: @green !important;
  border-color: @green !important;
}
.ui.basic.green.labels a.label:hover,
a.ui.basic.green.label:hover {
  background-color: @white !important;
  color: @greenHover !important;
  border-color: @greenHover !important;
}

/*--- Teal ---*/
.ui.teal.labels .label,
.ui.teal.label {
  background-color: @teal !important;
  border-color: @teal !important;
  color: @labelTealTextColor !important;
}
/* Link */
.ui.teal.labels .label:hover,
a.ui.teal.label:hover{
  background-color: @tealHover !important;
  border-color: @tealHover !important;
  color: @labelTealHoverTextColor !important;
}
/* Corner */
.ui.teal.corner.label,
.ui.teal.corner.label:hover {
  background-color: transparent !important;
}
/* Ribbon */
.ui.teal.ribbon.label {
  border-color: @labelTealRibbonShadow !important;
}
/* Basic */
.ui.basic.teal.label {
  background-color: @white !important;
  color: @teal !important;
  border-color: @teal !important;
}
.ui.basic.teal.labels a.label:hover,
a.ui.basic.teal.label:hover {
  background-color: @white !important;
  color: @tealHover !important;
  border-color: @tealHover !important;
}

/*--- Blue ---*/
.ui.blue.labels .label,
.ui.blue.label {
  background-color: @blue !important;
  border-color: @blue !important;
  color: @labelBlueTextColor !important;
}
/* Link */
.ui.blue.labels .label:hover,
a.ui.blue.label:hover{
  background-color: @blueHover !important;
  border-color: @blueHover !important;
  color: @labelBlueHoverTextColor !important;
}
/* Corner */
.ui.blue.corner.label,
.ui.blue.corner.label:hover {
  background-color: transparent !important;
}
/* Ribbon */
.ui.blue.ribbon.label {
  border-color: @labelBlueRibbonShadow !important;
}
/* Basic */
.ui.basic.blue.label {
  background-color: @white !important;
  color: @blue !important;
  border-color: @blue !important;
}
.ui.basic.blue.labels a.label:hover,
a.ui.basic.blue.label:hover {
  background-color: @white !important;
  color: @blueHover !important;
  border-color: @blueHover !important;
}

/*--- Violet ---*/
.ui.violet.labels .label,
.ui.violet.label {
  background-color: @violet !important;
  border-color: @violet !important;
  color: @labelVioletTextColor !important;
}
/* Link */
.ui.violet.labels .label:hover,
a.ui.violet.label:hover{
  background-color: @violetHover !important;
  border-color: @violetHover !important;
  color: @labelVioletHoverTextColor !important;
}
/* Corner */
.ui.violet.corner.label,
.ui.violet.corner.label:hover {
  background-color: transparent !important;
}
/* Ribbon */
.ui.violet.ribbon.label {
  border-color: @labelVioletRibbonShadow !important;
}
/* Basic */
.ui.basic.violet.label {
  background-color: @white !important;
  color: @violet !important;
  border-color: @violet !important;
}
.ui.basic.violet.labels a.label:hover,
a.ui.basic.violet.label:hover {
  background-color: @white !important;
  color: @violetHover !important;
  border-color: @violetHover !important;
}

/*--- Purple ---*/
.ui.purple.labels .label,
.ui.purple.label {
  background-color: @purple !important;
  border-color: @purple !important;
  color: @labelPurpleTextColor !important;
}
/* Link */
.ui.purple.labels .label:hover,
a.ui.purple.label:hover{
  background-color: @purpleHover !important;
  border-color: @purpleHover !important;
  color: @labelPurpleHoverTextColor !important;
}
/* Corner */
.ui.purple.corner.label,
.ui.purple.corner.label:hover {
  background-color: transparent !important;
}
/* Ribbon */
.ui.purple.ribbon.label {
  border-color: @labelPurpleRibbonShadow !important;
}
/* Basic */
.ui.basic.purple.label {
  background-color: @white !important;
  color: @purple !important;
  border-color: @purple !important;
}
.ui.basic.purple.labels a.label:hover,
a.ui.basic.purple.label:hover {
  background-color: @white !important;
  color: @purpleHover !important;
  border-color: @purpleHover !important;
}

/*--- Pink ---*/
.ui.pink.labels .label,
.ui.pink.label {
  background-color: @pink !important;
  border-color: @pink !important;
  color: @labelPinkTextColor !important;
}
/* Link */
.ui.pink.labels .label:hover,
a.ui.pink.label:hover{
  background-color: @pinkHover !important;
  border-color: @pinkHover !important;
  color: @labelPinkHoverTextColor !important;
}
/* Corner */
.ui.pink.corner.label,
.ui.pink.corner.label:hover {
  background-color: transparent !important;
}
/* Ribbon */
.ui.pink.ribbon.label {
  border-color: @labelPinkRibbonShadow !important;
}
/* Basic */
.ui.basic.pink.label {
  background-color: @white !important;
  color: @pink !important;
  border-color: @pink !important;
}
.ui.basic.pink.labels a.label:hover,
a.ui.basic.pink.label:hover {
  background-color: @white !important;
  color: @pinkHover !important;
  border-color: @pinkHover !important;
}

/*--- Brown ---*/
.ui.brown.labels .label,
.ui.brown.label {
  background-color: @brown !important;
  border-color: @brown !important;
  color: @labelBrownTextColor !important;
}
/* Link */
.ui.brown.labels .label:hover,
a.ui.brown.label:hover{
  background-color: @brownHover !important;
  border-color: @brownHover !important;
  color: @labelBrownHoverTextColor !important;
}
/* Corner */
.ui.brown.corner.label,
.ui.brown.corner.label:hover {
  background-color: transparent !important;
}
/* Ribbon */
.ui.brown.ribbon.label {
  border-color: @labelBrownRibbonShadow !important;
}
/* Basic */
.ui.basic.brown.label {
  background-color: @white !important;
  color: @brown !important;
  border-color: @brown !important;
}
.ui.basic.brown.labels a.label:hover,
a.ui.basic.brown.label:hover {
  background-color: @white !important;
  color: @brownHover !important;
  border-color: @brownHover !important;
}

/*--- Grey ---*/
.ui.grey.labels .label,
.ui.grey.label {
  background-color: @grey !important;
  border-color: @grey !important;
  color: @labelGreyTextColor !important;
}
/* Link */
.ui.grey.labels .label:hover,
a.ui.grey.label:hover{
  background-color: @greyHover !important;
  border-color: @greyHover !important;
  color: @labelGreyHoverTextColor !important;
}
/* Corner */
.ui.grey.corner.label,
.ui.grey.corner.label:hover {
  background-color: transparent !important;
}
/* Ribbon */
.ui.grey.ribbon.label {
  border-color: @labelBrownRibbonShadow !important;
}
/* Basic */
.ui.basic.grey.label {
  background-color: @white !important;
  color: @grey !important;
  border-color: @grey !important;
}
.ui.basic.grey.labels a.label:hover,
a.ui.basic.grey.label:hover {
  background-color: @white !important;
  color: @greyHover !important;
  border-color: @greyHover !important;
}

/*--- Black ---*/
.ui.black.labels .label,
.ui.black.label {
  background-color: @black !important;
  border-color: @black !important;
  color: @labelBlackTextColor !important;
}
/* Link */
.ui.black.labels .label:hover,
a.ui.black.label:hover{
  background-color: @blackHover !important;
  border-color: @blackHover !important;
  color: @labelBlackHoverTextColor !important;
}
/* Corner */
.ui.black.corner.label,
.ui.black.corner.label:hover {
  background-color: transparent !important;
}
/* Ribbon */
.ui.black.ribbon.label {
  border-color: @labelBrownRibbonShadow !important;
}
/* Basic */
.ui.basic.black.label {
  background-color: @white !important;
  color: @black !important;
  border-color: @black !important;
}
.ui.basic.black.labels a.label:hover,
a.ui.basic.black.label:hover {
  background-color: @white !important;
  color: @blackHover !important;
  border-color: @blackHover !important;
}


/*-------------------
        Basic
--------------------*/

.ui.basic.label {
  background: @labelBasicBackground;
  border: @labelBasicBorder;
  color: @labelBasicColor;
  box-shadow: @labelBasicBoxShadow;
}

/* Link */
a.ui.basic.label:hover {
  text-decoration: none;
  background: @labelBasicHoverBackground;
  color: @labelBasicHoverColor;
  box-shadow: @labelBasicHoverBorder;
  box-shadow: @labelBasicHoverBoxShadow;
}

/* Pointing */
.ui.basic.pointing.label:before {
  border-color: inherit;
}


/*-------------------
       Fluid
--------------------*/

.ui.label.fluid,
.ui.fluid.labels > .label {
  width: 100%;
  box-sizing: border-box;
}

/*-------------------
       Inverted
--------------------*/

.ui.inverted.labels .label,
.ui.inverted.label {
  color: @invertedTextColor !important;
}

/*-------------------
     Horizontal
--------------------*/

.ui.horizontal.labels .label,
.ui.horizontal.label {
  margin: 0em @labelHorizontalLabelMargin 0em 0em;

  padding: @labelHorizontalLabelVerticalPadding @labelHorizontalPadding;
  min-width: @labelHorizontalLabelMinWidth;
  text-align: center;
}


/*-------------------
       Circular
--------------------*/

.ui.circular.labels .label,
.ui.circular.label {
  min-width: @labelCircularMinSize;
  min-height: @labelCircularMinSize;

  padding: @labelCircularPadding !important;

  line-height: 1em;
  text-align: center;
  border-radius: @circularRadius;
}
.ui.empty.circular.labels .label,
.ui.empty.circular.label {
  min-width: 0em;
  min-height: 0em;
  overflow: hidden;
  width: @labelEmptyCircleSize;
  height: @labelEmptyCircleSize;
  vertical-align: baseline;
}

/*-------------------
       Pointing
--------------------*/

.ui.pointing.label {
  position: relative;
}

.ui.attached.pointing.label {
  position: absolute;
}

.ui.pointing.label:before {
  background-color: inherit;
  background-image: inherit;
  border-width: none;
  border-style: solid;
  border-color: @labelPointingBorderColor;
}
/* Arrow */
.ui.pointing.label:before {
  position: absolute;
  content: '';
  transform: rotate(45deg);
  background-image: none;

  z-index: @labelPointingTriangleZIndex;
  width: @labelPointingTriangleSize;
  height: @labelPointingTriangleSize;
  transition: @labelPointingTriangleTransition;
}

/*--- Above ---*/
.ui.pointing.label,
.ui[class*="pointing above"].label {
  margin-top: @labelPointingVerticalDistance;
}
.ui.pointing.label:before,
.ui[class*="pointing above"].label:before {
  border-width: @labelBorderWidth 0px 0px @labelBorderWidth;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  top: 0%;
  left: 50%;
}
/*--- Below ---*/
.ui[class*="bottom pointing"].label,
.ui[class*="pointing below"].label {
  margin-top: 0em;
  margin-bottom: @labelPointingVerticalDistance;
}
.ui[class*="bottom pointing"].label:before,
.ui[class*="pointing below"].label:before {
  border-width: 0px @labelBorderWidth @labelBorderWidth 0px;
  top: auto;
  right: auto;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  top: 100%;
  left: 50%;
}
/*--- Left ---*/
.ui[class*="left pointing"].label {
  margin-top: 0em;
  margin-left: @labelPointingHorizontalDistance;
}
.ui[class*="left pointing"].label:before {
  border-width: 0px 0px @labelBorderWidth @labelBorderWidth;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  bottom: auto;
  right: auto;
  top: 50%;
  left: 0em;
}
/*--- Right ---*/
.ui[class*="right pointing"].label {
  margin-top: 0em;
  margin-right: @labelPointingHorizontalDistance;
}
.ui[class*="right pointing"].label:before {
  border-width: @labelBorderWidth @labelBorderWidth 0px 0px;
  transform: translateX(50%) translateY(-50%) rotate(45deg);
  top: 50%;
  right: 0%;
  bottom: auto;
  left: auto;
}

/* Basic Pointing */

/*--- Above ---*/
.ui.basic.pointing.label:before,
.ui.basic[class*="pointing above"].label:before {
  margin-top: @labelBasicPointingTriangleOffset;
}
/*--- Below ---*/
.ui.basic[class*="bottom pointing"].label:before,
.ui.basic[class*="pointing below"].label:before {
  bottom: auto;
  top: 100%;
  margin-top: -@labelBasicPointingTriangleOffset;
}
/*--- Left ---*/
.ui.basic[class*="left pointing"].label:before {
  top: 50%;
  left: @labelBasicPointingTriangleOffset;
}
/*--- Right ---*/
.ui.basic[class*="right pointing"].label:before {
  top: 50%;
  right: @labelBasicPointingTriangleOffset;
}


/*------------------
   Floating Label
-------------------*/

.ui.floating.label {
  position: absolute;
  z-index: @labelFloatingZIndex;
  top: @labelFloatingTopOffset;
  left: 100%;
  margin: 0em 0em 0em @labelFloatingLeftOffset !important;
}

/*-------------------
        Sizes
--------------------*/

.ui.mini.labels .label,
.ui.mini.label {
  font-size: @labelMini;
}
.ui.tiny.labels .label,
.ui.tiny.label {
  font-size: @labelTiny;
}
.ui.small.labels .label,
.ui.small.label {
  font-size: @labelSmall;
}
.ui.labels .label,
.ui.label {
  font-size: @labelMedium;
}
.ui.large.labels .label,
.ui.large.label {
  font-size: @labelLarge;
}
.ui.big.labels .label,
.ui.big.label {
  font-size: @labelBig;
}
.ui.huge.labels .label,
.ui.huge.label {
  font-size: @labelHuge;
}
.ui.massive.labels .label,
.ui.massive.label {
  font-size: @labelMassive;
}

