/*########################################## * 
General css for Joomla and Virtuemart * 
Design by WebDesign - sites-design.com 
* Copyright 2017 WebDesign * Licensed for Altare
* Developer : http://www.sites-design.com 
###########################################*/    

@media (min-width: 1360px) {	
  .category-view .span3.category, .latest-view .row .span3.category {width: 23%;}     
  .t3-content.span9.pull-right .category-view .span3.category {width: 31.333%;}     
  .produto .addtocart-area {margin: 0 0 0 60px;}       
  .produto .ask-a-question, .back-to-category {display: inline-block; float: left; width: auto; margin: 10px 0 0;}    
  .produto .ask-a-question.category {display: inline-block; float: right; width: auto; margin: 10px 0 0;}    
  .span3.product-field.product-field-type-R {width:25%; margin: 0;}        
}  

@media (min-width: 1200px) and (max-width: 1360px) {
  .category-view .span3.category, .latest-view .row .span3.category {width: 23%;}     
  .produto .addtocart-area {margin: 0 0 0 60px;}       
  .produto .ask-a-question, .back-to-category {display: inline-block; float: left; width: auto; margin: 10px 0 0;}    
  .produto .ask-a-question.category {display: inline-block; float: right; width: auto; margin: 10px 0 0;}    
  .span3.product-field.product-field-type-R {width:33.3%; margin: 0;}        
}       

@media (min-width: 980px) and (max-width: 1199px) {
  h1 {font-size: 30px; line-height: 32px;}   h2 {font-size: 24px; line-height: 26px;}   h3 {font-size: 18px;line-height: 20px;}   h4 {font-size: 16px;line-height: 20px;}   
  .t3-mainnav .navbar .nav > li > a {font-size: 18px; padding: 10px 12px !important;}         
  .menu.VMcategory li a {padding: 5px 13px 8px;}   
  .t3-mainnav ul ul {left: 10px; right: 10px;}     
  .moduletable_menu.top ul li a {padding: 7px 6px;}   

  .category-view .span3.category, .latest-view .row .span3.category {width: 23%;}     
  .produto .addtocart-area {margin: 0 0 0 60px;}       
  .produto .ask-a-question, .back-to-category {display: inline-block; float: left; width: auto; margin: 10px 0 0;}    
  .produto .ask-a-question.category {display: inline-block; float: right; width: auto; margin: 10px 0 0;}    
  .span3.product-field.product-field-type-R {width:33.3%; margin: 0;}        
}    

@media (min-width: 768px) and (max-width: 979px) {	
  .t3-mainnav {height: auto;}  
  .t3-mainnav .navbar .nav > li > a {font-size: 16px; padding: 10px 8px !important;}         
  .t3-mainnav ul ul {left: 8px; right: auto;}     
  .moduletable.search {margin: 20px 0 0;}   

  .category-view .span3.category, .latest-view .row .span3.category {width: 48%;}     
  .span3.category {width: 31.333% !important;}   
  .produto h1 {font-size: 22px;}   
  .produto .addtocart-area {margin: 0 0 0 60px;}       
  .produto .ask-a-question, .back-to-category {display: inline-block; float: left; width: auto; margin: 10px 0 0;}    
  .produto .ask-a-question.category {display: inline-block; float: right; width: auto; margin: 10px 0 0;}    
  .span3.product-field.product-field-type-R {width:50%; margin: 0;}          
}    

