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

/*******************************
            Segment
*******************************/

.ui.segment {
  position: relative;
  padding: 1em;
  margin: 1rem 0;
  background: #fff;
  border: 1px solid rgb(34 36 38 / 15%);
  border-radius: 0.28571429rem;
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%);
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%);
}

.ui.segment:first-child {
  margin-top: 0;
}

.ui.segment:last-child {
  margin-bottom: 0;
}

/* Vertical */
.ui.vertical.segment {
  padding-right: 0;
  padding-left: 0;
  margin: 0;
  background: none transparent;
  border: none;
  border-bottom: 1px solid rgb(34 36 38 / 15%);
  border-radius: 0;
  box-shadow: none;
  box-shadow: none;
}

.ui.vertical.segment:last-child {
  border-bottom: none;
}

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

/* Header */
.ui.inverted.segment > .ui.header {
  color: #fff;
}

/* Label */
.ui[class*='bottom attached'].segment > [class*='top attached'].label {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.ui[class*='top attached'].segment > [class*='bottom attached'].label {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.ui.attached.segment:not(.top):not(.bottom) > [class*='top attached'].label {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.ui.attached.segment:not(.top):not(.bottom) > [class*='bottom attached'].label {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

/* Grid */
.ui.page.grid.segment,
.ui.grid > .row > .ui.segment.column,
.ui.grid > .ui.segment.column {
  padding-top: 2em;
  padding-bottom: 2em;
}

.ui.grid.segment {
  margin: 1rem 0;
  border-radius: 0.28571429rem;
}

/* Table */
.ui.basic.table.segment {
  background: #fff;
  border: 1px solid rgb(34 36 38 / 15%);
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%);
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%);
}

.ui[class*='very basic'].table.segment {
  padding: 1em;
}

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

/* -------------------
     Placeholder
-------------------- */

.ui.placeholder.segment {
  display: box;
  display: flexbox;
  display: flex;
  flex-direction: column;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  max-width: initial;
  min-height: 18rem;
  padding: 1em;
  overflow: visible;
  background: #f9fafb;
  border-color: rgb(34 36 38 / 15%);
  box-shadow: 0 2px 25px 0 rgb(34 36 38 / 5%) inset;
  box-shadow: 0 2px 25px 0 rgb(34 36 38 / 5%) inset;
  animation: none;
  animation: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
}

.ui.placeholder.segment .button,
.ui.placeholder.segment textarea {
  display: block;
}

.ui.placeholder.segment .field,
.ui.placeholder.segment textarea,
.ui.placeholder.segment > .ui.input,
.ui.placeholder.segment .button {
  max-width: 15rem;
  margin-right: auto;
  margin-left: auto;
}

.ui.placeholder.segment .column .button,
.ui.placeholder.segment .column .field,
.ui.placeholder.segment .column textarea,
.ui.placeholder.segment .column > .ui.input {
  max-width: 15rem;
  margin-right: auto;
  margin-left: auto;
}

.ui.placeholder.segment > .inline {
  -ms-flex-item-align: center;
  align-self: center;
}

.ui.placeholder.segment > .inline > .button {
  display: inline-block;
  width: auto;
  margin: 0 0.35714286rem 0 0;
}

.ui.placeholder.segment > .inline > .button:last-child {
  margin-right: 0;
}

/* -------------------
        Piled
-------------------- */

.ui.piled.segments,
.ui.piled.segment {
  z-index: auto;
  margin: 3em 0;
  box-shadow: '';
  box-shadow: '';
}

.ui.piled.segment:first-child {
  margin-top: 0;
}

.ui.piled.segment:last-child {
  margin-bottom: 0;
}

.ui.piled.segments::after,
.ui.piled.segments::before,
.ui.piled.segment::after,
.ui.piled.segment::before {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  visibility: visible;
  content: '';
  background-color: #fff;
  border: 1px solid rgb(34 36 38 / 15%);
  box-shadow: '';
  box-shadow: '';
}

.ui.piled.segments::before,
.ui.piled.segment::before {
  top: 0;
  z-index: -2;
  transform: rotate(-1.2deg);
  transform: rotate(-1.2deg);
}

.ui.piled.segments::after,
.ui.piled.segment::after {
  top: 0;
  z-index: -1;
  transform: rotate(1.2deg);
  transform: rotate(1.2deg);
}

/* Piled Attached */
.ui[class*='top attached'].piled.segment {
  margin-top: 3em;
  margin-bottom: 0;
}

.ui.piled.segment[class*='top attached']:first-child {
  margin-top: 0;
}

.ui.piled.segment[class*='bottom attached'] {
  margin-top: 0;
  margin-bottom: 3em;
}

.ui.piled.segment[class*='bottom attached']:last-child {
  margin-bottom: 0;
}

/* -------------------
       Stacked
-------------------- */

.ui.stacked.segment {
  padding-bottom: 1.4em;
}

.ui.stacked.segments::before,
.ui.stacked.segments::after,
.ui.stacked.segment::before,
.ui.stacked.segment::after {
  position: absolute;
  bottom: -3px;
  left: 0%;
  width: 100%;
  height: 6px;
  visibility: visible;
  content: '';
  background: rgb(0 0 0 / 3%);
  border-top: 1px solid rgb(34 36 38 / 15%);
}

.ui.stacked.segments::before,
.ui.stacked.segment::before {
  display: none;
}

/* Add additional page */
.ui.tall.stacked.segments::before,
.ui.tall.stacked.segment::before {
  bottom: 0;
  display: block;
}

/* Inverted */
.ui.stacked.inverted.segments::before,
.ui.stacked.inverted.segments::after,
.ui.stacked.inverted.segment::before,
.ui.stacked.inverted.segment::after {
  background-color: rgb(0 0 0 / 3%);
  border-top: 1px solid rgb(34 36 38 / 35%);
}

/* -------------------
       Padded
-------------------- */

.ui.padded.segment {
  padding: 1.5em;
}

.ui[class*='very padded'].segment {
  padding: 3em;
}

/* Padded vertical */
.ui.padded.segment.vertical.segment,
.ui[class*='very padded'].vertical.segment {
  padding-right: 0;
  padding-left: 0;
}

/* -------------------
       Compact
-------------------- */

.ui.compact.segment {
  display: table;
}

/* Compact Group */
.ui.compact.segments {
  display: inline-box;
  display: inline-flexbox;
  display: inline-flex;
}

.ui.compact.segments .segment,
.ui.segments .compact.segment {
  display: block;
  -webkit-box-flex: 0;
  flex: 0 1 auto;
  flex: 0 1 auto;
}

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

.ui.circular.segment {
  display: table-cell;
  padding: 2em;
  text-align: center;
  vertical-align: middle;
  border-radius: 500em;
}

/* -------------------
       Raised
-------------------- */

.ui.raised.segments,
.ui.raised.segment {
  box-shadow: 0 2px 4px 0 rgb(34 36 38 / 12%), 0 2px 10px 0 rgb(34 36 38 / 15%);
  box-shadow: 0 2px 4px 0 rgb(34 36 38 / 12%), 0 2px 10px 0 rgb(34 36 38 / 15%);
}

/*******************************
            Groups
*******************************/

/* Group */
.ui.segments {
  position: relative;
  flex-direction: column;
  flex-direction: column;
  margin: 1rem 0;
  border: 1px solid rgb(34 36 38 / 15%);
  border-radius: 0.28571429rem;
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%);
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%);
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}

