.search-panel
{
	border-radius: 10px;
	border: solid 1px black;
	box-shadow: 0px 0px 5px #a7a3a7;
	position: relative;
}

.search-panel span
{
  font: 12px Arial, sans-serif;
}

.search-panel:after {
	position: absolute;
	content: "";
	display: block;
	z-index: -1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0.15;
	background-image: url('/static/pics/search_background.png'), url('/static/pics/search_background.png'), url('/static/pics/search_background.png');
	background-repeat: no-repeat, no-repeat, no-repeat;
	background-position: center -268px, center 100px, center 500px;
}

.search-text
{
  font-size: 14px;
  font-family: Arial, sans-serif;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-right: 2px;
}

.search-subtext-cont
{
  display: inline;
}

.search-subtext
{
  font-size: 14px;
  font-family: Arial, sans-serif;
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 6px;
}

.search-subtext-toolbox
{
  display:inline-block;
}

.search-link
{
  color: rgb(15, 25, 45);
  font: 8px Arial, sans-serif;
  text-decoration: underline;
  cursor: pointer;
}

.search-input
{
  font: 100% Arial, sans-serif;
  width: 100.0%;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid gray;
  border-radius: 4px;
  line-height: 25px;
  box-sizing: border-box;
  background-image: none;
}

.search-input:disabled {
  background-color: white;
}

.search-input:focus {
  border: 1px solid black;
}

.search-btn
{
  line-height: 25px;
  margin: 0;
  width: 70px;
  margin-left: 10px;
  height: 31px;
}

.check-box
{
  display: inline-block;
}

.check-box input[type="checkbox"]
{
  float: left;
}

.Wt-suggest li:hover {
  background-color: #C3D9FF;
}

.combo-wrapper {
  display: inline-block;
  max-width: 90%;
}

.combo-wrapper select {
  width: 100%;
}

.etalon-change-btn {
  border-bottom: 1px dotted;
  cursor: pointer;
  margin-right: 2px;
}

.input-wrapper {
  position: relative;
}

.input-wrapper > div {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
}

.sp-checkbox {
  white-space: nowrap;
  float: left;
  margin-right: 10px;
}

.invisible-cell
{
  visibility: hidden;
}

.invisible-cell div
{
  height:0px;
}

.dropdown-menu
{
  margin: 5px;
  border-radius: 3px;
  padding: 5px;
}

.dropdown-menu li a span
{
  display: inline;
  padding-top: 8px;
  padding-bottom: 8px;
}

.dropdown-menu li a
{
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 4px 10px;
}

.dropdown-menu li
{
  padding: 0 !important;
}

.dropdown-menu .active
{
  background: #f7f3f7;
  color: black;
  border-radius: 3px;
}

.dropdown-button
{
	border: none;
	background: none;
	cursor: pointer;
	padding: 0;
	margin-right: 2px;
	height: 30px;
	width: 30px;
	overflow: hidden;
}

.dropdown-button:hover
{
  /*background-color: #6BB8F0;*/
}

.dropdown-button > img {
	width: 25px;
	height: 25px;
}

.inline-combobox
{
  top: 5px;
  right: 9px;
  position: absolute;
  background: white;
  border: 1px solid gray;
}

.inline-help
{
  top: 5px;
  right: 30px;
  position: absolute;
}

.inline-checkbox
{
  top: 5px;
  right: 16px;
  position: absolute;
  display: table;
}

.inline-checkbox span
{
  display: table-cell;
  vertical-align: middle;
}

.mandatory-check img
{
  vertical-align: middle;
  max-width: 20px;
  max-height: 20px;
}

.suggest-item
{
  font: ;
}

.suggest-count
{
  float:right;
  font-weight: bold;
  font-size: 12px;
  font-family: sans-serif;
  color: darkgray;
}

.select2-results__option--highlighted[aria-selected] .suggest-count
{
  color: #ddd;
}

.suggest-name
{
  font-size:14px;
  font-family: sans-serif;
}

.suggest-desc
{
  font-size:12px;
  font-family: sans-serif;
  color: darkgray;
}

.select2-results__option--highlighted[aria-selected] .suggest-desc
{
  color: #ddd;
}

.select2-selection__choice
{
  padding-top: 1px !important;
  padding-bottom: 1px !important;
  font-size: 14px;
}

.select2-results__option
{
  display: none !important;
}

.select2-results__option[aria-selected]
{
  display: block !important;
}

.select2-dropdown
{
  z-index: 100000 !important;
}

.select2-container--default .select2-results > .select2-results__options {
	max-height : 230px !important;
	overflow-y : auto;
}

.tag-box {
  /*border:1px solid black;
  border-radius: 4px;*/
  border:none;
  margin:0px;
  font-family: sans-serif;
  padding-left: 0px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 15px;
}

