/* ========================================================
   Search
   ===================================================== */

header .search {
  position: absolute;
  top: 18px;
  left: 565px;
  width: 260px;
  height: auto;
}

header .search.lng-fr {
  position: absolute;
  top: 18px;
  left: 540px;
  width: 260px;
  height: auto;
}

header .search.lng-ru {
  position: absolute;
  top: 18px;
  left: 540px;
  width: 260px;
  height: auto;
}

header .search input {
  margin-left: 10px;
  padding: 0;
  width: 65px;
  height: 20px;
  outline: none;
  border: 0;
  border-color: transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

header .search input[type="text"]:focus {
  padding: 0;
  border-color: transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

header .search input[type="button"] {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  width: 30px;
  height: 26px;
  background: url("../images/icons4.png") no-repeat scroll 5px -644px transparent;
  cursor: pointer;
}

header .search.lng-ru input[type="button"] {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  width: 30px;
  height: 26px;
  background: url("../images/icons4-ru.png") no-repeat scroll 5px -644px transparent;
  cursor: pointer;
}

header .search input::-moz-focus-inner {
  border: 0;
}

header .search input:focus + .results {
  display: block;
}

header .search .results {
  position: absolute;
  top: 35px;
  right: 0;
  left: 0;
  z-index: 100;
  border-width: 1px;
  border-style: solid;
  border-color: #cbcfe2 #c8cee7 #c4c7d7;
  border-radius: 3px;
  background-color: #fdfdfd;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fdfdfd), color-stop(100%, #eceef4));
  background-image: -webkit-linear-gradient(top, #fdfdfd, #eceef4);
  background-image: -moz-linear-gradient(top, #fdfdfd, #eceef4);
  background-image: -ms-linear-gradient(top, #fdfdfd, #eceef4);
  background-image: -o-linear-gradient(top, #fdfdfd, #eceef4);
  background-image: linear-gradient(top, #fdfdfd, #eceef4);
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

header .search .results li:first-child {
  margin-top: -1px;

}

header .search .results li:last-child {
  margin-bottom: -1px;
}

header .search .results li {
  position: relative;
  display: block;
  margin: 0 -1px;
  padding: 6px 40px 6px 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #808394;
  text-shadow: 0 1px #fff;
  font-weight: 500;
  cursor: pointer;
}

header .search .results li span {
  font-weight: 200;
}

header .search .results li:before {
  position: absolute;
  top: 50%;
  right: 10px;
  margin-top: -9px;
  width: 18px;
  height: 18px;
  content: '';
}

header .search .results li:hover {
  border-color: #2380dd #2179d5 #1a60aa;
  background-color: #338cdf;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #59aaf4), color-stop(100%, #338cdf));
  background-image: -webkit-linear-gradient(top, #59aaf4, #338cdf);
  background-image: -moz-linear-gradient(top, #59aaf4, #338cdf);
  background-image: -ms-linear-gradient(top, #59aaf4, #338cdf);
  background-image: -o-linear-gradient(top, #59aaf4, #338cdf);
  background-image: linear-gradient(top, #59aaf4, #338cdf);
  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 1px rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 1px rgba(0, 0, 0, 0.08);
  color: #fff;
  text-decoration: none;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.3);
}

:-moz-placeholder {
  color: #a7aabc;
  font-weight: 200;
}

::-webkit-input-placeholder {
  color: #a7aabc;
  font-weight: 200;
}

.lt-ie9 .search input {
  line-height: 26px;
}

/* ========================================================
   END Search
   ===================================================== */
/* ========================================================
   autoSuggest
   ===================================================== */
/* AutoSuggest CSS - Version 1.2 */

ul.as-selections {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 20px 0 2px;
  height: 26px;
  border-width: 1px;
  border-style: solid;
  border-color: #a8acbc #babdcc #c0c3d2;
  border-radius: 13px;
  background-color: #FFF;
  -webkit-box-shadow: inset 0 1px #e5e7ed, 0 1px #fcfcfc;
  box-shadow: inset 0 1px #e5e7ed, 0 1px #fcfcfc;
  overflow: hidden;
}

ul.as-selections2 {
  border-color: #66b1ee;
  -webkit-box-shadow: 0 0 2px rgba(85, 168, 236, 0.9);
  box-shadow: 0 0 2px rgba(85, 168, 236, 0.9);
}

ul.as-selections.loading {
  background-color: #FFF;
}

.search ul.as-selections li {
  float: left;
  margin: 2px 0px 2px 2px;
  height: 18px;
  line-height: 18px;
}

ul.as-selections li.as-selection-item {
  padding: 0px 7px 0px 10px;
  border: 1px solid #acc3ec;
  border-top-color: #c0d9e9;
  -webkit-border-radius: 13px;
  -moz-border-radius: 13px;
  border-radius: 13px;
  background-color: #ddeefe;
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ddeefe), to(#bfe0f1));
  -webkit-box-shadow: 0 1px 1px #e4edf2;
  -moz-box-shadow: 0 1px 1px #e4edf2;
  box-shadow: 0 1px 1px #e4edf2;
  color: #2b3840;
  text-shadow: 0 1px 1px #fff;
  font-size: 13px;
  font-family: "Lucida Grande", arial, sans-serif;
}

ul.as-selections li.as-selection-item:last-child {
  margin-left: 30px;
}

ul.as-selections li.as-selection-item a.as-close {
  float: right;
  margin: 1px 0 0 2px;
  padding: 0 2px;
  color: #5491be;
  text-shadow: 0 1px 1px #fff;
  font-weight: bold;
  font-size: 14px;
  font-family: "Helvetica", helvetica, arial, sans-serif;
  cursor: pointer;
  -webkit-transition: color .1s ease-in;
}

ul.as-selections li.as-selection-item.blur {
  border-color: #bbb;
  border-top-color: #ccc;
  background-color: #f4f4f4;
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f4f4f4), to(#d5d5d5));
  -webkit-box-shadow: 0 1px 1px #e9e9e9;
  -moz-box-shadow: 0 1px 1px #e9e9e9;
  box-shadow: 0 1px 1px #e9e9e9;
  color: #666666;
}

ul.as-selections li.as-selection-item.blur a.as-close {
  color: #999;
}

ul.as-selections li:hover.as-selection-item {
  border-color: #6da0e0;
  border-top-color: #8bb7ed;
  background-color: #bbd4f1;
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#bbd4f1), to(#a3c2e5));
  color: #2b3840;
}

ul.as-selections li:hover.as-selection-item a.as-close {
  color: #4d70b0;
}

ul.as-selections li.as-selection-item.selected {
  border-color: #1f30e4;
}

ul.as-selections li.as-selection-item a:hover.as-close {
  color: #1b3c65;
}

ul.as-selections li.as-selection-item a:active.as-close {
  color: #4d70b0;
}

ul.as-selections li.as-original {
  margin-left: 0;
}

ul.as-list {
  position: absolute;
  z-index: 2;
  margin: 2px 0 0 0;
  padding: 0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-box-shadow: 0 2px 12px #222;
  -moz-box-shadow: 0 2px 12px #222;
  box-shadow: 0 2px 12px #222;
  color: #000;
  list-style-type: none;
  font-size: 14px;
  font-family: "Lucida Grande", arial, sans-serif;
}

li:first-child.as-result-item {
  margin: 0;
}

li.as-message {
  margin: 0;
  cursor: default;
}

li.as-result-item em {
  padding: 0 2px;
  background: #444;
  color: #fff;
  font-style: normal;
}

li.as-result-item.active em {
  background: #253f7a;
  color: #fff;
}

/* Webkit Hacks  */
/* @media screen and (-webkit-min-device-pixel-ratio:0) {  
  ul.as-selections {
margin-top: 4px; */
/* }
  ul.as-selections li.as-selection-item {
  margin-top: 2px; */
/* margin-left: 2px; */
/* Opera Hacks  */
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {
  ul.as-list {
    border: 1px solid #888;
  }

  ul.as-selections li.as-selection-item a.as-close {
    margin-top: 0;
    margin-left: 4px;
  }
}

/* IE Hacks  */
ul.as-list {
  border: 1px solid #888\9;
}

ul.as-selections li.as-selection-item a.as-close {
  margin-top: 0 \9;
  margin-left: 4 px\9;
}

/* Firefox 3.0 Hacks */
ul.as-list, x:-moz-any-link, x:default {
  border: 1px solid #888;
}

BODY:first-of-type ul.as-list, x:-moz-any-link, x:default {
  /* Target FF 3.5+ */
  border: none;
}

/* ========================================================
   END autoSuggest
   ===================================================== */
