/*!
 * Bootstrap v2.3.0
 * Copyright 2012 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
 */
 
/************************************************
* nav - Верхняя Панель Menu                		*
************************************************/

.navbar-fixed-top { 
  position: fixed; right: 0; left: 0; top: 0;
  min-height: 43px;
  border-width: 0 0 1px;
  margin-right: -20px;
  margin-left: -20px;
  padding-right: 30px;
  padding-left: 30px;
  *zoom: 1;
  overflow: hidden;
  z-index: 1030;
  box-shadow:         0 0 3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow:    0 0 3px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
.navbar-fixed-top:after {
  clear: both;
}

/************************************************
* container                       		*
************************************************/
/*  wrapper - контейнер   	*/

.wrapper {  
  max-width: 1160px; 
  margin: 0 auto 0;
  padding: 0;
  *zoom: 1;
}
.wrapper:before,
.wrapper:after {
  display: table;
  line-height: 0;
  content: "";
}
.wrapper:after {
  clear: both;
}
/*  btn-navbar - Кнопка открытия меню    	*/

.btn-navbar {
  float: right;
  margin: 3px 10px 0 5px;
  padding: 7px 10px;
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #ededed;
  *background-color: #e5e5e5;
  background-image: -moz-linear-gradient(top, #151515, #040404);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#151515), to(#040404));
  background-image: -webkit-linear-gradient(top, #151515, #040404);
  background-image: -o-linear-gradient(top, #151515, #040404);
  background-image: linear-gradient(top bottom, #151515, #040404);
  background-repeat: repeat-x;
  border-color: #e5e5e5 #e5e5e5 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffe5e5e5', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
     -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
  cursor: pointer;
  display: none;
}
.btn-navbar .icon-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #f5f5f5;
  -webkit-border-radius: 1px;
     -moz-border-radius: 1px;
          border-radius: 1px;
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
     -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.btn-navbar .icon-bar + .icon-bar {
  margin-top: 3px;
}
/*  collapse - контейнер меню  	*/

.collapse {
  position: relative;
  height: auto;
  -webkit-transition: height 0.35s ease;
     -moz-transition: height 0.35s ease;
       -o-transition: height 0.35s ease;
          transition: height 0.35s ease;
  overflow: visible;
}
/* Top menu    */

.nav { 
  float: left;
  position: relative;
  list-style: none;
  left: 0;
  margin: 0;
}
.nav li {
  float: left;
  display: block;
  color: #999999;
  padding: 9px 15px 7px 15px;
  text-decoration: none;
}
.nav li a {
  color: #999999;
}
.nav li a:hover,
.nav li a:active {
  color: #ffffff;
  text-decoration: none;
}
#nav-page { 
  margin: 0;
  padding: 0;
}
#nav-category { 
  display: none; 
}
#nav-page li {
  float: left;
}

/************************************************
* navbar-form				*
************************************************/

.navbar-form {
  float: right;
  height: auto;
  margin-top: 1px;
  margin-bottom: 0;
  *zoom: 1;
}
.navbar-form input,
.navbar-form select{
  margin-top: 4px;
}
.navbar-form input {
  float: left;
  height: 15px;
  padding: 4px 6px;
  margin: 5px 10px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: #666666;
  vertical-align: middle;
  display: inline-block;
  background: #eee !important;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  border: 1px solid #cccccc;
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border linear 0.2s, box-shadow linear 0.2s;
          transition: border linear 0.2s, box-shadow linear 0.2s;
  -webkit-box-shadow: inset 5px 5px 5px rgba(83, 72, 50, 0.3);
     -moz-box-shadow: inset 5px 5px 5px rgba(83, 72, 50, 0.3);
          box-shadow: inset 5px 5px 5px rgba(83, 72, 50, 0.3);
}
input.span2 {
  width: 126px;
}
/*  top    */

.top {
   float: right;
   color: #999;
   font-size: 16px;
   margin: 8px 20px 10px 0;
}
.top span {
  margin-left: 20px;
}
.top span a:link, .top span a:visited {
   color: #999;
   font-size: 13px;
}
button#but-submit {
  width: 64px;
  height: 28px;
  font-size: 100%;
  vertical-align: middle;
  padding: 1px 6px 4px 6px;
  margin-top: 3px;
  color: #333;
}

/************************************************
* responsive navbar      	*
************************************************/

@media screen and (-webkit-min-device-pixel-ratio:0) {
    button#but-submit {
      padding: 2px 6px 3px 6px!important;
    }
}
@media (min-width: 980px) and (max-width: 1220px) {
  .wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 979px) {
    .navbar-fixed-top { 
      margin-top: 0;
      margin-bottom: 0px;
      padding-top: 5px;
      min-height: 38px;
    }
    .nav-collapse {
      clear: both;
    }
    .nav {
      float: none;
      margin: 0 0 0 15px;
    }
    .nav li {
      float: none;
    }
    .nav li a {
      float: none;
      margin-bottom: 2px;
      padding: 5px 0 10px 0;
      margin: 0;
    }
    .navbar-form {
      float: none;
      overflow: hidden;
      padding: 10px 15px;
      margin: 10px 0 0 0;
      border-top: 1px solid #f2f2f2;
      border-bottom: 1px solid #f2f2f2;
      -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
         -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
              box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    .navbar-form {
      border-top-color: #111111;
      border-bottom-color: #111111;
    }
    .collapse {
      height: 0;
      overflow: hidden;
    }
    .btn-navbar {   
      padding: 4px 10px 4px 10px;
      font-weight: normal;
      display: block;
    }
	.navbar-fixed-top{
		position: static;
	}
	body #outer-container{
		margin-top: 0;
	}
    #menu-box, ul#nav-page, #category { display: none; }
    ul#nav-category {  display: block !important; }
  
}
@media (min-width: 980px) {
  .collapse {
    height: auto !important;
    overflow: visible !important;
  }
}
