﻿.SimpleSearchControl {
  position: relative;
  color: #464646; }
  .SimpleSearchControl .TextBox {
    position: relative;
    margin: 0; }
    .SimpleSearchControl .TextBox > input {
      border: none; }
    .SimpleSearchControl .TextBox .closeButton {
      background: url("../../Core/CSS/img/buttons.png") no-repeat 0 0;
      width: 16px;
      height: 16px;
      right: 5px;
      top: 50%;
      margin-top: -8px;
      position: absolute;
      cursor: pointer; }
      .SimpleSearchControl .TextBox .closeButton.hidden {
        display: none; }

.SearchControl {
  color: #464646;
  position: relative; }
  .SearchControl > .SearchBoxControl {
    width: 251px; }
    .SearchControl > .SearchBoxControl > input {
      border: none; }
  .SearchControl > .DropDown {
    position: absolute;
    top: 100%;
    width: 100%;
    margin-top: -5px;
    box-sizing: border-box;
    max-height: -webkit-calc(90vh - 23px);
    max-height: -moz-calc(90vh - 23px);
    max-height: calc(90vh - 23px);
    overflow-y: auto;
    background-color: #fcfcfc;
    border: 1px solid #b6c3d4;
    border-top: 1px solid black;
    z-index: 2999;
    -moz-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.3); }
    .SearchControl > .DropDown > .Content {
      position: relative; }
      .SearchControl > .DropDown > .Content .Block {
        position: relative;
        border-bottom: 1px solid #efebef; }
        .SearchControl > .DropDown > .Content .Block > .Header {
          position: relative;
          font-size: 12px;
          cursor: default;
          padding: 0 9px;
          border-bottom: 1px solid #efebef; }
          .SearchControl > .DropDown > .Content .Block > .Header > h3 {
            padding: 0;
            margin: 0;
            line-height: 25px;
            font-size: 12px; }
          .SearchControl > .DropDown > .Content .Block > .Header > span {
            position: absolute;
            right: 10px;
            top: 0;
            line-height: 25px;
            font-weight: 800;
            cursor: pointer; }
          .SearchControl > .DropDown > .Content .Block > .Header:hover {
            background-color: #eee; }
        .SearchControl > .DropDown > .Content .Block > .Item {
          font-size: 12px;
          padding: 2px 12px;
          cursor: pointer;
          line-height: 21px; }
          .SearchControl > .DropDown > .Content .Block > .Item > span {
            display: block;
            width: 100%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis; }
          .SearchControl > .DropDown > .Content .Block > .Item:hover {
            background-color: #f1f0ec; }
    .SearchControl > .DropDown > .Buttons {
      padding: 0 10px; }
    .SearchControl > .DropDown.hidden {
      display: none; }
