/*! 
 * Bootstrap Responsive v2.1.1
 *
 * 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.
 */

#mg-wrapper .clearfix {
  *zoom: 1;
}

#mg-wrapper .clearfix:before,
#mg-wrapper .clearfix:after {
  display: table;
  line-height: 0;
  content: "";
}

#mg-wrapper .clearfix:after {
  clear: both;
}

#mg-wrapper .hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

#mg-wrapper .input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

#mg-wrapper .hidden {
  display: none;
  visibility: hidden;
}

#mg-wrapper .visible-phone {
  display: none !important;
}

#mg-wrapper .visible-tablet {
  display: none !important;
}

#mg-wrapper .hidden-desktop {
  display: none !important;
}

#mg-wrapper .visible-desktop {
  display: inherit !important;
}

#mg-wrapper @media (min-width: 768px) and (max-width: 979px) {
  .hidden-desktop {
    display: inherit !important;
  }
#mg-wrapper   .visible-desktop {
    display: none !important ;
  }
#mg-wrapper   .visible-tablet {
    display: inherit !important;
  }
#mg-wrapper   .hidden-tablet {
    display: none !important;
  }
}

#mg-wrapper @media (max-width: 767px) {
  .hidden-desktop {
    display: inherit !important;
  }
#mg-wrapper   .visible-desktop {
    display: none !important;
  }
#mg-wrapper   .visible-phone {
    display: inherit !important;
  }
#mg-wrapper   .hidden-phone {
    display: none !important;
  }
}

#mg-wrapper @media (min-width: 1200px) {
  .row {
    margin-left: -30px;
    *zoom: 1;
  }
#mg-wrapper   .row:before,
#mg-wrapper   .row:after {
    display: table;
    line-height: 0;
    content: "";
  }
#mg-wrapper   .row:after {
    clear: both;
  }
#mg-wrapper   [class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 30px;
  }
#mg-wrapper   .container,
#mg-wrapper   .navbar-static-top .container,
#mg-wrapper   .navbar-fixed-top .container,
#mg-wrapper   .navbar-fixed-bottom .container {
    width: 1170px;
  }
#mg-wrapper   .span12 {
    width: 1170px;
  }
#mg-wrapper   .span11 {
    width: 1070px;
  }
#mg-wrapper   .span10 {
    width: 970px;
  }
#mg-wrapper   .span9 {
    width: 870px;
  }
#mg-wrapper   .span8 {
    width: 770px;
  }
#mg-wrapper   .span7 {
    width: 670px;
  }
#mg-wrapper   .span6 {
    width: 570px;
  }
#mg-wrapper   .span5 {
    width: 470px;
  }
#mg-wrapper   .span4 {
    width: 370px;
  }
#mg-wrapper   .span3 {
    width: 270px;
  }
#mg-wrapper   .span2 {
    width: 170px;
  }
#mg-wrapper   .span1 {
    width: 70px;
  }
#mg-wrapper   .offset12 {
    margin-left: 1230px;
  }
#mg-wrapper   .offset11 {
    margin-left: 1130px;
  }
#mg-wrapper   .offset10 {
    margin-left: 1030px;
  }
#mg-wrapper   .offset9 {
    margin-left: 930px;
  }
#mg-wrapper   .offset8 {
    margin-left: 830px;
  }
#mg-wrapper   .offset7 {
    margin-left: 730px;
  }
#mg-wrapper   .offset6 {
    margin-left: 630px;
  }
#mg-wrapper   .offset5 {
    margin-left: 530px;
  }
#mg-wrapper   .offset4 {
    margin-left: 430px;
  }
#mg-wrapper   .offset3 {
    margin-left: 330px;
  }
#mg-wrapper   .offset2 {
    margin-left: 230px;
  }
#mg-wrapper   .offset1 {
    margin-left: 130px;
  }
#mg-wrapper   .row-fluid {
    width: 100%;
    *zoom: 1;
  }
#mg-wrapper   .row-fluid:before,
#mg-wrapper   .row-fluid:after {
    display: table;
    line-height: 0;
    content: "";
  }
#mg-wrapper   .row-fluid:after {
    clear: both;
  }
#mg-wrapper   .row-fluid [class*="span"] {
    display: block;
    float: left;
    width: 100%;
    min-height: 30px;
    margin-left: 2.564102564102564%;
    *margin-left: 2.5109110747408616%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
