/*
  Attention: This file is not an official part of twitter bootstrap, but it contains few overrides of media queries. 
  The most important change (while keeping twitter bootstrap's responsive functionality) 
  is that it restricts .container class of this template to be at most 960px wide.

  Comment the forst section to allow sizes wider than 960px.

*/
@media (max-width: 1199px) {
  .navbar{
    height: 180px;
  }
  
  .navbar .nav {
    float: left;
  }  
}

@media (min-width: 1200px) {
  .row {
   /* margin-left: -20px;*/
    *zoom: 1;
  }
  .row:before,
  .row:after {
    display: table;
    content: "";
  }
  .row:after {
    clear: both;
  }
  [class*="span"] {
    float: left;
    margin-left: 20px;
  }
  .container,
  .navbar-fixed-top .container,
  .navbar-fixed-bottom .container {
   /* width: 940px;*/
  }
  /* .col-md-12 {
    width: 940px;
  }
  .col-md-11 {
    width: 860px;
  }
  .col-md-10 {
    width: 780px;
  }
  .col-md-9 {
    width: 700px;
  }
  .col-md-8 {
    width: 620px;
  }
  .col-md-7 {
    width: 540px;
  }
  .col-md-6 {
    width: 460px;
  }
  .col-md-5 {
    width: 380px;
  }
 .col-md-4 {
    width: 300px;
  }
  .col-md-3 {
    width: 220px;
  }
  .col-md-2 {
    width: 140px;
  }
  .col-md-1 {
    width: 60px;
  }
  .col-md-offset-12 {
    margin-left: 980px;
  }
  .col-md-offset-11 {
    margin-left: 900px;
  }
  .col-md-offset-10 {
    margin-left: 820px;
  }
  .col-md-offset-9 {
    margin-left: 740px;
  }
  .col-md-offset-8 {
    margin-left: 660px;
  }
  .col-md-offset-7 {
    margin-left: 580px;
  }
  .col-md-offset-6 {
    margin-left: 500px;
  }
  .col-md-offset-5 {
    margin-left: 420px;
  }
  .col-md-offset-4 {
    margin-left: 340px;
  }
  .col-md-offset-3 {
    margin-left: 260px;
  }
  .col-md-offset-2 {
    margin-left: 180px;
  }
  .col-md-offset-1 {
    margin-left: 100px;
  }*/
  .row {
   /* width: 100%;*/
    *zoom: 1;
  }
  .row:before,
  .row:after {
    display: table;
    content: "";
  }
  .row:after {
    clear: both;
  }
  .row [class*="span"] {
    display: block;
    float: left;
    width: 100%;
    min-height: 28px;
    margin-left: 2.127659574%;
    *margin-left: 2.0744680846382977%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
  }
  .row [class*="span"]:first-child {
    margin-left: 0;
  }
  /*.row .col-md-12 {
    width: 99.99999998999999%;
    *width: 99.94680850063828%;
  }
  .row .col-md-11 {
    width: 91.489361693%;
    *width: 91.4361702036383%;
  }
  .row .col-md-10 {
    width: 82.97872339599999%;
    *width: 82.92553190663828%;
  }
  .row .col-md-9 {
    width: 74.468085099%;
    *width: 74.4148936096383%;
  }
  .row .col-md-8 {
    width: 65.95744680199999%;
    *width: 65.90425531263828%;
  }
  .row .col-md-7 {
    width: 57.446808505%;
    *width: 57.3936170156383%;
  }
  .row .col-md-6 {
    width: 48.93617020799999%;
    *width: 48.88297871863829%;
  }
  .row .col-md-5 {
    width: 40.425531911%;
    *width: 40.3723404216383%;
  }
  .row .col-md-4 {
    width: 31.914893614%;
    *width: 31.8617021246383%;
  }
  .row .col-md-3 {
    width: 23.404255317%;
    *width: 23.3510638276383%;
  }
  .row .col-md-2 {
    width: 14.89361702%;
    *width: 14.8404255306383%;
  }
  .row .col-md-1 {
    width: 6.382978723%;
    *width: 6.329787233638298%;
  }
  input,
  textarea,
  .uneditable-input {
    margin-left: 0;
  }
  input.col-md-12,
  textarea.col-md-12,
  .uneditable-input.col-md-12 {
    width: 930px;
  }
  input.col-md-11,
  textarea.col-md-11,
  .uneditable-input.col-md-11 {
    width: 850px;
  }
  input.col-md-10,
  textarea.col-md-10,
  .uneditable-input.col-md-10 {
    width: 770px;
  }
  input.col-md-9,
  textarea.col-md-9,
  .uneditable-input.col-md-9 {
    width: 690px;
  }
  input.col-md-8,
  textarea.col-md-8,
  .uneditable-input.col-md-8 {
    width: 610px;
  }
  input.col-md-7,
  textarea.col-md-7,
  .uneditable-input.col-md-7 {
    width: 530px;
  }
  input.col-md-6,
  textarea.col-md-6,
  .uneditable-input.col-md-6 {
    width: 450px;
  }
  input.col-md-5,
  textarea.col-md-5,
  .uneditable-input.col-md-5 {
    width: 370px;
  }
  input.col-md-4,
  textarea.col-md-4,
  .uneditable-input.col-md-4 {
    width: 290px;
  }
  input.col-md-3,
  textarea.col-md-3,
  .uneditable-input.col-md-3 {
    width: 210px;
  }
  input.col-md-2,
  textarea.col-md-2,
  .uneditable-input.col-md-2 {
    width: 130px;
  }
  input.col-md-1,
  textarea.col-md-1,
  .uneditable-input.col-md-1 {
    width: 50px;
  }*/
  .thumbnails {
    margin-left: -20px;
  }
  .thumbnails > li {
    margin-left: 20px;
  }
  .row .thumbnails {
    margin-left: 0;
  }
}

/*
  Rules for resolutions between 768 and 979px
*/

@media (max-width: 979px) and (min-width: 768px) {
  .navbar .nav {
    margin-left:-14px;
    float:left!important;
  }
  .navbar .navbar-brand {
    width:100%;
  }
  .navbar .nav-responsive {
    display:none;
    width:100%;
    margin:60px auto 0 auto;
    clear:both;
  }
  .navbar .container {
    width: 724px!important;
  }
}

/*
  Rules for resolutions below 768px
*/

@media (max-width: 767px) {


  /* padding on screen sides */
  .container {
    width:90%!important;
  }

  /* hides main navigation */
  .navbar .nav {
    display:none;
  }

  /* shows alternative navigation */
  .navbar .nav-responsive {
    display:block!important;
    width:100%;
    margin:130px auto 0 auto;
    clear:both;
  }

  /* separate span* classes horizontally */
  [class*="span"] {
    margin-bottom:20px;
  }
}

@media (min-width: 768px) {
  .col-md-4 {
    width: 33%;
    float: left;
  }
}