.tag-box label input {
  float: left;
}

.tag-box label span {
/*  float: left;
  max-width: 75%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;*/
  display:block;
  padding-left:25px;
  margin-top: 2px;
}

.suggest-editor {
  display: inline-block;
  white-space: nowrap;
}

.suggest-editor-clear-btn {
  display: inline-block;
  width: 10px;
  height: 10px;
  vertical-align: middle;
  margin-left: 5px;
  background-image: url(../pics/clear-icon.png);
  background-size: 10px 10px;
  cursor: pointer;
}

.search-subfilter-clear {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 5px;
  background-image: url(../pics/clear-icon.png);
  background-size: 10px 10px;
  cursor: pointer;
}

.select2-results__options .source-group {
}

.select2-results__options .source-item {
  padding-left: 10px;
}

.select2-results__options .source-name {
  font-size: 12px;
}

.select2-results__options .source-type {
  font-size: 10px;
  color: darkgray;
  float: right;
}

.select2-results__options .source-rss-url {

}

.select2-results__options .source-rss-url a {

}

.select2-results__options .prog-source-name {
  font-size: 10px;
  color: darkgray;
  margin-top: 5px;
  margin-left: 10px;
}

.search-select2-item li {
  font-size: 12px;
}

.search-input + span li.select2-selection__choice {
    max-width: 320px;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.tag-cont {
	position: relative;
}

.tag-cont.disabled label span {
  color: lightgray;
  text-decoration: line-through !important;
}

.tag-cont.disabled .tag-toggle-text {
	background-color: lightgray;
	color: white;
  text-decoration: line-through !important;
}

.tag-cont:hover .tag-toggle {
	display: block;
	box-shadow: 0px 0px 1px 1px lightgray;
	border-radius: 5px;
}

.tag-cont:hover label span {
	text-decoration: underline;
}

.tag-toggle .tag-btn {
	padding: 2px 5px;
	cursor: pointer;
	font-size: 12px;
}

.tag-toggle .tag-btn:hover {
	box-shadow: 0px 0px 5px 1px lightgray;
	color: #454ca9;
}

.tag-toggle .tag-current {
	box-shadow: 0px 0px 5px 1px lightgray;
	color: #454ca9;
}

.tag-toggle .tag-active {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-left: 1px solid lightgray;
	border-right: 1px solid lightgray;
}

.tag-toggle .tag-not-set {
	border-left: 1px solid lightgray;
	border-right: 1px solid lightgray;
}

.tag-toggle .tag-inactive {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border-left: 1px solid lightgray;
	border-right: 1px solid lightgray;
}

.tag-toggle .tag-not-set {
	position: relative;
}
.tag-not-set:after, .tag-not-set:before {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.tag-not-set:after {
	border-color: rgba(255, 255, 255, 0);
	border-left-color: #ffffff;
	border-width: 5px;
	margin-top: -5px;
}
.tag-not-set:before {
	border-color: rgba(0, 0, 0, 0);
	border-left-color: lightgray;
	border-width: 6px;
	margin-top: -6px;
}

.tag-toggle:hover {
	display: block;
}

.tag-toggle {
	position: absolute;
	top: -18px;
	right: 100%;
	display: none;
	background-color: white;
	z-index: 10;
	white-space: nowrap;
}

.tag-toggle span {
	background-color: #454ca9;
	cursor: pointer;
	display: block;
	border: 1px solid lightgray;
	padding: 2px;
	border-radius: 5px;
	text-align: center;
	color: white;
}

.tag-toggle span:hover {
	box-shadow: 0px 0px 5px 1px lightgray
}

.source-select {
	white-space: nowrap;
}

.search-in-found {
	margin-left:15px;
	margin-right:10px;
	margin-top:0;
	margin-bottom:0;
	font-size: 12px;
	height: 14px;
}

.search-collapse-btn {
	color: #454ca9;
	font-size: 0.8em;
	cursor: pointer;
	opacity: 0.5;
}

.search-collapse-btn:hover {
	opacity: 1;
}

.search-add-btn {
	font-size: 0.8em;
	cursor: pointer;
	color: #454ca9;
}

.search-add-btn.no-placeholder {
	width: 30px;
	margin-right: 2px;
	margin-top: 2px;
	text-align: center;
}

.search-remove-btn {
	display: inline-block;
	color: #454ca9;
	margin-left: 10px;
	cursor: pointer;
	font-size: 0.8em;
	opacity: 0.5;
}

.search-remove-btn:hover {
	opacity: 1;
}

.object-search-min-width
{
    min-width : 100%;
    width : 32em;
}

.search-state-widget
{
display: inline;
margin-left: 20px;
cursor: pointer;
}

.search-state-widget:hover
{
    text-decoration: underline;
}

.search-panel-selection-label
{
    color: black;
}
