.img-preview
{
  border: 1px solid #a6d2ff;
  box-sizing: border-box;
}

.img-background
{
  background-color:rgba(0,0,0,0.8);
  text-align: center;
  z-index: 999;
}

.img-close-btn
{
  position: absolute;
  width: 30px;
  height: 30px;
  right: 10px;
  top: 10px;
  opacity: 0.3;
}

.img-close-btn:hover
{
  opacity: 0.8;
}

.img-helper
{
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.img-fullscreen
{
  vertical-align: middle;
  max-height: 100%;
  max-width: 100%;
}

.etalon-preview {
  display: inline-block;
  height: 200px;
  max-width: 200px;
  margin-left: 10px;
  position: relative;
  /* border-radius: 5px;*/
  /*overflow: hidden;*/
}

.etalon-preview:hover {
  background-color: #f5f5f5;
}

.etalon-pic-remove-btn {
  position: absolute;
  width: 15px;
  height: 15px;
  top: 5px;
  right: 5px;
  display: none;
  cursor: pointer;
  opacity: 0.8;
}

.etalon-preview:hover .etalon-pic-remove-btn {
  display: block;
}

.etalon-picture-cont {
  height: 225px;
  white-space:nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 5px;
}

.etalon-widget {
  border: 1px solid lightgray;
  border-radius: 10px;
}

.etalon-header-cont {
  padding: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid lightgray;
  position: relative;
}

.etalon-remove-btn {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 10px;
  right: 10px;
  display: none;
  cursor: pointer;
  opacity: 0.8;
}

.etalon-header-cont:hover .etalon-remove-btn {
  display: block;
}

.etalon-name, .etalon-descr, .etalon-date {
  display: block;
}

.etalon-name {
  font-size: 18px;
}

.object-etalons .etalon-name {
  font-size: 14px;
}

.etalon-descr, .etalon-date {
  font-size: 12px;
  color: gray;
  margin-top: 3px;
}

.etalon-descr, .etalon-name {
  cursor: pointer;
}

.etalon-edit-label {
  width: 70px;
  display: inline-block;
  font-size: 12px;
  margin-right: 5px;
}

.etalon-edit-input {
  width: 150px;
  display: inline-block;
}

.etalon-info-cont {
  display: inline-block;
}

.etalon-edit-cont {
  line-height: 25px;
}

.etalon-edit-button-cont {
  text-align: right;
}

.etalon-pic-upload {
  display: block !important;
  height: 0;
  width: 0;
  overflow: hidden;
}

.etalon-pic-add-btn {
  font-size: 12px;
  border-bottom: 1px dotted;
  cursor: pointer;
  color: #454ca9;
  display: inline-block;
  margin-top: 5px;
  position: relative;
  overflow: hidden;
}

.etalon-pic-add-btn input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
}

.etalon-add-btn {
  display: inline-block;
  color: #454ca9;
  border-bottom: 1px dotted;
  cursor: pointer;
}


.etalon-picker {
  background-color: white;
  border: 1px solid lightgray;
  padding: 5px 0;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.172549) 0px 6px 12px 0px;
  max-height: 250px;
  overflow-y: auto;
  overflow-x: hidden;
}

.etalon-picker-item {
  height: 50px;
  padding: 2px 20px 2px 7px;
  white-space: nowrap;
  cursor: pointer;
}

.etalon-picker-item:hover {
  background-color: #428bca;
  color: white;
}

.etalon-picker-helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.etalon-picker-item img {
  max-height: 45px;
  max-width: 45px;
  vertical-align: middle;
  border: 1px solid lightgray;
}

.etalon-picker-item span {
  margin-left: 10px;
  font-size: 12px;
}

.etalon-tab-header {
  margin-left: 5px;
  margin-top: 5px;
  font-size: 12px;
}

.etalon-tab-etalon-label {
  margin-right: 7px;
  color: gray;
}

.etalon-tab-etalon-name {
  font-size: 14px;
}

.etalon-tab-etalon-cont {

}

.etalon-tab-etalon-splitter {
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid lightgray;
}

.etalon-tab-preview {
  height: 150px;
  display: inline-block;
  max-width: 200px;
  margin: 5px;
}