#mg-wrapper   .row-fluid [class*="span"]:first-child {
    margin-left: 0;
  }
#mg-wrapper   .row-fluid .span12 {
    width: 100%;
    *width: 99.94680851063829%;
  }
#mg-wrapper   .row-fluid .span11 {
    width: 91.45299145299145%;
    *width: 91.39979996362975%;
  }
#mg-wrapper   .row-fluid .span10 {
    width: 82.90598290598291%;
    *width: 82.8527914166212%;
  }
#mg-wrapper   .row-fluid .span9 {
    width: 74.35897435897436%;
    *width: 74.30578286961266%;
  }
#mg-wrapper   .row-fluid .span8 {
    width: 65.81196581196582%;
    *width: 65.75877432260411%;
  }
#mg-wrapper   .row-fluid .span7 {
    width: 57.26495726495726%;
    *width: 57.21176577559556%;
  }
#mg-wrapper   .row-fluid .span6 {
    width: 48.717948717948715%;
    *width: 48.664757228587014%;
  }
#mg-wrapper   .row-fluid .span5 {
    width: 40.17094017094017%;
    *width: 40.11774868157847%;
  }
#mg-wrapper   .row-fluid .span4 {
    width: 31.623931623931625%;
    *width: 31.570740134569924%;
  }
#mg-wrapper   .row-fluid .span3 {
    width: 23.076923076923077%;
    *width: 23.023731587561375%;
  }
#mg-wrapper   .row-fluid .span2 {
    width: 14.52991452991453%;
    *width: 14.476723040552828%;
  }
#mg-wrapper   .row-fluid .span1 {
    width: 5.982905982905983%;
    *width: 5.929714493544281%;
  }
#mg-wrapper   .row-fluid .offset12 {
    margin-left: 105.12820512820512%;
    *margin-left: 105.02182214948171%;
  }
#mg-wrapper   .row-fluid .offset12:first-child {
    margin-left: 102.56410256410257%;
    *margin-left: 102.45771958537915%;
  }
#mg-wrapper   .row-fluid .offset11 {
    margin-left: 96.58119658119658%;
    *margin-left: 96.47481360247316%;
  }
#mg-wrapper   .row-fluid .offset11:first-child {
    margin-left: 94.01709401709402%;
    *margin-left: 93.91071103837061%;
  }
#mg-wrapper   .row-fluid .offset10 {
    margin-left: 88.03418803418803%;
    *margin-left: 87.92780505546462%;
  }
#mg-wrapper   .row-fluid .offset10:first-child {
    margin-left: 85.47008547008548%;
    *margin-left: 85.36370249136206%;
  }
#mg-wrapper   .row-fluid .offset9 {
    margin-left: 79.48717948717949%;
    *margin-left: 79.38079650845607%;
  }
#mg-wrapper   .row-fluid .offset9:first-child {
    margin-left: 76.92307692307693%;
    *margin-left: 76.81669394435352%;
  }
#mg-wrapper   .row-fluid .offset8 {
    margin-left: 70.94017094017094%;
    *margin-left: 70.83378796144753%;
  }
#mg-wrapper   .row-fluid .offset8:first-child {
    margin-left: 68.37606837606839%;
    *margin-left: 68.26968539734497%;
  }
#mg-wrapper   .row-fluid .offset7 {
    margin-left: 62.393162393162385%;
    *margin-left: 62.28677941443899%;
  }
#mg-wrapper   .row-fluid .offset7:first-child {
    margin-left: 59.82905982905982%;
    *margin-left: 59.72267685033642%;
  }
#mg-wrapper   .row-fluid .offset6 {
    margin-left: 53.84615384615384%;
    *margin-left: 53.739770867430444%;
  }
#mg-wrapper   .row-fluid .offset6:first-child {
    margin-left: 51.28205128205128%;
    *margin-left: 51.175668303327875%;
  }
#mg-wrapper   .row-fluid .offset5 {
    margin-left: 45.299145299145295%;
    *margin-left: 45.1927623204219%;
  }
#mg-wrapper   .row-fluid .offset5:first-child {
    margin-left: 42.73504273504273%;
    *margin-left: 42.62865975631933%;
  }