.ui.segments:first-child {
  margin-top: 0;
}

.ui.segments:last-child {
  margin-bottom: 0;
}

/* Nested Segment */
.ui.segments > .segment {
  top: 0;
  bottom: 0;
  width: auto;
  margin: 0;
  border: none;
  border-top: 1px solid rgb(34 36 38 / 15%);
  border-radius: 0;
  box-shadow: none;
  box-shadow: none;
}

.ui.segments:not(.horizontal) > .segment:first-child {
  top: 0;
  bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-top: none;
  border-radius: 0.28571429rem 0.28571429rem 0 0;
}

/* Bottom */
.ui.segments:not(.horizontal) > .segment:last-child {
  top: 0;
  bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0 0 0.28571429rem 0.28571429rem;
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%), none;
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%), none;
}

/* Only */
.ui.segments:not(.horizontal) > .segment:only-child {
  border-radius: 0.28571429rem;
}

/* Nested Group */
.ui.segments > .ui.segments {
  margin: 1rem;
  border-top: 1px solid rgb(34 36 38 / 15%);
}

.ui.segments > .segments:first-child {
  border-top: none;
}

.ui.segments > .segment + .segments:not(.horizontal) {
  margin-top: 0;
}

/* Horizontal Group */
.ui.horizontal.segments {
  display: box;
  display: flexbox;
  display: flex;
  flex-direction: row;
  flex-direction: row;
  padding: 0;
  margin: 1rem 0;
  background-color: transparent;
  background-color: #fff;
  border: 1px solid rgb(34 36 38 / 15%);
  border-radius: 0;
  border-radius: 0.28571429rem;
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%);
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%);
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
}

