.tin {
  display: block;
  position: relative;
  padding: 1px 0px 1px 6px;
  font-size: 12px;
  color: var(--gray-1);
  line-height: 1;
}
.tin .svgicon {
  vertical-align: top;
  width: 1em;
  height: 1em;
  padding: 3px 0;
}

.tin:before {
  content: " ";
  display: block;
  position: absolute;
  left: 0px;
  top: 5px;
  width: 4px;
  height: 10px;
  background-color: var(--activeLED);
  box-shadow: inset 0 0 1px rgba(0,0,0,0.5);
}
.tin-default:before {
  background-color: var(--passiveLED);
}

.tin-big {
  font-size: 24px;
}
.tin-big .tin_radioRowItem {
  padding: 1px 1px;
}
.tin-big .tin_part {
  height: 34px;
}
.tin-big .tin_part-menu:after {
  font-size: 40%;
  vertical-align: bottom;
}
.tin-big:before, .tin-anchor:before {
  top: 14px;
}
.tin-big i {
  margin: 4px 5px 0px;
  font-size: 22px;
}

.tin-bigIcons .tin_radioRowItem {
  padding: 6px 0px;
  width: 28px;
  text-align: center;
}
.tin-bigIcons .tin_part {
  height: 34px;
}
.tin-bigIcons .tin_part-menu:after {
  font-size: 40%;
  vertical-align: bottom;
}
.tin-bigIcons:before {
  top: 14px;
}
.tin-bigIcons i {
  font-size: 20px;
}

.tin_part {
  display: inline-block;
  box-sizing: border-box;
  vertical-align: top;
  overflow: hidden;
  height: 18px;
  line-height: 18px;
}

.tin_part-value {
  font-size: 90%;
  padding: 2px;
  border: 1px solid var(--gray-1);
  outline: 0px none;
  margin: 0;
}
.tin_part-value:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 4px var(--primary-color);
}
.tin-default .tin_part-value {
  border-color: var(--gray-6);
  background-color: var(--gray-c);
}
.tin_part-number {
  text-align: right;
}
.tin_part-text {
  
}

.tin_part-menu {
  font-size: 70%;
  text-align: center;
  background-color: var(--gray-1);
  color: white;
  padding: 0 2px;
  cursor: pointer;
}
.tin-default .tin_part-menu {
  background-color: var(--gray-6);
}
.tin_part-menu:after {
  content: "\f0d7";
  font-family: FontAwesome;
  padding: 0 1px 0 2px;
}

.tin_part-utils {
  /* min-width: 27px; */
  text-align: right;
}

.tin_part-radioRow {
  display: inline-flex;
  border: 1px solid var(--gray-1);
  color: var(--gray-1);
  background-color: var(--gray-f);
}
.tin-default .tin_part-radioRow {
  border-color: var(--gray-6);
  color: var(--gray-6);
  background-color: var(--gray-c);
}
.tin_radioRowItem {
  padding: 0px 4px;
  cursor: pointer;
}
.tin_radioRowItem:hover {
  background-color: var(--gray-a);
}
.tin_radioRowItem-on, .tin_radioRowItem-on:hover {
  background-color: var(--gray-1);
  color: var(--gray-f);
}
.tin-default .tin_radioRowItem-on, .tin-default .tin_radioRowItem-on:hover {
  background-color: var(--gray-6);
  color: var(--gray-c);
}


.tin_part-color {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid var(--gray-1);
  cursor: pointer;
  margin: 0px;
}
.tin-default .tin_part-color {
  border-color: var(--gray-6);
}
.tin_part-color:before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(-45deg,
    rgba(0,0,0,0),
    rgba(0,0,0,0) 4px,
    rgba(0,0,0,0.1) 4px,
    rgba(0,0,0,0.1) 8px
  );
}
.tin_colorSquare {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}


.tin_part-dropdown {
  background-color: var(--gray-f);
  border: 1px solid var(--gray-6);
  padding: 0 4px;
  cursor: pointer;
}

.tinRow .tin {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}
.tinRow .tin:last-child {
  margin-right: 0px;
}
.tinRow-hidden {
  display: none;
}

.tinRow_column {
  display: inline-block;
  vertical-align: top;
  margin-right: 4px;
}
.tinRow_column:last-child {
  margin-right: 0px;  
}
.tinRow_column-hidden {
  display: none;
}
.tinRow_column .tin {
  display: block;
  margin-left: 0px;
}
.tin-hidden, .tinRow .tin-hidden, tinRow_column .tin-hidden {
  display: none;
}


.tin-font .tin_part-value, .tin-source .tin_part-value {
  text-align: left;
}



.tin_part-anchors {
  width: 30px;
  height: 30px;
  margin: 2px 4px;
  position: relative;
}
.tin_anchor {
  position: absolute;
  width: 10px;
  height: 10px;
  cursor: pointer;
}
.tin_anchor:before {
  position: absolute;
  width: 6px;
  height: 6px;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  content: " ";
  background-color: var(--gray-1);
}
.tin_anchor-selected {
  background-color: var(--gray-1);
}
.tin_anchor-selected:before {
  background-color: var(--gray-c);
}
.tin_anchor-topLeft {
  left: 0px;
  top: 0px;
}
.tin_anchor-top {
  left: calc(50% - 5px);
  top: 0px;
}
.tin_anchor-topRight {
  right: 0px;
  top: 0px;
}
.tin_anchor-left {
  left: 0px;
  top: calc(50% - 5px);
}
.tin_anchor-center {
  left: calc(50% - 5px);
  top: calc(50% - 5px);
}
.tin_anchor-right {
  right: 0px;
  top: calc(50% - 5px);
}
.tin_anchor-bottomLeft {
  left: 0px;
  bottom: 0px;
}
.tin_anchor-bottom {
  left: calc(50% - 5px);
  bottom: 0px;
}
.tin_anchor-bottomRight {
  right: 0px;
  bottom: 0px;
}