#mg-wrapper   .row-fluid .offset4 {
    margin-left: 36.75213675213675%;
    *margin-left: 36.645753773413354%;
  }
#mg-wrapper   .row-fluid .offset4:first-child {
    margin-left: 34.18803418803419%;
    *margin-left: 34.081651209310785%;
  }
#mg-wrapper   .row-fluid .offset3 {
    margin-left: 28.205128205128204%;
    *margin-left: 28.0987452264048%;
  }
#mg-wrapper   .row-fluid .offset3:first-child {
    margin-left: 25.641025641025642%;
    *margin-left: 25.53464266230224%;
  }
#mg-wrapper   .row-fluid .offset2 {
    margin-left: 19.65811965811966%;
    *margin-left: 19.551736679396257%;
  }
#mg-wrapper   .row-fluid .offset2:first-child {
    margin-left: 17.094017094017094%;
    *margin-left: 16.98763411529369%;
  }
#mg-wrapper   .row-fluid .offset1 {
    margin-left: 11.11111111111111%;
    *margin-left: 11.004728132387708%;
  }
#mg-wrapper   .row-fluid .offset1:first-child {
    margin-left: 8.547008547008547%;
    *margin-left: 8.440625568285142%;
  }
#mg-wrapper   input,
#mg-wrapper   textarea,
#mg-wrapper   .uneditable-input {
    margin-left: 0;
  }
#mg-wrapper   .controls-row [class*="span"] + [class*="span"] {
    margin-left: 30px;
  }
#mg-wrapper   input.span12,
#mg-wrapper   textarea.span12,
#mg-wrapper   .uneditable-input.span12 {
    width: 1156px;
  }
#mg-wrapper   input.span11,
#mg-wrapper   textarea.span11,
#mg-wrapper   .uneditable-input.span11 {
    width: 1056px;
  }
#mg-wrapper   input.span10,
#mg-wrapper   textarea.span10,
#mg-wrapper   .uneditable-input.span10 {
    width: 956px;
  }
#mg-wrapper   input.span9,
#mg-wrapper   textarea.span9,
#mg-wrapper   .uneditable-input.span9 {
    width: 856px;
  }
#mg-wrapper   input.span8,
#mg-wrapper   textarea.span8,
#mg-wrapper   .uneditable-input.span8 {
    width: 756px;
  }
#mg-wrapper   input.span7,
#mg-wrapper   textarea.span7,
#mg-wrapper   .uneditable-input.span7 {
    width: 656px;
  }
#mg-wrapper   input.span6,
#mg-wrapper   textarea.span6,
#mg-wrapper   .uneditable-input.span6 {
    width: 556px;
  }
#mg-wrapper   input.span5,
#mg-wrapper   textarea.span5,
#mg-wrapper   .uneditable-input.span5 {
    width: 456px;
  }
#mg-wrapper   input.span4,
#mg-wrapper   textarea.span4,
#mg-wrapper   .uneditable-input.span4 {
    width: 356px;
  }
#mg-wrapper   input.span3,
#mg-wrapper   textarea.span3,
#mg-wrapper   .uneditable-input.span3 {
    width: 256px;
  }
#mg-wrapper   input.span2,
#mg-wrapper   textarea.span2,
#mg-wrapper   .uneditable-input.span2 {
    width: 156px;
  }
#mg-wrapper   input.span1,
#mg-wrapper   textarea.span1,
#mg-wrapper   .uneditable-input.span1 {
    width: 56px;
  }
#mg-wrapper   .thumbnails {
    margin-left: -30px;
  }
#mg-wrapper   .thumbnails > li {
    margin-left: 30px;
  }
#mg-wrapper   .row-fluid .thumbnails {
    margin-left: 0;
  }
}

#mg-wrapper @media (min-width: 768px) and (max-width: 979px) {
  .row {
    margin-left: -20px;
    *zoom: 1;
  }
#mg-wrapper   .row:before,
#mg-wrapper   .row:after {
    display: table;
    line-height: 0;
    content: "";
  }
#mg-wrapper   .row:after {
    clear: both;
  }
#mg-wrapper   [class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 20px;
  }
#mg-wrapper   .container,
#mg-wrapper   .navbar-static-top .container,
#mg-wrapper   .navbar-fixed-top .container,
#mg-wrapper   .navbar-fixed-bottom .container {
    width: 724px;
  }