@media (max-width: 767px) { 
  .t3-mainnav .nav-collapse {box-shadow: 0 2px 2px 2px #444;}
  ul.menu.VMcategory {list-style: none; margin: 0;}   
  .menu.VMcategory li {float: none;}   
  .menu.VMcategory li a {font-family: sans-serif;  border-top: 1px solid #ddd;  color: #333;  font-size: 18px; display: block;}    
  .menu.VMcategory li a:hover {background: #999; color: #fff;}
  #top {z-index: auto;}   
  .span4.top {position: fixed; width: auto; top: 0; right: 10px; z-index: 100000;}   
  .moduletable.search {margin: 9px 0 0;}   
  .moduletable_menu.top {text-align: center;}   
  .moduletable_menu.top ul {margin: 0;}   
  .moduletable_menu.top ul li {margin: 0;}   
  .moduletable_menu.top ul li a {padding: 7px 12px;}   
  .logotipo img {max-height: 80px; width: auto !important;}   
  .t3-header .span8, .t3-header .span4 {max-width: 98.2% !important; margin-left: 1% !important; float: none !important;}   
  .moduletable.cart {display: inline-table; float: none; margin: 10px 10px 0 auto;}   
  .span4 {margin-top: 0 !important;}   
  
  .t3-mainbody {padding: 20px 1%;}      
  .conteudos {margin: 10px 1% 0 1%;} 

  h1 {font-size: 26px; line-height: 28px;}   h2 {font-size: 22px; line-height: 24px;}   

  .navbar-collapse-fixed-top {background: #000 !important; height: 45px !important; border-radius: 0;}       
  .t3-mainnav .navbar .nav > li > a {font-size: 18px;}       
  .t3-mainnav .navbar .nav > li > a:hover, .t3-mainnav .nav li.dropdown.open > .dropdown-toggle {background: #F9F9F9 !important; color: #999 !important; text-shadow: 0.5px 0.5px 0 #000 !important;}         
  .t3-header {padding: 0;}   

   #aiContactSafe_row_aics_arquivo.aiContactSafe_row, #upload_1_file_aics_aisc_arquivo { display: inline-block; text-align: center !important; float: none !important; margin: 10px auto 0; width: auto !important;}     
   
   .category-view .span3.category, .latest-view .row .span3.category {width: 48% !important;}     
   .product-neighbours {margin: 0 0 10px;}       
   .produto .manufacturer {margin: 0;}    
   .span4.product-sku {margin: 0 !important;}      
   .back-to-category {text-align: center;}      
   .span4.produto-imagens, .span8.produto-price_cart {margin: 0 !important; width: 100% !important;}     
   .spacer-buy-area h1 {text-align: center;}     
   .span4.produto-imagens .main-image {height: 260px;}      
   .span4.produto-imagens .main-image img {max-height: 260px;}         
   .price-add {margin: 20px 0;}           
   
   .span3.category {width: 48% !important; float: left;}   
   .span3.product-field.product-field-type-R {width:50%; margin: 0;}        
}    

@media (min-width: 481px) and (max-width: 600px) { 
  .moduletable_menu.top ul li {margin: 0; width: 33.333%; text-align: center;}   
  .logotipo img {max-height: 70px; width: auto !important;}   
  
  .category-view .span3.category, .latest-view .row .span3.category {width: 98% !important;}     
  .produto h1 {font-size: 22px;}   
  .span6.produto-comprar {background: none;}      
  .texto-promo {margin: 18px 0 -37px 0;}   
  .texto-promo p {font-size: 8.5px; line-height: 10px;}   
  
  .span3.category {width: 48% !important; float: left;}   
  .span3.product-field.product-field-type-R {width:100%; margin: 0;}        
}  
	
@media (max-width: 480px) {
   h1 {font-size: 24px; line-height: 26px;}   h2 {font-size: 20px; line-height: 22px;}   
   .logotipo img {max-height: 60px; width: auto !important;}   
  .moduletable_menu.top ul li {margin: 0; width: 50%; text-align: center;}   

  .moduletable.search {width: 180px;}   
  #search-results105 {left: auto !important; right: 10px;}   

  .category-view .span3.category, .latest-view .row .span3.category {width: 98% !important;}     
  .produto h1 {font-size: 20px;}   
  .tabbable.tabs_style4 li a {font-size: 15px; padding: 5px 8px;}   
  .span6.produto-custos {width: 45%;}       
  .span6.produto-comprar {background: none; width: 55%;}      
  .quantity-box .quantity-input, .cart-summary .quantity-input {width: 26px;}  
  #produto-comprar .addtocart-bar {padding: 3px 5px 3px 0;}  
  #produto-comprar input.addtocart-button {padding: 6px 8px !important; margin: 0 0 0 5px;}   
  .produto a.ask-a-question {padding: 2px 5px;}   
  .tabbable.tabs_style4 li a {font-size: 16px; padding: 5px 8px;}      
  #produto-custo span.PricesalesPrice {font-size: 18px;}   
  .texto-promo {margin: 40px 0 0; position: absolute;}    
  
  .span3.category {width: 100% !important; margin: 10px 0 !important;}   
  .span3.product-field.product-field-type-R {width:100%; margin: 0;}        
  
  div#aiContactSafe_mainbody_1 div.aiContactSafe_row, div#aiContactSafe_mainbody_3 div.aiContactSafe_row {width: 99.5%; }       
  #aiContactSafe_row_aics_arquivo .aiContactSafe_contact_form_field_label_left, #aiContactSafe_row_aics_arquivo .aiContactSafe_contact_form_field_label_right {float: none !important;}          
}        

/* ---************ --- */ 

.hidden {
  display: none;
  visibility: hidden;
}
.visible-phone {
  display: none !important;
}
.visible-tablet {
  display: none !important;
}
.hidden-desktop {
  display: none !important;
}
.visible-desktop {
  display: inherit !important;
}
@media (min-width: 768px) and (max-width: 979px) {
  .hidden-desktop {
    display: inherit !important;
  }
  .visible-desktop {
    display: none !important;
  }
  .visible-tablet {
    display: inherit !important;
  }
  .hidden-tablet {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .hidden-desktop {
    display: inherit !important;
  }
  .visible-desktop {
    display: none !important;
  }
  .visible-phone {
    display: inherit !important;
  }
  .hidden-phone {
    display: none !important;
  }
}
.visible-print {
  display: none !important;
}
@media print {
  .visible-print {
    display: inherit !important;
  }
  .hidden-print {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .row {
    margin-left: -2%;
    *zoom: 1;
  }
  .row:before,
  .row:after {
    display: table;
    content: "";
    line-height: 0;
  }
  .row:after {
    clear: both;
  }
  [class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 2%;
  }
  .container,
  .navbar-static-top .container,
  .navbar-fixed-top .container,
  .navbar-fixed-bottom .container {
	width: 98%;
	max-width: 1360px; 
  }
  .span12 {
    width: 98%;
  }
  .span11 {
    width: 89.6%;
  }
  .span10 {
    width: 81.3%;
  }
  .span9 {
    width: 73%;
  }
  .span8 {
    width: 64%;
  }
  .span7 {
    width: 56.3%;
  }
  .span6 {
    width: 48%;
  }
  .span5 {
    width: 39.6%;
  }
  .span4 {
    width: 31%;
  }
  .span3 {
    width: 23%;
  }
  .span2 {
    width: 14.5%;
  }
  .span1 {
    width: 6.3%;
  }	  
  .offset12 {
    margin-left: 1276px;
  }
  .offset11 {
    margin-left: 1173px;
  }
  .offset10 {
    margin-left: 1070px;
  }
  .offset9 {
    margin-left: 967px;
  }
  .offset8 {
    margin-left: 864px;
  }
  .offset7 {
    margin-left: 761px;
  }
  .offset6 {
    margin-left: 658px;
  }
  .offset5 {
    margin-left: 555px;
  }
  .offset4 {
    margin-left: 452px;
  }
  .offset3 {
    margin-left: 349px;
  }
  .offset2 {
    margin-left: 246px;
  }
  .offset1 {
    margin-left: 143px;
  }
  .row-fluid {
    width: 100%;
    *zoom: 1;
  }
  .row-fluid:before,
  .row-fluid:after {
    display: table;
    content: "";
    line-height: 0;
  }
  .row-fluid:after {
    clear: both;
  }
  .row-fluid [class*="span"] {
    display: block;
    width: 100%;
    min-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    margin-left: 3.3444816053512%;
    *margin-left: 3.2908335366816%;
  }
  .row-fluid [class*="span"]:first-child {
    margin-left: 0;
  }
  .row-fluid .controls-row [class*="span"] + [class*="span"] {
    margin-left: 3.3444816053512%;
  }
  .row-fluid .span12 {
    width: 100%;
    *width: 99.94635193133%;
  }
  .row-fluid .span11 {
    width: 91.387959866221%;
    *width: 91.334311797551%;
  }
  .row-fluid .span10 {
    width: 82.775919732441%;
    *width: 82.722271663772%;
  }
  .row-fluid .span9 {
    width: 74.163879598662%;
    *width: 74.110231529993%;
  }
  .row-fluid .span8 {
    width: 65.551839464883%;
    *width: 65.498191396213%;
  }
  .row-fluid .span7 {
    width: 56.939799331104%;
    *width: 56.886151262434%;
  }
  .row-fluid .span6 {
    width: 48.327759197324%;
    *width: 48.274111128655%;
  }
  .row-fluid .span5 {
    width: 39.715719063545%;
    *width: 39.662070994876%;
  }
  .row-fluid .span4 {
    width: 31.103678929766%;
    *width: 31.050030861096%;
  }
  .row-fluid .span3 {
    width: 22.491638795987%;
    *width: 22.437990727317%;
  }
  .row-fluid .span2 {
    width: 13.879598662207%;
    *width: 13.825950593538%;
  }
  .row-fluid .span1 {
    width: 5.2675585284281%;
    *width: 5.2139104597586%;
  }
  .row-fluid .offset12 {
    margin-left: 106.6889632107%;
    *margin-left: 106.58166707336%;
  }
  .row-fluid .offset12:first-child {
    margin-left: 103.34448160535%;
    *margin-left: 103.23718546801%;
  }
  .row-fluid .offset11 {
    margin-left: 98.076923076923%;
    *margin-left: 97.969626939584%;
  }
  .row-fluid .offset11:first-child {
    margin-left: 94.732441471572%;
    *margin-left: 94.625145334233%;
  }
  .row-fluid .offset10 {
    margin-left: 89.464882943144%;
    *margin-left: 89.357586805805%;
  }
  .row-fluid .offset10:first-child {
    margin-left: 86.120401337793%;
    *margin-left: 86.013105200454%;
  }
  .row-fluid .offset9 {
    margin-left: 80.852842809365%;
    *margin-left: 80.745546672025%;
  }
  .row-fluid .offset9:first-child {
    margin-left: 77.508361204013%;
    *margin-left: 77.401065066674%;
  }
  .row-fluid .offset8 {
    margin-left: 72.240802675585%;
    *margin-left: 72.133506538246%;
  }
  .row-fluid .offset8:first-child {
    margin-left: 68.896321070234%;
    *margin-left: 68.789024932895%;
  }
  .row-fluid .offset7 {
    margin-left: 63.628762541806%;
    *margin-left: 63.521466404467%;
  }
  .row-fluid .offset7:first-child {
    margin-left: 60.284280936455%;
    *margin-left: 60.176984799116%;
  }
  .row-fluid .offset6 {
    margin-left: 55.016722408027%;
    *margin-left: 54.909426270688%;
  }
  .row-fluid .offset6:first-child {
    margin-left: 51.672240802676%;
    *margin-left: 51.564944665337%;
  }
  .row-fluid .offset5 {
    margin-left: 46.404682274247%;
    *margin-left: 46.297386136908%;
  }
  .row-fluid .offset5:first-child {
    margin-left: 43.060200668896%;
    *margin-left: 42.952904531557%;
  }
  .row-fluid .offset4 {
    margin-left: 37.792642140468%;
    *margin-left: 37.685346003129%;
  }
  .row-fluid .offset4:first-child {
    margin-left: 34.448160535117%;
    *margin-left: 34.340864397778%;
  }
  .row-fluid .offset3 {
    margin-left: 29.180602006689%;
    *margin-left: 29.07330586935%;
  }
  .row-fluid .offset3:first-child {
    margin-left: 25.836120401338%;
    *margin-left: 25.728824263999%;
  }
  .row-fluid .offset2 {
    margin-left: 20.56856187291%;
    *margin-left: 20.461265735571%;
  }
  .row-fluid .offset2:first-child {
    margin-left: 17.224080267559%;
    *margin-left: 17.116784130219%;
  }
  .row-fluid .offset1 {
    margin-left: 11.95652173913%;
    *margin-left: 11.849225601791%;
  }
  .row-fluid .offset1:first-child {
    margin-left: 8.6120401337793%;
    *margin-left: 8.5047439964402%;
  }
  input,
  textarea,
  .uneditable-input {
    margin-left: 0;
  }
  .controls-row [class*="span"] + [class*="span"] {
    margin-left: 40px;
  }
  input,
  textarea,
  .uneditable-input {
    margin-left: 0;
  }
  .controls-row [class*="span"] + [class*="span"] {
    margin-left: 40px;
  }
  input.span12, textarea.span12, .uneditable-input.span12 {
    width: 1182px;
  }
  input.span11, textarea.span11, .uneditable-input.span11 {
    width: 1079px;
  }
  input.span10, textarea.span10, .uneditable-input.span10 {
    width: 976px;
  }
  input.span9, textarea.span9, .uneditable-input.span9 {
    width: 873px;
  }
  input.span8, textarea.span8, .uneditable-input.span8 {
    width: 770px;
  }
  input.span7, textarea.span7, .uneditable-input.span7 {
    width: 667px;
  }
  input.span6, textarea.span6, .uneditable-input.span6 {
    width: 564px;
  }
  input.span5, textarea.span5, .uneditable-input.span5 {
    width: 461px;
  }
  input.span4, textarea.span4, .uneditable-input.span4 {
    width: 358px;
  }
  input.span3, textarea.span3, .uneditable-input.span3 {
    width: 255px;
  }
  input.span2, textarea.span2, .uneditable-input.span2 {
    width: 152px;
  }
  input.span1, textarea.span1, .uneditable-input.span1 {
    width: 49px;
  }
  .thumbnails {
    margin-left: -40px;
  }
  .thumbnails > li {
    margin-left: 40px;
  }
  .row-fluid .thumbnails {
    margin-left: 0;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .row {
    margin-left: -2%;
    *zoom: 1;
  }
  .row:before,
  .row:after {
    display: table;
    content: "";
    line-height: 0;
  }
  .row:after {
    clear: both;
  }
  [class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 2%;
  }
  .container,
  .navbar-static-top .container,
  .navbar-fixed-top .container,
  .navbar-fixed-bottom .container {
	width: 98%;
  }
  .span12 {
    width: 98%;
  }
  .span11 {
    width: 89.6%;
  }
  .span10 {
    width: 81.3%;
  }
  .span9 {
    width: 73%;
  }
  .span8 {
    width: 64%;
  }
  .span7 {
    width: 56.3%;
  }
  .span6 {
    width: 48%;
  }
  .span5 {
    width: 39.6%;
  }
  .span4 {
    width: 31%;
  }
  .span3 {
    width: 23%;
  }
  .span2 {
    width: 14.5%;
  }
  .span1 {
    width: 6.3%;
  }	  
  .offset12 {
    margin-left: 776px;
  }
  .offset11 {
    margin-left: 713px;
  }
  .offset10 {
    margin-left: 650px;
  }
  .offset9 {
    margin-left: 587px;
  }
  .offset8 {
    margin-left: 524px;
  }
  .offset7 {
    margin-left: 461px;
  }
  .offset6 {
    margin-left: 398px;
  }
  .offset5 {
    margin-left: 335px;
  }
  .offset4 {
    margin-left: 272px;
  }
  .offset3 {
    margin-left: 209px;
  }
  .offset2 {
    margin-left: 146px;
  }
  .offset1 {
    margin-left: 83px;
  }
  .row-fluid {
    width: 100%;
    *zoom: 1;
  }
  .row-fluid:before,
  .row-fluid:after {
    display: table;
    content: "";
    line-height: 0;
  }
  .row-fluid:after {
    clear: both;
  }
  .row-fluid [class*="span"] {
    display: block;
    width: 100%;
    min-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    margin-left: 2.7173913043478%;
    *margin-left: 2.6637432356783%;
  }
  .row-fluid [class*="span"]:first-child {
    margin-left: 0;
  }
  .row-fluid .controls-row [class*="span"] + [class*="span"] {
    margin-left: 2.7173913043478%;
  }
  .row-fluid .span12 {
    width: 100%;
    *width: 99.94635193133%;
  }
  .row-fluid .span11 {
    width: 91.387959866221%;
    *width: 91.334311797551%;
  }
  .row-fluid .span10 {
    width: 82.775919732441%;
    *width: 82.722271663772%;
  }
  .row-fluid .span9 {
    width: 74.163879598662%;
    *width: 74.110231529993%;
  }
  .row-fluid .span8 {
    width: 65.551839464883%;
    *width: 65.498191396213%;
  }
  .row-fluid .span7 {
    width: 56.939799331104%;
    *width: 56.886151262434%;
  }
  .row-fluid .span6 {
    width: 48.327759197324%;
    *width: 48.274111128655%;
  }
  .row-fluid .span5 {
    width: 39.715719063545%;
    *width: 39.662070994876%;
  }
  .row-fluid .span4 {
    width: 31.103678929766%;
    *width: 31.050030861096%;
  }
  .row-fluid .span3 {
    width: 22.491638795987%;
    *width: 22.437990727317%;
  }
  .row-fluid .span2 {
    width: 13.879598662207%;
    *width: 13.825950593538%;
  }
  .row-fluid .span1 {
    width: 5.2675585284281%;
    *width: 5.2139104597586%;
  }
  .row-fluid .offset12 {
    margin-left: 105.4347826087%;
    *margin-left: 105.32748647136%;
  }
  .row-fluid .offset12:first-child {
    margin-left: 102.71739130435%;
    *margin-left: 102.61009516701%;
  }
  .row-fluid .offset11 {
    margin-left: 98.076923076923%;
    *margin-left: 97.969626939584%;
  }
  .row-fluid .offset11:first-child {
    margin-left: 94.732441471572%;
    *margin-left: 94.625145334233%;
  }
  .row-fluid .offset10 {
    margin-left: 89.464882943144%;
    *margin-left: 89.357586805805%;
  }
  .row-fluid .offset10:first-child {
    margin-left: 86.120401337793%;
    *margin-left: 86.013105200454%;
  }
  .row-fluid .offset9 {
    margin-left: 80.852842809365%;
    *margin-left: 80.745546672025%;
  }
  .row-fluid .offset9:first-child {
    margin-left: 77.508361204013%;
    *margin-left: 77.401065066674%;
  }
  .row-fluid .offset8 {
    margin-left: 72.240802675585%;
    *margin-left: 72.133506538246%;
  }
  .row-fluid .offset8:first-child {
    margin-left: 68.896321070234%;
    *margin-left: 68.789024932895%;
  }
  .row-fluid .offset7 {
    margin-left: 63.628762541806%;
    *margin-left: 63.521466404467%;
  }
  .row-fluid .offset7:first-child {
    margin-left: 60.284280936455%;
    *margin-left: 60.176984799116%;
  }
  .row-fluid .offset6 {
    margin-left: 55.016722408027%;
    *margin-left: 54.909426270688%;
  }
  .row-fluid .offset6:first-child {
    margin-left: 51.672240802676%;
    *margin-left: 51.564944665337%;
  }
  .row-fluid .offset5 {
    margin-left: 46.404682274247%;
    *margin-left: 46.297386136908%;
  }
  .row-fluid .offset5:first-child {
    margin-left: 43.060200668896%;
    *margin-left: 42.952904531557%;
  }
  .row-fluid .offset4 {
    margin-left: 37.792642140468%;
    *margin-left: 37.685346003129%;
  }
  .row-fluid .offset4:first-child {
    margin-left: 34.448160535117%;
    *margin-left: 34.340864397778%;
  }
  .row-fluid .offset3 {
    margin-left: 29.180602006689%;
    *margin-left: 29.07330586935%;
  }
  .row-fluid .offset3:first-child {
    margin-left: 25.836120401338%;
    *margin-left: 25.728824263999%;
  }
  .row-fluid .offset2 {
    margin-left: 20.56856187291%;
    *margin-left: 20.461265735571%;
  }
  .row-fluid .offset2:first-child {
    margin-left: 17.224080267559%;
    *margin-left: 17.116784130219%;
  }
  .row-fluid .offset1 {
    margin-left: 11.95652173913%;
    *margin-left: 11.849225601791%;
  }
  .row-fluid .offset1:first-child {
    margin-left: 8.6120401337793%;
    *margin-left: 8.5047439964402%;
  }
  input,
  textarea,
  .uneditable-input {
    margin-left: 0;
  }
  .controls-row [class*="span"] + [class*="span"] {
    margin-left: 20px;
  }
  input.span12,
  textarea.span12,
  .uneditable-input.span12 {
    width: 722px;
  }
  input.span11,
  textarea.span11,
  .uneditable-input.span11 {
    width: 659px;
  }
  input.span10,
  textarea.span10,
  .uneditable-input.span10 {
    width: 596px;
  }
  input.span9,
  textarea.span9,
  .uneditable-input.span9 {
    width: 533px;
  }
  input.span8,
  textarea.span8,
  .uneditable-input.span8 {
    width: 470px;
  }
  input.span7,
  textarea.span7,
  .uneditable-input.span7 {
    width: 407px;
  }
  input.span6,
  textarea.span6,
  .uneditable-input.span6 {
    width: 344px;
  }
  input.span5,
  textarea.span5,
  .uneditable-input.span5 {
    width: 281px;
  }
  input.span4,
  textarea.span4,
  .uneditable-input.span4 {
    width: 218px;
  }
  input.span3,
  textarea.span3,
  .uneditable-input.span3 {
    width: 155px;
  }
  input.span2,
  textarea.span2,
  .uneditable-input.span2 {
    width: 92px;
  }
  input.span1,
  textarea.span1,
  .uneditable-input.span1 {
    width: 29px;
  }
}

@media (max-width: 767px) {
  body {padding: 0;}
  .navbar-fixed-top,
  .navbar-fixed-bottom,
  .navbar-static-top {
    margin-left: -20px;
    margin-right: -20px;
  }
  .container-fluid {
    padding: 0;
  }
  .dl-horizontal dt {
    float: none;
    clear: none;
    width: auto;
    text-align: left;
  }
  .dl-horizontal dd {
    margin-left: 0;
  }
  .container {
    width: auto;
  }
  .row-fluid {
    width: 100%;
  }
  .row,
  .thumbnails {
    margin-left: 0;
  }
  .thumbnails > li {
    float: none;
    margin-left: 0;
  }
  [class*="span"],
  .uneditable-input[class*="span"],
  .row-fluid [class*="span"] {
    float: none;
    display: block;
    width: 100%;
    margin-left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .span12,
  .row-fluid .span12 {
    width: 99%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .row-fluid [class*="offset"]:first-child {
    margin-left: 0;
  }
  .input-large,
  .input-xlarge,
  .input-xxlarge,
  input[class*="span"],
  select[class*="span"],
  textarea[class*="span"],
  .uneditable-input {
    display: block;
    width: 100%;
    min-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .input-prepend input,
  .input-append input,
  .input-prepend input[class*="span"],
  .input-append input[class*="span"] {
    display: inline-block;
    width: auto;
  }
  .controls-row [class*="span"] + [class*="span"] {
    margin-left: 0;
  }
  .modal { }
  .modal.fade {
    top: -100px;
  }
  .modal.fade.in {
    top: 20px;
  }
}
@media (max-width: 480px) {
  .nav-collapse {
    -webkit-transform: translate3d(0,0,0);
  }
  .page-header h1 small {
    display: block;
    line-height: 20px;
  }
  input[type="checkbox"],
  input[type="radio"] {
    border: 1px solid #ccc;
  }
  .form-horizontal .control-label {
    float: none;
    width: auto;
    padding-top: 0;
    text-align: left;
  }
  .form-horizontal .controls {
    margin-left: 0;
  }
  .form-horizontal .control-list {
    padding-top: 0;
  }
  .form-horizontal .form-actions {
    padding-left: 10px;
    padding-right: 10px;
  }
  .media .pull-left,
  .media .pull-right {
    float: none;
    display: block;
    margin-bottom: 10px;
  }
  .media-object {
    margin-right: 0;
    margin-left: 0;
  }
  .modal { }
  .modal-header .close {
    padding: 10px;
    margin: -10px;
  }
  .carousel-caption {
    position: static;
  }
}

.fade {
  opacity: 0;
  -webkit-transition: opacity .15s linear;
  -moz-transition: opacity .15s linear;
  -o-transition: opacity .15s linear;
  transition: opacity .15s linear;
}
.fade.in {
  opacity: 1;
}
.collapse {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition: height .35s ease;
  -moz-transition: height .35s ease;
  -o-transition: height .35s ease;
  transition: height .35s ease;
}
.collapse.in {
  height: auto;
}

@media (max-width: 767px) {
  body {
    padding-top: 0;
  }
  .navbar-fixed-top,
  .navbar-fixed-bottom {
    position: static;
  }
  .navbar-fixed-top {
    margin-bottom: 20px;
  }
  .navbar-fixed-bottom {
    margin-top: 20px;
  }
  .navbar-fixed-top .navbar-inner,
  .navbar-fixed-bottom .navbar-inner {
    padding: 5px;
  }
  .navbar .container {
    width: auto;
    padding: 0;
  }
  .navbar .brand {
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 0 0 -5px;
  }
  .nav-collapse {
    clear: both;
  }
  .nav-collapse .nav {
    float: none;
    margin: 0 0 10px;
  }
  .nav-collapse .nav > li {
    float: none;
  }
  .nav-collapse .nav > li > a {
    margin-bottom: 2px;
  }
  .nav-collapse .nav > .divider-vertical {
    display: none;
  }
  .nav-collapse .nav .nav-header {
    color: #666;
    text-shadow: none;
  }
  .nav-collapse .nav > li > a,
  .nav-collapse .dropdown-menu a {
    padding: 9px 15px;
    font-weight: bold;
    color: #666;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }
  .nav-collapse .btn {
    padding: 4px 10px 4px;
    font-weight: normal;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }
  .nav-collapse .dropdown-menu li + li a {
    margin-bottom: 2px;
  }
  .nav-collapse .nav > li > a:hover,
  .nav-collapse .nav > li > a:focus,
  .nav-collapse .dropdown-menu a:hover,
  .nav-collapse .dropdown-menu a:focus {
    background-color: #e6e6e6;
  }
  .navbar-inverse .nav-collapse .nav > li > a,
  .navbar-inverse .nav-collapse .dropdown-menu a {
    color: #999;
  }
  .navbar-inverse .nav-collapse .nav > li > a:hover,
  .navbar-inverse .nav-collapse .nav > li > a:focus,
  .navbar-inverse .nav-collapse .dropdown-menu a:hover,
  .navbar-inverse .nav-collapse .dropdown-menu a:focus {
    background-color: #111111;
  }
  .nav-collapse.in .btn-group {
    margin-top: 5px;
    padding: 0;
  }
  .nav-collapse .dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    float: none;
    display: none;
    max-width: none;
    margin: 0 15px;
    padding: 0;
    background-color: transparent;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
  .nav-collapse .open > .dropdown-menu {
    display: block;
  }
  .nav-collapse .dropdown-menu:before,
  .nav-collapse .dropdown-menu:after {
    display: none;
  }
  .nav-collapse .dropdown-menu .divider {
    display: none;
  }
  .nav-collapse .nav > li > .dropdown-menu:before,
  .nav-collapse .nav > li > .dropdown-menu:after {
    display: none;
  }
  .nav-collapse .navbar-form,
  .nav-collapse .navbar-search {
    float: none;
    padding: 10px 15px;
    margin: 10px 0;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
  }
  .navbar-inverse .nav-collapse .navbar-form,
  .navbar-inverse .nav-collapse .navbar-search {
    border-top-color: #111111;
    border-bottom-color: #111111;
  }
  .navbar .nav-collapse .nav.pull-right {
    float: none;
    margin-left: 0;
  }
  .nav-collapse,
  .nav-collapse.collapse {
    overflow: hidden;
    height: 0;
  }
  .navbar .btn-navbar {
    display: block;
  }
  .navbar-static .navbar-inner {
    padding-left: 10px;
    padding-right: 10px;
  }
  .navbar-static-top .container,
  .navbar-fixed-top .container,
  .navbar-fixed-bottom .container {
    width: auto;
  }
}
@media (min-width: 768px) {
  .nav-collapse.collapse {
    height: auto !important;
    overflow: visible !important;
  }
}