/**
 * @edit Alyona Malashenko (malashenko@design.ru)
 * @date 15.12.2014
 * @time 20:12
 */
/*
  @author Alexander Samilyak (aleksam241@gmail.com)
  @created 2013.03.25
  @copyright Art. Lebedev Studio (www.artlebedev.ru)

  This source code follows Formatting section of Google CSS Style Guide
  https://google.github.io/styleguide/htmlcssguide.html#CSS_Formatting_Rules
*/
/**
  @param {string} value
  @param {boolean=} important
  @return {string}
*/
/**
  Clearfix in float based layouts
*/
/**
  @param {color} hexOrName
  @param {boolean=} important
*/
/**
  Pure css triangle
*/
#main #content .search_form {
  background: #f7f7f7;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  float: left;
  max-width: 50em;
  min-width: inherit;
  min-height: 1.75em;
  padding-top: 1.5em;
  padding-bottom: 1em;
  position: relative;
  width: 100%; }

.search_form .search-field input[type='text'] {
  width: 80%;
  vertical-align: middle; }

.search_form .search-field input[type='submit'] {
  width: 18.5%;
  vertical-align: middle;
  margin-left: 1.5%; }

.search_form .left_controls {
  float: left;
  padding-bottom: 0 !important; }
  .search_form .left_controls dl:only-child {
    padding-top: 5px;
    padding-bottom: 0 !important; }

.search_form .right_controls {
  float: right; }

.search_form input[type="search"] {
  width: 72%; }

.search_form .submit {
  margin-left: 0.5em;
  width: 5em; }

.search_form input[type="radio"] {
  display: none; }

.search_form .switcher {
  font-size: 100%;
  font-family: Arial, sans-serif !important;
  width: 100% !important;
  margin: 1em 0 0 0; }
  .search_form .switcher label {
    cursor: inherit; }

#content ol.search_results > li:before {
  content: '';
  padding-right: 1.2em; }

#content ol.search_results li {
  margin: 0 0 1.5em; }
  #content ol.search_results li .number {
    left: 0;
    position: absolute;
    text-align: right;
    width: 35px; }
  #content ol.search_results li .number + .link .file + .source {
    padding-left: 30px; }

#content ol.search_results.with_dates {
  margin-left: 0; }
  #content ol.search_results.with_dates li {
    margin: 0 0 2.5em !important;
    padding: 0; }
  #content ol.search_results.with_dates p {
    margin-bottom: .5em; }
    #content ol.search_results.with_dates p.info {
      font-size: 90%; }
  #content ol.search_results.with_dates span.source {
    margin-left: 13px;
    font-size: 100%; }

#content ol.search_results .source {
  font-size: 90%;
  color: #777;
  margin-top: 0.2em; }

#content ol.search_results p.file {
  margin-bottom: 0; }

.search_pager .prev_next {
  padding-left: 1em; }

.search_pager .inactive {
  color: #777; }

.search_blocks {
  clear: both;
  margin-bottom: 1.5em; }
  .search_blocks:after {
    content: '';
    display: table;
    clear: both; }
  .search_blocks ins {
    color: #777; }

.search_pager .key {
  font-size: 75%; }

.search_pager .pages {
  margin-top: 1em; }
  .search_pager .pages > * {
    display: inline-block;
    padding: 0 0.3em;
    margin-right: 1em; }
  .search_pager .pages > b {
    background: #a62a2a;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    color: #fff;
    padding: 3px 10px; }

.site_map_switcher .switcher {
  font-size: 100%;
  font-family: Arial, sans-serif !important; }
  .site_map_switcher .switcher .pseudo {
    color: #000;
    border-color: rgba(0, 0, 0, 0.3); }

.site_map h2 {
  clear: left; }

.site_map li {
  margin-bottom: 0.8em; }

.site_map > ul {
  width: 28%;
  margin-right: 4%;
  margin-bottom: 2.5em;
  float: left; }
  .site_map > ul > li > a {
    font-weight: bold; }

.site_map .gcolumns > ul > li > a {
  font-weight: bold; }

.site_map ul ul {
  margin-top: 0.8em;
  margin-left: 1em;
  margin-bottom: 1.5em; }

.site_map ul li:last-child ul {
  margin-bottom: 0; }

.site_map.short ul ul {
  display: none; }

.site_map ul ul li {
  font-size: 92%; }

.site_map h2 > a:hover {
  color: #D9732F !important; }

@media (max-width: 720px) {
  .search_pager .key {
    display: none; } }

@media (max-width: 576px) {
  .search_form .search-field input[type='text'] {
    width: 70%; }
  .search_form .search-field input[type='submit'] {
    width: 28.5%; } }

@media (max-width: 425px) {
  .search_form .search-field input[type='text'] {
    width: 100%; }
  .search_form .search-field input[type='submit'] {
    width: auto;
    margin: 10px 0 0 0; } }