#mg-wrapper   .span12 {
    width: 724px;
  }
#mg-wrapper   .span11 {
    width: 662px;
  }
#mg-wrapper   .span10 {
    width: 600px;
  }
#mg-wrapper   .span9 {
    width: 538px;
  }
#mg-wrapper   .span8 {
    width: 476px;
  }
#mg-wrapper   .span7 {
    width: 414px;
  }
#mg-wrapper   .span6 {
    width: 352px;
  }
#mg-wrapper   .span5 {
    width: 290px;
  }
#mg-wrapper   .span4 {
    width: 228px;
  }
#mg-wrapper   .span3 {
    width: 166px;
  }
#mg-wrapper   .span2 {
    width: 104px;
  }
#mg-wrapper   .span1 {
    width: 42px;
  }
#mg-wrapper   .offset12 {
    margin-left: 764px;
  }
#mg-wrapper   .offset11 {
    margin-left: 702px;
  }
#mg-wrapper   .offset10 {
    margin-left: 640px;
  }
#mg-wrapper   .offset9 {
    margin-left: 578px;
  }
#mg-wrapper   .offset8 {
    margin-left: 516px;
  }
#mg-wrapper   .offset7 {
    margin-left: 454px;
  }
#mg-wrapper   .offset6 {
    margin-left: 392px;
  }
#mg-wrapper   .offset5 {
    margin-left: 330px;
  }
#mg-wrapper   .offset4 {
    margin-left: 268px;
  }
#mg-wrapper   .offset3 {
    margin-left: 206px;
  }
#mg-wrapper   .offset2 {
    margin-left: 144px;
  }
#mg-wrapper   .offset1 {
    margin-left: 82px;
  }
#mg-wrapper   .row-fluid {
    width: 100%;
    *zoom: 1;
  }
#mg-wrapper   .row-fluid:before,
#mg-wrapper   .row-fluid:after {
    display: table;
    line-height: 0;
    content: "";
  }
#mg-wrapper   .row-fluid:after {
    clear: both;
  }
#mg-wrapper   .row-fluid [class*="span"] {
    display: block;
    float: left;
    width: 100%;
    min-height: 30px;
    margin-left: 2.7624309392265194%;
    *margin-left: 2.709239449864817%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
#mg-wrapper   .row-fluid [class*="span"]:first-child {
    margin-left: 0;
  }
#mg-wrapper   .row-fluid .span12 {
    width: 100%;
    *width: 99.94680851063829%;
  }
#mg-wrapper   .row-fluid .span11 {
    width: 91.43646408839778%;
    *width: 91.38327259903608%;
  }
#mg-wrapper   .row-fluid .span10 {
    width: 82.87292817679558%;
    *width: 82.81973668743387%;
  }
#mg-wrapper   .row-fluid .span9 {
    width: 74.30939226519337%;
    *width: 74.25620077583166%;
  }
#mg-wrapper   .row-fluid .span8 {
    width: 65.74585635359117%;
    *width: 65.69266486422946%;
  }
#mg-wrapper   .row-fluid .span7 {
    width: 57.18232044198895%;
    *width: 57.12912895262725%;
  }
#mg-wrapper   .row-fluid .span6 {
    width: 48.61878453038674%;
    *width: 48.56559304102504%;
  }
#mg-wrapper   .row-fluid .span5 {
    width: 40.05524861878453%;
    *width: 40.00205712942283%;
  }
#mg-wrapper   .row-fluid .span4 {
    width: 31.491712707182323%;
    *width: 31.43852121782062%;
  }
#mg-wrapper   .row-fluid .span3 {
    width: 22.92817679558011%;
    *width: 22.87498530621841%;
  }
#mg-wrapper   .row-fluid .span2 {
    width: 14.3646408839779%;
    *width: 14.311449394616199%;
  }
#mg-wrapper   .row-fluid .span1 {
    width: 5.801104972375691%;
    *width: 5.747913483013988%;
  }
#mg-wrapper   .row-fluid .offset12 {
    margin-left: 105.52486187845304%;
    *margin-left: 105.41847889972962%;
  }
#mg-wrapper   .row-fluid .offset12:first-child {
    margin-left: 102.76243093922652%;
    *margin-left: 102.6560479605031%;
  }
