﻿button.ui-button:not(.ui-button-icon-only),
button {
  display: inline-block;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #CFD1D2;
  background: #FDFDFD;
  /* Old browsers */
  background: -moz-linear-gradient(top, #FDFDFD 0%, #e4e4e4 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FDFDFD), color-stop(100%, #e4e4e4));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #FDFDFD 0%, #e4e4e4 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #FDFDFD 0%, #e4e4e4 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #FDFDFD 0%, #e4e4e4 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, #FDFDFD 0%, #e4e4e4 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@fromColor', endColorstr='@toColor', GradientType=0);
  /* IE6-9 */
  text-align: center;
  color: #626461;
  min-width: 80px;
  line-height: 18px;
  padding: 2px 5px !important;
  font-family: inherit;
  font-size: inherit;
  height: 28px;
}
button[disabled] {
  color: #B1B1B1;
}
button:hover {
  color: #bd5a35;
  cursor: pointer;
}
button[disabled]:hover {
  color: #B1B1B1;
  cursor: default;
}
button[disabled] i.fa {
  color: #B1B1B1;
}
button i.fa {
  margin-right: 5px;
}
button > i.fa-plus {
  position: relative;
  top: 2px;
}
.buttons {
  padding: 5px 0;
}
.toolbar {
  font-size: 0;
  /* Inline block elements gap - fix */
}
.toolbar button {
  padding-right: 5px !important;
  margin-left: -1px;
  border-radius: 0px;
  padding: 5px;
}
.toolbar button.current {
  background: #F7F7F7 !important;
  color: #bd5a35;
}
.toolbar button.current span {
  font-weight: bold;
}
.toolbar button:first-child {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}
.toolbar button:last-child {
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}
.periodButton {
  overflow: visible;
}
.periodButton span {
  position: relative;
}
.periodButton span:first-child {
  top: -2px;
}
.dialogue-button {
  padding: 5px 10px 5px 9px;
}
.trafficlight {
  width: 50px;
  height: 132px;
  background-color: black;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
}
.trafficlight span {
  width: 35px;
  height: 35px;
  border-radius: 50px;
  margin-left: -1px;
}
.trafficlight label {
  border-radius: 50px !important;
  margin-top: 5px;
  margin-left: -3px !important;
  padding-left: 1px;
}
.trafficlight label:first-of-type span {
  background-color: #442424;
}
.trafficlight label span {
  background-color: #3e3016;
}
.trafficlight label:last-of-type span {
  background-color: #222f22;
}
.trafficlight input:checked + label:first-of-type span {
  background-color: red;
  box-shadow: 0 0 25px 5px red;
}
.trafficlight input:checked + label span {
  background-color: yellow;
  box-shadow: 0 0 25px 5px yellow;
}
.trafficlight input:checked + label:last-of-type span {
  background-color: limegreen;
  box-shadow: 0 0 25px 5px limegreen;
}
.vertical-aligned-button {
  margin: 2px 0px;
  width: 110px;
  text-align: left;
}