﻿.col-delete {
  width: 360px;
}
.col-delete p {
  padding: 10px;
  text-align: center;
  margin: 0;
}

#lists {
  height: 100%;
  display: flex;
}
#lists .info {
  font-size: 0.8em;
  margin: 10px;
}
#lists > div {
  display: flex;
  flex-direction: column;
}
#lists h2 {
  color: #555;
  padding: 5px 10px;
}
#lists label {
  padding: 0 10px;
  font-size: 0.8em;
}
#lists #collections {
  flex: 0 0 300px;
  border-right: 1px solid #ddd;
}
#lists #collections .itm:not(.new) {
  border-left: 3px solid #7a90b3;
}
#lists #items {
  flex: 1 1 auto;
}
#lists #items .itm:not(.new) {
  border-left: 3px solid #6bb8d8;
}
#lists #items #config {
  margin: 10px;
  /*display: none;*/
}
#lists #items #config .info {
  margin: 0 0 10px 0;
  display: block;
}
#lists #items #config #config_ops {
  display: flex;
  align-items: center;
  height: 50px;
  background-color: #f0f6ff;
}
#lists #items #config #config_ops > div {
  margin-left: 10px;
}
#lists #items #config #config_ops > div input, #lists #items #config #config_ops > div label {
  cursor: pointer;
  margin: 0;
}
#lists .collection {
  flex: 1 1 auto;
  background-color: #f9f9f9;
  overflow: auto;
  position: relative;
  border-top: 1px solid #ddd;
}
#lists .collection .ld {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lists .collection .ld .bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  opacity: 0.6;
}
#lists .collection .ld img {
  max-width: 200px;
}
#lists .collection .itm {
  display: flex;
  align-items: center;
  padding: 2px 5px;
  border: 1px solid transparent;
  border-bottom: 1px solid #ddd;
  background: #f4f4f4;
  cursor: pointer;
}
#lists .collection .itm.act {
  background: #e3ebf9;
  border: 1px solid #7a90b3;
}
#lists .collection .itm .n {
  flex: 1 1 auto;
  margin-left: 10px;
  /*max-width: 245px;*/
}
#lists .collection .itm:not(.new) .inp {
  display: none;
  border-radius: 3px;
  width: 100%;
  border: 1px dashed #d8d8d8;
  margin: 3px 0 4px 0;
  padding: 2px;
}
#lists .collection .itm .ov {
  display: inline-block;
  padding-top: 3px;
}
#lists .collection .itm .ov .c {
  border: 1px dashed transparent;
  padding: 0 5px 0 5px;
  margin-right: 20px;
  white-space: nowrap;
  overflow: hidden;
  max-width: 233px;
  display: inline-block;
  line-height: 27px;
}
#lists .collection .itm .ov .e {
  display: none;
}
#lists .collection .itm.err .c, #lists .collection .itm.err .inp {
  border-color: #8c0202;
}
#lists .collection .itm:not(.edit):hover .ov {
  position: relative;
}
#lists .collection .itm:not(.edit):hover .ov .e {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0px;
  top: 3px;
  bottom: 5px;
  width: 20px;
  text-align: center;
  color: #acacac;
  font-size: 12px;
}
#lists .collection .itm .e:hover {
  background-color: #ddd;
}
#lists .collection .itm .e:hover + .c {
  border-color: #808080;
}
#lists .collection .itm.edit .ov {
  display: none;
}
#lists .collection .itm.edit .inp {
  display: block;
}
#lists .collection .itm.new {
  background: #fff;
  padding: 8px;
  margin-bottom: 30px;
}
#lists .collection .itm.new input {
  border: none;
  font-size: 17px;
}
#lists .collection .itm.new input[readonly] {
  color: #dddddd;
}
#lists .collection .itm.new .ico {
  color: #d8d8d8;
}
#lists .collection .itm.new .rem {
  display: none;
}
#lists .collection .itm .ico {
  display: flex;
  justify-content: center;
  align-items: center;
  /*flex: 0 0 14px;*/
  /*color: #d9d9d9;*/
  color: #797979;
  width: 30px;
}
#lists .cons {
  border-top: 1px solid #ddd;
  padding: 10px;
}