#mg-wrapper   .row-fluid .offset11 {
    margin-left: 96.96132596685082%;
    *margin-left: 96.8549429881274%;
  }
#mg-wrapper   .row-fluid .offset11:first-child {
    margin-left: 94.1988950276243%;
    *margin-left: 94.09251204890089%;
  }
#mg-wrapper   .row-fluid .offset10 {
    margin-left: 88.39779005524862%;
    *margin-left: 88.2914070765252%;
  }
#mg-wrapper   .row-fluid .offset10:first-child {
    margin-left: 85.6353591160221%;
    *margin-left: 85.52897613729868%;
  }
#mg-wrapper   .row-fluid .offset9 {
    margin-left: 79.8342541436464%;
    *margin-left: 79.72787116492299%;
  }
#mg-wrapper   .row-fluid .offset9:first-child {
    margin-left: 77.07182320441989%;
    *margin-left: 76.96544022569647%;
  }
#mg-wrapper   .row-fluid .offset8 {
    margin-left: 71.2707182320442%;
    *margin-left: 71.16433525332079%;
  }
#mg-wrapper   .row-fluid .offset8:first-child {
    margin-left: 68.50828729281768%;
    *margin-left: 68.40190431409427%;
  }
#mg-wrapper   .row-fluid .offset7 {
    margin-left: 62.70718232044199%;
    *margin-left: 62.600799341718584%;
  }
#mg-wrapper   .row-fluid .offset7:first-child {
    margin-left: 59.94475138121547%;
    *margin-left: 59.838368402492065%;
  }
#mg-wrapper   .row-fluid .offset6 {
    margin-left: 54.14364640883978%;
    *margin-left: 54.037263430116376%;
  }
#mg-wrapper   .row-fluid .offset6:first-child {
    margin-left: 51.38121546961326%;
    *margin-left: 51.27483249088986%;
  }
#mg-wrapper   .row-fluid .offset5 {
    margin-left: 45.58011049723757%;
    *margin-left: 45.47372751851417%;
  }
#mg-wrapper   .row-fluid .offset5:first-child {
    margin-left: 42.81767955801105%;
    *margin-left: 42.71129657928765%;
  }
#mg-wrapper   .row-fluid .offset4 {
    margin-left: 37.01657458563536%;
    *margin-left: 36.91019160691196%;
  }
#mg-wrapper   .row-fluid .offset4:first-child {
    margin-left: 34.25414364640884%;
    *margin-left: 34.14776066768544%;
  }
#mg-wrapper   .row-fluid .offset3 {
    margin-left: 28.45303867403315%;
    *margin-left: 28.346655695309746%;
  }
#mg-wrapper   .row-fluid .offset3:first-child {
    margin-left: 25.69060773480663%;
    *margin-left: 25.584224756083227%;
  }
#mg-wrapper   .row-fluid .offset2 {
    margin-left: 19.88950276243094%;
    *margin-left: 19.783119783707537%;
  }
#mg-wrapper   .row-fluid .offset2:first-child {
    margin-left: 17.12707182320442%;
    *margin-left: 17.02068884448102%;
  }
#mg-wrapper   .row-fluid .offset1 {
    margin-left: 11.32596685082873%;
    *margin-left: 11.219583872105325%;
  }
#mg-wrapper   .row-fluid .offset1:first-child {
    margin-left: 8.56353591160221%;
    *margin-left: 8.457152932878806%;
  }
#mg-wrapper   input,
#mg-wrapper   textarea,
#mg-wrapper   .uneditable-input {
    margin-left: 0;
  }
#mg-wrapper   .controls-row [class*="span"] + [class*="span"] {
    margin-left: 20px;
  }
#mg-wrapper   input.span12,
#mg-wrapper   textarea.span12,
#mg-wrapper   .uneditable-input.span12 {
    width: 710px;
  }
#mg-wrapper   input.span11,
#mg-wrapper   textarea.span11,
#mg-wrapper   .uneditable-input.span11 {
    width: 648px;
  }
#mg-wrapper   input.span10,
#mg-wrapper   textarea.span10,
#mg-wrapper   .uneditable-input.span10 {
    width: 586px;
  }
#mg-wrapper   input.span9,
#mg-wrapper   textarea.span9,
#mg-wrapper   .uneditable-input.span9 {
    width: 524px;
  }