/* Nested Horizontal Group */
.ui.segments > .horizontal.segments {
  margin: 0;
  background-color: transparent;
  border: none;
  border-top: 1px solid rgb(34 36 38 / 15%);
  border-radius: 0;
  box-shadow: none;
  box-shadow: none;
}

/* Horizontal Segment */
.ui.horizontal.segments > .segment {
  flex: 1 1 0;
  flex: 1 1 auto;
  min-width: 0;

  /* Solves #2550 MS Flex */
  margin: 0;
  background-color: transparent;
  border: none;
  border-left: 1px solid rgb(34 36 38 / 15%);
  border-radius: 0;
  box-shadow: none;
  box-shadow: none;
  -webkit-box-flex: 1;
}

/* Border Fixes */
.ui.segments > .horizontal.segments:first-child {
  border-top: none;
}

.ui.horizontal.segments > .segment:first-child {
  border-left: none;
}

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

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

.ui.disabled.segment {
  color: rgb(40 40 40 / 30%);
  opacity: 0.45;
}

/* --------------
    Loading
--------------- */

.ui.loading.segment {
  position: relative;
  color: transparent !important;
  text-shadow: none !important;
  pointer-events: none;
  cursor: default;
  transition: all 0s linear;
  transition: all 0s linear;
}

.ui.loading.segment::before {
  position: absolute;
  top: 0%;
  left: 0%;
  z-index: 100;
  width: 100%;
  height: 100%;
  content: '';
  background: rgb(255 255 255 / 80%);
  border-radius: 0.28571429rem;
}

