﻿a {
  cursor: pointer;
}

.NormalTextWight {
  font-weight: normal
}

/* #region Signal Indicator */

* {
  box-sizing: border-box;
}

.sizing-box {
  height: 18px;
  width: 50px;
}

.signal-bars {
  display: inline-block;
}

  .signal-bars .bar {
    width: 14%;
    margin-left: 1%;
    min-height: 20%;
    display: inline-block;
  }

    .signal-bars .bar.first-bar {
      height: 20%;
    }

    .signal-bars .bar.second-bar {
      height: 40%;
    }

    .signal-bars .bar.third-bar {
      height: 60%;
    }

    .signal-bars .bar.fourth-bar {
      height: 80%;
    }

    .signal-bars .bar.fifth-bar {
      height: 99%;
    }

.good .bar {
  background-color: #16a085;
  border: thin solid #048e73;
}

.bad .bar {
  background-color: #e74c3c;
  border: thin solid #b41909;
}

.ok .bar {
  background-color: #f1c40f;
  border: thin solid #dfb200;
}

.four-bars .bar.fifth-bar,
.three-bars .bar.fifth-bar,
.three-bars .bar.fourth-bar,
.one-bar .bar:not(.first-bar),
.two-bars .bar:not(.first-bar):not(.second-bar),
.no-bars .bar {
  background-color: #d0d0d0;
  border: thin solid #c9c9c9;
}

/* #endregion*/

/* #region Input Spinner */

.spinner {
  width: 100%;
}

  .spinner input {
    text-align: right;
  }

.input-group-btn-vertical {
  position: relative;
  white-space: nowrap;
  width: 1%;
  vertical-align: middle;
  display: table-cell;
}

  .input-group-btn-vertical > .btn {
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    padding: 8px;
    margin-left: -1px;
    position: relative;
    border-radius: 0;
  }

    .input-group-btn-vertical > .btn:first-child {
      border-top-right-radius: 4px;
    }

    .input-group-btn-vertical > .btn:last-child {
      margin-top: -2px;
      border-bottom-right-radius: 4px;
    }

  .input-group-btn-vertical i {
    position: absolute;
    top: 0;
    left: 4px;
  }

/* #endregion */

/* #region Back to top */

#top-link-block.affix-top {
  position: absolute; /* allows it to "slide" up into view */
  bottom: -82px;
  right: 10px;
}

#top-link-block.affix {
  position: fixed; /* keeps it on the bottom once in view */
  bottom: 18px;
  right: 10px;
}

/* #endregion */

/* #region tabular div */

div.tr:hover {
  background-color: #F5F5F5;
}

div.th {
  padding: 5px;
  line-height: 1.42857143;
  font-weight: bold;
}

div.td {
  padding: 5px;
  line-height: 1.42857143;
  border-top: 1px solid #ddd;
}

/* #endregion */

/* #region Combo box */
.ComboBox.Blank {
  color: #bbb !important;
}

.ComboDropDown {
  position: absolute;
  max-height: 400px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  display: none;
  z-index: 2050;
  overflow-y: hidden;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
}

  .ComboDropDown table {
    border-spacing: 0px;
  }

  .ComboDropDown tr, .ComboDropDown div div {
    background: linear-gradient(to bottom, #ffffff 0%,#ffffff 100%);
    padding: 5px;
    overflow: hidden;
    white-space: nowrap;
    padding-right: 5px;
    cursor: pointer;
  }

  .ComboDropDown td {
    border-left: 1px solid #ccc;
    padding: 2px 4px 2px 4px;
  }

  .ComboDropDown th {
    padding: 2px;
    cursor: pointer;
    background: linear-gradient(to bottom, #666 0%, #444 100%);
    color: #fff;
    font-size: 0.9em;
  }

  .ComboDropDown .ComboChild {
    padding-left: 5px;
  }

  .ComboDropDown .ComboGroup, .ComboDropDown .ComboGroup:hover {
    background: linear-gradient(to bottom, #777 0%,#555 100%);
    color: #fff;
    font-weight: bold;
    cursor: default;
  }

  .ComboDropDown tr:hover, .ComboDropDown div div:hover {
    text-decoration: none !important;
    color: #ffffff !important;
    background-color: #0081c2 !important;
    background-image: -moz-linear-gradient(top, #0088cc, #0077b3) !important;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)) !important;
    background-image: -webkit-linear-gradient(top, #0088cc, #0077b3) !important;
    background-image: -o-linear-gradient(top, #0088cc, #0077b3) !important;
    background-image: linear-gradient(to bottom, #0088cc, #0077b3) !important;
    background-repeat: repeat-x !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0) !important;
  }

  .ComboDropDown .Selected {
    text-decoration: none !important;
    color: #ffffff !important;
    background-color: #0081c2 !important;
    background-image: -moz-linear-gradient(top, #0088cc, #0077b3) !important;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)) !important;
    background-image: -webkit-linear-gradient(top, #0088cc, #0077b3) !important;
    background-image: -o-linear-gradient(top, #0088cc, #0077b3) !important;
    background-image: linear-gradient(to bottom, #0088cc, #0077b3) !important;
    background-repeat: repeat-x !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0) !important;
  }

.ErrorPopup {
  margin: 0px 5px 0px 5px;
}

/* #endregion */

/* #region Countdown */

.countdown {
  border-radius: 3px;
  padding: 5px;
}

  .countdown[highlight="true"] {
    background-color: #b22222;
    color: #ffffff;
  }

/* #endregion */