#mg-wrapper   input.span8,
#mg-wrapper   textarea.span8,
#mg-wrapper   .uneditable-input.span8 {
    width: 462px;
  }
#mg-wrapper   input.span7,
#mg-wrapper   textarea.span7,
#mg-wrapper   .uneditable-input.span7 {
    width: 400px;
  }
#mg-wrapper   input.span6,
#mg-wrapper   textarea.span6,
#mg-wrapper   .uneditable-input.span6 {
    width: 338px;
  }
#mg-wrapper   input.span5,
#mg-wrapper   textarea.span5,
#mg-wrapper   .uneditable-input.span5 {
    width: 276px;
  }
#mg-wrapper   input.span4,
#mg-wrapper   textarea.span4,
#mg-wrapper   .uneditable-input.span4 {
    width: 214px;
  }
#mg-wrapper   input.span3,
#mg-wrapper   textarea.span3,
#mg-wrapper   .uneditable-input.span3 {
    width: 152px;
  }
#mg-wrapper   input.span2,
#mg-wrapper   textarea.span2,
#mg-wrapper   .uneditable-input.span2 {
    width: 90px;
  }
#mg-wrapper   input.span1,
#mg-wrapper   textarea.span1,
#mg-wrapper   .uneditable-input.span1 {
    width: 28px;
  }
}

#mg-wrapper @media (max-width: 960px) {
  .navbar-fixed-top,
  .navbar-fixed-bottom,
  .navbar-static-top {
    margin-right: -20px;
    margin-left: -20px;
  }
#mg-wrapper   .container-fluid {
    padding: 0;
  }
#mg-wrapper   .dl-horizontal dt {
    float: none;
    width: auto;
    clear: none;
    text-align: left;
  }
#mg-wrapper   .dl-horizontal dd {
    margin-left: 0;
  }
#mg-wrapper   .container {
    width: auto;
  }
#mg-wrapper   .row-fluid {
    width: 100%;
  }
#mg-wrapper   .row,
#mg-wrapper   .thumbnails {
    margin-left: 0;
  }
#mg-wrapper   .thumbnails > li {
    float: none;
    margin-left: 0;
  }
#mg-wrapper   [class*="span"],
#mg-wrapper   .row-fluid [class*="span"] {
    display: block;
    float: none;
    width: 100%;
    margin-left: 0;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
#mg-wrapper   .span12,
#mg-wrapper   .row-fluid .span12 {
    width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
#mg-wrapper   input[type=text],
#mg-wrapper   select,
#mg-wrapper   .input-large,
#mg-wrapper   .input-xlarge,
#mg-wrapper   .input-xxlarge,
#mg-wrapper   input[class*="span"],
#mg-wrapper   select[class*="span"],
#mg-wrapper   textarea[class*="span"],
#mg-wrapper   .uneditable-input {
    display: block;
    width: 100%;
    min-height: 34px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
#mg-wrapper   .input-prepend input,
#mg-wrapper   .input-append input,
#mg-wrapper   .input-prepend input[class*="span"],
#mg-wrapper   .input-append input[class*="span"] {
    display: inline-block;
    width: auto;
  }
#mg-wrapper   .controls-row [class*="span"] + [class*="span"] {
    margin-left: 0;
  }
#mg-wrapper   .modal {
    position: fixed;
    top: 20px;
    right: 20px;
    left: 20px;
    width: auto;
    margin: 0;
  }
#mg-wrapper   .modal.fade.in {
    top: auto;
  }
}

#mg-wrapper @media (max-width: 480px) {
  .nav-collapse {
    -webkit-transform: translate3d(0, 0, 0);
  }
#mg-wrapper   .page-header h1 small {
    display: block;
    line-height: 20px;
  }
#mg-wrapper   input[type="checkbox"],
#mg-wrapper   input[type="radio"] {
    border: 1px solid #ccc;
  }
#mg-wrapper   .form-horizontal .control-label {
    float: none;
    width: auto;
    padding-top: 0;
    text-align: left;
  }
#mg-wrapper   .form-horizontal .controls {
    margin-left: 0;
  }
#mg-wrapper   .form-horizontal .control-list {
    padding-top: 0;
  }
#mg-wrapper   .form-horizontal .form-actions {
    padding-right: 10px;
    padding-left: 10px;
  }