.ui.loading.segment::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 101;
  width: 3em;
  height: 3em;
  margin: -1.5em 0 0 -1.5em;
  visibility: visible;
  content: '';
  border-color: #767676 rgb(0 0 0 / 10%) rgb(0 0 0 / 10%) rgb(0 0 0 / 10%);
  border-style: solid;
  border-width: 0.2em;
  border-radius: 500rem;
  box-shadow: 0 0 0 1px transparent;
  box-shadow: 0 0 0 1px transparent;
  animation: segment-spin 0.6s linear;
  animation: segment-spin 0.6s linear;
  animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@keyframes segment-spin {
  from {
    transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes segment-spin {
  from {
    transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

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

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

.ui.basic.segment {
  background: none transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  box-shadow: none;
}

/* -------------------
       Clearing
-------------------- */

.ui.clearing.segment::after {
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  content: '.';
}

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

/* Red */
.ui.red.segment:not(.inverted) {
  border-top: 2px solid #db2828 !important;
}

.ui.inverted.red.segment {
  color: #fff !important;
  background-color: #db2828 !important;
}

/* Orange */
.ui.orange.segment:not(.inverted) {
  border-top: 2px solid #f2711c !important;
}

.ui.inverted.orange.segment {
  color: #fff !important;
  background-color: #f2711c !important;
}

/* Yellow */
.ui.yellow.segment:not(.inverted) {
  border-top: 2px solid #fbbd08 !important;
}

.ui.inverted.yellow.segment {
  color: #fff !important;
  background-color: #fbbd08 !important;
}

/* Olive */
.ui.olive.segment:not(.inverted) {
  border-top: 2px solid #b5cc18 !important;
}

.ui.inverted.olive.segment {
  color: #fff !important;
  background-color: #b5cc18 !important;
}

/* Green */
.ui.green.segment:not(.inverted) {
  border-top: 2px solid #21ba45 !important;
}

.ui.inverted.green.segment {
  color: #fff !important;
  background-color: #21ba45 !important;
}

/* Teal */
.ui.teal.segment:not(.inverted) {
  border-top: 2px solid #00b5ad !important;
}

.ui.inverted.teal.segment {
  color: #fff !important;
  background-color: #00b5ad !important;
}

/* Blue */
.ui.blue.segment:not(.inverted) {
  border-top: 2px solid #2185d0 !important;
}

.ui.inverted.blue.segment {
  color: #fff !important;
  background-color: #2185d0 !important;
}

/* Violet */
.ui.violet.segment:not(.inverted) {
  border-top: 2px solid #6435c9 !important;
}

.ui.inverted.violet.segment {
  color: #fff !important;
  background-color: #6435c9 !important;
}

/* Purple */
.ui.purple.segment:not(.inverted) {
  border-top: 2px solid #a333c8 !important;
}

.ui.inverted.purple.segment {
  color: #fff !important;
  background-color: #a333c8 !important;
}

/* Pink */
.ui.pink.segment:not(.inverted) {
  border-top: 2px solid #e03997 !important;
}

.ui.inverted.pink.segment {
  color: #fff !important;
  background-color: #e03997 !important;
}

/* Brown */
.ui.brown.segment:not(.inverted) {
  border-top: 2px solid #a5673f !important;
}

.ui.inverted.brown.segment {
  color: #fff !important;
  background-color: #a5673f !important;
}

/* Grey */
.ui.grey.segment:not(.inverted) {
  border-top: 2px solid #767676 !important;
}

.ui.inverted.grey.segment {
  color: #fff !important;
  background-color: #767676 !important;
}

/* Black */
.ui.black.segment:not(.inverted) {
  border-top: 2px solid #1b1c1d !important;
}

.ui.inverted.black.segment {
  color: #fff !important;
  background-color: #1b1c1d !important;
}

/* -------------------
       Aligned
-------------------- */

.ui[class*='left aligned'].segment {
  text-align: left;
}

.ui[class*='right aligned'].segment {
  text-align: right;
}

.ui[class*='center aligned'].segment {
  text-align: center;
}

/* -------------------
       Floated
-------------------- */

.ui.floated.segment,
.ui[class*='left floated'].segment {
  float: left;
  margin-right: 1em;
}

.ui[class*='right floated'].segment {
  float: right;
  margin-left: 1em;
}

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

.ui.inverted.segment {
  border: none;
  box-shadow: none;
  box-shadow: none;
}

.ui.inverted.segment,
.ui.primary.inverted.segment {
  color: rgb(255 255 255 / 90%);
  background-color: #e5e5f7;
  background-image: linear-gradient(#02461c 1px, transparent 1px), linear-gradient(90deg, #02461c 1px, transparent 2px), linear-gradient(#02461c 1px, transparent 1px), linear-gradient(90deg, #02461c 1px, #0b3b13 1px);
  background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
  opacity: 0.8;
}

/* Nested */
.ui.inverted.segment .segment {
  color: rgb(0 0 0 / 87%);
}

.ui.inverted.segment .inverted.segment {
  color: rgb(255 255 255 / 90%);
}

/* Attached */
.ui.inverted.attached.segment {
  border-color: #555;
}

/* -------------------
     Emphasis
-------------------- */

/* Secondary */
.ui.secondary.segment {
  color: rgb(0 0 0 / 60%);
  background: #f3f4f5;
}

.ui.secondary.inverted.segment {
  color: rgb(255 255 255 / 80%);
  background: #4c4f52 -webkit-gradient(linear, left top, left bottom, from(rgb(255 255 255 / 20%)), to(rgb(255 255 255 / 20%)));
  background: #4c4f52 -webkit-linear-gradient(rgb(255 255 255 / 20%) 0%, rgb(255 255 255 / 20%) 100%);
  background: #4c4f52 linear-gradient(rgb(255 255 255 / 20%) 0%, rgb(255 255 255 / 20%) 100%);
}

/* Tertiary */
.ui.tertiary.segment {
  color: rgb(0 0 0 / 60%);
  background: #dcddde;
}

.ui.tertiary.inverted.segment {
  color: rgb(255 255 255 / 80%);
  background: #717579 -webkit-gradient(linear, left top, left bottom, from(rgb(255 255 255 / 35%)), to(rgb(255 255 255 / 35%)));
  background: #717579 -webkit-linear-gradient(rgb(255 255 255 / 35%) 0%, rgb(255 255 255 / 35%) 100%);
  background: #717579 linear-gradient(rgb(255 255 255 / 35%) 0%, rgb(255 255 255 / 35%) 100%);
}

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

/* Middle */
.ui.attached.segment {
  top: 0;
  bottom: 0;
  width: calc(100% - (-1px * 2));
  max-width: calc(100% - (-1px * 2));
  margin: 0 -1px;
  border: 1px solid #d4d4d5;
  border-radius: 0;
  box-shadow: none;
  box-shadow: none;
}

.ui.attached:not(.message) + .ui.attached.segment:not(.top) {
  border-top: none;
}

/* Top */
.ui[class*='top attached'].segment {
  top: 0;
  bottom: 0;
  margin-top: 1rem;
  margin-bottom: 0;
  border-radius: 0.28571429rem 0.28571429rem 0 0;
}

.ui.segment[class*='top attached']:first-child {
  margin-top: 0;
}

/* Bottom */
.ui.segment[class*='bottom attached'] {
  top: 0;
  bottom: 0;
  margin-top: 0;
  margin-bottom: 1rem;
  border-radius: 0 0 0.28571429rem 0.28571429rem;
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%), none;
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%), none;
}

.ui.segment[class*='bottom attached']:last-child {
  margin-bottom: 0;
}

/* -------------------
        Size
-------------------- */

.ui.mini.segments .segment,
.ui.mini.segment {
  font-size: 0.78571429rem;
}

.ui.tiny.segments .segment,
.ui.tiny.segment {
  font-size: 0.85714286rem;
}

.ui.small.segments .segment,
.ui.small.segment {
  font-size: 0.92857143rem;
}

.ui.segments .segment,
.ui.segment {
  font-size: 1rem;
}

.ui.large.segments .segment,
.ui.large.segment {
  font-size: 1.14285714rem;
}

.ui.big.segments .segment,
.ui.big.segment {
  font-size: 1.28571429rem;
}

.ui.huge.segments .segment,
.ui.huge.segment {
  font-size: 1.42857143rem;
}

.ui.massive.segments .segment,
.ui.massive.segment {
  font-size: 1.71428571rem;
}

/*******************************
         Theme Overrides
*******************************/

/*******************************
         Site Overrides
*******************************/