#mg-wrapper   .modal {
    top: 10px;
    right: 10px;
    left: 10px;
  }
#mg-wrapper   .modal-header .close {
    padding: 10px;
    margin: -10px;
  }
#mg-wrapper   .carousel-caption {
    position: static;
  }
}

#mg-wrapper @media (max-width: 979px) {
  body {
    padding-top: 0;
  }
#mg-wrapper   .navbar-fixed-top,
#mg-wrapper   .navbar-fixed-bottom {
    position: static;
  }
#mg-wrapper   .navbar-fixed-top {
    margin-bottom: 20px;
  }
#mg-wrapper   .navbar-fixed-bottom {
    margin-top: 20px;
  }
#mg-wrapper   .navbar-fixed-top .navbar-inner,
#mg-wrapper   .navbar-fixed-bottom .navbar-inner {
    padding: 5px;
  }
#mg-wrapper   .navbar .container {
    width: auto;
    padding: 0;
  }
#mg-wrapper   .navbar .brand {
    padding-right: 10px;
    padding-left: 10px;
    margin: 0 0 0 -5px;
  }
#mg-wrapper   .nav-collapse {
    clear: both;
  }
#mg-wrapper   .nav-collapse .nav {
    float: none;
    margin: 0 0 10px;
  }
#mg-wrapper   .nav-collapse .nav > li {
    float: none;
  }
#mg-wrapper   .nav-collapse .nav > li > a {
    margin-bottom: 2px;
  }
#mg-wrapper   .nav-collapse .nav > .divider-vertical {
    display: none;
  }
#mg-wrapper   .nav-collapse .nav .nav-header {
    color: #777777;
    text-shadow: none;
  }
#mg-wrapper   .nav-collapse .nav > li > a,
#mg-wrapper   .nav-collapse .dropdown-menu a {
    padding: 9px 15px;
    font-weight: bold;
    color: #777777;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
  }
#mg-wrapper   .nav-collapse .btn {
    padding: 4px 10px 4px;
    font-weight: normal;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
  }
#mg-wrapper   .nav-collapse .dropdown-menu li + li a {
    margin-bottom: 2px;
  }
#mg-wrapper   .nav-collapse .nav > li > a:hover,
#mg-wrapper   .nav-collapse .dropdown-menu a:hover {
    background-color: #f2f2f2;
  }
#mg-wrapper   .navbar-inverse .nav-collapse .nav > li > a:hover,
#mg-wrapper   .navbar-inverse .nav-collapse .dropdown-menu a:hover {
    background-color: #111111;
  }
#mg-wrapper   .nav-collapse.in .btn-group {
    padding: 0;
    margin-top: 5px;
  }
#mg-wrapper   .nav-collapse .dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    display: block;
    float: none;
    max-width: none;
    padding: 0;
    margin: 0 15px;
    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;
  }
#mg-wrapper   .nav-collapse .dropdown-menu:before,
#mg-wrapper   .nav-collapse .dropdown-menu:after {
    display: none;
  }
#mg-wrapper   .nav-collapse .dropdown-menu .divider {
    display: none;
  }
#mg-wrapper   .nav-collapse .nav > li > .dropdown-menu:before,
#mg-wrapper   .nav-collapse .nav > li > .dropdown-menu:after {
    display: none;
  }
#mg-wrapper   .nav-collapse .navbar-form,
#mg-wrapper   .nav-collapse .navbar-search {
    float: none;
    padding: 10px 15px;
    margin: 10px 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);
  }
#mg-wrapper   .navbar-inverse .nav-collapse .navbar-form,
#mg-wrapper   .navbar-inverse .nav-collapse .navbar-search {
    border-top-color: #111111;
    border-bottom-color: #111111;
  }
#mg-wrapper   .navbar .nav-collapse .nav.pull-right {
    float: none;
    margin-left: 0;
  }
#mg-wrapper   .nav-collapse,
#mg-wrapper   .nav-collapse.collapse {
    height: 0;
    overflow: hidden;
  }
#mg-wrapper   .navbar .btn-navbar {
    display: block;
  }
#mg-wrapper   .navbar-static .navbar-inner {
    padding-right: 10px;
    padding-left: 10px;
  }
}

#mg-wrapper @media (min-width: 980px) {
  .nav-collapse.collapse {
    height: auto !important;
    overflow: visible !important;
  }
}
